pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/darkice



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Apr 17 09:07:46 UTC 2021

Modified Files:
        pkgsrc/audio/darkice: DESCR Makefile distinfo
        pkgsrc/audio/darkice/patches: patch-rc.darkice
            patch-src_FaacEncoder.cpp patch-src_IceCast.cpp
            patch-src_Makefile.in patch-src_SerialUlaw.cpp
Removed Files:
        pkgsrc/audio/darkice/patches: patch-configure
            patch-src_LameLibEncoder.cpp patch-src_TwoLameLibEncoder.cpp

Log Message:
darkice: Update to 1.4

pkgsrc changes:

- add many more package options.
- adjust the man page for device names on NetBSD.

01-03-2020 Darkice 1.4 released
    o Shoutcast and Icecast 2 connection issues fixed.

04-08-2016 Darkice 1.3 released
    o Small bugs fixed by Nicolas Boulenguez <nicolas%debian.org@localhost>.
    o Bugs related to streaming to remote servers fixed. Patch by Kalle Kulonen
        <kulonenk%gmail.com@localhost> and Mark Turner <jmarkturner%gmail.com@localhost>.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/audio/darkice/DESCR
cvs rdiff -u -r1.24 -r1.25 pkgsrc/audio/darkice/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/audio/darkice/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/audio/darkice/patches/patch-configure \
    pkgsrc/audio/darkice/patches/patch-src_LameLibEncoder.cpp \
    pkgsrc/audio/darkice/patches/patch-src_TwoLameLibEncoder.cpp
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/darkice/patches/patch-rc.darkice \
    pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp \
    pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp \
    pkgsrc/audio/darkice/patches/patch-src_Makefile.in \
    pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/darkice/DESCR
diff -u pkgsrc/audio/darkice/DESCR:1.1.1.1 pkgsrc/audio/darkice/DESCR:1.2
--- pkgsrc/audio/darkice/DESCR:1.1.1.1  Fri Jan  9 17:23:44 2004
+++ pkgsrc/audio/darkice/DESCR  Sat Apr 17 09:07:46 2021
@@ -1,5 +1,3 @@
-DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes
-audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and sends
-the streams to one or more IceCast, ShoutCast and/or IceCast2 servers. DarkIce
-uses lame as a shared object as its mp3 encoder, and the Ogg Vorbis libs as its
-Ogg Vorbis encoder.
+DarkIce is a live audio streamer. It records audio from an audio interface
+(e.g. sound card), encodes it and sends it to a streaming server using the
+ShoutCast, IceCast (1.3.x and 2.x), or Darwin Streaming Server protocols.

Index: pkgsrc/audio/darkice/Makefile
diff -u pkgsrc/audio/darkice/Makefile:1.24 pkgsrc/audio/darkice/Makefile:1.25
--- pkgsrc/audio/darkice/Makefile:1.24  Tue Aug 18 17:57:35 2020
+++ pkgsrc/audio/darkice/Makefile       Sat Apr 17 09:07:46 2021
@@ -1,34 +1,39 @@
-# $NetBSD: Makefile,v 1.24 2020/08/18 17:57:35 leot Exp $
+# $NetBSD: Makefile,v 1.25 2021/04/17 09:07:46 nia Exp $
 #
 
-DISTNAME=      darkice-1.2
-PKGREVISION=   1
+DISTNAME=      darkice-1.4
 CATEGORIES=    audio
-MASTER_SITES=  https://darkice.googlecode.com/files/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rafael2k/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://darkice.tyrell.hu/
-COMMENT=       IceCast, IceCast2 and ShoutCast live audio streamer
+HOMEPAGE=      http://www.darkice.org/
+COMMENT=       IceCast, IceCast2, and ShoutCast live audio streamer
 LICENSE=       gnu-gpl-v3
 
-GNU_CONFIGURE=         yes
-USE_LANGUAGES=         c c++
-USE_TOOLS+=            gmake
-
-CHECK_PORTABILITY_SKIP+=       configure.in
-
-CONFIGURE_ARGS+=       --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
-CONFIGURE_ARGS+=       --with-lame-prefix=${BUILDLINK_PREFIX.lame}
-CONFIGURE_ARGS+=       --with-twolame-prefix=${BUILDLINK_PREFIX.twolame}
-CONFIGURE_ARGS+=       --with-faac-prefix=${BUILDLINK_PREFIX.faac}
-CONFIGURE_ARGS+=       --without-jack
-LIBS+=                 ${LIBOSSAUDIO:Q}
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake pkg-config
 
 EGDIR=         ${PREFIX}/share/examples/darkice
 HTMLDIR=       ${PREFIX}/share/doc/darkice
 
 CONF_FILES=    ${EGDIR}/darkice.conf ${PKG_SYSCONFDIR}/darkice.conf
 
