pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/wmmixer wmmixer: Update to 1.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90549073a336
branches:  trunk
changeset: 442406:90549073a336
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 24 11:28:29 2020 +0000

description:
wmmixer: Update to 1.8

Changes (yes, this is the actual list):

Release 1.1   3 Apr 2002  Adopted as obviously orhpaned:
                             Gordon Fraser <gordon%debian.org@localhost>
                          Added mouse-wheel support
                          Rewrote parts of the X handling to make it work
                             with the KDE Dock Application Bar
                          Added manpage
                          Changed to GNU getopt command line parsing
                          Added simple Makefile, get rid of imake

Release 1.2   25 May 2002 Merge Debian patches
                          Cleanup/Splitup MixCtl
                          Preparing for major rewrite...
                          Makefile updated again


Release 1.3   26 May 2002 Change the whole thing to actual C++ code.
                          It is not yet pretty code, but it is a lot
                          better. Still, much work to do.

Release 1.4   08 Jun 2002 Display only one bar for mono channels
                          (Taken from Damian Kramer's wmsmixer)
                          Split X code up into smaller pieces
                          Fix channel rotating (repeat timer)
                          Add mute button

Release 1.5   25 Jun 2002 Several fixes (really open mixer device given
                          with -m, don't segfault when /dev/mixer is not
                          there, don't go to max if using scrollwheel to
                          set volume below 0)
                          Shaded LED-Bar
                          Initial Exception Handling

Release 1.6   13 Jul 2011 Support of multiple config files to run multiple
                          instances of wmmixer. Hurd support. Support of
                          XClasses. These patches was created first in Debian
                          01_restore_pristine_code.patch
                          02_multiple_config_files.patch
                          03_hurd_support.patch
                          04_xclass_support.patch

Release 1.7   19 Sep 2011 Fix FTBFS with ld --as-needed
                          Patch sent by Angel Abad <angelabad%ubuntu.com@localhost>

Release 1.8   28 Aug 2017 Update GPLv2 text
                          Update Free Software Foundation address.
                          Remove trailing whitespace.
                          Use autotools for build.
                          Add desktop entry file.
                          Update documentation.

diffstat:

 audio/wmmixer/Makefile         |  34 ++++++++++++++--------------------
 audio/wmmixer/PLIST            |   4 +++-
 audio/wmmixer/distinfo         |  13 +++++--------
 audio/wmmixer/patches/patch-aa |  13 -------------
 audio/wmmixer/patches/patch-ab |  12 ------------
 audio/wmmixer/patches/patch-ac |  20 --------------------
 6 files changed, 22 insertions(+), 74 deletions(-)

diffs (135 lines):

diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/Makefile
--- a/audio/wmmixer/Makefile    Tue Nov 24 11:18:34 2020 +0000
+++ b/audio/wmmixer/Makefile    Tue Nov 24 11:28:29 2020 +0000
@@ -1,33 +1,27 @@
-# $NetBSD: Makefile,v 1.20 2017/10/25 22:04:30 khorben Exp $
-#
+# $NetBSD: Makefile,v 1.21 2020/11/24 11:28:29 nia Exp $
 
-DISTNAME=      wmmixer-1.0-beta1
-PKGNAME=       wmmixer-1.0
-PKGREVISION=   2
+DISTNAME=      wmmixer-1.8
 CATEGORIES=    audio
-MASTER_SITES=  http://www.geocities.com/SiliconValley/Vista/2471/files/
-EXTRACT_SUFX=  .tgz
+MASTER_SITES=  https://www.dockapps.net/download/
 
 MAINTAINER=    pr%alles.prima.de@localhost
-HOMEPAGE=      http://www.geocities.com/SiliconValley/Vista/2471/
+HOMEPAGE=      https://www.dockapps.net/wmmixer
 COMMENT=       Mixer designed for WindowMaker (dockapp)
 LICENSE=       gnu-gpl-v2
 
-NOT_FOR_PLATFORM=      Interix-*-*
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++03
+USE_TOOLS+=    pkg-config
 
-WRKSRC=                        ${WRKDIR}/wmmixer
-USE_IMAKE=             YES
-USE_LANGUAGES=         c c++
-NO_INSTALL_MANPAGES=   YES
+.include "../../mk/oss.buildlink3.mk"
 
-MAKE_FLAGS+=           CCOPTIONS=${CFLAGS:Q}
-MAKE_FLAGS+=           CXXOPTIONS=${CFLAGS:Q}
-MAKE_FLAGS+=           LOCAL_LDFLAGS=${LDFLAGS:Q}
+.if ${OSS_TYPE} == "none"
+PKG_SKIP_REASON+=      "Needs an OSS implementation"
+.else
+LDFLAGS+=              ${LIBOSSAUDIO}
+.endif
 
-pre-build:
-       ${TOUCH} ${WRKSRC}/wmmixer.man
-
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/PLIST
--- a/audio/wmmixer/PLIST       Tue Nov 24 11:18:34 2020 +0000
+++ b/audio/wmmixer/PLIST       Tue Nov 24 11:28:29 2020 +0000
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:18:09 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/24 11:28:29 nia Exp $
 bin/wmmixer
+man/man1/wmmixer.1
+share/applications/wmmixer.desktop
diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/distinfo
--- a/audio/wmmixer/distinfo    Tue Nov 24 11:18:34 2020 +0000
+++ b/audio/wmmixer/distinfo    Tue Nov 24 11:28:29 2020 +0000
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 01:12:54 agc Exp $
+$NetBSD: distinfo,v 1.9 2020/11/24 11:28:29 nia Exp $
 
-SHA1 (wmmixer-1.0-beta1.tgz) = b8695455e1a7364aa337feb924f059db9a5856fe
-RMD160 (wmmixer-1.0-beta1.tgz) = 5edea21f2154ebce018b7c34d9f05892acab16d4
-SHA512 (wmmixer-1.0-beta1.tgz) = b2e3582f27157704a37075fa98e8ad61e3809dcbebbd7548291a63301f9416bd1d5a423be68781dcf6bbab55b873bd4fded37bfc207070bd9f7da7f1f74d116b
-Size (wmmixer-1.0-beta1.tgz) = 18801 bytes
-SHA1 (patch-aa) = 4ee2ac096da6ee07a5e917242a6066c842dfa4d4
-SHA1 (patch-ab) = 7fd4f67cd2bf121fd33d6cbefc1067172644da14
-SHA1 (patch-ac) = 3f99147736d5e8009ef95a93b63ee32ea9617f3a
+SHA1 (wmmixer-1.8.tar.gz) = d93af3581e6c39a33b890259850567a6fd904847
+RMD160 (wmmixer-1.8.tar.gz) = a0089a8a9c4d98295578035b035f1a88506072da
+SHA512 (wmmixer-1.8.tar.gz) = 3b5c7f27da6ed2cbf8d06c431584186799d17e72db663db6ffc488f777c31de0b13fcc3f665099925efab036a14e70da4bbbabaff6ffc12280698e91f555e276
+Size (wmmixer-1.8.tar.gz) = 102723 bytes
diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/patches/patch-aa
--- a/audio/wmmixer/patches/patch-aa    Tue Nov 24 11:18:34 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2003/09/28 14:52:55 tron Exp $
-
---- wmmixer.cc.orig    1998-09-05 17:11:33.000000000 +0200
-+++ wmmixer.cc 2003-09-28 16:45:37.000000000 +0200
-@@ -503,7 +503,7 @@
-    }
- }
- 
--void checkVol(bool forced=true){
-+void checkVol(bool forced){
-    mixctl->readVol(channel[curchannel], true);
-    int nl=mixctl->readLeft(channel[curchannel]);
-    int nr=mixctl->readRight(channel[curchannel]);
diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/patches/patch-ab
--- a/audio/wmmixer/patches/patch-ab    Tue Nov 24 11:18:34 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2003/10/18 13:20:32 cjep Exp $
---- Imakefile.orig     1998-09-05 17:11:33.000000000 +0200
-+++ Imakefile  2003-09-28 16:50:51.000000000 +0200
-@@ -7,7 +7,4 @@
- DEPLIBS = $(DEPXLIB) 
- LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) $(OSSAUDIO)
- 
--SRCS = wmmixer.cc
--OBJS = wmmixer.o
--
--ComplexProgramTarget(wmmixer)
-+SimpleCplusplusProgramTarget(wmmixer)
diff -r b01b95a57450 -r 90549073a336 audio/wmmixer/patches/patch-ac
--- a/audio/wmmixer/patches/patch-ac    Tue Nov 24 11:18:34 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2013/06/24 13:52:56 jperkin Exp $
-
-Add SunOS support.
-
---- mixctl.h.orig      1998-09-05 15:11:33.000000000 +0000
-+++ mixctl.h
-@@ -18,9 +18,12 @@
- #ifdef __NetBSD__
- #include <soundcard.h>
- #endif
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
- #include <machine/soundcard.h>
- #endif
-+#ifdef __sun
-+#include <sys/soundcard.h>
-+#endif
- #ifdef __linux__
- #include <linux/soundcard.h>
- #endif



Home | Main Index | Thread Index | Old Index