diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-06-22 11:56:52 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-06-22 11:56:52 +0000 |
commit | e2a21a2effbb0ac9632f7ddee24401a1d325a544 (patch) | |
tree | ebdc88e0f6426411a421106518120a1868858063 /media-plugins | |
parent | Remove obsolete versions. 2.7 version bump without qos and zero-penalty-hit s... (diff) | |
download | gentoo-2-e2a21a2effbb0ac9632f7ddee24401a1d325a544.tar.gz gentoo-2-e2a21a2effbb0ac9632f7ddee24401a1d325a544.tar.bz2 gentoo-2-e2a21a2effbb0ac9632f7ddee24401a1d325a544.zip |
cleanup old version; not fixed for newer ffmpeg
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins')
4 files changed, 7 insertions, 273 deletions
diff --git a/media-plugins/vdr-graphtft/ChangeLog b/media-plugins/vdr-graphtft/ChangeLog index cd3d4f49f08b..71f583ce2734 100644 --- a/media-plugins/vdr-graphtft/ChangeLog +++ b/media-plugins/vdr-graphtft/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/vdr-graphtft # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.4 2008/05/15 12:22:21 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.5 2008/06/22 11:56:51 hd_brummy Exp $ + + 22 Jun 2008; Joerg Bornkessel <hd_brummy@gentoo.org> + -files/vdr-graphtft-0.1.16_alpha-gentoo.diff, + -files/ffmpeg-0.4.9_p20080326-new_header.diff, + -vdr-graphtft-0.1.16_alpha.ebuild: + cleanup old version; not fixed for newer ffmpeg 15 May 2008; Matthias Schwarzott <zzam@gentoo.org> +files/vdr-graphtft-0.1.18_alpha-ffmpeg-0.4.9_p20080326-new_header.diff, diff --git a/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff b/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff deleted file mode 100644 index 660cb9fbb639..000000000000 --- a/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff +++ /dev/null @@ -1,71 +0,0 @@ -new ffmpeg header structur -https://bugs.gentoo.org/show_bug.cgi?id=214740 -Joerg Bornkessel <hd_brummy@gentoo.org> 29 Mar 2008 -diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c graphtft-0.1.16.alpha/imlibrenderer/dvbrenderer/mpeg2encoder.c ---- graphtft-0.1.16.alpha.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c 2008-03-29 14:28:15.000000000 +0100 -+++ graphtft-0.1.16.alpha/imlibrenderer/dvbrenderer/mpeg2encoder.c 2008-03-29 14:30:07.000000000 +0100 -@@ -23,10 +23,10 @@ - - extern "C" - { --#include <avcodec.h> -+#include <libavcodec/avcodec.h> - - #ifdef HAVE_SWSCALE --# include <swscale.h> -+# include <libswscale/swscale.h> - #endif - } - -diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/fbrenderer.c graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/fbrenderer.c ---- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/fbrenderer.c 2008-03-29 14:28:15.000000000 +0100 -+++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/fbrenderer.c 2008-03-29 14:30:33.000000000 +0100 -@@ -31,7 +31,7 @@ - #include <stdlib.h> - - #include <fbrenderer.h> --#include <avcodec.h> -+#include <libavcodec/avcodec.h> - //#include <mpeg2decoder.h> - #include <common.h> - #include <setup.h> -diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.c graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.c ---- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.c 2008-03-29 14:28:15.000000000 +0100 -+++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.c 2008-03-29 14:31:00.000000000 +0100 -@@ -23,10 +23,10 @@ - - extern "C" - { --#include <avcodec.h> -+#include <libavcodec/avcodec.h> - - # ifdef HAVE_SWSCALE --# include <swscale.h> -+# include <libswscale/swscale.h> - # endif - } - -diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.h graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.h ---- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.h 2008-03-29 14:28:15.000000000 +0100 -+++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.h 2008-03-29 14:31:14.000000000 +0100 -@@ -19,7 +19,7 @@ - - extern "C" - { --#include <avcodec.h> -+#include <libavcodec/avcodec.h> - } - #include <vdr/plugin.h> - #include <vdr/ringbuffer.h> -diff -Naur graphtft-0.1.16.alpha.orig/Makefile graphtft-0.1.16.alpha/Makefile ---- graphtft-0.1.16.alpha.orig/Makefile 2008-03-29 14:28:15.000000000 +0100 -+++ graphtft-0.1.16.alpha/Makefile 2008-03-29 14:28:32.000000000 +0100 -@@ -11,7 +11,7 @@ - # You will need ffmpeg for dvb/fb-devices and for softmpeg, - # so install it and set path below: - --FFMDIR = /usr/include/ffmpeg -+FFMDIR = /usr/include - - # - # Install imlib2 and uncomment the lines diff --git a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff b/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff deleted file mode 100644 index 118d23cf582e..000000000000 --- a/media-plugins/vdr-graphtft/files/vdr-graphtft-0.1.16_alpha-gentoo.diff +++ /dev/null @@ -1,99 +0,0 @@ -diff -Naur graphtft-0.1.16.alpha.orig/dfbrenderer/dfbrenderer.c graphtft-0.1.16.alpha/dfbrenderer/dfbrenderer.c ---- graphtft-0.1.16.alpha.orig/dfbrenderer/dfbrenderer.c 2007-12-12 20:15:39.223026383 +0100 -+++ graphtft-0.1.16.alpha/dfbrenderer/dfbrenderer.c 2007-12-12 20:17:01.430709769 +0100 -@@ -333,7 +333,7 @@ - else - { - const char* tmp = themePath.c_str(); -- asprintf(&fpath, "%s/graphTFT/themes/%s/%s", confPath.c_str(), tmp, fname); -+ asprintf(&fpath, "%s/themes/%s/%s", confPath.c_str(), tmp, fname); - } - - tell(4,"creating imageprovider for %s\n", fpath); -@@ -383,7 +383,7 @@ - - if (!fontCache.Contains(FontFaceSize(fontName, fontSize))) - { -- asprintf(&fpath, "%s/graphTFT/fonts/%s.ttf", confPath.c_str(), fontName); -+ asprintf(&fpath, "%s/fonts/%s.ttf", confPath.c_str(), fontName); - - tell(4,"creating font for %s\n", fpath); - -@@ -444,7 +444,7 @@ - - if (!fontCache.Contains(FontFaceSize(font_name, size))) - { -- asprintf(&fpath, "%s/graphTFT/fonts/%s.ttf", confPath.c_str(), font_name); -+ asprintf(&fpath, "%s/fonts/%s.ttf", confPath.c_str(), font_name); - - tell(4,"creating font for %s\n", fpath); - -diff -Naur graphtft-0.1.16.alpha.orig/graphtft.c graphtft-0.1.16.alpha/graphtft.c ---- graphtft-0.1.16.alpha.orig/graphtft.c 2007-12-12 20:15:39.246358112 +0100 -+++ graphtft-0.1.16.alpha/graphtft.c 2007-12-12 20:19:52.292300174 +0100 -@@ -20,6 +20,8 @@ - #include <graphtft.h> - #include <span.h> - -+#define DATA_DIR "/usr/share/vdr/graphTFT" -+ - //*************************************************************************** - // cGraphTFTMenu - //*************************************************************************** -@@ -255,14 +257,7 @@ - - #endif - -- // try to get the config dir -- -- if (!ConfigDirectory()) -- return false; -- -- // init -- -- GraphTFTSetup.PluginConfPath = strdup(ConfigDirectory()); -+ GraphTFTSetup.PluginConfPath = strdup(DATA_DIR); - - #if APIVERSNUM < 10507 - RegisterI18n(Phrases); -@@ -278,7 +273,7 @@ - if (loadThemes() != 0) - return false; - -- return display->Init(_dev, ConfigDirectory(), port); -+ return display->Init(_dev, DATA_DIR, port); - } - - //*************************************************************************** -@@ -294,8 +289,8 @@ - - // look for the themes in the config directory - -- asprintf(&buffer, "find %s/graphTFT/themes -follow -type f -name '*.theme' | sort", -- ConfigDirectory()); -+ asprintf(&buffer, "find %s/themes -follow -type f -name '*.theme' | sort", -+ DATA_DIR); - - p = popen(buffer, "r"); - -diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/imlibrenderer.c graphtft-0.1.16.alpha/imlibrenderer/imlibrenderer.c ---- graphtft-0.1.16.alpha.orig/imlibrenderer/imlibrenderer.c 2007-12-12 20:15:39.369682970 +0100 -+++ graphtft-0.1.16.alpha/imlibrenderer/imlibrenderer.c 2007-12-12 20:20:35.006031224 +0100 -@@ -53,7 +53,7 @@ - - // font - -- std::ostringstream path; path << confPath.c_str() << "/graphTFT/fonts/"; -+ std::ostringstream path; path << confPath.c_str() << "/fonts/"; - imlib_add_path_to_font_path(path.str().c_str()); - - // new image -@@ -134,7 +134,7 @@ - if (fname[0] == '/') - path << fname; - else -- path << confPath << "/graphTFT/themes/" << themePath << "/" << fname; -+ path << confPath << "/themes/" << themePath << "/" << fname; - - new_image = imlib_load_image(path.str().c_str()); - diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild deleted file mode 100644 index b70c5743b669..000000000000 --- a/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild,v 1.4 2008/05/15 12:22:21 zzam Exp $ - -MY_PV="${PV/_alpha/.alpha}" -MY_P="${PN}-${MY_PV}" - -inherit vdr-plugin qt4 - -DESCRIPTION="VDR plugin: GraphTFT" -HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin" -SRC_URI="http://www.jwendel.de/vdr/${MY_P}.tar.bz2 - http://www.jwendel.de/vdr/DeepBlue-horchi-0.0.6.tar.bz2" - -KEYWORDS="~x86 ~amd64" -SLOT="0" -LICENSE="GPL-2 LGPL-2.1" -IUSE="directfb graphtft-fe" - -DEPEND=">=media-video/vdr-1.4.7-r9 - media-fonts/ttf-bitstream-vera - media-libs/imlib2 - media-gfx/imagemagick - gnome-base/libgtop - >=media-video/ffmpeg-0.4.8 - directfb? ( dev-libs/DirectFB ) - graphtft-fe? ( $(qt4_min_version 4.0.0) )" - -PATCHES=("${FILESDIR}/${P}-gentoo.diff") - -S="${WORKDIR}/graphtft-${MY_PV}" - -pkg_setup() { - vdr-plugin_pkg_setup - - if ! built_with_use media-video/vdr graphtft; then - echo - eerror "Please recompile VDR with USE=\"graphtft\"" - die "Unpached VDR found" - echo - fi -} - -src_unpack() { - vdr-plugin_src_unpack - - sed -i "${WORKDIR}"/DeepBlue/DeepBlue.theme -e "s:Enigma:Vera:" - sed -i Makefile -e "s:WITH_X_COMM = 1:#WITH_X_COMM = 1:" - sed -i common.h -e "s:void tell:int tell:" - sed -i common.c -e "s:void tell:int tell:" - - if has_version ">=media-video/ffmpeg-0.4.9_p20070525" ; then - sed -i Makefile -e "s:#HAVE_SWSCALE:HAVE_SWSCALE:" - fi - - if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then - epatch "${FILESDIR}/ffmpeg-0.4.9_p20080326-new_header.diff" - fi - - use directfb && sed -i Makefile \ - -e "s:#HAVE_DFB = 1:HAVE_DFB = 1:" - - use graphtft-fe && sed -i Makefile \ - -e "s:#WITH_X_COMM:WITH_X_COMM:" -} - -src_compile() { - vdr-plugin_src_compile - - if use graphtft-fe; then - cd "${S}"/graphtft-fe - sed -i build.sh -e "s:qmake-qt4:qmake:" - ./clean.sh - ./build.sh || die "build.sh failed" - fi -} - -src_install() { - vdr-plugin_src_install - - insinto /usr/share/vdr/graphTFT/themes/DeepBlue/ - doins -r "${WORKDIR}"/DeepBlue/* - - dosym /usr/share/fonts/ttf-bitstream-vera /usr/share/vdr/graphTFT/fonts - - dodoc "${S}"/documents/* - - if use graphtft-fe; then - cd "${S}"/graphtft-fe && dobin graphtft-fe - doinit graphtft-fe - fi -} - -pkg_postinst() { - vdr-plugin_pkg_postinst - - echo - elog "Graphtft-fe user:" - elog "Edit /etc/conf.d/vdr.graphtft" - elog "/etc/init.d/graphtft-fe start" - echo -} |