summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-05-15 14:12:32 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-05-15 14:12:32 +0000
commitb2f93752e30a2a5d0598d14102c411fea0e189dc (patch)
treeb288047592acec444af583e4d3f632578dd488f0 /media-plugins/vdr-text2skin
parentAdd media-plugins/vdr-text2skin:direct_blit. (diff)
downloadhistorical-b2f93752e30a2a5d0598d14102c411fea0e189dc.tar.gz
historical-b2f93752e30a2a5d0598d14102c411fea0e189dc.tar.bz2
historical-b2f93752e30a2a5d0598d14102c411fea0e189dc.zip
Initial import of vdr-text2skin (optimized version). Based on ebuild from gentoo.de. Bug #145575.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'media-plugins/vdr-text2skin')
-rw-r--r--media-plugins/vdr-text2skin/ChangeLog13
-rw-r--r--media-plugins/vdr-text2skin/Manifest46
-rw-r--r--media-plugins/vdr-text2skin/files/20070506/01_gcc-4.diff44
-rw-r--r--media-plugins/vdr-text2skin/files/20070506/02_uint64.diff22
-rw-r--r--media-plugins/vdr-text2skin/files/20070506/03_gentoo.diff13
-rw-r--r--media-plugins/vdr-text2skin/files/20070506/04_no_direct_blit.diff15
-rw-r--r--media-plugins/vdr-text2skin/files/20070506/series4
-rw-r--r--media-plugins/vdr-text2skin/files/digest-vdr-text2skin-1.0.200705063
-rw-r--r--media-plugins/vdr-text2skin/metadata.xml9
-rw-r--r--media-plugins/vdr-text2skin/vdr-text2skin-1.0.20070506.ebuild62
10 files changed, 231 insertions, 0 deletions
diff --git a/media-plugins/vdr-text2skin/ChangeLog b/media-plugins/vdr-text2skin/ChangeLog
new file mode 100644
index 000000000000..cd9e0e2f949e
--- /dev/null
+++ b/media-plugins/vdr-text2skin/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for media-plugins/vdr-text2skin
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-text2skin/ChangeLog,v 1.1 2007/05/15 14:12:32 zzam Exp $
+
+*vdr-text2skin-1.0.20070506 (15 May 2007)
+
+ 15 May 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/20070506/03_gentoo.diff, +files/20070506/01_gcc-4.diff,
+ +files/20070506/02_uint64.diff, +files/20070506/04_no_direct_blit.diff,
+ +files/20070506/series, +metadata.xml, +vdr-text2skin-1.0.20070506.ebuild:
+ Initial import of vdr-text2skin (optimized version). Based on ebuild from
+ gentoo.de. Bug #145575.
+
diff --git a/media-plugins/vdr-text2skin/Manifest b/media-plugins/vdr-text2skin/Manifest
new file mode 100644
index 000000000000..a806fdbd3ee0
--- /dev/null
+++ b/media-plugins/vdr-text2skin/Manifest
@@ -0,0 +1,46 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 20070506/01_gcc-4.diff 1855 RMD160 0f91d9e4355a0daeb3b2a179816bfcbe0a448c1a SHA1 6a9a7848d5fb424505c16d7a60e91bed7928b95c SHA256 469cd4f775a11da21a23e2799c886f5c6b173a5f9504b4c401559954860f6bc8
+MD5 6d9f3425465a1a298c5d4f2314c6be7e files/20070506/01_gcc-4.diff 1855
+RMD160 0f91d9e4355a0daeb3b2a179816bfcbe0a448c1a files/20070506/01_gcc-4.diff 1855
+SHA256 469cd4f775a11da21a23e2799c886f5c6b173a5f9504b4c401559954860f6bc8 files/20070506/01_gcc-4.diff 1855
+AUX 20070506/02_uint64.diff 794 RMD160 b91687e0ad2e5560d3b0e35bb85bfd0df97bc67c SHA1 e1a6ee8763bb5ff7be0ee08eaabacbbe947e3fa8 SHA256 b3545629d2232fe7daa1c3fa36db344b33942d14ae7583a433c36fbedf04c12c
+MD5 2921af44161959a597d9f044ac146a19 files/20070506/02_uint64.diff 794
+RMD160 b91687e0ad2e5560d3b0e35bb85bfd0df97bc67c files/20070506/02_uint64.diff 794
+SHA256 b3545629d2232fe7daa1c3fa36db344b33942d14ae7583a433c36fbedf04c12c files/20070506/02_uint64.diff 794
+AUX 20070506/03_gentoo.diff 434 RMD160 190fb931c9481e6d692a270344b4c995e7aa03b0 SHA1 4fa89190551b6d1435195cccbc31a6ed4dfd415b SHA256 eff41ebe1807f1bbcf8d797d53ae0561d3747b1c0e5f64e8dfa80ac69e8cd63a
+MD5 1691de83b3d305e32b52957d199c61ce files/20070506/03_gentoo.diff 434
+RMD160 190fb931c9481e6d692a270344b4c995e7aa03b0 files/20070506/03_gentoo.diff 434
+SHA256 eff41ebe1807f1bbcf8d797d53ae0561d3747b1c0e5f64e8dfa80ac69e8cd63a files/20070506/03_gentoo.diff 434
+AUX 20070506/04_no_direct_blit.diff 440 RMD160 101738bd5ac6359deb016965d6cf3024e6a2efe2 SHA1 5a5a50ef10b93f3eb43565767f2c0b602fd79f7e SHA256 c4cdabc7e629cf71c8e6cd15dbc548e1997352c75065ad7809b3c0b84fda22b0
+MD5 00745d482462ef3588eaf39d77f2b40c files/20070506/04_no_direct_blit.diff 440
+RMD160 101738bd5ac6359deb016965d6cf3024e6a2efe2 files/20070506/04_no_direct_blit.diff 440
+SHA256 c4cdabc7e629cf71c8e6cd15dbc548e1997352c75065ad7809b3c0b84fda22b0 files/20070506/04_no_direct_blit.diff 440
+AUX 20070506/series 67 RMD160 55b0d0d074267b75d5e72eccf5135579a38739da SHA1 1f97b7615b2009f8275dff260bed9c9fce2df89c SHA256 4cc3f3e8813016eb749c2c102c3aec8a17ca7c960be29903f598bd07431f9fad
+MD5 a19fcb397ad8cdeb2db4e3d4177a1d83 files/20070506/series 67
+RMD160 55b0d0d074267b75d5e72eccf5135579a38739da files/20070506/series 67
+SHA256 4cc3f3e8813016eb749c2c102c3aec8a17ca7c960be29903f598bd07431f9fad files/20070506/series 67
+DIST text2skin-1.1-cvs_ext-0.10-patched-20070506.tar.bz2 81003 RMD160 536b22e3d61ee9978319dd301b5360f220fc3b3d SHA1 a9efacdd26a03ae39234cb3c7772509802ae7e13 SHA256 e1e6314a14568402e75c9b9fb5a81d76877d22e37c81ff102c380fdaed676d0f
+EBUILD vdr-text2skin-1.0.20070506.ebuild 1358 RMD160 5536f5a8edb0f2b4bc8372692b54dc95e00776f8 SHA1 6a54524066d29119b624f718b173b1de8b5eff65 SHA256 85383761a192ba3d8f5af69c54b55162ff2e0b77c1546e2050a9c3e6f68b4895
+MD5 493b9e69eedce7a0a0624a9f5fbf7be9 vdr-text2skin-1.0.20070506.ebuild 1358
+RMD160 5536f5a8edb0f2b4bc8372692b54dc95e00776f8 vdr-text2skin-1.0.20070506.ebuild 1358
+SHA256 85383761a192ba3d8f5af69c54b55162ff2e0b77c1546e2050a9c3e6f68b4895 vdr-text2skin-1.0.20070506.ebuild 1358
+MISC ChangeLog 640 RMD160 a3d7e808ac0da756a0653bb41653cb685944499a SHA1 cfd6432be76868ea93ee30235705b88bd0b4f826 SHA256 1ea82fc4c92a54d00ef1590090399da42ce14b46f724017dfc929ab187e69cde
+MD5 1fa46a0b7d1e7990df5a150c6949f7c8 ChangeLog 640
+RMD160 a3d7e808ac0da756a0653bb41653cb685944499a ChangeLog 640
+SHA256 1ea82fc4c92a54d00ef1590090399da42ce14b46f724017dfc929ab187e69cde ChangeLog 640
+MISC metadata.xml 254 RMD160 f04eaf436b177162c4bc30410e0be18c10aa7eb8 SHA1 0eb18080a9e96806e546958b2f13a3ec24288d21 SHA256 8071ffd41e5c7bd3f22bd02b1bc6b2967a6b53836836ede58a62a99eddea2b9b
+MD5 991bfee1cf6c6f64dbe97f2c1209cf36 metadata.xml 254
+RMD160 f04eaf436b177162c4bc30410e0be18c10aa7eb8 metadata.xml 254
+SHA256 8071ffd41e5c7bd3f22bd02b1bc6b2967a6b53836836ede58a62a99eddea2b9b metadata.xml 254
+MD5 8d60dc6cb58c25b9e769db4ff7f60ed7 files/digest-vdr-text2skin-1.0.20070506 331
+RMD160 817bde9b2e5559bcc254c08e8add52cd1f0cdc3c files/digest-vdr-text2skin-1.0.20070506 331
+SHA256 57dad08e6025e0daf3493a379daaf229cc79bbde8dd81e1272c85146d43b6618 files/digest-vdr-text2skin-1.0.20070506 331
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.4 (GNU/Linux)
+
+iD8DBQFGSb/Zt2vP6XvVdOcRApXSAKCJ3GLvioyZ0PXEPKbYGjyK7iohzgCfT1os
+QbimwPFWqQ9dGIotSlWVXRE=
+=qpuk
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-text2skin/files/20070506/01_gcc-4.diff b/media-plugins/vdr-text2skin/files/20070506/01_gcc-4.diff
new file mode 100644
index 000000000000..6bade6cc1570
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/20070506/01_gcc-4.diff
@@ -0,0 +1,44 @@
+Index: text2skin-1.1-cvs_ext-0.10-patched-20070506/xml/object.h
+===================================================================
+--- text2skin-1.1-cvs_ext-0.10-patched-20070506.orig/xml/object.h
++++ text2skin-1.1-cvs_ext-0.10-patched-20070506/xml/object.h
+@@ -55,7 +55,7 @@ public:
+ uint Type(void) const { return mRefreshType; }
+ bool Parse(const std::string &Text);
+ bool ParseChanged(const std::string &Text);
+- cxRefresh &cxRefresh::operator=(const cxRefresh &b);
++ cxRefresh &operator=(const cxRefresh &b);
+
+ private:
+ uint mRefreshType;
+Index: text2skin-1.1-cvs_ext-0.10-patched-20070506/xml/skin.h
+===================================================================
+--- text2skin-1.1-cvs_ext-0.10-patched-20070506.orig/xml/skin.h
++++ text2skin-1.1-cvs_ext-0.10-patched-20070506/xml/skin.h
+@@ -28,21 +28,21 @@ public:
+ bool Limit( int ma, int min ) const {
+ return mMajor < ma ? true : (mMajor == ma ? mMinor <= min : false);
+ }
+- bool cxVersion::operator==( const cxVersion &v ) const {
++ bool operator==( const cxVersion &v ) const {
+ return mMajor == v.mMajor && mMinor == v.mMinor;
+ }
+- bool cxVersion::operator>=( const cxVersion &v ) const {
++ bool operator>=( const cxVersion &v ) const {
+ return Require( v.mMajor , v.mMinor);
+ }
+- bool cxVersion::operator>=( const char *c ) const {
++ bool operator>=( const char *c ) const {
+ cxVersion v;
+ if( !v.Parse(c) ) return false;
+ return Require( v.mMajor , v.mMinor);
+ }
+- bool cxVersion::operator<=( const cxVersion &v ) const {
++ bool operator<=( const cxVersion &v ) const {
+ return Limit( v.mMajor , v.mMinor );
+ }
+- bool cxVersion::operator<=( const char *c ) const {
++ bool operator<=( const char *c ) const {
+ cxVersion v;
+ if( !v.Parse(c) ) return false;
+ return Limit( v.mMajor , v.mMinor);
diff --git a/media-plugins/vdr-text2skin/files/20070506/02_uint64.diff b/media-plugins/vdr-text2skin/files/20070506/02_uint64.diff
new file mode 100644
index 000000000000..4b2da8cf6e40
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/20070506/02_uint64.diff
@@ -0,0 +1,22 @@
+Index: text2skin-1.1-cvs_ext-0.10-patched-20070506/common.h
+===================================================================
+--- text2skin-1.1-cvs_ext-0.10-patched-20070506.orig/common.h
++++ text2skin-1.1-cvs_ext-0.10-patched-20070506/common.h
+@@ -17,7 +17,7 @@
+ # else
+ # define Dprintf(x...)
+ # endif
+-# define Dbench(x) uint64 bench_##x = time_ms()
++# define Dbench(x) uint64_t bench_##x = time_ms()
+ # define Ddiff(t,x) fprintf(stderr, "%s took %llu ms\n", t, time_ms() - bench_##x)
+ #else
+ # define Dprintf(x...)
+@@ -25,7 +25,7 @@
+ # define Ddiff(t,x)
+ #endif
+
+-#define DStartBench(x) uint64 bench_##x = time_ms()
++#define DStartBench(x) uint64_t bench_##x = time_ms()
+ #define DShowBench(t,x) fprintf(stderr, "%s took %llu ms\n", t, time_ms() - bench_##x)
+
+ #if VDRVERSNUM >= 10318
diff --git a/media-plugins/vdr-text2skin/files/20070506/03_gentoo.diff b/media-plugins/vdr-text2skin/files/20070506/03_gentoo.diff
new file mode 100644
index 000000000000..f9cb59dce81b
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/20070506/03_gentoo.diff
@@ -0,0 +1,13 @@
+Index: text2skin-1.1-cvs_ext-0.10/common.c
+===================================================================
+--- text2skin-1.1-cvs_ext-0.10.orig/common.c
++++ text2skin-1.1-cvs_ext-0.10/common.c
+@@ -15,7 +15,7 @@
+ const std::string &SkinPath(void)
+ {
+ // should never change
+- static std::string path = cPlugin::ConfigDirectory(PLUGIN_NAME_I18N);
++ static std::string path = "/usr/share/vdr/" PLUGIN_NAME_I18N;
+ return path;
+ }
+
diff --git a/media-plugins/vdr-text2skin/files/20070506/04_no_direct_blit.diff b/media-plugins/vdr-text2skin/files/20070506/04_no_direct_blit.diff
new file mode 100644
index 000000000000..6a3ccec1dfe3
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/20070506/04_no_direct_blit.diff
@@ -0,0 +1,15 @@
+Index: text2skin-1.1-cvs_ext-0.10-patched-20070506/screen.h
+===================================================================
+--- text2skin-1.1-cvs_ext-0.10-patched-20070506.orig/screen.h
++++ text2skin-1.1-cvs_ext-0.10-patched-20070506/screen.h
+@@ -8,8 +8,8 @@
+ #include "common.h"
+ #include <vdr/osd.h>
+
+-// #undef DIRECTBLIT
+-#define DIRECTBLIT
++#undef DIRECTBLIT
++// #define DIRECTBLIT
+
+ class cText2SkinScreen {
+ /* Skin Editor */
diff --git a/media-plugins/vdr-text2skin/files/20070506/series b/media-plugins/vdr-text2skin/files/20070506/series
new file mode 100644
index 000000000000..951062a93e72
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/20070506/series
@@ -0,0 +1,4 @@
+01_gcc-4.diff
+02_uint64.diff
+03_gentoo.diff
+04_no_direct_blit.diff
diff --git a/media-plugins/vdr-text2skin/files/digest-vdr-text2skin-1.0.20070506 b/media-plugins/vdr-text2skin/files/digest-vdr-text2skin-1.0.20070506
new file mode 100644
index 000000000000..d2d6740f5987
--- /dev/null
+++ b/media-plugins/vdr-text2skin/files/digest-vdr-text2skin-1.0.20070506
@@ -0,0 +1,3 @@
+MD5 b0b829a4eb6356fe19852853b3f75a11 text2skin-1.1-cvs_ext-0.10-patched-20070506.tar.bz2 81003
+RMD160 536b22e3d61ee9978319dd301b5360f220fc3b3d text2skin-1.1-cvs_ext-0.10-patched-20070506.tar.bz2 81003
+SHA256 e1e6314a14568402e75c9b9fb5a81d76877d22e37c81ff102c380fdaed676d0f text2skin-1.1-cvs_ext-0.10-patched-20070506.tar.bz2 81003
diff --git a/media-plugins/vdr-text2skin/metadata.xml b/media-plugins/vdr-text2skin/metadata.xml
new file mode 100644
index 000000000000..b4862f352c90
--- /dev/null
+++ b/media-plugins/vdr-text2skin/metadata.xml
@@ -0,0 +1,9 @@
+<?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-text2skin/vdr-text2skin-1.0.20070506.ebuild b/media-plugins/vdr-text2skin/vdr-text2skin-1.0.20070506.ebuild
new file mode 100644
index 000000000000..3d84948a3620
--- /dev/null
+++ b/media-plugins/vdr-text2skin/vdr-text2skin-1.0.20070506.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-text2skin/vdr-text2skin-1.0.20070506.ebuild,v 1.1 2007/05/15 14:12:32 zzam Exp $
+
+
+inherit vdr-plugin versionator
+
+MY_PV=$(get_version_component_range 3)
+MY_BASE="text2skin-1.1-cvs_ext-0.10"
+MY_P="${MY_BASE}-patched-${MY_PV}"
+
+DESCRIPTION="VDR text2skin PlugIn"
+HOMEPAGE="http://www.magoa.net/linux/"
+SRC_URI="ftp://merkur.2y.net/pub/vdr/${MY_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="truetype direct_blit"
+
+DEPEND=">=media-video/vdr-1.3.18
+ media-gfx/imagemagick
+ truetype? ( media-libs/freetype )
+ !media-plugins/vdr-text2skin-cvs"
+
+PATCHES="
+ ${FILESDIR}/${MY_PV}/01_gcc-4.diff
+ ${FILESDIR}/${MY_PV}/02_uint64.diff
+ ${FILESDIR}/${MY_PV}/03_gentoo.diff"
+
+
+S="${WORKDIR}/${MY_BASE}"
+
+SKINDIR=/usr/share/vdr/${VDRPLUGIN}
+ETC_SKIN_DIR=/etc/vdr/plugins/${VDRPLUGIN}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd "${S}"
+ use truetype || sed -i Makefile -e 's/^HAVE_FREETYPE/#HAVE_FREETYPE/'
+
+ if ! use direct_blit; then
+ epatch "${FILESDIR}/${MY_PV}/04_no_direct_blit.diff"
+ fi
+}
+
+
+src_install() {
+ vdr-plugin_src_install
+
+ keepdir "${SKINDIR}"
+
+ exeinto "${SKINDIR}/contrib"
+ doexe ${S}/contrib/skin_to_*.pl
+ doexe ${S}/contrib/transform.pl
+
+ dodoc SKINS*
+ dodoc ${S}/Docs/*.txt
+}
+
+