+CONFIGURE_ARGS+=       --without-aacplus
+
+.include "../../mk/oss.buildlink3.mk"
+
+.if ${OSS_TYPE} != "none"
+LIBS+=                 ${LIBOSSAUDIO}
+SUBST_CLASSES+=                oss
+SUBST_STAGE.oss=       pre-configure
+SUBST_MESSAGE.oss=     Correcting the path to the OSS device.
+SUBST_FILES.oss+=      darkice.cfg
+SUBST_FILES.oss+=      man/darkice.cfg.5
+SUBST_SED.oss+=                -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+.endif
+
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
 
 do-install:
@@ -42,11 +47,6 @@ do-install:
        ${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5
 
-.include "../../audio/faac/buildlink3.mk"
-.include "../../audio/lame/buildlink3.mk"
-.include "../../audio/libvorbis/buildlink3.mk"
-.include "../../audio/twolame/buildlink3.mk"
-
+.include "options.mk"
 .include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/audio/darkice/distinfo
diff -u pkgsrc/audio/darkice/distinfo:1.14 pkgsrc/audio/darkice/distinfo:1.15
--- pkgsrc/audio/darkice/distinfo:1.14  Tue Nov  3 01:12:28 2015
+++ pkgsrc/audio/darkice/distinfo       Sat Apr 17 09:07:46 2021
@@ -1,14 +1,11 @@
-$NetBSD: distinfo,v 1.14 2015/11/03 01:12:28 agc Exp $
+$NetBSD: distinfo,v 1.15 2021/04/17 09:07:46 nia Exp $
 
-SHA1 (darkice-1.2.tar.gz) = 508eb0560a7cdf0990a8793f4b8d324ae74bc343
-RMD160 (darkice-1.2.tar.gz) = cc627a716efc49275f3dc3e56011c4d62d0b176d
-SHA512 (darkice-1.2.tar.gz) = d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823
-Size (darkice-1.2.tar.gz) = 357026 bytes
-SHA1 (patch-configure) = cf4b34f3a995cec6256385908a9eeb9dfb870875
-SHA1 (patch-rc.darkice) = c8ea98936ad36768014b3fb1410b9c8a902f3a83
-SHA1 (patch-src_FaacEncoder.cpp) = a3ef45fbe17e8d59c09cc93b20665b4589ddc51b
-SHA1 (patch-src_IceCast.cpp) = 91e1920d9e12e9b317468fe64513cc13b75e9ce4
-SHA1 (patch-src_LameLibEncoder.cpp) = 9202aa7d5219dd24dddb7faa58e5edeeb26d6a18
-SHA1 (patch-src_Makefile.in) = ae028bf6e4616b615c4d1d50eb932077a287379d
-SHA1 (patch-src_SerialUlaw.cpp) = 259b99b7e772f743b32b94ace664451df28f90dd
-SHA1 (patch-src_TwoLameLibEncoder.cpp) = bd9774c98789ccdcd14b843d46ddf30f0c5da047
+SHA1 (darkice-1.4.tar.gz) = b863fcd6f4d46493bea9f419ceeceaec276ce776
+RMD160 (darkice-1.4.tar.gz) = 90db0e17936e92a97009fa5b8781957771eebda1
+SHA512 (darkice-1.4.tar.gz) = 708ab08a45e216dce350f6cd36374e10d4606f77f0cde4dfbf35675d9d0778fb7a013b49fd62d713039d5fcfb9e7d66e6b7ae14acf1e5f142685eecdf7a865bc
+Size (darkice-1.4.tar.gz) = 364782 bytes
+SHA1 (patch-rc.darkice) = fe30eb566c9de2c8ee86ef5b79f4adafb568aed7
+SHA1 (patch-src_FaacEncoder.cpp) = 977a151cad0a1054f380a0d5e00f00b08a8f9a06
+SHA1 (patch-src_IceCast.cpp) = 45a24b7fb7b3b2b3939b76c9e7299fe4580202e6
+SHA1 (patch-src_Makefile.in) = 19934d5d52b58505333fdf25b634b9d84bebd5e8
+SHA1 (patch-src_SerialUlaw.cpp) = 95804c48ace57cb5783f92559f4e4428fbe711d2

Index: pkgsrc/audio/darkice/patches/patch-rc.darkice
diff -u pkgsrc/audio/darkice/patches/patch-rc.darkice:1.1 pkgsrc/audio/darkice/patches/patch-rc.darkice:1.2
--- pkgsrc/audio/darkice/patches/patch-rc.darkice:1.1   Sat Feb 22 14:51:03 2014
+++ pkgsrc/audio/darkice/patches/patch-rc.darkice       Sat Apr 17 09:07:46 2021
@@ -1,6 +1,7 @@
-$NetBSD: patch-rc.darkice,v 1.1 2014/02/22 14:51:03 wiedi Exp $
+$NetBSD: patch-rc.darkice,v 1.2 2021/04/17 09:07:46 nia Exp $
 
 == portability
+
 --- rc.darkice.orig    2013-07-15 05:50:01.000000000 +0000
 +++ rc.darkice
 @@ -40,7 +40,7 @@ case $1 in
Index: pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp
diff -u pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp:1.1 pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp:1.2
--- pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp:1.1  Sat Feb 22 14:51:03 2014
+++ pkgsrc/audio/darkice/patches/patch-src_FaacEncoder.cpp      Sat Apr 17 09:07:46 2021
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_FaacEncoder.cpp,v 1.1 2014/02/22 14:51:03 wiedi Exp $
+$NetBSD: patch-src_FaacEncoder.cpp,v 1.2 2021/04/17 09:07:46 nia Exp $
 
 string.h is needed for memmove()
+
 --- src/FaacEncoder.cpp.orig   2013-07-15 05:50:42.000000000 +0000
 +++ src/FaacEncoder.cpp
 @@ -37,7 +37,7 @@
Index: pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp
diff -u pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp:1.1 pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp:1.2
--- pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp:1.1      Sat Feb 22 14:51:03 2014
+++ pkgsrc/audio/darkice/patches/patch-src_IceCast.cpp  Sat Apr 17 09:07:46 2021
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_IceCast.cpp,v 1.1 2014/02/22 14:51:03 wiedi Exp $
+$NetBSD: patch-src_IceCast.cpp,v 1.2 2021/04/17 09:07:46 nia Exp $
 
 Fix "log10(int) is ambigous" on SunOS
+
 --- src/IceCast.cpp.orig       2013-07-15 05:50:42.000000000 +0000
 +++ src/IceCast.cpp
 @@ -145,7 +145,7 @@ IceCast :: sendLogin ( void )
Index: pkgsrc/audio/darkice/patches/patch-src_Makefile.in
diff -u pkgsrc/audio/darkice/patches/patch-src_Makefile.in:1.1 pkgsrc/audio/darkice/patches/patch-src_Makefile.in:1.2
--- pkgsrc/audio/darkice/patches/patch-src_Makefile.in:1.1      Sat Feb 22 14:51:03 2014
+++ pkgsrc/audio/darkice/patches/patch-src_Makefile.in  Sat Apr 17 09:07:46 2021
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2014/02/22 14:51:03 wiedi Exp $
+$NetBSD: patch-src_Makefile.in,v 1.2 2021/04/17 09:07:46 nia Exp $
 
-Don't build with -pedantic; it causes g++ to reject "long long" so
-32-bit builds fail.
---- src/Makefile.in.orig       2013-07-15 05:53:19.000000000 +0000
+Avoid forcing -O2 or -pedantic.
+
+--- src/Makefile.in.orig       2020-01-04 20:53:32.000000000 +0000
 +++ src/Makefile.in
-@@ -253,7 +253,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
+@@ -388,7 +388,7 @@ top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
--AM_CXXFLAGS = -O2 -pedantic -Wall @DEBUG_CXXFLAGS@ @PTHREAD_CFLAGS@
-+AM_CXXFLAGS = -O2 -Wall @DEBUG_CXXFLAGS@ @PTHREAD_CFLAGS@
- INCLUDES = @LAME_INCFLAGS@ @VORBIS_INCFLAGS@ @OPUS_INCFLAGS@ @FAAC_INCFLAGS@ @AACPLUS_INCFLAGS@ @TWOLAME_INCFLAGS@ \
-               @ALSA_INCFLAGS@ @PULSEAUDIO_INCFLAGS@ @JACK_INCFLAGS@ @SRC_INCFLAGS@
- 
+ darkice_CXXFLAGS = \
+- -O2 -pedantic -Wall \
++ -Wall \
+  $(DEBUG_CXXFLAGS) \
+  $(PTHREAD_CFLAGS) \
+  $(LAME_CFLAGS) \
Index: pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp
diff -u pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp:1.1 pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp:1.2
--- pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp:1.1   Sat Feb 22 14:51:03 2014
+++ pkgsrc/audio/darkice/patches/patch-src_SerialUlaw.cpp       Sat Apr 17 09:07:46 2021
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_SerialUlaw.cpp,v 1.1 2014/02/22 14:51:03 wiedi Exp $
+$NetBSD: patch-src_SerialUlaw.cpp,v 1.2 2021/04/17 09:07:46 nia Exp $
 
 cfmakeraw is not portable to SunOS
+
 --- src/SerialUlaw.cpp.orig    2013-07-15 05:50:42.000000000 +0000
 +++ src/SerialUlaw.cpp
 @@ -232,7 +232,15 @@ SerialUlaw :: open ( void )



Home | Main Index | Thread Index | Old Index