summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-11 15:40:59 +0000
committersvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-11 15:40:59 +0000
commit9bc88e820e60b6ecbce4113afc14fa56907048e2 (patch)
treecad94c257a6933a0636eb5f8fd152516c14370fd
parentf9d256e6b547eefc8e7769e7263418b92e553449 (diff)
downloadvdr-plugin-menuorg-9bc88e820e60b6ecbce4113afc14fa56907048e2.tar.gz
vdr-plugin-menuorg-9bc88e820e60b6ecbce4113afc14fa56907048e2.tar.bz2
Added debian installation of menuorg.xml/xsd
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/submenu/trunk@5678 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
-rw-r--r--debian/install2
-rw-r--r--debian/postinst (renamed from debian/postinst.ex)3
-rw-r--r--debian/postrm (renamed from debian/postrm.ex)5
-rw-r--r--menuorg.xml93
-rw-r--r--menuorg.xsd (renamed from vdr-menu.xsd)0
5 files changed, 102 insertions, 1 deletions
diff --git a/debian/install b/debian/install
index 714cc7a..4b50e32 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1,3 @@
libvdr-menuorg.so.* usr/lib/vdr/plugins/
+menuorg.xsd usr/share/vdr-plugin-menuorg/
+menuorg.xml usr/share/vdr-plugin-menuorg/
diff --git a/debian/postinst.ex b/debian/postinst
index 2352e9b..7464457 100644
--- a/debian/postinst.ex
+++ b/debian/postinst
@@ -17,9 +17,12 @@ set -e
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
+MENUORG_XML=/var/lib/vdr/plugins/menuorg.xml
case "$1" in
configure)
+ [ -e "$MENUORG_XML" ] || \
+ cp /usr/share/vdr-plugin-menuorg/menuorg.xml "$MENUORG_XML"
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/postrm.ex b/debian/postrm
index 47e6e00..b823ff0 100644
--- a/debian/postrm.ex
+++ b/debian/postrm
@@ -20,7 +20,10 @@ set -e
case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ purge)
+ rm -f /var/lib/vdr/plugins/menuorg.xml
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
diff --git a/menuorg.xml b/menuorg.xml
new file mode 100644
index 0000000..b65595b
--- /dev/null
+++ b/menuorg.xml
@@ -0,0 +1,93 @@
+<!--
+- 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="mplayer" />
+ <menu name="CD/DVD">
+ <plugin name="burn" />
+ <plugin name="dvdselect" />
+ <plugin name="dvd" />
+ <plugin name="vdrcd" />
+ <plugin name="vcd" />
+ </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="osdpip" />
+ <plugin name="timeline" />
+ <plugin name="osdteletext" />
+ <plugin name="prefermenu" />
+ <plugin name="director" />
+ </menu>
+ <menu name="Bilder">
+ <plugin name="image" />
+ <plugin name="osdimage" />
+ <plugin name="screenshot" />
+ </menu>
+ <menu name="Timer">
+ <plugin name="autotimeredit" />
+ <plugin name="sleeptimer" />
+ </menu>
+ <menu name="Spiele">
+ <plugin name="games" />
+ <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/vdr-menu.xsd b/menuorg.xsd
index 84f7942..84f7942 100644
--- a/vdr-menu.xsd
+++ b/menuorg.xsd