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:
Created attachment 55546 [details] amule-cvs ebuild
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
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
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.
The directory name must of match the ebuild name, it should be 'net-p2p/amule-cvs' rather than 'net-p2p/amule'.
Well, whatever the issue was, it was fixed by recreating my portage overlay directory for amule-cvs...
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
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
BTW, aMule does not require Curl any more, so you can remove it from the dependency list.
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?
The ebuild needs a "--enable-utf8-systray" in the ebuild then I suppose if using unicode USE-flag
--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
[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?
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).
Created attachment 61773 [details] amule-cvs ebuild FINAL The correct way to do it!!!
Comment on attachment 61773 [details] amule-cvs ebuild FINAL Includes Init scripts for amuled and amuleweb.
Created attachment 64762 [details] Current aMule CVS with KAD support Current amule-cvs ebuild with KAD support. Requires wxGTK 2.6 or greater.
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
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...