aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule su gentoo  (Read 5532 times)

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
amule su gentoo
« on: January 13, 2004, 01:36:52 PM »

bonjour, ho appena installato gentoo ... e non ho la minima idea su come si installino i programmi  8o

per far partire amule che devo fare? ho scaricato il tar.gz, ma pare che non ci sia wxGtk, andando sul sito wxwindows trovo solo rpm e 1 tar.gz ma generale [non wxbase e wxdel] ... che aggia fà? qualcuno ha dritte?
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: amule su gentoo
« Reply #1 on: January 13, 2004, 03:22:18 PM »

man emerge


ma come diavolo hai fatto a installare gentoo e non sapere come si installano i programmi?!?


forse sarebbe il caso di passare a un'altra distro...
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: amule su gentoo
« Reply #2 on: January 13, 2004, 04:31:30 PM »

se uno non prova, non impara mai ... ;)

comunque non chiedevo il manuale ... volevo sapere che wx debbo installare, visto che quelle consigliate sono rpm per suse-rh
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: amule su gentoo
« Reply #3 on: January 13, 2004, 07:48:43 PM »

ah

beh, con
Code: [Select]
ACCEPT_KEYWORDS="~x86" emerge amule scarica e installa tutte le librerie necessarie

NB. inserisci nelle use -gtk2 prima di provare (oppure deselezione la casella gtk2 con ufed)
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: amule su gentoo
« Reply #4 on: January 13, 2004, 07:55:35 PM »

la versione corrente nel portage è la 1.2.3

se vuoi l'ultima puoi usare il mio ebuild (amule-1.2.4.ebuild)

Code: [Select]
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
 
MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}
 
DESCRIPTION="aNOTHER wxWindows based eMule P2P Client"
HOMEPAGE="http://sourceforge.net/projects/amule"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
 
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
 
IUSE=""
 
DEPEND=">=x11-libs/wxGTK-2.4.1
        >=sys-libs/zlib-1.2.1"
 
pkg_setup() {
        # FIXME: Is this really how we want to do this ?
        GREP=`grep ' unicode' /var/db/pkg/x11-libs/wxGTK*/USE`
        if [ "${GREP}" != "" ]; then
                eerror "This package doesn't work with wxGTK"
                eerror "compiled with gtk2 and unicode in USE"
                eerror "Please re-compile wxGTK with -unicode"
                die "aborting..."
        fi
}
 
src_compile () {
        unset CFLAGS CXXFLAGS
        ./configure --disable-debug --enable-optimise --disable-amulecmd || die
        MAKEOPTS="${MAKEOPTS} -j1" emake || die
}
 
src_install () {
        einstall || die
}

usa
Code: [Select]
ebuild amule-1.2.4.ebuild digest dopo aver copiato i sorgenti in /usr/portage/distfiles e l'ebuild in /usr/portage/net-p2p/amule, poi procedi con l'installazione normale
se non vuoi che venga cancellato al prossimo sync, devi creare il tuo local portage... per questo ti rinvio alla documentazione gentoo
« Last Edit: January 13, 2004, 07:56:40 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: amule su gentoo
« Reply #5 on: January 14, 2004, 08:12:04 PM »

8o  grazie mille!!
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità