View | Details | Raw Unified | Return to bug 14234
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 1-18 Link Here
1
# New ports collection makefile for:	rosegarden
1
# New ports collection makefile for:	rosegarden
2
# Version required:	2.1
2
# Version required:	2.1pl2
3
# Date created:		04 Aug 1996
3
# Date created:		04 Aug 1996
4
# Whom:			shanee@augusta.de
4
# Whom:			shanee@augusta.de
5
#
5
#
6
# $FreeBSD: ports/audio/rosegarden/Makefile,v 1.12 1999/10/03 03:34:28 cpiazza Exp $
6
# $FreeBSD: ports/audio/rosegarden/Makefile,v 1.12 1999/10/03 03:34:28 cpiazza Exp $
7
#
7
#
8
8
9
DISTNAME=	rosegarden-2.1
9
DISTNAME=	rosegarden-2.1pl2
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES=	ftp://ftp.maths.bath.ac.uk/pub/dream/ROSE/ \
11
MASTER_SITES=	http://www.all-day-breakfast.com/rosegarden/patches/
12
		ftp://ftp.unina.it/pub/Unix/pkgs/audio/rosegarden/ \
13
		ftp://sunsite.auc.dk//disk6/linuxberg.com/files/x11/media/ \
14
		ftp://ftp.flashnet.it//mirror/8/linuxberg/files/x11/media/
15
EXTRACT_SUFX=	-sources.tar.gz
16
12
17
MAINTAINER=	shanee@augusta.de
13
MAINTAINER=	shanee@augusta.de
18
14
Lines 30-34 Link Here
30
	@( \
26
	@( \
31
	 cd ${WRKSRC} ; ${SETENV} PREFIX="${PREFIX}" ./do-install \
27
	 cd ${WRKSRC} ; ${SETENV} PREFIX="${PREFIX}" ./do-install \
32
	)
28
	)
29
30
post-install:
31
	${MV} -i ${PREFIX}/bin/rosegarden ${PREFIX}/bin/rosegarden-bin
32
	${SED} s-%%PREFIX%%-${PREFIX}-g ${FILESDIR}/rosegarden >${WRKDIR}/rosegarden
33
	${INSTALL_SCRIPT} ${WRKDIR}/rosegarden ${PREFIX}/bin
33
34
34
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (rosegarden-2.1-sources.tar.gz) = e5d866300965c1d928b6edd280f78b21
1
MD5 (rosegarden-2.1pl2.tar.gz) = 994a0d35a68817abc8fa7882d12b4929
(-)patch-aa (-4 / +2 lines)
Lines 38-51 Link Here
38
 		if test -n "$TCL_MIDI_CHECK"
38
 		if test -n "$TCL_MIDI_CHECK"
39
 		then
39
 		then
40
 			Petal=""
40
 			Petal=""
41
@@ -152,9 +160,9 @@
41
@@ -153,8 +161,8 @@
42
 
43
 	*freebsd*)
42
 	*freebsd*)
44
 	defines="-DNO_SYS_ERRLIST"
43
 	defines="-DNO_SYS_ERRLIST"
45
-	AC_CHECK_HEADER(sys/soundcard.h, sound_system="-DSYSTEM_FREEBSD")
44
 	AC_CHECK_HEADER(machine/soundcard.h, sound_system="-DSYSTEM_OSS")
46
-	extra_libs="-lmalloc"
45
-	extra_libs="-lmalloc"
47
-	# LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
46
-	# LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
48
+	AC_CHECK_HEADER(sys/soundcard.h, sound_system="-DSYSTEM_OSS")
49
+	# extra_libs="-lmalloc"
47
+	# extra_libs="-lmalloc"
50
+	LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
48
+	LDFLAGS="-L/usr/lib -L/usr/X11R6/lib"
51
 
49
 
(-)patch-ad (-4 / +3 lines)
Lines 1-5 Link Here
1
--- do-install.orig	Tue Oct 21 14:32:43 1997
1
Index: do-install
2
+++ do-install	Mon Jul 12 13:17:27 1999
3
@@ -1,27 +1,23 @@
2
@@ -1,27 +1,23 @@
4
 #!/bin/sh
3
 #!/bin/sh
5
 
4
 
Lines 46-58 Link Here
46
 
45
 
47
 $install -d $ROSELIBDIR/petal
46
 $install -d $ROSELIBDIR/petal
48
-test -f ./petal/Petal.so && $install -m 644 ./petal/Petal.so $ROSELIBDIR/petal
47
-test -f ./petal/Petal.so && $install -m 644 ./petal/Petal.so $ROSELIBDIR/petal
49
+test -f ./petal/Petal.so && $install -m 644 ./petal/Petal.so ${PREFIX}/lib/tclmidi/
48
+test -f ./petal/Petal.so && $install -c -m 644 ./petal/Petal.so $ROSELIBDIR/petal
50
 $install -c ./petal/Petal.tcl $ROSELIBDIR/petal
