Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88243 - amule-cvs ebuild (always using current date's cvs-snapshot tarball)
Summary: amule-cvs ebuild (always using current date's cvs-snapshot tarball)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 03:07 UTC by Real Name
Modified: 2006-06-07 20:12 UTC (History)
3 users (show)

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


Attachments
amule-cvs ebuild (amule-cvs-1.ebuild,1.90 KB, text/plain)
2005-04-07 03:08 UTC, Real Name
Details
amule-cvs with wxGTK 2.6 support (amule-cvs-1.ebuild,2.29 KB, application/octet-stream)
2005-05-04 12:48 UTC, Juan
Details
Ebuild To pass My errors with a few more flags (amule-cvs-1.ebuild,2.74 KB, text/plain)
2005-05-21 16:11 UTC, Pedro Algarvio
Details
amule-cvs ebuild FINAL (amule-cvs.tar,20.00 KB, application/x-tar)
2005-06-23 04:07 UTC, Pedro Algarvio
Details
Current aMule CVS with KAD support (amule-cvs-2.ebuild,3.84 KB, application/octet-stream)
2005-07-30 21:07 UTC, Juan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Real Name 2005-04-07 03:07:19 UTC
Its a nicely working ebuild to be placed into:

/usr/local/portage/net-p2p/amule-cvs/

after that just do:

# ebuild /usr/local/portage/net-p2p/amule-cvs/amule-cvs-1.ebuild digest


IMPORTANT NOTE:

a) you can update your amule everyday with the command # emerge amule-cvs

b) i recommend using the recent wxGTK with gtk2 support, to do so get >=gtk+-2.6.4 and >=wxGTK-2.5.5

for the second you may do the following:

# echo x11-libs/wxGTK >> /etc/portage/package.unmask

then:

copy: /usr/portage/x11-libs/wxGTK/wxGTK-2.5.3.ebuild to: /usr/local/portage/x11-libs/wxGTK/wxGTK-2.5.5.ebuild

then:

# ebuild /usr/local/portage/x11-libs/wxGTK/wxGTK-2.5.5.ebuild digest

finally do: # emerge -u gtk+ wxGTK amule-cvs


WHEN THERE IS A PROBLEM ON CONFIGURE:

be shure you have the following symlink:

 /usr/bin/wx-config -> /usr/bin/wxgtk2-2.5-config

Reproducible: Always
Steps to Reproduce:
Comment 1 Real Name 2005-04-07 03:08:23 UTC
Created attachment 55546 [details]
amule-cvs ebuild
Comment 2 Real Name 2005-04-07 10:03:28 UTC
I forgot to mention:

1)

You will maybe need to create the folder "/usr/local/portage" and add the line:

PORTDIR_OVERLAY="/usr/local/portage" to your "/etc/make.conf"


2)

To generate a new date you will need to run each time:

"ebuild amule-cvs-1.ebuild digest"

before "emerge amule-cvs"


3) official release site: 

http://forum.amule.org/thread.php?threadid=5732
Comment 3 Real Name 2005-04-11 11:08:01 UTC
Again a note:

before you can run "ebuild amule-cvs-1.ebuild digest" you should do the following:

   $ touch amule-cvs-1.ebuild

this will make the ebuild script notice that the actual date really changed, so far i see no way to make it more "automagic" sry
Comment 4 Juan 2005-04-28 10:47:33 UTC
Why would I get this error?

root@epitaph amule # ebuild amule-cvs-1.ebuild digest
!!! aux_get(): ebuild path for 'net-p2p/amule-cvs-1' not specified:
!!!            None
!!! aux_get(): ebuild path for 'net-p2p/amule-cvs-1' not specified:
!!!            None
doebuild(): aux_get() error reading net-p2p/amule-cvs-1; aborting.
Comment 5 Mikkel Schubert 2005-04-28 15:23:03 UTC
The directory name must of match the ebuild name, it should be 'net-p2p/amule-cvs' rather than 'net-p2p/amule'.
Comment 6 Juan 2005-04-29 10:24:35 UTC
Well, whatever the issue was, it was fixed by recreating my portage overlay directory for amule-cvs...
Comment 7 Gioele Barabucci 2005-05-03 03:49:28 UTC
This ebuild don't works fine with wxGTK 2.6 (the amule forum states that CVS supports wxGTK 2.6).

!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/bin/wxgtk2u-2.4-config not found
!!! set-wxconfig:         /usr/bin/wxgtk2ud-2.4-config not found
!!! You need to emerge wxGTK with unicode in your USE

woodstock amule-cvs # equery -v list wxGTK
[I--] [  ] x11-libs/wxGTK-2.6.0 (2.6)
woodstock amule-cvs # equery -v uses wxGTK
[ Found these USE variables for x11-libs/wxGTK-2.6.0 ]
 U I
 - - gnome
 + + gtk2
 + + jpeg
 - - joystick
 - - odbc
 + + opengl
 + + png
 + + sdl
 - + tiff
 - - wxgtk1
 - - debug
 - - doc
 - - debug
 + + unicode
 - - dmalloc
 - + zlib
Comment 8 Juan 2005-05-04 12:48:18 UTC
Created attachment 58059 [details]
amule-cvs with wxGTK 2.6 support

