summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-04-16 08:12:27 +0000
committeradam <adam@pkgsrc.org>2017-04-16 08:12:27 +0000
commit43a9633ad718e4d834182001fe299aaed521e2f3 (patch)
tree1ea2a98dc63fa8d5708948ffa814e51672e74584
parentb59ae799743be41bbbe2572af0fd253275e1c53e (diff)
downloadpkgsrc-43a9633ad718e4d834182001fe299aaed521e2f3.tar.gz
1.24.0
------ - Avoid repeating genre in metadata printout for specifications like (144)Thrash Metal. - In remote control mode, only enforce --quiet if no verbosity was required. - Prevent --loop and --shuffle or --random from messing with the remote control LOADLIST command (printout of the list would loop without reason). - Fix the mpg123 command (esp. our provided binaries on Windows) to now find modules again relative to the executable directory, not the current working directory. This was a regression in 1.23 and might be security-relevant if you called mpg123 in working directories with untrusted content. Note that mpg123 1.23 looked for modules relative to the current working directory only if the installation prefix for modules did not exist. So, usage on an intact installation (with /usr/lib/mpg123 or the like) was safe. Nevertheless this new version fixes the search to be relative to the binary path as it was with 1.22 and before. - At least consistent behaviour of playlist code in the face of looping. Looping is about individual tracks, always. They are looped also in random mode. Jumping (prev/next keys) is between tracks and resets the loop counter. The display of currently playing track in the playlist is fixed for random and looped play now (bug 198). - Looping is now mentioned for a to-be-repeated track with --verbose. - Move some compiler nagging from --enable-debug to --enable-nagging, fix up some new build failures by adding some pesky feature test macros. - Try not to pollute the terminal buffer with old progress bars in inverse video. Only the currently live one shall be seen. That one is pretty. The others are not. - Using plain dlopen()/LoadLibrary() for opening modules instead of libltdl. This also means that --with-module-suffix is gone in configure. - Windows builds only work when Unicode support is there (older than Windows 2000/XP will definitely not work anymore). - The out123 tool now features tone generation, with a mix of differing wave patterns. Makes sense to be able to test the audio output by itself, and it's fun. See --wave-freq and related parameters. - libmpg123 version 43: -- Add flags MPG123_NO_PEEK_END and MPG123_FORCE_SEEKABLE, as suggested by Bent Bisballe Nyeng. -- Build fix for MSVC (consistent definition of ssize_t, spotted by manx, bug 243). -- Build fix for --with-cpu=ppc_nofpu (thanks to Michael Kostylev, bug 244). -- Add asm optimized MSVC++ Win32|x64 and UWP|x64 builds -- Remove old, broken MSVC++ builds - libout123 version 2: -- Added OUT123_BINDIR. -- New search order for output plugin directory: MPG123_MODDIR, or (relative to executable directory OUT123_BINDIR) ../lib/mpg123, plugins libout123/modules/.libs, libout123/modules, ../libout123/modules/.libs, ../libout123/modules, and at last the installation prefix $libdir/mpg213/. This shall ensure that a build inside a source tree does not try to use old modules from the system prefix. The normal libtool wrapper deals with the shared libout123 or libmpg123 only, not modules. Note that if you set MPG123_MODDIR to a non-existing directory, no modules will be found (earlier versions fell back to other choices). -- The OUT123_NAME parameter is now copied by out123_param_from(), as is the newly added OUT123_BINDIR. -- Coreaudio: Use AudioComponents API on OSX >= 10.6 (thanks to Michael Weiser). -- Coreaudio: Fix behaviour of out123_drop(), not killing the output anymore without re-opening the device (bug 236, thanks to Taihei for the fix).
-rw-r--r--audio/mpg123-pulse/Makefile3
-rw-r--r--audio/mpg123/Makefile.common8
-rw-r--r--audio/mpg123/distinfo11
-rw-r--r--audio/mpg123/patches/patch-Makefile.in19
4 files changed, 30 insertions, 11 deletions
diff --git a/audio/mpg123-pulse/Makefile b/audio/mpg123-pulse/Makefile
index 244312e9302..8fead748508 100644
--- a/audio/mpg123-pulse/Makefile
+++ b/audio/mpg123-pulse/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2017/01/21 20:06:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.18 2017/04/16 08:12:27 adam Exp $
MPG123_MODULE= pulse
-PKGREVISION= 1
.include "../../audio/mpg123/Makefile.common"
.include "../../audio/mpg123/buildlink3.mk"
diff --git a/audio/mpg123/Makefile.common b/audio/mpg123/Makefile.common
index cd473571e39..07f4df6ae15 100644
--- a/audio/mpg123/Makefile.common
+++ b/audio/mpg123/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.42 2016/12/23 13:50:03 wiedi Exp $
+# $NetBSD: Makefile.common,v 1.43 2017/04/16 08:12:27 adam Exp $
#
# used by audio/mpg123-arts/Makefile
# used by audio/mpg123-esound/Makefile
@@ -7,7 +7,7 @@
# used by audio/mpg123-pulse/Makefile
# used by audio/mpg123-sun/Makefile
-DISTNAME= mpg123-1.23.8
+DISTNAME= mpg123-1.24.0
PKGNAME?= ${DISTNAME:C/[[:alnum:]]*/&-${MPG123_MODULE}/}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
@@ -23,6 +23,7 @@ USE_LIBTOOL?= yes
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE?= yes
CONFIGURE_ARGS+= --enable-modules=yes
+CONFIGURE_ARGS+= --with-optimization=0 # our CFLAGS are good enough
CONFIGURE_ENV+= BUILD_${MPG123_MODULE:tu}=yes
CONFIGURE_ENV+= MPG123_MODULE=${MPG123_MODULE:Q}
@@ -41,6 +42,5 @@ do-install:
${DESTDIR}${PREFIX}/lib/mpg123
.endif
-#.include "../../devel/libltdl/convenience.mk"
-.include "../../devel/libltdl/buildlink3.mk"
+#.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
diff --git a/audio/mpg123/distinfo b/audio/mpg123/distinfo
index 2e5f990f96d..254d8824fa1 100644
--- a/audio/mpg123/distinfo
+++ b/audio/mpg123/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.42 2016/12/18 22:58:34 adam Exp $
+$NetBSD: distinfo,v 1.43 2017/04/16 08:12:27 adam Exp $
-SHA1 (mpg123-1.23.8.tar.bz2) = 799b9fe2beb5ae1c1769b10d011c0904f8e5273e
-RMD160 (mpg123-1.23.8.tar.bz2) = 9e6bf8351b2c5fe7423607719ca969e61f29b20d
-SHA512 (mpg123-1.23.8.tar.bz2) = 7b77b543bd6a127095c6a6a2e7f9b5933f5a391734cc6dcbc160f786008afcd74646a7c304e1be682042221648b0fcae7efafda4bbe66ba30a7021740abddc34
-Size (mpg123-1.23.8.tar.bz2) = 893728 bytes
+SHA1 (mpg123-1.24.0.tar.bz2) = 49028ec5907966ad66ee673d38ef8771895c1f9b
+RMD160 (mpg123-1.24.0.tar.bz2) = bb1ccf072748bbdaa9b5a2e91731449c79ae7df5
+SHA512 (mpg123-1.24.0.tar.bz2) = e7c0d7a103daf496e75a6aa6aca861cfc0ad391f242335990c2360305e567039d24ca3b37a35f79b75749055e255f4692b8b43d2fec332b119223b00e12b0cb7
+Size (mpg123-1.24.0.tar.bz2) = 912049 bytes
+SHA1 (patch-Makefile.in) = 0fb183cf29d700d12d45b4cdfef2449668ef18cd
SHA1 (patch-aa) = 4b2761219dd8fb92079d7f96872e56beb702696a
SHA1 (patch-ad) = f07b637c3fc1d3ea0426013fc25bca8e3aecba56
SHA1 (patch-af) = ba9ccddda15f0e711675b1bbad72b082b34b15f5
diff --git a/audio/mpg123/patches/patch-Makefile.in b/audio/mpg123/patches/patch-Makefile.in
new file mode 100644
index 00000000000..5312713bfc3
--- /dev/null
+++ b/audio/mpg123/patches/patch-Makefile.in
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile.in,v 1.1 2017/04/16 08:12:27 adam Exp $
+
+Keep .la files for PLISTs.
+
+--- Makefile.in.orig 2017-04-16 06:26:06.000000000 +0000
++++ Makefile.in
+@@ -4072,12 +4072,6 @@ uninstall-man: uninstall-man1
+ @USE_YASM_FOR_AVX_TRUE@ @echo "pic_object='`basename $<`'" >>$@
+ @USE_YASM_FOR_AVX_TRUE@ @echo "non_pic_object='`basename $<`'" >>$@
+
+-# Get rid of .la files, at least _after_ install.
+-@HAVE_MODULES_TRUE@install-exec-hook:
+-@HAVE_MODULES_TRUE@ cd $(DESTDIR)$(pkglibdir) && $(RM) @output_modules_la@
+-# The above breaks uninstall of module .so files?
+-@HAVE_MODULES_TRUE@uninstall-hook:
+-@HAVE_MODULES_TRUE@ for m in @output_modules_la@; do eval $$(grep dlname= src/libout123/modules/$$m) && $(RM) $(DESTDIR)$(pkglibdir)/$$dlname; done
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.