First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 46766
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alastair Tse (RETIRED) <liquidx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kristiaan Lenaerts <kristiaan.lenaerts@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtk+-2.4-fix.patch the diff for configure patch Kristiaan Lenaerts 2004-04-04 06:38 0000 391 bytes Details | Diff
aiksaurus-1.0.1-r1.ebuild fixed ebuild text/plain Kristiaan Lenaerts 2004-04-07 02:16 0000 818 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46766 depends on: Show dependency tree
Show dependency graph
Bug 46766 blocks: 45747
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-04 06:35 0000
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"

------- Comment #1 From Kristiaan Lenaerts 2004-04-04 06:38:02 0000 -------
Created an attachment (id=28679) [edit]
the diff for configure

------- Comment #2 From Alastair Tse (RETIRED) 2004-04-06 15:49:59 0000 -------

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

------- Comment #3 From Kristiaan Lenaerts 2004-04-07 02:16:20 0000 -------
Created an attachment (id=28823) [edit]
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)

------- Comment #4 From Daath 2004-04-09 11:05:25 0000 -------
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?

------- Comment #5 From Alastair Tse (RETIRED) 2004-04-09 11:08:26 0000 -------
my mistake

------- Comment #6 From Daath 2004-04-09 11:35:23 0000 -------
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 :(

------- Comment #7 From Kristiaan Lenaerts 2004-04-10 01:11:52 0000 -------
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.

------- Comment #8 From Kristiaan Lenaerts 2004-04-21 02:55:06 0000 -------
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...

------- Comment #9 From Yi Quang (RETIRED) 2004-04-21 16:36:47 0000 -------
Thanks for your report, fixed in cvs.  Please test.  

------- Comment #10 From Mark Gilbert 2004-06-22 17:49:03 0000 -------
1.2.1 released

First Last Prev Next    No search results available      Search page      Enter new bug