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 312247 - gnome-applets should check for correct libgnome-desktop version
gnome-applets should check for correct libgnome-desktop version
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mixer
2.11.x
Other All
: Normal minor
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-01 15:13 UTC by Felix Riemann
Modified: 2005-08-02 19:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Require libgnome-desktop 2.11.1 (1.04 KB, patch)
2005-08-02 17:42 UTC, Caleb Groom
committed Details | Review

Description Felix Riemann 2005-08-01 15:13:49 UTC
Please describe the problem:
When updating gnome-applets from version <= 2.10 to 2.11.2 (during updating
gnome ) configure doesn't check if gnome-desktop has been updated to a version
>= 2.11.
The compilation fails when linking the mixer applet, which seems to use some
newer  functionality from libgnome-desktop.

Steps to reproduce:
1. install gnome-desktop-2.10.x (or lower)
2. try to compile gnome-applets-2.11.2



Actual results:
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer
-pipe -o mixer_applet2 applet.o dock.o load.o preferences.o -Wl,--export-dynamic
-Wl,--export-dynamic -Wl,--export-dynamic  /usr/lib/libgstinterfaces-0.8.so
/usr/lib/libgstreamer-0.8.so /usr/lib/libpanel-applet-2.so -pthread
/usr/lib/libgnome-desktop-2.so /usr/lib/libgnomeui-2.so -lSM -lICE
/usr/lib/libstartup-notification-1.so /usr/lib/libbonoboui-2.so
/usr/lib/libxml2.so -lpthread /usr/lib/libgnomecanvas-2.so
/usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangocairo-1.0.so /usr/lib/libpangox-1.0.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libfreetype.so /usr/lib/libcairo.so
/usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libfontconfig.so
/usr/lib/libpixman.so -lXrender -lX11 -lXext -lpng12 -lz
/usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so
applet.o: In function `gnome_volume_applet_run_mixer':
applet.c:(.text+0xad7): undefined reference to
`gnome_desktop_item_new_from_basename'
collect2: ld returned 1 exit status


Expected results:
configure should complain about unmet package requirements

Does this happen every time?
Yes.

Other information:
A fix would be to change line 22122 in the configure script from
LIBGNOME_DESKTOP_REQUIRED=2.10.2
to
LIBGNOME_DESKTOP_REQUIRED=2.11.1
Comment 1 Caleb Groom 2005-08-02 17:42:40 UTC
Created attachment 50143 [details] [review]
Require libgnome-desktop 2.11.1

Looks like the commit to applets.c on May 9th by Dennis Cranston added this
dependency.

You're right about the release.  2.11.1 was released May 17th.	However, the
change should be in configure.in since configure is a generated file.
Comment 2 Allison Karlitskaya (desrt) 2005-08-02 19:09:41 UTC
This looks mostly harmless(tm).

Committed.