Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39908 - Gnu Gadu ebuild
Summary: Gnu Gadu ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL: http://ggadu.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-30 13:54 UTC by Andreas Pokorny
Modified: 2004-02-07 03:35 UTC (History)
0 users

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


Attachments
gnu gadu 2.0_pre6 ebuild (gnugadu-2.0_pre6.ebuild,1.12 KB, text/plain)
2004-01-30 13:56 UTC, Andreas Pokorny
Details
Fixed gnugadu ebuild (gnugadu-2.0_pre6.ebuild,1.41 KB, text/plain)
2004-02-06 02:50 UTC, Andreas Pokorny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pokorny 2004-01-30 13:54:16 UTC
Gnu gadu is a gadu-gadu jabber and tlen im.
It needs libgadu for gadu support.. currently only the kadu ebuild
provides that library. Apart from that flaw the ebuild seems to work.
The gui is much nicer than kadu
Comment 1 Andreas Pokorny 2004-01-30 13:56:38 UTC
Created attachment 24661 [details]
gnu gadu 2.0_pre6 ebuild
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-01-31 02:20:38 UTC
I'm willing to have the ebuild added to the CVS, but first we need to fix a few things :) Please do/note the following:

1) tell me which of the USE flags you have in IUSE are new and should therefore be added to use.local.desc. 
2) libgadu is currently provided by ekg-1.4, I think it's a good idea to add a dependency on net-im/ekg-1.4 to the ebuild for gg2
3) have an appropriate header added to the ebuild (the three lines: Copyright.. Distributed.. $Header: $ - as in all other ebuilds in Portage)
4) change keywords to ~x86, x86 is only for ebuilds which have been in Portage for more than 2-3 weeks and no problems are found with them
5) add a dodoc line src_install()
6) have a look at http://www.gentoo.pl/ebuild/gg2-2.0_pre6.tar.bz2 and have the deps from you ebuild compared to theirs? (what about: gettext, iksemel, XML-Parser - are these not needed?)
7) in the ebuild from gentoo.pl they use if [ `use arts`] ] ... fi - is this necessary (I'm not a KDE user so I don't know..). If yes, please have it added to your ebuild
Comment 3 Andreas Pokorny 2004-02-06 02:49:01 UTC
About the arts issue:
It works both here. Ask a kde maintainer which way is better. I really do not know. I installed gnugadu two times with these flags:
USE="oss arts esd tlen xosd" 

The libtlen dependency in the other ebuild seems to be wrong.
And that iksemel or whatever dependency is strange, too.

The USE flags should be reduced to: 
IUSE="tlen jabber xosd oss arts esd"
tlen - seems to be a completely new use flag - adds tlen support (seems to be another instant messaging system). 
jabber - adds the jabber support
xosd -  notifies the user about new messages using on-screen-display
esd,arts,oss - for sound support. 

I removed the gtk/gui option since the whole thing does not seem to make any sense without a gui. 

The jabber plugin did not work here, because loudmouth-0.15 did not want to compile with gnutls-1.0.4. Loudmouth uses a constant that is not defined by gnutls, but i do not have the time to research that any further. 
So you could consider removing that option, if the error is reproduceable.  

Compiling with all other use flags at the same time worked. 

Also added the dodoc section, and used make install DESTDIR=.. instead of einstall.
Comment 4 Andreas Pokorny 2004-02-06 02:50:23 UTC
Created attachment 25066 [details]
Fixed gnugadu ebuild
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2004-02-07 03:35:48 UTC
I've added the GnuGadu ebuild to CVS, thanks for your work on it. It turned out it was necessary to add a dependency on loadmouth-1.4* (there are more problems with 1.5 than just an undefined constant).