diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-05-13 13:09:38 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-05-13 13:09:38 +0000 |
commit | f0285f63555ad580bf3d0112bc52ee8cee9d0434 (patch) | |
tree | 682912f8159dbe13d7cc816d687a387dd8feb620 /app-cdr | |
parent | Remove old. (diff) | |
download | gentoo-2-f0285f63555ad580bf3d0112bc52ee8cee9d0434.tar.gz gentoo-2-f0285f63555ad580bf3d0112bc52ee8cee9d0434.tar.bz2 gentoo-2-f0285f63555ad580bf3d0112bc52ee8cee9d0434.zip |
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/k3b/ChangeLog | 8 | ||||
-rw-r--r-- | app-cdr/k3b/files/k3b-2.0.2-ffmpeg.patch | 96 | ||||
-rw-r--r-- | app-cdr/k3b/files/k3b-2.0.2-ffmpeg2.patch | 19 | ||||
-rw-r--r-- | app-cdr/k3b/files/k3b-2.0.2-libav9.patch | 22 | ||||
-rw-r--r-- | app-cdr/k3b/files/k3b-2.0.2-libavformat54.patch | 22 | ||||
-rw-r--r-- | app-cdr/k3b/k3b-2.0.2-r4.ebuild | 114 | ||||
-rw-r--r-- | app-cdr/k3b/k3b-2.0.2_p20140225.ebuild | 106 |
7 files changed, 7 insertions, 380 deletions
diff --git a/app-cdr/k3b/ChangeLog b/app-cdr/k3b/ChangeLog index ffd552eec67c..76b2abee1492 100644 --- a/app-cdr/k3b/ChangeLog +++ b/app-cdr/k3b/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-cdr/k3b # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.292 2015/05/13 09:31:09 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/ChangeLog,v 1.293 2015/05/13 13:09:38 kensington Exp $ + + 13 May 2015; Michael Palimaka <kensington@gentoo.org> + -files/k3b-2.0.2-ffmpeg.patch, -files/k3b-2.0.2-ffmpeg2.patch, + -files/k3b-2.0.2-libav9.patch, -files/k3b-2.0.2-libavformat54.patch, + -k3b-2.0.2-r4.ebuild, -k3b-2.0.2_p20140225.ebuild: + Remove old. 13 May 2015; Agostino Sarubbo <ago@gentoo.org> k3b-2.0.3-r1.ebuild: Stable for x86, wrt bug #547666 diff --git a/app-cdr/k3b/files/k3b-2.0.2-ffmpeg.patch b/app-cdr/k3b/files/k3b-2.0.2-ffmpeg.patch deleted file mode 100644 index 2878b1edcb06..000000000000 --- a/app-cdr/k3b/files/k3b-2.0.2-ffmpeg.patch +++ /dev/null @@ -1,96 +0,0 @@ -commit 61ca30beb978f68e72257408777c6433f33129bd -Author: Michal Malek <michalm@jabster.pl> -Date: Sun Aug 28 20:18:53 2011 +0200 - - Fixed compilation with new FFMPEG - - BUG: 274817 - FIXED-IN: 2.0.3 - -diff --git a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -index 0ad59fc..0c5f366 100644 ---- a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -+++ b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -@@ -109,7 +109,13 @@ bool K3bFFMpegFile::open() - #else - ::AVCodecContext* codecContext = d->formatContext->streams[0]->codec; - #endif -- if( codecContext->codec_type != CODEC_TYPE_AUDIO ) { -+ if( codecContext->codec_type != -+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) -+ AVMEDIA_TYPE_AUDIO) -+#else -+ CODEC_TYPE_AUDIO) -+#endif -+ { - kDebug() << "(K3bFFMpegFile) not a simple audio stream: " << m_filename; - return false; - } -@@ -225,8 +231,11 @@ QString K3bFFMpegFile::typeComment() const - QString K3bFFMpegFile::title() const - { - // FIXME: is this UTF8 or something?? -- if( d->formatContext->title[0] != '\0' ) -- return QString::fromLocal8Bit( d->formatContext->title ); -+ AVDictionaryEntry *ade = av_dict_get( d->formatContext->metadata, "TITLE", NULL, 0 ); -+ if( ade == NULL ) -+ return QString(); -+ if( ade->value != '\0' ) -+ return QString::fromLocal8Bit( ade->value ); - else - return QString(); - } -@@ -235,8 +244,11 @@ QString K3bFFMpegFile::title() const - QString K3bFFMpegFile::author() const - { - // FIXME: is this UTF8 or something?? -- if( d->formatContext->author[0] != '\0' ) -- return QString::fromLocal8Bit( d->formatContext->author ); -+ AVDictionaryEntry *ade = av_dict_get( d->formatContext->metadata, "ARTIST", NULL, 0 ); -+ if( ade == NULL ) -+ return QString(); -+ if( ade->value != '\0' ) -+ return QString::fromLocal8Bit( ade->value ); - else - return QString(); - } -@@ -245,8 +257,11 @@ QString K3bFFMpegFile::author() const - QString K3bFFMpegFile::comment() const - { - // FIXME: is this UTF8 or something?? -- if( d->formatContext->comment[0] != '\0' ) -- return QString::fromLocal8Bit( d->formatContext->comment ); -+ AVDictionaryEntry *ade = av_dict_get( d->formatContext->metadata, "COMMENT", NULL, 0 ); -+ if( ade == NULL ) -+ return QString(); -+ if( ade->value != '\0' ) -+ return QString::fromLocal8Bit( ade->value ); - else - return QString(); - } -@@ -309,8 +324,13 @@ int K3bFFMpegFile::fillOutputBuffer() - #if LIBAVCODEC_VERSION_MAJOR < 52 - int len = ::avcodec_decode_audio( - #else -+ #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) -+ int len = ::avcodec_decode_audio3( -+ #else - int len = ::avcodec_decode_audio2( -+ #endif - #endif -+ - #ifdef FFMPEG_BUILD_PRE_4629 - &d->formatContext->streams[0]->codec, - #else -@@ -318,7 +338,11 @@ int K3bFFMpegFile::fillOutputBuffer() - #endif - (short*)d->alignedOutputBuffer, - &d->outputBufferSize, -+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) -+ &d->packet ); -+#else - d->packetData, d->packetSize ); -+#endif - - if( d->packetSize <= 0 || len < 0 ) - ::av_free_packet( &d->packet ); diff --git a/app-cdr/k3b/files/k3b-2.0.2-ffmpeg2.patch b/app-cdr/k3b/files/k3b-2.0.2-ffmpeg2.patch deleted file mode 100644 index 5c34e0891ded..000000000000 --- a/app-cdr/k3b/files/k3b-2.0.2-ffmpeg2.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=476494 - -A better patch using avcodec_decode_audio4 will be needed but for now this -fixes the problem. - -Index: k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -=================================================================== ---- k3b-2.0.2.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -+++ k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -@@ -37,6 +37,9 @@ extern "C" { - - #include <klocale.h> - -+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE -+#define AVCODEC_MAX_AUDIO_FRAME_SIZE (192000 * 4) -+#endif - - #if LIBAVFORMAT_BUILD < 4629 - #define FFMPEG_BUILD_PRE_4629 diff --git a/app-cdr/k3b/files/k3b-2.0.2-libav9.patch b/app-cdr/k3b/files/k3b-2.0.2-libav9.patch deleted file mode 100644 index 42ec6632da68..000000000000 --- a/app-cdr/k3b/files/k3b-2.0.2-libav9.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -=================================================================== ---- k3b-2.0.2.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2013-04-22 17:46:13.523959500 +0200 -+++ k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp 2013-04-22 18:40:49.890007513 +0200 -@@ -95,7 +95,7 @@ bool K3bFFMpegFile::open() - } - - // analyze the streams -- ::av_find_stream_info( d->formatContext ); -+ ::avformat_find_stream_info( d->formatContext, 0 ); - - // we only handle files containing one audio stream - if( d->formatContext->nb_streams != 1 ) { -@@ -129,7 +129,7 @@ bool K3bFFMpegFile::open() - - // open the codec on our context - kDebug() << "(K3bFFMpegFile) found codec for " << m_filename; -- if( ::avcodec_open( codecContext, d->codec ) < 0 ) { -+ if( ::avcodec_open2( codecContext, d->codec, 0 ) < 0 ) { - kDebug() << "(K3bFFMpegDecoderFactory) could not open codec."; - return false; - } diff --git a/app-cdr/k3b/files/k3b-2.0.2-libavformat54.patch b/app-cdr/k3b/files/k3b-2.0.2-libavformat54.patch deleted file mode 100644 index 174a776b8b93..000000000000 --- a/app-cdr/k3b/files/k3b-2.0.2-libavformat54.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -=================================================================== ---- k3b-2.0.2.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -+++ k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp -@@ -88,7 +88,7 @@ bool K3bFFMpegFile::open() - close(); - - // open the file -- int err = ::av_open_input_file( &d->formatContext, m_filename.toLocal8Bit(), 0, 0, 0 ); -+ int err = ::avformat_open_input( &d->formatContext, m_filename.toLocal8Bit(), 0, NULL); - if( err < 0 ) { - kDebug() << "(K3bFFMpegFile) unable to open " << m_filename << " with error " << err; - return false; -@@ -143,7 +143,7 @@ bool K3bFFMpegFile::open() - } - - // dump some debugging info -- ::dump_format( d->formatContext, 0, m_filename.toLocal8Bit(), 0 ); -+ ::av_dump_format( d->formatContext, 0, m_filename.toLocal8Bit(), 0 ); - - return true; - } diff --git a/app-cdr/k3b/k3b-2.0.2-r4.ebuild b/app-cdr/k3b/k3b-2.0.2-r4.ebuild deleted file mode 100644 index 0dd0c39068c3..000000000000 --- a/app-cdr/k3b/k3b-2.0.2-r4.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-2.0.2-r4.ebuild,v 1.8 2014/04/26 11:29:46 johu Exp $ - -EAPI=5 - -MULTIMEDIA_REQUIRED="always" -WEBKIT_REQUIRED="always" -KDE_HANDBOOK="optional" -KDE_SCM="git" - -# Translations are only in the tarballs, not in the git repo -if [[ ${PV} != *9999* ]]; then - KDE_LINGUAS="ast be bg ca ca@valencia cs csb da de el en_GB eo es et eu fi fr ga - gl he hi hne hr hu is it ja km ko ku lt mai nb nds nl nn oc pa pl pt pt_BR ro ru - se sk sl sv th tr uk zh_CN zh_TW" - - SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.bz2" - DOCS=( FAQ PERMISSIONS README ) - S=${WORKDIR}/${P/_*} -else - DOCS=( FAQ.txt PERMISSIONS.txt README.txt ) -fi - -inherit kde4-base - -DESCRIPTION="The CD/DVD Kreator for KDE" -HOMEPAGE="http://www.k3b.org/" - -LICENSE="GPL-2 FDL-1.2" -SLOT="4" -KEYWORDS="amd64 ~ppc x86" -IUSE="debug dvd emovix encode ffmpeg flac mad mp3 musepack sndfile sox taglib vcd vorbis" - -DEPEND=" - $(add_kdebase_dep libkcddb) - media-libs/libsamplerate - dvd? ( media-libs/libdvdread ) - ffmpeg? ( virtual/ffmpeg ) - flac? ( >=media-libs/flac-1.2[cxx] ) - mp3? ( media-sound/lame ) - mad? ( media-libs/libmad ) - musepack? ( >=media-sound/musepack-tools-444 ) - sndfile? ( media-libs/libsndfile ) - taglib? ( >=media-libs/taglib-1.5 ) - vorbis? ( media-libs/libvorbis ) -" -RDEPEND="${DEPEND} - $(add_kdebase_dep kdelibs 'udev,udisks(+)') - app-cdr/cdrdao - media-sound/cdparanoia - virtual/cdrtools - dvd? ( - >=app-cdr/dvd+rw-tools-7 - encode? ( media-video/transcode[dvd] ) - ) - emovix? ( media-video/emovix ) - sox? ( media-sound/sox ) - vcd? ( media-video/vcdimager ) -" - -DOCS+=( ChangeLog ) - -PATCHES=( - "${FILESDIR}/${P}-ffmpeg.patch" - "${FILESDIR}/${P}-libavformat54.patch" - "${FILESDIR}/${P}-libav9.patch" - "${FILESDIR}/${P}-ffmpeg2.patch" -) - -REQUIRED_USE=" - mp3? ( encode ) - sox? ( encode ) -" - -src_configure() { - mycmakeargs=( - -DK3B_BUILD_API_DOCS=OFF - -DK3B_BUILD_K3BSETUP=OFF - -DK3B_BUILD_WAVE_DECODER_PLUGIN=ON - -DK3B_ENABLE_HAL_SUPPORT=OFF - -DK3B_ENABLE_MUSICBRAINZ=OFF - $(cmake-utils_use debug K3B_DEBUG) - $(cmake-utils_use dvd K3B_ENABLE_DVD_RIPPING) - $(cmake-utils_use encode K3B_BUILD_EXTERNAL_ENCODER_PLUGIN) - $(cmake-utils_use ffmpeg K3B_BUILD_FFMPEG_DECODER_PLUGIN) - $(cmake-utils_use flac K3B_BUILD_FLAC_DECODER_PLUGIN) - $(cmake-utils_use mp3 K3B_BUILD_LAME_ENCODER_PLUGIN) - $(cmake-utils_use mad K3B_BUILD_MAD_DECODER_PLUGIN) - $(cmake-utils_use musepack K3B_BUILD_MUSE_DECODER_PLUGIN) - $(cmake-utils_use sndfile K3B_BUILD_SNDFILE_DECODER_PLUGIN) - $(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN) - $(cmake-utils_use taglib K3B_ENABLE_TAGLIB) - $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN) - $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN) - ) - kde4-base_src_configure -} - -pkg_postinst() { - kde4-base_pkg_postinst - - echo - elog "We don't install k3bsetup anymore because Gentoo doesn't need it." - elog "If you get warnings on start-up, uncheck the \"Check system" - elog "configuration\" option in the \"Misc\" settings window." - echo - - local group=cdrom - use kernel_linux || group=operator - elog "Make sure you have proper read/write permissions on the cdrom device(s)." - elog "Usually, it is sufficient to be in the ${group} group." - echo -} diff --git a/app-cdr/k3b/k3b-2.0.2_p20140225.ebuild b/app-cdr/k3b/k3b-2.0.2_p20140225.ebuild deleted file mode 100644 index c16835df981b..000000000000 --- a/app-cdr/k3b/k3b-2.0.2_p20140225.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/k3b/k3b-2.0.2_p20140225.ebuild,v 1.1 2014/02/25 16:53:57 creffett Exp $ - -EAPI=5 - -MULTIMEDIA_REQUIRED="always" -WEBKIT_REQUIRED="always" -KDE_HANDBOOK="optional" -KDE_SCM="git" - -# Translations are not available, since this is a snapshot -#KDE_LINGUAS="ast be bg ca ca@valencia cs csb da de el en_GB eo es et eu fi fr ga -#gl he hi hne hr hu is it ja km ko ku lt mai nb nds nl nn oc pa pl pt pt_BR ro ru -#se sk sl sv th tr uk zh_CN zh_TW" - -SRC_URI="http://dev.gentoo.org/~creffett/distfiles/${P}.tar.xz" -DOCS=( FAQ.txt PERMISSIONS.txt README.txt ) - -inherit kde4-base - -DESCRIPTION="The CD/DVD Kreator for KDE" -HOMEPAGE="http://www.k3b.org/" - -LICENSE="GPL-2 FDL-1.2" -SLOT="4" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug dvd emovix encode ffmpeg flac mad mp3 musepack sndfile sox taglib vcd vorbis" - -DEPEND=" - $(add_kdebase_dep libkcddb) - media-libs/libsamplerate - dvd? ( media-libs/libdvdread ) - ffmpeg? ( virtual/ffmpeg ) - flac? ( >=media-libs/flac-1.2[cxx] ) - mp3? ( media-sound/lame ) - mad? ( media-libs/libmad ) - musepack? ( >=media-sound/musepack-tools-444 ) - sndfile? ( media-libs/libsndfile ) - taglib? ( >=media-libs/taglib-1.5 ) - vorbis? ( media-libs/libvorbis ) -" -RDEPEND="${DEPEND} - $(add_kdebase_dep kdelibs 'udev,udisks(+)') - app-cdr/cdrdao - media-sound/cdparanoia - virtual/cdrtools - dvd? ( - >=app-cdr/dvd+rw-tools-7 - encode? ( media-video/transcode[dvd] ) - ) - emovix? ( media-video/emovix ) - sox? ( media-sound/sox ) - vcd? ( media-video/vcdimager ) -" - -DOCS+=( ChangeLog ) - -PATCHES=( - "${FILESDIR}/${PN}-2.0.2-ffmpeg2.patch" -) - -REQUIRED_USE=" - mp3? ( encode ) - sox? ( encode ) -" - -src_configure() { - mycmakeargs=( - -DK3B_BUILD_API_DOCS=OFF - -DK3B_BUILD_K3BSETUP=OFF - -DK3B_BUILD_WAVE_DECODER_PLUGIN=ON - -DK3B_ENABLE_HAL_SUPPORT=OFF - -DK3B_ENABLE_MUSICBRAINZ=OFF - $(cmake-utils_use debug K3B_DEBUG) - $(cmake-utils_use dvd K3B_ENABLE_DVD_RIPPING) - $(cmake-utils_use encode K3B_BUILD_EXTERNAL_ENCODER_PLUGIN) - $(cmake-utils_use ffmpeg K3B_BUILD_FFMPEG_DECODER_PLUGIN) - $(cmake-utils_use flac K3B_BUILD_FLAC_DECODER_PLUGIN) - $(cmake-utils_use mp3 K3B_BUILD_LAME_ENCODER_PLUGIN) - $(cmake-utils_use mad K3B_BUILD_MAD_DECODER_PLUGIN) - $(cmake-utils_use musepack K3B_BUILD_MUSE_DECODER_PLUGIN) - $(cmake-utils_use sndfile K3B_BUILD_SNDFILE_DECODER_PLUGIN) - $(cmake-utils_use sox K3B_BUILD_SOX_ENCODER_PLUGIN) - $(cmake-utils_use taglib K3B_ENABLE_TAGLIB) - $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_DECODER_PLUGIN) - $(cmake-utils_use vorbis K3B_BUILD_OGGVORBIS_ENCODER_PLUGIN) - ) - kde4-base_src_configure -} - -pkg_postinst() { - kde4-base_pkg_postinst - - echo - elog "We don't install k3bsetup anymore because Gentoo doesn't need it." - elog "If you get warnings on start-up, uncheck the \"Check system" - elog "configuration\" option in the \"Misc\" settings window." - echo - - local group=cdrom - use kernel_linux || group=operator - elog "Make sure you have proper read/write permissions on the cdrom device(s)." - elog "Usually, it is sufficient to be in the ${group} group." - echo -} |