diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-picselshow | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-picselshow')
6 files changed, 143 insertions, 0 deletions
diff --git a/media-plugins/vdr-picselshow/Manifest b/media-plugins/vdr-picselshow/Manifest new file mode 100644 index 00000000000..d1ed91e8387 --- /dev/null +++ b/media-plugins/vdr-picselshow/Manifest @@ -0,0 +1 @@ +DIST vdr-picselshow-0.0.2.tar.gz 97365 SHA256 48cb37a10e9fe946b2a97b986c96fc943f89fb67e2fe5535df98bab1f4802ac7 diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff new file mode 100644 index 00000000000..de72e9e5b31 --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff @@ -0,0 +1,23 @@ +diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c +--- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200 ++++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200 +@@ -453,7 +453,7 @@ + + bool cFileSource::Action(eAction act) + { +- static char *str[] = { "mount", "unmount", "eject", "status" }; ++ static const char *str[] = { "mount", "unmount", "eject", "status" }; + + char *cmd = 0; + asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir); +diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h +--- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200 ++++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200 +@@ -5,6 +5,7 @@ + #ifndef VDR_IMAGECACHE_HPP + #define VDR_IMAGECACHE_HPP + ++#include <sys/types.h> + #include <map> + #include <vector> + #include <string> diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff new file mode 100644 index 00000000000..a7f50817e06 --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff @@ -0,0 +1,11 @@ +--- picselshow-0.0.2-orig/picselshow.c 2007-05-17 23:25:57.000000000 +0200 ++++ picselshow-0.0.2/picselshow.c 2007-08-01 08:52:36.000000000 +0200 +@@ -58,7 +58,7 @@ + return ImageSetup.SetupParse(szName,szValue); + } + +-const char *g_szConfigDirectory = NULL; ++const char *g_szConfigDirectory = "picselshow"; + + const char *cPluginImage::CommandLineHelp(void) + { diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff new file mode 100644 index 00000000000..f6c112f36b0 --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff @@ -0,0 +1,51 @@ +--- control-image.c~ 2007-05-18 12:00:59.000000000 +0200 ++++ control-image.c 2007-06-11 15:38:54.000000000 +0200 +@@ -194,7 +194,11 @@ + + void cImageControl::FadeIn(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 0; + +@@ -237,13 +241,21 @@ + fd--; + } + +-needsFastResponse = false; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else ++ needsFastResponse = false; ++#endif + } + + + void cImageControl::FadeOut(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 255; + int fd = 16; +@@ -283,7 +295,11 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + diff --git a/media-plugins/vdr-picselshow/metadata.xml b/media-plugins/vdr-picselshow/metadata.xml new file mode 100644 index 00000000000..d1b88e6872a --- /dev/null +++ b/media-plugins/vdr-picselshow/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild new file mode 100644 index 00000000000..86ae00c8826 --- /dev/null +++ b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR plugin: picselshow for vdr-music" +HOMEPAGE="http://www.vdr.glaserei-franz.de/" +SRC_URI="http://www.kost.sh/vdr/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +PATCHES=("${FILESDIR}/${P}-vdr-1.5.x.diff" + "${FILESDIR}/${P}-gcc-4.4.diff" + "${FILESDIR}/${P}-gentoo.diff") + +DEPEND="imagemagick? ( media-gfx/imagemagick ) + !imagemagick? ( media-libs/imlib2 )" + +RDEPEND="media-plugins/vdr-image + media-plugins/vdr-music" + +src_prepare() { + vdr-plugin-2_src_prepare + + use imagemagick && sed -i Makefile -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:" + + sed -i example/imagesources.conf -e "s:/media/vdrdaten/bilder:/mnt/images:" + + sed -i example/imagesources.conf -e \ + "s:/VDR/etc/plugins/music/downloads/music_cover:/etc/vdr/plugins/music/downloads/music_cover:" +} + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/picselshow + doins -r picselshow/* + doins example/* +} |