Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45105 - gtk-theme-switch doesn't compile agains gtk-2.4.0
Summary: gtk-theme-switch doesn't compile agains gtk-2.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-18 22:06 UTC by Hinrik Örn Sigurðsson
Modified: 2004-03-28 08:33 UTC (History)
0 users

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


Attachments
patch to fix compilation issues against gtk+-2.4 (gtk+-2.4-fix.patch,360 bytes, patch)
2004-03-24 19:27 UTC, Yi Quang (RETIRED)
Details | Diff
updated ebuild. (gtk-theme-switch-2.0.0_rc2-r1.ebuild,812 bytes, text/plain)
2004-03-24 19:28 UTC, Yi Quang (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hinrik Örn Sigurðsson 2004-03-18 22:06:08 UTC
>>> emerge (1 of 1) x11-themes/gtk-theme-switch-2.0.0_rc2-r1 to /
>>> md5 src_uri ;-) gtk-theme-switch-2.0.0rc2.tar.gz
>>> md5 src_uri ;-) gtk-theme-switch-2.0.0rc2b.patch.gz
>>> Unpacking source...
>>> Unpacking gtk-theme-switch-2.0.0rc2.tar.gz to /var/tmp/portage/gtk-theme-switch-2.0.0_rc2-r1/work
>>> Unpacking gtk-theme-switch-2.0.0rc2b.patch.gz to /var/tmp/portage/gtk-theme-switch-2.0.0_rc2-r1/work
RUNNING FROM extra_functions.sh
 * Applying gtk-theme-switch-2.0.0rc2b.patch...                           [ ok ]>>> Source unpacked.
cc -o switch2 switch.c -O2 -Wall -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
switch.c: In function `preview_clicked':
switch.c:134: warning: implicit declaration of function `GTK_COMBO'
switch.c:134: error: invalid type argument of `->'
switch.c: In function `apply_clicked':
switch.c:165: error: invalid type argument of `->'
switch.c: In function `dock':
switch.c:347: warning: implicit declaration of function `gtk_combo_new'
switch.c:347: warning: assignment makes pointer from integer without a cast
switch.c:349: warning: implicit declaration of function `gtk_combo_set_popdown_strings'
make: *** [switch] Error 1
 
!!! ERROR: x11-themes/gtk-theme-switch-2.0.0_rc2-r1 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
Comment 1 Hinrik Örn Sigurðsson 2004-03-18 22:12:07 UTC
sdfPortage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.rhnet.is/gentoo-portage"
USE="3dnow X aalib acpi alsa arts avi berkdb cdr crypt dga esd fam fbcon flash gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde libwww mmx mpeg mysql ncurses nls nptl offensive oggvorbis opengl pam perl pic png python qt quicktime readline samba sdl slang sse ssl svga tcltk tcpd truetype v4l x86 xmms xv xvid zlib"
Comment 2 Drakos7 /Greg Wilson/ 2004-03-22 11:23:04 UTC
From the changelog for GTK 2.4.0:
:New drop-down selection widget The GtkComboBox widget replaces the old 
:GtkOptionMenu and GtkCombo widgets with a single unified appearance and 
:programming interface for both editable and non-editable dropdowns. Other 
:enhancements provided include customizability of the main display widget and grid :layouts for the drop-down menu.

Perhaps this is the problem? Gringotts does not compile now either because of GTK_OPTION_MENU
Comment 3 Dan Lange 2004-03-24 09:05:34 UTC
I'm getting the same thing when I try to emerge gtk-theme-switch. Although I'm using amd64 if that makes a difference...




littlebigpipe root # ACCEPT_KEYWORDS="~amd64" emerge gtk-theme-switch

Calculating dependencies ...done!
>>> emerge (1 of 1) x11-themes/gtk-theme-switch-2.0.0_rc2-r1 to /
>>> md5 src_uri ;-) gtk-theme-switch-2.0.0rc2.tar.gz
>>> md5 src_uri ;-) gtk-theme-switch-2.0.0rc2b.patch.gz
>>> Unpacking source...
>>> Unpacking gtk-theme-switch-2.0.0rc2.tar.gz to /var/tmp/portage/gtk-theme-switch-2.0.0_rc2-r1/work
>>> Unpacking gtk-theme-switch-2.0.0rc2b.patch.gz to /var/tmp/portage/gtk-theme-switch-2.0.0_rc2-r1/work
RUNNING FROM extra_functions.sh
 * Applying gtk-theme-switch-2.0.0rc2b.patch...                           [ ok ]
>>> Source unpacked.
cc -o switch2 switch.c -O2 -Wall -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
switch.c: In function `preview_clicked':
switch.c:134: warning: implicit declaration of function `GTK_COMBO'
switch.c:134: error: invalid type argument of `->'
switch.c: In function `apply_clicked':
switch.c:165: error: invalid type argument of `->'
switch.c: In function `dock':
switch.c:347: warning: implicit declaration of function `gtk_combo_new'
switch.c:347: warning: assignment makes pointer from integer without a cast
switch.c:349: warning: implicit declaration of function `gtk_combo_set_popdown_strings'
make: *** [switch] Error 1

!!! ERROR: x11-themes/gtk-theme-switch-2.0.0_rc2-r1 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)
Comment 4 Yi Quang (RETIRED) gentoo-dev 2004-03-24 19:27:43 UTC
Created attachment 27971 [details, diff]
patch to fix compilation issues against gtk+-2.4
Comment 5 Yi Quang (RETIRED) gentoo-dev 2004-03-24 19:28:30 UTC
Created attachment 27972 [details]
updated ebuild.
Comment 6 foser (RETIRED) gentoo-dev 2004-03-25 15:47:53 UTC
added patch, thnx khai.

@ reporter , please test & report back.
Comment 7 Hinrik Örn Sigurðsson 2004-03-25 20:22:04 UTC
Works. :)
Comment 8 foser (RETIRED) gentoo-dev 2004-03-28 08:33:03 UTC
fixed