commit apulse for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2020-10-02 17:36:25

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new.4249 (New)


Package is "apulse"

Fri Oct  2 17:36:25 2020 rev:13 rq:838822 version:0.1.13

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2019-11-08 
15:28:17.799163171 +0100
+++ /work/SRC/openSUSE:Factory/.apulse.new.4249/apulse.changes  2020-10-02 
17:36:40.602716200 +0200
@@ -1,0 +2,11 @@
+Tue Sep 29 18:17:04 UTC 2020 - Alexei Sorokin 
+
+- Update to version 0.1.13:
+  * Fix compiling with external PulseAudio 12.x headers.
+  * Link libpulse-simple.so with libpulse.so.
+  * Use <0 rather than !=0 for ALSA error code checking.
+  * Minor compilation fixes.
+- Drop apulse-fix-pulse-12.patch, apulse-alsa.patch: fixed
+  upstream.
+
+---

Old:

  apulse-0.1.12.tar.gz
  apulse-alsa.patch
  apulse-fix-pulse-12.patch

New:

  apulse-0.1.13.tar.gz



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.qtkLkk/_old  2020-10-02 17:36:43.070717671 +0200
+++ /var/tmp/diff_new_pack.qtkLkk/_new  2020-10-02 17:36:43.074717674 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apulse
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,10 @@
 
 
 # integer of major pulse version
-%define pulse_major %(sed -n '/^#define.*PA_MAJOR/{s/^.* //;p}' 
/usr/include/pulse/version.h)
-
+%define pulse_major %(sed -n '/^#define.*PA_MAJOR/{s/^.* //;p}' 
%{_includedir}/pulse/version.h)
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
-Version:0.1.12
+Version:0.1.13
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT
@@ -30,12 +29,9 @@
 Source1:baselibs.conf
 Source2:%{name}.py
 Source3:%{name}.conf
-# PATCH-FIX-OPENSUSE apulse-fix-pulse-12.patch sor.ale...@meowr.ru -- Fix 
PulseAudio 12+ compatibility.
-Patch0: apulse-fix-pulse-12.patch
-Patch1: apulse-alsa.patch
 %if %{pulse_major} > 12
-# PATCH-FIX-OPENSUSE apulse-fix-pulse-13.patch seife+...@b1-systems.com -- fix 
pulse 13+ compatibility.
-Patch2: apulse-fix-pulse-13.patch
+# PATCH-FIX-OPENSUSE apulse-fix-pulse-13.patch seife+...@b1-systems.com -- Fix 
PulseAudio 13+ compatibility.
+Patch0: apulse-fix-pulse-13.patch
 %endif
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -58,7 +54,7 @@
   -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \
   -DAPULSEPATH=%{_libdir}/%{name}  \
   -DCMAKE_SHARED_LINKER_FLAGS="" -LA
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %cmake_install
@@ -71,15 +67,11 @@
 %postun -p /sbin/ldconfig
 
 %files
-%if 0%{?suse_version} >= 1500
 %license LICENSE.MIT
-%else
-%doc LICENSE.MIT
-%endif
 %doc README.md
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %{_bindir}/%{name}
-%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/
 %{_libdir}/%{name}/libpulse*.so.*
 %{_mandir}/man1/apulse.1%{?ext_man}
 

++ apulse-0.1.12.tar.gz -> apulse-0.1.13.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apulse-0.1.12/CMakeLists.txt 
new/apulse-0.1.13/CMakeLists.txt
--- old/apulse-0.1.12/CMakeLists.txt2018-03-15 11:35:19.0 +0100
+++ new/apulse-0.1.13/CMakeLists.txt2020-04-19 18:46:25.0 +0200
@@ -20,7 +20,7 @@
 
 include_directories(${REQ_INCLUDE_DIRS})
 
