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)
No edit summary
 
(4 intermediate revisions by 2 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].


==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:


The program <b><tt>layman</tt></b> can manage your PORTAGE_OVERLAY automatically.
For updating the ebuilds you will use ''gensync'' from the <tt>gentoolkit-dev</tt> package:
<pre>emerge gentoolkit-dev</pre>
<pre>emerge layman</pre>

<pre>mkdir -p /usr/local/gentoo-de</pre>

In <tt>/etc/gensync/gentoo-de.syncsource</tt> 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 to keep them up to date.

<pre>gensync gentoo-de</pre>

Change the <tt>PORTDIR_OVERLAY</tt> Variable in <tt>/etc/make.conf</tt>:

<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.


In <tt>/etc/make.conf</tt> paste at the bottom the following:
1) wget "http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gentoo-deutsch/ebuilds/ebuilds.tar.gz?tarball=1" -O ebuilds.tar.gz


<pre>source /usr/portage/local/layman/make.conf</pre>
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 add the <tt>gentoo-de</tt> overlay to <tt>layman</tt>:
Now the tarball should be unpacked and the files moved to the appropiate locations
<pre>layman -a gentoo-de</pre>
3) mkdir /usr/local/portage
4) tar xfvz ebuilds.tar.gz -C /usr/local/portage
5) mv /usr/local/portage/ebuilds/* /usr/local/portage/


Sync now and do so when you want to update..
Try ''emerge -p vdr''. Something like this should be the result
<pre>layman -s gentoo-de</pre>
[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.


Don't forget to <tt>emerge --sync</tt>, many of the VDR Ebuilds are now in the main Gentoo Portage tree.
* 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