Hello community,

here is the log from the commit of package libao for openSUSE:Factory checked 
in at 2011-12-27 18:36:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libao (Old)
 and      /work/SRC/openSUSE:Factory/.libao.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libao", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libao/libao.changes      2011-09-23 
02:07:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libao.new/libao.changes 2011-12-27 
18:36:04.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Dec 26 02:37:18 UTC 2011 - [email protected]
+
+- Use O_CLOEXEC in shared library 
+- Remove aRts plugin, which is dead since 2004.
+- remove _service file
+
+-------------------------------------------------------------------

Old:
----
  _service
  _service:recompress:download_url:libao-1.1.0.tar.bz2
  _service:set_version:libao.spec

New:
----
  libao-1.1.0.tar.gz
  libao-ocloexec.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libao.spec ++++++
--- /var/tmp/diff_new_pack.JIaxUU/_old  2011-12-27 18:36:06.000000000 +0100
+++ /var/tmp/diff_new_pack.JIaxUU/_new  2011-12-27 18:36:06.000000000 +0100
@@ -21,19 +21,21 @@
 %define PLUGIN_VERSION 4
 
 Name:           libao
-Version:        to_be_filled_by_service
+Version:        1.1.0
 Release:        8
 License:        GPL-2.0+
 %define my_provides /tmp/my-provides
 Summary:        A Cross-Platform Audio Output Library
 Url:            http://www.xiph.org/ao/
 Group:          System/Libraries
-Source:         %{name}-%{version}.tar.bz2
+Source:         %{name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE lib64.dif -- General problem, but no general fix... 
openSUSE specific.
 Patch0:         lib64.dif
-BuildRequires:  arts-devel
+Patch1:         libao-ocloexec.patch
 BuildRequires:  libesd-devel
 BuildRequires:  libpulse-devel
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,7 +44,6 @@
 
 %package -n libao%{_SO_nr}
 
-
 License:        GPL-2.0+
 Group:          System/Libraries
 Summary:        A Cross-Platform Audio Output Library
@@ -57,7 +58,6 @@
 
 %package plugins%{PLUGIN_VERSION}
 
-
 License:        GPL-2.0+
 Summary:        Main output plugins for libao
 Group:          System/Libraries
@@ -76,19 +76,9 @@
 This package contains all necessary include files and libraries needed
 to develop applications that require these.
 
-%package plugin%{PLUGIN_VERSION}-arts
-
-
-Summary:        ARts output plugin for libao
-Group:          System/Libraries
-Supplements:    packageand(arts:libao%{_SO_nr})
-
-%description plugin%{PLUGIN_VERSION}-arts
-This package contains the aRts output plugin for libao.
 
 %package plugin%{PLUGIN_VERSION}-esd
 
-
 Summary:        ESD output plugin for libao
 Group:          System/Libraries
 Supplements:    packageand(esound-daemon:libao%{_SO_nr})
@@ -101,12 +91,14 @@
 if [ "%{_lib}" == "lib64" ]; then
 %patch0
 fi
+%patch1
 ### If there is anything wrong it should be reported upstream
 # remove obsolete macros
 #rm -f acinclude.m4
 
 %build
-%configure --disable-static
+autoreconf -fiv
+%configure --enable-alsa-mmap --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -152,10 +144,6 @@
 %{_datadir}/aclocal/*.m4
 %{_libdir}/pkgconfig/*.pc
 
-%files plugin%{PLUGIN_VERSION}-arts
-%defattr(0644,root,root,0755)
-%{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libarts.so
-
 %files plugin%{PLUGIN_VERSION}-esd
 %defattr(0644,root,root,0755)
 %{_libdir}/ao/plugins-%{PLUGIN_VERSION}/libesd.so

++++++ libao-ocloexec.patch ++++++
--- src/audio_out.c.orig
+++ src/audio_out.c
@@ -1344,7 +1344,7 @@ ao_device *ao_open_file (int driver_id,
 
                if (!overwrite) {
                        /* Test for file existence */
-                       file = fopen(filename, "r");
+                       file = fopen(filename, "re");
                        if (file != NULL) {
                                fclose(file);
                                errno = AO_EFILEEXISTS;
@@ -1353,7 +1353,7 @@ ao_device *ao_open_file (int driver_id,
                }
 
 
-               file = fopen(filename, "w");
+               file = fopen(filename, "we");
        }
 
 
--- src/config.c.orig
+++ src/config.c
@@ -57,7 +57,7 @@ static int ao_read_config_file(ao_config
        char line[LINE_LEN];
        int end;
 
-       if ( !(fp = fopen(config_file, "r")) )
+       if ( !(fp = fopen(config_file, "re")) )
                return 0; /* Can't open file */
 
        while (fgets(line, LINE_LEN, fp)) {
--- configure.ac.orig
+++ configure.ac
@@ -30,7 +30,9 @@ dnl Check for programs
 dnl ====================================
 
 cflags_save="$CFLAGS"
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_LIBTOOL_WIN32_DLL
 AC_LIBTOOL_DLOPEN
 AM_PROG_LIBTOOL
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to