49
 $install -c ./petal/Petal.tcl $ROSELIBDIR/petal
51
 $install -c ./petal/petaleditor/PetalEditor.tcl $ROSELIBDIR/petal
50
 $install -c ./petal/petaleditor/PetalEditor.tcl $ROSELIBDIR/petal
52
 $install -c ./petal/petalmidi/PetalMidi.tcl $ROSELIBDIR/petal
51
 $install -c ./petal/petalmidi/PetalMidi.tcl $ROSELIBDIR/petal
53
 
52
 
54
-( cd $ROSELIBDIR/petal ; echo "pkg_mkIndex . Petal.so *.tcl" | tclsh )
53
-( cd $ROSELIBDIR/petal ; echo "pkg_mkIndex . Petal.so *.tcl" | tclsh )
55
+( cd $ROSELIBDIR/petal ; echo "pkg_mkIndex . *.tcl" | tclsh8.0 )
54
+( cd $ROSELIBDIR/petal ; echo "pkg_mkIndex . Petal.so *.tcl" | tclsh8.0 )
56
 
55
 
57
 $install -d $ROSELIBDIR/rosepetal-filters
56
 $install -d $ROSELIBDIR/rosepetal-filters
58
 $install -c ./petal/harmonizer.tcl $ROSELIBDIR/rosepetal-filters
57
 $install -c ./petal/harmonizer.tcl $ROSELIBDIR/rosepetal-filters
(-)patch-ak (-9 / +12 lines)
Lines 1-12 Link Here
1
--- mapper/src/Mapper_OSS.c.orig	Sat Sep 18 16:18:42 1999
1
Index: mapper/src/Mapper_OSS.c
2
+++ mapper/src/Mapper_OSS.c	Sat Sep 18 16:19:17 1999
2
@@ -964,6 +964,13 @@
3
@@ -13,6 +13,9 @@
3
 
4
 #include <sys/stat.h>
4
 BEGIN("Mapper_ReadEvent");
5
 #include <unistd.h>
5
 
6
 #include <fcntl.h>
7
+#ifdef __FreeBSD__
6
+#ifdef __FreeBSD__
8
+#include <errno.h>
7
+    /* on FreeBSD the read() will block when there is no data available... */
8
+    out = 0;
9
+    ioctl(seqfd, SNDCTL_SEQ_GETINCOUNT, &out);
10
+    if (!out)
11
+        RETURN_BOOL(False);
9
+#endif
12
+#endif
13
     if ( ( out = read(seqfd, &InBytes, sizeof(InBytes)) ) <= 0 )
14
         RETURN_BOOL(False);
10
 
15
 
11
 #include <MidiFile.h>
12
 #include <MidiErrorHandler.h>
(-)PLIST (-1 / +2 lines)
Lines 1-5 Link Here
1
lib/tclmidi/Petal.so
2
bin/rosegarden
1
bin/rosegarden
2
bin/rosegarden-bin
3
lib/rosegarden/bin/editor
3
lib/rosegarden/bin/editor
4
lib/rosegarden/bin/sequencer
4
lib/rosegarden/bin/sequencer
5
lib/rosegarden/example/glazunov.rose
5
lib/rosegarden/example/glazunov.rose
Lines 7-12 Link Here
7
lib/rosegarden/synth-patches/drums.sb
7
lib/rosegarden/synth-patches/drums.sb
8
lib/rosegarden/help/rosehelp.hnx
8
lib/rosegarden/help/rosehelp.hnx
9
lib/rosegarden/help/rosehelp.info
9
lib/rosegarden/help/rosehelp.info
10
lib/rosegarden/petal/Petal.so
10
lib/rosegarden/petal/Petal.tcl
11
lib/rosegarden/petal/Petal.tcl
11
lib/rosegarden/petal/PetalEditor.tcl
12
lib/rosegarden/petal/PetalEditor.tcl
12
lib/rosegarden/petal/PetalMidi.tcl
13
lib/rosegarden/petal/PetalMidi.tcl
(-)patches/patch-al (+10 lines)
Added Link Here
1
Index: include/Mapper_OSS.h
2
@@ -4,7 +4,7 @@
3
 #undef MIDI_PITCH_BEND
4
 #endif
5
 
6
-#ifdef SYSTEM_FREEBSD || defined (__FreeBSD__)
7
+#if defined(SYSTEM_FREEBSD) || defined (__FreeBSD__)
8
 #include <machine/soundcard.h>
9
 #elif SYSTEM_OSS
10
 #include <sys/soundcard.h>
(-)files/rosegarden (+2 lines)
Added Link Here
1
#! /bin/sh
2
TCLLIBPATH="$TCLLIBPATH %%PREFIX%%/lib/rosegarden/petal" %%PREFIX%%/bin/rosegarden-bin

Return to bug 14234