peter pushed to libyuv (epel7). "Next svn snapshot - ver. 239 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 14:41:48 UTC 2015


>From c20711fbd8b854642b7249f3e5227b5b17cc04e5 Mon Sep 17 00:00:00 2001
From: Peter Lemenkov <lemenkov at gmail.com>
Date: Sun, 8 Apr 2012 17:09:22 +0400
Subject: Next svn snapshot - ver. 239

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

diff --git a/libyuv-0001-Initial-autotools-support.patch b/libyuv-0001-Initial-autotools-support.patch
index 9fe06e7..2cf73b9 100644
--- a/libyuv-0001-Initial-autotools-support.patch
+++ b/libyuv-0001-Initial-autotools-support.patch
@@ -1,4 +1,4 @@
-From 512d57fd809ee0ada237bcac05b64a51b9104881 Mon Sep 17 00:00:00 2001
+From a29714d02024e97d4343a0108ac08859bfaa3ccb Mon Sep 17 00:00:00 2001
 From: Peter Lemenkov <lemenkov at gmail.com>
 Date: Fri, 16 Dec 2011 22:08:41 +0400
 Subject: [PATCH 1/2] Initial autotools support
@@ -7,11 +7,11 @@ Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
 ---
  Makefile.am           |    3 +
  autogen.sh            |    7 +++
- configure.ac          |  130 +++++++++++++++++++++++++++++++++++++++++++++++++
- source/Makefile.am    |   59 ++++++++++++++++++++++
+ configure.ac          |  149 +++++++++++++++++++++++++++++++++++++++++++++++++
+ source/Makefile.am    |   59 ++++++++++++++++++++
  source/libyuv.pc.in   |    9 +++
- unit_test/Makefile.am |   24 +++++++++
- 6 files changed, 232 insertions(+), 0 deletions(-)
+ unit_test/Makefile.am |   24 ++++++++
+ 6 files changed, 251 insertions(+)
  create mode 100644 Makefile.am
  create mode 100755 autogen.sh
  create mode 100644 configure.ac
@@ -43,10 +43,10 @@ index 0000000..bfd37d1
 +autoconf
 diff --git a/configure.ac b/configure.ac
 new file mode 100644
-index 0000000..396fa10
+index 0000000..37bfae3
 --- /dev/null
 +++ b/configure.ac
-@@ -0,0 +1,130 @@
+@@ -0,0 +1,149 @@
 +AC_INIT([libyuv], [0], [http://groups.google.com/group/discuss-libyuv], [libyuv], [http://code.google.com/p/libyuv/])
 +
 +AC_CANONICAL_TARGET
@@ -68,13 +68,12 @@ index 0000000..396fa10
 +
 +if test "$with_mjpeg" = "yes" ; then
 +	AC_MSG_WARN([Motion JPEG decoder is enabled])
-+	# FIXME
-+#	AC_CHECK_HEADERS(
-+#			 [jpeglib.h],
-+#			 [],
-+#			 [AC_MSG_ERROR([jpeglib.h header not found])],
-+#			 []
-+#			 )
++	AC_CHECK_HEADERS(
++			 [jpeglib.h],
++			 [],
++			 [AC_MSG_ERROR([jpeglib.h header not found])],
++			 [AC_INCLUDES_DEFAULT]
++			 )
 +	AC_CHECK_LIB(
 +		     [jpeg],
 +		     [jpeg_read_header],
@@ -159,6 +158,7 @@ index 0000000..396fa10
 +			     )
 +		;;
 +	*)
++		has_neon="no"
 +		;;
 +esac
 +
@@ -177,9 +177,28 @@ index 0000000..396fa10
 +AM_CONDITIONAL(ENABLE_NEON, test "$has_neon" = "yes")
 +
 +AC_OUTPUT
++
++AC_MSG_RESULT([
++------------------------------------------------------------------------
++  $PACKAGE $VERSION configuration.
++
++    Compiler support:
++
++      Target CPU: ................... ${target_cpu}
++             Has NEON? .............. ${has_neon}
++      Target OS: .................... ${target_os}
++             Is POSIX? .............. ${posix}
++
++    General configuration:
++
++      Enable Motion JPEG: ............ ${with_mjpeg}
++      Enable test suite: . ........... ${with_test}
++
++------------------------------------------------------------------------
++])
 diff --git a/source/Makefile.am b/source/Makefile.am
 new file mode 100644
-index 0000000..5d1efa5
+index 0000000..f539e32
 --- /dev/null
 +++ b/source/Makefile.am
 @@ -0,0 +1,59 @@
@@ -239,7 +258,7 @@ index 0000000..5d1efa5
 +		    $(mjpeg_SOURCES) \
 +		    $(neon_SOURCES)
 +
-+libyuv_la_CXXFLAGS = $(AM_LDFLAGS) -I$(top_srcdir)/include
++libyuv_la_CXXFLAGS = $(AM_LDFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)
 +libyuv_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBYUV_VERSION_INFO)
 +libyuv_la_LIBADD = @LIBJPEG_LIBS@
 diff --git a/source/libyuv.pc.in b/source/libyuv.pc.in
