GENTOO Vdr ebuilds: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
No edit summary
 
(8 intermediate revisions by 6 users not shown)
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 Gentoo.org], but the main part of them is in the german CVS of [http://www.gentoo.de/ Gentoo.de].


If you want to use portage for the VDR Ebuilds, you can use the PORTAGE_OVERLAY functionality by following the steps below:
==Automatic method==
One can avoid the detour with the CVS tree of Berlios and directly use
emerge sync


The program <b><tt>layman</tt></b> can manage your PORTAGE_OVERLAY automatically.
Therefor '''/etc/make.conf''' get the following entry
<pre>emerge layman</pre>
SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"


In <tt>/etc/make.conf</tt> paste at the bottom the following:
and the entry: ''PORTAGE_OVERLAY'' can (if present) be deleted.


<pre>source /usr/portage/local/layman/make.conf</pre>
===NOTE: The gentoo-merged Tree become outdatet, the Server is switched off in May 2005===


Now add the <tt>gentoo-de</tt> overlay to <tt>layman</tt>:
For one Portage Tree function use the PORTAGE_OVERLAY after the following guidance
<pre>layman -a gentoo-de</pre>


Sync now and do so when you want to update..
Around ebuilds too comfortably to update you used ''gensync''
<pre>layman -s gentoo-de</pre>


<pre>emerge gentoolkit-dev</pre>


Don't forget to <tt>emerge --sync</tt>, many of the VDR Ebuilds are now in the main Gentoo Portage tree.
<pre>mkdir -p /usr/local/gentoo-de</pre>

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

<pre>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"
</pre>

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

<pre>gensync gentoo-de</pre>

PORTDIR_OVERLAY Variable in /etc/make.conf

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

English user, sorry 4 my bad english, i translated this by ''google''.
Please set it in correkt form and remove this line :)

==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
rsync://rsync16.de.gentoo.org/gentoo-de
* Gentoo.de and Gentoo.org Linux Portage tree mirror
rsync://rsync16.de.gentoo.org/gentoo-merged


==Links==
==Links==
{|
{|
| [1]
| [1]
| http://www.fh-luh.de/snapshots
| http://gentoo.fh-luh.de/snapshots/
| Portage snapshots
| Portage snapshots
|}
|}

Latest revision as of 14:10, 21 October 2006

Some of the VDR ebuilds have been added to the portage tree of Gentoo.org, 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:

The program layman can manage your PORTAGE_OVERLAY automatically.

emerge layman

In /etc/make.conf paste at the bottom the following:

source /usr/portage/local/layman/make.conf

Now add the gentoo-de overlay to layman:

layman -a gentoo-de

Sync now and do so when you want to update..

layman -s gentoo-de


Don't forget to emerge --sync, many of the VDR Ebuilds are now in the main Gentoo Portage tree.

Links

[1] http://gentoo.fh-luh.de/snapshots/ Portage snapshots