View previous topic :: View next topic |
Author |
Message |
simo8491 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2007 Posts: 10
|
Posted: Wed Jun 13, 2007 5:03 pm Post subject: [Risolto] Creare "pacchetti" di software non in po |
|
|
Ciao a tutti, ho una nuova domanda da fare. Provenendo da debian ero abituato, nel caso in cui qualche software non fosse presente nei repositories, di compilarlo ma invece di istallare con la solita procedura make inastall creavo spesso dei pacchetti .deb. In questo modo infatti se poi il programma entrava nei repositories veniva automaticamente aggiornato.
Esiste anche in gentoo una procedura simile?
Grazie
Last edited by simo8491 on Sat Jun 16, 2007 4:50 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Onip Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14414636074b138f3ed54ce.png)
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Wed Jun 13, 2007 5:27 pm Post subject: |
|
|
certo, basta scriversi un ebuild e metterlo nel proprio overlay.
In questo modo verrà aggiunto al tuo portage locale e potrai emergerlo come tutti gli altri programmi. Eventualmente puoi anche proporre l'ebuild su bugzilla affinchè i dev lo inseriscano nel portage ufficiale.
Qui trovi una lista di overlay non ufficiali che contengono moltissimi ebuild contribuiti dagli utenti gentoo (non dagli sviluppatori).
Spero di essere stato abbastanza chiaro
EDIT: anche qui trovi altri overlay. _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
102376 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/21372398334880621e47e60.jpg)
Joined: 19 Mar 2005 Posts: 608
|
Posted: Wed Jun 13, 2007 5:47 pm Post subject: |
|
|
bhe per andare meglio ti consigliooltre a fare una ricerca super veloce nel overlay ufficiale
puoi usare la funzione update-eix-remote che ti sincronizza gli overlay sparsi per la rete
esempio
Code: | * net-im/amsn
Available versions: 0.95-r3 0.95-r4 0.96-r1
Homepage: http://www.amsn-project.net
Description: Alvaro's Messenger client for MSN
[I] net-im/amsn-svn
Available versions: 1.0[1] 1.0[3]
Installed versions: 1.0[/usr/portage/local/layman/zugaina](21:38:22 05/30/07)(-gnome kde -xmms)
Homepage: http://amsn.sourceforge.net
Description: Alvaro's Messenger client for MSN
* x11-themes/amsn-skins
Available versions: 0.95[3] 20040223 20061125
Homepage: http://amsn.sourceforge.net/
Description: Collection of AMSN themes
* x11-themes/lila-amsn [2]
Available versions: ~0.1
Homepage: http://lila-theme.berlios.de
Description: Lila theme for aMSN
[1] /usr/local/portage
[2] (layman/lila-theme)
[3] (layman/zugaina)
|
dice che quel pacchetto è presente in layman nel overlay zugaine |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simo8491 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2007 Posts: 10
|
Posted: Wed Jun 13, 2007 8:22 pm Post subject: |
|
|
Grazie, per adesso provo usando gli ebuild già fatti (magari aggiungo solo sunrise che comunque non dovrebbe darè troppa instabilità), poi più avant proverò a crearne io qualcuno. Ciao! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simo8491 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2007 Posts: 10
|
Posted: Sat Jun 16, 2007 10:07 am Post subject: |
|
|
Ho provato e sono riuscito ad istallare un paio di programmi, solo che adesso ho una difficoltà. Col comando digest dice che non riesce a creare il file Manifest e credo che dipenda dal link che ho definito in SRC_URI; il fatto è che non ce ne sono altri da cui scaricare il programma, quindi mi chiedevo se si può fare tutta la procedura partendo da un programma già scaricato. Grazie, ciao |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/13649464064b974bf2b19cc.jpg)
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Sat Jun 16, 2007 10:16 am Post subject: |
|
|
Se l'ebuild è per tuo uso personale puoi fare così:
all'inizio dell'ebuild
Scaricare manualmente l'archivio che avevi definito in $SRC_URI, posizionarlo in $DIST_DIR (solitamente è /usr/portage/distfiles)
Ridai il comando per il digest dell'ebuild
_________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|