Thread: Re: [PATCH] Various OSX fixes & .app bundle building

Re: [PATCH] Various OSX fixes & .app bundle building

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of
> Florian G. Pflug
> Sent: 13 March 2005 13:57
> To: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] [PATCH] Various OSX fixes &
> .app bundle building
>
> Sorry for replying to myself - but I forgot a few things in
> my previous
> message.
>
> First, I forgot to attach pgadmin3-pkgmac.tgz. This archive
> (it's not a
> patch, since it contains binary files) contain the folder
> pkg/mac - so
> it has to be extracted into the root of the pgadmin3 sources. This
> folder contains some files needed to build the PgAdminIII.bundle.

Also applied. I updated Makefile.am to include them in the source
tarballs as well.

> There a also a few more problems I forgot to mention
> .) There is no ssl-support - the configure-script somehow decides
> that my build of libpq doesn't include ssl support - but the
> libpq-configure actually found openssl, and has enabled ssl support.

Hmm - whilst I doubt my configure-ese is up to it, can you supply a
config.log file so that Adam can take a look (assuming he has time of
course :-p ).

> .) Some icons in pgadmin look strange - they seem to be
> reduced to only
> a few colors. It looks like this only concerns the icons used in the
> tree-view, but I haven't investigated this further.

Perhaps the treeview control only supports 16 colours on Mac?

Thanks, Dave.

Re: [PATCH] Various OSX fixes & .app bundle building

From
"Florian G. Pflug"
Date:
>>There a also a few more problems I forgot to mention
>>.) There is no ssl-support - the configure-script somehow decides
>>that my build of libpq doesn't include ssl support - but the
>>libpq-configure actually found openssl, and has enabled ssl support.
> Hmm - whilst I doubt my configure-ese is up to it, can you supply a
> config.log file so that Adam can take a look (assuming he has time of
> course :-p ).
Ok - I'll do that.

>>.) Some icons in pgadmin look strange - they seem to be
>>reduced to only
>>a few colors. It looks like this only concerns the icons used in the
>>tree-view, but I haven't investigated this further.
>
> Perhaps the treeview control only supports 16 colours on Mac?
Hm... could be the reason - I reported it as a bug to wxmac, but they
answered that they don't know about any problems, but they want
to see a screenshot... maybe the wxmac people can figure something out...

At the moment I'm working on some improvements to the app-bundle
bulding. It the patch I sent you, pgadmin is first
installed into ./tmp, and the files are copied from there into
the bundle. I'm trying to point datadir and friend directly to the
bundle instead, because it should make building the bundle much faster,
and generally seems to be less hacky ;-)

But - for the moment - I'm fighting with automake - it doesn't seem to
like what I'm trying to do ;-)

Anyway, thanks for applying

greetings, Florian Pflug

Attachment