summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2011-10-23 15:56:35 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2011-10-23 15:56:35 +0000
commit75990f7f4c84ea4905d9bf3649494034209a10bd (patch)
tree82e13030bdd104718f2ab8e007879955fbc3680c /media-plugins/vdr-setup
parentia64 stable wrt #384825 (diff)
downloadhistorical-75990f7f4c84ea4905d9bf3649494034209a10bd.tar.gz
historical-75990f7f4c84ea4905d9bf3649494034209a10bd.tar.bz2
historical-75990f7f4c84ea4905d9bf3649494034209a10bd.zip
use now externel tinyxml lib
Package-Manager: portage-2.1.10.11/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'media-plugins/vdr-setup')
-rw-r--r--media-plugins/vdr-setup/ChangeLog8
-rw-r--r--media-plugins/vdr-setup/Manifest10
-rw-r--r--media-plugins/vdr-setup/files/090-vdr-setup-0.3.1_extern-tinyxml.diff107
-rw-r--r--media-plugins/vdr-setup/vdr-setup-0.3.1-r4.ebuild82
4 files changed, 202 insertions, 5 deletions
diff --git a/media-plugins/vdr-setup/ChangeLog b/media-plugins/vdr-setup/ChangeLog
index f1e241b859df..3ce53cddfd52 100644
--- a/media-plugins/vdr-setup/ChangeLog
+++ b/media-plugins/vdr-setup/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-setup
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.24 2011/10/22 19:00:33 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.25 2011/10/23 15:56:34 hd_brummy Exp $
+
+*vdr-setup-0.3.1-r4 (23 Oct 2011)
+
+ 23 Oct 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-setup-0.3.1-r4.ebuild, +files/090-vdr-setup-0.3.1_extern-tinyxml.diff:
+ use now externel tinyxml lib, keyword ~arm droped
22 Oct 2011; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-setup-0.3.1-r1.ebuild:
diff --git a/media-plugins/vdr-setup/Manifest b/media-plugins/vdr-setup/Manifest
index e1a58ea8bd44..aa992003039e 100644
--- a/media-plugins/vdr-setup/Manifest
+++ b/media-plugins/vdr-setup/Manifest
@@ -1,6 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 090-vdr-setup-0.3.1_extern-tinyxml.diff 3496 RMD160 e55150d7f81f92a6fc006d2dc08d5754952e810a SHA1 fe3ab6ee9edc96b69784a8a759d76e4162712e8e SHA256 09b098f0769eb7572539de9a9372a694713dafa78773c176399f4e47c670da92
AUX vdr-menu.de.xml 2908 RMD160 3e5e24e7698053faf6ff4b2f307c7c7eae34c94d SHA1 18c5de2a41b718d6aebaa5fe8a0eb06425de4774 SHA256 2ad476894cac88bbcf085927e2be26c39fbe94f79a99c3e3edc5abfe9cc0720c
AUX vdr-menu.en.xml 2913 RMD160 bed19f4cc91ff31a132c1e008361a12b1c195631 SHA1 2810aa412f5ce1d0c1e32b2ae3dffd66dfabbc8d SHA256 59c34d547a943d7056a050c6cca42f5dcc235475ea815918af1f3cb17172bd8b
AUX vdr-setup-0.3.1-gcc-4.x.diff 2560 RMD160 1ef325019522d4ee5757ec5ffdc51239ca1b8427 SHA1 5de78950064149e9e94ec65acadc1321b273b22a SHA256 fe8595e8965977f0df4aa1816607eb2f824bd5b8c72c5d885efd26b22eae8b88
@@ -12,13 +13,14 @@ AUX vdr-setup.de.xml 8338 RMD160 63bb870b9eb21a207d6e5fca47613359b56e3cea SHA1 4
AUX vdr-setup.en.xml 8328 RMD160 15eb50c71817ee93b2e453fa574f1ce8c4205c01 SHA1 eebebee4b43baa0c0f5b6b006a10dd87745c7668 SHA256 496a5ddf8b5f47dd1592cf73f108d7dc7504a8c30c7f0049282572ef5321a0a5
DIST vdr-setup-0.3.1.tgz 89366 RMD160 81bc99b57669cff762aed4f452db4ddb67662c22 SHA1 301967f7876b9ec78326ca48c436a08146093540 SHA256 b44457c384a6fcf22baa24ae7cbeca3d8e23c9d93c7be5c1601dbca338828392
EBUILD vdr-setup-0.3.1-r1.ebuild 2532 RMD160 ba24dda57dbdd167d7f78302f19af34a974af480 SHA1 31ed7596b089cfb48172e513320f61735d823eb9 SHA256 a933603fde300b28696020a25842efaa64b755d9f3d91855d36469d0b0c6db61
-MISC ChangeLog 3926 RMD160 7290610e7ec09a7c5b8009d16ebe372ca9b194ce SHA1 a9ccdf05ed53aa6210ee8d1fe5669657e1f24c38 SHA256 fe7a99e6085860978b56a89d1de8ebc93557f578750eff97020dd6de36fe4f00
+EBUILD vdr-setup-0.3.1-r4.ebuild 2205 RMD160 e36fc7e89f37c82f919b63658f04af64edf96952 SHA1 b18d206c30878b83d54d9c55eabc1e3396422ac1 SHA256 3717c112ac6601d1729060c78cdd619fd36f82d77bb6fd864a3a52e106174ff7
+MISC ChangeLog 4147 RMD160 486961ddbe4a9cfeaee1caf7482c9243ce4510a6 SHA1 1dcf8f58cd0b2943653833b87c72c7a85cd08d8b SHA256 31039736798c934905e832962329660a4d6d8a28af853ed1f4b998b471f8375c
MISC metadata.xml 540 RMD160 cca198c4529623f25ab1009757673485c021c7da SHA1 586e6fd714fc530db6d4ca19cee2de28d19d9a38 SHA256 a9aa7b1d1b97ae4d5656042dbddab1cdfc9092b6acb94114a59eba5b44175233
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFOoxLndn07HTTCgIoRAtNcAJ4+Fevo/kkW4EmKVXV8LgDiVOHJUwCeOxQP
-QxsYga7BTi3Xe1Y0wzpnE0Y=
-=72Ho
+iD8DBQFOpDlMdn07HTTCgIoRAsReAJ9ImNxfGPu3JGTmY1TlqQ89w7gDiwCfWHYt
+/ovpsw08pFFlau3msfB0hEI=
+=Pom5
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-setup/files/090-vdr-setup-0.3.1_extern-tinyxml.diff b/media-plugins/vdr-setup/files/090-vdr-setup-0.3.1_extern-tinyxml.diff
new file mode 100644
index 000000000000..ed29d6de5f27
--- /dev/null
+++ b/media-plugins/vdr-setup/files/090-vdr-setup-0.3.1_extern-tinyxml.diff
@@ -0,0 +1,107 @@
+diff -Naur setup-0.3.1.orig/config.cpp setup-0.3.1/config.cpp
+--- setup-0.3.1.orig/config.cpp 2010-10-02 18:16:25.000000000 +0200
++++ setup-0.3.1/config.cpp 2010-10-02 18:18:52.000000000 +0200
+@@ -13,7 +13,7 @@
+ #include <sys/types.h>
+ #include <dirent.h>
+ #include "vdr/plugin.h"
+-#include "vdr/tinystr.h"
++#include <tinystr.h>
+ #include "config.h"
+ #include "sysconfig.h"
+ #include "plugins.h"
+diff -Naur setup-0.3.1.orig/config.h setup-0.3.1/config.h
+--- setup-0.3.1.orig/config.h 2010-10-02 18:16:25.000000000 +0200
++++ setup-0.3.1/config.h 2010-10-02 18:19:06.000000000 +0200
+@@ -11,7 +11,7 @@
+
+ #ifndef CONFIG_H
+ #define CONFIG_H
+-#include "vdr/tinystr.h"
++#include <tinystr.h>
+ #include "plugins.h"
+ #include "sysconfig.h"
+ #include "menus.h"
+diff -Naur setup-0.3.1.orig/Makefile setup-0.3.1/Makefile
+--- setup-0.3.1.orig/Makefile 2010-10-02 18:16:25.000000000 +0200
++++ setup-0.3.1/Makefile 2010-10-02 18:18:21.000000000 +0200
+@@ -46,7 +46,9 @@
+ INCLUDES += -I$(VDRDIR)
+
+ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DVDRVERSION="\"$(VDRVERSION)\""
++DEFINES += -DTIXML_USE_STL
+
++LIBS += -ltinyxml
+
+ ifdef BIGPATCH_INSTALLED
+ DEFINES += -DBIGPATCH_INSTALLED
+@@ -81,7 +83,7 @@
+
+
+ libvdr-$(PLUGIN).so: setupsystemmenu.cpp $(OBJS)
+- $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
++ $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+ @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+
+ setupsystemmenu.cpp: /usr/share/vdr/setup/menu.c
+diff -Naur setup-0.3.1.orig/menus.cpp setup-0.3.1/menus.cpp
+--- setup-0.3.1.orig/menus.cpp 2010-10-02 18:16:25.000000000 +0200
++++ setup-0.3.1/menus.cpp 2010-10-02 18:20:06.000000000 +0200
+@@ -344,11 +344,11 @@
+ bool ok = true;
+ TiXmlElement *elem = NULL;
+
+- if(xmlNode != NULL && xmlNode->Type() == TiXmlNode::ELEMENT)
++ if(xmlNode != NULL && xmlNode->Type() == TiXmlNode::TINYXML_ELEMENT)
+ {
+ do
+ {
+- if(xmlNode->Type() == TiXmlNode::ELEMENT)
++ if(xmlNode->Type() == TiXmlNode::TINYXML_ELEMENT)
+ {
+ elem = xmlNode->ToElement ();
+ if( strcmp(xmlNode->Value(), "menu")== 0)
+@@ -810,7 +810,7 @@
+ }
+ }
+ else
+- if( node != NULL && node->Type() == TiXmlNode::ELEMENT)
++ if( node != NULL && node->Type() == TiXmlNode::TINYXML_ELEMENT)
+ {
+ do
+ {
+@@ -991,7 +991,7 @@
+ bool ok = true;
+ TiXmlElement *elem = NULL;
+
+- if(node != NULL && node->Type() == TiXmlNode::ELEMENT)
++ if(node != NULL && node->Type() == TiXmlNode::TINYXML_ELEMENT)
+ {
+
+ elem = node->ToElement ();
+@@ -1183,11 +1183,11 @@
+ {
+ bool ok = true;
+ TiXmlElement *elem = NULL;
+- if(node != NULL && node->Type() == TiXmlNode::ELEMENT && (node=node->FirstChild())!=NULL)
++ if(node != NULL && node->Type() == TiXmlNode::TINYXML_ELEMENT && (node=node->FirstChild())!=NULL)
+ {
+ do
+ {
+- if(node->Type() == TiXmlNode::ELEMENT && strcmp(node->Value(), "menu")== 0)
++ if(node->Type() == TiXmlNode::TINYXML_ELEMENT && strcmp(node->Value(), "menu")== 0)
+ {
+ elem = node->ToElement ();
+ const char* name = elem->Attribute("name");
+diff -Naur setup-0.3.1.orig/menus.h setup-0.3.1/menus.h
+--- setup-0.3.1.orig/menus.h 2010-10-02 18:16:25.000000000 +0200
++++ setup-0.3.1/menus.h 2010-10-02 18:20:42.000000000 +0200
+@@ -13,7 +13,7 @@
+ #define MENUS_H
+ #include <vdr/tools.h>
+ #include "util.h"
+-#include "vdr/tinystr.h"
++#include <tinyxml.h>
+ #include "sysconfig.h"
+
+
diff --git a/media-plugins/vdr-setup/vdr-setup-0.3.1-r4.ebuild b/media-plugins/vdr-setup/vdr-setup-0.3.1-r4.ebuild
new file mode 100644
index 000000000000..c067afc5575b
--- /dev/null
+++ b/media-plugins/vdr-setup/vdr-setup-0.3.1-r4.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2011 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-r4.ebuild,v 1.1 2011/10/23 15:56:34 hd_brummy Exp $
+
+EAPI="2"
+
+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 ~x86 ~ppc"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6.0_p2-r7[setup]
+ >=dev-libs/tinyxml-2.6.1[stl]"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-gcc-4.x.diff"
+ "${FILESDIR}/${P}-gentoo.diff"
+ "${FILESDIR}/${P}-lang.diff"
+ "${FILESDIR}/${P}-timers.diff"
+ "${FILESDIR}/${P}-vdr-1.5.0.diff"
+ "${FILESDIR}/090-${P}_extern-tinyxml.diff" )
+
+LANGS="en de"
+
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+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
+}