summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2008-02-02 20:51:17 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2008-02-02 20:51:17 +0000
commitaadf623bce67445db89214f78a7cff86c448174c (patch)
treeab8e0abb636586af4ad8527c6403065105370b68 /media-plugins
parentAdd openrc capable start-scripts. Based on code by Uberlord, Bug #208245. Thi... (diff)
downloadgentoo-2-aadf623bce67445db89214f78a7cff86c448174c.tar.gz
gentoo-2-aadf623bce67445db89214f78a7cff86c448174c.tar.bz2
gentoo-2-aadf623bce67445db89214f78a7cff86c448174c.zip
initial ebuild, taken from vdr testing overlay; also thanks to E.O'Donnell on bug 208210
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-filebrowser/ChangeLog14
-rw-r--r--media-plugins/vdr-filebrowser/Manifest10
-rw-r--r--media-plugins/vdr-filebrowser/files/commands.conf37
-rw-r--r--media-plugins/vdr-filebrowser/files/order.conf19
-rw-r--r--media-plugins/vdr-filebrowser/files/othercommands.conf15
-rw-r--r--media-plugins/vdr-filebrowser/files/sources.conf10
-rw-r--r--media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff27
-rw-r--r--media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff126
-rw-r--r--media-plugins/vdr-filebrowser/metadata.xml10
-rw-r--r--media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild35
10 files changed, 303 insertions, 0 deletions
diff --git a/media-plugins/vdr-filebrowser/ChangeLog b/media-plugins/vdr-filebrowser/ChangeLog
new file mode 100644
index 000000000000..ebb0d1481f76
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for media-plugins/vdr-filebrowser
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-filebrowser/ChangeLog,v 1.1 2008/02/02 20:51:16 hd_brummy Exp $
+
+*vdr-filebrowser-0.0.6b (02 Feb 2008)
+
+ 02 Feb 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-filebrowser-0.0.6b-typofix.diff,
+ +files/vdr-filebrowser-0.0.6b_vdr-1.5.diff, +files/commands.conf,
+ +files/order.conf, +files/othercommands.conf, +files/sources.conf,
+ +metadata.xml, +vdr-filebrowser-0.0.6b.ebuild:
+ initial ebuild, taken from vdr testing overlay; also thanks to E.O'Donnell
+ on bug 208210
+
diff --git a/media-plugins/vdr-filebrowser/Manifest b/media-plugins/vdr-filebrowser/Manifest
new file mode 100644
index 000000000000..d6b0e3e00052
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/Manifest
@@ -0,0 +1,10 @@
+AUX commands.conf 1903 RMD160 c09a60e23297457e1451f816ecb1aeb3294c900b SHA1 54978fd23c54e6e8262caeb01ddd71a759ee0df1 SHA256 8aba235c25a7425f5965814730881fd60b3d54e6966b361b1a54c6008048419d
+AUX order.conf 1049 RMD160 a5ab660a4ea4ae98766cddeb24f4fe33c805d9b0 SHA1 cf1082e260942dc817f754bc2b8da74479d00584 SHA256 f37cf61cdc758e9c0a69db88d03be3d07f96e5ce3cc1ffef67340aad013939dc
+AUX othercommands.conf 657 RMD160 1d2a88b0081c6852652cb23a3428767685af90a6 SHA1 3d4199c4a5846fe032916ab416a9b3e9904549d3 SHA256 bd2854144a431801e5d2a45c2a3a6ece760b0bdf356f6a45f74512a730c5b9a6
+AUX sources.conf 338 RMD160 3537178857b77cf33d511b4f4daeccd2363088bf SHA1 4631e852ccec617d4b7899e68f0b3e2695e767e5 SHA256 cc657db1ee65b67afe59c4acdcc678d91420240f990013e654c4eb6e8004c381
+AUX vdr-filebrowser-0.0.6b-typofix.diff 982 RMD160 55fc12580d0c14805281a8da6eb6fa232d81af69 SHA1 7c9e5bb197b78e25a629a9d2bcc7468f2e3a1772 SHA256 334d477adc225403c22667175830fc906c67a0a3a20cf3da90d995cabf7e1f9f
+AUX vdr-filebrowser-0.0.6b_vdr-1.5.diff 4097 RMD160 5e69e35047bc2b775f0c598843e4942156b7bd89 SHA1 39dbf03f64f927e38ba3d09877bdb05dc0e04f88 SHA256 df2b1a36ca571d34e3680bc4bcd247125a247122906b882b50ec4e69555d327a
+DIST vdr-filebrowser-0.0.6b.tgz 47419 RMD160 8ba18b5097b131265c6dfcaa7cbd64b79713eb30 SHA1 7ca0e8cf6f0b65bc44d25fa493f9dd6e2fc82bd0 SHA256 802e933f961a905087d3422c1df161eb0cf7f0fa4727617dc773e52c97a984b3
+EBUILD vdr-filebrowser-0.0.6b.ebuild 899 RMD160 1fcadbcd0aa7115a2ec9255f73bc3b595ec229ee SHA1 695d4cf4e60b9c20d2a79b36727be8b1307179e3 SHA256 ee79f4b15dd116fa27b35f002100be14e01ade00546105cf4aa5111ddb5c534c
+MISC ChangeLog 550 RMD160 ff5e93ba6443b6fd90f1913a4d02974696fc53c7 SHA1 31008fbb2d0b51258dc8c244b2154a0aac09b007 SHA256 a2a9a7f931025ac74e6fc7422c3d42f75eaeebd94620b69404ba4e6170600f44
+MISC metadata.xml 251 RMD160 b4bdfc1a9e947ad1d1f76c1942f02057d5cbc993 SHA1 6e174f6e4395999a9dafd53f523e079766c0b094 SHA256 b426b6e6d679a63de74d2c1a21e4da2381fb1b580b0180b041307471d67ab54f
diff --git a/media-plugins/vdr-filebrowser/files/commands.conf b/media-plugins/vdr-filebrowser/files/commands.conf
new file mode 100644
index 000000000000..72a96c869e59
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/commands.conf
@@ -0,0 +1,37 @@
+# * commands.conf *
+# A file defining commands to be run on files, roughly based on vdr's original commands.conf syntax:
+# Columns are separated by colons, first column is the name of the command.
+# When it ends with a question mark, you will be asked whether you really want to execute this command.
+#
+# The second column contains a filename pattern, that you only see commands useful in current context.
+# If this starts with an exclamation mark, it will be treated as a shell script that returns 0
+# if it matches and anything other if it doesn't. %f is replaced with the filename to be checked
+# (escape sequences from below apply, %! analogue). As this results in loading your shell and running
+# a command for every file and defined command, consider using othercommands.conf (see below)
+# to move away seldom used commands.
+#
+# The third column contains the command to be executed, where following expansions are made:
+# %f: current file
+# %d: if available, a destination file must be choosed, which is inserted
+# here
+# %D: if available, a destination file must be choosed, with the possibility
+# to create a new one
+# %m: expands to currently marked files, separated by a space. If no file is
+# marked, current file is used
+# %M: the same as %m, but this will change some time - don't use it
+# %%: %
+# %:: :
+#
+# The fourth (facultative) column contains flags.
+# Following are recognized at the moment:
+# b: Don't switch to the output of this command (it is available via "Threads"-command)
+# s: Execute command synchronously - beware, this may yield to a non-responsive osd for a while!
+# r: Remove thread from list automaticially if it had no errors
+#
+# The fifth (facultative) column may contain an access code, only numbers are supported!
+#
+# Examples:
+# Remove?:*:rm -rf %m:s:12345
+# Move:*.c:mv %m %D:br
+# Recode:+(*.ogg|*.mp3):recode %d %M
+
diff --git a/media-plugins/vdr-filebrowser/files/order.conf b/media-plugins/vdr-filebrowser/files/order.conf
new file mode 100644
index 000000000000..676eb2386596
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/order.conf
@@ -0,0 +1,19 @@
+# * order.conf *
+# A file to reorder commands. Usually you will see internal commands first, then commands from commands.conf
+# and then a command to show the thread list.
+# To reorder, just insert the names of the commands in this file, one per line.
+# To remove a certain command prefix its name with a minus sign (-).
+# Attention: Internal command names are localized, so your order.conf needs to be changed when you switch from
+# english to french, and again when you switch from french to german.
+# Attention2: For custom commands, remove the question mark and escaped colons.
+# Commands not mentioned in order.conf are appended to ordered commands.
+#
+# Example (uses commands.conf-snippet from above):
+# Remove #shows remove first
+# Threads #an internal command to see currently executing commands
+# Mark #an internal command
+# -Unmark #Hide an internal command
+# %--- #Reorder the command "---", escape first minus sign
+#
+# Please note that those comments aren't supported in order.conf at the time!
+
diff --git a/media-plugins/vdr-filebrowser/files/othercommands.conf b/media-plugins/vdr-filebrowser/files/othercommands.conf
new file mode 100644
index 000000000000..9ac671974354
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/othercommands.conf
@@ -0,0 +1,15 @@
+# * othercommands.conf *
+# You have the possibility to move commands into their own submenu.
+# Apart from reducing the need to "scroll" with the color keys, it keeps cost of command-matching low
+# (especially with shell-matched commands) for they are checked not until you open this menu.
+# Syntax is like in order.conf, you still define your commands in commands.conf, this file determines
+# which (named) commands are moved to the menu.
+# Both Attention and Attention2 from above apply.
+#
+# Example
+# Mark all # move this commands to the menu
+# Threads
+# Sources
+#
+# Please note that those comments aren't supported in othersources.conf at the time!
+
diff --git a/media-plugins/vdr-filebrowser/files/sources.conf b/media-plugins/vdr-filebrowser/files/sources.conf
new file mode 100644
index 000000000000..d5760c387b4b
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/sources.conf
@@ -0,0 +1,10 @@
+# * sources.conf *
+# Define sources in the style of many other plugins to switch your virtual root at runtime.
+# First field specifies source's name, second the path. Escaping rules from above apply.
+# The third (facultative) field specifies a file filter.
+#
+# Example
+# All%: (note the escaped colon!):/
+# Home:/home:*.doc
+# Temp:/tmp
+
diff --git a/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff b/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff
new file mode 100644
index 000000000000..9f304aeebadd
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff
@@ -0,0 +1,27 @@
+fix some compile probs, depend on typos
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 02 Fev 2008
+diff -Naur filebrowser-0.0.6b.orig/po/cs_CZ.po filebrowser-0.0.6b/po/cs_CZ.po
+--- filebrowser-0.0.6b.orig/po/cs_CZ.po 2008-02-02 19:59:43.960349841 +0100
++++ filebrowser-0.0.6b/po/cs_CZ.po 2008-02-02 20:00:19.293265014 +0100
+@@ -85,7 +85,7 @@
+
+ #: menu-filebrowser.c:107 menu-filebrowser.c:226 menu-filebrowser.c:228
+ msgid "Filebrowser"
+-msgstr {
++msgstr ""
+
+ #: menu-filebrowser.c:234 menu-filebrowser.c:443
+ msgid "Select Destination"
+diff -Naur filebrowser-0.0.6b.orig/po/tr_TR.po filebrowser-0.0.6b/po/tr_TR.po
+--- filebrowser-0.0.6b.orig/po/tr_TR.po 2008-02-02 19:59:43.960349841 +0100
++++ filebrowser-0.0.6b/po/tr_TR.po 2008-02-02 20:00:41.088291684 +0100
+@@ -85,7 +85,7 @@
+
+ #: menu-filebrowser.c:107 menu-filebrowser.c:226 menu-filebrowser.c:228
+ msgid "Filebrowser"
+-msgstr NULL
++msgstr ""
+
+ #: menu-filebrowser.c:234 menu-filebrowser.c:443
+ msgid "Select Destination"
diff --git a/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff b/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff
new file mode 100644
index 000000000000..b417ff031ecb
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff
@@ -0,0 +1,126 @@
+diff -Nur filebrowser-old/statebag.c filebrowser/statebag.c
+--- filebrowser-old/statebag.c 2006-12-04 22:13:24.000000000 +0100
++++ filebrowser/statebag.c 2007-06-18 20:20:21.000000000 +0200
+@@ -27,10 +27,10 @@
+ #ifdef FILEBROWSER_PLUGIN_BUILD
+ Threads=new cThreadList();
+ #endif
+- SelectedFiles=new cStringList();
++ SelectedFiles=new cStringContainerList();
+ Commands=new cFilebrowserCommands();
+ BaseDir[0]='\0';
+- CurrentFiles=new cStringList();
++ CurrentFiles=new cStringContainerList();
+ }
+
+ cFilebrowserStatebag::~cFilebrowserStatebag()
+diff -Nur filebrowser-old/statebag.h filebrowser/statebag.h
+--- filebrowser-old/statebag.h 2006-12-04 22:13:24.000000000 +0100
++++ filebrowser/statebag.h 2007-06-18 20:21:46.000000000 +0200
+@@ -22,7 +22,7 @@
+ #include <vdr/plugin.h>
+
+ //Forward declarations for used classes
+-class cStringList;
++class cStringContainerList;
+ #ifdef FILEBROWSER_PLUGIN_BUILD
+ class cThreadList;
+ #endif
+@@ -31,7 +31,7 @@
+ class cFilebrowserStatebag
+ {
+ protected:
+- cStringList* SelectedFiles;
++ cStringContainerList* SelectedFiles;
+ #ifdef FILEBROWSER_PLUGIN_BUILD
+ cThreadList* Threads;
+ #endif
+@@ -41,7 +41,7 @@
+ cFilebrowserStatebag();
+ ~cFilebrowserStatebag();
+
+- cStringList* GetSelectedFiles() { return SelectedFiles; };
++ cStringContainerList* GetSelectedFiles() { return SelectedFiles; };
+ #ifdef FILEBROWSER_PLUGIN_BUILD
+ cThreadList* GetThreads() { return Threads; };
+ #endif
+@@ -54,7 +54,7 @@
+ cString Filter;
+ cString CurrentDirectory;
+ cString ConfigDirectory;
+- cStringList* CurrentFiles;
++ cStringContainerList* CurrentFiles;
+
+ #ifdef FILEBROWSER_PLUGIN_BUILD
+ /*
+diff -Nur filebrowser-old/threads.c filebrowser/threads.c
+--- filebrowser-old/threads.c 2006-12-07 20:19:48.000000000 +0100
++++ filebrowser/threads.c 2007-06-18 20:20:21.000000000 +0200
+@@ -35,7 +35,7 @@
+ this->CurrentFile=CurrentFile ? strdup(CurrentFile) : NULL;
+ this->Statebag=Statebag;
+ //deep copy of Selected files
+- SelectedFiles=new cStringList();
++ SelectedFiles=new cStringContainerList();
+ for(int i=0; i<Statebag->GetSelectedFiles()->Count(); i++)
+ {
+ SelectedFiles->Add(new cStringContainer(strdup((char*)Statebag->GetSelectedFiles()->Get(i)->GetObject())));
+@@ -317,7 +317,7 @@
+
+ char* cConfigCommandThread::SelectedFilesHandler(const char* OrgString, const char* CurrentPos, const cCommandParser::cHandlerParameters* Params)
+ {
+- cStringList* SelectedFiles=(cStringList*)Params->Data;
++ cStringContainerList* SelectedFiles=(cStringContainerList*)Params->Data;
+ char* Text=NULL;
+ int TextLength=0;
+
+diff -Nur filebrowser-old/threads.h filebrowser/threads.h
+--- filebrowser-old/threads.h 2006-12-04 22:13:24.000000000 +0100
++++ filebrowser/threads.h 2007-06-18 20:20:21.000000000 +0200
+@@ -41,7 +41,7 @@
+ char* DestinationFile;
+ char* CurrentFile;
+ char* Description;
+- cStringList* SelectedFiles;
++ cStringContainerList* SelectedFiles;
+ ThreadState State;
+ bool RemoveRequested;
+ public:
+diff -Nur filebrowser-old/tools.c filebrowser/tools.c
+--- filebrowser-old/tools.c 2007-02-03 18:57:13.000000000 +0100
++++ filebrowser/tools.c 2007-06-18 20:20:21.000000000 +0200
+@@ -20,10 +20,10 @@
+ #include "tools.h"
+
+ /*
+- Implementation cStringList
++ Implementation cStringContainerList
+ */
+
+-bool cStringList::Contains(const char* String)
++bool cStringContainerList::Contains(const char* String)
+ {
+ for(cStringContainer *i = First(); i; i=Next(i))
+ {
+@@ -35,7 +35,7 @@
+ return false;
+ }
+
+-void cStringList::Remove(const char* String)
++void cStringContainerList::Remove(const char* String)
+ {
+ for(cStringContainer *i = First(); i!=NULL; i=Next(i))
+ {
+diff -Nur filebrowser-old/tools.h filebrowser/tools.h
+--- filebrowser-old/tools.h 2007-02-03 18:57:13.000000000 +0100
++++ filebrowser/tools.h 2007-06-18 20:20:21.000000000 +0200
+@@ -55,7 +55,7 @@
+ ~cStringContainer() {};
+ };
+
+-class cStringList : public cList<cStringContainer>
++class cStringContainerList : public cList<cStringContainer>
+ {
+ public:
+ bool Contains(const char* String);
+
diff --git a/media-plugins/vdr-filebrowser/metadata.xml b/media-plugins/vdr-filebrowser/metadata.xml
new file mode 100644
index 000000000000..5f9f14619db8
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild b/media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild
new file mode 100644
index 000000000000..80bc78965a61
--- /dev/null
+++ b/media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild,v 1.1 2008/02/02 20:51:16 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: file manager plugin for moving or renaming files in VDR."
+HOMEPAGE="http://www.stud.uni-karlsruhe.de/~uqg8/vdr/filebrowser/"
+SRC_URI="http://www.stud.uni-karlsruhe.de/~uqg8/vdr/filebrowser/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.4.0"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ if has_version ">=media-video/vdr-1.5.0"; then
+ epatch "${FILESDIR}"/vdr-filebrowser-0.0.6b_vdr-1.5.diff
+ epatch "${FILESDIR}"/vdr-filebrowser-0.0.6b-typofix.diff
+ fi
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/filebrowser
+ doins "${FILESDIR}"/commands.conf
+ doins "${FILESDIR}"/order.conf
+ doins "${FILESDIR}"/othercommands.conf
+ doins "${FILESDIR}"/sources.conf
+}