Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28743 - New gtk-gnutella-0.92.1 ebuild created
Summary: New gtk-gnutella-0.92.1 ebuild created
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
: 28531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-14 17:25 UTC by Alex Plank
Modified: 2003-11-22 12:01 UTC (History)
4 users (show)

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


Attachments
The new ebuild for .1 (gtk-gnutella-0.92.1.ebuild,1001 bytes, application/octet-stream)
2003-09-14 17:26 UTC, Alex Plank
Details
gtk-gnutella-0.92.1.ebuild (gtk-gnutella-0.92.1.ebuild,1.24 KB, text/plain)
2003-10-14 17:04 UTC, Keith Constable
Details
gtk-gnutella-0.92.1-gcc3.3.patch (gtk-gnutella-0.92.1-gcc3.3.patch,345 bytes, patch)
2003-10-14 17:04 UTC, Keith Constable
Details | Diff
gtk-gnutella-0.92.1.ebuild (gtk-gnutella-0.92.1.ebuild,1.28 KB, text/plain)
2003-10-14 17:35 UTC, Keith Constable
Details
gtk-gnutella-0.92.1.ebuild (gtk-gnutella-0.92.1.ebuild,2.01 KB, text/plain)
2003-10-23 13:11 UTC, Keith Constable
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Plank 2003-09-14 17:25:38 UTC
I created a new one.
Comment 1 Alex Plank 2003-09-14 17:26:16 UTC
Created attachment 17729 [details]
The new ebuild for .1
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 07:48:00 UTC
*** Bug 28531 has been marked as a duplicate of this bug. ***
Comment 3 Henrik Schöpel 2003-09-21 09:20:32 UTC
Hi,

It would be really really sweet if you could edit your Ebuild for GTK2 support. The ebuild should look at the USE Flag in /etc/make.conf or if gnome 2 is installed. If there is something like USE="gtk2" then the ebuild should compile gnutella with gtk2 support. If there is no gtk2 Use Flag in make.conf then gnutella should be build with gtk1 support.

GTK2 is stable so i think support for it would be good.

greetings
Henrik
Comment 4 Sascha Silbe 2003-09-26 15:25:58 UTC
The ebuild doesn't work for me:

root@cube:/usr/local/portage/net-p2p/gtk-gnutella# ebuild gtk-gnutella-0.92.1.ebuild
merge
>>> md5 src_uri ;-) gtk-gnutella-0.92.1.tar.bz2
>>> Unpacking source...
>>> Unpacking gtk-gnutella-0.92.1.tar.bz2 to /var/tmp/portage/gtk-gnutella-0.92.1/work
>>> Source unpacked.

!!! ERROR: net-p2p/gtk-gnutella-0.92.1 failed.
!!! Function econf, Line 326, Exitcode 1
!!! no configure script found

root@cube:/usr/local/portage/net-p2p/gtk-gnutella# 

Comment 5 Keith Constable 2003-10-14 11:48:57 UTC
Your ebuild doesn't work because gtk-gnutella no longer uses autoconf/automake,
they've switched to metaconfig.

I'm working on an ebuild for it now.  I've worked everything out, and it
should theoretically work.  However, I am recieving the following error on
compile:

make[2]: Entering directory `/var/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/src'
cc -c -I.. -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   -I/usr/include/libxml2   -O   interface-glade2.c
In file included from common.h:27,
                 from gnet.h:27,
                 from gui.h:29,
                 from callbacks.h:29,
                 from interface-glade2.c:18:
../config.h:43:18: missing terminating " character
../config.h:44:19: missing terminating " character
make[2]: *** [interface-glade2.o] Error 1

Using gcc (GCC) 3.3.1 20030916 (Gentoo Linux 3.3.1-r4, propolice)

I will accost the folks on the gtk-gnutella mailing lists about this.

I must go to class now, I will work on this more later.
Comment 6 Keith Constable 2003-10-14 17:04:10 UTC
Created attachment 19244 [details]
gtk-gnutella-0.92.1.ebuild

This one works.

Now with GTK2 and NLS support!

Needs the patch attached next.
Comment 7 Keith Constable 2003-10-14 17:04:56 UTC
Created attachment 19245 [details, diff]
gtk-gnutella-0.92.1-gcc3.3.patch

This patch will not be necessary in the next release.
Comment 8 Keith Constable 2003-10-14 17:35:59 UTC
Created attachment 19248 [details]
gtk-gnutella-0.92.1.ebuild

Revised.

libxml2 is an optional dependency of gtk-gnutella.  The ebuild now reflects
this.
Comment 9 Sascha Silbe 2003-10-21 03:01:05 UTC
Does not work for me yet. Probably needs to depend on a newer version gettext.

[...]
make[2]: Leaving directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/src'
Making all in pixmaps...
make[2]: Entering directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/pixmaps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/pixmaps'
Making all in po...
make[2]: Entering directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/po'
make gtk-gnutella.pot-update
make[3]: Entering directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
/usr/bin/xgettext --default-domain=gtk-gnutella --directory=.. \
  --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --from-code=UTF-8
\
  --files-from=./POTFILES.in \
  --copyright-holder='Raphael Manfredi' \
  --msgid-bugs-address='gtk-gnutella-devel@lists.sf.net'
/usr/bin/xgettext: unrecognized option `--from-code=UTF-8'
Try `/usr/bin/xgettext --help' for more information.
make[3]: *** [gtk-gnutella.pot-update] Error 1
make[3]: Leaving directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/po'
make[2]: *** [gtk-gnutella.pot] Error 2
make[2]: Leaving directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1/po'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/tmp/portage/gtk-gnutella-0.92.1/work/gtk-gnutella-0.92.1'
make: *** [all] Error 2

!!! ERROR: net-p2p/gtk-gnutella-0.92.1 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! Compilation failed


Comment 10 Sascha Silbe 2003-10-21 17:40:26 UTC
Using the (currently masked for everything but ia64) gettext-0.12.1, I can
compile and use gtk-gnutella-0.92.1.
What are the chances of getting gettext-0.12.1 into testing (i.e. ~x86 etc.)?

Comment 11 Keith Constable 2003-10-23 12:39:07 UTC
Yeah, I never downgraded to 0.11.5, which is why it worked for me.

0.12.1 was a ~x86, but they masked it because it causes problems during bootstrap.

I'll just disable nls support.  We did without it before.
Comment 12 Keith Constable 2003-10-23 13:11:38 UTC
Created attachment 19682 [details]
gtk-gnutella-0.92.1.ebuild

Disabled NLS support, some cleanups, and added some warnings.
Comment 13 Brandon Low (RETIRED) gentoo-dev 2003-11-22 12:01:17 UTC
superceeded by newer version