Date: Sat, 10 Jul 1999 20:42:06 +0900 (JST) From: futatuki@fureai.or.jp To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12588: Update: audio/cdrdao for cdrdao-1.1.1 Message-ID: <199907101142.UAA39435.mkii@futatuki.fureai.or.jp>
next in thread | raw e-mail | index | archive | help
>Number: 12588 >Category: ports >Synopsis: Update: audio/cdrdao for cdrdao-1.1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 10 04:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Yasuhito FUTATSUKI >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: >Description: update for cdrdao-1.1.1 removed files: patches/* >How-To-Repeat: >Fix: diff -urN cdrdao110/Makefile cdrdao/Makefile --- cdrdao110/Makefile Wed May 12 19:38:07 1999 +++ cdrdao/Makefile Sat Jul 10 16:30:28 1999 @@ -1,5 +1,5 @@ # New ports collection makefile for: cdrdao -# Version required: 1.1.0 +# Version required: 1.1.1 # Date created: 7 April 1999 # Whom: futatuki # @@ -7,9 +7,10 @@ # # If You don't want to use Joerg Schilling's SCSI library, # set DONT_USE_SCGLIB = yes +# If You don't want to use pthead, set DONT_USE_PTHREAD = yes -DISTNAME= cdrdao-1.1.0.src -PKGNAME= cdrdao-1.1.0 +DISTNAME= cdrdao-1.1.1.src +PKGNAME= cdrdao-1.1.1 CATEGORIES= audio MASTER_SITES= http://www.ping.de/sites/daneb/ @@ -18,7 +19,7 @@ BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts\ dlg:${PORTSDIR}/devel/pccts -WRKSRC= ${WRKDIR}/cdrdao-1.1.0 +WRKSRC= ${WRKDIR}/cdrdao-1.1.1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtkmmtest @@ -27,8 +28,12 @@ .include <bsd.port.pre.mk> -.if defined(DONT_USE_SCGLIB) && ${OSVERSION} >= 300000 +.if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000 CONFIGURE_ARGS+= --without-scglib +.endif + +.if defined(DONT_USE_PTHREAD) && ${OSVERSION} > 320000 +CONFIGURE_ARGS+= --without-posix-threads .endif post-install: diff -urN cdrdao110/files/md5 cdrdao/files/md5 --- cdrdao110/files/md5 Tue Apr 6 18:04:19 1999 +++ cdrdao/files/md5 Tue Jun 29 00:53:42 1999 @@ -1 +1 @@ -MD5 (cdrdao-1.1.0.src.tar.gz) = c290a9eb6ac6733483502949b4bc2ecc +MD5 (cdrdao-1.1.1.src.tar.gz) = d5fd669ed5fee77c9053bc325c7b9f58 diff -urN cdrdao110/patches/patch-aa cdrdao/patches/patch-aa --- cdrdao110/patches/patch-aa Sat Apr 10 14:19:31 1999 +++ cdrdao/patches/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,34 +0,0 @@ ---- dao/main.cc.orig Tue Apr 6 03:50:21 1999 -+++ dao/main.cc Sat Apr 10 13:48:13 1999 -@@ -130,16 +130,18 @@ - static int EJECT = 0; - static int SWAP = 0; - static int MULTI_SESSION = 0; --static int FIFO_BUFFERS = 32; - static Command COMMAND; - static int VERBOSE = 0; // verbose level - - #if defined(__FreeBSD__) - static const char *SCSI_DEVICE = "cd0"; -+static int FIFO_BUFFERS = 20; - #elif defined(__linux__) - static const char *SCSI_DEVICE = "/dev/cdrecorder"; -+static int FIFO_BUFFERS = 32; - #else - static const char *SCSI_DEVICE = "0,0,0"; -+static int FIFO_BUFFERS = 32; - #endif - - typedef CdrDriver *(*CdrDriverConstructor)(ScsiIf *, Toc *, unsigned long); ---- dao/cdrdao.man.orig Tue Apr 6 03:50:21 1999 -+++ dao/cdrdao.man Sat Apr 10 14:15:23 1999 -@@ -104,7 +104,8 @@ - .TP - .BI \--buffers " buffer-count" - Specifies the number of buffers that are allocated to avoid buffer under runs. --The minimal buffer count is fixed to 10, default is 32. -+The minimal buffer count is fixed to 10, default is 32 except -+on FreeBSD systems, on which default is 20. - Each buffer holds 1 second of audio data so that dividing - .I buffer_count - by the writing speed gives the maximum time for which reading of audio data diff -urN cdrdao110/patches/patch-ab cdrdao/patches/patch-ab --- cdrdao110/patches/patch-ab Sat Apr 10 14:18:35 1999 +++ cdrdao/patches/patch-ab Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- dao/ScsiIf-freebsd-cam.cc.orig Tue Apr 6 03:50:21 1999 -+++ dao/ScsiIf-freebsd-cam.cc Sat Apr 10 14:17:47 1999 -@@ -64,7 +64,7 @@ - impl_->ccb = NULL; - impl_->timeout = 5000; - -- maxDataLen_ = 4096; -+ maxDataLen_ = 32768; - vendor_[0] = 0; - product_[0] = 0; - revision_[0] = 0; diff -urN cdrdao110/pkg/MESSAGE cdrdao/pkg/MESSAGE --- cdrdao110/pkg/MESSAGE Wed Apr 21 22:51:11 1999 +++ cdrdao/pkg/MESSAGE Tue Jun 29 00:57:01 1999 @@ -1,12 +1,11 @@ Note: * Be sure your kernel is built with "options SYSVMSG" and "options SYSVSHM". Cdrdao requires kernel with these options. - * If you want to use POSIX scheduling control for better scheduling, - include + * Also, you must include options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" - your kernel configuration. It provides rtprio based soft real-time - scheduling control. + in your kernel configuration. These options are required by POSIX thread + control functions. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907101142.UAA39435.mkii>