Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487240

Summary: gnome-base/gnome-control-center-3.8.5: wacom panel is not linked in the binary /usr/bin/gnome-control-center
Product: Gentoo Linux Reporter: Serge Gavrilov <serge>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242    

Description Serge Gavrilov 2013-10-07 22:04:02 UTC
Hi!

After upgrade to gnome 3.8 wacom panel in g-c-c has been disappeared.

$ /usr/bin/gnome-control-center wacom

** (gnome-control-center:28742): WARNING **: Could not find settings panel "wacom"

Binary /usr/bin/gnome-control-center 

$ strings /usr/bin/gnome-control-center | grep -i wacom
Wacom Serial IDs

I have tried to manually recompile g-c-c in the following way:

ebuild /usr/portage/gnome-base/gnome-control-center/gnome-control-center-3.8.5.ebuild unpack 

cd  /var/tmp/portage/gnome-base/gnome-control-center-3.8.5/work/gnome-control-center-3.8.5

./configure 
make

The resulting binary has wacom panel compiled in.

And yes, I definitely have input_devices_wacom enabled. 

The build log is here: http://pastebin.ru/STArYI4l

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2013-10-08 05:57:13 UTC
This is probably because we forget to set BUILD_WACOM properly in configure.ac patch
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-08 14:46:47 UTC
BUILD_WACOM is set correctly. And panels/wacom/libwacom-properties.la appears to be getting compiled, and then linked into the main gnome-control-center executable. But for some reason it's not being recognized at runtime :/

> libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -Wl,-O1 -o gnome-control-center main.o cc-application.o cc-shell-log.o cc-window.o cc-shell-category-view.o cc-shell-item-view.o cc-editable-entry.o cc-panel-loader.o cc-panel.o cc-shell.o hostname-helper.o cc-hostname-entry.o -pthread -Wl,--export-dynamic  -Wl,--as-needed ./.libs/libshell.a /var/tmp/portage/gnome-base/gnome-control-center-3.8.5/work/gnome-control-center-3.8.5/egg-list-box/.libs/libegglistbox.a ../libgd/.libs/libgd.a ../panels/common/.libs/liblanguage.a ../panels/background/.libs/libbackground.a -lsocialweb-client ../panels/datetime/.libs/libdate_time.a ../panels/display/.libs/libdisplay.a ../panels/info/.libs/libinfo.a -lgtop-2.0 -lGL ../panels/keyboard/.libs/libkeyboard.a ../panels/mouse/.libs/libmouse-properties.a ../panels/notifications/.libs/libnotifications.a -lgnome-menu-3 ../panels/power/.libs/libpower.a -lupower-glib ../panels/privacy/.libs/libprivacy.a ../panels/region/.libs/libregion.a -libus-1.0 ../panels/search/.libs/libsearch.a ../panels/sharing/.libs/libsharing.a ../panels/sound/.libs/libsound.a -lxml2 -lcanberra-gtk3 -lcanberra -lpulse-mainloop-glib -lpulse ../panels/universal-access/.libs/libuniversal-access.a ../panels/user-accounts/.libs/libuser-accounts.a -laccountsservice -lfontconfig -lpwquality ../panels/wacom/.libs/libwacom-properties.a -lXi -lX11 -lwacom ../panels/printers/.libs/libprinters.a -lpolkit-gobject-1 -lcups -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -lpthread -lcrypt -lz -lsmbclient ../panels/network/.libs/libnetwork.a -lgmodule-2.0 -lnm-glib-vpn -lnm-gtk -lnm-util -lnm-glib -ldbus-glib-1 -ldbus-1 ../panels/bluetooth/.libs/libbluetooth.a -lgnome-bluetooth ../panels/color/.libs/libcolor.a -lcolord-gtk -lcolord -lcolordprivate -lgnome-desktop-3 ../panels/online-accounts/.libs/libonline-accounts.a -lgthread-2.0 -lgoa-backend-1.0 -lgoa-1.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm -pthread
Comment 3 Serge Gavrilov 2013-10-08 14:49:53 UTC
Try 

strings /usr/bin/gnome-control-center | grep -i wacom 

with correct binary. There are a lot of occurences.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-08 15:26:04 UTC
Pacho, you are right, it was BUILD_WACOM - we were setting the BUILD_WACOM automake variable, but not the BUILD_WACOM config.h macro.

+*gnome-control-center-3.8.5-r1 (08 Oct 2013)
+
+  08 Oct 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -gnome-control-center-3.8.4.1-r1.ebuild,
+  +gnome-control-center-3.8.5-r1.ebuild,
+  -files/gnome-control-center-3.8.0-optional.patch,
+  +files/gnome-control-center-3.8.5-optional.patch:
+  Fix wacom panel not getting enabled in panel loader (bug #487240, thanks to
+  Serge Gavrilov and Pacho Ramos). Consolidate various *-optional-* patches
+  into one for sanity, since upstream is not willing to accept any of them in
+  any case. Remove old.