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 578994 - fast-user-switch-applet 2.24.0 cannot find libgnomeui/gnome-help.h
fast-user-switch-applet 2.24.0 cannot find libgnomeui/gnome-help.h
Status: RESOLVED WONTFIX
Product: fast-user-switch-applet
Classification: Deprecated
Component: Applet
2.24.x
Other All
: Normal normal
: ---
Assigned To: Fast User Switch Applet Maintainer
Fast User Switch Applet Maintainer
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-04-14 23:15 UTC by Eric Sandall
Modified: 2011-06-10 12:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Get -I flags with pkgconfig (702 bytes, patch)
2009-05-26 16:34 UTC, Peter Alfredsen
none Details | Review

Description Eric Sandall 2009-04-14 23:15:42 UTC
Please describe the problem:
libgnomeui 2.24.1 is installed and libgnomeui/gnome-help.h exists:
$ ls -lah /usr/include/libgnomeui-2.0/libgnomeui/gnome-help.h
-rw-r--r-- 1 root root 1.8K 2009-04-13 16:04 /usr/include/libgnomeui-2.0/libgnomeui/gnome-help.h

pkgconfig knows how to include the proper files:
$ pkg-config libgnomeui-2.0 --cflags
-DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12

When compiling fast-user-switch-applet 2.24.0, the compile complains about missing libgnomeui/gnome-help.h:
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-gdm-config=/etc/gdm/custom.conf && make
...
Making all in src
make[2]: Entering directory `/usr/src/fast-user-switch-applet-2.24.0/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\""Fast-User-Switch-Applet"\" -DDATADIR=\""/usr/share"\" -DORBIT2=1 -pthr
ead -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango
-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/inclu
de/libpng12 -I/usr/include/panel-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I
/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/l
ibgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/incl
ude/libart-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libglade-2.0     -Wall -Wm
issing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  -Wcast-align -Wchar-subscripts -Wsign-compare -W
no-strict-aliasing -march=core2 -m32 -pipe -DPIC -fPIC -O2 -fomit-frame-pointer -MT fast_user_switch_applet-applet.o -
MD -MP -MF .deps/fast_user_switch_applet-applet.Tpo -c -o fast_user_switch_applet-applet.o `test -f 'applet.c' || echo
 './'`applet.c
applet.c:55:35: error: libgnomeui/gnome-help.h: No such file or directory
applet.c: In function 'applet_fill_cb':
applet.c:459: warning: implicit declaration of function 'getuid'
applet.c:459: warning: nested extern declaration of 'getuid'
applet.c: In function 'help_cb':
applet.c:1109: warning: implicit declaration of function 'gnome_help_display_on_screen'
applet.c:1109: warning: nested extern declaration of 'gnome_help_display_on_screen'
make[2]: *** [fast_user_switch_applet-applet.o] Error 1
make[2]: Leaving directory `/usr/src/fast-user-switch-applet-2.24.0/src'

fast-user-switch-applet does not seem to use pkgconfig to determine the include paths.

Steps to reproduce:
1. Install dependencies of fast-user-switch-applet 2.24.0
2. Compile fast-user-switch-applet 2.24.0 using the following flags:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-gdm-config=/etc/gdm/custom.conf && make
3. Run into the compile issue


Actual results:
Compilation fails

Expected results:
Compilation succeeds

Does this happen every time?
Yes

Other information:
Distribution bug reports:
Source Mage GNU/Linux: http://bugs.sourcemage.org/show_bug.cgi?id=15172
Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=263367
Comment 1 Peter Alfredsen 2009-05-26 16:34:44 UTC
Created attachment 135387 [details] [review]
Get -I flags with pkgconfig

This fixes the build on Gnome-2.26 for me.
Comment 2 Eric Sandall 2009-05-26 23:02:55 UTC
(In reply to comment #1)
> Created an attachment (id=135387) [edit]
> Get -I flags with pkgconfig
> 
> This fixes the build on Gnome-2.26 for me.

This fixes it for me as well (after applying your patch and running `autoreconf`). :)
Comment 3 Akhil Laddha 2011-06-10 12:25:16 UTC
fast-user-switch-applet development has been stalled and it has been unmaintained for a few years now. Maintainers don't have future development plan so i am closing the bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility of active development.