GNOME Bugzilla – Bug 380991
G_LOG_DOMAIN left improperly defined on build
Last modified: 2007-02-03 17:20:58 UTC
the -DG_LOG_DOMAIN=\"\\\"\$(cappletname)-properties\\\"\"" line in configure.in and configure that becomes defined on the command line ends up looking like -DG_LOG_DOMAIN="\"-properties\"" example being: gcc -DHAVE_CONFIG_H -I. -I../.. -I/Source/gnome-control-center/gnome-control-center/capplets/font -DORBIT2=1 -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/freetype2 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/startup-notification-1.0 -I/Source/gnome-control-center/gnome-control-center/capplets/common -DORBIT2=1 -D_REENTRANT -I/usr/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/startup-notification-1.0 -I/Source/gnome-control-center/gnome-control-center/ -DG_LOG_DOMAIN="\"-properties\"" -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/opt/local/include/dbus-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DGLADEDIR=\""/opt/local/share/control-center-2.0/interfaces"\" -DPIXMAPDIR=\""/opt/local/share/control-center-2.0/pixmaps"\" -g -O2 -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o /Source/gnome-control-center/gnome-control-center/capplets/font/main.c results being, all capplets end logging as a nice generic "-properties" this happens with ALL capplets
i guess this is cause cappletname needs to be defined in each Makefile.am that uses GNOMECC_CAPPLETS_CFLAGS
Good catch, thanks. 007-02-03 Jens Granseuer <jensgr@gmx.net> * capplets/about-me/Makefile.am: * capplets/background/Makefile.am: * capplets/default-applications/Makefile.am: * capplets/display/Makefile.am: * capplets/font/Makefile.am: * capplets/keybindings/Makefile.am: * capplets/keyboard/Makefile.am: * capplets/mouse/Makefile.am: * capplets/network/Makefile.am: * capplets/sound/Makefile.am: * capplets/theme-switcher/Makefile.am: * capplets/ui-properties/Makefile.am: * capplets/windows/Makefile.am: add cappletname variable which is used to define G_LOG_DOMAIN (fixes #380991)