svn commit: r414855 - in head/graphics/sekrit-twc-zimg: . files
Jan Beich
jbeich at FreeBSD.org
Mon May 9 13:53:45 UTC 2016
Author: jbeich
Date: Mon May 9 13:53:43 2016
New Revision: 414855
URL: https://svnweb.freebsd.org/changeset/ports/414855
Log:
graphics/sekrit-twc-zimg: update to 2.1
Changes: https://github.com/sekrit-twc/zimg/compare/release-2.0.4...release-2.1
Added:
head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__avx2__test.cpp (contents, props changed)
- copied, changed from r414854, head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp
Modified:
head/graphics/sekrit-twc-zimg/Makefile (contents, props changed)
head/graphics/sekrit-twc-zimg/distinfo (contents, props changed)
head/graphics/sekrit-twc-zimg/files/patch-no-extra-deps (contents, props changed)
head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp (contents, props changed)
head/graphics/sekrit-twc-zimg/pkg-plist (contents, props changed)
Modified: head/graphics/sekrit-twc-zimg/Makefile
==============================================================================
--- head/graphics/sekrit-twc-zimg/Makefile Mon May 9 13:53:16 2016 (r414854)
+++ head/graphics/sekrit-twc-zimg/Makefile Mon May 9 13:53:43 2016 (r414855)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= zimg
-PORTVERSION= 2.0.4
+PORTVERSION= 2.1
DISTVERSIONPREFIX= release-
CATEGORIES= graphics
PKGNAMEPREFIX= ${GH_ACCOUNT}-
@@ -46,10 +46,6 @@ post-patch:
@${REINPLACE_CMD} -e 's/-O2 //' \
-e '/zimg-test/ { s/+=/=/; s/^noinst_/bin_/; } ' \
${WRKSRC}/Makefile.am
- @${REINPLACE_CMD} -e 's/nullptr_t/std::&/' \
- -e 's/off64_t/off_t/' \
- ${WRKSRC}/src/testcommon/json.* \
- ${WRKSRC}/src/testcommon/mmap.cpp
pre-install-TEST-on: do-test
Modified: head/graphics/sekrit-twc-zimg/distinfo
==============================================================================
--- head/graphics/sekrit-twc-zimg/distinfo Mon May 9 13:53:16 2016 (r414854)
+++ head/graphics/sekrit-twc-zimg/distinfo Mon May 9 13:53:43 2016 (r414855)
@@ -1,2 +1,2 @@
-SHA256 (sekrit-twc-zimg-release-2.0.4_GH0.tar.gz) = e3b1f5b9f8ce750f96b9bc9801ff5d6aa931d35300d67711826e397df43c5245
-SIZE (sekrit-twc-zimg-release-2.0.4_GH0.tar.gz) = 174469
+SHA256 (sekrit-twc-zimg-release-2.1_GH0.tar.gz) = 09093bbb4d73865362e1e346762a6efdc9acc3d2cab6a2ebf5f00ba5d90b17c3
+SIZE (sekrit-twc-zimg-release-2.1_GH0.tar.gz) = 171769
Modified: head/graphics/sekrit-twc-zimg/files/patch-no-extra-deps
==============================================================================
--- head/graphics/sekrit-twc-zimg/files/patch-no-extra-deps Mon May 9 13:53:16 2016 (r414854)
+++ head/graphics/sekrit-twc-zimg/files/patch-no-extra-deps Mon May 9 13:53:43 2016 (r414855)
@@ -46,16 +46,16 @@
+test_unit_test_LDADD = -lgtest -lmd -lpthread \
libzimg.la
endif # UNIT_TEST
---- configure.ac.orig 2016-01-22 18:12:28 UTC
+--- configure.ac.orig 2016-05-08 20:08:38 UTC
+++ configure.ac
-@@ -29,8 +29,6 @@ AS_IF([test "x$enable_unit_test" = "xyes
- [x86_64], [],
- [AC_MSG_WARN([Could not determine how to enable IEEE-754 compliance on host. Tests may fail.])]
- )
+@@ -30,8 +30,6 @@ AS_IF([test "x$enable_unit_test" = "xyes
+ [i?86], [CFLAGS="$CFLAGS -mfpmath=sse -msse2" CXXFLAGS="$CXXFLAGS -mfpmath=sse -msse2"],
+ [x86_64], [],
+ [AC_MSG_WARN([Could not determine how to enable IEEE-754 compliance on host. Tests may fail.])])
- AC_CONFIG_SUBDIRS(test/extra/googletest/googletest)
- AC_SUBST([CONFIG_SUBDIRS], [test/extra/googletest/googletest])
- ],
- )
+ ])
+
--- test/graph/filter_validator.cpp.orig 2016-01-22 18:12:28 UTC
+++ test/graph/filter_validator.cpp
Copied and modified: head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__avx2__test.cpp (from r414854, head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp)
==============================================================================
--- head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp Mon May 9 13:53:16 2016 (r414854, copy source)
+++ head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__avx2__test.cpp Mon May 9 13:53:43 2016 (r414855)
@@ -1,11 +1,11 @@
---- test/resize/resize_impl_sse2_test.cpp.orig 2016-01-22 18:12:28 UTC
-+++ test/resize/resize_impl_sse2_test.cpp
-@@ -7,6 +7,8 @@
+--- test/resize/resize_impl_avx2_test.cpp.orig 2016-05-08 20:08:38 UTC
++++ test/resize/resize_impl_avx2_test.cpp
+@@ -9,6 +9,8 @@
#include "gtest/gtest.h"
#include "graph/filter_validator.h"
-+#include <cmath> // INFINITY
++#include <cmath> // NAN
+
- namespace {;
+ namespace {
void test_case(const zimg::resize::Filter &filter, bool horizontal, unsigned src_w, unsigned src_h, unsigned dst_w, unsigned dst_h,
Modified: head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp
==============================================================================
--- head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp Mon May 9 13:53:16 2016 (r414854)
+++ head/graphics/sekrit-twc-zimg/files/patch-test_resize_resize__impl__sse2__test.cpp Mon May 9 13:53:43 2016 (r414855)
@@ -1,4 +1,4 @@
---- test/resize/resize_impl_sse2_test.cpp.orig 2016-01-22 18:12:28 UTC
+--- test/resize/resize_impl_sse2_test.cpp.orig 2016-05-08 20:08:38 UTC
+++ test/resize/resize_impl_sse2_test.cpp
@@ -7,6 +7,8 @@
#include "gtest/gtest.h"
@@ -6,6 +6,6 @@
+#include <cmath> // INFINITY
+
- namespace {;
+ namespace {
void test_case(const zimg::resize::Filter &filter, bool horizontal, unsigned src_w, unsigned src_h, unsigned dst_w, unsigned dst_h,
Modified: head/graphics/sekrit-twc-zimg/pkg-plist
==============================================================================
--- head/graphics/sekrit-twc-zimg/pkg-plist Mon May 9 13:53:16 2016 (r414854)
+++ head/graphics/sekrit-twc-zimg/pkg-plist Mon May 9 13:53:43 2016 (r414855)
@@ -5,5 +5,4 @@ lib/libzimg.a
lib/libzimg.so
lib/libzimg.so.2
lib/libzimg.so.2.0.0
-lib/zimg/vszimg.so
libdata/pkgconfig/zimg.pc
More information about the svn-ports-head
mailing list