GENTOO Vdr ebuilds: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(initial)
 
No edit summary
 
(10 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>
This is possibly, because ''rsync16.de.gentoo.org'' has a merged tree if the original tree and the gentoo.de tree under ''/gentoo-merged'' which is accessible via rsync.


Now add the <tt>gentoo-de</tt> overlay to <tt>layman</tt>:
Of course both trees are also available separately.
<pre>layman -a gentoo-de</pre>
<pre>
# rsync rsync://rsync16.de.gentoo.org
_______ _ _ _ _ _
|· ____|| |·|| | || |·|| |·|| | ||
| ||¯¯¯¯¯¯ | || | || | || | || | ||
| ||_ | ||_| || ___ | || | ||_| ||
| _|| | _ || |___|| | || _ _ | _ ||
| ||¯¯¯ | ||¯| || ¯¯¯ | || |·|| | || | ||¯| ||
| || | || | || | ||_____ | |__| || | || | ||
|_|| |_|| |_|| |________|| |______|| |_|| |_||
¯¯ ¯¯ ¯¯ ¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯ ¯¯ ¯¯
Hostname: rsync16.de.gentoo.org (sulu) running Solaris 7
System: Sun E250, 2x450MHz, 1.5Gig RAM, 3x18Gig + A1000
Net: E3, max 20 cons : http://www.fh-luh.de/


Sync now and do so when you want to update..
This service is provided by S|KIM, an organisational unit of
<pre>layman -s gentoo-de</pre>
the University of Applied Sciences Lippe und Höxter located
in Lemgo, Germany. Global position is 52.01'04"N/08.54'24"E.


In case of trouble contact our NOC at hostmaster@fh-luh.de
_________________________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


Don't forget to <tt>emerge --sync</tt>, many of the VDR Ebuilds are now in the main Gentoo Portage tree.
gentoo-x86-portage Gentoo Linux Portage tree
gentoo-portage Gentoo Linux Portage tree mirror
gentoo-de Gentoo.de Linux Portage tree mirror
gentoo-merged Gentoo.de and Gentoo.org Linux Portage tree mirror
</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
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