]> code.ossystems Code Review - openembedded-core.git/commitdiff
flac: Upgraded to version 1.2.1
authorDongxiao Xu <dongxiao.xu@intel.com>
Sat, 26 Jun 2010 09:46:31 +0000 (17:46 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 30 Jun 2010 12:13:52 +0000 (13:13 +0100)
Acquire flac-gcc43-fixes.patch from OE to fix a build issue
Rebase disable-xmms-plugin.patch
Change the local file directory name to ${PN}-${PV}

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch [deleted file]
meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch [new file with mode: 0644]
meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch [new file with mode: 0644]
meta/packages/flac/flac-1.2.1/xmms.m4 [moved from meta/packages/flac/flac-1.1.2/xmms.m4 with 99% similarity]
meta/packages/flac/flac_1.2.1.bb [moved from meta/packages/flac/flac_1.1.2.bb with 95% similarity]

diff --git a/meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch b/meta/packages/flac/flac-1.1.2/disable-xmms-plugin.patch
deleted file mode 100644 (file)
index e42fcbd..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- flac-1.1.0/src/Makefile.am.orig    2004-12-25 01:11:45.000000000 +0100
-+++ flac-1.1.0/src/Makefile.am 2004-12-25 01:12:10.000000000 +0100
-@@ -15,10 +15,6 @@
- #  along with this program; if not, write to the Free Software
- #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
--if FLaC__HAS_XMMS
--XMMS_DIRS = plugin_xmms
--endif
--
- if FLaC__HAS_OGG
- OGGFLAC_DIRS = libOggFLAC libOggFLAC++
- OGGFLAC_TEST_DIRS = test_libOggFLAC test_libOggFLAC++
-@@ -33,7 +29,6 @@
-       metaflac \
-       monkeys_audio_utilities \
-       plugin_common \
--      $(XMMS_DIRS) \
-       plugin_winamp2 \
-       plugin_winamp3 \
-       test_grabbag \
diff --git a/meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch b/meta/packages/flac/flac-1.2.1/disable-xmms-plugin.patch
new file mode 100644 (file)
index 0000000..e2f4fa1
--- /dev/null
@@ -0,0 +1,24 @@
+# Acquired from OpenEmbedded
+
+diff -ruN flac-1.2.1-orig/src/Makefile.am flac-1.2.1-new/src/Makefile.am
+--- flac-1.2.1-orig/src/Makefile.am    2010-06-23 15:06:29.167865355 +0800
++++ flac-1.2.1-new/src/Makefile.am     2010-06-25 16:23:05.555202728 +0800
+@@ -15,10 +15,6 @@
+ #  restrictive of those mentioned above.  See the file COPYING.Xiph in this
+ #  distribution.
+-if FLaC__HAS_XMMS
+-XMMS_DIRS = plugin_common plugin_xmms
+-endif
+-
+ if FLaC__WITH_CPPLIBS
+ CPPLIBS_DIRS = libFLAC++ test_libFLAC++
+ endif
+@@ -29,7 +25,6 @@
+       flac \
+       metaflac \
+       monkeys_audio_utilities \
+-      $(XMMS_DIRS) \
+       plugin_winamp2 \
+       test_grabbag \
+       test_libs_common \
diff --git a/meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch b/meta/packages/flac/flac-1.2.1/flac-gcc43-fixes.patch
new file mode 100644 (file)
index 0000000..fdb6f13
--- /dev/null
@@ -0,0 +1,14 @@
+# Acquired from OpenEmbedded
+# Fix no declaration of memcmp()
+
+diff -urN flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
+--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp  2010-06-23 15:06:29.159481339 +0800
++++ flac-1.2.1/examples/cpp/encode/file/main.cpp       2010-06-23 15:06:46.233384883 +0800
+@@ -30,6 +30,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "FLAC++/metadata.h"
+ #include "FLAC++/encoder.h"
similarity index 99%
rename from meta/packages/flac/flac-1.1.2/xmms.m4
rename to meta/packages/flac/flac-1.2.1/xmms.m4
index 6d1489bf194bd5bf4f406d2440ddd8d7125c9d94..5e250cdd38906ae6761d59aeba917ddacbdc4a81 100644 (file)
@@ -1,5 +1,6 @@
 # CFLAGS and library paths for XMMS
 # written 15 December 1999 by Ben Gertzfield <che@debian.org>
+# Acquired from OpenEmbedded
 
 dnl Usage:
 dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
similarity index 95%
rename from meta/packages/flac/flac_1.1.2.bb
rename to meta/packages/flac/flac_1.2.1.bb
index 78f29fbca39ead3604b63b80a9c39c5618f8e571..8459201ee75e1c0e2787d4310857e0e668e22620 100644 (file)
@@ -2,10 +2,11 @@ DESCRIPTION = "FLAC is a Free Lossless Audio Codec."
 LICENSE = "BSD GPL"
 SECTION = "libs"
 DEPENDS = "libogg"
-PR = "r6"
+PR = "r0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \
           file://disable-xmms-plugin.patch;patch=1 \
+          file://flac-gcc43-fixes.patch;patch=1 \
           file://xmms.m4"
 
 S = "${WORKDIR}/flac-${PV}"