After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 390806 - make install DESTDIR without glade3
make install DESTDIR without glade3
Status: RESOLVED FIXED
Product: libgnomedb
Classification: Deprecated
Component: general
2.99.x
Other Linux
: Normal normal
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-29 22:09 UTC by Mark Johnson
Modified: 2007-01-24 04:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark Johnson 2006-12-29 22:09:33 UTC
When one does a "make install DESTDIR=somedir" without having glade3 installed, the result is:
$ ls -al somedir
total 28
drwxr-xr-x  7 mj users 4096 2006-12-29 13:57 ./
drwxr-xr-x  4 mj users 4096 2006-12-29 13:29 ../
drwxr-xr-x  2 mj users 4096 2006-12-29 13:57 16x16/
drwxr-xr-x  2 mj users 4096 2006-12-29 13:57 22x22/
drwxr-xr-x  3 mj users 4096 2006-12-29 13:57 etc/
drwxr-xr-x  2 mj users 4096 2006-12-29 13:57 install/
drwxr-xr-x  7 mj users 4096 2006-12-29 13:57 usr/

The 16x16 and 22x22 directories look like pixmaps for use with glade3.  However, GLADE3_PIXMAP_DIR is empty (correctly as I don't have glade3 installed).  Without glade3, these two directories probably should not be created without glade3 installed and certainly should not be in the somedir passed as DESTDIR to make install.

The file libgnomedb-2.99.2/data/Makefile.am has:
SUBDIRS = 16x16 22x22

Thus, its subdirectories do not depend upon whether or not glade3 is installed.  They are always built and installed.  However, the file libgnomedb-2.99.2/data/16x16/Makefile.am has:
smalliconsdir = @GLADE3_PIXMAP_DIR@/16x16

Since glade3 is not installed @GLADE3_PIXMAP_DIR@ evaluated to an empty string and the 16x16 directory was installed incorrectly in the root of my DESTDIR.
Comment 1 Murray Cumming 2007-01-17 09:33:03 UTC
I have attempted to fix this in SVN trunk.
Comment 2 Mark Johnson 2007-01-24 04:05:58 UTC
yep, SVN 1553 of trunk compiles and installs without the extra directories.  (Used gtk+2.10 to confirm this)