Re: xrc files not installed when --enable-debug i s not set(?)
Re: xrc files not installed when --enable-debug i s not set(?)
От:
"Dave Page" <dpage@postgresql.org>
Дата:
> ------- Original Message ------- > From: Raphaël Enrici > To: PgAdmin Hackers > Sent: 17/11/07, 21:34:25 > Subject: [pgadmin-hackers] xrc files not installed when --enable-debug is not set(?) > > Hi, > > here is my stupid question of the day: > is it normal that pgadmin/ui/*.xrc files are not installed if > "--enable-debug" is not set? I thought these files were mandatory for > the app to appear (if not, can someone explain what role they have in > the app?). > > It appears to be disabled in pgadmin/Makefile.am: > 64 if BUILD_DEBUG > 65 nobase_dist_pkgdata_DATA = $(TMP_ui) > 66 endif > > If normal, can I safely ignore these files for the packaging stuff? Yeah, for a release build they are compiled into xrcdialogs.cpp. In a debug build they are dynamically loaded each time a dialog is opened, making testing easier. /D
Re: xrc files not installed when --enable-debug i
От:
Raphaël Enrici <blacknoz@club-internet.fr>
Дата:
Dave Page wrote: > >> ------- Original Message ------- >> From: Raphaël Enrici >> To: PgAdmin Hackers >> Sent: 17/11/07, 21:34:25 >> Subject: [pgadmin-hackers] xrc files not installed when --enable-debug is not set(?) >> >> Hi, >> >> here is my stupid question of the day: >> is it normal that pgadmin/ui/*.xrc files are not installed if >> "--enable-debug" is not set? I thought these files were mandatory for >> the app to appear (if not, can someone explain what role they have in >> the app?). >> >> It appears to be disabled in pgadmin/Makefile.am: >> 64 if BUILD_DEBUG >> 65 nobase_dist_pkgdata_DATA = $(TMP_ui) >> 66 endif >> >> If normal, can I safely ignore these files for the packaging stuff? > > Yeah, for a release build they are compiled into xrcdialogs.cpp. In a debug build they are dynamically loaded each time a dialog is opened, making testing easier. > Thanks, so I need to fix this in debian/ubuntu packages. Can you give some explanations concerning the "new" branding directory (the one containing the branding.ini file)? Cheers, Raph