pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libcdio libcdio: re-enable cdda-player for NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e11619a387b
branches:  trunk
changeset: 395064:5e11619a387b
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 29 17:22:04 2019 +0000

description:
libcdio: re-enable cdda-player for NetBSD

diffstat:

 misc/libcdio/Makefile                                 |  10 +++++-----
 misc/libcdio/PLIST                                    |   3 ++-
 misc/libcdio/distinfo                                 |   7 ++++---
 misc/libcdio/patches/patch-aa                         |  14 --------------
 misc/libcdio/patches/patch-ab                         |  17 -----------------
 misc/libcdio/patches/patch-configure                  |  14 ++++++++++++++
 misc/libcdio/patches/patch-include_cdio++_iso9660.hpp |  17 +++++++++++++++++
 misc/libcdio/patches/patch-lib_driver_logging.c       |  14 ++++++++++++++
 8 files changed, 56 insertions(+), 40 deletions(-)

diffs (156 lines):

diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/Makefile
--- a/misc/libcdio/Makefile     Mon Apr 29 17:13:51 2019 +0000
+++ b/misc/libcdio/Makefile     Mon Apr 29 17:22:04 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2019/04/18 17:04:37 gdt Exp $
+# $NetBSD: Makefile,v 1.61 2019/04/29 17:22:04 adam Exp $
 
 DISTNAME=      libcdio-2.1.0
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GNU:=libcdio/}
 EXTRACT_SUFX=  .tar.bz2
@@ -14,15 +15,14 @@
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake perl:run pkg-config
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --without-versioned-libs
+INFO_FILES=            yes
 PKGCONFIG_OVERRIDE+=   libcdio.pc.in
 PKGCONFIG_OVERRIDE+=   libcdio++.pc.in
 PKGCONFIG_OVERRIDE+=   libiso9660.pc.in
 PKGCONFIG_OVERRIDE+=   libiso9660++.pc.in
 PKGCONFIG_OVERRIDE+=   libudf.pc.in
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --without-versioned-libs
-INFO_FILES=            yes
-
 TEST_TARGET=           check
 
 .include "../../audio/libcddb/buildlink3.mk"
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/PLIST
--- a/misc/libcdio/PLIST        Mon Apr 29 17:13:51 2019 +0000
+++ b/misc/libcdio/PLIST        Mon Apr 29 17:22:04 2019 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.18 2019/04/18 17:04:37 gdt Exp $
+@comment $NetBSD: PLIST,v 1.19 2019/04/29 17:22:04 adam Exp $
 bin/cd-drive
 bin/cd-info
 bin/cd-read
+bin/cdda-player
 bin/iso-info
 bin/iso-read
 bin/mmc-tool
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/distinfo
--- a/misc/libcdio/distinfo     Mon Apr 29 17:13:51 2019 +0000
+++ b/misc/libcdio/distinfo     Mon Apr 29 17:22:04 2019 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.30 2019/04/18 17:04:37 gdt Exp $
+$NetBSD: distinfo,v 1.31 2019/04/29 17:22:04 adam Exp $
 
 SHA1 (libcdio-2.1.0.tar.bz2) = ec22e5168bc0dcfc179ec7b1164af1e5b672ca89
 RMD160 (libcdio-2.1.0.tar.bz2) = 6b0e4917cd2dd5cac0b7afdb70789bf0ad2aed79
 SHA512 (libcdio-2.1.0.tar.bz2) = c290821da55fd9ae366670a58857aa6efcebc9f25b7caea063cf12f9cbda84fe770c5f59f972227fda50517ca58c5f39c0137daa0f93179e3daa45303d8b610f
 Size (libcdio-2.1.0.tar.bz2) = 1759040 bytes
