GENTOO Vdr ebuilds: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
m (Reverted edit of 61.48.105.65, changed back to last version by 213.6.132.162)
(removed merged-tree, added note about vdr at gentoo.org)
Line 1: Line 1:
The [[VDR]] ebuilds are no official Gentoo ebuilds, and are therefor maintained in the german CVS of [http://www.gentoo.de/ Gentoo.de].
Some of the [[VDR]] ebuilds have been added to the portage tree of [http://www.gentoo.org], but the main part of them is in the german CVS of [http://www.gentoo.de/ Gentoo.de].


==Automatic method==
One can avoid the detour with the CVS tree of Berlios and directly use
emerge sync

Therefor '''/etc/make.conf''' get the following entry
SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"

and the entry: ''PORTAGE_OVERLAY'' can (if present) be deleted.

==NOTE: The gentoo-merged Tree is outdated, the Server was switched off in May 2005==
If you want to use portage for the VDR Ebuilds, you can use the PORTAGE_OVERLAY functionality by following the steps below:
If you want to use portage for the VDR Ebuilds, you can use the PORTAGE_OVERLAY functionality by following the steps below:


Line 37: Line 26:


<pre>PORTDIR_OVERLAY="/usr/local/gentoo-de"</pre>
<pre>PORTDIR_OVERLAY="/usr/local/gentoo-de"</pre>

==Manual method==
To use this ebuilds, they have to be brought in the Gentoo system manually. Sadly, there is no mechanism like ''emerge sync''. The ebuild are downloaded as tarballs from gentoo.de.

1) wget "http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gentoo-deutsch/ebuilds/ebuilds.tar.gz?tarball=1" -O ebuilds.tar.gz

To use specific ebuilds, there exists the portage variable ''PORTDIR_OVERLAY'' in the file '''/etc/make.conf'''. This variable should be set to '''/usr/local/portage''' (default).
2) vi +/PORTDIR_OVERLAY /etc/make.conf

Now the tarball should be unpacked and the files moved to the appropiate locations
3) mkdir /usr/local/portage
4) tar xfvz ebuilds.tar.gz -C /usr/local/portage
5) mv /usr/local/portage/ebuilds/* /usr/local/portage/

Try ''emerge -p vdr''. Something like this should be the result
[ebuild N ] media-video/linuxdvb-1.0.0_pre2
[ebuild N ] media-video/vdr-1.1.26

To update the ebuild the steps 1, 4 and 5 are sufficient.


* Gentoo.de Linux Portage tree mirror
* Gentoo.de Linux Portage tree mirror
Line 65: Line 35:
{|
{|
| [1]
| [1]
| http://www.fh-luh.de/snapshots
| http://www2.gentoo.de/pub/gentoo/snapshots/
| Portage snapshots
| Portage snapshots
|}
|}

Revision as of 12:42, 4 December 2005

Some of the VDR ebuilds have been added to the portage tree of [1], but the main part of them is in the german CVS of Gentoo.de.

If you want to use portage for the VDR Ebuilds, you can use the PORTAGE_OVERLAY functionality by following the steps below:

For updating the ebuilds you will use gensync from the gentoolkit-dev package:

emerge gentoolkit-dev
mkdir -p /usr/local/gentoo-de

In /etc/gensync/gentoo-de.syncsource write

id="gentoo-de"
description="gentoo.de Portage Overlay"
rsync="rsync://rsync16.de.gentoo.org/gentoo-de-ebuilds"
# mirror is the none with all VDR ebuilds!!!
# overlay="/my/absolute/path"
overlay="/usr/local/gentoo-de"

Now you can download our Ebuilds by means of gensync, and later also with the same command to keep them up to date.

gensync gentoo-de

Change the PORTDIR_OVERLAY Variable in /etc/make.conf:

PORTDIR_OVERLAY="/usr/local/gentoo-de"
  • Gentoo.de Linux Portage tree mirror
rsync://rsync16.de.gentoo.org/gentoo-de
  • Gentoo.de and Gentoo.org Linux Portage tree mirror
rsync://rsync16.de.gentoo.org/gentoo-merged

Links

[1] http://www2.gentoo.de/pub/gentoo/snapshots/ Portage snapshots