summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-16 22:09:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-16 22:09:40 +0000
commitc53a5e78dd1c00ed7f9b51387ae5ffa108b21c3d (patch)
tree2c096d3daeac47b16b7d1abc560e7e0cb6e712b6 /media-sound/kid3
parentBump to 0.6, fixes #276242 (diff)
downloadhistorical-c53a5e78dd1c00ed7f9b51387ae5ffa108b21c3d.tar.gz
historical-c53a5e78dd1c00ed7f9b51387ae5ffa108b21c3d.tar.bz2
historical-c53a5e78dd1c00ed7f9b51387ae5ffa108b21c3d.zip
Update libmp4v2 >= 1.9.0 patch to one from upstream.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/kid3')
-rw-r--r--media-sound/kid3/ChangeLog10
-rw-r--r--media-sound/kid3/Manifest7
-rw-r--r--media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch78
-rw-r--r--media-sound/kid3/kid3-1.2-r2.ebuild (renamed from media-sound/kid3/kid3-1.2-r1.ebuild)10
-rw-r--r--media-sound/kid3/kid3-1.2.ebuild24
5 files changed, 16 insertions, 113 deletions
diff --git a/media-sound/kid3/ChangeLog b/media-sound/kid3/ChangeLog
index 3b9bdbf19763..b6a88fa01219 100644
--- a/media-sound/kid3/ChangeLog
+++ b/media-sound/kid3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/kid3
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.41 2009/07/12 22:43:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.42 2009/07/16 22:09:39 ssuominen Exp $
+
+*kid3-1.2-r2 (16 Jul 2009)
+
+ 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +kid3-1.2-r2.ebuild:
+ Update libmp4v2 >= 1.9.0 patch to one from upstream.
*kid3-1.2-r1 (12 Jul 2009)
@@ -8,8 +13,7 @@
+files/kid3-1.2-new_libmp4v2.patch:
Detect and compile with libmp4v2 >= 1.9.0.
- 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> -kid3-1.1.ebuild,
- kid3-1.2.ebuild:
+ 21 May 2009; Samuli Suominen <ssuominen@gentoo.org> kid3-1.2.ebuild:
Move to kde4-base.eclass, thanks to scarabeus.
*kid3-1.2 (20 May 2009)
diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest
index 75a26e1ea339..3bb98375c484 100644
--- a/media-sound/kid3/Manifest
+++ b/media-sound/kid3/Manifest
@@ -1,8 +1,7 @@
-AUX kid3-1.2-new_libmp4v2.patch 3662 RMD160 5289363f8771c0702b4ca08344fd2dbe141c7ef1 SHA1 7076917aa9182890e57285fe895ef2f78f5b92cd SHA256 400151730eff8a98ac225787653c2cc6a2cf5b3a0fe9e9782b876c9749dd3f18
DIST kid3-1.0.tar.gz 1132898 RMD160 8677ff27081ffbcdc07424244111acc67c605f28 SHA1 6a342cce0d7c71a454e0232aa9a2ee6e84b0246d SHA256 ff8cd366682d2a5e35e45de48f393f611439d5408b83ec2d782cbd79c2e00876
+DIST kid3-1.2-libmp4v2.patch.bz2 8675 RMD160 8b25ad54e4c3718004686731a0b638c84226f4a1 SHA1 737f4567a82c0ff3d06dde88dcd56211fe8dc213 SHA256 ce277cd64c476966bfa760a94885ea1b75a0d5f3229069cd0e4f3cd1f5c7eaf6
DIST kid3-1.2.tar.gz 1381577 RMD160 3df2b29de8204611f1621c3764487263442f0531 SHA1 267eaab450293a722d146c1511c0bbc24cd5e286 SHA256 55959970708c720574f25420215f6ff43ed468df7905ae45517d6b1dc07ffa6f
EBUILD kid3-1.0.ebuild 1350 RMD160 4b3ec78a4548170e6f06b01dfd49c71f0e3a32f1 SHA1 03c1fca1dc4b2249d5986c9b518e9625c646d9e8 SHA256 b200e87404a5091a84445a153797759bf567af93437f58d044ffcb3f759b3e2d
-EBUILD kid3-1.2-r1.ebuild 693 RMD160 5cdd051b2bc79543f42381e0740004be494de7ba SHA1 9f8074df151bae2dc944521d239ca7decfb07b5b SHA256 863efd6fd5ed4c72a7ab89d951e5b9c8b2a9fce5a018d94aa2744e8d67f82bce
-EBUILD kid3-1.2.ebuild 638 RMD160 8caa0d0e78d86bb7de8ff25eb27d9a23d3945488 SHA1 181bb13c95512c4a86fdc8bf47f5d6c07794f882 SHA256 16204219776a7755d4ced82c1c69425f553bb8c2c8386e8408b4405f55fe3e13
-MISC ChangeLog 5704 RMD160 a00a70857d62403c9f43cc840c5dcb016bf31f52 SHA1 e54902d8e4635cd7fb3ac396dbbe1fa72053c7b0 SHA256 6a86bf79818c3372223ef3945649223040a32a57d21e1ba17613d1e652ebfc12
+EBUILD kid3-1.2-r2.ebuild 779 RMD160 46098d9ba0af236b6930498b5a739ac401416634 SHA1 b706565a2cd9fded498c313c0c8f32560567e499 SHA256 33a642d3c2e9aff40226bc49061c6623fce0dc184e7b4d7886f89259ada8e5a8
+MISC ChangeLog 5843 RMD160 288e4f4c557c79e152d32ab2f52aa1774905bc6e SHA1 f8711c2d6bd024145506de3f9d1e436347b09cb5 SHA256 5e37bf6cbb394ccf51e34464cd8fa5f503352229b41bf0c332f694ed15b2f529
MISC metadata.xml 175 RMD160 b83c98cecf42dee70ceb6176e04d25bd0ca3bb47 SHA1 53b99ea5fccaad7ef2442059a91878a36714594b SHA256 bef114df47e8714056f8ba499d57edbba26f1a7e0dbaca7dbfbe4beae4272729
diff --git a/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch b/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch
deleted file mode 100644
index 9742af4818b7..000000000000
--- a/media-sound/kid3/files/kid3-1.2-new_libmp4v2.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-FIXME. Detect and build with MP4V2 1.9.0. Uncompatible with old version,
-since the headers checking should be done based on version.
-
-diff -ur kid3-1.2.orig/CMakeLists.txt kid3-1.2/CMakeLists.txt
---- kid3-1.2.orig/CMakeLists.txt 2008-03-12 22:24:35.000000000 +0200
-+++ kid3-1.2/CMakeLists.txt 2009-07-13 01:38:25.000000000 +0300
-@@ -45,7 +45,7 @@
- ### Check for mp4v2
- set(MP4V2_LIBRARIES)
- if(WITH_MP4V2)
-- find_path(MP4V2_INCLUDE_DIR mp4.h
-+ find_path(MP4V2_INCLUDE_DIR mp4v2/mp4v2.h
- /usr/include/
- /usr/local/include/
- )
-@@ -63,7 +63,7 @@
-
- set(_CMAKE_REQUIRED_LIBRARIES_TMP ${CMAKE_REQUIRED_LIBRARIES})
- set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${MP4V2_LIBRARIES})
-- CHECK_CXX_SOURCE_COMPILES("#include <mp4.h>\nint main() {\n MP4FileHandle hFile;\n u_int32_t index;\n char* ppName;\n u_int8_t* ppValue;\n u_int32_t pValueSize;\n MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);\n return 0;\n}\n" HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG)
-+ CHECK_CXX_SOURCE_COMPILES("#include <mp4v2/mp4v2.h>\n#include <sys/types.h>\nint main() {\n MP4FileHandle hFile;\n u_int32_t index;\n char* ppName;\n u_int8_t* ppValue;\n u_int32_t pValueSize;\n MP4GetMetadataByIndex(hFile, index, &ppName, &ppValue, &pValueSize);\n return 0;\n}\n" HAVE_MP4V2_MP4GETMETADATABYINDEX_CHARPP_ARG)
- set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_TMP})
-
- else (MP4V2_INCLUDE_DIR AND MP4V2_LIBRARIES)
-diff -ur kid3-1.2.orig/configure.in.in kid3-1.2/configure.in.in
---- kid3-1.2.orig/configure.in.in 2009-04-02 20:44:10.000000000 +0300
-+++ kid3-1.2/configure.in.in 2009-07-13 00:57:38.000000000 +0300
-@@ -62,7 +62,7 @@
- ac_cppflags_save=$CPPFLAGS
- CPPFLAGS="$CPPFLAGS -I."
- AC_CHECK_HEADERS(systems.h)
-- AC_CHECK_HEADERS([mp4.h], [have_mp4_h=yes], [],
-+ AC_CHECK_HEADERS([mp4v2/mp4v2.h], [have_mp4_h=yes], [],
- [#ifdef HAVE_SYSTEMS_H
- # include <systems.h>
- #endif
-@@ -99,7 +99,7 @@
- AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- cat > conftest.$ac_ext <<EOF
--#include <mp4.h>
-+#include <mp4v2/mp4v2.h>
- int main() {
- MP4FileHandle hFile;
- u_int32_t index;
-diff -ur kid3-1.2.orig/doc/en/index.docbook kid3-1.2/doc/en/index.docbook
---- kid3-1.2.orig/doc/en/index.docbook 2009-04-26 19:52:47.000000000 +0300
-+++ kid3-1.2/doc/en/index.docbook 2009-07-13 00:59:34.000000000 +0300
-@@ -1463,7 +1463,7 @@
- files. These three formats are also supported by
- <ulink url="http://developer.kde.org/~wheeler/taglib.html">TagLib</ulink>,
- which can also handle MPC, MP2, Speex, TrueAudio and WavPack files.
--<ulink url="http://mpeg4ip.sourceforge.net">mp4v2</ulink> is required for
-+<ulink url="http://code.google.com/p/mp4v2">mp4v2</ulink> is required for
- MP4 files.
- For MusicBrainz support,
- <ulink url="http://musicbrainz.org/doc/libtunepimp">libtunepimp</ulink>
-diff -ur kid3-1.2.orig/kid3/m4afile.cpp kid3-1.2/kid3/m4afile.cpp
---- kid3-1.2.orig/kid3/m4afile.cpp 2008-12-22 11:57:24.000000000 +0200
-+++ kid3-1.2/kid3/m4afile.cpp 2009-07-13 01:36:31.000000000 +0300
-@@ -42,10 +42,16 @@
- #include <utime.h>
- #endif
- #include <stdio.h>
--#include <mp4.h>
-+#include <mp4v2/mp4v2.h>
- #include <cstdlib>
- #include <cstring>
-
-+/** FIXME. Define MP4V2 project version to MPEG4IP project version. */
-+#if defined MP4V2_PROJECT_version_major && MP4V2_PROJECT_version_minor
-+#define MPEG4IP_MAJOR_VERSION 0x1
-+#define MPEG4IP_MINOR_VERSION 0x9
-+#endif
-+
- /** MPEG4IP version as 16-bit hex number with major and minor version. */
- #if defined MPEG4IP_MAJOR_VERSION && defined MPEG4IP_MINOR_VERSION
- #define MPEG4IP_MAJOR_MINOR_VERSION ((MPEG4IP_MAJOR_VERSION << 8) | MPEG4IP_MINOR_VERSION)
diff --git a/media-sound/kid3/kid3-1.2-r1.ebuild b/media-sound/kid3/kid3-1.2-r2.ebuild
index f8562dcce797..7b6a35d817b2 100644
--- a/media-sound/kid3/kid3-1.2-r1.ebuild
+++ b/media-sound/kid3/kid3-1.2-r2.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2-r1.ebuild,v 1.1 2009/07/12 22:41:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2-r2.ebuild,v 1.1 2009/07/16 22:09:39 ssuominen Exp $
EAPI=2
inherit kde4-base
DESCRIPTION="A simple ID3 tag editor for QT/KDE."
HOMEPAGE="http://kid3.sourceforge.net/"
-SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz
+ http://dev.gentoo.org/~ssuominen/${P}-libmp4v2.patch.bz2
+ mirror://gentoo/${P}-libmp4v2.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -16,11 +18,11 @@ IUSE=""
RDEPEND="media-libs/id3lib
media-libs/taglib
- >=media-libs/libmp4v2-1.9.0
+ media-libs/libmp4v2
media-libs/libvorbis
media-libs/flac[cxx]
media-libs/musicbrainz:3
media-libs/tunepimp"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${P}-new_libmp4v2.patch" )
+PATCHES=( "${WORKDIR}/${P}-libmp4v2.patch" )
diff --git a/media-sound/kid3/kid3-1.2.ebuild b/media-sound/kid3/kid3-1.2.ebuild
deleted file mode 100644
index ffebdb76737e..000000000000
--- a/media-sound/kid3/kid3-1.2.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.2.ebuild,v 1.4 2009/07/12 22:43:53 ssuominen Exp $
-
-EAPI=2
-inherit kde4-base
-
-DESCRIPTION="A simple ID3 tag editor for QT/KDE."
-HOMEPAGE="http://kid3.sourceforge.net/"
-SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="media-libs/id3lib
- media-libs/taglib
- <media-libs/libmp4v2-1.9.0
- media-libs/libvorbis
- media-libs/flac[cxx]
- media-libs/musicbrainz:3
- media-libs/tunepimp"
-DEPEND="${RDEPEND}"