Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

Installare aMule-Adunanza

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
312 posts
  • Page 3 of 13
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 13
  • Next
Author
Message
Truzzone
Guru
Guru
User avatar
Posts: 492
Joined: Thu Oct 16, 2003 6:29 pm
Location: Italy

  • Quote

Post by Truzzone » Thu Sep 01, 2005 4:53 pm

Devi metterlo in

Code: Select all

/usr/local/portage/net-p2p/amule-cvs/
controllare in /etc/make.conf

Code: Select all

PORTDIR_OVERLAY="/usr/local/portage"
ed infine:

Code: Select all

touch /usr/local/portage/net-p2p/amule-cvs/amule-cvs-2.ebuild
ebuild /usr/local/portage/net-p2p/amule-cvs/amule-cvs-2.ebuild digest
emerge -pv amule-cvs

Ciao by Truzzone :D
Top
otaku
Guru
Guru
User avatar
Posts: 428
Joined: Thu Dec 16, 2004 12:14 pm
Location: Rho (MI)
Contact:
Contact otaku
Website

  • Quote

Post by otaku » Thu Sep 01, 2005 7:23 pm

jikko wrote:

Code: Select all

guts ~ # ebuild /home/jikko/a digest
scusa ma dove hai salvato l'ebuild?
Ventiquattr'ore al giorno in preda a una follia contorta...
Top
jikko
Apprentice
Apprentice
User avatar
Posts: 192
Joined: Wed Nov 17, 2004 1:19 pm
Location: Pioltello Milano Italy

  • Quote

Post by jikko » Fri Sep 02, 2005 3:23 pm

otaku wrote:scusa ma dove hai salvato l'ebuild?
ok confesso, non mi sono mai letto la documentazione su come usare ebuild non in portage, la leggo e ci ri-provo questa sera, mea culpa :)
...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)
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

aMule-CVS 404: file not found

  • Quote

Post by magowiz » Thu Sep 08, 2005 2:33 pm

Ho provato oggi a scaricare l'ebuild e a farne il digest ma :

Code: Select all

