Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aggiungere una patch ad un ebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Marck
n00b
n00b


Joined: 01 Nov 2005
Posts: 71

PostPosted: Thu Apr 01, 2010 10:18 pm    Post subject: Aggiungere una patch ad un ebuild Reply with quote

Ciao a tutti.
Avrei la necessita di aggiungere una patch a wine.
Ho visto che ci sono diverse discussioni ma sono parecchio vecchie...tipo del 2008.
A quanto ho capito ci sno 2 strade da seguire...
Si può modificare direttamente l'ebuild:
Code:

cd /usr/portage/app-emulation/wine
ebuild wine-0.9.39.ebuild clean
ebuild wine-0.9.39.ebuild unpack
cd /var/tmp/portage/app-emulation/wine-0.9.39/work/wine-0.9.39
patch -p1 < <path_to_patch>/patch1.diff
patch -p1 < <path_to_patch>/patch2.diff
cd -
ebuild wine-0.9.39.ebuild compile
ebuild wine-0.9.39.ebuild install
ebuild wine-0.9.39.ebuild qmerge
echo app-emulation/wine >> /etc/portage/package.mask


oppure tramite portage-bashrc-ng che non è più supportato T_T.
Mi sapreste indicare dove posso trovare una guida o delle direttive sulla procedura corretta?
grazie mille in anticipo :)
_________________
Haf 932 =>Ybris Eclipse+AirCubex3§Intel Q9400§Asus PW5 DH§Kingstone 4Gb§Palit GTX 260 216sp§Maxtor SATA120Gb§Corsair 620Hx
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Fri Apr 02, 2010 12:52 am    Post subject: Reply with quote

a mio avviso una strada semplice potrebbe essere impostare
Code:
PORTDIR_OVERLAY="$percorso"
in make.conf, copiare l'ebuild in
Code:
$percorso/categoria/pacchetto
modificarla ed emergere :)


P.S. di solito percorso=/usr/local/portage
cmq dare un'occhiata qui rende più l'idea
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum