[packages/libogg] - updated to 1.3.6

qboosh qboosh at pld-linux.org
Tue Jun 17 21:27:49 CEST 2025


commit 4c5fd18746aced7b9c1281bb1dd67c7824d230b8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 17 21:21:28 2025 +0200

    - updated to 1.3.6

 libogg-ac_fixes.patch | 34 +++++++++++++++++-----------------
 libogg.spec           |  9 +++++----
 2 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/libogg.spec b/libogg.spec
index 58e1f08..5a4fbe9 100644
--- a/libogg.spec
+++ b/libogg.spec
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without	static_libs	# don't build static library
+%bcond_without	static_libs	# static library
 #
 Summary:	Ogg Bitstream Library
 Summary(pl.UTF-8):	Biblioteka obsługi strumieni bitowych Ogg
 Summary(pt_BR.UTF-8):	Biblioteca libogg
 Name:		libogg
-Version:	1.3.5
+Version:	1.3.6
 Release:	1
 Epoch:		2
 License:	BSD
 Group:		Libraries
 Source0:	https://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
-# Source0-md5:	3178c98341559657a15b185bf5d700a5
+# Source0-md5:	529275432dff072f63d4ed0f1f961384
 Patch0:		%{name}-ac_fixes.patch
 URL:		https://www.xiph.org/ogg/
 BuildRequires:	autoconf >= 2.50
@@ -79,8 +79,9 @@ Bibliotecas estáticas para desenvolvimento com o Ogg Vorbis.
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
 	%{!?with_static_libs:--disable-static}
diff --git a/libogg-ac_fixes.patch b/libogg-ac_fixes.patch
index 7ddeaf7..5a216b2 100644
--- a/libogg-ac_fixes.patch
+++ b/libogg-ac_fixes.patch
@@ -1,20 +1,20 @@
---- libogg-1.3.3/configure.ac.orig	2010-11-01 21:13:42.000000000 +0100
-+++ libogg-1.3.3/configure.ac	2010-11-03 21:34:19.187102452 +0100
-@@ -46,8 +46,8 @@
+--- libogg-1.3.6/configure.ac.orig	2025-06-16 18:02:12.000000000 +0200
++++ libogg-1.3.6/configure.ac	2025-06-17 21:13:44.140751378 +0200
+@@ -46,8 +46,8 @@ else
          case $host in
          *-*-linux*)
-                 DEBUG="-g -Wall -fsigned-char"
--                CFLAGS="-O2 -Wall -ffast-math -fsigned-char"
--                PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char"
-+                CFLAGS="$CFLAGS -Wall -ffast-math -fsigned-char"
-+                PROFILE="$CFLAGS -Wall -W -pg -g -ffast-math -fsigned-char"
+                 DEBUG="-g -Wall -Wextra -fsigned-char"
+-                CFLAGS="-O2 -Wall -Wextra -ffast-math -fsigned-char"
+-                PROFILE="-Wall -Wextra -W -pg -g -O2 -ffast-math -fsigned-char"
++                CFLAGS="$CFLAGS -Wall -Wextra -ffast-math -fsigned-char"
++                PROFILE="$CFLAGS -Wall -Wextra -W -pg -g -ffast-math -fsigned-char"
  		;;
          sparc-sun-*)
-                 DEBUG="-g -Wall -fsigned-char"
-@@ -61,8 +61,8 @@
+                 DEBUG="-g -Wall -Wextra -fsigned-char"
+@@ -61,8 +61,8 @@ else
  		;;
          *)
-                 DEBUG="-g -Wall -fsigned-char"
+                 DEBUG="-g -Wall -Wextra -fsigned-char"
 -                CFLAGS="-O2 -fsigned-char"
 -                PROFILE="-O2 -g -pg -fsigned-char"
 +                CFLAGS="$CFLAGS -fsigned-char"
@@ -22,11 +22,11 @@
  		;;
          esac
  fi
---- libogg-1.2.2/ogg.m4~	2009-05-21 00:57:14.000000000 +0200
-+++ libogg-1.2.2/ogg.m4	2011-07-25 12:09:42.870545070 +0200
-@@ -14,16 +14,6 @@
- AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="")
- AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes)
+--- libogg-1.3.6/ogg.m4.orig	2025-06-16 18:02:12.000000000 +0200
++++ libogg-1.3.6/ogg.m4	2025-06-17 21:14:39.983782184 +0200
+@@ -14,16 +14,6 @@ AC_ARG_WITH(ogg-libraries,AS_HELP_STRING
+ AC_ARG_WITH(ogg-includes,AS_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="")
+ AC_ARG_ENABLE(oggtest,AS_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes)
  
 -  if test "x$ogg_libraries" != "x" ; then
 -    OGG_LIBS="-L$ogg_libraries"
@@ -34,7 +34,7 @@
 -    OGG_LIBS=""
 -  elif test "x$ogg_prefix" != "x" ; then
 -    OGG_LIBS="-L$ogg_prefix/lib"
--  elif test "x$prefix" != "xNONE" ; then
+-  elif test "x$prefix" != "xNONE" && test "x$prefix" != "x/usr" ; then
 -    OGG_LIBS="-L$prefix/lib"
 -  fi
 -
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libogg.git/commitdiff/4c5fd18746aced7b9c1281bb1dd67c7824d230b8



More information about the pld-cvs-commit mailing list