summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-01-02 14:41:32 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-01-02 14:41:32 +0000
commitda34aa4e4ce2b0cc1f574430d4bdb4b02986263e (patch)
tree83ad211be6d3a97c1773554317c80ccced0a3db6 /media-plugins/vdr-image
parentFails to install with -j4, so force -j1 during install. (diff)
downloadgentoo-2-da34aa4e4ce2b0cc1f574430d4bdb4b02986263e.tar.gz
gentoo-2-da34aa4e4ce2b0cc1f574430d4bdb4b02986263e.tar.bz2
gentoo-2-da34aa4e4ce2b0cc1f574430d4bdb4b02986263e.zip
Version bumped.
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'media-plugins/vdr-image')
-rw-r--r--media-plugins/vdr-image/ChangeLog10
-rw-r--r--media-plugins/vdr-image/files/digest-vdr-image-0.2.73
-rw-r--r--media-plugins/vdr-image/files/vdr-image-0.2.7-gentoo.diff47
-rw-r--r--media-plugins/vdr-image/vdr-image-0.2.7.ebuild64
4 files changed, 122 insertions, 2 deletions
diff --git a/media-plugins/vdr-image/ChangeLog b/media-plugins/vdr-image/ChangeLog
index beb2b984ade7..41b296fe41dc 100644
--- a/media-plugins/vdr-image/ChangeLog
+++ b/media-plugins/vdr-image/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-image
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/ChangeLog,v 1.15 2006/11/20 12:11:45 zzam Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/ChangeLog,v 1.16 2007/01/02 14:41:32 zzam Exp $
+
+*vdr-image-0.2.7 (02 Jan 2007)
+
+ 02 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-image-0.2.7-gentoo.diff, +vdr-image-0.2.7.ebuild:
+ Version bumped.
20 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
vdr-image-0.2.6-r1.ebuild:
diff --git a/media-plugins/vdr-image/files/digest-vdr-image-0.2.7 b/media-plugins/vdr-image/files/digest-vdr-image-0.2.7
new file mode 100644
index 000000000000..f60f848a7e8e
--- /dev/null
+++ b/media-plugins/vdr-image/files/digest-vdr-image-0.2.7
@@ -0,0 +1,3 @@
+MD5 a8af260d4a4080dbb1bca61b6c26c380 vdr-image-0.2.7.tar.gz 120080
+RMD160 7fb93dff5740e5fdf317f0d7b6d666023eb9b3b9 vdr-image-0.2.7.tar.gz 120080
+SHA256 2e2c57164498e53241486a46542fd38294ece0120438b054539b137cfdafb93f vdr-image-0.2.7.tar.gz 120080
diff --git a/media-plugins/vdr-image/files/vdr-image-0.2.7-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.2.7-gentoo.diff
new file mode 100644
index 000000000000..6f07df90090d
--- /dev/null
+++ b/media-plugins/vdr-image/files/vdr-image-0.2.7-gentoo.diff
@@ -0,0 +1,47 @@
+diff -Naur image-0.2.5.orig/control-image.c image-0.2.5/control-image.c
+--- image-0.2.5.orig/control-image.c 2006-03-06 13:53:36.131134750 +0100
++++ image-0.2.5/control-image.c 2006-03-06 13:57:06.248266250 +0100
+@@ -617,7 +617,7 @@
+ return osContinue;
+
+ // Load additional Commands
+- pCmd->Load(AddDirectory(cPlugin::ConfigDirectory(g_szConfigDirectory), "imagecmds.conf"));
++ pCmd->Load(AddDirectory(cPlugin::ConfigDirectory(g_szConfigDirectory), "image/imagecmds.conf"));
+
+ if(pCmd->Count() <= 0) {
+ delete pCmd;
+diff -Naur image-0.2.5.orig/examples/imagecmds.conf image-0.2.5/examples/imagecmds.conf
+--- image-0.2.5.orig/examples/imagecmds.conf 2006-03-06 13:53:36.131134750 +0100
++++ image-0.2.5/examples/imagecmds.conf 2006-03-06 14:10:06.753044750 +0100
+@@ -20,3 +20,5 @@
+ Rotate JPEG picture lossless by 90 degrees to the right : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
+ Rotate JPEG picture lossless by 90 degrees to the left : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
+ Delete picture ?: rm -f %s
++Change burn template : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash
++Change burn template (button) : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash
+diff -Naur image-0.2.5.orig/examples/imagecmds.conf.DE image-0.2.5/examples/imagecmds.conf.DE
+--- image-0.2.5.orig/examples/imagecmds.conf.DE 2006-03-06 13:53:36.131134750 +0100
++++ image-0.2.5/examples/imagecmds.conf.DE 2006-03-06 14:09:52.112129750 +0100
+@@ -11,6 +11,8 @@
+ Informationen über das Bild : identify -verbose
+ Größe des Bildes : du -chs %s
+ Exif Informationen des JPEG-Bildes ausgeben : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp
+-Rotatiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
+-Rotatiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
++Rotiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
++Rotiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s
+ Lösche Bild ?: rm -f %s
++Hintergrund vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash
++Button vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash
+diff -Naur image-0.2.5.orig/image.c image-0.2.5/image.c
+--- image-0.2.5.orig/image.c 2006-03-06 13:53:36.143135500 +0100
++++ image-0.2.5/image.c 2006-03-06 13:57:59.203575750 +0100
+@@ -107,7 +107,7 @@
+ return false;
+ }
+
+- ImageSources.Load(AddDirectory(ConfigDirectory(g_szConfigDirectory), "imagesources.conf"));
++ ImageSources.Load(AddDirectory(ConfigDirectory(g_szConfigDirectory), "image/imagesources.conf"));
+ if(ImageSources.Count()<1) {
+ esyslog("imageplugin: you must have defined at least one source in imagesources.conf");
+ return false;
diff --git a/media-plugins/vdr-image/vdr-image-0.2.7.ebuild b/media-plugins/vdr-image/vdr-image-0.2.7.ebuild
new file mode 100644
index 000000000000..684e4008e07a
--- /dev/null
+++ b/media-plugins/vdr-image/vdr-image-0.2.7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/vdr-image-0.2.7.ebuild,v 1.1 2007/01/02 14:41:32 zzam Exp $
+
+inherit vdr-plugin eutils
+
+DESCRIPTION="Video Disk Recorder Image Plugin"
+HOMEPAGE="http://vdr-image.berlios.de/"
+SRC_URI="http://download.berlios.de/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="exif"
+
+DEPEND=">=media-video/vdr-1.3.38
+ >=media-video/ffmpeg-0.4.8
+ >=media-libs/netpbm-10.0
+ exif? ( media-libs/libexif )"
+
+RDEPEND="${DEPEND}
+ >=media-tv/gentoo-vdr-scripts-0.2.2"
+
+
+VDRPLUGIN_MAKE_TARGET="all -j1"
+
+src_unpack() {
+
+ vdr-plugin_src_unpack
+
+ epatch ${FILESDIR}/${P}-gentoo.diff
+
+ use !exif && sed -i "s:#WITHOUT_LIBEXIF:WITHOUT_LIBEXIF:" Makefile
+}
+
+
+src_install() {
+
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/imagecmds
+ newins examples/imagecmds.conf imagecmds.example.conf
+ newins examples/imagecmds.conf.DE imagecmds.example.conf.de
+
+ insinto /etc/vdr/plugins/image
+ doins examples/imagesources.conf
+
+ into /usr/share/vdr/image
+ dobin scripts/imageplugin.sh
+ newbin scripts/mount.sh mount-image.sh
+}
+
+pkg_postinst() {
+
+ vdr-plugin_pkg_postinst
+
+ echo
+ einfo "Also check /etc/vdr/plugins/image/imagesources.conf"
+ echo
+ einfo "Multilanguage will automaticly supported, just take a look in"
+ einfo "/etc/vdr/imagecmds/* how it works"
+ einfo "By the moment only EN + DE"
+ echo
+}