Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fortune-mod in italiano
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Sun Sep 19, 2004 9:38 pm    Post subject: Fortune-mod in italiano Reply with quote

Sapete dove posso trovare qualche pacchetto di frasi in italiano per fortune? ho cercato ma non trovo niente :( eppure mi ricordo di aver visto una volta un sito con qualcosa in italiano per fortune solo che non mi ricordo + come ci ero arrivato :?
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sun Sep 19, 2004 9:54 pm    Post subject: Reply with quote

Mi pare che la Debian avesse qualche pacchetto per fortune-mod in italiano
Se lo trovi e ti va addirittura di convertirlo in un ebuild per gentoo farai felici molte persone su questo forum immagino... :D
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Sun Sep 19, 2004 10:23 pm    Post subject: Reply with quote

Se ne parlava anche qui https://forums.gentoo.org/viewtopic.php?t=157587
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Mon Sep 20, 2004 9:10 pm    Post subject: Reply with quote

Ecco qui il pacchetto

http://ftp.debian.org/debian/pool/main/f/fortunes-it/fortunes-it_1.51.orig.tar.gz

L'ebuild non lo so fare ma se qualcuno si prendesse la briga di farlo...
:D
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
innerbrain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 78

PostPosted: Mon Sep 20, 2004 9:50 pm    Post subject: Reply with quote

Concordo, anch'io ho messo a mano quelli di Debian ma un ebuild sarebbe gradito...se non addirittura un aggiornamento dei fortune visto che quelli proposti da Debian sono un pò datati
_________________
...la parte piu' interna del cervello, quella piu' contorta, piu' nascosta, meno razionale ma piu' portata verso la fantasia........da dove arriva l'ispirazione...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Sep 20, 2004 11:00 pm    Post subject: Reply with quote

Ecco l'ebuild
Code:
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
SRC_URI="http://www.orson.it/~fedeliallalinea/${P}.tar.gz"

LICENSE="non so"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="games-misc/fortune-mod"
REDEPEND="${DEPEND}"
RESTRICT="nomirror"

src_unpack() {
        unpack ${A}
}

src_compile() {
        strfile -s italia || die "strfile italia failed"
        strfile -s zozzital || die "strfile zozzital failed"
}

src_install() {
        insinto /usr/share/fortune
        doins italia* zozzital*
}

- Crate la cartella nel vostro portage overlay
Code:
# mkdir -p /usr/local/portage/games-misc/fortune-mod-it

- Prendete l'ebuild e mettetelo nella cartella appena creata chiamndolo fortune-mod-it-1.51.ebuild
- Create il digest
Code:
# ebuild /usr/local/portage/games-misc/fortune-mod-it/fortune-mod-it-1.51.ebuild digest

- Eseguite l'emerge
Code:
# emerge fortune-mod-it


PS: inutile dire che non mi assumo nessuna responsabilita' (io l'ho provato e a me va)
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Tue Sep 21, 2004 6:47 am; edited 1 time in total
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Tue Sep 21, 2004 12:00 am    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
# mkdir -p /usr/local/portage/game-misc/fortune-mod-it

games-misc

L'ora è tarda... ;)
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 6:48 am    Post subject: Reply with quote

neon_it wrote:
L'ora è tarda... ;)

Ehh si :D . Grazie per la segnalazione
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 3:14 pm    Post subject: Reply with quote

Very good... dici che se gliela mandi la mettono nel portage? :?
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Sep 21, 2004 3:29 pm    Post subject: Reply with quote

mambro wrote:
Very good... dici che se gliela mandi la mettono nel portage? :?


Beh tentar non nuoce.... basta che qualcuno apra un bug in bugzilla facendo il submit dell'ebuild.

Magari prima si potrebbe fargli onorare la USE "offensive" :-P
_________________
Ciao da me!
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 5:09 pm    Post subject: Reply with quote

Ho fatto un po' di casino ma ecco qua
https://bugs.gentoo.org/show_bug.cgi?id=64874#c0

è la prima volta che uso bugs.gentoo.org se ho fatto qualche casino di troppo ditemi come rimediare :oops:
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 6:31 pm    Post subject: Reply with quote

Sinceramente non so se era gia' pronto per essere sottomesso infatti non e' fatto molto bene e l'ho scritto a 12:00. Vabbe fa nulla vedro' di risistemarla
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 6:33 pm    Post subject: Reply with quote

Inoltre non penso che la licenza vada bene I don't know
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 6:50 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Inoltre non penso che la licenza vada bene I don't know

Già, mi è stato fatto notare :oops:
Bisogna sceglierne una da qui
/usr/portage/licenses/

Vabè si fa sempre in tempo a mettere a posto...
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 6:55 pm    Post subject: Reply with quote

La licenza direi GPL-2 inoltre bisogna anche aggiungere il README dell'autore.
Code:
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
SRC_URI="http://www.orson.it/~fedeliallalinea/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="games-misc/fortune-mod"
REDEPEND="${DEPEND}"
RESTRICT="nomirror"

src_unpack() {
        unpack ${A}
}

src_compile() {
        strfile -s italia || die "strfile italia failed"
        strfile -s zozzital || die "strfile zozzital failed"
}

src_install() {
        insinto /usr/share/fortune
        doins italia* zozzital*
        dodoc README COPYING
}

Qualcuno puo' provarlo e postarmi il merge del programma?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 7:52 pm    Post subject: Reply with quote

Code:

root@terra fortune-mod-it # ebuild fortune-mod-it-1.51.ebuild digest
>>> Downloading http://www.orson.it/~fedeliallalinea/fortune-mod-it-1.51.tar.gz
--21:41:55--  http://www.orson.it/%7Efedeliallalinea/fortune-mod-it-1.51.tar.gz
           => `/usr/portage/distfiles/fortune-mod-it-1.51.tar.gz'
Resolving www.orson.it... done.
Connecting to www.orson.it[194.185.227.165]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 409,476 [application/x-tar]

100%[====================================>] 409,476       41.47K/s    ETA 00:00

21:42:05 (41.47 KB/s) - `/usr/portage/distfiles/fortune-mod-it-1.51.tar.gz' saved [409476/409476]

>>> Generating digest file...
<<< fortune-mod-it-1.51.tar.gz
>>> Generating manifest file...
<<< fortune-mod-it-1.51.ebuild
<<< files/digest-fortune-mod-it-1.51
>>> Computed message digests.

root@terra fortune-mod-it # emerge fortune-mod-it
Calculating dependencies ...done!
>>> emerge (1 of 1) games-misc/fortune-mod-it-1.51 to /
>>> md5 src_uri ;-) fortune-mod-it-1.51.tar.gz
>>> Unpacking source...
>>> Unpacking fortune-mod-it-1.51.tar.gz to /usr/portage/tmp/portage/fortune-mod-it-1.51/work
>>> Source unpacked.

>>> Install fortune-mod-it-1.51 into /usr/portage/tmp//portage/fortune-mod-it-1.51/image/ category games-misc
man:
prepallstrip:
strip:
>>> Completed installing into /usr/portage/tmp//portage/fortune-mod-it-1.51/image/

>>> Merging games-misc/fortune-mod-it-1.51 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/fortune-mod-it-1.51/
>>> /usr/share/doc/fortune-mod-it-1.51/COPYING.gz
>>> /usr/share/doc/fortune-mod-it-1.51/README.gz
--- /usr/share/fortune/
>>> /usr/share/fortune/italia
>>> /usr/share/fortune/italia.dat
>>> /usr/share/fortune/zozzital
>>> /usr/share/fortune/zozzital.dat
 * Caching service dependencies...
>>> games-misc/fortune-mod-it-1.51 merged.
>>> Recording games-misc/fortune-mod-it in "world" favorites file...

pare tutto ok :wink:
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 7:56 pm    Post subject: Reply with quote

Si ottimo direi :D
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 8:08 pm    Post subject: Reply with quote

La rinomino in fortune-mod-it-1.51.ebuild-r1 e la allego al bug report?
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 8:16 pm    Post subject: Reply with quote

mambro wrote:
La rinomino in fortune-mod-it-1.51.ebuild-r1 e la allego al bug report?

Spe perche' cambio anche cartella. Poi di solito si rinomina anche il sorgente. -r1 va dopo la versione non dopo ebuild
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Tue Sep 21, 2004 8:34 pm    Post subject: Reply with quote

fedeliallalinea wrote:
mambro wrote:
La rinomino in fortune-mod-it-1.51.ebuild-r1 e la allego al bug report?

Spe perche' cambio anche cartella. Poi di solito si rinomina anche il sorgente. -r1 va dopo la versione non dopo ebuild

Si, errore di battitura :D

Dimmi quando sei a posto che lo aggiungo
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Tue Sep 21, 2004 11:15 pm    Post subject: Reply with quote

Ecco il fortune-mod-it-1.51-r1.ebuild (e anche un po' impostato meglio per essere estendibile se in futuro ci saranno altri file):
Code:
DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.orson.it/~fedeliallalinea/"
SRC_URI="http://www.orson.it/~fedeliallalinea/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="games-misc/fortune-mod"
REDEPEND="${DEPEND}"
RESTRICT="nomirror"

src_unpack() {
        unpack ${A}
}

src_compile() {
        cd ${S}/src
        for mod in `ls`
        do
                strfile -s ${mod} || die "strfile ${prog} failed"
        done
}

src_install() {
        insinto /usr/share/fortune
        dodoc README COPYING
        cd ${S}/src
        for mod in `ls`
        do
                doins ${mod}*
        done
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Wed Sep 22, 2004 3:34 pm    Post subject: Reply with quote

Da bugs.gentoo.org

needs lots of work:

Make the header the same as header.txt
fix the LICENSE to be something. It can't go into portage without one.
Take out the RDEPEND and RESTRICT lines
Take out the src_unpack function


Manca l'header da quel che vedo....
quindi basta aggiungere

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

??

Ho guardato /usr/portage/header.txt ma non capisco cosa vada dopo $Header
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 22, 2004 3:53 pm    Post subject: Reply with quote

mambro wrote:
Ho guardato /usr/portage/header.txt ma non capisco cosa vada dopo $Header


Quote:

# The 'Header' on the third line should just be left alone. When your ebuild
# will be committed to cvs, the details on that line will be automatically
# generated to contain the correct data.


Credo che sia tutto spiegato nel file:
Code:
/usr/portage/skel.ebuild


;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Wed Sep 22, 2004 4:22 pm    Post subject: Reply with quote

Ebuild mandata... vediamo cos'hanno da dire... tanto gli insulti me li sono già presi :lol:
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Wed Sep 22, 2004 4:24 pm    Post subject: Reply with quote

@mambro: Hai letto almeno questo http://www.gentoo.it/doc/ebuild-submit.html prima?
_________________
Questions are guaranteed in life; Answers aren't.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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