-SHA1 (patch-aa) = 8e70ee2840c19da3efc0c47dfa9f7ea400a1ec2e
-SHA1 (patch-ab) = 73bd86ecfa0c728eab231bce36317ab7f616fa4c
+SHA1 (patch-configure) = ef72517e444df4834608d152f5e9ce625297d64e
+SHA1 (patch-include_cdio++_iso9660.hpp) = 73bd86ecfa0c728eab231bce36317ab7f616fa4c
+SHA1 (patch-lib_driver_logging.c) = ec74ea317c82737954eb0d66e64810487ed1f222
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/patches/patch-aa
--- a/misc/libcdio/patches/patch-aa     Mon Apr 29 17:13:51 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2005/08/09 12:56:18 adam Exp $
-
---- lib/driver/logging.c.orig  2004-12-18 17:29:32.000000000 +0000
-+++ lib/driver/logging.c
-@@ -45,7 +45,9 @@ default_cdio_log_handler (cdio_log_level
-         fprintf (stderr, "**ERROR: %s\n", message);
-         fflush (stderr);
-       }
-+#if 0
-       exit (EXIT_FAILURE);
-+#endif
-       break;
-     case CDIO_LOG_DEBUG:
-       if (level >= cdio_loglevel_default) {
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/patches/patch-ab
--- a/misc/libcdio/patches/patch-ab     Mon Apr 29 17:13:51 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2010/07/30 07:10:50 dholland Exp $
-
-Work around namespace pollution on OpenSolaris (PR 43638, Aleksey Cheusov)
-
---- include/cdio++/iso9660.hpp.orig    2008-11-29 04:52:43.000000000 +0000
-+++ include/cdio++/iso9660.hpp
-@@ -33,6 +33,10 @@
- #include <cstring>
- using namespace std;
- 
-+#ifdef FS
-+#undef FS
-+#endif
-+
- /** ISO 9660 class.
- */
- class ISO9660
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libcdio/patches/patch-configure      Mon Apr 29 17:22:04 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2019/04/29 17:22:04 adam Exp $
+
+cdda-player works fine on NetBSD.
+
+--- configure.orig     2019-04-29 15:14:42.000000000 +0000
++++ configure
+@@ -18229,7 +18229,6 @@ $as_echo "#define HAVE_NETBSD_CDROM 1" >
+ 
+       # LIBS="$LIBS -lcam"
+       cd_drivers="${cd_drivers}, NetBSD "
+-      enable_cdda_player="no"
+       ;;
+      os2*)
+ 
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/patches/patch-include_cdio++_iso9660.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libcdio/patches/patch-include_cdio++_iso9660.hpp     Mon Apr 29 17:22:04 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_cdio++_iso9660.hpp,v 1.1 2019/04/29 17:22:04 adam Exp $
+
+Work around namespace pollution on OpenSolaris (PR 43638, Aleksey Cheusov)
+
+--- include/cdio++/iso9660.hpp.orig    2008-11-29 04:52:43.000000000 +0000
++++ include/cdio++/iso9660.hpp
+@@ -33,6 +33,10 @@
+ #include <cstring>
+ using namespace std;
+ 
++#ifdef FS
++#undef FS
++#endif
++
+ /** ISO 9660 class.
+ */
+ class ISO9660
diff -r 9604000adb09 -r 5e11619a387b misc/libcdio/patches/patch-lib_driver_logging.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libcdio/patches/patch-lib_driver_logging.c   Mon Apr 29 17:22:04 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_driver_logging.c,v 1.1 2019/04/29 17:22:04 adam Exp $
+
+Do not exit() on error.
+
+--- lib/driver/logging.c.orig  2018-08-12 16:33:48.000000000 +0000
++++ lib/driver/logging.c
+@@ -49,7 +49,6 @@ cdio_default_log_handler(cdio_log_level_
+         fprintf (stderr, "**ERROR: %s\n", message);
+         fflush (stderr);
+       }
+-      exit (EXIT_FAILURE);
+       break;
+     case CDIO_LOG_DEBUG:
+       if (level >= cdio_loglevel_default) {



Home | Main Index | Thread Index | Old Index