View previous topic :: View next topic |
Author |
Message |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Fri Jun 17, 2005 9:10 pm Post subject: Installare aMule-Adunanza |
|
|
sto installando l'amule con la patch adunanza, ho scaricato l'ebuild ma:
Code: | # ebuild amule-2.0.0_rc8.ebuild digest
: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets
!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets
!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
doebuild(): aux_get() error reading net-p2p/amule-2.0.0_rc8; aborting. |
consigli?
ecco l'ebuild:
Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.0.0_rc8.ebuild,v 1.1 2004/26/12 17:30:55 unzsnu Exp $
inherit eutils wxwidgets
MY_P=${P/m/M}
MY_P=${MY_P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
http://amuleadu.altervista.org/amule-adunanza-2.0.0rc8-1.diff.gz
http://unzsnu.altervista.org/amule-2.0.0rc8-icons.patch.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gtk2 nls remote stats unicode gd"
DEPEND="gtk2? ( >=x11-libs/wxGTK-2.5.3 )
!gtk2? ( >=x11-libs/wxGTK-2.4.2-r2 )
>=net-misc/curl-7.11.0
>=sys-libs/zlib-1.2.1
stats? ( >=media-libs/gd-2.0.26 )
gd? ( >=media-libs/gd-2.0.26 )
!net-p2p/xmule"
pkg_setup() {
if ! use gtk2 >& /dev/null ; then
need-wxwidgets gtk || die "gtk version of x11-libs/wxGTK not found"
elif use unicode >& /dev/null ; then
export WX_GTK_VER="2.5"
need-wxwidgets unicode || die "You need to emerge unicoded wxGTK with USE='gtk2 unicode'"
else
export WX_GTK_VER="2.5"
need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'"
fi
}
src_unpack() { einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
unpack ${A}
cd ${S}
ewarn "Provo ad applicare le patches Adu e Icone"
epatch ${WORKDIR}/amule-adunanza-2.0.0rc8-1.diff || die "Patch ADU non applicata"
einfo "Patch Adunanza applicata"
ewarn "Sto per applicare la patch icone, se perde colpi non preoccupatevi"
ewarn "è stata studiata per la r7. Non inficia amule in alcun modo "
patch -p1 < ${WORKDIR}/amule-2.0.0rc8-icons.patch
einfo "Patch icone Gnome applicata"
}
src_compile() {
if use gtk2 >& /dev/null && use remote >& /dev/null ; then
EXTRA_ECONF="--enable-amule-daemon"
fi
econf \
--disable-optimise \
--with-wx-config=${WX_CONFIG} \
--with-wxbase-config=${WX_CONFIG} \
`use_enable nls` \
`use_enable remote amulecmd` \
`use_enable remote amulecmdgui` \
`use_enable remote webserver` \
`use_enable remote webservergui` \
`use_enable stats cas` \
`use_enable stats wxcas` \
`use_enable stats alc` \
`use_enable stats alcc` \
`use_enable debug` \
|| die
emake -j1 || die
}
src_install() {
make DESTDIR=${D} install || die
} |
Last edited by ---willy--- on Thu Jul 07, 2005 11:13 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/153132303341ff8ed676c0e.jpg)
Joined: 29 Nov 2004 Posts: 525
|
Posted: Fri Jun 17, 2005 9:14 pm Post subject: |
|
|
Io ti consiglierei di passare ad una versione più aggiornata di amule
Comunque il digest lo fai indicando l'ebuild con tutto il path e lanciando il comando fuori dalla directory dell'ebuild stesso |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Fri Jun 17, 2005 9:19 pm Post subject: |
|
|
ma di ebuild con la patch adunanza ho trovato solo questo. c'è qualcosa di + aggiornato o lo devo fare a manina? perchè io sono solo di passaggio a casa di amici miei (a milano) che hanno fastweb, quindi non varrebbe la pena... lo faccio solo perchè mi piange il cuore con fastweb scaricare così lentamente!! ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Fri Jun 17, 2005 9:20 pm Post subject: |
|
|
cmq ho provato come dici tu ma mi da lo stesso errore....![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/153132303341ff8ed676c0e.jpg)
Joined: 29 Nov 2004 Posts: 525
|
Posted: Fri Jun 17, 2005 9:30 pm Post subject: |
|
|
Il problema è che se hai il portage aggiornato (ovvero è già presenta amule >=2.0.1) hanno cambiato molte cose per le wxGTK. L'ebuild che stai tentando di usare (che non è ufficiale) penso si affidi ad una struttura precedente di portage (in particolare le eclass).
Per eseguire il digest, ad esempio dalla root dell'amministratore:
Code: | # ebuild /path/to/ebuild/foobar.ebuild digest |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Fri Jun 17, 2005 9:35 pm Post subject: |
|
|
fabius wrote: | Per eseguire il digest, ad esempio dalla root dell'amministratore:
Code: | # ebuild /path/to/ebuild/foobar.ebuild digest |
|
questo l'ho fatto, ma niente, quindi il problema credo sia quello che hai detto, visto che aggiorno il sistema quasi giornalmente. quindi cosa posso fare? quasi quasi scarico direttamente il tarball degli ultimi sorgenti. sai com'è, cerco sempre di usare portage
1 altra cosa: ed è possibile avere installata una versione di amule senza patch ed una con la patch??
ehi, cmq Grazie 1000 eh! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/153132303341ff8ed676c0e.jpg)
Joined: 29 Nov 2004 Posts: 525
|
Posted: Fri Jun 17, 2005 9:47 pm Post subject: |
|
|
---willy--- wrote: | 1 altra cosa: ed è possibile avere installata una versione di amule senza patch ed una con la patch? |
Per ottenere una cosa del genere l'ebuild dovrebbe essere slottato, ma quello di amule non lo prevede nativamente: prova a giocare con l'ebuild ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Sun Jun 19, 2005 2:12 am Post subject: |
|
|
ho scaricato l'ebuild aggiornato da qui, ma quando dò emerge amule si blocca dando:
Code: | .......
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: error: cannot find input file: intl/Makefile.in
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/amule-2.0.1/work/aMule-2.0.1/config.log
!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message. |
qualcuno mi aiuta? è possibile che non riesco ad installare amule adunanza?? ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CarloJekko Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/17829012804368ad2e5dc22.jpg)
Joined: 31 Mar 2005 Posts: 1315 Location: Baia Domizia :-)
|
Posted: Sun Jun 19, 2005 9:56 am Post subject: |
|
|
se non sbaglio richiede le wxgtk 2.5.1 che sono mascherate _________________ C. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Sun Jun 19, 2005 11:26 am Post subject: |
|
|
Code: | ~ $ emerge -s wxgtk
Searching...
[ Results for search key : wxgtk ]
[ Applications found : 1 ]
* x11-libs/wxGTK
Latest version available: 2.6.0-r1
Latest version installed: 2.6.0-r1
Size of downloaded files: 14,126 kB
Homepage: http://www.wxwindows.org
Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and wxbase non-gui library
License: wxWinLL-3 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oleo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/781981428423a92bcb1f8c.gif)
Joined: 09 Nov 2004 Posts: 117
|
Posted: Wed Jul 06, 2005 11:38 pm Post subject: |
|
|
---willy--- wrote: | Code: |
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/amule-2.0.1/work/aMule-2.0.1/config.log
!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message. |
|
Anche io ho lo stesso problema!!! Nessuna idea su come risolverlo? Ho le wxGTK 2.6.0-r1, gtk+ 2.6.8. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 7:59 am Post subject: |
|
|
fermo là, te lo do io l'ebuild ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 8:04 am Post subject: |
|
|
Code: |
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit eutils wxwidgets
MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}
DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
http://amuleadu.altervista.org/files/amule-adunanza-2.0.2-1.patch.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="amuled gtk2 nls remote stats unicode"
DEPEND=">=x11-libs/wxGTK-2.6.0
>=net-misc/curl-7.11.0
>=sys-libs/zlib-1.2.1
dev-util/cvs
stats? ( >=media-libs/gd-2.0.26 )
remote? ( >=media-libs/libpng-1.2.0 )
!net-p2p/xmule"
pkg_setup() {
export WX_GTK_VER="2.6"
if ! use gtk2; then
need-wxwidgets gtk
elif use unicode; then
need-wxwidgets unicode
else
need-wxwidgets gtk2
fi
}
src_unpack() {
einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
unpack ${A}
cd ${S}
ewarn "Provo ad applicare la patch Adu"
patch -p0 < ${WORKDIR}/amule-adunanza-2.0.2-1.patch || die "Patch Adunanza non applicata"
einfo "Patch Adunanza applicata"
}
src_compile() {
if use amuled; then
EXTRA_ECONF="--enable-amule-daemon --enable-amule-gui"
fi
./autogen.sh
econf \
--enable-debug \
--disable-optimise \
--with-wx-config=${WX_CONFIG} \
--with-wxbase-config=${WX_CONFIG} \
`use_enable nls` \
`use_enable remote amulecmd` \
`use_enable remote amulecmdgui` \
`use_enable remote webserver` \
`use_enable remote webservergui` \
`use_enable stats cas` \
`use_enable stats wxcas` \
`use_enable stats alc` \
`use_enable stats alcc` \
|| die
emake -j1 || die
}
src_install() {
make DESTDIR=${D} install || die
if use amuled || use amuleweb; then
if ! id p2p >/dev/null; then
enewgroup p2p
enewuser p2p -1 /bin/false /home/p2p p2p
fi
fi
if use amuled; then
insinto /etc/conf.d; newins ${FILESDIR}/amuled.confd amuled
exeinto /etc/init.d; newexe ${FILESDIR}/amuled.initd amuled
fi
if use amuleweb; then
insinto /etc/conf.d; newins ${FILESDIR}/amuleweb.confd amuleweb
exeinto /etc/init.d; newexe ${FILESDIR}/amuleweb.initd amuleweb
fi
}
|
con questo sei a posto
EDIT: ehi, fammi sapere se hai problemi! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oleo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/781981428423a92bcb1f8c.gif)
Joined: 09 Nov 2004 Posts: 117
|
Posted: Thu Jul 07, 2005 9:11 am Post subject: |
|
|
WOW! Thanks! Mi ha fregato una dipendenza CVS del cavolo!!! ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 9:18 am Post subject: |
|
|
oleo wrote: | WOW! Thanks! Mi ha fregato una dipendenza CVS del cavolo!!! ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
eh si in più se noti in questo e-build il link è per la patch 2.0.2 ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
otaku Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/94458518843d149036f14a.jpg)
Joined: 16 Dec 2004 Posts: 428 Location: Rho (MI)
|
Posted: Thu Jul 07, 2005 9:56 am Post subject: |
|
|
modificando queste parti dell'ebuild in questa maniera:
Code: | SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
http://amuleadu.altervista.org/files/${PN}-adunanza-${PV}-${PR:1}.patch.gz"
src_unpack() {
unpack ${A}
cd ${S}
epatch ../${PN}-adunanza-${PV}-${PR:1}.patch
} |
si ottiene un ebuild che scarica la versione più recente della patch adunanza... andrebbe salvato come amule-2.0.3-r1.ebuild, e compila amile 2.0.3 con la prima release della patch (: _________________ Ventiquattr'ore al giorno in preda a una follia contorta... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 10:10 am Post subject: |
|
|
oops...non sapevo fosse uscita la 2.0.3....altrimenti avrei postato l'ebuild aggiornato ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Thu Jul 07, 2005 11:02 am Post subject: |
|
|
@---willy---: Per favore mettiamo titoli un poco più chiari ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 11:11 am Post subject: |
|
|
@gutter: hai ragione gutter, ma il titolo l'ho messo quando ho aperto il topic (non proprio in questi giorni) , ed era corretto. a metà discussione si è cominciato ad andare OT....
cmq ora lo cambio in qualcosa che possa essere più facile da trovare per chi volesse installare amule con la patch adunanza ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jikko Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/56152753441f643d77fe25.png)
Joined: 17 Nov 2004 Posts: 192 Location: Pioltello Milano Italy
|
Posted: Thu Jul 07, 2005 1:00 pm Post subject: |
|
|
graz willy _________________ ...Bill nostro che non sei nei cieli e non capisci il perche', e questa cosa ti sta sull ca@@o da morire, dacci oggi il nostro chip quotidiano...
(Luciano Ligabue, baby e' un mondo super) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
---willy--- Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7847561004284ae204079e.gif)
Joined: 06 Mar 2005 Posts: 195
|
Posted: Thu Jul 07, 2005 1:26 pm Post subject: |
|
|
nada |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Jul 07, 2005 6:44 pm Post subject: |
|
|
---willy--- wrote: | per chi volesse installare amule con la patch adunanza ![Wink ;)](images/smiles/icon_wink.gif) |
scusa l'ignoranza... io uso amule tramite i server adunanza e nn ho mai avuto problemi di nessun tipo... che modifiche apporta questa famosa patch ? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
federico Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/7500266904000406eae42f.jpg)
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
unz l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2030686309479fb518c8476.jpg)
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Thu Jul 07, 2005 7:00 pm Post subject: |
|
|
mettila e te ne accorgerai ... si vola
ebuild per l'ultima versione [2.0.3] ... ma penso che a breve arriverà una 2.0.4 in quanto la versione per windows ha implementato altra roba
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit eutils wxwidgets
MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}
DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
http://amuleadu.altervista.org/files/amule-adunanza-2.0.3-1.patch.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="amuled gtk2 nls remote stats unicode"
DEPEND=">=x11-libs/wxGTK-2.6.0
>=net-misc/curl-7.11.0
>=sys-libs/zlib-1.2.1
dev-util/cvs
stats? ( >=media-libs/gd-2.0.26 )
remote? ( >=media-libs/libpng-1.2.0 )
!net-p2p/xmule"
pkg_setup() {
export WX_GTK_VER="2.6"
if ! use gtk2; then
need-wxwidgets gtk
elif use unicode; then
need-wxwidgets unicode
else
need-wxwidgets gtk2
fi
}
src_unpack() {
einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
unpack ${A}
cd ${S}
ewarn "Provo ad applicare la patch Adu"
patch -p0 < ${WORKDIR}/amule-adunanza-2.0.3-1.patch || die "Patch Adunanza non applicata"
einfo "Patch Adunanza applicata"
}
src_compile() {
if use amuled; then
EXTRA_ECONF="--enable-amule-daemon --enable-amule-gui"
fi
./autogen.sh
econf \
--enable-debug \
--disable-optimise \
--with-wx-config=${WX_CONFIG} \
--with-wxbase-config=${WX_CONFIG} \
`use_enable nls` \
`use_enable remote amulecmd` \
`use_enable remote amulecmdgui` \
`use_enable remote webserver` \
`use_enable remote webservergui` \
`use_enable stats cas` \
`use_enable stats wxcas` \
`use_enable stats alc` \
`use_enable stats alcc` \
|| die
emake -j1 || die
}
src_install() {
make DESTDIR=${D} install || die
if use amuled || use amuleweb; then
if ! id p2p >/dev/null; then
enewgroup p2p
enewuser p2p -1 /bin/false /home/p2p p2p
fi
fi
if use amuled; then
insinto /etc/conf.d; newins ${FILESDIR}/amuled.confd amuled
exeinto /etc/init.d; newexe ${FILESDIR}/amuled.initd amuled
fi
if use amuleweb; then
insinto /etc/conf.d; newins ${FILESDIR}/amuleweb.confd amuleweb
exeinto /etc/init.d; newexe ${FILESDIR}/amuleweb.initd amuleweb
fi
}
|
_________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Last edited by unz on Fri Jul 08, 2005 7:57 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
federico Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/7500266904000406eae42f.jpg)
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
Posted: Thu Jul 07, 2005 7:06 pm Post subject: |
|
|
E come fa a velocizzare? E per "si vola" cosa intendi, che raggiungo sopra i 700 per dire?
Allo stato attuale, di come uso amule (quando sono disperato) non ho mai visti tipo piu' di un 17, o qualcosa del genere... _________________ Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|