Moderator: ago



Code: Select all
>>> Install squeezelite-1.8.4.743-r1 into /var/tmp/portage/media-sound/squeezelite-1.8.4.743-r1/image/ category media-sound
>>> Completed installing squeezelite-1.8.4.743-r1 into /var/tmp/portage/media-sound/squeezelite-1.8.4.743-r1/image/
* Final size of build directory: 1124 KiB
* Final size of installed tree: 184 KiB
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
usr/bin/squeezelite
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (2 of 2) media-sound/squeezelite-1.8.4.743-r1::lmiphay
* If you want start Squeezelite automatically on system boot:
* rc-update add squeezelite default
* Edit /etc/cond.d/squeezelite to customise -- in particular
* you may want to set the audio device to be used.
>>> Recording media-sound/squeezelite in "world" favorites file...
* Messages for package media-sound/squeezelite-1.8.4.743-r1:
* If you want start Squeezelite automatically on system boot:
* rc-update add squeezelite default
* Edit /etc/cond.d/squeezelite to customise -- in particular
* you may want to set the audio device to be used.
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
ma poi dove dovrei mettere il file tar.gz dei sorgenti che mi interessano?ProT-0-TypE wrote:per usare ebuild che non sono presenti nel portage puoi fare così:
crei una directory per il tuo portage overlay, es:setti la variabile nel make.conf:Code: Select all
mkdir /usr/local/portagescarichi l'ebuild e lo metti nella directory giusta, in questo caso:Code: Select all
PORTDIR_OVERLAY="/usr/local/portage"e metti l'ebuild (che si chiamerà lstp-VERSIONE.ebuild o qualcosa del genere) in quella directoryCode: Select all
mkdir -p /usr/local/portage/net-misc/ltsp
vai in quella directory e crei il digest:quasi sicuramente l'ebuild sarà mascherato per cui dovrai smascherarlo:Code: Select all
cd /usr/local/portage/net-misc/ltsp ebuild lstp-VERSIONE.ebuild digestse la tua architettura è x86. Se la directory /etc/portage/ non esiste creala.Code: Select all
echo "=net-misc/ltsp-VERSIONE ~x86" >> /etc/portage/package.keywords
Ora puoi emergere il pacchetto normalmente


