summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-07-30 15:39:25 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-07-30 15:39:25 +0000
commitf9719fa1849b9e83c57b7f1ac78ed4cf466fa9e8 (patch)
tree7fa21c713282157459229230c250ddbefb836a9c /media-plugins/vdr-setup
parentKill the broken ebuild, permissions from archteams. (diff)
downloadgentoo-2-f9719fa1849b9e83c57b7f1ac78ed4cf466fa9e8.tar.gz
gentoo-2-f9719fa1849b9e83c57b7f1ac78ed4cf466fa9e8.tar.bz2
gentoo-2-f9719fa1849b9e83c57b7f1ac78ed4cf466fa9e8.zip
Added partly translated vdr-setup file, moved vdr-menu.xml from vdr to here. Try to guess language for conf-files from LINGUAS, Bug #183863.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'media-plugins/vdr-setup')
-rw-r--r--media-plugins/vdr-setup/ChangeLog10
-rw-r--r--media-plugins/vdr-setup/files/digest-vdr-setup-0.3.1-r13
-rw-r--r--media-plugins/vdr-setup/files/vdr-menu.de.xml100
-rw-r--r--media-plugins/vdr-setup/files/vdr-menu.en.xml100
-rw-r--r--media-plugins/vdr-setup/files/vdr-setup.en.xml130
-rw-r--r--media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild88
6 files changed, 430 insertions, 1 deletions
diff --git a/media-plugins/vdr-setup/ChangeLog b/media-plugins/vdr-setup/ChangeLog
index ce4556445d4a..9296081a7ff9 100644
--- a/media-plugins/vdr-setup/ChangeLog
+++ b/media-plugins/vdr-setup/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-plugins/vdr-setup
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.16 2007/07/30 15:27:39 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.17 2007/07/30 15:39:25 zzam Exp $
+
+*vdr-setup-0.3.1-r1 (30 Jul 2007)
+
+ 30 Jul 2007; Matthias Schwarzott <zzam@gentoo.org> +files/vdr-menu.de.xml,
+ +files/vdr-menu.en.xml, +files/vdr-setup.en.xml,
+ +vdr-setup-0.3.1-r1.ebuild:
+ Added partly translated vdr-setup file, moved vdr-menu.xml from vdr to here.
+ Try to guess language for conf-files from LINGUAS, Bug #183863.
30 Jul 2007; Matthias Schwarzott <zzam@gentoo.org>
+files/vdr-setup.de.xml, -files/vdr-setup.xml, vdr-setup-0.3.1.ebuild:
diff --git a/media-plugins/vdr-setup/files/digest-vdr-setup-0.3.1-r1 b/media-plugins/vdr-setup/files/digest-vdr-setup-0.3.1-r1
new file mode 100644
index 000000000000..95497116e08e
--- /dev/null
+++ b/media-plugins/vdr-setup/files/digest-vdr-setup-0.3.1-r1
@@ -0,0 +1,3 @@
+MD5 3cc4a91219dfb671ba9fd75edadfb56b vdr-setup-0.3.1.tgz 89366
+RMD160 81bc99b57669cff762aed4f452db4ddb67662c22 vdr-setup-0.3.1.tgz 89366
+SHA256 b44457c384a6fcf22baa24ae7cbeca3d8e23c9d93c7be5c1601dbca338828392 vdr-setup-0.3.1.tgz 89366
diff --git a/media-plugins/vdr-setup/files/vdr-menu.de.xml b/media-plugins/vdr-setup/files/vdr-menu.de.xml
new file mode 100644
index 000000000000..b3a868857e86
--- /dev/null
+++ b/media-plugins/vdr-setup/files/vdr-menu.de.xml
@@ -0,0 +1,100 @@
+<!--
+- VDR Menu-Configuration File
+-
+-
+- Example:
+-
+ <menus>
+ <system name="Schedule" />
+ <system name="Channels" />
+ <system name="Timers" />
+ <system name="Recordings" />
+ <menu name="System">
+ <system name="Setup" />
+ <system name="Commands" />
+ <plugin name="setup" />
+ <command name="myCommand1" execute="/usr/bin/mycommand1" />
+ <command name="myCommand2" execute="/usr/bin/mycommand2" confirm="yes" />
+ <plugin name="epgsearch" />
+ <menu name="mySubSubMenu">
+ ...
+ </menu>
+ </menu>
+ <menu name="Suche">
+ <plugin name="epgsearch" />
+ ...
+ </menu>
+ </menus>
+-->
+<menus>
+ <system name="Schedule" />
+ <system name="Channels" />
+ <system name="Timers" />
+ <system name="Recordings" />
+ <menu name="Video/Audio">
+ <plugin name="radio" />
+ <plugin name="playlist" />
+ <plugin name="mp3" />
+ <plugin name="mp3ng" />
+ <plugin name="mplayer" />
+ <menu name="CD/DVD">
+ <plugin name="burn" />
+ <plugin name="dvdselect" />
+ <plugin name="dvdswitch" />
+ <plugin name="dvd" />
+ <plugin name="vdrcd" />
+ <plugin name="vcd" />
+ </menu>
+ <menu name="Bilder">
+ <plugin name="image" />
+ <plugin name="osdimage" />
+ <plugin name="screenshot" />
+ </menu>
+ </menu>
+ <menu name="Suche/Info">
+ <plugin name="epgsearch" />
+ <plugin name="pilot" />
+ <plugin name="newsticker" />
+ <plugin name="tvtv" />
+ <plugin name="tvonscreen" />
+ <plugin name="yaepg" />
+ <plugin name="nordlichtsepg" />
+ <plugin name="osdpip" />
+ <plugin name="timeline" />
+ <plugin name="osdteletext" />
+ <plugin name="prefermenu" />
+ <plugin name="director" />
+ <plugin name="weatherng" />
+ </menu>
+ <menu name="Timer">
+ <plugin name="autotimeredit" />
+ <plugin name="xxvautotimer" />
+ <plugin name="sleeptimer" />
+ <plugin name="eggtimer" />
+ </menu>
+ <menu name="Spiele">
+ <plugin name="games" />
+ <plugin name="sudoku" />
+ <plugin name="solitaire" />
+ <plugin name="freecell" />
+ </menu>
+ <menu name="Sonstiges">
+ <plugin name="clock" />
+ <plugin name="vbox" />
+ <plugin name="pim" />
+ <plugin name="taste" />
+ <plugin name="undelete" />
+ </menu>
+ <menu name="System">
+ <plugin name="setup" />
+ <system name="Commands" />
+ <plugin name="vdrc" />
+ <plugin name="text2skin" />
+ <plugin name="graphlcd" />
+ <plugin name="sysinfo" />
+ <plugin name="console" />
+ <plugin name="femon" />
+ <plugin name="rotor" />
+ <plugin name="streamdev-server" />
+ </menu>
+</menus>
diff --git a/media-plugins/vdr-setup/files/vdr-menu.en.xml b/media-plugins/vdr-setup/files/vdr-menu.en.xml
new file mode 100644
index 000000000000..295c0c8c91cf
--- /dev/null
+++ b/media-plugins/vdr-setup/files/vdr-menu.en.xml
@@ -0,0 +1,100 @@
+<!--
+- VDR Menu-Configuration File
+-
+-
+- Example:
+-
+ <menus>
+ <system name="Schedule" />
+ <system name="Channels" />
+ <system name="Timers" />
+ <system name="Recordings" />
+ <menu name="System">
+ <system name="Setup" />
+ <system name="Commands" />
+ <plugin name="setup" />
+ <command name="myCommand1" execute="/usr/bin/mycommand1" />
+ <command name="myCommand2" execute="/usr/bin/mycommand2" confirm="yes" />
+ <plugin name="epgsearch" />
+ <menu name="mySubSubMenu">
+ ...
+ </menu>
+ </menu>
+ <menu name="Search">
+ <plugin name="epgsearch" />
+ ...
+ </menu>
+ </menus>
+-->
+<menus>
+ <system name="Schedule" />
+ <system name="Channels" />
+ <system name="Timers" />
+ <system name="Recordings" />
+ <menu name="Video/Audio">
+ <plugin name="radio" />
+ <plugin name="playlist" />
+ <plugin name="mp3" />
+ <plugin name="mp3ng" />
+ <plugin name="mplayer" />
+ <menu name="CD/DVD">
+ <plugin name="burn" />
+ <plugin name="dvdselect" />
+ <plugin name="dvdswitch" />
+ <plugin name="dvd" />
+ <plugin name="vdrcd" />
+ <plugin name="vcd" />
+ </menu>
+ <menu name="Pictures">
+ <plugin name="image" />
+ <plugin name="osdimage" />
+ <plugin name="screenshot" />
+ </menu>
+ </menu>
+ <menu name="Search/Info">
+ <plugin name="epgsearch" />
+ <plugin name="pilot" />
+ <plugin name="newsticker" />
+ <plugin name="tvtv" />
+ <plugin name="tvonscreen" />
+ <plugin name="yaepg" />
+ <plugin name="nordlichtsepg" />
+ <plugin name="osdpip" />
+ <plugin name="timeline" />
+ <plugin name="osdteletext" />
+ <plugin name="prefermenu" />
+ <plugin name="director" />
+ <plugin name="weatherng" />
+ </menu>
+ <menu name="Timer">
+ <plugin name="autotimeredit" />
+ <plugin name="xxvautotimer" />
+ <plugin name="sleeptimer" />
+ <plugin name="eggtimer" />
+ </menu>
+ <menu name="Games">
+ <plugin name="games" />
+ <plugin name="sudoku" />
+ <plugin name="solitaire" />
+ <plugin name="freecell" />
+ </menu>
+ <menu name="Other stuff">
+ <plugin name="clock" />
+ <plugin name="vbox" />
+ <plugin name="pim" />
+ <plugin name="taste" />
+ <plugin name="undelete" />
+ </menu>
+ <menu name="System">
+ <plugin name="setup" />
+ <system name="Commands" />
+ <plugin name="vdrc" />
+ <plugin name="text2skin" />
+ <plugin name="graphlcd" />
+ <plugin name="sysinfo" />
+ <plugin name="console" />
+ <plugin name="femon" />
+ <plugin name="rotor" />
+ <plugin name="streamdev-server" />
+ </menu>
+</menus>
diff --git a/media-plugins/vdr-setup/files/vdr-setup.en.xml b/media-plugins/vdr-setup/files/vdr-setup.en.xml
new file mode 100644
index 000000000000..5ef563027ee2
--- /dev/null
+++ b/media-plugins/vdr-setup/files/vdr-setup.en.xml
@@ -0,0 +1,130 @@
+<!--
+ - Mini-VDR Configuration File
+ - (c) Ralf Dotzert
+ -
+ -
+ - Example:
+ -
+ - <setup sysconfigFile="/etc/sysconfig">
+ - bootLinux="/sbin/reboot"
+ - VDRlibDir="/usr/lib/vdr/plugins"
+ - <plugins sysconfig="PLUGINLIST">
+ - <plugin name="setup" info="Minivdr-Setup" active="yes" />
+ - <plugin name="vdrcd" param="-c /dev/dvd -c /media/dvd -c /media/cdfs" info="VDR CD"/>
+ - ...
+ - </plugin>
+ - <menus>
+ - <menu name="VDR-Einstellungen">
+ - <menu name="Edit VDR-Menü" system="VDRMenu" help1="VDR Menü bearbeiten" />
+ - <menu name="OSD" system="OSD" help1="Einstellungen zum On Screen Display" />
+ - <menu name="EPG" system="EPG" />
+ - <menu name="DVB" system="DVB" />
+ - <menu name="LNB" system="LNB" />
+ - <menu name="CICAM" system="CICAM" />
+ - <menu name="Aufnahme" system="Record" />
+ - <menu name="Wiedergabe" system="Replay" />
+ - <menu name="Sonstiges" system="Misc" />
+ - <menu name="Plugins-Setup" system="Plugins" />
+ - <menu name="Aktiviere Plugins" system="ActPlugins" />
+ - <menu name="BigPatch-Setup" system="BigPatch" /> -- Wenn der Bigpatch angwendet wurde --
+ - <menu name="LiveBuffer-Setup" system="LiveBuffer" /> -- Wenn der LiveBuffer-Patch angewendet wurde --
+ - </menu>
+ - <menu name="Netzwerk" help1="Netzwerkeinstellungen" command="/etc/init.d/network restart">
+ - <entry name="Benutze DHCP" sysconfig="USE_DHCP" type="bool" value="true" command="/etc/init.d/network restart/>
+ - <entry name="IP-Adresse" sysconfig="IP" type="text" value="192.168.0.111" />
+ - ...
+ - </menu>
+ - <menu name="Sonstiges">
+ - <entry name="Ramddisk im MB" sysconfig="RAMDISK" type="number" value="16" />
+ - <menu name="SubMenu">
+ - <entry ... />
+ - </menu>
+ - </menu>
+ - </menus>
+ -</setup>
+-->
+<setup sysconfigFile="/var/vdr/sysconfig-setup" bootLinux="/sbin/reboot" VDRlibDir="/usr/lib/vdr/plugins">
+ <plugins sysconfig="PLUGINLIST">
+ <plugin name="alcd" info="Activy300 LCD Display" active="no" />
+ <plugin name="lcdproc" info="Alphanummerische Displays" active="no" />
+ <plugin name="vbox" info="Anrufbeantworter Plugin" active="yes" />
+ <plugin name="rotor" info="Ansteuerung Rotor" active="yes" />
+ <plugin name="femon" info="Anzeige Signalstärke/Qualität" active="yes" />
+ <plugin name="vdrcd" param="-c /dev/dvd -c /media/dvd -c /media/cdfs" info="AutoPlay Funktion" active="yes" />
+ <plugin name="autotimeredit" param="-f /etc/vdradmin/vdradmind.at -p" info="Autotimer-Edit" active="yes" />
+ <plugin name="prefermenu" info="Bevorzugte Kanäle" active="yes" />
+ <plugin name="osdpip" info="Bild in Bild" active="yes" />
+ <plugin name="image" param="-C /usr/bin/imageplugin.sh -m /usr/bin/mount.sh" info="Bildbetrachter Plugin" active="yes" />
+ <plugin name="osdimage" param="--directory /video0/media/photos/vdr" info="Bildern über OSD" active="yes" />
+ <plugin name="burn" param="-D /dev/sr0 -d /video0 -i /video0/convert/dvd/" info="Brennt Filme auf DVD" active="yes" />
+ <plugin name="remote" info="DVB Karten Fernbedienung" active="no" protected="yes" />
+ <plugin name="dvdselect" info="DVD Laufwerke einhängen" active="yes" />
+ <plugin name="dvd" info="DVD Spieler Plugin" active="yes" />
+ <plugin name="freecell" info="Das Kartenspiel Freecell" active="yes" />
+ <plugin name="osddemo" info="Demo On-Screen-Display" active="no" />
+ <plugin name="tvonscreen" param="-v /etc/vdradmin/vdradmind.at" info="EPG Programmzeitschrift" active="yes" />
+ <plugin name="epgsearch" info="EPG zeigt Wiederholungen" active="yes" />
+ <plugin name="hello" info="Ein &apos;hello&apos; Plugin" active="no" />
+ <plugin name="screenshot" info="Erstellt Screenshots" active="yes" />
+ <plugin name="graphlcd" param="-d ks0108" info="GraphLCD" active="yes" />
+ <plugin name="graphtft" param="-d /dev/fb0" info="GraphTFT" active="no" />
+ <plugin name="radio" info="Hintergrundbild für Radiosender" active="yes" />
+ <plugin name="chanorg" info="Kanäle sortieren" active="yes" />
+ <plugin name="solitaire" info="Kartenspiel Solitaire" active="yes" />
+ <plugin name="vdrc" info="Linux Commander OSD" active="yes" />
+ <plugin name="setup" info="Minivdr-Setup" active="yes" protected="yes" />
+ <plugin name="sky" info="Mpeg2 Encoder Plugin" active="yes" />
+ <plugin name="newsticker" info="Newsticker" active="yes" />
+ <plugin name="status" info="Osd-Status" active="no" />
+ <plugin name="pim" info="PIM-Kalender Plugin" active="yes" />
+ <plugin name="channelscan" info="Sender Suchlauf" active="yes" />
+ <plugin name="taste" info="Sendungen-Keywords sperren" active="yes" />
+ <plugin name="sleeptimer" info="Shutdown" active="yes" />
+ <plugin name="mlcd" info="Siemens Multitainer LC-Display" active="no" />
+ <plugin name="text2skin" info="Skin-Plugin für VDR" active="yes" />
+ <plugin name="mp3" info="Spielt MP3-Dateien ab" active="yes" />
+ <plugin name="mplayer" info="Spielt diverse Videoformate" active="yes" />
+ <plugin name="streamdev-client" info="Streaming Client" active="no" />
+ <plugin name="streamdev-server" info="Streaming Server" active="yes" />
+ <plugin name="sysinfo" info="Systeminformationen" active="yes" />
+ <plugin name="osdteletext" info="Teletext Dekoder für das OSD" active="yes" />
+ <plugin name="console" info="Textkonsole auf dem Fernseher" active="yes" />
+ <plugin name="tvtv" info="TvTv im OSD" active="yes" />
+ <plugin name="clock" info="Uhr" active="yes" />
+ <plugin name="skincurses" info="VDR-Skin für Konsole" active="yes" />
+ <plugin name="games" info="Verschiedene Spiele" active="yes" />
+ <plugin name="playlist" info="Verw.von Playlisten" active="yes" />
+ <plugin name="vcd" param="--vcd=/dev/dvd" info="VideoCD Plugin" active="yes" />
+ <plugin name="yaepg" info="Weitere EPG-Ansicht" active="yes" />
+ <plugin name="undelete" info="Wiederh. gelöschter Aufnahmen" active="yes" />
+ <plugin name="pilot" info="Zapping Co-Pilot" active="yes" />
+ <plugin name="director" info="Zeigt Multifeed Kanäle" active="yes" />
+ <plugin name="timeline" info="Zeitleiste" active="yes" />
+ <plugin name="admin" info="admin" active="no" />
+ <plugin name="wapd" info="wapd" active="yes" />
+ </plugins>
+ <menus>
+ <menu name="VDR-Settings">
+ <menu name="OSD" system="OSD" help1="Einstellungen zum On Screen Display" help2="setup_osd.hlp"/>
+ <menu name="EPG" system="EPG" help1="Einstellungen zum Electronic Prgramming Guide" help2="setup_epg.hlp"/>
+ <menu name="DVB" system="DVB" help1="Einstellungen zur DVB-Karte" help2="setup_dvb.hlp"/>
+ <menu name="LNB" system="LNB" help2="setup_lnb.hlp"/>
+ <menu name="CICAM" system="CICAM" help2="setup_cicam.hlp"/>
+ <menu name="Aufnahme" system="Record" help2="setup_record.hlp"/>
+ <menu name="Wiedergabe" system="Replay" help2="setup_replay.hlp"/>
+ <menu name="Sonstiges" system="Misc" help2="setup_misc.hlp"/>
+ <menu name="Plugins-Setup" system="Plugins" help1="Plugins konfigurieren"/>
+ <menu name="LiveBuffer" system="LiveBuffer" />
+ <menu name="BigPatch" system="BigPatch" />
+ </menu>
+ <menu name="Others">
+ <menu name="Edit VDR-Menu" system="VDRMenu" help1="changing VDR Menu" help2="setup_editmenu.hlp"/>
+<!-- - Warning! On use the Entry Channellist; by switch between diffrent Channellist, seted Timer will be distroyed
+ - to use the entry, remove the comment signs on beginning and end of line -->
+<!-- <entry name="Kanalliste" sysconfig="CHANNELLIST" type="selection" setup="channellist" value="DVB-s_MiniVDR" /> -->
+ </menu>
+ <menu name="Childprotection">
+ <entry name="Geheimcode (0000=AUS)" sysconfig="CHILDLOCK" type="numtext" setup="childlock" value="0000" />
+ </menu>
+ </menus>
+</setup>
diff --git a/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild b/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..288b0632f573
--- /dev/null
+++ b/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild,v 1.1 2007/07/30 15:39:25 zzam Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: Create Submenus, Configure VDR on OSD"
+HOMEPAGE="http://www.vdrtools.de/vdrsetup.html"
+SRC_URI="http://www.vdrtools.de/download/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.36"
+
+S=${WORKDIR}/setup-${PV}
+
+PATCHES="${FILESDIR}/${P}-*.diff"
+
+LANGS="en de"
+
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ local header=/usr/include/vdr/submenu.h
+ if [[ -f ${header} ]] && grep -q cSubMenuNode ${header} && [[ -f /usr/share/vdr/setup/menu.c ]]; then
+ einfo "Patched vdr found"
+ else
+ echo
+ eerror "Patched VDR needed"
+ echo
+ elog "reemerge VDR with USE=\"setup-plugin\" " && die "unpack failed, patched VDR needed"
+ fi
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ keepdir /etc/vdr/channels.d
+
+ insinto /var/vdr
+ newins ${S}/Examples/sysconfig sysconfig-setup
+ fowners vdr:vdr /var/vdr/sysconfig-setup
+
+ local lang
+ use linguas_de && lang="de"
+ [[ -z ${lang} ]] && lang="en"
+
+ insinto /etc/vdr/plugins/setup
+ newins ${FILESDIR}/vdr-menu.${lang}.xml vdr-menu.xml
+ newins ${FILESDIR}/vdr-setup.${lang}.xml vdr-setup.xml
+
+ insinto /etc/vdr/plugins/setup/help
+ doins ${S}/Examples/help/*.hlp
+
+ chown -R vdr:vdr ${D}/etc/vdr
+
+ dodoc MANUAL.DE Examples/*.xml
+}
+
+pkg_preinst() {
+ if [[ ! -L ${ROOT}/etc/vdr/channels.conf ]]; then
+ cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.d/channels.conf.bak
+ cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.d/channels.conf
+ fowners vdr:vdr /etc/vdr/channels.d/{channels.conf,channels.conf.bak}
+ fi
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ echo
+ elog "Edit /etc/vdr/plugins/setup/*"
+ echo
+ eerror "vdr-setup is very sensible on Error's in your setup.conf"
+ elog "Best way to fix this: Stop (at first) VDR , move setup.conf to setup.conf.bak"
+ elog "and let create VDR a new setup.conf on next Start automatically"
+ echo
+ ewarn "Setup-Plugin will change the path of your channels.conf"
+ elog "You will find a backup copy on /etc/vdr/channels/channels.conf.bak"
+ echo
+}