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

From cvs@developer.pgadmin.org
Subject CVS Commit by dpage: I wanted to build a .app bundle for pgadmin, but I
Date
Msg-id 200503162151.j2GLpiqK015224@developer.pgadmin.org
Whole thread Raw
List 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

pgadmin-hackers by date:

Previous
From: cvs@developer.pgadmin.org
Date:
Subject: CVS Commit by dpage: New Directory
Next
From: cvs@developer.pgadmin.org
Date:
Subject: CVS Commit by dpage: Fix some tabs that my editor converted to spaces.