Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Creare "pacchetti" di software non in portage
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
simo8491
n00b
n00b


Joined: 12 Jun 2007
Posts: 10

PostPosted: Wed Jun 13, 2007 5:03 pm    Post subject: [Risolto] Creare "pacchetti" di software non in po Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Jun 13, 2007 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Wed Jun 13, 2007 5:47 pm    Post subject: Reply with quote

bhe per andare meglio ti consiglio
Code:
 eix
oltre 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
View user's profile Send private message
simo8491
n00b
n00b


Joined: 12 Jun 2007
Posts: 10

PostPosted: Wed Jun 13, 2007 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
simo8491
n00b
n00b


Joined: 12 Jun 2007
Posts: 10

PostPosted: Sat Jun 16, 2007 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Sat Jun 16, 2007 10:16 am    Post subject: Reply with quote

Se l'ebuild è per tuo uso personale puoi fare così:

  • Aggiungere la linea
    Code:

    RESTRICT="fetch"

    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
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