CVS Commit by dpage: I wanted to build a .app bundle for pgadmin, but I

From: cvs(at)developer(dot)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: CVS Commit by dpage: I wanted to build a .app bundle for pgadmin, but I
Date: 2005-03-16 21:51:44
Message-ID: 200503162151.j2GLpiqK015224@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Log Message:
-----------
I wanted to build a .app bundle for pgadmin, but I found no support
for this in the build system. I added an option --build-bundle that
basically overwrites --prefix to $(pwd)tmp, and added a PgAdminIII.app
target to Makefile.am. The built bundle includes the pgadmin3 binary
(named PgAdminIII, all shared libraries that binary depends on (system
libs in /usr/lib and /System are excluded), the documentation and the
ui/ folder. This code is in pgadmin3-buildbundle.diff

I added code to pgAdmin3.cpp to find the ui and doc folder inside the
bundle, using the SystemPathsCF class from wx (only when __WXMAC__, of
course). Using just SystemPaths would be cleaner, as it should default
to sensible locations on all plattforms, but as of wxmac 2.5.4,
SystemPaths refers to the unix-implemenation, not to the osx
implemenation. This code is in pgadmin3-usebundle.diff
[Florian G. Pflug]

Modified Files:
--------------
pgadmin3:
Makefile.am (r1.35 -> r1.36)
pgadmin3/src:
pgAdmin3.cpp (r1.111 -> r1.112)

Added Files:
-----------
pgadmin3/pkg/mac:
Info.plist (r1.1)
PgAdminIII.icns (r1.1)
PkgInfo (r1.1)

Attachment Content-Type Size
cvs-2005316215144-diff.txt text/plain 5.0 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message cvs 2005-03-16 21:57:04 CVS Commit by dpage: Fix some tabs that my editor converted to spaces.
Previous Message cvs 2005-03-16 21:44:38 CVS Commit by dpage: New Directory