1. Make sure you have wxGTK 2.6 installed (masked by keyword)
2. Verify that /usr/bin/wxGTK2-2.6 exists, if it does not exist, create the
symlink: ln -s /usr/bin/wx-config /usr/bin/wxGTK2-2.6
3. touch amule-cvs-1.ebuild
4. ebuild amule-cvs-1.ebuild digest
5 emerge amule-cvs
Comment 9 Mikkel Schubert 2005-05-04 13:03:57 UTC
BTW, aMule does not require Curl any more, so you can remove it from the dependency list.
Comment 10 Gioele Barabucci 2005-05-05 07:23:36 UTC
Now aMule compiles fine with wxGTK-2.6.0. Thanks for the effort!

I noticed this line in the compilation log, just after the "configure" step.

>  Should aMule be compiled with UTF-8 taskbar icon support?  no

As I already showed, I have the unicode flag in my USE variable.
Did the configure script checked something wrong?
Comment 11 Real Name 2005-05-06 04:00:19 UTC
The ebuild needs a "--enable-utf8-systray" in the ebuild then I suppose if using unicode USE-flag
Comment 12 Mikkel Schubert 2005-05-08 03:30:06 UTC
--enable-utf8-systray isn't needed for unicoded builds, it was a workaround for some problem where the strings passed to gtk in the systray needed to be unicoded, even though the rest of the app wasn't. Simply using a unicoded wxWidgets build enables the same stuff:
#if defined(__UTF8_SYSTRAY_ENABLED__) || wxUSE_UNICODE 

More information here:
http://forum.amule.org/thread.php?threadid=3556
Comment 13 Pedro Algarvio 2005-05-20 23:13:44 UTC
[ebuild  N    ] net-p2p/amule-cvs-1  +amuled +debug -gtk2 +nls +remote -stats
+unicode 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) net-p2p/amule-cvs-1 to /
>>> vampas -sandbox(clean) /usr/local/portage/net-p2p/amule-cvs
>>> md5 files   ;-) amule-cvs-1.ebuild
>>> md5 files   ;-) files/digest-amule-cvs-1
>>> md5 src_uri ;-) aMule-CVS-20050520.tar.bz2
>>> vampas -sandbox(setup) /usr/local/portage/net-p2p/amule-cvs
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/bin/wxgtk-2.4-config not found
!!! set-wxconfig:         /usr/bin/wxgtkd-2.4-config not found
!!! You need to emerge wxGTK with wxgtk1 in your USE

equery -v list wxGTK
[ Searching for package 'wxGTK' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/wxGTK-2.6.0-r1 (2.6)

equery -v uses wxGTK
[ Searching for packages matching wxGTK... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-libs/wxGTK-2.6.0-r1 ]
 U I
 - - gnome    : Adds GNOME support
 - - gtk2     : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
 + + jpeg     : Adds JPEG image support
 - - joystick : Add support for joysticks in all packages
 - - odbc     : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl   : Adds support for OpenGL
 + + png      : Adds support for libpng (PNG images)
 + + sdl      : Adds support for Simple Direct Layer (media library)
 + + tiff     : Adds support for the tiff image format
 + + wxgtk1   : <unknown>
 - - debug    : Tells configure and the makefiles to build for debugging.
Effects vary across packages, but generally it will at least add -g to CFLAGS.
Remember to set FEATURES=nostrip too
 - - doc      : Adds extra documentation (API, Javadoc, etc)
 - - debug    : Tells configure and the makefiles to build for debugging.
Effects vary across packages, but generally it will at least add -g to CFLAGS.
Remember to set FEATURES=nostrip too
 + + unicode  : Adds support for Unicode

I've also:
ln -s /usr/bin/wx-config /usr/bin/wxGTK2-2.6

but still doesn't work, why? What am I doing wrong?
Comment 14 Pedro Algarvio 2005-05-21 16:11:39 UTC
Created attachment 59499 [details]
Ebuild To pass My errors with a few more flags

These are the necessary changes I needed to do to make it build, it's not
suposed to work like this but now it works...

Also since this is an ebuild for the cvs snapshots, I added a few more needed
flags(at least by me, others will like them also).
Comment 15 Pedro Algarvio 2005-06-23 04:07:48 UTC
Created attachment 61773 [details]
amule-cvs ebuild FINAL

The correct way to do it!!!
Comment 16 Pedro Algarvio 2005-06-23 04:09:44 UTC
Comment on attachment 61773 [details]
amule-cvs ebuild FINAL

Includes Init scripts for amuled and amuleweb.
Comment 17 Juan 2005-07-30 21:07:01 UTC
Created attachment 64762 [details]
Current aMule CVS with KAD support

Current amule-cvs ebuild with KAD support. Requires wxGTK 2.6 or greater.
Comment 18 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-18 05:36:26 UTC
we really don't like cvs ebuild in tree, becouse it's almost impossible to track 
bugs reported against cvs version of package (read http://www.gentoo.org/proj/
en/devrel/handbook/handbook.xml?part=3&chap=1 if you want to know more).
i'm closing this bug as WONTFIX, couse i will not add this to tree. if you want 
to use it, than forum is propably better place for discussion
Comment 19 hermes_jr 2006-06-07 20:12:47 UTC
Is there some way to fetch *yesterday's* snapshot? Because when you use the current date's snapshot it may happen like it is not actually there yet and `emerge amule-cvs` just fails...