Code: Select all
gentooplay squeezelite # emerge --ask --verbose --oneshot app-dicts/squeezelite
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ~] app-dicts/squeezelite-1.8.5::squeezelite USE="aac dsd ffmpeg flac mad mpg123 vorbis -pulseaudio -resample -visexport" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-dicts/squeezelite-1.8.5::squeezelite
>>> Unpacking source...
* Fetching https://github.com/ralph-irving/squeezelite.git ...
git fetch https://github.com/ralph-irving/squeezelite.git +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/app-dicts/squeezelite/0/__main__ e37ed17fed9e11a7346cbe9f1e1deeccc051f42e
* Checking out https://github.com/ralph-irving/squeezelite.git to /var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5 ...
git checkout --quiet e37ed17fed9e11a7346cbe9f1e1deeccc051f42e
GIT update -->
repository: https://github.com/ralph-irving/squeezelite.git
at the commit: e37ed17fed9e11a7346cbe9f1e1deeccc051f42e
>>> Source unpacked in /var/tmp/portage/app-dicts/squeezelite-1.8.5/work
>>> Preparing source in /var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5 ...
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage/app-dicts/squeezelite/files/squeezelite-1.8.5-gentoo-makefile.patch
* ( squeezelite-1.8.5-gentoo-makefile.patch )
* ERROR: app-dicts/squeezelite-1.8.5::squeezelite failed (prepare phase):
* Cannot find $EPATCH_SOURCE!
*
* Call stack:
* ebuild.sh, line 133: Called src_prepare
* environment, line 3307: Called epatch '/usr/local/portage/app-dicts/squeezelite/files/squeezelite-1.8.5-gentoo-makefile.patch'
* environment, line 1340: Called die
* The specific snippet of code:
* die "Cannot find \$EPATCH_SOURCE!";
*
* If you need support, post the output of `emerge --info '=app-dicts/squeezelite-1.8.5::squeezelite'`,
* the complete build log and the output of `emerge -pqv '=app-dicts/squeezelite-1.8.5::squeezelite'`.
* The complete build log is located at '/var/tmp/portage/app-dicts/squeezelite-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-dicts/squeezelite-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5'
* S: '/var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5'
>>> Failed to emerge app-dicts/squeezelite-1.8.5, Log file:
>>> '/var/tmp/portage/app-dicts/squeezelite-1.8.5/temp/build.log'
* Messages for package app-dicts/squeezelite-1.8.5:
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage/app-dicts/squeezelite/files/squeezelite-1.8.5-gentoo-makefile.patch
* ( squeezelite-1.8.5-gentoo-makefile.patch )
* ERROR: app-dicts/squeezelite-1.8.5::squeezelite failed (prepare phase):
* Cannot find $EPATCH_SOURCE!
*
* Call stack:
* ebuild.sh, line 133: Called src_prepare
* environment, line 3307: Called epatch '/usr/local/portage/app-dicts/squeezelite/files/squeezelite-1.8.5-gentoo-makefile.patch'
* environment, line 1340: Called die
* The specific snippet of code:
* die "Cannot find \$EPATCH_SOURCE!";
*
* If you need support, post the output of `emerge --info '=app-dicts/squeezelite-1.8.5::squeezelite'`,
* the complete build log and the output of `emerge -pqv '=app-dicts/squeezelite-1.8.5::squeezelite'`.
* The complete build log is located at '/var/tmp/portage/app-dicts/squeezelite-1.8.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-dicts/squeezelite-1.8.5/temp/environment'.
* Working directory: '/var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5'
* S: '/var/tmp/portage/app-dicts/squeezelite-1.8.5/work/squeezelite-1.8.5'


https://github.com/marcoc1712/squeezelite-R2/releases/fedeliallalinea wrote:Dove posso trovare i sorgenti di quella versione che almeno posso fare delle prove?

Code: Select all
# cp -r squeezelite-R2 /usr/local/portage/media-sound/
# emerge squeezelite-R2
Grazie Mille!!!fedeliallalinea wrote:Allora ho creato l'ebuild con i file relativi per la versione che mi hai linkato e la trovi qui.
Scompatta il pacchetto e copialo sotto il tuo overlay local e poi installaNessuna garanzia che funzioniCode: Select all
# cp -r squeezelite-R2 /usr/local/portage/media-sound/ # emerge squeezelite-R2

Parti dal fatto che non ho la più pallida idea di cosa faccia questo software; io ho solo adattato l'ebuild esistente per questa versione (che mi pare è anche mantenuta da un'altra persona se non sbaglio)antonellocaroli wrote:Stasera Provo...ti faccio sapere.
Esatto ma se ti da qualche problema con il checksum ricrealoantonellocaroli wrote:PS: ho visto che dentro c´é anche il manifesto...quindi non lo devo creare.

Che dire....Grazie mille!!! ha funzionato perfettamente!!!fedeliallalinea wrote:Parti dal fatto che non ho la più pallida idea di cosa faccia questo software; io ho solo adattato l'ebuild esistente per questa versione (che mi pare è anche mantenuta da un'altra persona se non sbaglio)antonellocaroli wrote:Stasera Provo...ti faccio sapere.

Ottimo!antonellocaroli wrote:Che dire....Grazie mille!!! ha funzionato perfettamente!!!




si, lo pensavo anche io...fedeliallalinea wrote:Si mettendo root:root funziona ma probabilmente non è una buona soluzione.]).
Grazie ancora!!! gentilissimo!!!fedeliallalinea wrote:Ho corretto l'ebuild in modo che non dia più quell'errore, spero(lo trovi qui).
