Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91143 - devilspie fails to compile with the new libwnck-2.10.0
Summary: devilspie fails to compile with the new libwnck-2.10.0
Status: RESOLVED DUPLICATE of bug 88047
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 03:24 UTC by Rodrigo Queiro
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild for 0.10 (devilspie-0.10.ebuild,1.32 KB, application/octet-stream)
2005-05-05 21:56 UTC, Ronny Haryanto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Queiro 2005-05-02 03:24:13 UTC
Since updating to libwnck-2.10.0, devilspie fails to compile. I tried 0.7 (the latest in portage) and also put an ebuild for 0.8 in my portage overlay, but this failed likewise.

The error is:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2           -DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\"   -DDATADIR=\""/usr/share"\"      -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED         -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O3 -march=pentium4 -pipe -fomit-frame-pointer -c devilspie-action-setgeometry.c
devilspie-action-resize.gob: In function `___1_devilspie_action_resize_run':
devilspie-action-resize.gob:74: error: too few arguments to function `wnck_window_unminimize'

Discussion can be found at: http://www.burtonini.com/blog/computers/devilspie/devilspie-0.8

Reproducible: Always
Steps to Reproduce:
1. Update to libwnck-2.10.0
2. emerge devilspie
3.

Actual Results:  
The compile failed with the error above

Expected Results:  
Compiled cleanly.

Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.11
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
http://www.gigaload.org/gentoo.org/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl alsa apache2 apm avi berkdb bitmap-fonts cdparanoia
crypt cups curl dvd emboss encode fam flac foomaticdb fortran gd gdbm gif gpm
gstreamer gtk gtk2 guile imagemagick imlib java jpeg libg++ libwww mad mikmod
mmx mmx2 motif mozilla mp3 mpeg mysql ncurses network nls nptl nvidia offensive
ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline
real samba sdl session sockets spell sse sse2 ssl svg svga tcltk tcpd theora
tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xine
xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Holly Bostick 2005-05-02 16:52:40 UTC
Same here-- tried both 0.4 (x86 in Portage) and 0.8 (in PORTDIR_OVERLAY using ebuild in Bugzilla); both failed with the same error:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2   	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\" 	-DDATADIR=\""/usr/share"\" 	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c devilspie-action-layer.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2   	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\" 	-DDATADIR=\""/usr/share"\" 	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c devilspie-action-opacity.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2   	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\" 	-DDATADIR=\""/usr/share"\" 	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c devilspie-action-resize.c
devilspie-action-opacity.gob: In function `devilspie_action_opacity_composite_set_opacity':
devilspie-action-opacity.gob:37: warning: unused variable `BufX'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2   	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\" 	-DDATADIR=\""/usr/share"\" 	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c devilspie-action-savegeometry.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/libxml2   	-DDEVILSPIE_LOCALEDIR=\""/usr/share/locale"\" 	-DDATADIR=\""/usr/share"\" 	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -Wall -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c devilspie-action-setgeometry.c
devilspie-action-resize.gob: In function `___1_devilspie_action_resize_run':
devilspie-action-resize.gob:74: error: too few arguments to function `wnck_window_unminimize'
make[2]: *** [devilspie-action-resize.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/devilspie-0.8/work/devilspie-0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/devilspie-0.8/work/devilspie-0.8'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-misc/devilspie-0.8 failed.

I'm using GNOME 2.10, so I have libwnck 2.10:

 esearch libwnck
[ Results for search key : libwnck ]
[ Applications found : 1 ]

*  x11-libs/libwnck
      Latest version available: 2.10.0
      Latest version installed: 2.10.0
      Size of downloaded files: 409 kB
      Homepage:    http://www.gnome.org/
      Description: A window navigation construction kit
      License:     GPL-2

And here's my emerge info:

Portage 2.0.51.19 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 20:56:48)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7, 2.14.90.0.8-r1
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm arts audiofile avi berkdb bitmap-fonts bonobo caps cddb cdr crypt cups curl dga directfb divx4linux dv dvd eds emboss encode esd fam fbcon flac foomaticdb fortran gdbm ggi gif glut gnome gnutils gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 java jikes jpeg kde kdeenablefinal kdexdeltas lcms ldap libcaca libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mpi nas ncurses nfs nls nptl offensive ogg oggvorbis opengl oss pdflib perl pic png povray python qt quicktime readline samba sdl slang sndfile socks5 spell sse ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode v4l vorbis wmf xml xml2 xmms xprint xv xvid yv12 zlib userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Ronny Haryanto 2005-05-05 21:55:42 UTC
This is a duplicate of bug #88047.

And there's a new version of devilspie (0.10) that addresses the problem and works with gnome 2.10. I'll attach my ebuild.
Comment 3 Ronny Haryanto 2005-05-05 21:56:31 UTC
Created attachment 58176 [details]
new ebuild for 0.10
Comment 4 Rodrigo Queiro 2005-05-06 10:17:16 UTC
Works for me - should we change the bug to fixed?
Comment 5 Ronny Haryanto 2005-05-06 10:23:12 UTC
See #79332 for a more recent ebuild.
Comment 6 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-07 12:45:25 UTC

*** This bug has been marked as a duplicate of 88047 ***