@@ -259,7 +278,7 @@ index 0000000..d921dd5
 +Libs: -lyuv
 diff --git a/unit_test/Makefile.am b/unit_test/Makefile.am
 new file mode 100644
-index 0000000..4c5d6f6
+index 0000000..3a1abe0
 --- /dev/null
 +++ b/unit_test/Makefile.am
 @@ -0,0 +1,24 @@
@@ -277,7 +296,7 @@ index 0000000..4c5d6f6
 +		    unit_test.cc \
 +		    unit_test.h
 +
-+unit_test_CXXFLAGS = $(AM_CXXFLAGS) @GTEST_CXXFLAGS@ -I$(top_srcdir)/include
++unit_test_CXXFLAGS = $(AM_CXXFLAGS) @GTEST_CXXFLAGS@ -I$(top_srcdir)/include -I$(top_srcdir)
 +unit_test_LDADD = @GTEST_LIBS@ $(top_builddir)/source/libyuv.la
 +
 +else
@@ -288,5 +307,5 @@ index 0000000..4c5d6f6
 +
 +EXTRA_DIST = testdata/arm_v7.txt testdata/tegra3.txt
 -- 
-1.7.9.1
+1.7.9.3
 
diff --git a/libyuv-0002-Fix-paths-in-ArmCpuCaps-test.patch b/libyuv-0002-Fix-paths-in-ArmCpuCaps-test.patch
index 399f6a3..7394a82 100644
--- a/libyuv-0002-Fix-paths-in-ArmCpuCaps-test.patch
+++ b/libyuv-0002-Fix-paths-in-ArmCpuCaps-test.patch
@@ -1,4 +1,4 @@
-From 7b6da0ff11c7bac5689ac7920ac8a3c5c07db8dd Mon Sep 17 00:00:00 2001
+From 99a97f80e5d873459f82fdc3f9a2689cb6c1a2f8 Mon Sep 17 00:00:00 2001
 From: Peter Lemenkov <lemenkov at gmail.com>
 Date: Sun, 4 Mar 2012 11:07:55 +0400
 Subject: [PATCH 2/2] Fix paths in ArmCpuCaps test
@@ -6,13 +6,13 @@ Subject: [PATCH 2/2] Fix paths in ArmCpuCaps test
 Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
 ---
  unit_test/cpu_test.cc |    4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/unit_test/cpu_test.cc b/unit_test/cpu_test.cc
-index 0c43d3f..8422d08 100644
+index 5c0f83b..fcb8981 100644
 --- a/unit_test/cpu_test.cc
 +++ b/unit_test/cpu_test.cc
-@@ -23,8 +23,8 @@ namespace libyuv {
+@@ -48,8 +48,8 @@ TEST_F(libyuvTest, TestCpuHas) {
  extern "C" int ArmCpuCaps(const char* cpuinfoname);
  
  TEST_F(libyuvTest, TestLinuxNeon) {
@@ -22,7 +22,7 @@ index 0c43d3f..8422d08 100644
 +  EXPECT_EQ(kCpuHasNEON, ArmCpuCaps("testdata/tegra3.txt"));
  }
  
- TEST_F(libyuvTest, TestVersion) {
+ }  // namespace libyuv
 -- 
-1.7.9.1
+1.7.9.3
 
diff --git a/libyuv.spec b/libyuv.spec
index 64b4cd7..1e0d767 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -1,11 +1,11 @@
 Name:		libyuv
 Summary:	YUV conversion and scaling functionality library
 Version:	0
-Release:	0.5.20120308svn209%{?dist}
+Release:	0.6.20120406svn239%{?dist}
 License:	BSD
 Group:		Development/Libraries
 Url:		http://code.google.com/p/libyuv/
-## svn -r 209 export http://libyuv.googlecode.com/svn/trunk libyuv-0
+## svn -r 239 export http://libyuv.googlecode.com/svn/trunk libyuv-0
 ## tar -cjvf libyuv-0.tar.bz2 libyuv-0
 Source0:	%{name}-%{version}.tar.bz2
 # Fedora-specific. Upstream isn't interested in this.
@@ -84,6 +84,9 @@ make check
 
 
 %changelog
+* Sun Apr 08 2012 Peter Lemenkov <lemenkov at gmail.com> - 0-0.6.20120406svn239
+- Next svn snapshot - ver. 239
+
 * Thu Mar 08 2012 Peter Lemenkov <lemenkov at gmail.com> - 0-0.5.20120308svn209
 - Next svn ver. - 209
 - Drop upstreamed patches
diff --git a/sources b/sources
index 0e1e38a..8f9fa5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e357c0df9c8077c09ed94c01b524d615  libyuv-0.tar.bz2
+bb8be97226245c46271c6ef2654a4ab8  libyuv-0.tar.bz2
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libyuv.git/commit/?h=epel7&id=c20711fbd8b854642b7249f3e5227b5b17cc04e5


More information about the scm-commits mailing list