diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-05-15 21:13:03 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-05-15 21:13:03 +0000 |
commit | 3bc090c86bba18f1938cb4094ea071b15430ccfa (patch) | |
tree | 1ea6e11fe049b60d70df6901f6898d40bc4e0c78 /media-video | |
parent | amd64 stable, bug #269201 (diff) | |
download | historical-3bc090c86bba18f1938cb4094ea071b15430ccfa.tar.gz historical-3bc090c86bba18f1938cb4094ea071b15430ccfa.tar.bz2 historical-3bc090c86bba18f1938cb4094ea071b15430ccfa.zip |
Remove old. Add patch to fix compilation with gcc-4.4 (bug 269114).
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avidemux/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/avidemux/Manifest | 6 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.4.4-r1.ebuild | 6 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.4.4.ebuild | 117 | ||||
-rw-r--r-- | media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch | 135 |
5 files changed, 146 insertions, 124 deletions
diff --git a/media-video/avidemux/ChangeLog b/media-video/avidemux/ChangeLog index 657a17cfa0a6..6d6f81223aff 100644 --- a/media-video/avidemux/ChangeLog +++ b/media-video/avidemux/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/avidemux # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.143 2009/05/08 12:41:49 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.144 2009/05/15 21:13:03 yngwin Exp $ + + 15 May 2009; Ben de Groot <yngwin@gentoo.org> -avidemux-2.4.4.ebuild, + avidemux-2.4.4-r1.ebuild, +files/avidemux-2.4.4-gcc-4.4.patch: + Remove old. Add patch to fix compilation with gcc-4.4 (bug 269114). *avidemux-2.4.4-r1 (08 May 2009) diff --git a/media-video/avidemux/Manifest b/media-video/avidemux/Manifest index f7f8472d283a..3f16b4e66213 100644 --- a/media-video/avidemux/Manifest +++ b/media-video/avidemux/Manifest @@ -2,11 +2,11 @@ AUX avidemux-2.4-cmake264.patch 820 RMD160 e02c32891a257dd6e14e2b6aa464232cea222 AUX avidemux-2.4-i18n.patch 1676 RMD160 5cc06702f8a4d96a12630d4f543035baa5ccac0f SHA1 32557519caeed3b236f48b40d5ee8953b2d03197 SHA256 ab978ed96a2689af2e01ad8b9a08ed9bd4b2f8e4c6721d9598964f1fd8a5e6d2 AUX avidemux-2.4-libdca.patch 949 RMD160 53ec97b26441f2617566dbb949496be72ecbc07c SHA1 91ff55452ed9bdaabd76fa41add4c405bf6b8405 SHA256 95f49dbe69a4621ef8f33795898623156222e16d0774a6c454e2e303c6290c3e AUX avidemux-2.4.3-x264.patch 1484 RMD160 ed487bb8f6a65fca9180790156411d84ee18fe8c SHA1 06fb7f651ff8b3c866785c8a9e65ced1ec395d03 SHA256 b7e6a3374aed67734602b5ef25c994267d8bd2324c46993554853336c6a47553 +AUX avidemux-2.4.4-gcc-4.4.patch 3946 RMD160 1be6fb90f05befb0399ef38ccb6358d082f27b0a SHA1 63de9ce7999af1b9f94c01b14ccd049c2b27f32a SHA256 d8e2392b4eb4a0e5573fe5bac10a9ac57ae0f16207e613543d8e61d7527914af AUX lavcodec-mpegvideo_mmx-asm-fix.patch 2443 RMD160 3b1b315ef1e5083f95807ce5419196c832a66aad SHA1 0bd5ca05d373f7fd63cafb03d5514cfc86d8504c SHA256 c6cfcf06da8a254e542077a7ac728be220d41fc0ad3c4b7001ac63de5f36bc6c DIST avidemux_2.4.3.tar.gz 6707930 RMD160 3d9d098d97462027ac1a62fe9438451b1915367b SHA1 d3a4dc2c07884916c45f750229d02fbdeb3cedde SHA256 b2e24ed11ad84c1f5c0b6efaad8b1aae07618cf99994ae0d63fbd7f71333214f DIST avidemux_2.4.4.tar.gz 6894690 RMD160 8bb2705b3e2d5379d833ec4fa06a01b897c06e04 SHA1 c50a00caf13a8ea1053e5994edeb59354192e18e SHA256 45aafd6e54047edcfe9c985f4c9523c0efd71f7d21dad5e584aceb92c63e2956 EBUILD avidemux-2.4.3.ebuild 4077 RMD160 f3f28982be7f24c50ecb69d4d94b4246917ac704 SHA1 86ea655935da10dcfbf2f4e2b371fa5dcf7912f4 SHA256 dfb4e5f70d3af934930a7f833a187de3075e545641b7c843a02e9f9aa3b9cc6d -EBUILD avidemux-2.4.4-r1.ebuild 3765 RMD160 ed71e7ce56a8af79e3e6c03808ec7b04a3f7ea4e SHA1 cc9c399a1f30b5fd326e7e2db3ca8220d49a8b96 SHA256 f13e8d32a058069413edf4b54652f4dfc420a8d3127fdda9432d450d7e6fc30c -EBUILD avidemux-2.4.4.ebuild 3723 RMD160 164d985c7b3f2c6f837d7fe3b01db6e5e6de6109 SHA1 de94587e90966c0e44180d3bd588a2f70f794198 SHA256 5ce07305d9bf1ab4f59ae13b74564b5bfe0e260a04257350aaa38893a768886e -MISC ChangeLog 25443 RMD160 6fcfca8eff1b2312caa7c5519e7ded9a833b481f SHA1 66afe17304fdc552b3a1d381c7c2092c34506898 SHA256 3be62d214c20d3b6c96eeff78d00c277d993c2532abdd3b7bb07598c5dc38850 +EBUILD avidemux-2.4.4-r1.ebuild 3812 RMD160 9b2d7cc2f4e9d5254f6ef61681497df80b92c9cf SHA1 eaa8daa5068ff5691bb92532bc5399d7dac2443c SHA256 15f019c62757390682dcd9ad752fa1d5543735aca4aa76ef4daf541af549f056 +MISC ChangeLog 25651 RMD160 a381b7aa997df942bdb9b88e60befff4ccaf94a5 SHA1 19f590a6ce556aca0d1bee5d5d64c4d1f6e956f8 SHA256 3479ae91652881891d953739230e6dac787e29a5232c5319e2e742edd8ec0f4c MISC metadata.xml 429 RMD160 b32016aaa9b19e2462d493e38f1d9423d8772361 SHA1 05b0451bfb459579447bd43a30104445f59c23ce SHA256 e5416acf63f5b056b0d9148a73d6914b09c78446338f913a9cf709661487790a diff --git a/media-video/avidemux/avidemux-2.4.4-r1.ebuild b/media-video/avidemux/avidemux-2.4.4-r1.ebuild index 0980cf16a992..882ae3e7b60a 100644 --- a/media-video/avidemux/avidemux-2.4.4-r1.ebuild +++ b/media-video/avidemux/avidemux-2.4.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.4.4-r1.ebuild,v 1.1 2009/05/08 12:41:49 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.4.4-r1.ebuild,v 1.2 2009/05/15 21:13:03 yngwin Exp $ EAPI="2" @@ -61,8 +61,8 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}"/lavcodec-mpegvideo_mmx-asm-fix.patch - # fix for bug 268618 - epatch "${FILESDIR}"/${PN}-2.4-cmake264.patch + epatch "${FILESDIR}"/${PN}-2.4-cmake264.patch # bug 268618 + epatch "${FILESDIR}"/${P}-gcc-4.4.patch # bug 269114 } src_configure() { diff --git a/media-video/avidemux/avidemux-2.4.4.ebuild b/media-video/avidemux/avidemux-2.4.4.ebuild deleted file mode 100644 index 725e800413a3..000000000000 --- a/media-video/avidemux/avidemux-2.4.4.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.4.4.ebuild,v 1.1 2009/02/15 23:29:51 yngwin Exp $ - -EAPI="2" - -inherit cmake-utils eutils flag-o-matic - -MY_P=${PN}_${PV} - -DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="aac aften alsa amrnb arts dts esd jack libsamplerate mp3 truetype vorbis - x264 xv xvid +gtk" - # qt4 currently breaks on generating translations - -RDEPEND="dev-libs/libxml2 - media-libs/libpng - media-libs/libsdl - >=dev-libs/glib-2 - aac? ( media-libs/faac - media-libs/faad2 ) - aften? ( media-libs/aften ) - alsa? ( media-libs/alsa-lib ) - amrnb? ( media-libs/amrnb ) - arts? ( kde-base/arts ) - dts? ( media-libs/libdca ) - mp3? ( media-sound/lame ) - esd? ( media-sound/esound ) - jack? ( media-sound/jack-audio-connection-kit ) - libsamplerate? ( media-libs/libsamplerate ) - truetype? ( media-libs/freetype - media-libs/fontconfig ) - vorbis? ( media-libs/libvorbis ) - x264? ( media-libs/x264 ) - xv? ( x11-libs/libXv ) - xvid? ( media-libs/xvid ) - gtk? ( x11-libs/gtk+:2 - x11-libs/libX11 )" -# qt4? ( x11-libs/qt-gui:4 -# x11-libs/libX11 )" -DEPEND="${RDEPEND} - sys-devel/gettext - dev-util/pkgconfig - >=dev-util/cmake-2.4.4" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - if hasq distcc ${FEATURES}; then - eerror "Avidemux does not compile with distcc. Please retry with" - eerror "FEATURES='-distcc' emerge avidemux" - die "distcc not supported for this package" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/lavcodec-mpegvideo_mmx-asm-fix.patch -} - -src_configure() { - # Commented out options cause compilation errors, some - # might need -Wl,--as-needed in LDFLAGS and all USE - # flags disabled for reproducing. -drac - # TODO. Needs to be fixed, or reported upstream. - - local mycmakeargs - - # ConfigureChecks.cmake - use alsa || mycmakeargs="${mycmakeargs} -DNO_ALSA=1" - #use oss || mycmakeargs="${mycmakeargs} -DNO_OSS=1" - #use nls || mycmakeargs="${mycmakeargs} -DNO_NLS=1" - #use sdl || mycmakeargs="${mycmakeargs} -DNO_SDL=1" - - # ConfigureChecks.cmake -> ADM_CHECK_HL -> cmake/adm_checkHeaderLib.cmake - use truetype || mycmakeargs="${mycmakeargs} -DNO_FontConfig=1" - use xv || mycmakeargs="${mycmakeargs} -DNO_Xvideo=1" - use esd || mycmakeargs="${mycmakeargs} -DNO_Esd=1" - use jack || mycmakeargs="${mycmakeargs} -DNO_Jack=1" - use aften || mycmakeargs="${mycmakeargs} -DNO_Aften=1" - use libsamplerate || mycmakeargs="${mycmakeargs} -DNO_libsamplerate=1" - use aac || mycmakeargs="${mycmakeargs} -DNO_FAAC=1" - use mp3 || mycmakeargs="${mycmakeargs} -DNO_Lame=1" - use xvid || mycmakeargs="${mycmakeargs} -DNO_Xvid=1" - use amrnb || mycmakeargs="${mycmakeargs} -DNO_AMRNB=1" - use dts || mycmakeargs="${mycmakeargs} -DNO_libdca=1" - use x264 || mycmakeargs="${mycmakeargs} -DNO_x264=1" - use aac || mycmakeargs="${mycmakeargs} -DNO_FAAD=1 -DNO_NeAAC=1" - use vorbis || mycmakeargs="${mycmakeargs} -DNO_Vorbis=1" - - # ConfigureChecks.cmake -> cmake/FindArts.cmake - use arts || mycmakeargs="${mycmakeargs} -DNO_ARTS=1" - - # CMakeLists.txt - use truetype || mycmakeargs="${mycmakeargs} -DNO_FREETYPE=1" - use gtk || mycmakeargs="${mycmakeargs} -DNO_GTK=1" - #use qt4 || - mycmakeargs="${mycmakeargs} -DNO_QT4=1" - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc AUTHORS History - doicon avidemux_icon.png - - use gtk && make_desktop_entry avidemux2_gtk "Avidemux GTK" \ - avidemux_icon "AudioVideo;GTK" -# use qt4 && make_desktop_entry avidemux2_qt4 "Avidemux Qt" \ -# avidemux_icon "AudioVideo;Qt" -} diff --git a/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch b/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch new file mode 100644 index 000000000000..9cf5a37ddddd --- /dev/null +++ b/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch @@ -0,0 +1,135 @@ +--- avidemux/ADM_colorspace/ADM_rgb.h ++++ avidemux/ADM_colorspace/ADM_rgb.h +@@ -19,6 +19,8 @@ + #ifndef COLYUVRGB_H
+ #define COLYUVRGB_H
+
++#include <inttypes.h>
++
+ #define ADM_COLOR_IS_YUV 0x1000
+ typedef enum
+ {
+--- avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp ++++ avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp +@@ -71,7 +71,7 @@ + */ + uint8_t fileParser::open( const char *filename,FP_TYPE *multi ) + { +- char *dot = NULL; // pointer to the last dot in filename ++ const char *dot = NULL; // pointer to the last dot in filename + uint8_t decimals = 0; // number of decimals + char *left = NULL, *number = NULL, *right = NULL; // parts of filename (after splitting) + +--- avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc ++++ avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc +@@ -104,7 +104,7 @@ + + int y4m_parse_ratio(y4m_ratio_t *r, const char *s) + { +- char *t = strchr(s, ':'); ++ const char *t = strchr(s, ':'); + if (t == NULL) return Y4M_ERR_RANGE; + r->n = atoi(s); + r->d = atoi(t+1); +--- avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp ++++ avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp +@@ -53,7 +53,7 @@ + + bool LPCMStream::Probe(IBitStream &bs ) + { +- char *last_dot = strrchr( bs.StreamName(), '.' ); ++ const char *last_dot = strrchr( bs.StreamName(), '.' ); + return + last_dot != NULL + && strcmp( last_dot+1, "lpcm") == 0; +--- avidemux/ADM_osSupport/ADM_fileio.cpp ++++ avidemux/ADM_osSupport/ADM_fileio.cpp +@@ -543,7 +543,7 @@ + */
+ const char *GetFileName(const char *str)
+ {
+- char *filename;
++ const char *filename;
+ char *filename2;
+ #ifndef ADM_WIN32
+ filename = strrchr(str, '/');
+--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp +@@ -1,6 +1,7 @@ + #include <QtGui>
+
+ #include "../ADM_toolkit/qtToolkit.h"
++#include <stdint.h>
+
+ int DIA_colorSel(uint8_t *r, uint8_t *g, uint8_t *b)
+ {
+@@ -17,4 +18,4 @@ + }
+
+ return 0;
+-} +\ No newline at end of file ++}
+--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_cnr2.cpp ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_cnr2.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/
+
+ #include <math.h>
++#include <stdint.h>
+
+ #include "config.h"
+ #include "ui_cnr2.h"
+--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_coloryuv.cpp ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_coloryuv.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/
+ #include "config.h"
+
++#include <stdint.h>
+ #include <QtGui/QDialog>
+
+ #include "ui_coloryuv.h"
+--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.cpp ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.cpp +@@ -13,7 +13,7 @@ + ***************************************************************************/ + + #include "config.h" +- ++#include <cstdio> + #include <math.h> + #include <QPainter> + #include <QSlider> +--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h +@@ -1,6 +1,6 @@ + #ifndef ADM_Q_SLIDER_H + #define ADM_Q_SLIDER_H +- ++#include <inttypes.h> + class ADM_QSlider : public QSlider + { + protected: +--- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp ++++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp +@@ -9,7 +9,7 @@ + // + + #include "config.h" +- ++#include <inttypes.h> + #include <QtGui/QApplication> + #include <QtGui/QDesktopWidget> + +--- avidemux/ADM_video/mmx_macros.h ++++ avidemux/ADM_video/mmx_macros.h +@@ -353,7 +353,7 @@ + #define mmx_m2r(op, mem, reg) \ + __asm__ __volatile__ (#op " %0, %%" #reg \ + : /* nothing */ \ +- : "X" (mem)) ++ : "m" (mem)) + + #define mmx_r2m(op, reg, mem) \ + __asm__ __volatile__ (#op " %%" #reg ", %0" \ |