mi serve un pacchetto

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
Tochiro
Linux 2.x
Linux 2.x
Messaggi: 263
Iscritto il: lun 27 giu 2005, 0:00
Contatta:

mi serve un pacchetto

Messaggio da Tochiro »

Salve,
Come da titolo.
Ho letto i vari howto, ma il pacchetto che a me serve è yafray
http://www.yafray.org
di solito lo compilo con scons, e do scons install,
però referirei creare un pacchetto.
Mi date qualche dritta?
Scons non lo conosco abbastanza ma ho visto che si trova fra i download,
magari qualcuno più esperto può aiutarmi.

Avatar utente
5m0k3r
Linux 2.x
Linux 2.x
Messaggi: 306
Iscritto il: mer 6 ott 2004, 0:00
Località: Augusta

Messaggio da 5m0k3r »

Su linuxpackages.net trovi il pacchetto alla versione 0.0.7 per la Slack 10.0
Puoi provare e vedere :D

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

sto provando a scriverlo adesso :roll: vediamo che esce :shock:

Avatar utente
gohanz
Staff
Staff
Messaggi: 5832
Iscritto il: mar 30 nov 2004, 0:00

Messaggio da gohanz »

#!/bin/sh
# Heavily based on the Slackware 10.2 SlackBuild
# http://www.yafray.org/
# Packagers Gohanz ( gohanz@infinito.it)
# http://www.slacky.it
# Need Scons to Compile.


CWD=`pwd`
if ["$TMP" = ""]; then
TMP=/tmp
fi
PKG=$TMP/package-yafray
NAME=yafray
VERSION=0.0.8
ARCH=${ARCH:-i686}
BUILD=1AS


if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
if [ ! -d $PKG ]; then
mkdir -p $PKG
fi

cd $TMP
tar xvzf $CWD/$NAME-$VERSION.tar.gz

echo "+-------------------------------------+"
echo "| Starting SlackBuild $NAME-$VERSION |"
echo "+-------------------------------------+"


cd $NAME-$VERSION

chown -R root.root .

scons

scons install prefix=$PKG

mkdir -p $PKG/usr/doc/$NAME-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README \
$PKG/usr/doc/$NAME-$VERSION

cd doc
cp -a \
* $PKG/usr/doc/$NAME-$VERSION

cd $CWD
cp -a *.SlackBuild slack-desc $PKG/usr/doc/$NAME-$VERSION
chown -R root.root $PKG/usr/doc/$NAME-$VERSION

mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/lib/yafray


mv $PKG/bin/yafray $PKG/usr/bin
rm -r $PKG/bin
mv $PKG/lib/*.so $PKG/usr/lib
mv $PKG/lib/yafray/* $PKG/usr/lib/yafray
rm -r $PKG/lib

( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null

)


mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
chown -R root.root $PKG/usr/doc/$NAME-$VERSION

chown -R root.bin $PKG/usr/bin

cd $PKG
requiredbuilder -y -v $PKG
makepkg -l y -c n $CWD/$NAME-$VERSION-$ARCH-$BUILD.tgz

if [ "$1" = "--cleanup" ]; then
rm -rf $TMP/$NAME-$VERSION
rm -rf $PKG
fi



# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
# the right side marks the last column you can put a character in. You must make
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.

|-----handy-ruler------------------------------------------------------|
yafray: YafRay is a powerful raytracer, under the LGPL license.
yafray:
yafray: It enables you to create fantastic images and animations of a
yafray: photorealistic quality. Below can you find the most relevant features
yafray: which YafRay offers.
yafray:
yafray:
yafray:
yafray: http://www.yafray.org/
yafray: http://WWW.SLACKY.IT
yafray: PackaGer Gohanz.

Avatar utente
krisis
Linux 4.x
Linux 4.x
Messaggi: 1120
Iscritto il: mar 25 gen 2005, 0:00
Distribuzione: debian
Località: Roma

Messaggio da krisis »

Ghoanz come minimo deve avere un netra a casa per compilare tutta questa roba ogni giorno.....

Avatar utente
Tochiro
Linux 2.x
Linux 2.x
Messaggi: 263
Iscritto il: lun 27 giu 2005, 0:00
Contatta:

Messaggio da Tochiro »

Gohanz grazie. :D
sei rapidissimo, lo provo subito.
Loris che ne pensi di inserire yafray fra i pacchetti di slacky.it?

Avatar utente
Loris
Admin
Admin
Messaggi: 7731
Iscritto il: lun 31 mar 2003, 0:00
Nome Cognome: Loris Vincenzi
Località: Gradisca D'Isonzo
Contatta:

Messaggio da Loris »

Gohanz mi ha mandato il materiale ieri, questo pom. lo compilo e lo metto nel repository :wink:
"Ho una testa piuttosto balzana e comunque non sono quello che credete" - Roger Keith Barrett

Rispondi