diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 10:02:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 10:02:27 +0000 |
commit | 0fcb6d79534afd02a49b319607827277d234e2eb (patch) | |
tree | 75a344a05b1eb9dc1b0a8fbabf95b9d83077925d /media-tv/tvtime | |
parent | Update .service file path as well. (diff) | |
download | gentoo-2-0fcb6d79534afd02a49b319607827277d234e2eb.tar.gz gentoo-2-0fcb6d79534afd02a49b319607827277d234e2eb.tar.bz2 gentoo-2-0fcb6d79534afd02a49b319607827277d234e2eb.zip |
old, fails to build with stable linux-headers
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/tvtime')
-rw-r--r-- | media-tv/tvtime/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch | 15 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-autotools.patch | 73 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch | 57 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch | 24 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch | 16 | ||||
-rw-r--r-- | media-tv/tvtime/tvtime-1.0.2-r2.ebuild | 87 |
7 files changed, 7 insertions, 273 deletions
diff --git a/media-tv/tvtime/ChangeLog b/media-tv/tvtime/ChangeLog index db5b7eb6fbf9..b732253b124b 100644 --- a/media-tv/tvtime/ChangeLog +++ b/media-tv/tvtime/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/tvtime # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.57 2012/01/06 16:53:34 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.58 2012/01/08 10:02:27 ssuominen Exp $ + + 08 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -tvtime-1.0.2-r2.ebuild, + -files/tvtime-1.0.2+linux-headers-2.6.18.patch, + -files/tvtime-1.0.2-autotools.patch, -files/tvtime-1.0.2-gcc41.patch, + -files/tvtime-1.0.2-glibc-2.10.patch, -files/tvtime-1.0.2-libsupc++.patch: + old 06 Jan 2012; Brent Baude <ranger@gentoo.org> tvtime-1.0.2_p20110131-r3.ebuild: diff --git a/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch b/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch deleted file mode 100644 index b1cfd49f1ba9..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: tvtime-1.0.2/src/videoinput.c -=================================================================== ---- tvtime-1.0.2.orig/src/videoinput.c -+++ tvtime-1.0.2/src/videoinput.c -@@ -35,8 +35,8 @@ - #ifdef HAVE_CONFIG_H - # include "config.h" - #endif --#include "videodev.h" --#include "videodev2.h" -+#include <linux/videodev.h> -+#include <linux/videodev2.h> - #include "videoinput.h" - #include "mixer.h" - diff --git a/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch b/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch deleted file mode 100644 index bf02ebefa529..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch +++ /dev/null @@ -1,73 +0,0 @@ -Index: tvtime-1.0.2/src/Makefile.am -=================================================================== ---- tvtime-1.0.2.orig/src/Makefile.am -+++ tvtime-1.0.2/src/Makefile.am -@@ -19,9 +19,6 @@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@ - tmpdir = /tmp - localedir = $(datadir)/locale - --TTF_CFLAGS = `$(FREETYPE_CONFIG) --cflags` --TTF_LIBS = `$(FREETYPE_CONFIG) --libs` -- - # Set the following if you want to specify an additional font directory - # FONT_CFLAGS = -DFONTDIR='/usr/share/fonts/truetype/freefont/' - -@@ -76,20 +73,20 @@ tvtime_SOURCES = $(COMMON_SRCS) $(OUTPUT - tvtime_CFLAGS = $(TTF_CFLAGS) $(PNG_CFLAGS) $(OPT_CFLAGS) \ - $(PLUGIN_CFLAGS) $(X11_CFLAGS) $(XML2_FLAG) \ - $(FONT_CFLAGS) $(AM_CFLAGS) --tvtime_LDFLAGS = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ -+tvtime_LDADD = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ - $(X11_LIBS) $(XML2_LIBS) -lm -lsupc++ - - tvtime_command_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-command.c - tvtime_command_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_command_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_command_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - tvtime_configure_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-configure.c - tvtime_configure_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_configure_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_configure_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - tvtime_scanner_SOURCES = utils.h utils.c videoinput.h videoinput.c \ - tvtimeconf.h tvtimeconf.c station.h station.c tvtime-scanner.c \ - mixer.h mixer.c - tvtime_scanner_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_scanner_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_scanner_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - -Index: tvtime-1.0.2/configure.ac -=================================================================== ---- tvtime-1.0.2.orig/configure.ac -+++ tvtime-1.0.2/configure.ac -@@ -10,6 +10,7 @@ if test x"$host_alias" = x""; then host_ - - # Check for compilers. - AC_PROG_CC -+AM_PROG_CC_C_O - AC_CHECK_PROG(found_cc, "$CC", yes, no) - test "x$found_cc" = "xyes" || exit 1 - -@@ -17,9 +18,6 @@ AC_PROG_CXX - AC_CHECK_PROG(found_cxx, "$CXX", yes, no) - test "x$found_cxx" = "xyes" || exit 1 - --# Check for libtool. --AC_PROG_LIBTOOL -- - # Checks for header files. - AC_HEADER_STDC - AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h getopt.h langinfo.h math.h netinet/in.h pwd.h signal.h stdint.h stdio.h stdlib.h string.h sys/ioctl.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/wait.h sys/types.h unistd.h wordexp.h locale.h]) -@@ -65,10 +63,7 @@ dnl ------------------------------------ - dnl freetype - dnl --------------------------------------------- - dnl Test for freetype --AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) --if test "$FREETYPE_CONFIG" = "no" ; then -- AC_MSG_ERROR(freetype2 needed and freetype-config not found) --fi -+PKG_CHECK_MODULES([TTF], [freetype2]) - - dnl --------------------------------------------- - dnl libxml2 diff --git a/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch b/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch deleted file mode 100644 index 58e9bb204e10..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Naur tvtime-1.0.1/plugins/greedyh.asm tvtime-1.0.1-gcc41/plugins/greedyh.asm ---- tvtime-1.0.1/plugins/greedyh.asm 2005-08-14 18:16:43.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/greedyh.asm 2005-11-28 17:53:09.210774544 +0100 -@@ -18,7 +18,7 @@ - - #include "x86-64_macros.inc" - --void DScalerFilterGreedyH::FUNCT_NAME(TDeinterlaceInfo* pInfo) -+void FUNCT_NAME(TDeinterlaceInfo* pInfo) - { - int64_t i; - bool InfoIsOdd = (pInfo->PictureHistory[0]->Flags & PICTURE_INTERLACED_ODD) ? 1 : 0; -diff -Naur tvtime-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc tvtime-1.0.1-gcc41/plugins/tomsmocomp/TomsMoCompAll2.inc ---- tvtime-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc 2004-10-20 17:31:05.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/tomsmocomp/TomsMoCompAll2.inc 2005-11-28 17:53:33.251119856 +0100 -@@ -5,9 +5,9 @@ - #endif - - #ifdef USE_STRANGE_BOB --#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n##_SB) -+#define SEARCH_EFFORT_FUNC(n) SEFUNC(n##_SB) - #else --#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n) -+#define SEARCH_EFFORT_FUNC(n) SEFUNC(n) - #endif - - int SEARCH_EFFORT_FUNC(0) // we don't try at all ;-) -diff -Naur tvtime-1.0.1/plugins/tomsmocomp.cpp tvtime-1.0.1-gcc41/plugins/tomsmocomp.cpp ---- tvtime-1.0.1/plugins/tomsmocomp.cpp 2004-10-20 19:38:04.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/tomsmocomp.cpp 2005-11-28 17:52:53.862107896 +0100 -@@ -31,7 +31,7 @@ - - #define IS_MMX - #define SSE_TYPE MMX --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_MMX -+#define FUNCT_NAME filterDScaler_MMX - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_MMX - #undef SSE_TYPE -@@ -39,7 +39,7 @@ - - #define IS_3DNOW - #define SSE_TYPE 3DNOW --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_3DNOW -+#define FUNCT_NAME filterDScaler_3DNOW - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_3DNOW - #undef SSE_TYPE -@@ -47,7 +47,7 @@ - - #define IS_SSE - #define SSE_TYPE SSE --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_SSE -+#define FUNCT_NAME filterDScaler_SSE - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_SSE - #undef SSE_TYPE diff --git a/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch b/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch deleted file mode 100644 index c3d8ad87d733..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur tvtime-1.0.2.org/src/xmltv.c tvtime-1.0.2/src/xmltv.c ---- tvtime-1.0.2.org/src/xmltv.c 2009-07-02 21:48:49.426191088 +0200 -+++ tvtime-1.0.2/src/xmltv.c 2009-07-02 21:50:20.842066085 +0200 -@@ -118,9 +118,9 @@ - typedef struct { - const char *code; - const char *name; --} locale_t; -+} tvtime_locale_t; - --static locale_t locale_table[] = { -+static tvtime_locale_t locale_table[] = { - {"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"}, - {"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"}, - {"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"}, -@@ -168,7 +168,7 @@ - {"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"}, - {"ZU", "Zulu"} }; - --const int num_locales = sizeof( locale_table ) / sizeof( locale_t ); -+const int num_locales = sizeof( locale_table ) / sizeof( tvtime_locale_t ); - - /** - * Timezone parsing code based loosely on the algorithm in diff --git a/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch b/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch deleted file mode 100644 index cc76d2decc62..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch +++ /dev/null @@ -1,16 +0,0 @@ -Link to libsupc++ instead of bringing in libstdc++ just because tomsocomp -is written in C++. It does not use STL so it needs not the whole standard -library. -Index: tvtime-1.0.2/src/Makefile.am -=================================================================== ---- tvtime-1.0.2.orig/src/Makefile.am -+++ tvtime-1.0.2/src/Makefile.am -@@ -77,7 +77,7 @@ tvtime_CFLAGS = $(TTF_CFLAGS) $(PNG_CFLA - $(PLUGIN_CFLAGS) $(X11_CFLAGS) $(XML2_FLAG) \ - $(FONT_CFLAGS) $(AM_CFLAGS) - tvtime_LDFLAGS = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ -- $(X11_LIBS) $(XML2_LIBS) -lm -lstdc++ -+ $(X11_LIBS) $(XML2_LIBS) -lm -lsupc++ - - tvtime_command_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-command.c diff --git a/media-tv/tvtime/tvtime-1.0.2-r2.ebuild b/media-tv/tvtime/tvtime-1.0.2-r2.ebuild deleted file mode 100644 index 072f00722a2a..000000000000 --- a/media-tv/tvtime/tvtime-1.0.2-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2-r2.ebuild,v 1.8 2011/10/10 18:51:25 ssuominen Exp $ - -inherit eutils autotools - -DESCRIPTION="High quality television application for use with video capture cards" -HOMEPAGE="http://tvtime.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="nls xinerama" - -RDEPEND="x11-libs/libSM - x11-libs/libICE - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXv - x11-libs/libXxf86vm - xinerama? ( x11-libs/libXinerama ) - x11-libs/libXtst - x11-libs/libXau - x11-libs/libXdmcp - >=media-libs/freetype-2 - >=sys-libs/zlib-1.1.4 - >=media-libs/libpng-1.2 - >=dev-libs/libxml2-2.5.11 - nls? ( virtual/libintl )" - -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-gcc41.patch - epatch "${FILESDIR}"/${P}-glibc-2.10.patch - - # use 'tvtime' for the application icon see bug #66293 - sed -i -e "s/tvtime.png/tvtime/" docs/net-tvtime.desktop - - # patch to adapt to PIC or __PIC__ for pic support - epatch "${FILESDIR}"/${PN}-pic.patch #74227 - - epatch "${FILESDIR}/${P}-xinerama.patch" - - # Remove linux headers and patch to build with 2.6.18 headers - rm -f "${S}"/src/{videodev.h,videodev2.h} - epatch "${FILESDIR}/${P}+linux-headers-2.6.18.patch" - - epatch "${FILESDIR}/${P}-libsupc++.patch" - - epatch "${FILESDIR}/${P}-autotools.patch" - - # error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function) - sed -i -e '1i#include <zlib.h>' src/pngoutput.c || die - - AT_M4DIR="m4" eautoreconf -} - -src_compile() { - econf $(use_enable nls) \ - $(use_with xinerama) || die "econf failed" - emake || die "compile problem" - -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - dohtml docs/html/* - dodoc ChangeLog AUTHORS NEWS README -} - -pkg_postinst() { - elog "A default setup for ${PN} has been saved as" - elog "/etc/tvtime/tvtime.xml. You may need to modify it" - elog "for your needs." - elog - elog "Detailed information on ${PN} setup can be" - elog "found at ${HOMEPAGE}help.html" - echo -} |