Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 23:35:46 +0100 (CET)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        multimedia@FreeBSD.org
Subject:   [PATCH] audio/jack: update to 0.116.2
Message-ID:  <20090218223546.0924A39B2C@pin.if.uz.zgora.pl>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Edward Tomasz Napierala
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] audio/jack: update to 0.116.2
>Severity:	serious
>Priority:	medium
>Category:	ports 
>Class:		update
>Release:	FreeBSD 7.0-STABLE i386
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul 22 14:57:37 CEST 2008
>Description:
- Update to 0.116.2

Added file(s):
- files/patch-drivers-dummy-dummy_driver.c
- files/patch-drivers-dummy-dummy_driver.h
- files/patch-drivers-netjack-net_driver.c

Removed file(s):
- files/patch-libjack-midiport.c

Port maintainer (multimedia@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- jack-0.116.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/jack/Makefile /home/trasz/jack/Makefile
--- /usr/ports/audio/jack/Makefile	2009-01-05 18:27:21.000000000 +0100
+++ /home/trasz/jack/Makefile	2009-02-18 07:07:43.000000000 +0100
@@ -6,17 +6,18 @@
 #
 
 PORTNAME=	jackit
-PORTVERSION=	0.109.2
-PORTREVISION=	1
+PORTVERSION=	0.116.2
 CATEGORIES=	audio
-MASTER_SITES=	SF
+MASTER_SITES=	http://jackaudio.org/downloads/
 DISTNAME=	jack-audio-connection-kit-${PORTVERSION}
 
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	A low-latency audio server
 
 LIB_DEPENDS=	portaudio.0:${PORTSDIR}/audio/portaudio \
-		sndfile.1:${PORTSDIR}/audio/libsndfile
+		sndfile.1:${PORTSDIR}/audio/libsndfile \
+		samplerate.1:${PORTSDIR}/audio/libsamplerate \
+		celt.0:${PORTSDIR}/audio/celt
 
 OPTIONS=	DOCS "Build HTML documentation. Requires doxygen/TeX." off
 
@@ -27,6 +28,7 @@
 CONFIGURE_ARGS+=--enable-portaudio \
 		--with-default-tmpdir=/tmp
 GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 USE_GNOME=	pkgconfig gnometarget gnomehack
 
diff -ruN --exclude=CVS /usr/ports/audio/jack/distinfo /home/trasz/jack/distinfo
--- /usr/ports/audio/jack/distinfo	2008-10-08 01:46:21.000000000 +0200
+++ /home/trasz/jack/distinfo	2009-02-11 20:37:00.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (jack-audio-connection-kit-0.109.2.tar.gz) = 4d8f795a6c566b9753a86038367e7e32
-SHA256 (jack-audio-connection-kit-0.109.2.tar.gz) = 27a7a70e5be0dbcdd98ee1a505399e006e06b4f58fcd3b8cd25763aa7e43bfd4
-SIZE (jack-audio-connection-kit-0.109.2.tar.gz) = 831141
+MD5 (jack-audio-connection-kit-0.116.2.tar.gz) = 9c0ae9880e9b6e081f1a238fe6a28bd5
+SHA256 (jack-audio-connection-kit-0.116.2.tar.gz) = ce6e1f61a3b003137af56b749e5ed4274584167c0877ea9ef2d83f47b11c8d3d
+SIZE (jack-audio-connection-kit-0.116.2.tar.gz) = 944106
diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-drivers-dummy-dummy_driver.c /home/trasz/jack/files/patch-drivers-dummy-dummy_driver.c
--- /usr/ports/audio/jack/files/patch-drivers-dummy-dummy_driver.c	1970-01-01 01:00:00.000000000 +0100
+++ /home/trasz/jack/files/patch-drivers-dummy-dummy_driver.c	2009-02-12 04:45:19.000000000 +0100
@@ -0,0 +1,11 @@
+--- drivers/dummy/dummy_driver.c.orig	2009-02-12 04:44:04.000000000 +0100
++++ drivers/dummy/dummy_driver.c	2009-02-12 04:44:15.000000000 +0100
+@@ -73,7 +73,7 @@
+         }
+ }
+ 
+-#ifdef HAVE_CLOCK_GETTIME
++#if HAVE_CLOCK_GETTIME
+ static inline unsigned long long ts_to_nsec(struct timespec ts)
+ {
+     return ts.tv_sec * 1000000000LL + ts.tv_nsec;
diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-drivers-dummy-dummy_driver.h /home/trasz/jack/files/patch-drivers-dummy-dummy_driver.h
--- /usr/ports/audio/jack/files/patch-drivers-dummy-dummy_driver.h	1970-01-01 01:00:00.000000000 +0100
+++ /home/trasz/jack/files/patch-drivers-dummy-dummy_driver.h	2009-02-12 05:05:10.000000000 +0100
@@ -0,0 +1,11 @@
+--- drivers/dummy/dummy_driver.h.orig	2009-02-12 05:04:38.000000000 +0100
++++ drivers/dummy/dummy_driver.h	2009-02-12 05:04:44.000000000 +0100
+@@ -44,7 +44,7 @@
+     jack_nframes_t  period_size;
+     unsigned long   wait_time;
+ 
+-#ifdef HAVE_CLOCK_GETTIME
++#if HAVE_CLOCK_GETTIME
+     struct timespec next_wakeup;
+ #else
+     jack_time_t     next_time;
diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-drivers-netjack-net_driver.c /home/trasz/jack/files/patch-drivers-netjack-net_driver.c
--- /usr/ports/audio/jack/files/patch-drivers-netjack-net_driver.c	1970-01-01 01:00:00.000000000 +0100
+++ /home/trasz/jack/files/patch-drivers-netjack-net_driver.c	2009-02-11 20:50:34.000000000 +0100
@@ -0,0 +1,11 @@
+--- drivers/netjack/net_driver.c.orig	2009-02-11 20:49:54.000000000 +0100
++++ drivers/netjack/net_driver.c	2009-02-11 20:50:05.000000000 +0100
+@@ -497,7 +497,7 @@
+     {
+ 	int r;
+ 
+-#ifdef __APPLE__
++#if !defined(MSG_CONFIRM)
+ 	static const int flag = 0;
+ #else
+ 	static const int flag = MSG_CONFIRM;
diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-jackd_engine.c /home/trasz/jack/files/patch-jackd_engine.c
--- /usr/ports/audio/jack/files/patch-jackd_engine.c	2006-12-07 20:42:00.000000000 +0100
+++ /home/trasz/jack/files/patch-jackd_engine.c	2009-02-11 20:39:28.000000000 +0100
@@ -1,11 +1,20 @@
---- jackd/engine.c.orig	Wed Dec  6 23:40:20 2006
-+++ jackd/engine.c	Wed Dec  6 23:40:58 2006
-@@ -1444,7 +1444,7 @@
- 				    (engine, pfd[i].fd)) {
- 					jack_error ("could not handle external"
- 						    " client request");
+--- jackd/engine.c.orig	2008-12-02 17:29:23.000000000 +0100
++++ jackd/engine.c	2009-02-11 20:38:52.000000000 +0100
+@@ -1383,7 +1383,7 @@
+ 	if ((r = read (client->request_fd, &req, sizeof (req)))
+ 	    < (ssize_t) sizeof (req)) {
+ 		if (r == 0) {
 -#ifdef JACK_USE_MACH_THREADS
-+#if 1
-                                     /* poll is implemented using
- 				       select (see the macosx/fakepoll
- 				       code). When the socket is closed
++#ifndef __linux
+ 			/* poll is implemented using
+ 			   select (see the macosx/fakepoll
+ 			   code). When the socket is closed
+@@ -1396,7 +1396,7 @@
+ 			   and remove the client.
+ 			*/
+ 			jack_mark_client_socket_error (engine, fd);
+-#endif /* JACK_USE_MACH_THREADS */
++#endif /* !__linux */
+ 			return 1;
+ 		} else {
+ 			jack_error ("cannot read request from client (%d/%d/%s)",
diff -ruN --exclude=CVS /usr/ports/audio/jack/files/patch-libjack-midiport.c /home/trasz/jack/files/patch-libjack-midiport.c
--- /usr/ports/audio/jack/files/patch-libjack-midiport.c	2007-01-23 20:58:43.000000000 +0100
+++ /home/trasz/jack/files/patch-libjack-midiport.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- libjack/midiport.c.orig	Sat Dec 16 13:50:17 2006
-+++ libjack/midiport.c	Fri Jan 19 00:25:32 2007
-@@ -77,7 +77,7 @@
- 		(jack_midi_port_info_private_t *) port_buffer;
- 	
- 	if (event_idx >= info->event_count)
--		return ENODATA;
-+		return ENOMSG;
- 	
- 	port_event = (jack_midi_port_internal_event_t *) (info + 1);
- 	port_event += event_idx;
diff -ruN --exclude=CVS /usr/ports/audio/jack/pkg-plist /home/trasz/jack/pkg-plist
--- /usr/ports/audio/jack/pkg-plist	2008-10-31 17:36:26.000000000 +0100
+++ /home/trasz/jack/pkg-plist	2009-02-17 17:39:06.000000000 +0100
@@ -1,5 +1,4 @@
 bin/jack_alias
-bin/jack_bufsize
 bin/jack_connect
 bin/jack_disconnect
 bin/jack_evmon
@@ -15,6 +14,8 @@
 bin/jack_simple_client
 bin/jack_transport
 bin/jack_unload
+bin/jack_transport_client
+bin/jack_netsource
 bin/jackd
 bin/jackrec
 include/jack/intclient.h
@@ -36,9 +37,14 @@
 lib/jack/jack_oss.so
 lib/jack/jack_portaudio.la
 lib/jack/jack_portaudio.so
+lib/jack/jack_net.la
+lib/jack/jack_net.so
 lib/libjack.la
 lib/libjack.so
 lib/libjack.so.0
+lib/libjackserver.la
+lib/libjackserver.so
+lib/libjackserver.so.0
 libdata/pkgconfig/jack.pc
 %%DOCS%%share/jack-audio-connection-kit/reference/html/annotated.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/classes.html
@@ -80,7 +86,6 @@
 %%DOCS%%share/jack-audio-connection-kit/reference/html/statistics_8h-source.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/statistics_8h.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/struct__jack__midi__event.html
-%%DOCS%%share/jack-audio-connection-kit/reference/html/structjack__midi__event__t.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/structjack__position__t.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/structjack__ringbuffer__data__t.html
 %%DOCS%%share/jack-audio-connection-kit/reference/html/structjack__ringbuffer__t.html
@@ -97,6 +102,23 @@
 %%DOCS%%share/jack-audio-connection-kit/reference/html/doxygen.png
 %%DOCS%%share/jack-audio-connection-kit/reference/html/fsm.png
 %%DOCS%%share/jack-audio-connection-kit/reference/html/doxygen.css
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__ClientCallbacks.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__ClientFunctions.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__ClientThreads.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__ErrorOutput.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__Functions.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__MIDIAPI.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__NonCallbackAPI.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__PortFunctions.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__PortSearching.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__ServerControl.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__Setting.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__The.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__TimeFunctions.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/group__TransportControl.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/modules.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/structPOST__PACKED__STRUCTURE.html
+%%DOCS%%share/jack-audio-connection-kit/reference/html/struct____attribute____.html
 %%DOCS%%@dirrm share/jack-audio-connection-kit/reference/html
 %%DOCS%%@dirrm share/jack-audio-connection-kit/reference
 %%DOCS%%@dirrm share/jack-audio-connection-kit
--- jack-0.116.2.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090218223546.0924A39B2C>