-set(USE_BUNDLED_PULSEAUDIO_HEADERS 1 CACHE BOOLEAN "Use bundled PulseAudio 
headers instead of system ones")
+set(USE_BUNDLED_PULSEAUDIO_HEADERS 1 CACHE BOOL "Use bundled PulseAudio 
headers instead of system ones")
 if (${USE_BUNDLED_PULSEAUDIO_HEADERS})
 include_directories(3rdparty/pulseaudio-headers)
 else()
@@ -64,11 +64,12 @@
 set_target_properties(pulse-mainloop-glib PROPERTIES VERSION 0)
 set_target_properties(pulse-simple PROPERTIES VERSION 0)
 
-set(SYMBOLMAP "-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"")
+set(CMAKE_SHARED_LINKER_FLAGS
+"${CMAKE_SHARED_LINKER_FLAGS} 
-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"")
 
-target_link_libraries(pulse ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
-target_link_libraries(pulse-mainloop-glib ${SYMBOLMAP} trace-helper 
${REQ_LIBRARIES})
-target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
+target_link_libraries(pulse trace-helper ${REQ_LIBRARIES})
+target_link_libraries(pulse-mainloop-glib trace-helper pulse ${REQ_LIBRARIES}

commit apulse for openSUSE:Factory

2019-11-08 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2019-11-08 15:28:14

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new.2990 (New)


Package is "apulse"

Fri Nov  8 15:28:14 2019 rev:12 rq:746540 version:0.1.12

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2019-03-28 
22:49:00.715051206 +0100
+++ /work/SRC/openSUSE:Factory/.apulse.new.2990/apulse.changes  2019-11-08 
15:28:17.799163171 +0100
@@ -1,0 +2,10 @@
+Fri Nov  8 08:05:35 UTC 2019 - Stefan Seyfried 
+
+- add apulse-fix-pulse-13.patch to fix build against PA 13
+
+---
+Thu Oct 17 13:30:17 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---

New:

  apulse-fix-pulse-13.patch



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.mbCO8i/_old  2019-11-08 15:28:18.379163823 +0100
+++ /var/tmp/diff_new_pack.mbCO8i/_new  2019-11-08 15:28:18.379163823 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apulse
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+# integer of major pulse version
+%define pulse_major %(sed -n '/^#define.*PA_MAJOR/{s/^.* //;p}' 
/usr/include/pulse/version.h)
+
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
 Version:0.1.12
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT
-Group:  System/Libraries
 URL:https://github.com/i-rinat/apulse
 Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
@@ -31,6 +33,10 @@
 # PATCH-FIX-OPENSUSE apulse-fix-pulse-12.patch sor.ale...@meowr.ru -- Fix 
PulseAudio 12+ compatibility.
 Patch0: apulse-fix-pulse-12.patch
 Patch1: apulse-alsa.patch
+%if %{pulse_major} > 12
+# PATCH-FIX-OPENSUSE apulse-fix-pulse-13.patch seife+...@b1-systems.com -- fix 
pulse 13+ compatibility.
+Patch2: apulse-fix-pulse-13.patch
+%endif
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig

++ apulse-fix-pulse-13.patch ++
Index: b/src/apulse-context.c
===
--- a/src/apulse-context.c
+++ b/src/apulse-context.c
@@ -80,7 +80,7 @@ pa_context_disconnect(pa_context *c)
 
 APULSE_EXPORT
 int
-pa_context_errno(pa_context *c)
+pa_context_errno(const pa_context *c)
 {
 trace_info_z("Z %s c=%p\n", __func__, c);
 
@@ -89,7 +89,7 @@ pa_context_errno(pa_context *c)
 
 APULSE_EXPORT
 uint32_t
-pa_context_get_protocol_version(pa_context *c)
+pa_context_get_protocol_version(const pa_context *c)
 {
 trace_info_f("F %s c=%p\n", __func__, c);
 return PA_PROTOCOL_VERSION;
@@ -143,7 +143,7 @@ pa_context_get_server_info(pa_context *c
 
 APULSE_EXPORT
 uint32_t
-pa_context_get_server_protocol_version(pa_context *c)
+pa_context_get_server_protocol_version(const pa_context *c)
 {
 trace_info_f("F %s c=%p\n", __func__, c);
 return 8;  // PA headers say "8" is the protocol version used in PulseAudio
@@ -514,7 +514,7 @@ pa_context_get_sink_input_info(pa_contex
 
 APULSE_EXPORT
 pa_context_state_t
-pa_context_get_state(pa_context *c)
+pa_context_get_state(const pa_context *c)
 {
 trace_info_f("F %s c=%p\n", __func__, c);
 
@@ -536,7 +536,7 @@ pa_context_new(pa_mainloop_api *mainloop
 APULSE_EXPORT
 pa_context *
 pa_context_new_with_proplist(pa_mainloop_api *mainloop_api, const char *name,
- pa_proplist *proplist)
+ const pa_proplist *proplist)
 {
 trace_info_f("F %s mainloop_api=%p, name=%s, proplist=%p\n", __func__,
  mainloop_api, name, proplist);
@@ -569,7 +569,7 @@ pa_context_ref(pa_context *c)
 
 APULSE_EXPORT
 pa_time_event *
-pa_context_rttime_new(pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb,
+pa_context_rttime_new(const pa_context *c, pa_usec_t usec, pa_time_event_cb_t 
cb,
   void *userdata)
 {
 trace_info_f("F %s c=%p, usec=%" PRIu64 " cb=%p, userdata=%p\n", __func__,
@@ -1240,7 +1240,7 @@ 

commit apulse for openSUSE:Factory

2019-03-28 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2019-03-28 22:48:56

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new.25356 (New)


Package is "apulse"

Thu Mar 28 22:48:56 2019 rev:11 rq:689243 version:0.1.12

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2018-06-19 
12:04:26.488298912 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new.25356/apulse.changes 2019-03-28 
22:49:00.715051206 +0100
@@ -1,0 +2,9 @@
+Tue Mar 26 07:03:44 UTC 2019 - o...@aepfle.de
+
+- Use alsa API properly. Consumers are expected to use
+   instead of .
+  This is in preparation of an change to pkgconfig(alsa) to
+  not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
+  apulse-alsa.patch
+
+---

New:

  apulse-alsa.patch



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.bJ6uSL/_old  2019-03-28 22:49:01.995050974 +0100
+++ /var/tmp/diff_new_pack.bJ6uSL/_new  2019-03-28 22:49:02.007050972 +0100
@@ -30,6 +30,7 @@
 Source3:%{name}.conf
 # PATCH-FIX-OPENSUSE apulse-fix-pulse-12.patch sor.ale...@meowr.ru -- Fix 
PulseAudio 12+ compatibility.
 Patch0: apulse-fix-pulse-12.patch
+Patch1: apulse-alsa.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -44,8 +45,7 @@
 PulseAudio emulation intended to be used with Firefox and Skype.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %cmake \

++ apulse-alsa.patch ++
--- a/src/apulse.h
+++ b/src/apulse.h
@@ -26,7 +26,7 @@
 
 #define _GNU_SOURCE
 #include "ringbuffer.h"
-#include 
+#include 
 #include 
 #include 
 #include 
--- a/src/util.h
+++ b/src/util.h
@@ -24,7 +24,7 @@
 
 #pragma once
 
-#include 
+#include 
 #include 
 
 int



commit apulse for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2018-06-19 12:04:25

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Tue Jun 19 12:04:25 2018 rev:10 rq:617321 version:0.1.12

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2018-03-19 
23:37:50.438516899 +0100
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2018-06-19 
12:04:26.488298912 +0200
@@ -1,0 +2,21 @@
+Sat Jun 16 15:48:41 UTC 2018 - sor.ale...@meowr.ru
+
+- Update to version 0.1.12 (changes since 0.1.10):
+  * Implement new, free, and write functions of the pa_simple_*
+family.
+  * Add some documentation about issues related to sandboxing.
+  * Drop the libpulsecommon-5.0.so binary.
+  * Add stub functions for the mainloop-glib interface.
+  * add a man- page.
+  * Cosmetic code changes.
+  * Misc compatibility fixes.
+- Add apulse-fix-pulse-12.patch sor.ale...@meowr.ru: Fix
+  PulseAudio 12+ compatibility.
+- Remove apulse-link-math.patch.
+- Use %cmake_install.
+- Rewrite the apulse script in Python 3 to avoid insecure config
+  reading from home. The apulse.conf format was changed, and the
+  user config also was moved from ~/.apulse.conf to
+  $XDG_CONFIG_HOME/apulse.conf.
+
+---

Old:

  apulse
  apulse-0.1.10.tar.gz
  apulse-link-math.patch

New:

  apulse-0.1.12.tar.gz
  apulse-fix-pulse-12.patch
  apulse.py



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.y9TQP4/_old  2018-06-19 12:04:27.292269062 +0200
+++ /var/tmp/diff_new_pack.y9TQP4/_new  2018-06-19 12:04:27.300268765 +0200
@@ -12,12 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
-Version:0.1.10
+Version:0.1.12
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT
@@ -25,10 +26,10 @@
 URL:https://github.com/i-rinat/apulse
 Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
-Source2:%{name}.conf
-Source3:%{name}
-# PATCH-FIX-OPENSUSE apulse-link-math.patch sor.ale...@meowr.ru -- Link with 
-lm to fix building.
-Patch0: apulse-link-math.patch
+Source2:%{name}.py
+Source3:%{name}.conf
+# PATCH-FIX-OPENSUSE apulse-fix-pulse-12.patch sor.ale...@meowr.ru -- Fix 
PulseAudio 12+ compatibility.
+Patch0: apulse-fix-pulse-12.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -40,34 +41,40 @@
 %endif
 
 %description
-PulseAudio emulation intended to be used with Skype and Firefox
+PulseAudio emulation intended to be used with Firefox and Skype.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-%cmake -LA -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
-make %{?_smp_mflags}
+%cmake \
+  -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \
+  -DAPULSEPATH=%{_libdir}/%{name}  \
+  -DCMAKE_SHARED_LINKER_FLAGS="" -LA
+make %{?_smp_mflags} V=1
 
 %install
-mkdir -p %{buildroot}%{_libdir}/%{name}
-install -m644 build/libpulse*.so.* %{buildroot}%{_libdir}/%{name}
-mkdir %{buildroot}%{_sysconfdir}
-install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}
-mkdir %{buildroot}%{_bindir}
-install %{SOURCE3} %{buildroot}%{_bindir}
+%cmake_install
+rm %{buildroot}%{_libdir}/%{name}/libpulse*.so
+install -Dpm 0755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
+install -Dpm 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}.conf
 
 %post -p /sbin/ldconfig
+
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(0644,root,root,-)
+%if 0%{?suse_version} >= 1500
 %license LICENSE.MIT
+%else
+%doc LICENSE.MIT
+%endif
 %doc README.md
 %config(noreplace) %{_sysconfdir}/%{name}.conf
-%attr(0755,root,root) %{_bindir}/%{name}
+%{_bindir}/%{name}
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/libpulse*.so.*
+%{_mandir}/man1/apulse.1%{?ext_man}
 
 %changelog

++ apulse-0.1.10.tar.gz -> apulse-0.1.12.tar.gz ++
 7948 lines of diff (skipped)

++ apulse-fix-pulse-12.patch ++
--- a/src/apulse-volume.c
+++ b/src/apulse-volume.c
@@ -282,8 +282,13 @@ pa_cvolume_scale(pa_cvolume *v, pa_volum
 
 APULSE_EXPORT
 pa_cvolume *
+#if PA_CHECK_VERSION(11, 99, 0)
+pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, const pa_channel_map *cm,
+  pa_channel_position_mask_t mask)
+#else
 pa

commit apulse for openSUSE:Factory

2018-03-19 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2018-03-19 23:37:49

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Mon Mar 19 23:37:49 2018 rev:9 rq:587877 version:0.1.10

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2017-07-21 
22:49:43.629952915 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2018-03-19 
23:37:50.438516899 +0100
@@ -0,0 +1,8 @@
+---
+Fri Mar 12 17:50:15 UTC 2018 - i...@ilya.pp.ua
+
+- Refresh spec-file via spec-cleaner.
+  * Add %license macro.
+  * Add cmake -LA option for print local variables.
+
+---



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.JJL27Z/_old  2018-03-19 23:37:51.710471014 +0100
+++ /var/tmp/diff_new_pack.JJL27Z/_new  2018-03-19 23:37:51.714470869 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apulse
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,10 +12,9 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org
 #
 
-
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
 Version:0.1.10
@@ -23,7 +22,7 @@
 Summary:PulseAudio emulation for ALSA
 License:MIT
 Group:  System/Libraries
-Url:https://github.com/i-rinat/apulse
+URL:https://github.com/i-rinat/apulse
 Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Source2:%{name}.conf
@@ -48,7 +47,7 @@
 %patch0 -p1
 
 %build
-%cmake -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
+%cmake -LA -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
 make %{?_smp_mflags}
 
 %install
@@ -59,12 +58,16 @@
 mkdir %{buildroot}%{_bindir}
 install %{SOURCE3} %{buildroot}%{_bindir}
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
-%defattr(-,root,root)
-%{_bindir}/%{name}
+%defattr(0644,root,root,-)
+%license LICENSE.MIT
+%doc README.md
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%attr(0755,root,root) %{_bindir}/%{name}
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/libpulse*.so.*
-%config(noreplace) %{_sysconfdir}/%{name}.conf
-%doc LICENSE.MIT README.md
 
 %changelog




commit apulse for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2017-07-21 22:49:40

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Fri Jul 21 22:49:40 2017 rev:8 rq:511429 version:0.1.10

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2017-05-10 
20:53:42.983763620 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2017-07-21 
22:49:43.629952915 +0200
@@ -0,0 +1,6 @@
+Wed Jul 19 11:59:16 UTC 2017 - i...@ilya.pp.ua
+
+- Add files:
+  * apulse.conf
+  * apulse (using apulse.conf and autoload 32-bit or 64-bit library)
+

New:

  apulse
  apulse.conf



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.NOGSUc/_old  2017-07-21 22:49:44.449837261 +0200
+++ /var/tmp/diff_new_pack.NOGSUc/_new  2017-07-21 22:49:44.453836696 +0200
@@ -24,8 +24,10 @@
 License:MIT
 Group:  System/Libraries
 Url:https://github.com/i-rinat/apulse
-Source: 
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+Source2:%{name}.conf
+Source3:%{name}
 # PATCH-FIX-OPENSUSE apulse-link-math.patch sor.ale...@meowr.ru -- Link with 
-lm to fix building.
 Patch0: apulse-link-math.patch
 BuildRequires:  cmake
@@ -39,30 +41,30 @@
 %endif
 
 %description
-PulseAudio emulation intended to be used with Mozilla Firefox.
+PulseAudio emulation intended to be used with Skype and Firefox
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-%cmake \
-  -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \
-  -DAPULSEPATH=%{_libdir}/%{name}/
-make %{?_smp_mflags} V=1
+%cmake -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
+make %{?_smp_mflags}
 
 %install
-%cmake_install
-rm %{buildroot}%{_libdir}/%{name}/*.so
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+mkdir -p %{buildroot}%{_libdir}/%{name}
+install -m644 build/libpulse*.so.* %{buildroot}%{_libdir}/%{name}
+mkdir %{buildroot}%{_sysconfdir}
+install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}
+mkdir %{buildroot}%{_bindir}
+install %{SOURCE3} %{buildroot}%{_bindir}
 
 %files
 %defattr(-,root,root)
-%doc LICENSE.MIT README.md
 %{_bindir}/%{name}
-%{_libdir}/%{name}/
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/libpulse*.so.*
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%doc LICENSE.MIT README.md
 
 %changelog

++ apulse ++
#!/bin/sh

[ -f '/etc/apulse.conf' -a -r '/etc/apulse.conf' ] && . '/etc/apulse.conf';
[ -f $HOME'/.apulse.conf' -a -r $HOME'/.apulse.conf' ] && . 
$HOME'/.apulse.conf';

APULSE_CAPTURE_DEVICE=${APULSE_CAPTURE_DEVICE:='plughw:0,0'};
APULSE_PLAYBACK_DEVICE=${APULSE_PLAYBACK_DEVICE:='default'};

LD_LIBRARY_PATH='/usr/$LIB/apulse'${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} 
APULSE_CAPTURE_DEVICE="$APULSE_CAPTURE_DEVICE" 
APULSE_PLAYBACK_DEVICE="$APULSE_PLAYBACK_DEVICE" "$@";
++ apulse.conf ++
APULSE_CAPTURE_DEVICE=${APULSE_CAPTURE_DEVICE:='plughw:0,0'};
APULSE_PLAYBACK_DEVICE=${APULSE_PLAYBACK_DEVICE:='default'};
++ baselibs.conf ++
--- /var/tmp/diff_new_pack.NOGSUc/_old  2017-07-21 22:49:44.529825978 +0200
+++ /var/tmp/diff_new_pack.NOGSUc/_new  2017-07-21 22:49:44.533825413 +0200
@@ -1,3 +1,2 @@
 apulse
-   autoreqprov off
-   requires "alsa-"
+  requires "apulse"




commit apulse for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2017-05-10 20:53:41

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Wed May 10 20:53:41 2017 rev:7 rq:494104 version:0.1.10

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2017-03-12 
20:04:13.163894268 +0100
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2017-05-10 
20:53:42.983763620 +0200
@@ -1,0 +2,13 @@
+Tue May  9 16:45:47 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 0.1.10 (changes since 0.1.8):
+  * Fix the PA_SAMPLE_S16NE volume scaling bug.
+  * Fix video stuttering in Firefox by calling write callback as
+soon as minreq bytes become available in write buffer.
+  * Make error messages from do_connect_pcm friendlier.
+  * Per-stream volumes.
+  * Implement source and sink info introspection functions.
+  * Implement timed events.
+  * Fix buffer xruns by increasing buffer sizes.
+
+---

Old:

  apulse-0.1.8.tar.gz

New:

  apulse-0.1.10.tar.gz



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.99Xrpk/_old  2017-05-10 20:53:44.143599952 +0200
+++ /var/tmp/diff_new_pack.99Xrpk/_new  2017-05-10 20:53:44.147599388 +0200
@@ -18,7 +18,7 @@
 
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
-Version:0.1.8
+Version:0.1.10
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT

++ apulse-0.1.8.tar.gz -> apulse-0.1.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apulse-0.1.8/README.md new/apulse-0.1.10/README.md
--- old/apulse-0.1.8/README.md  2017-03-08 17:38:10.0 +0100
+++ new/apulse-0.1.10/README.md 2017-04-18 17:55:19.0 +0200
@@ -3,9 +3,31 @@
 
 PulseAudio emulation for ALSA.
 
-Project is in stale state since its proclamation. The main objective,
-working Skype test call, is reached. I don't have any plans for further
-development.
+The program provides an alternative partial implementation of the PulseAudio
+API. It consists of a loader script and a number of shared libraries with the
+same names as from original PulseAudio, so applications could dynamically load
+them and think they are talking to PulseAudio. Internally, no separate sound
+mixing daemon is used. Instead, apulse relies on ALSA's `dmix`, `dsnoop`, and
+`plug` plugins to handle multiple sound sources and capture streams running at
+the same time. `dmix` plugin muxes multiple playback streams; `dsnoop` plugin
+allow multiple applications to capture from a single microphone; and `plug`
+plugin transparently converts audio between various sample formats, sample 
rates
+and channel numbers. For more than a decade now, ALSA comes with these plugins
+enabled and configured by default.
+
+`apulse` wasn't designed to be a drop-in replacement of PulseAudio. It's
+pointless, since that will be just reimplementation of original PulseAudio, 
with
+the same client-daemon architecture, required by the complete feature
+set. Instead, only parts of the API that are crucial to specific applications
+are implemented. That's why there is a loader script, named `apulse`. It 
updates
+value of `LD_LIBRARY_PATH` environment variable to point also to the directory
+where apulse's libraries are installed, making them available to the
+application.
+
+Name comes from names of both ALSA and PulseAudio. As `aoss` was a 
compatibility
+layer between OSS programs and ALSA, `apulse` was designed to be compatibility
+layer between PulseAudio applications and ALSA.
+
 
 Install
 ===
@@ -35,20 +57,40 @@
 If libraries are installed to a regular library path, you don't need run 
applications
 through `apulse` wrapper.
 
-Note you need to select build type to be `Release`, otherwise it will output 
enourmous
-amount of debug text to the stdout.
 
 Usage
 =
 
 ```
-$ apulse  [parameters]
+$ apulse  [program-parameters]
 ```
 
 Environment variables `APULSE_CAPTURE_DEVICE` and `APULSE_PLAYBACK_DEVICE` can 
be used
 to configure capture and playback devices. Try `hw:0,0`, `plughw:0,0` and the 
like.
 Refer to the ALSA user guide for a full list of device names.
 
+System directory versus separate directory installations
+
+
+By default, libraries from `apulse` are installed into a separate directory, in
+order to hide them from all applications.
+
+Most applications in the wild, that support both PulseAudio and ALSA, try to
+autodetect which sound system is used. First, applications try

commit apulse for openSUSE:Factory

2017-03-12 Thread root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2017-03-12 20:04:09

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Sun Mar 12 20:04:09 2017 rev:6 rq:477820 version:0.1.8

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2015-12-29 
12:59:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2017-03-12 
20:04:13.163894268 +0100
@@ -1,0 +2,13 @@
+Wed Mar  8 19:13:26 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 0.1.8:
+  * Make playback in Firefox working, including volume changing
+(boo#1028547).
+  * Reimplement snd_pcm_avail(), which is missing in older versions
+of alsa-lib.
+  * Make reported buffer sizes to be multiple of frame sizes.
+  * Stop crashing in pa_stream_disconnect() if initialisation has
+failed.
+- Add apulse-link-math.patch: Link with -lm to fix building.
+
+---

Old:

  apulse-0.1.7.tar.gz

New:

  apulse-0.1.8.tar.gz
  apulse-link-math.patch



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.ZDdrW1/_old  2017-03-12 20:04:13.963781082 +0100
+++ /var/tmp/diff_new_pack.ZDdrW1/_new  2017-03-12 20:04:13.963781082 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apulse
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
-Version:0.1.7
+Version:0.1.8
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT
@@ -26,9 +26,11 @@
 Url:https://github.com/i-rinat/apulse
 Source: 
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
+# PATCH-FIX-OPENSUSE apulse-link-math.patch sor.ale...@meowr.ru -- Link with 
-lm to fix building.
+Patch0: apulse-link-math.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libpulse) >= 5.0
@@ -37,20 +39,21 @@
 %endif
 
 %description
-PulseAudio emulation intended to be used with Skype.
+PulseAudio emulation intended to be used with Mozilla Firefox.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \
-  -DUSE_BUNDLED_PULSEAUDIO_HEADERS=0 \
+  -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \
   -DAPULSEPATH=%{_libdir}/%{name}/
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %cmake_install
-rm -f %{buildroot}%{_libdir}/%{name}/*.so
+rm %{buildroot}%{_libdir}/%{name}/*.so
 
 %post -p /sbin/ldconfig
 

++ apulse-0.1.7.tar.gz -> apulse-0.1.8.tar.gz ++
 3942 lines of diff (skipped)

++ apulse-link-math.patch ++
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,8 +60,8 @@ set_target_properties(pulse-simple PROPE
 
 set(SYMBOLMAP "-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"")
 
-target_link_libraries(pulse ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
-target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES})
+target_link_libraries(pulse ${SYMBOLMAP} trace-helper m ${REQ_LIBRARIES})
+target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper m 
${REQ_LIBRARIES})
 target_link_libraries(pulsecommon-5.0 ${SYMBOLMAP} trace-helper 
${REQ_LIBRARIES})
 
 add_subdirectory(tests)



commit apulse for openSUSE:Factory

2015-12-29 Thread h_root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2015-12-29 12:59:44

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2015-10-14 
16:44:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2015-12-29 
12:59:47.0 +0100
@@ -1,0 +2,8 @@
+Sat Dec 26 21:14:56 UTC 2015 - mplus...@suse.com
+
+- Update to 0.1.7:
+  * Make pa_proplist be able to store binary objects too.
+  * Implement pa_stream_begin_write.
+  * Bugfixes.
+
+---

Old:

  apulse-0.1.6.tar.gz

New:

  apulse-0.1.7.tar.gz



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.h1w03M/_old  2015-12-29 12:59:48.0 +0100
+++ /var/tmp/diff_new_pack.h1w03M/_new  2015-12-29 12:59:48.0 +0100
@@ -18,7 +18,7 @@
 
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
 Name:   apulse
-Version:0.1.6
+Version:0.1.7
 Release:0
 Summary:PulseAudio emulation for ALSA
 License:MIT

++ apulse-0.1.6.tar.gz -> apulse-0.1.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apulse-0.1.6/src/apulse-channel-map.c 
new/apulse-0.1.7/src/apulse-channel-map.c
--- old/apulse-0.1.6/src/apulse-channel-map.c   2015-05-25 20:19:11.0 
+0200
+++ new/apulse-0.1.7/src/apulse-channel-map.c   2015-12-19 20:45:50.0 
+0100
@@ -25,6 +25,59 @@
 #include "apulse.h"
 #include "trace.h"
 
+static const char *channel_name[PA_CHANNEL_POSITION_MAX] = {
+[PA_CHANNEL_POSITION_MONO] = "mono",
+[PA_CHANNEL_POSITION_FRONT_CENTER] = "front-center",
+[PA_CHANNEL_POSITION_FRONT_LEFT] = "front-left",
+[PA_CHANNEL_POSITION_FRONT_RIGHT] = "front-right",
+[PA_CHANNEL_POSITION_REAR_CENTER] = "rear-center",
+[PA_CHANNEL_POSITION_REAR_LEFT] = "rear-left",
+[PA_CHANNEL_POSITION_REAR_RIGHT] = "rear-right",
+[PA_CHANNEL_POSITION_LFE] = "lfe",
+[PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER] = "front-left-of-center",
+[PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER] = "front-right-of-center",
+[PA_CHANNEL_POSITION_SIDE_LEFT] = "side-left",
+[PA_CHANNEL_POSITION_SIDE_RIGHT] = "side-right",
+[PA_CHANNEL_POSITION_AUX0] = "aux0",
+[PA_CHANNEL_POSITION_AUX1] = "aux1",
+[PA_CHANNEL_POSITION_AUX2] = "aux2",
+[PA_CHANNEL_POSITION_AUX3] = "aux3",
+[PA_CHANNEL_POSITION_AUX4] = "aux4",
+[PA_CHANNEL_POSITION_AUX5] = "aux5",
+[PA_CHANNEL_POSITION_AUX6] = "aux6",
+[PA_CHANNEL_POSITION_AUX7] = "aux7",
+[PA_CHANNEL_POSITION_AUX8] = "aux8",
+[PA_CHANNEL_POSITION_AUX9] = "aux9",
+[PA_CHANNEL_POSITION_AUX10] = "aux10",
+[PA_CHANNEL_POSITION_AUX11] = "aux11",
+[PA_CHANNEL_POSITION_AUX12] = "aux12",
+[PA_CHANNEL_POSITION_AUX13] = "aux13",
+[PA_CHANNEL_POSITION_AUX14] = "aux14",
+[PA_CHANNEL_POSITION_AUX15] = "aux15",
+[PA_CHANNEL_POSITION_AUX16] = "aux16",
+[PA_CHANNEL_POSITION_AUX17] = "aux17",
+[PA_CHANNEL_POSITION_AUX18] = "aux18",
+[PA_CHANNEL_POSITION_AUX19] = "aux19",
+[PA_CHANNEL_POSITION_AUX20] = "aux20",
+[PA_CHANNEL_POSITION_AUX21] = "aux21",
+[PA_CHANNEL_POSITION_AUX22] = "aux22",
+[PA_CHANNEL_POSITION_AUX23] = "aux23",
+[PA_CHANNEL_POSITION_AUX24] = "aux24",
+[PA_CHANNEL_POSITION_AUX25] = "aux25",
+[PA_CHANNEL_POSITION_AUX26] = "aux26",
+[PA_CHANNEL_POSITION_AUX27] = "aux27",
+[PA_CHANNEL_POSITION_AUX28] = "aux28",
+[PA_CHANNEL_POSITION_AUX29] = "aux29",
+[PA_CHANNEL_POSITION_AUX30] = "aux30",
+[PA_CHANNEL_POSITION_AUX31] = "aux31",
+[PA_CHANNEL_POSITION_TOP_CENTER] = "top-center",
+[PA_CHANNEL_POSITION_TOP_FRONT_CENTER] = "top-front-center",
+[PA_CHANNEL_POSITION_TOP_FRONT_LEFT] = "top-front-left",
+[PA_CHANNEL_POSITION_TOP_FRONT_RIGHT] = "top-front-right",
+[PA_CHANNEL_POSITION_TOP_REAR_CENTER] = "top-rear-center",
+[PA_CHANNEL_POSITION_TOP_REAR_LEFT] = "top-rear-left",
+[PA_CHANNEL_POSITION_TOP_REAR_RIGHT] = "top-rear-right",
+};
 
 APULSE_EXPORT
 pa_channel_map *
@@ -81,6 +134,83 @@
 }
 
 APULSE_EXPORT
+pa_channel_map *
+pa_channel_map_parse(pa_channel_map *map, const char *s)
+{
+trace_info("F %s map=%p, s=%s\n", __func__, map, s);
+
+pa_channel_map m = {};
+
+if (strcmp(s, "stereo") == 0) {
+m.channels = 2;
+m.map[0] = PA_CHANNEL_POSITION_LEFT;
+m.map[1] = PA_CHANNEL_POSITION_RIGHT;
+} else if (strcmp(s, "surround-21") == 0) {
+m.channels = 3;
+m.map[0] = PA_CHANNEL_P

commit apulse for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2015-10-14 16:44:35

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2015-10-08 
09:41:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2015-10-14 
16:44:37.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct  5 14:45:54 UTC 2015 - sor.ale...@meowr.ru
+
+- Avoid providing libpulse.so in apulse-32bit.
+
+---



Other differences:
--
++ baselibs.conf ++
--- /var/tmp/diff_new_pack.oUuD62/_old  2015-10-14 16:44:37.0 +0200
+++ /var/tmp/diff_new_pack.oUuD62/_new  2015-10-14 16:44:37.0 +0200
@@ -1 +1,3 @@
 apulse
+   autoreqprov off
+   requires "alsa-"




commit apulse for openSUSE:Factory

2015-10-08 Thread h_root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2015-10-08 09:41:11

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2015-10-08 
08:25:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2015-10-08 
09:41:12.0 +0200
@@ -2,5 +1,0 @@
-Mon Oct  5 14:45:54 UTC 2015 - sor.ale...@meowr.ru
-
-- Avoid providing libpulse.so in apulse-32bit.
-




Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.PhMWIN/_old  2015-10-08 09:41:13.0 +0200
+++ /var/tmp/diff_new_pack.PhMWIN/_new  2015-10-08 09:41:13.0 +0200
@@ -17,9 +17,6 @@
 
 
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
-%if %{?_lib} == lib64
-%define __provides_exclude_from ^%{_prefix}/lib/apulse/.*.so.*$
-%endif
 Name:   apulse
 Version:0.1.6
 Release:0




commit apulse for openSUSE:Factory

2015-10-07 Thread h_root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2015-10-08 08:25:22

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Changes:

--- /work/SRC/openSUSE:Factory/apulse/apulse.changes2015-09-02 
00:35:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2015-10-08 
08:25:23.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct  5 14:45:54 UTC 2015 - sor.ale...@meowr.ru
+
+- Avoid providing libpulse.so in apulse-32bit.
+
+---



Other differences:
--
++ apulse.spec ++
--- /var/tmp/diff_new_pack.EzIPcS/_old  2015-10-08 08:25:24.0 +0200
+++ /var/tmp/diff_new_pack.EzIPcS/_new  2015-10-08 08:25:24.0 +0200
@@ -17,6 +17,9 @@
 
 
 %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
+%if %{?_lib} == lib64
+%define __provides_exclude_from ^%{_prefix}/lib/apulse/.*.so.*$
+%endif
 Name:   apulse
 Version:0.1.6
 Release:0




commit apulse for openSUSE:Factory

2015-09-01 Thread h_root
Hello community,

here is the log from the commit of package apulse for openSUSE:Factory checked 
in at 2015-09-02 00:35:45

Comparing /work/SRC/openSUSE:Factory/apulse (Old)
 and  /work/SRC/openSUSE:Factory/.apulse.new (New)


Package is "apulse"

Changes:

New Changes file:

--- /dev/null   2015-08-24 19:43:32.284261900 +0200
+++ /work/SRC/openSUSE:Factory/.apulse.new/apulse.changes   2015-09-02 
00:35:45.0 +0200
@@ -0,0 +1,4 @@
+---
+Thu Aug 20 17:47:01 UTC 2015 - sor.ale...@meowr.ru
+
+- Initial package.

New:

  apulse-0.1.6.tar.gz
  apulse.changes
  apulse.spec
  baselibs.conf



Other differences:
--
++ apulse.spec ++
#
# spec file for package apulse
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
Name:   apulse
Version:0.1.6
Release:0
Summary:PulseAudio emulation for ALSA
License:MIT
Group:  System/Libraries
Url:https://github.com/i-rinat/apulse
Source: 
https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:baselibs.conf
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(libpulse) >= 5.0
%if %{?_lib} == lib64
Recommends: %{name}-32bit = %{version}
%endif

%description
PulseAudio emulation intended to be used with Skype.

%prep
%setup -q

%build
%cmake \
  -DUSE_BUNDLED_PULSEAUDIO_HEADERS=0 \
  -DAPULSEPATH=%{_libdir}/%{name}/
make %{?_smp_mflags}

%install
%cmake_install
rm -f %{buildroot}%{_libdir}/%{name}/*.so

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc LICENSE.MIT README.md
%{_bindir}/%{name}
%{_libdir}/%{name}/

%changelog
++ baselibs.conf ++
apulse