summaryrefslogtreecommitdiff
path: root/audio/rosegarden
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-05-31 16:40:56 +0000
committeragc <agc@pkgsrc.org>2001-05-31 16:40:56 +0000
commitcf86676a856a5871e591c2c93160aee8e18985b2 (patch)
tree4183677e747b667b256e6dc0a8fac9cc6657966a /audio/rosegarden
parentd3900530156ba73c28d4bf2bfdbf32c3cd87825f (diff)
downloadpkgsrc-cf86676a856a5871e591c2c93160aee8e18985b2.tar.gz
Initial import of rosegarden-2.1p2 into the Packages Collection.
Provided in PR 12976 by Hume Smith <hclsmith@opermail.com> Notation editor and MIDI sequencer
Diffstat (limited to 'audio/rosegarden')
-rw-r--r--audio/rosegarden/Makefile21
-rw-r--r--audio/rosegarden/distinfo10
-rw-r--r--audio/rosegarden/patches/patch-aa60
-rw-r--r--audio/rosegarden/patches/patch-ab13
-rw-r--r--audio/rosegarden/patches/patch-ac13
-rw-r--r--audio/rosegarden/patches/patch-ad13
-rw-r--r--audio/rosegarden/patches/patch-ae31
-rw-r--r--audio/rosegarden/patches/patch-af13
-rw-r--r--audio/rosegarden/pkg/DESCR2
-rw-r--r--audio/rosegarden/pkg/PLIST15
10 files changed, 191 insertions, 0 deletions
diff --git a/audio/rosegarden/Makefile b/audio/rosegarden/Makefile
new file mode 100644
index 00000000000..559d447f15f
--- /dev/null
+++ b/audio/rosegarden/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+DISTNAME= rosegarden-2.1pl2
+DISTNAME= rosegarden-2.1p2
+CATEGORIES= audio
+MASTER_SITES= http://www.cannam.demon.co.uk/rosegarden/distribution/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.bath.ac.uk/~masjpf/rose.html
+COMMENT= notation editor & midi sequencer
+
+CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include
+
+GNU_CONFIGURE= YES
+USE_GMAKE= yes
+MAKE_ENV+= GCC=yes
+USE_X11BASE= yes
+
+.include "../../mk/bsd.pkg.mk"
+
+#eof
diff --git a/audio/rosegarden/distinfo b/audio/rosegarden/distinfo
new file mode 100644
index 00000000000..12ce45e7e06
--- /dev/null
+++ b/audio/rosegarden/distinfo
@@ -0,0 +1,10 @@
+SHA1 (patch-Makefile.in) = bf77b6cdb830dcbdbe52bf0613d8fbc3653e6e80
+
+SHA1 (rosegarden-2.1pl2.tar.gz) = d85f9fa66c69d2d7636660e091cf063f991c53bd
+Size (rosegarden-2.1pl2.tar.gz) = 607980 bytes
+SHA1 (patch-aa) = bf77b6cdb830dcbdbe52bf0613d8fbc3653e6e80
+SHA1 (patch-ab) = 055ed2fa8d18f44ffd974905ce5a8ceb2060d604
+SHA1 (patch-ac) = 95f57f3a893f34545a45d185b1ab39defd333993
+SHA1 (patch-ad) = 72d2cabf742ed2b6053ca3f7363efd9efef03e8c
+SHA1 (patch-ae) = 320c383e19984156915e7834c26d3d783f670ad7
+SHA1 (patch-af) = ea66d32449a6b589545a3a83b5a275182016fb94
diff --git a/audio/rosegarden/patches/patch-aa b/audio/rosegarden/patches/patch-aa
new file mode 100644
index 00000000000..8daafa753f1
--- /dev/null
+++ b/audio/rosegarden/patches/patch-aa
@@ -0,0 +1,60 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- Makefile.in.orig Sat Nov 22 10:50:07 1997
++++ Makefile.in Thu May 17 16:34:48 2001
+@@ -43,7 +43,7 @@
+
+
+ # Compile defines
+-DEFINES = @defines@
++DEFINES = -DRGLIBDIR=\"${RGLIBDIR}\" @defines@
+
+ # Name of the compiler, plus any flags common to both compile
+ # and link stages; also exported
+@@ -57,7 +57,7 @@
+
+ # Nothing below this line will be exported, so leave it alone
+
+-EXPORTATION = ROSEGARDEN="$(ROSEGARDEN)" ; SYSINCDIRS="$(SYSINCDIRS)" ; SYSLDFLAGS="$(SYSLDFLAGS)" ; CC="$(CC)" ; DEFINES="$(DEFINES)" ; RANLIB="$(RANLIB)" ; OPTFLAGS="$(OPTFLAGS)" ; MAKEDEPEND="$(MAKEDEPEND)" ; SYSEXTRALIBS="$(SYSEXTRALIBS)" ; export ROSEGARDEN SYSINCDIRS DEFINES SYSLDFLAGS CC RANLIB OPTFLAGS MAKEDEPEND SYSEXTRALIBS
++EXPORTATION = ROSEGARDEN="$(ROSEGARDEN)" ; SYSINCDIRS="$(SYSINCDIRS)" ; SYSLDFLAGS="$(SYSLDFLAGS)" ; CC="$(CC)" ; DEFINES='$(DEFINES)' ; RANLIB="$(RANLIB)" ; OPTFLAGS="$(OPTFLAGS)" ; MAKEDEPEND="$(MAKEDEPEND)" ; SYSEXTRALIBS="$(SYSEXTRALIBS)" ; export ROSEGARDEN SYSINCDIRS DEFINES SYSLDFLAGS CC RANLIB OPTFLAGS MAKEDEPEND SYSEXTRALIBS
+
+ LISTLIB = $(ROSEGARDEN)/lists/lib/libLists.a
+ YAWNLIB = $(ROSEGARDEN)/yawn/lib/libY.a
+@@ -196,3 +196,34 @@
+ chmod +x $(ROSEGARDEN)/scripts/make-structure.sh
+ $(ROSEGARDEN)/scripts/make-structure.sh $(ROSEGARDEN)
+
++prefix=@prefix@
++RGBINDIR=${prefix}/bin
++RGLIBDIR=${prefix}/lib/rosegarden
++install=/usr/bin/install
++sed=/usr/bin/sed
++install: bin/rosegarden
++ $(install) -d $(RGBINDIR)
++ $(install) -s -c ./bin/rosegarden $(RGBINDIR)
++ $(install) -d $(RGLIBDIR)/bin
++ $(install) -s -c ./bin/sequencer $(RGLIBDIR)/bin
++ $(install) -s -c ./bin/editor $(RGLIBDIR)/bin
++ $(install) -d $(RGLIBDIR)/example
++ $(install) -c -m 644 ./common/music/glazunov.rose $(RGLIBDIR)/example
++ $(install) -d $(RGLIBDIR)/synth-patches
++ $(install) -c -m 644 ./common/synth-patches/std.sb $(RGLIBDIR)/synth-patches
++ $(install) -c -m 644 ./common/synth-patches/drums.sb $(RGLIBDIR)/synth-patches
++ $(install) -d $(RGLIBDIR)/help
++ $(install) -c -m 644 ./common/help/rosehelp.info $(RGLIBDIR)/help
++ $(install) -c -m 644 ./common/help/rosehelp.hnx $(RGLIBDIR)/help
++ $(sed) -e s,/usr/local/lib/rosegarden,${RGLIBDIR}, < ./Rosegarden > ${prefix}/lib/X11/app-defaults/Rosegarden
++
++# this isn't used yet
++install-tcl:
++ $(install) -d $(RGLIBDIR)/petal
++ $(install) -m 644 ./petal/Petal.so $(RGLIBDIR)/petal
++ $(install) -c ./petal/Petal.tcl $(RGLIBDIR)/petal
++ $(install) -c ./petal/petaleditor/PetalEditor.tcl $(RGLIBDIR)/petal
++ $(install) -c ./petal/petalmidi/PetalMidi.tcl $(RGLIBDIR)/petal
++ ( cd $(RGLIBDIR)/petal ; echo "pkg_mkIndex . Petal.so *.tcl" | tclsh )
++ $(install) -d $(RGLIBDIR)/rosepetal-filters
++ $(install) -c ./petal/harmonizer.tcl $(RGLIBDIR)/rosepetal-filters
++ $(install) -c ./petal/pattern.tcl $(RGLIBDIR)/rosepetal-filters
++
++#eof
diff --git a/audio/rosegarden/patches/patch-ab b/audio/rosegarden/patches/patch-ab
new file mode 100644
index 00000000000..e984c12817a
--- /dev/null
+++ b/audio/rosegarden/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- editor/src/Filter.c.orig Sat Oct 25 12:50:22 1997
++++ editor/src/Filter.c Thu May 17 16:08:15 2001
+@@ -594,7 +594,7 @@
+ char path[3000];
+ fprintf(stderr, "Rosegarden: Environment variable TCLLIBPATH is not set; "
+ "guessing!\n");
+- sprintf(path, "TCLLIBPATH=%s %s /usr/local/lib/rosegarden/petal",
++ sprintf(path, "TCLLIBPATH=%s %s "RGLIBDIR"/petal",
+ homeFilterDir, appData.filtersDirectory);
+ putenv(path);
+ }
diff --git a/audio/rosegarden/patches/patch-ac b/audio/rosegarden/patches/patch-ac
new file mode 100644
index 00000000000..2d771c92326
--- /dev/null
+++ b/audio/rosegarden/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- editor/src/Resources.h.orig Fri Oct 10 06:22:00 1997
++++ editor/src/Resources.h Thu May 17 16:08:03 2001
+@@ -118,7 +118,7 @@
+ sizeof(char *),
+ XtOffset(AppDataPtr, filtersDirectory),
+ XtRImmediate,
+- (XtPointer)"/usr/local/lib/rosegarden/rosepetal-filters",
++ (XtPointer)RGLIBDIR"/rosepetal-filters",
+ },
+ {
+ XtNmusicDirectory,
diff --git a/audio/rosegarden/patches/patch-ad b/audio/rosegarden/patches/patch-ad
new file mode 100644
index 00000000000..9da8edcadf5
--- /dev/null
+++ b/audio/rosegarden/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- sequencer/src/Filter.c@ Sat Oct 25 13:50:42 1997
++++ sequencer/src/Filter.c Thu May 17 16:15:12 2001
+@@ -345,7 +345,7 @@
+ char path[3000];
+ fprintf(stderr, "Rosegarden: Environment variable TCLLIBPATH is not set; "
+ "guessing!\n");
+- sprintf(path, "TCLLIBPATH=%s %s /usr/local/lib/rosegarden/petal",
++ sprintf(path, "TCLLIBPATH=%s %s "RGLIBDIR"/petal",
+ homeFilterDir, appData.filtersDirectory);
+ putenv(path);
+ }
diff --git a/audio/rosegarden/patches/patch-ae b/audio/rosegarden/patches/patch-ae
new file mode 100644
index 00000000000..d0bc16c8503
--- /dev/null
+++ b/audio/rosegarden/patches/patch-ae
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- sequencer/src/Resources.h@ Fri Oct 10 06:21:47 1997
++++ sequencer/src/Resources.h Thu May 17 16:16:03 2001
+@@ -135,7 +135,7 @@
+ sizeof(String),
+ XtOffset(AppDataPtr, midiFmPatchFile),
+ XtRImmediate,
+- (XtPointer)"/usr/local/lib/rosegarden/std.sb",
++ (XtPointer)RGLIBDIR"/std.sb",
+ },
+ {
+ XtNmidiFmDrumPFile,
+@@ -144,7 +144,7 @@
+ sizeof(String),
+ XtOffset(AppDataPtr, midiFmDrumPFile),
+ XtRImmediate,
+- (XtPointer)"/usr/local/lib/rosegarden/drums.sb",
++ (XtPointer)RGLIBDIR"/drums.sb",
+ },
+ {
+ XtNscorePlayTracking,
+@@ -162,7 +162,7 @@
+ sizeof(char *),
+ XtOffset(AppDataPtr, filtersDirectory),
+ XtRImmediate,
+- (XtPointer)"/usr/local/lib/rosegarden/rosepetal-filters",
++ (XtPointer)RGLIBDIR"/rosepetal-filters",
+ }
+
+ };
diff --git a/audio/rosegarden/patches/patch-af b/audio/rosegarden/patches/patch-af
new file mode 100644
index 00000000000..20819368e56
--- /dev/null
+++ b/audio/rosegarden/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+
+--- topbox/src/Resources.h.orig Fri Oct 10 06:22:12 1997
++++ topbox/src/Resources.h Thu May 17 16:58:23 2001
+@@ -61,7 +61,7 @@
+ sizeof(char *),
+ XtOffset(AppDataPtr,helpFile),
+ XtRImmediate,
+- "/usr/local/lib/rosegarden/rosehelp.info",
++ RGLIBDIR"/help/rosehelp.info"
+ },
+ {
+ XtNhelpTextFont,
diff --git a/audio/rosegarden/pkg/DESCR b/audio/rosegarden/pkg/DESCR
new file mode 100644
index 00000000000..0d8750ea9af
--- /dev/null
+++ b/audio/rosegarden/pkg/DESCR
@@ -0,0 +1,2 @@
+Notation and MIDI editor
+(I only use it for notation editing, so I won't say the MIDI works)
diff --git a/audio/rosegarden/pkg/PLIST b/audio/rosegarden/pkg/PLIST
new file mode 100644
index 00000000000..b43eb469abf
--- /dev/null
+++ b/audio/rosegarden/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/31 16:40:56 agc Exp $
+bin/rosegarden
+lib/rosegarden/bin/sequencer
+lib/rosegarden/bin/editor
+lib/rosegarden/example/glazunov.rose
+lib/rosegarden/synth-patches/std.sb
+lib/rosegarden/synth-patches/drums.sb
+lib/rosegarden/help/rosehelp.info
+lib/rosegarden/help/rosehelp.hnx
+lib/X11/app-defaults/Rosegarden
+@dirrm lib/rosegarden/bin
+@dirrm lib/rosegarden/example
+@dirrm lib/rosegarden/synth-patches
+@dirrm lib/rosegarden/help
+@dirrm lib/rosegarden