Trying to compile the new power-manager with libnotify support does result in this error: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs -o gnome-power-manager gpm-dpms-x11.o gpm-hal-monitor.o gpm-dbus-system-monitor.o gpm-dbus-session-monitor.o gpm-debug.o gpm-idle.o gpm-polkit.o gpm-main.o gpm-manager.o gpm-power.o gpm-brightness.o gpm-tray-icon.o eggtrayicon.o gpm-marshal.o gpm-hal.o gpm-common.o gpm-screensaver.o gpm-networkmanager.o gpm-stock-icons.o gpm-info.o gpm-info-data.o gpm-inhibit.o gpm-graph-widget.o gpm-feedback-widget.o -pthread -pthread /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so -lz /usr/lib/libwnck-1.so /usr/lib/libhal.so /usr/lib/libgthread-2.0.so -lresolv /usr/lib/libXext.so /usr/lib/libnotify.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libdbus-glib-1.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libdbus-1.so /usr/lib/libglib-2.0.so gpm-tray-icon.o: In function `gpm_tray_icon_notify': /var/tmp/portage/gnome-power-manager-2.16.2/work/gnome-power-manager-2.16.2/src/gpm-tray-icon.c:808: undefined reference to `notify_notification_new_with_status_icon' collect2: ld returned 1 exit status make[3]: *** [gnome-power-manager] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -O2 -mtune=i686 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs -o gnome-power-preferences gpm-hal.o gpm-debug.o gpm-prefs.o gpm-prefs-core.o gpm-marshal.o gpm-dbus-system-monitor.o gpm-dbus-session-monitor.o gpm-common.o gpm-screensaver.o -pthread -pthread /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so -lz /usr/lib/libwnck-1.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 -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libcairo.so /usr/lib/libhal.so /usr/lib/libdbus-glib-1.so /usr/lib/libdbus-1.so /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so make[3]: Leaving directory `/var/tmp/portage/gnome-power-manager-2.16.2/work/gnome-power-manager-2.16.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-power-manager-2.16.2/work/gnome-power-manager-2.16.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-power-manager-2.16.2/work/gnome-power-manager-2.16.2' make: *** [all] Error 2 !!! ERROR: gnome-extra/gnome-power-manager-2.16.2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called gnome2_src_compile gnome2.eclass, line 71: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo i686) ================================================================= System uname: 2.6.19-gentoo i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.6 Last Sync: Fri, 15 Dec 2006 04:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer noinfo sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-de /usr/local/portage/default /usr/local/portage/layman/catalystframework" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 cjk cli cracklib crypt cscope cups dga directfb dlloader dri dvd eds elibc_glibc emboss encode esd fbcon firefox flac foomaticdb fortran gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jack java jikes jpeg jpeg2k kde kerberos kernel_linux lcms ldap libg++ libwww linguas_de lirc_devices_pctv mad mikmod mmx modperl motif mp3 mpeg mysql nas ncurses nls nptl ogg opengl oss pam pcre perl png postgres pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session slang snmp spell spl sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon video_cards_v4l vorbis xinerama xml xorg xprint xv zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS revdep-rebuild already done after the gnome updates, all is looking fine but still no success merging the new version of the gnome-power-manager. Torsten
please rebuild libnotify as the ewarn/elog pointed out when you upgraded to gnome 2.16
I really would appreciate to do a version bump on libnotify for such changes, because i'll update the system in a screen session and does not look every second for einfo messages or something - if anyone does an update of many packages, you cant be sure that everyone reads this. So break the process to make sure the user see the einfo or bump the dependency version, this is not very handy im my thoughts. Torsten
Btw, which ebuild does point out this elog/ewarn info, i dont got gnome installed - so where to look for?
This was noted in the GNOME 2.16 upgrade guide. http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.16-upgrade.xml Linked off of 27th November GWN.
Hm ok. But this should be done in the applications ebuild, because i dont use gnome - so i did not look for any gnome upgrade guides. power-manager and rhytmbox can be used without the rest of the stuff which comes with the gnome ebuild, so imho its better to notify the user about this needed rebuild, if an ebuild uses the libnotify use flag. Torsten
as remi pointed out you can find in man portage the
as remi pointed out you can find in man portage the übercool new feature from portage ~2.1 which allows you to log 'elog, ewarn, ecritical' and other messages you really need to get. For more info on elog, read /etc/make.conf.example (I can't find the man) and check the output of eix -S elog (or emerge -S elog)