diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-03 22:26:01 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-03 22:26:01 +0000 |
commit | 9cc8032191d22302dbb2fa04c05a842fe3272c99 (patch) | |
tree | b16624f6d34d0ef761a586bbfe836ffb5d974e38 /x11-misc | |
parent | Add patch to fix compilation with gcc-4.3 by John Keeping <john DOT keeping A... (diff) | |
download | historical-9cc8032191d22302dbb2fa04c05a842fe3272c99.tar.gz historical-9cc8032191d22302dbb2fa04c05a842fe3272c99.tar.bz2 historical-9cc8032191d22302dbb2fa04c05a842fe3272c99.zip |
clean out old, dep-broken ebuild
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xvidcap/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xvidcap/Manifest | 7 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.6-ffmpeg.patch | 11 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-ffmpeg.patch | 149 | ||||
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch | 49 | ||||
-rw-r--r-- | x11-misc/xvidcap/xvidcap-1.1.6-r2.ebuild | 53 |
6 files changed, 9 insertions, 270 deletions
diff --git a/x11-misc/xvidcap/ChangeLog b/x11-misc/xvidcap/ChangeLog index 5ac073fa804a..67a716cd0a1d 100644 --- a/x11-misc/xvidcap/ChangeLog +++ b/x11-misc/xvidcap/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xvidcap -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/ChangeLog,v 1.45 2008/10/20 23:10:43 yngwin Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/ChangeLog,v 1.46 2009/01/03 22:26:01 mr_bones_ Exp $ + + 03 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + -files/xvidcap-1.1.6-ffmpeg.patch, -files/xvidcap-1.1.7_rc1-ffmpeg.patch, + -files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch, + -xvidcap-1.1.6-r2.ebuild: + clean out old, dep-broken ebuild 20 Oct 2008; Ben de Groot <yngwin@gentoo.org> xvidcap-1.1.6-r2.ebuild: Fixing 1.1.6 for intltool-0.40.5 diff --git a/x11-misc/xvidcap/Manifest b/x11-misc/xvidcap/Manifest index a8f9e9e1eeab..99277349d295 100644 --- a/x11-misc/xvidcap/Manifest +++ b/x11-misc/xvidcap/Manifest @@ -1,11 +1,6 @@ -AUX xvidcap-1.1.6-ffmpeg.patch 426 RMD160 feb6301777033bc3ff18bbc73ac9fde1d50b85a1 SHA1 b1f3942b3addb454d3d5aadce4c89ed9eb774e8c SHA256 7de6304ece3db116174d59f1c61d020d334c7289584993c6d193c69980c37561 AUX xvidcap-1.1.7-ffmpeg-headers.patch 1655 RMD160 6f521cc0027145a3436f3f356e338365f22f0707 SHA1 fcb6294dd73763bb0523fd85674257438674bac8 SHA256 a1866ef6207d06da2aec0ed45e272152d0f23e6e56a25377db8e7d71c7683e7b AUX xvidcap-1.1.7-ffmpeg-trellis.patch 878 RMD160 c8ecffe12a8f9c7fd140250c2dd5371e09bba76a SHA1 0d1f7576b8098c2d20b95a62ec98563b9b8de0ec SHA256 e856b43cd95ee28a5101d9ed14bb05097e8c61f0eb4ce29307428eef1900bb0f -AUX xvidcap-1.1.7_rc1-ffmpeg.patch 6973 RMD160 f20d8adadbc07df0230ee3304f596faceba57eac SHA1 33d16bb2ae95ab89b376c5b625001a65daa010f3 SHA256 886066f9c59c9323e3c0c52a56307c4f45adbe188d5f3f6baf69eff45f30833c -AUX xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch 1685 RMD160 2960af16c3f3170d1e1fddc9b5667d18fc981f1b SHA1 6f09848845416b04b526bf5dfb2e66c9ba5c97a0 SHA256 be990d311777f362625973fa633ee174eb8b0bb64fda6bf19953d37b633f9453 -DIST xvidcap-1.1.6.tar.gz 4298103 RMD160 d204c5285ad7d7926b844b543b6233c2adce5a0c SHA1 64a179c301a9b3d06fe47f596721033be9a1a305 SHA256 17ca7b7f8ce12f7e312b2abc2da7f381dc0e964cdac6312631cd7987f02b9fba DIST xvidcap-1.1.7.tar.gz 4789924 RMD160 782f0f8b4693bb3e96fdf06de71b2f6832b246e0 SHA1 ccdf8ac85c76b202dbf46074df6b3844faf127d1 SHA256 154622801e8d5e91b834e7707e9e1cc65cf20d0161f6e0323bc3bf0efd85195d -EBUILD xvidcap-1.1.6-r2.ebuild 1407 RMD160 986b4cdfd6d2fea6d220efecefe21072a47d211d SHA1 e707b5c86f6db00ff58d8d076a532433c72a7d1c SHA256 cc6d30b9b4b2fd4d7115b77ea750038f8fe6fd6c9cc01f2a1a94979c67bd30c3 EBUILD xvidcap-1.1.7.ebuild 1563 RMD160 4315789b0e9fd6c935bfcb6d240a4129f03127a4 SHA1 5cccd9a388ef835f25106ce95b27b6af8b9d44da SHA256 cc60abb48b6276fa5dfaf81505b56d0cfae00962d7bcdd3aa8696ae2a456dd17 -MISC ChangeLog 7236 RMD160 249b5af8a3f8f47df498447d281d4fd7caa3162c SHA1 1c8ee2979446e5afc019d90f80d43d8470c7bf5e SHA256 d0e996318be36f325563ff06332eaaf909fe1f655aa3639071fefb55ba66afad +MISC ChangeLog 7487 RMD160 784e1caaabc1d120824db02b8321f971adb02b7a SHA1 ad410665ebd71126e5eeb6a25a043c5079359736 SHA256 9968f016806db26ce2d61e480a37d0f9ae54ef1adce7b4b01da4b42ef7a736d1 MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.6-ffmpeg.patch b/x11-misc/xvidcap/files/xvidcap-1.1.6-ffmpeg.patch deleted file mode 100644 index a5e4a5bec507..000000000000 --- a/x11-misc/xvidcap/files/xvidcap-1.1.6-ffmpeg.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur xvidcap-1.1.6.orig/src/xtoffmpeg.c xvidcap-1.1.6/src/xtoffmpeg.c ---- xvidcap-1.1.6.orig/src/xtoffmpeg.c 2007-05-13 01:24:22.000000000 +0300 -+++ xvidcap-1.1.6/src/xtoffmpeg.c 2007-06-26 19:07:30.000000000 +0300 -@@ -58,7 +58,6 @@ - // ffmpeg stuff - #include <ffmpeg/avcodec.h> - #include <ffmpeg/avformat.h> --#include <ffmpeg/dsputil.h> - #include <ffmpeg/swscale.h> - #include <ffmpeg/rgb2rgb.h> - #include <ffmpeg/fifo.h> diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-ffmpeg.patch b/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-ffmpeg.patch deleted file mode 100644 index 067d63eabc15..000000000000 --- a/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-ffmpeg.patch +++ /dev/null @@ -1,149 +0,0 @@ -Index: src/xtoffmpeg.c -=================================================================== ---- src/xtoffmpeg.c (Revision 302) -+++ src/xtoffmpeg.c (Arbeitskopie) -@@ -58,6 +58,7 @@ - // ffmpeg stuff - #include <ffmpeg/avcodec.h> - #include <ffmpeg/avformat.h> -+#include <ffmpeg/avdevice.h> - //#include <ffmpeg/dsputil.h> - #include <ffmpeg/swscale.h> - #include <ffmpeg/rgb2rgb.h> -@@ -291,13 +292,13 @@ - - // prepare input stream - memset (ap, 0, sizeof (*ap)); -- ap->device = job->snd_device; -+// ap->device = job->snd_device; - - if (grab_audio) { - ap->sample_rate = target->sndrate; - ap->channels = target->sndchannels; - -- grab_iformat = av_find_input_format ("audio_device"); -+ grab_iformat = av_find_input_format ("oss"); - #ifdef DEBUG - printf ("%s %s: grab iformat %p\n", DEBUGFILE, DEBUGFUNCTION, - grab_iformat); -@@ -308,7 +309,7 @@ - } - - err = -- av_open_input_file (&ic, ap->device, (grab_audio ? grab_iformat : NULL), -+ av_open_input_file (&ic, job->snd_device, (grab_audio ? grab_iformat : NULL), - 0, ap); - if (err < 0) { - fprintf (stderr, _("%s %s: error opening input file %s: %i\n"), -@@ -1432,7 +1433,8 @@ - input_pixfmt = guess_input_pix_fmt (image, job->c_info); - - // register all libav* related stuff -- av_register_all (); -+ avdevice_register_all(); -+ av_register_all(); - - // guess AVOutputFormat - if (job->target >= CAP_MF) -@@ -1763,7 +1765,7 @@ - } - - if (job->target < CAP_MF) -- url_fclose (&output_file->pb); -+ url_fclose (output_file->pb); - - #ifdef HAVE_FFMPEG_AUDIO - /* -@@ -1828,7 +1830,7 @@ - * close file if multi-frame capture ... otherwise closed already - */ - if (job->target >= CAP_MF) -- url_fclose (&output_file->pb); -+ url_fclose (output_file->pb); - /* - * free streams - */ -Index: configure.in -=================================================================== ---- configure.in (Revision 302) -+++ configure.in (Arbeitskopie) -@@ -103,6 +103,7 @@ - rm ffmpeg/adler32.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/avcodec.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/avutil.h >/dev/null 2>&1 || echo "" > /dev/null -+rm ffmpeg/avdevice.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/common.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/dsputil.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/integer.h >/dev/null 2>&1 || echo "" > /dev/null -@@ -118,6 +119,8 @@ - rm ffmpeg/rtspcodes.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/rtp_h264.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/rtp_internal.h >/dev/null 2>&1 || echo "" > /dev/null -+rm ffmpeg/rtp_aac.h >/dev/null 2>&1 || echo "" > /dev/null -+rm ffmpeg/rtp_mpv.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/fifo.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/swscale.h >/dev/null 2>&1 || echo "" > /dev/null - rm ffmpeg/rgb2rgb.h >/dev/null 2>&1 || echo "" > /dev/null -@@ -356,7 +359,7 @@ - # build embedded ffmpeg - echo "${MAKE-make}-ing prerequisite ffmpeg libraries" && \ - ( cd ./ffmpeg/ && \ -- ./configure --cc=${CC} --enable-gpl ${ac_my_ffmpeg_cfg_lib_switch} --enable-pthreads --enable-swscaler --disable-ffserver --disable-ffplay && \ -+ ./configure --cc=${CC} --enable-gpl ${ac_my_ffmpeg_cfg_lib_switch} --enable-pthreads --enable-swscale --disable-ffserver --disable-ffplay && \ - ln -s libavcodec/avcodec.h ./ && \ - ln -s libavcodec/dsputil.h ./ && \ - ln -s libavformat/avformat.h ./ && \ -@@ -371,11 +374,12 @@ - ln -s libavutil/fifo.h ./ && \ - ln -s libswscale/swscale.h ./ && \ - ln -s libswscale/rgb2rgb.h ./ && \ -+ ln -s libavdevice/avdevice.h ./ && \ - ${MAKE-make} ) - # try to link it statically, or reset cache, set static_avcodec=no - top_srcdir=`pwd` -- ac_my_ldflags_save=${LDFLAGS} ; LDFLAGS="${LDFLAGS} -L$top_srcdir/ffmpeg/libavcodec -L$top_srcdir/ffmpeg/libavformat -L$top_srcdir/ffmpeg/libavutil -L$top_srcdir/ffmpeg/libswscale" -- ac_my_cflags_save=${CFLAGS} ; CFLAGS="${CFLAGS} -I $top_srcdir -I[$top_srcdir]/ffmpeg/libavcodec -I[$top_srcdir]/ffmpeg/libavformat -I[$top_srcdir]/ffmpeg/libavutil -I[$top_srcdir]/ffmpeg/libswscale" -+ ac_my_ldflags_save=${LDFLAGS} ; LDFLAGS="${LDFLAGS} -L$top_srcdir/ffmpeg/libavcodec -L$top_srcdir/ffmpeg/libavformat -L$top_srcdir/ffmpeg/libavutil -L$top_srcdir/ffmpeg/libswscale -L$top_srcdir/ffmpeg/libavdevice" -+ ac_my_cflags_save=${CFLAGS} ; CFLAGS="${CFLAGS} -I $top_srcdir -I[$top_srcdir]/ffmpeg/libavcodec -I[$top_srcdir]/ffmpeg/libavformat -I[$top_srcdir]/ffmpeg/libavutil -I[$top_srcdir]/ffmpeg/libswscale -I[$top_srcdir]/ffmpeg/libavdevice" - AC_CHECK_LIB_STATIC(avutil, av_rescale,,[unset ac_cv_lib_avutil_av_rescale ; static_avcodec=no ; LDFLAGS=$ac_my_ldflags_save ; CFLAGS=$ac_my_cflags_save]) - fi - -@@ -392,16 +396,21 @@ - - # if avutil is linked statically, avcodec should, too - static_avcodec=$static_avutil --ac_my_avcodec_libs="" --test x`(uname -s)` = xSunOS && ac_my_avcodec_libs="-lnsl -lsocket" -+ac_my_avcodec_libs="-lz" -+test x`(uname -s)` = xSunOS && ac_my_avcodec_libs="-lz -lnsl -lsocket" - AC_CHECK_LIB_STATIC(avcodec, avcodec_encode_video,,[unset ac_cv_lib_avcodec_avcodec_encode_video ; static_avcodec=no ; AC_CHECK_LIB(avcodec, avcodec_encode_video,,,[$ac_my_avcodec_libs])],[$ac_my_avcodec_libs]) - - # if avcodec is linked statically, avformat should, too - static_avformat=$static_avcodec --ac_my_avformat_libs="" --test x`(uname -s)` = xSunOS && ac_my_avformat_libs="-lnsl -lsocket" -+ac_my_avformat_libs="-lz" -+test x`(uname -s)` = xSunOS && ac_my_avformat_libs="-lz -lnsl -lsocket" - AC_CHECK_LIB_STATIC(avformat, av_write_header,,[unset ac_cv_lib_avformat_av_write_header ; static_avformat=no ; AC_CHECK_LIB(avformat, av_write_header,,,[$ac_my_avformat_libs])],[$ac_my_avformat_libs]) - -+# if avcodec is linked statically, avdevice should, too -+static_avdevice=$static_avcodec -+ac_my_avdevice_libs="-lz" -+test x`(uname -s)` = xSunOS && ac_my_avdevice_libs="-lz -lnsl -lsocket" -+AC_CHECK_LIB_STATIC(avdevice, avdevice_register_all,,[unset ac_cv_lib_avdevice_avdevice_register_all ; static_avdevice=no ; AC_CHECK_LIB(avdevice, avdevice_register_all,,,[$ac_my_avdevice_libs])],[$ac_my_avdevice_libs]) - - # only use ffmpeg if ALL required libs are present - if ( `test x$ac_cv_lib_avcodec_avcodec_encode_video = xyes -a x$ac_cv_lib_avformat_av_write_header = xyes -a x$ac_cv_lib_avutil_av_rescale = xyes -a x$ac_cv_lib_swscale_sws_scale = xyes` ) ; then -Index: config.h.in -=================================================================== ---- config.h.in (Revision 302) -+++ config.h.in (Arbeitskopie) -@@ -51,6 +51,9 @@ - /* Define to 1 if you have the `avcodec' library (-lavcodec). */ - #undef HAVE_LIBAVCODEC - -+/* Define to 1 if you have the `avdevice' library (-lavdevice). */ -+#undef HAVE_LIBAVDEVICE -+ - /* Define to 1 if you have the `avformat' library (-lavformat). */ - #undef HAVE_LIBAVFORMAT diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch b/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch deleted file mode 100644 index 4d4da99d04d5..000000000000 --- a/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -burN xvidcap-orig/src/codecs.c xvidcap-1.1.6/src/codecs.c ---- xvidcap-orig/src/codecs.c 2007-12-16 23:01:38.000000000 +0100 -+++ xvidcap-1.1.6/src/codecs.c 2008-04-13 22:21:45.000000000 +0200 -@@ -43,8 +43,8 @@ - #include <locale.h> - - #ifdef USE_FFMPEG --#include <ffmpeg/avcodec.h> --#include <ffmpeg/avformat.h> -+#include <libavcodec/avcodec.h> -+#include <libavformat/avformat.h> - #endif // USE_FFMPEG - - #include "app_data.h" -diff -burN xvidcap-orig/src/main.c xvidcap-1.1.6/src/main.c ---- xvidcap-orig/src/main.c 2007-12-01 00:52:51.000000000 +0100 -+++ xvidcap-1.1.6/src/main.c 2008-04-13 22:21:14.000000000 +0200 -@@ -45,7 +45,7 @@ - #include <locale.h> - - #ifdef USE_FFMPEG --#include <ffmpeg/avcodec.h> -+#include <libavcodec/avcodec.h> - #endif // USE_FFMPEG - - #include "control.h" -diff -burN xvidcap-orig/src/xtoffmpeg.c xvidcap-1.1.6/src/xtoffmpeg.c ---- xvidcap-orig/src/xtoffmpeg.c 2008-04-13 22:00:04.000000000 +0200 -+++ xvidcap-1.1.6/src/xtoffmpeg.c 2008-04-13 22:20:31.000000000 +0200 -@@ -56,13 +56,13 @@ - #include "xvidcap-intl.h" - - // ffmpeg stuff --#include <ffmpeg/avcodec.h> --#include <ffmpeg/avformat.h> --#include <ffmpeg/avdevice.h> -+#include <libavcodec/avcodec.h> -+#include <libavformat/avformat.h> -+#include <libavdevice/avdevice.h> - //#include <ffmpeg/dsputil.h> --#include <ffmpeg/swscale.h> --#include <ffmpeg/rgb2rgb.h> --#include <ffmpeg/fifo.h> -+#include <libswscale/swscale.h> -+#include <libswscale/rgb2rgb.h> -+#include <libavutil/fifo.h> - #define swscale_isRGB(x) ((x)==PIX_FMT_BGR32 || (x)==PIX_FMT_RGB24 \ - || (x)==PIX_FMT_RGB565 || (x)==PIX_FMT_RGB555 \ - || (x)==PIX_FMT_RGB8 || (x)==PIX_FMT_RGB4 \ diff --git a/x11-misc/xvidcap/xvidcap-1.1.6-r2.ebuild b/x11-misc/xvidcap/xvidcap-1.1.6-r2.ebuild deleted file mode 100644 index b5c407cd59ea..000000000000 --- a/x11-misc/xvidcap/xvidcap-1.1.6-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xvidcap/xvidcap-1.1.6-r2.ebuild,v 1.6 2008/10/20 23:10:43 yngwin Exp $ - -GCONF_DEBUG="no" - -inherit eutils gnome2 - -DESCRIPTION="Screen capture utility enabling you to create videos of your desktop for illustration or documentation purposes." -HOMEPAGE="http://xvidcap.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="mp3 theora" - -RDEPEND=">=x11-libs/gtk+-2.6 - gnome-base/libglade - >=media-video/ffmpeg-0.4.9_p20070616-r20 - <media-video/ffmpeg-0.4.9_p20080101 - mp3? ( media-sound/lame ) - theora? ( media-libs/libtheora )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - dev-util/intltool - virtual/libintl - app-text/scrollkeeper - dev-perl/XML-Parser - app-text/gnome-doc-utils" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-ffmpeg.patch - eautoreconf - intltoolize --force || die "intltoolize failed!" -} - -src_compile() { - econf --without-forced-embedded-ffmpeg \ - $(use_enable mp3 libmp3lame) \ - $(use_enable theora libtheora) - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - - # Almost like bug #58322 but directory name changed. - rm -rf "${D}"/usr/share/doc/${PN} - dodoc AUTHORS ChangeLog README TODO.tasks -} |