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 380991 - G_LOG_DOMAIN left improperly defined on build
G_LOG_DOMAIN left improperly defined on build
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Other Preferences
git master
Other Mac OS
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-30 18:22 UTC by paul
Modified: 2007-02-03 17:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description paul 2006-11-30 18:22:01 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
Comment 1 paul 2007-01-15 19:37:39 UTC
i guess this is cause cappletname needs to be defined in each Makefile.am that uses GNOMECC_CAPPLETS_CFLAGS
Comment 2 Jens Granseuer 2007-02-03 17:20:58 UTC
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)