>>> 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)
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"
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
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)
Created attachment 27971 [details, diff] patch to fix compilation issues against gtk+-2.4
Created attachment 27972 [details] updated ebuild.
added patch, thnx khai. @ reporter , please test & report back.
Works. :)
fixed