[SCM] libsoundio/master: add patches
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Sat Sep 12 08:45:44 UTC 2015
The following commit has been merged in the master branch:
commit 896ffaac1ce74adb89bc8a7856c69711c1184018
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Sat Sep 12 01:41:05 2015 -0700
add patches
diff --git a/debian/patches/add_changelog.patch b/debian/patches/add_changelog.patch
new file mode 100644
index 0000000..5c76d7c
--- /dev/null
+++ b/debian/patches/add_changelog.patch
@@ -0,0 +1,33 @@
+Description: add changelog
+Author: Andrew Kelley <superjoe30 at gmail.com>
+Origin: upstream, https://github.com/andrewrk/libsoundio/commit/685084c64a7f5fa4b019b85a57b2458249fd7c6c.patch
+
+--- /dev/null
++++ b/CHANGELOG.md
+@@ -0,0 +1,26 @@
++### Version 1.0.1 (2015-09-11)
++
++ * libsoundio no longer depends on or links against libm.
++ * ALSA: treat ALSA as unavailable when /dev/snd does not exist.
++ * ALSA: remove duplicate assert.
++ * ALSA: remove stray print statement.
++ * ALSA: pausing returns error code when state is invalid instead of reaching
++ assertion failure in pcm.c.
++ * JACK: fix infinite loop when refreshing devices.
++ * PulseAudio: better clear buffer implementation.
++ * dummy backend: fix sometimes calling `write_callback` with
++ `frame_count_max` equal to 0.
++ * os: fix some variables accidentally not declared static.
++ * macos: fix not cleaning up condition variables.
++ * macos: avoid allocation when getting time.
++ * docs: note that `read_callback` and `write_callback` must be real time safe.
++ * docs: record example demonstrates proper real time safety by not calling
++ fwrite in `read_callback`.
++ * docs: add note to record example about shutting down.
++ * docs: make microphone example latency a command line argument.
++ * build: fix build on linux with clang.
++ * build: static libs, examples, and tests are optional.
++
++### Version 1.0.0 (2015-09-03)
++
++ * Initial public release.
diff --git a/debian/patches/fix_cmake_order.patch b/debian/patches/fix_cmake_order.patch
new file mode 100644
index 0000000..9e59013
--- /dev/null
+++ b/debian/patches/fix_cmake_order.patch
@@ -0,0 +1,23 @@
+Description: fixes CMAKE_INSTALL_LIBDIR
+Author: Andrew Kelley <superjoe30 at gmail.com>
+Origin: upstream, https://github.com/andrewrk/libsoundio/commit/673e28aa770ef2e18a5e4555a7a3c1c2293d54d7.patch
+
+--- libsoundio-1.0.1.orig/CMakeLists.txt
++++ libsoundio-1.0.1/CMakeLists.txt
+@@ -1,4 +1,6 @@
+ cmake_minimum_required(VERSION 2.8.5)
++project(libsoundio C CXX)
++set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
+
+ if(CMAKE_VERSION VERSION_LESS 3.0.0)
+ set(CMAKE_INSTALL_LIBDIR "lib" CACHE PATH "library install dir (lib)")
+@@ -15,9 +17,6 @@ if(NOT CMAKE_BUILD_TYPE)
+ "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
+ endif()
+
+-project(libsoundio C CXX)
+-set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
+-
+ set(LIBSOUNDIO_VERSION_MAJOR 1)
+ set(LIBSOUNDIO_VERSION_MINOR 0)
+ set(LIBSOUNDIO_VERSION_PATCH 1)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..11a7551
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+add_changelog.patch
+fix_cmake_order.patch
--
libsoundio packaging
More information about the pkg-multimedia-commits
mailing list