From 5f480e189e184c07bd08b7d13978d31bd6369656 Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 29 Nov 2004 19:10:57 +0000 Subject: [PATCH] fake: mythtv: update to cvs version from 2004-11-14 add experimental dvb patches - needs testing [2004112317275508971] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4901 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/fake/mythtv/gcc34.patch | 29 ----------------------------- package/fake/mythtv/mythtv.conf | 10 +++++++++- package/fake/mythtv/mythtv.desc | 9 +++++++-- 3 files changed, 16 insertions(+), 32 deletions(-) delete mode 100644 package/fake/mythtv/gcc34.patch diff --git a/package/fake/mythtv/gcc34.patch b/package/fake/mythtv/gcc34.patch deleted file mode 100644 index 26ba1e24e..000000000 --- a/package/fake/mythtv/gcc34.patch +++ /dev/null @@ -1,29 +0,0 @@ -# --- ROCK-COPYRIGHT-NOTE-BEGIN --- -# -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# Please add additional copyright information _after_ the line containing -# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -# -# ROCK Linux: rock-src/package/fake/mythtv/gcc34.patch -# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# -# --- ROCK-COPYRIGHT-NOTE-END --- - ---- ./libs/libmythtv/dvbdiseqc.cpp.orig 2004-09-14 08:25:11.763437808 +0200 -+++ ./libs/libmythtv/dvbdiseqc.cpp 2004-09-14 08:25:26.146251288 +0200 -@@ -30,6 +30,7 @@ - */ - - #include -+#include - #include "pthread.h" - #include "qsqldatabase.h" - diff --git a/package/fake/mythtv/mythtv.conf b/package/fake/mythtv/mythtv.conf index 26d2943e3..813e3c5b5 100644 --- a/package/fake/mythtv/mythtv.conf +++ b/package/fake/mythtv/mythtv.conf @@ -27,9 +27,16 @@ else prefix=$ROCKCFG_PKG_MYTHTV_PREFIX fi +mythtv_prepatch() { + # apply the dvb patches to enable channel scanning, etc. + bzcat $archdir/dvb_patch_v2.1-fake.diff.bz2 | patch -p0 + # .. and extract the embedded bzip2 into the mythtv dir. + tar --use-compress-program=bzip2 -xf $archdir/dvb_patch_v2.1_files.tar.bz2 +} + mythtv_premake() { - sed -i -e "s,^PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro + sed -i -e "s,PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro # enable dvb support if we have some includes to feed to mythtv for dvbdir in $root/usr/include $root/usr/src/linux*/include ; do @@ -67,6 +74,7 @@ mythtv_postmake() { cp -r configfiles $docdir/examples } +hook_add prepatch 1 mythtv_prepatch hook_add premake 1 mythtv_premake hook_add postmake 5 mythtv_postmake diff --git a/package/fake/mythtv/mythtv.desc b/package/fake/mythtv/mythtv.desc index c5613ce78..d7fb86b13 100644 --- a/package/fake/mythtv/mythtv.desc +++ b/package/fake/mythtv/mythtv.desc @@ -41,8 +41,13 @@ [L] GPL [S] Stable -[V] 0.16 +[V] 2004-11-14 [P] X -?---5---9 128.100 -[D] 2139657 mythtv-0.16.tar.bz2 http://www.mythtv.org/mc/ +[SRC] mythtv + +[D] X mythtv-2004-11-14.tar.bz2 cvs://pserver:mythtv:mythtv@cvs.mythtv.org:/var/lib/mythcvs::mythtv/!2004-11-14 +# [D] 2139657 mythtv-0.16.tar.bz2 http://www.mythtv.org/mc/ +[D] 1863291052 dvb_patch_v2.1-fake.diff.bz2 http://www.rocklinux.net/people/fake/mythtv/ +[D] 2714057758 dvb_patch_v2.1_files.tar.bz2 http://www.rocklinux.net/people/fake/mythtv/