aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: aMule SVN ebuild  (Read 9495 times)

Dominique

  • Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 23
  • Ask me!
Re: aMule SVN ebuild
« Reply #15 on: October 19, 2011, 09:46:06 PM »

I could not wait. The attached patch work for me with portage.
Logged

Dominique

  • Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 23
  • Ask me!
Re: aMule SVN ebuild
« Reply #16 on: October 20, 2011, 06:44:04 PM »

I get an answer from genome, a retired dev:
Quote
The proper solution would be to add a configure switch for it that the ebuild/specfile/whatever can enable/disable, not trying to detect it automatically. This type of auto-detection is generally rather fragile and disliked by package maintainers. A switch is much more reliable and can be used by everyone.

I thing he has right because anyone and any package manager can use it, and also because it will be much less maintenance in the long run (due to the fragility of the test and the possible necessity/will to add other package managers)

In consequence, I will let the ebuild like it is in the wiki for now. It work with the 10645 svn revision, and this is fine for me. Thank you for the good work on amule.
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: aMule SVN ebuild
« Reply #17 on: October 22, 2011, 01:39:35 AM »

I can take a look at this on Sunday. As every Distro now has new enough KDE, the helper apps shouldn't be needed anymore, so the test and detection of the two apps can be dropped at all.
Logged
Homefucking is killing prostitution

Dominique

  • Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 23
  • Ask me!
Re: aMule SVN ebuild
« Reply #18 on: November 13, 2011, 12:01:47 PM »

Thank you,

I reversed the cjange into the ebuild as it is not needed anymore.
Logged

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: aMule SVN ebuild
« Reply #19 on: February 14, 2012, 11:04:32 PM »

It look like the wiki Requirements page is a little but outdated. http://wiki.amule.org/index.php/Requirements#Required  It is no mention of plasma.

Regarding the ebuild, it look like I put a wrong plasma dependencies, which can explain some problems with it: plasma ? kde-base/kdelibs
And this is for kde3.

Do you know which plasma package is needed by amule? On gentoo, I found the followings:
Code: [Select]
kdeplasma-addons
libplasmaclock
libplasmagenericshell
plasma-apps
plasma-runtime
plasma-workspace
Logged

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: aMule SVN ebuild
« Reply #20 on: February 14, 2012, 11:11:28 PM »

Oops, I am wrong. The kdelibs package exist for kde4 too. But it is no plasma use flag for it.
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: aMule SVN ebuild
« Reply #21 on: February 17, 2012, 11:27:51 AM »

Intressting, as plasma came with kde4. kde3 can'thandle this. plasma-runtime should be enough (guessed by the name). MAybe the deps of plasma-apps or libplasmaclock give you a hint.
Logged
Homefucking is killing prostitution

libre

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 52
Re: aMule SVN ebuild
« Reply #22 on: May 04, 2012, 07:40:10 PM »

Due to a bad hard disk, I am on a new system. OK, no kde and portage tell me to install kdebase-meta or kdebase-startkde. Installing the second one.

Also, a problem with the ebuild. The plasma stuff need "inherit kde4-base" which in turn need EAPI="3". With that setting, emerge want to compile in some ../kde_build directory and it doesn't find it. Normal, amule is not a kde software. I added a src_compile() section into the ebuild and it work fine.

The wiki is updated. The joined file contain my current ebuild.
Logged
Pages: 1 [2]