SVN Commit by dpage: r6164 - in trunk/pgadmin3: . debugger pgadmin pkg/mac xtra/pgagent - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r6164 - in trunk/pgadmin3: . debugger pgadmin pkg/mac xtra/pgagent
Date
Msg-id 200704041228.l34CSX4S032227@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage

Date: 2007-04-04 12:28:32 +0000 (Wed, 04 Apr 2007)

New Revision: 6164

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6164&view=rev

Log:
build a Debugger.app within the pgAdmin3.app resources directory in the
Mac App bundle.

This does introduce one downside:

The existing complete-bundle.sh code works fine, and rewrites the paths
to the wx libraries as expected, however the debugger crashes when run.
As best I can figure, this is because although the debugger has the
correct relative paths to the libraries, some of those (wx) libraries
are interdependent, and when run by the debugger executable, the
relative paths between them are incorrect.

To resolve this until a better solution is found, I've modified the
build system such that static linking is forced when building an app
bundle. This also has the advantage of reducing the bundle size a little  :-)





Added:
   trunk/pgadmin3/pkg/mac/debug.debugger.Info.plist.in
   trunk/pgadmin3/pkg/mac/debug.pgadmin.Info.plist.in
   trunk/pgadmin3/pkg/mac/debugger.Info.plist.in
   trunk/pgadmin3/pkg/mac/debugger.icns
   trunk/pgadmin3/pkg/mac/pgadmin.Info.plist.in
Removed:
   trunk/pgadmin3/pkg/mac/Info-Debug.plist.in
   trunk/pgadmin3/pkg/mac/Info.plist.in
Modified:
   trunk/pgadmin3/acinclude.m4
   trunk/pgadmin3/bootstrap
   trunk/pgadmin3/configure.ac.in
   trunk/pgadmin3/debugger/Makefile.am
   trunk/pgadmin3/pgadmin/Makefile.am
   trunk/pgadmin3/pgadmin/pgAdmin3.cpp
   trunk/pgadmin3/pkg/mac/Makefile.am
   trunk/pgadmin3/pkg/mac/debug-bundle.sh
   trunk/pgadmin3/xtra/pgagent/Makefile.am

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Debugger integration
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Debugger integration