pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libogg libogg: updated to 1.3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9833e74babe
branches:  trunk
changeset: 400718:e9833e74babe
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 02 08:58:57 2019 +0000

description:
libogg: updated to 1.3.4

Version 1.3.4:
* Faster slice-by-8 CRC32 implementation.
  see https://lwn.net/Articles/453931/ for motivation.
* Add CMake build.
* Deprecate Visual Studio project files in favor of CMake.
* configure --disable-crc option for fuzzing.
* Various build fixes.
* Documentation and example code fixes.

diffstat:

 multimedia/libogg/Makefile                |  23 ++++---------
 multimedia/libogg/distinfo                |  11 +++--
 multimedia/libogg/patches/patch-configure |  54 +++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 21 deletions(-)

diffs (113 lines):

diff -r d142beb7a7a8 -r e9833e74babe multimedia/libogg/Makefile
--- a/multimedia/libogg/Makefile        Mon Sep 02 08:57:57 2019 +0000
+++ b/multimedia/libogg/Makefile        Mon Sep 02 08:58:57 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2017/11/23 15:49:42 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2019/09/02 08:58:57 adam Exp $
 
-DISTNAME=      libogg-1.3.3
+DISTNAME=      libogg-1.3.4
 CATEGORIES=    multimedia devel
 MASTER_SITES=  http://downloads.xiph.org/releases/ogg/
 EXTRACT_SUFX=  .tar.xz
@@ -10,21 +10,12 @@
 COMMENT=       Ogg project codecs library
 LICENSE=       modified-bsd
 
-USE_TOOLS+=    pkg-config
-USE_LIBTOOL=   yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         yes
+PKGCONFIG_OVERRIDE+=   ogg.pc.in
+TEST_TARGET=           check
 
 GCC_REQD+=     2.95.3
 
-PKGCONFIG_OVERRIDE+=   ogg.pc.in
-
-TEST_TARGET=   check
-
-.include "../../mk/bsd.prefs.mk"
-
-# Aggressive optimisation causes configure tests to fail.
-.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "gcc"
-BUILDLINK_TRANSFORM+=  opt:-O4:-O2
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r d142beb7a7a8 -r e9833e74babe multimedia/libogg/distinfo
--- a/multimedia/libogg/distinfo        Mon Sep 02 08:57:57 2019 +0000
+++ b/multimedia/libogg/distinfo        Mon Sep 02 08:58:57 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2017/11/23 15:49:42 wiz Exp $
+$NetBSD: distinfo,v 1.15 2019/09/02 08:58:57 adam Exp $
 
-SHA1 (libogg-1.3.3.tar.xz) = ba54760b8f44bd85b79222286faf5d6a21e356fe
-RMD160 (libogg-1.3.3.tar.xz) = dfef68032aa4648ecb5b1059d58414f21a9c1ce8
-SHA512 (libogg-1.3.3.tar.xz) = 37d8e4329bf7a997a95d84a55c325a5a893ec84bb4d5b7ea638e5cb13201a0619e71ecd9710a8371def69f092c62dcc59ec0a607db246028ee8a62678386260b
-Size (libogg-1.3.3.tar.xz) = 417636 bytes
+SHA1 (libogg-1.3.4.tar.xz) = f07499a35566aa62affb5ca989f62eed5b8092c3
+RMD160 (libogg-1.3.4.tar.xz) = ee76a42b00bc11d483de53d9e84a487be3900d06
+SHA512 (libogg-1.3.4.tar.xz) = 09ffb72c3cbde5c05140f5879bd457106ed4070bd7aa5ea7720cf8910167f1d0fa6312f1f71625d51f21e3033219da858e1a8a2701bfd768b35061f7586f976c
+Size (libogg-1.3.4.tar.xz) = 428696 bytes
+SHA1 (patch-configure) = d33ee766a1fb7f81b9fc38930a26279aa506244a
diff -r d142beb7a7a8 -r e9833e74babe multimedia/libogg/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libogg/patches/patch-configure Mon Sep 02 08:58:57 2019 +0000
@@ -0,0 +1,54 @@
+$NetBSD: patch-configure,v 1.1 2019/09/02 08:58:57 adam Exp $
+
+Do not force compiler optimization flags.
+
+--- configure.orig     2019-09-02 08:48:15.000000000 +0000
++++ configure
+@@ -12781,17 +12781,17 @@ if test -z "$GCC"; then
+         case $host in
+         *-*-irix*)
+                 DEBUG="-g -signed"
+-                CFLAGS="-O2 -w -signed"
++                CFLAGS="-w -signed"
+                 PROFILE="-p -g3 -O2 -signed"
+               ;;
+         sparc-sun-solaris*)
+                 DEBUG="-v -g"
+-                CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
++                CFLAGS="-fast -w -fsimple -native -xcg92"
+                 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
+               ;;
+         *)
+                 DEBUG="-g"
+-                CFLAGS="-O"
++                CFLAGS=""
+                 PROFILE="-g -p"
+               ;;
+         esac
+@@ -12799,22 +12799,22 @@ else
+         case $host in
+         *-*-linux*)
+                 DEBUG="-g -Wall -fsigned-char"
+-                CFLAGS="-O20 -Wall -ffast-math -fsigned-char"
++                CFLAGS="-Wall -ffast-math -fsigned-char"
+                 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
+               ;;
+         sparc-sun-*)
+                 DEBUG="-g -Wall -fsigned-char"
+-                CFLAGS="-O20 -ffast-math -fsigned-char"
++                CFLAGS="-ffast-math -fsigned-char"
+                 PROFILE="-pg -g -O20 -fsigned-char"
+               ;;
+       *-*-darwin*)
+               DEBUG="-fno-common -g -Wall -fsigned-char"
+-              CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
++              CFLAGS="-fno-common -Wall -fsigned-char -ffast-math"
+               PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
+               ;;
+         *)
+                 DEBUG="-g -Wall -fsigned-char"
+-                CFLAGS="-O20 -fsigned-char"
++                CFLAGS="-fsigned-char"
+                 PROFILE="-O20 -g -pg -fsigned-char"
+               ;;
+         esac



Home | Main Index | Thread Index | Old Index