pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libsamplerate libsndfile: Update to 0.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d022815dfd2
branches:  trunk
changeset: 445479:0d022815dfd2
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 24 16:12:51 2021 +0000

description:
libsndfile: Update to 0.2.1

Version 0.2.1 (2021-01-23)
  * Fix incorrect passing of -version-info to libtool, causing a
    regression on versioned file name of the shared library (#140).
  * Fix time resolution on GNU/Hurd for throughput_test
  * Update AUTHORS and release manager details

Version 0.2.0 (2021-01-21)
  * API:
    * Add `src_clone()` function to clone a SRC_STATE* handle
  * Cleanup Autotools build system.
  * Require C99 compiler
  * Move `sndfile-resample` to sndfile-tools package
  * Add missing `src_get_channels`() export to windows def file
  * Fix macOS compile errors and modernize audio api on that platform
  * Add Octave scripts to generate filter coefficients
  * Fix two potential undefined behaviours
  * Fix a buffer out-of-bounds read error in src/src_sinc.c
  * Improve multichan_throughput_test
  * Replace buggy implementationg of Duffs device by regular loop
  * CMake:
    * Fix CMake generated shared library ABI compliance with Autotools build
  * Documentation:
    * Move site to new URL: http://libsndfile.github.io/libsamplerate/
    * Convert documentation pages from HTML to Markdown
    * Use GitHub's Jekyll static site generator to generate static HTML pages
      for site

diffstat:

 audio/libsamplerate/Makefile                            |  11 +++--
 audio/libsamplerate/PLIST                               |  34 ++++++++--------
 audio/libsamplerate/distinfo                            |  12 ++---
 audio/libsamplerate/patches/patch-examples_audio__out.h |  17 --------
 audio/libsamplerate/patches/patch-examples_audio_out.c  |  27 -------------
 5 files changed, 28 insertions(+), 73 deletions(-)

diffs (132 lines):

diff -r ed21b5088285 -r 0d022815dfd2 audio/libsamplerate/Makefile
--- a/audio/libsamplerate/Makefile      Sun Jan 24 15:56:37 2021 +0000
+++ b/audio/libsamplerate/Makefile      Sun Jan 24 16:12:51 2021 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.27 2020/08/18 17:57:25 leot Exp $
+# $NetBSD: Makefile,v 1.28 2021/01/24 16:12:51 nia Exp $
 
-DISTNAME=      libsamplerate-0.1.9
-PKGREVISION=   1
+DISTNAME=      libsamplerate-0.2.1
 CATEGORIES=    audio
-MASTER_SITES=  http://www.mega-nerd.com/SRC/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libsndfile/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.mega-nerd.com/SRC/
+HOMEPAGE=      https://libsndfile.github.io/libsamplerate/
 COMMENT=       Sample rate converter library
 LICENSE=       2-clause-bsd
 
diff -r ed21b5088285 -r 0d022815dfd2 audio/libsamplerate/PLIST
--- a/audio/libsamplerate/PLIST Sun Jan 24 15:56:37 2021 +0000
+++ b/audio/libsamplerate/PLIST Sun Jan 24 16:12:51 2021 +0000
@@ -1,20 +1,20 @@
-@comment $NetBSD: PLIST,v 1.6 2012/07/04 08:58:09 adam Exp $
-bin/sndfile-resample
+@comment $NetBSD: PLIST,v 1.7 2021/01/24 16:12:51 nia Exp $
 include/samplerate.h
 lib/libsamplerate.la
 lib/pkgconfig/samplerate.pc
-share/doc/libsamplerate0-dev/html/SRC.css
-share/doc/libsamplerate0-dev/html/SRC.png
-share/doc/libsamplerate0-dev/html/api.html
-share/doc/libsamplerate0-dev/html/api_callback.html
-share/doc/libsamplerate0-dev/html/api_full.html
-share/doc/libsamplerate0-dev/html/api_misc.html
-share/doc/libsamplerate0-dev/html/api_simple.html
-share/doc/libsamplerate0-dev/html/download.html
-share/doc/libsamplerate0-dev/html/faq.html
-share/doc/libsamplerate0-dev/html/history.html
-share/doc/libsamplerate0-dev/html/index.html
-share/doc/libsamplerate0-dev/html/license.html
-share/doc/libsamplerate0-dev/html/lists.html
-share/doc/libsamplerate0-dev/html/quality.html
-share/doc/libsamplerate0-dev/html/win32.html
+share/doc/libsamplerate/SRC.css
+share/doc/libsamplerate/SRC.png
+share/doc/libsamplerate/api.md
+share/doc/libsamplerate/api_callback.md
+share/doc/libsamplerate/api_full.md
+share/doc/libsamplerate/api_misc.md
+share/doc/libsamplerate/api_simple.md
+share/doc/libsamplerate/bugs.md
+share/doc/libsamplerate/download.md
+share/doc/libsamplerate/faq.md
+share/doc/libsamplerate/history.md
+share/doc/libsamplerate/index.md
+share/doc/libsamplerate/license.md
+share/doc/libsamplerate/lists.md
+share/doc/libsamplerate/quality.md
+share/doc/libsamplerate/win32.md
diff -r ed21b5088285 -r 0d022815dfd2 audio/libsamplerate/distinfo
--- a/audio/libsamplerate/distinfo      Sun Jan 24 15:56:37 2021 +0000
+++ b/audio/libsamplerate/distinfo      Sun Jan 24 16:12:51 2021 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.12 2017/04/24 10:08:40 maya Exp $
+$NetBSD: distinfo,v 1.13 2021/01/24 16:12:51 nia Exp $
 
-SHA1 (libsamplerate-0.1.9.tar.gz) = ed60f957a4ff87aa15cbb1f3dbd886fa7e5e9566
-RMD160 (libsamplerate-0.1.9.tar.gz) = ec6f3542b5e43f398ad7e5dfd9dc35902b06d762
-SHA512 (libsamplerate-0.1.9.tar.gz) = 78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728
-Size (libsamplerate-0.1.9.tar.gz) = 4336641 bytes
-SHA1 (patch-examples_audio__out.h) = 52d0f7666d4ff5b1463e7242f3ff2befc0d35606
-SHA1 (patch-examples_audio_out.c) = 4fb964da017372431dde99b71b5aa96cbb66a64c
+SHA1 (libsamplerate-0.2.1.tar.bz2) = 075ffa9d53171db4356ed8f6419d0b8e3a1e8394
+RMD160 (libsamplerate-0.2.1.tar.bz2) = 2ab41928588d9aee60369e5ed678d99d1b1bab15
+SHA512 (libsamplerate-0.2.1.tar.bz2) = f54f7f12c9536868d7a11fc9cbb86857505e7b75fe34cedaf0b9bfc864da6037296b3eae303a33d4c87b7fd20d96933b91ef59c8cc3d1313b9fc21654e5daa2d
+Size (libsamplerate-0.2.1.tar.bz2) = 3747188 bytes
diff -r ed21b5088285 -r 0d022815dfd2 audio/libsamplerate/patches/patch-examples_audio__out.h
--- a/audio/libsamplerate/patches/patch-examples_audio__out.h   Sun Jan 24 15:56:37 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-examples_audio__out.h,v 1.1 2017/04/24 10:08:40 maya Exp $
-
-Declare AUDIO_OUT_s once and in audio_out.h
-
---- examples/audio_out.h.orig  2016-09-13 10:20:20.000000000 +0000
-+++ examples/audio_out.h
-@@ -6,7 +6,9 @@
- ** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
- */
- 
--typedef       struct AUDIO_OUT_s AUDIO_OUT ;
-+typedef       struct AUDIO_OUT_s
-+{     int magic ;
-+} AUDIO_OUT ;
- 
- typedef int (*get_audio_callback_t) (void *callback_data, float *samples, int frames) ;
- 
diff -r ed21b5088285 -r 0d022815dfd2 audio/libsamplerate/patches/patch-examples_audio_out.c
--- a/audio/libsamplerate/patches/patch-examples_audio_out.c    Sun Jan 24 15:56:37 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-examples_audio_out.c,v 1.2 2017/04/24 10:08:40 maya Exp $
-
-Fix building on Mac OS X.
-declare typedef AUDIO_OUT_s once and in audio_out.h
-
---- examples/audio_out.c.orig  2016-09-13 10:20:20.000000000 +0000
-+++ examples/audio_out.c
-@@ -33,11 +33,6 @@
- #define MAKE_MAGIC(a,b,c,d,e,f,g,h)           \
-                       ((a) + ((b) << 1) + ((c) << 2) + ((d) << 3) + ((e) << 4) + ((f) << 5) + ((g) << 6) + ((h) << 7))
- 
--typedef       struct AUDIO_OUT_s
--{     int magic ;
--} AUDIO_OUT ;
--
--
- /*------------------------------------------------------------------------------
- **    Linux (ALSA and OSS) functions for playing a sound.
- */
-@@ -432,7 +427,6 @@ opensoundsys_close (AUDIO_OUT *audio_out
- 
- #if (defined (__MACH__) && defined (__APPLE__)) /* MacOSX */
- 
--#include <Carbon.h>
- #include <CoreAudio/AudioHardware.h>
- 
- #define       MACOSX_MAGIC    MAKE_MAGIC ('M', 'a', 'c', ' ', 'O', 'S', ' ', 'X')



Home | Main Index | Thread Index | Old Index