From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-plugins/vdr-decruft/Manifest | 1 + .../files/vdr-decruft-0.0.4-avoid-vdr-patch.diff | 17 +++++++++++++ .../files/vdr-decruft-0.0.4_compile.patch | 24 +++++++++++++++++++ media-plugins/vdr-decruft/metadata.xml | 12 ++++++++++ .../vdr-decruft/vdr-decruft-0.0.4-r1.ebuild | 28 ++++++++++++++++++++++ 5 files changed, 82 insertions(+) create mode 100644 media-plugins/vdr-decruft/Manifest create mode 100644 media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff create mode 100644 media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch create mode 100644 media-plugins/vdr-decruft/metadata.xml create mode 100644 media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild (limited to 'media-plugins/vdr-decruft') diff --git a/media-plugins/vdr-decruft/Manifest b/media-plugins/vdr-decruft/Manifest new file mode 100644 index 000000000000..2c52b3bbddd6 --- /dev/null +++ b/media-plugins/vdr-decruft/Manifest @@ -0,0 +1 @@ +DIST vdr-decruft-0.0.4.tgz 15921 SHA256 957b0d5ada79e69595424615df94da0b49d6b3c7af43c9d33591b82be3cd5345 SHA512 36afab0059457be83b0c6c578c91e353dd42fb6c154a8f80abc89ed6feab5ca790b24f0fb071cf719f4d94cfbfd914db015b751358e2d48ab09e8b472c715da1 WHIRLPOOL 4d518cecb47cd0abfd6b13d7d3e023fd94cc53547967443d4ebe7c5e6828362056aed8fec02de577873a55ab7e822e7451ebb222e74b6d61e4100cb72f7361a5 diff --git a/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff new file mode 100644 index 000000000000..926c33bc9577 --- /dev/null +++ b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4-avoid-vdr-patch.diff @@ -0,0 +1,17 @@ +diff -urNad vdr-plugin-decruft-0.0.4~/cruft.c vdr-plugin-decruft-0.0.4/cruft.c +--- vdr-plugin-decruft-0.0.4~/cruft.c 2005-02-20 19:34:01.000000000 +0100 ++++ vdr-plugin-decruft-0.0.4/cruft.c 2006-11-11 21:57:24.000000000 +0100 +@@ -535,8 +535,10 @@ + /* Not defined, so define it */ + if ( !groupSep ) { + groupSep = new cChannel(); +- groupSep->SetName(settings->group_name,"",""); +- groupSep->SetGroupSep(true); ++ char* groupSepString; ++ asprintf(&groupSepString, ":%s", settings->group_name); ++ groupSep->Parse(groupSepString); ++ free(groupSepString); + Channels.Add(groupSep); + } + /* Move the channel to the end of the group */ + diff --git a/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch new file mode 100644 index 000000000000..3b89f825a827 --- /dev/null +++ b/media-plugins/vdr-decruft/files/vdr-decruft-0.0.4_compile.patch @@ -0,0 +1,24 @@ +compile fix +https://bugs.gentoo.org/show_bug.cgi?id=537658 +Signed-of-by: Joerg Bornkessel 30/jan/2015 +diff -Naur decruft-0.0.4.orig/cruft.c decruft-0.0.4/cruft.c +--- decruft-0.0.4.orig/cruft.c 2015-01-30 16:41:24.000000000 +0100 ++++ decruft-0.0.4/cruft.c 2015-01-30 16:42:55.000000000 +0100 +@@ -15,6 +15,7 @@ + + + #include ++#include + + #include + #include +@@ -439,7 +440,8 @@ + } + } + if ( settings->num_pols ) { +- char pol = tolower(Channel->Polarization()); ++ cDvbTransponderParameters dtp(Channel->Parameters()); ++ char pol = tolower(dtp.Polarization()); + tests++; + for ( j = 0; j < settings->num_pols; j++ ) { + if ( settings->pols[j] == pol ) { diff --git a/media-plugins/vdr-decruft/metadata.xml b/media-plugins/vdr-decruft/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-decruft/metadata.xml @@ -0,0 +1,12 @@ + + + +media-tv + +vdr@gentoo.org +Gentoo VDR Project + + + + + diff --git a/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild b/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild new file mode 100644 index 000000000000..eec8c22f546e --- /dev/null +++ b/media-plugins/vdr-decruft/vdr-decruft-0.0.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit vdr-plugin-2 + +DESCRIPTION="VDR Plugin: Clean unwanted entries from channels.conf" +HOMEPAGE="http://www.rst38.org.uk/vdr/decruft/" +SRC_URI="http://www.rst38.org.uk/vdr/decruft/${P}.tgz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.21-r2" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}/${P}-avoid-vdr-patch.diff" + "${FILESDIR}/${P}_compile.patch") + +src_install() { + vdr-plugin-2_src_install + insinto /etc/vdr/plugins + doins examples/decruft.conf +} -- cgit v1.2.3-65-gdbad