travelmate amule-cvs # ebuild amule-cvs-2.ebuild digest
>>> Downloading http://www.hirnriss.net/files/cvs/aMule-CVS-20050727.tar.bz2
--16:26:42--  http://www.hirnriss.net/files/cvs/aMule-CVS-20050727.tar.bz2
           => `/usr/portage/distfiles/aMule-CVS-20050727.tar.bz2'
Resolving www.hirnriss.net... 83.236.150.51
Connecting to www.hirnriss.net[83.236.150.51]:80... connected.
HTTP richiesta inviata, aspetto la risposta... 404 Not Found
16:26:43 ERRORE 404: Not Found.

No digest file available and download failed.

!!! Couldn't download aMule-CVS-20050727.tar.bz2. Aborting.
come faccio a recuperare quel sorgente?

Mi è sembrato di leggere sul sito ufficiale di amule che i sorgenti cvs vengono rimossi dopo 30gg.

Si sa se la patch in questione è compatibile anche con altre versioni più recenti del cvs?
Top
unz
l33t
l33t
User avatar
Posts: 819
Joined: Wed Jul 28, 2004 12:19 am
Location: Roma, Italia

  • Quote

Post by unz » Thu Sep 08, 2005 2:53 pm

copia questo nell'ebuild
#MY_P=${P/m/M}
S=${WORKDIR}/${PN}
#DATE=$(date +%Y%m%d)
DATE=20050727
la patch funziona certamente con quel cvs, non è detto funzioni con la versione odierna
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Thu Sep 08, 2005 5:55 pm

copia questo nell'ebuild:

Code: Select all

#MY_P=${P/m/M}
S=${WORKDIR}/${PN}
#DATE=$(date +%Y%m%d)
DATE=20050727
credo di avere già queste righe nell'ebuild infatti il primo pezzo è :

Code: Select all

inherit eutils wxwidgets

#MY_P=${P/m/M}
S=${WORKDIR}/${PN}
#DATE=$(date +%Y%m%d)
DATE=20050727
...
ho scaricato l'ebuild presente su amuleadu.altervista.org .

Non è che posso scaricare da qualche altra parte quel sorgente cvs del 27/07/2005 e metterlo in distfiles?

Qualcuno ce l'ha ancora?
Top
Truzzone
Guru
Guru
User avatar
Posts: 492
Joined: Thu Oct 16, 2003 6:29 pm
Location: Italy

  • Quote

Post by Truzzone » Thu Sep 08, 2005 6:11 pm

Di solito tengo quelli vecchi ma purtroppo gli ho cancellati l'altro giorno :(

Prova con l'ultimo :?

Ciao by Truzzone :)
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Thu Sep 08, 2005 6:31 pm

niente da fare, ho provato sia con l'ultimo : 20050908
che con il più vecchio disponibile : 20050807

ma con nessuno dei due funziona la patch :(
Top
Gitanovic
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Wed Feb 18, 2004 9:15 pm
Location: Italy

  • Quote

Post by Gitanovic » Fri Nov 04, 2005 4:52 pm

Scusate... qualcuno sa dove trovare la patch per la versione cvs di amule.
Il link mi rimanda alla pagina iniziale di altervista
Gipsy
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Fri Nov 04, 2005 4:56 pm

qua http://www.adunanza.net/download.php?view.36
Top
Gitanovic
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Wed Feb 18, 2004 9:15 pm
Location: Italy

  • Quote

Post by Gitanovic » Fri Nov 04, 2005 5:03 pm

Grazie per la risposta fulminea, e scusate se stresso... :D
esiste per caso un ebuild che installa la versione cvs già patchata?
Gipsy
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Fri Nov 04, 2005 5:09 pm

esisteva sul sito amuleadu.altervista.org (ma se tu mi dici che ha chiuso....) e l'avevo vista anche su questo forum, naturalmente era però di una versione vecchia, bisogna riadattarla cambiando le date e conseguentemente i nomi di file in ballo.
Top
Gitanovic
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Wed Feb 18, 2004 9:15 pm
Location: Italy

  • Quote

Post by Gitanovic » Fri Nov 04, 2005 5:14 pm

grazie di nuovo...
No quel sito non ha chiuso, è solo il link http://amuleadu.altervista.org/files/amule-cvs-2.ebuild a non funzionare.
Comunque continuo a cercarlo lì ;)
Gipsy
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Fri Nov 04, 2005 9:00 pm

installato giusto ieri con l'ultima patch disponibile e uno dei più recenti night-ebuild

l'ebuild è la seguente:

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit eutils wxwidgets

S=${WORKDIR}/${PN}
DATE=20051103

DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://www.hirnriss.net/files/cvs/aMule-CVS-${DATE}.tar.bz2
        http://amuleadu.altervista.org/files/amule-adunanza-2.0.3_cvs${DATE}-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
        stats? ( >=media-libs/gd-2.0.26 )
        remote? ( >=media-libs/libpng-1.2.0 )
        dev-util/cvs
        !net-p2p/xmule
        !net-p2p/amule"

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+kAdu"
        patch -p0 < ${WORKDIR}/amule-adunanza-2.0.3_cvs${DATE}-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-kad-compile \
                --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
}
amule cvs sono disponibili su questa pagina: http://www.hirnriss.net/?area=cvs
ma ricordate che vengono tolti dopo 30 giorni.
le patch sono recuperabili dal sito di adunanza.net
metto a disposizione l'ultima così potete scaricarvela direttamente in distfiles:
http://www.smartart.it/works/varie/amul ... 1.patch.gz
sappiate che spesso nn basta solo cambiare il campo DATE nell'ebuild all'uscita della nuova patch, ma spesso ho notato dei mistyping nel nome del file.

buona compilazione a tutti
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Sat Nov 05, 2005 12:29 am

che dire ? grazie Peach ! :wink:
Top
flocchini
Veteran
Veteran
User avatar
Posts: 1124
Joined: Sat May 17, 2003 2:32 am
Location: Milano, Italy

  • Quote

Post by flocchini » Sat Nov 05, 2005 2:38 am

grande peach :wink: pero' c'e' un errorino, la tua patch non e' gzippata, per compilare occorre gzipparla e rifare il digest. Non so se sia cosi' anche sul sito di riferimento preche' non riesco ad accedervi, in ogni caso non e' un gran problema
~~ Per amore della rosa si sopportano le spine... ~~
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Sat Nov 05, 2005 10:21 am

flocchini wrote:grande peach :wink: pero' c'e' un errorino, la tua patch non e' gzippata, per compilare occorre gzipparla e rifare il digest. Non so se sia cosi' anche sul sito di riferimento preche' non riesco ad accedervi, in ogni caso non e' un gran problema
a me sembra gzippata ed è prelevata paro paro dai miei distfiles... :?
cmq si, mi sn dimenticato: occorre mettere l'ebuild nell'overlay e risponde alla categoria (chiaramente) net-p2p/amule-cvs, una volta fatto digeritela ed emergetela... :) ci saranno chili di post su come fare questa operazione...
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
flocchini
Veteran
Veteran
User avatar
Posts: 1124
Joined: Sat May 17, 2003 2:32 am
Location: Milano, Italy

  • Quote

Post by flocchini » Sat Nov 05, 2005 11:45 am

giuro che se copio quella che scarico dal tuo sito nei miei distfiles l'ebuild mi da' errore sostenendo che non riesce a unzipparla... E anche opera la legge tranquillamente come fosse un plaintext cliccandoci sopra... Mistero :oops:
~~ Per amore della rosa si sopportano le spine... ~~
Top
shogun_panda
Guru
Guru
User avatar
Posts: 411
Joined: Fri Jul 30, 2004 11:47 am
Location: Campobasso or Rome, Molise or Lazio, Italy, Europe, Earth, Solar system, Milk Way, Universe
Contact:
Contact shogun_panda
Website

  • Quote

Post by shogun_panda » Sat Nov 05, 2005 11:10 pm

Scusate ma...

Code: Select all

patch -p0 < ${WORKDIR}/amule-adunanza-2.0.3_cvs${DATE}-1.patch || die "Patch Adunanza non applicata" 
non sarebbe usare il comando epatch fornito da ebuild? Cosicchè è portage a occuparsi di applicare la patch, di uscire in caso di errore e di gestire automaticamente l'eventuale compressione...
Greetings by the Shogun! - Home page

1-"Prima di dare consigli agli altri, sperimentateli su voi stessi..."
2-"In medio stat virtus!"
Top
Ilvalle
Guru
Guru
User avatar
Posts: 325
Joined: Mon Mar 07, 2005 1:06 pm
Location: Gallarate - ITALY
Contact:
Contact Ilvalle
Website

  • Quote

Post by Ilvalle » Mon Nov 07, 2005 9:04 pm

Ciao,
insomma la dipendenza di X è d'obbligo a quanto pare!

Code: Select all

ada~# emerge amule-cvs
...
...
...
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/lib/wx/config/gtk-ansi-release-2.6 not found
!!! set-wxconfig:         /usr/lib/wx/config/gtk-ansi-debug-2.6 not found
!!! You need to emerge wxGTK with wxgtk1 in your USE
E' possibile installarlo senza utilizzare X?
con amule e le flags corrette ero riuscito

Code: Select all

ada ~ # emerge -pv amule
[ebuild  N    ] net-p2p/amule-2.0.3-r4  +amuled -debug -gtk -nls +remote -stats -unicode 0 kB 
Paolo
Top
codadilupo
Advocate
Advocate
Posts: 3135
Joined: Tue Aug 05, 2003 8:48 am

  • Quote

Post by codadilupo » Mon Nov 07, 2005 9:26 pm

devi mettere wxgtk1 -unicode -gtk2 -gtk

Coda
Top
Ilvalle
Guru
Guru
User avatar
Posts: 325
Joined: Mon Mar 07, 2005 1:06 pm
Location: Gallarate - ITALY
Contact:
Contact Ilvalle
Website

  • Quote

Post by Ilvalle » Mon Nov 07, 2005 10:46 pm

Code: Select all

ada ~ # cat /etc/portage/package.use 
net-p2p/amule  -gtk remote -gtk2 amuled
x11-libs/wxGTK nls -sdl -gtk2 -gtk -wxgtk1 -unicode
net-misc/openvpn threads
net-fs/samba -cups quotas winbind xml xml2 tcpd syslog
net-p2p/amule-cvs -gtk -gtk2 amuled remote -wxgtk1 -unicode
Non capisco cosa intendesse coda.
Inserire le flags nel ebuil di amuled o ricompilare wxGTK con le flags segnalate.
Comunque le wxGTK le ho compilate cosi.

Code: Select all

ada ~ # emerge  -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.6.1  -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl -unicode -wxgtk1 0 kB

Paolo
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Sat Nov 12, 2005 3:24 pm

allora ho fatto delle prove e ho modificato l'ebuild di amule-cvs
ora io nn sono riuscito ad installare correttamente le wxGTK-2.6.1 e le wxGTK-2.6.2 danno errore perchè l'ebuild è buggosa quindi ho optato per crearmi una nuova ebuild per le wxGTK-2.6.2 (-r1) con le modifiche appropriate e poi sopra ci ho installato amule-cvs con le ultime modifiche. Tutto ha funzionato a perfezione, tenete presente che ho testato solo la compilazione ma non gli eseguibili, quindi se lo testate con diverse combinazioni di flag riportate qui i risultati che al massimo si sistema il tutto.
ora io ho impostato

Code: Select all

PORTDIR_OVERLAY="/usr/local/portage"
quindi sostituite PORTDIR_OVERLAY di conseguenza

wxGTK-2.6.2-r1.ebuild
{$PORTDIR_OVERLAY}/x11-libs/wxGTK/wxGTK-2.6.2-r1.ebuild

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.6.2.ebuild,v 1.2 2005/10/15 19:35:30 eradicator Exp $

inherit wxlib gnuconfig

DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and
wxbase non-gui library"

SLOT="2.6"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="gnome joystick odbc opengl sdl X"
RDEPEND="${RDEPEND}
        opengl? ( virtual/opengl )
        X? (>=x11-libs/gtk+-2.0
        >=dev-libs/glib-2.0
        media-libs/tiff )
        odbc? ( dev-db/unixODBC )
        !mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )"

DEPEND="${RDEPEND}
        ${DEPEND}
        dev-util/pkgconfig"
S=${WORKDIR}/wxWidgets-${PV}

pkg_setup() {
        einfo "To install only wxbase (non-gui libs) use USE=-X"

}

src_compile() {
        gnuconfig_update
        myconf="${myconf}
                --with-png
                --with-jpeg
                --with-tiff
                $(use_enable opengl)
                $(use_with opengl)
                $(use_with gnome gnomeprint)
                $(use_with sdl)
                $(use_enable joystick)"

        use X && configure_build gtk2 unicode "${myconf} --with-gtk=2"
        use X || configure_build base unicode "--disable-gui"
}

src_install() {
        use X && install_build gtk2
        use X || install_build base

        wxlib_src_install
}

pkg_postinst() {
        einfo "dev-libs/wxbase has been removed from portage and can be"
        einfo "installed with wxGTK by specifying the USE flags"
        einfo "-X"
}
ed installato con le flag:

Code: Select all

# equery 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.2-r1 ]
 U I
 - - gnome    : Adds GNOME support
 - - joystick : Add support for joysticks in all packages
 - - odbc     : Adds ODBC Support (Open DataBase Connectivity)
 - - opengl   : Adds support for OpenGL
 - - sdl      : Adds support for Simple Direct Layer (media library)
 - - X        : Adds support for X11
 - - 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)
 - - odbc     : Adds ODBC Support (Open DataBase Connectivity)
 + + unicode  : Adds support for Unicode
amule-cvs-2.ebuild
{$PORTDIR_OVERLAY}/net-p2p/amule-cvs/amule-cvs-2.ebuild

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit eutils wxwidgets

S=${WORKDIR}/${PN}
DATE=20051103

DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://www.hirnriss.net/files/cvs/aMule-CVS-${DATE}.tar.bz2
        http://amuleadu.altervista.org/files/amule-adunanza-2.0.3_cvs${DATE}-1.patch.gz"

RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="amuled debug nls remote stats unicode gtk2"

DEPEND=">=x11-libs/wxGTK-2.6.0
        >=net-misc/curl-7.11.0
        >=sys-libs/zlib-1.2.1
        stats? ( >=media-libs/gd-2.0.26 )
        remote? ( >=media-libs/libpng-1.2.0 )
        dev-util/cvs
        !net-p2p/xmule
        !net-p2p/amule"

pkg_setup() {
        export WX_GTK_VER="2.6"
        if use unicode && use gtk2; then
                need-wxwidgets unicode
        elif use gtk2; then
                need-wxwidgets gtk
        elif use unicode; then
                need-wxwidgets base-unicode
        else
                need-wxwidgets base
        fi

        if ! use gtk2 && ! use remote && ! use amuled; then
                eerror "You have to specify at least on of gtk, remote and amuled"
                eerror "USE flag to build amule"
                die "Invalid USE flag set"
        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+kAdu"
        patch -p0 < ${WORKDIR}/amule-adunanza-2.0.3_cvs${DATE}-1.patch || die "Patch Adunanza non 
applicata"
        einfo "Patch Adunanza applicata"
}


src_compile() {
        local myconf

        if use gtk2; then
                myconf="--enable-amule-gui"
                use stats && myconf="${myconf}
                        --enable-wxcas
                        --enable-alc"
                use remote && myconf="${myconf}
                        --enable-amulecmdgui
                        --enable-webservergui"
        else
                myconf="--disable-monolithic"
        fi

         econf \
                --enable-kad-compile \
                --enable-debug \
                --disable-optimise \
                --with-wx-config=${WX_CONFIG} \
                --with-wxbase-config=${WX_CONFIG} \
                `use_with gtk2 x` \
                `use_enable amuled amule-daemon` \
                `use_enable debug` \
                `use_enable nls` \
                `use_enable remote amulecmd` \
                `use_enable remote webserver` \
                `use_enable stats cas` \
                `use_enable stats alcc` \
                ${myconf} \
                || die

        # we filter ssp until bug #74457 is closed to build on hardened
        if has_hardened; then
        filter-flags -fstack-protector -fstack-protector-all
        fi

        emake -j1 || die
}

src_install() {
        make DESTDIR=${D} install || die

        if use amuled || use remote; 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
}
installato con le seguenti flag:

Code: Select all

# equery uses amule-cvs
[ Searching for packages matching amule-cvs... ]
[ 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 net-p2p/amule-cvs-2 ]
 U I
 + + amuled  : <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
 + + nls     : <unknown>
 + + remote  : <unknown>
 - - stats   : <unknown>
 + + unicode : Adds support for Unicode
 - - gtk2    : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
Peach
Advocate
Advocate
User avatar
Posts: 3686
Joined: Sat Mar 08, 2003 9:00 pm
Location: London, UK
Contact:
Contact Peach
Website

  • Quote

Post by Peach » Sat Nov 12, 2005 4:02 pm

ho anche aggiornato il bug relativo alle dipendenze di wxGTK 2.6.2
http://bugs.gentoo.org/show_bug.cgi?id=109515

con la relativa ebuild.
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Top
Ilvalle
Guru
Guru
User avatar
Posts: 325
Joined: Mon Mar 07, 2005 1:06 pm
Location: Gallarate - ITALY
Contact:
Contact Ilvalle
Website

  • Quote

Post by Ilvalle » Sun Nov 13, 2005 7:38 pm

Ciao,
applicando le medesime flags, compilazione riuscita correttamende
Complimenti Peach!!!

Programma:
La patch funziona proprio alla grande appena partito scarico
subito a banda piena, unico problemi riscontrato le velocità sono
strane: il totale dei download in alto sulla sinistra mostra
Speed: Up: 19,7 | Down: 6,0

quando l'effettivo Download è 56...
upload è invece corretto!

Paolo
Top
Post Reply
  • Print view

312 posts
  • Page 3 of 13
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 13
  • Next

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic