I tried to compile aiksaurus-1.0.1 with gtk 2.4, but the compile fails when building the gtk-front end: if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. /.. -I../../base -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/incl ude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetyp e2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATE D -DGNOME_DISABLE_DEPRECATED -march=athlon-mp -O2 -pipe -fomit-frame-pointer -MT Toolbar.lo -MD -MP -MF ".deps/Toolbar.Tpo" \ -c -o Toolbar.lo `test -f 'Toolbar.cpp' || echo './'`Toolbar.cpp; \ then mv -f ".deps/Toolbar.Tpo" ".deps/Toolbar.Plo"; \ else rm -f ".deps/Toolbar.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../base -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/u sr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/gli b-2.0/include -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISAB LE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=athlon- mp -O2 -pipe -fomit-frame-pointer -MT Toolbar.lo -MD -MP -MF .deps/Toolbar.Tpo - c Toolbar.cpp -fPIC -DPIC -o .libs/Toolbar.o Toolbar.cpp: In constructor ` AiksaurusGTK_impl::Toolbar::Toolbar(AiksaurusGTK_impl::DialogMediator&, GtkWidget*)': Toolbar.cpp:59: error: `gtk_combo_new' undeclared (first use this function) Toolbar.cpp:59: error: (Each undeclared identifier is reported only once for each function it appears in.) Toolbar.cpp:60: error: `GTK_COMBO' undeclared (first use this function) Toolbar.cpp:60: error: `gtk_combo_set_use_arrows' undeclared (first use this function) Toolbar.cpp:61: error: `gtk_combo_disable_activate' undeclared (first use this function) Toolbar.cpp: In member function `void AiksaurusGTK_impl::Toolbar::search(const char*)': Toolbar.cpp:131: error: `GTK_COMBO' undeclared (first use this function) Toolbar.cpp:133: error: `gtk_combo_set_popdown_strings' undeclared (first use this function) Toolbar.cpp: In member function `void AiksaurusGTK_impl::Toolbar::focus()': Toolbar.cpp:143: error: `GTK_COMBO' undeclared (first use this function) Toolbar.cpp: In member function `const char* AiksaurusGTK_impl::Toolbar::getText() const': Toolbar.cpp:148: error: `GTK_COMBO' undeclared (first use this function) Toolbar.cpp: In static member function `static void AiksaurusGTK_impl::Toolbar::_searchBarChanged(GtkWidget*, void*)': Toolbar.cpp:198: error: `GTK_COMBO' undeclared (first use this function) make[3]: *** [Toolbar.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/aiksaurus-1.0.1/work/aiksaurus-1.0. 1/gtk/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/aiksaurus-1.0.1/work/aiksaurus-1.0. 1/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/aiksaurus-1.0.1/work/aiksaurus-1.0. 1' make: *** [all] Error 2 !!! ERROR: app-text/aiksaurus-1.0.1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) They are using the (deprecated in 2.4) gtk_combo, but in the makefile they also specify -DGTK_DISABLE_DEPRECATED, so gtk_combo is not available. The quick fix is to omit the -D flag, I made a diff that does just that (patch for configure), but I'm not so well at making a patch that portage wants to apply, so I'll just attach the diff. After that it seems to work... before I forget, my emerge info: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6 -gentoo) ================================================================= System uname: 2.6.4-gentoo i686 AMD Athlon(tm) MP 2600+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -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 hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/ ipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/conf / /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/contro CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ft easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http:/ entoo.linux.no/" MAKEOPTS="-j4" 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="3dnow S3TC X aalib acpi alsa apache2 apm avi berkdb bonobo cdr crypt cups url dedicated dga doc dv dvd encode esd evo ffmpeg flac flash foomaticdb gd gd gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap iml java jikes jpeg junit libg++ libwww mad mikmod mmx motif mozcalendar mozilla znoirc mpeg ncurses nptl nvidia oci8 oggvorbis opengl pam pdflib perl plotutil png ppd python quicktime readline samba sdl slang speex spell sse ssl svga tcl tcpd tetex tiff transcode truetype unicode usb videos wxwindows x86 xml xml2 ms xv xvid zlib"
Created attachment 28679 [details, diff] the diff for configure
*** This bug has been marked as a duplicate of 45747 ***
Created attachment 28823 [details] fixed ebuild updated the ebuild to apply the patch, I'm not sure if there should be a revision bump (if you have it compiled before, there is no reason to switch, it's only a compile issue)
If Kristiaan Lenaerts' updated ebuild works, can it be incorporated in portage? I'm having this problem too... BTW why is it "Resolved - Duplicate" when the bug is still there?
my mistake
I just tried Kristiaan Lenaerts' ebuild. It complains that $EPATCH_SOURCE doesn't exist, which is of course: /usr/portage/app-text/aiksaurus/files/gtk+-2.4-fix.patch So that doesn't work either, how do I get it to build? I need lyx :(
Are you sure you placed the patch (wrongly named "the diff for configure", my fault) in the rigth directory? The only way I can reproduce your problem is when I rename the patch to something else, or when there is no patch at all. The reason I started this bug was for lyx too, you can always install aiksaurus-0.15 and go on from there, that worked fine over here.
Daath, does this patch work for you now? Over here, I have not a single problem, but if it doesn't work for you, and there is no extra info, the solution will never get into portage. I'm marking this bug as blocking the GTK+-2.4 Tracking bug, mayby this will generate some more interest...
Thanks for your report, fixed in cvs. Please test.
1.2.1 released