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-decruft | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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-decruft')
5 files changed, 82 insertions, 0 deletions
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 <hd_brummy@gentoo.org> 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 <vdr/channels.h> ++#include <vdr/dvbdevice.h> + + #include <stdio.h> + #include <string.h> +@@ -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 @@ +<?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-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 +} |