[Demudi-commits] r662 - in dssi/trunk: . debian examples
jack-dssi-host
Free Ekanayaka
free-guest at costa.debian.org
Mon Feb 6 23:55:09 UTC 2006
Author: free-guest
Date: 2006-02-06 23:55:07 +0000 (Mon, 06 Feb 2006)
New Revision: 662
Added:
dssi/trunk/debian/
dssi/trunk/debian/README.Debian
dssi/trunk/debian/TODO
dssi/trunk/debian/changelog
dssi/trunk/debian/compat
dssi/trunk/debian/control
dssi/trunk/debian/copyright
dssi/trunk/debian/dssi0.9-dev.docs
dssi/trunk/debian/dssi0.9-dev.install
dssi/trunk/debian/dssi0.9-doc.install
dssi/trunk/debian/dssi0.9-host-jack.install
dssi/trunk/debian/dssi0.9-host-jack.manpages
dssi/trunk/debian/dssi0.9-plugin-lesstrivialsynth.install
dssi/trunk/debian/dssi0.9-plugin-trivialsampler.install
dssi/trunk/debian/dssi0.9-plugin-trivialsynth.install
dssi/trunk/debian/dssi0.9-utils.install
dssi/trunk/debian/dssi0.9-utils.manpages
dssi/trunk/debian/dssi_osc_send.1
dssi/trunk/debian/dssi_osc_update.1
dssi/trunk/debian/jack-dssi-host.1
dssi/trunk/debian/rules
Modified:
dssi/trunk/Makefile
dssi/trunk/dssi.pc
dssi/trunk/examples/Makefile
dssi/trunk/jack-dssi-host/Makefile
dssi/trunk/jack-dssi-host/jack-dssi-host.c
Log:
Load newtrunk into dssi/trunk.
Modified: dssi/trunk/Makefile
===================================================================
--- dssi/trunk/Makefile 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/Makefile 2006-02-06 23:55:07 UTC (rev 662)
@@ -1,6 +1,8 @@
PREFIX ?= /usr/local
-PKGCONFIG_INSTALL_DIR = $(PREFIX)/lib/pkgconfig
+DESTDIR ?= $(PREFIX)
+PKGCONFIG_INSTALL_DIR = $(DESTDIR)/lib/pkgconfig
+DSSIVERSION=0.9
FLUID ?= $(PWD)/../fluidsynth-1.0.3
@@ -24,12 +26,15 @@
@$(MAKE) -C tests distclean
@$(MAKE) -C fluidsynth-dssi distclean
rm -f *~ doc/*~ dssi/*~
+ rm -f doc/*.html
install: all
- mkdir -p $(PREFIX)/include
+ mkdir -p $(DESTDIR)/include/dssi-0.9/
mkdir -p $(PKGCONFIG_INSTALL_DIR)
- cp dssi/dssi.h $(PREFIX)/include/
- sed s:.PREFIX.:$(PREFIX): dssi.pc >$(PKGCONFIG_INSTALL_DIR)/dssi.pc
+ cp dssi/dssi.h $(DESTDIR)/include/dssi-0.9/
+ sed s:.PREFIX.:$(PREFIX): dssi.pc >dssi.pc.2
+ sed s:.DSSIVERSION.:$(DSSIVERSION): dssi.pc.2 >$(PKGCONFIG_INSTALL_DIR)/dssi$(DSSIVERSION).pc
+ rm -f dssi.pc.2
@$(MAKE) -C jack-dssi-host install
@$(MAKE) -C examples install
@test -d $(FLUID)/src && $(MAKE) -C fluidsynth-dssi install || echo "Not installing fluidsynth-dssi"
Added: dssi/trunk/debian/README.Debian
===================================================================
--- dssi/trunk/debian/README.Debian 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/README.Debian 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,15 @@
+dssi for Debian
+---------------
+
+Note that because the DSSI API will not stabilise until 1.0, the Debian packages
+have been altered to install 0.9 in /usr/include/dssi/0.9 and to look for
+plugins in /usr/lib/dssi/0.9/. This is to avoid applications which are built
+against dssi0.9-dev trying to run against plugins which use the 1.0 API when
+it is released. Hopefully if the API stabilises at 1.0, we'll be able to
+just use the /usr/include/dssi and /usr/lib/dssi paths and deprecate the 0.9
+plugins once all applications and plugins are recompiled against it.
+
+This does mean that any applications compiled against dssi0.9-dev should alter
+their default DSSI_PATH accordingly.
+
+ -- Mark Hymers <mark.hymers at ncl.ac.uk>, Sun, 12 Mar 2005 14:44:12 +0000
Added: dssi/trunk/debian/TODO
===================================================================
--- dssi/trunk/debian/TODO 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/TODO 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,5 @@
+* Figure out the best way of adding the fluidsynth plugin to the package
+ (it requires the fluidsynth source to build).
+
+Package: dssi-plugin-fluidsynth
+Architecture: any
Added: dssi/trunk/debian/changelog
===================================================================
--- dssi/trunk/debian/changelog 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/changelog 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,6 @@
+dssi (0.9-0) unstable; urgency=low
+
+ * TEST RELEASE PRIOR TO UPLOAD TO MAIN ARCHIVE
+
+ -- Mark Hymers <mark.hymers at ncl.ac.uk> Sun, 13 Mar 2005 14:35:42 +0000
+
Added: dssi/trunk/debian/compat
===================================================================
--- dssi/trunk/debian/compat 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/compat 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+4
Added: dssi/trunk/debian/control
===================================================================
--- dssi/trunk/debian/control 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/control 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,106 @@
+Source: dssi
+Section: libdevel
+Priority: optional
+Maintainer: Mark Hymers <mark.hymers at ncl.ac.uk>
+Build-Depends: debhelper (>= 4.0.0), ladspa-sdk, libjack0.80.0-dev, liblo0-dev, libasound2-dev, libqt3-mt-dev, libjack0.80.0-0, libsndfile1-dev, libsamplerate0-dev
+Standards-Version: 3.6.1
+
+Package: dssi0.9-dev
+Architecture: all
+Depends: ${shlibs:Depends}
+Description: Header file for compiling DSSI plugins and hosts
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This package contains the header file required for compiling hosts and
+ plugins.
+
+Package: dssi0.9-utils
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Command-line utilities for sending commands to DSSI plugins
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This package contains the dssi_osc_send and dssi_osc_update utilities which
+ can, for instance, be used to send commands to the DSSI trivial synth
+ plugin.
+
+Package: dssi0.9-doc
+Architecture: all
+Description: Documentation for dssi
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This package contains the developer documentation for DSSI.
+
+Package: dssi0.9-host-jack
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dssi0.9-utils
+Description: An example DSSI host
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This package contains an example DSSI host which is useful for testing new
+ plugins. It listens for MIDI events on an ALSA sequencer port, delivers them
+ to DSSI synths and outputs the result via JACK. It does not currently support
+ audio input (e.g. for DSSI effects plugins).
+
+Package: dssi0.9-plugin-trivialsynth
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dssi0.9-utils
+Description: A simple, example DSSI plugin
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This is an example DSSI plugin which
+
+Package: dssi0.9-plugin-lesstrivialsynth
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dssi0.9-utils
+Description: DSSI Plugin to do TODO
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This is an exmaple DSSI plugin which
+
+Package: dssi0.9-plugin-trivialsampler
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dssi0.9-utils
+Description: DSSI Plugin to do TODO
+ DSSI is an API for audio plugins, with particular application for software
+ synthesis plugins with native user interfaces.
+ .
+ DSSI is an open specification developed for use in Linux audio applications,
+ although it is portable to other platforms. It may be thought of as
+ LADSPA-for-instruments, or something comparable to VSTi.
+ .
+ This is an exmaple DSSI plugin which
Added: dssi/trunk/debian/copyright
===================================================================
--- dssi/trunk/debian/copyright 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/copyright 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,47 @@
+This package was debianized by Mark Hymers <mark.hymers at ncl.ac.uk> on
+Fri, 11 Mar 2005 10:00:00 +0000.
+
+It was downloaded from http://dssi.sourceforge.net/
+
+DSSI is Copyright (c) 2004:
+ Chris Cannam <cannam at all-day-breakfast.com>,
+ Steve Harris <steve at plugin.org.uk>,
+ Sean Bolton <musound at jps.net>
+
+
+License (This information comes from the LICENSE file in the source
+distribution augmented by the Debian maintainer using notes in the
+source files):
+
+
+The DSSI API itself (dssi.h) is licensed under the GNU Lesser General
+Public License. On Debian GNU/Linux systems, the complete text of the
+GNU Lesser General Public License can be found in
+`/usr/share/common-licenses/LGPL'.
+
+The jack-dssi-host is provided under a BSD-style license. This means
+you can do anything you want with it so long as you retain the
+copyright attribution and license information. On Debian GNU/Linux
+systems, the complete text of the BSD license can be found in
+`/usr/share/common-licenses/BSD`.
+
+FluidSynth-DSSI is provided under the GNU General Public License.
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL`.
+
+Licensing for the files in the examples directory may vary: please
+check the individual files for details. Most of them are in the
+public domain, which means you can use them for anything you want.
+
+dssi_osc_send.c PD (SB)
+dssi_osc_update.c PD (SB)
+less_trivial_synth.c PD (SH)
+less_trivial_synth_qt_gui.cpp PD (CC, SH)
+less_trivial_synth_qt_gui.h PD (CC, SH)
+saw.h NO LICENSE; JUST NUMBERS; Used by less_trivial_synth.c
+trivial_sampler.c PD (CC, SH, SB)
+trivial_sampler.h PD (CC, SH, SB)
+trivial_sampler_qt_gui.cpp PD (CC, SH, SB)
+trivial_sampler_qt_gui.h PD (CC, SH, SB)
+trivial_synth.c PD (SH)
+
Added: dssi/trunk/debian/dssi0.9-dev.docs
===================================================================
--- dssi/trunk/debian/dssi0.9-dev.docs 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-dev.docs 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+README
Added: dssi/trunk/debian/dssi0.9-dev.install
===================================================================
--- dssi/trunk/debian/dssi0.9-dev.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-dev.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,2 @@
+usr/include/dssi-0.9/
+usr/lib/pkgconfig/
Added: dssi/trunk/debian/dssi0.9-doc.install
===================================================================
--- dssi/trunk/debian/dssi0.9-doc.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-doc.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+
Added: dssi/trunk/debian/dssi0.9-host-jack.install
===================================================================
--- dssi/trunk/debian/dssi0.9-host-jack.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-host-jack.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+usr/bin/jack-dssi-host
Added: dssi/trunk/debian/dssi0.9-host-jack.manpages
===================================================================
--- dssi/trunk/debian/dssi0.9-host-jack.manpages 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-host-jack.manpages 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+debian/jack-dssi-host.1
Added: dssi/trunk/debian/dssi0.9-plugin-lesstrivialsynth.install
===================================================================
--- dssi/trunk/debian/dssi0.9-plugin-lesstrivialsynth.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-plugin-lesstrivialsynth.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,2 @@
+usr/lib/dssi/0.9/less_trivial_synth/
+usr/lib/dssi/0.9/less_trivial_synth.so
Added: dssi/trunk/debian/dssi0.9-plugin-trivialsampler.install
===================================================================
--- dssi/trunk/debian/dssi0.9-plugin-trivialsampler.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-plugin-trivialsampler.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,2 @@
+usr/lib/dssi/0.9/trivial_sampler/
+usr/lib/dssi/0.9/trivial_sampler.so
Added: dssi/trunk/debian/dssi0.9-plugin-trivialsynth.install
===================================================================
--- dssi/trunk/debian/dssi0.9-plugin-trivialsynth.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-plugin-trivialsynth.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+usr/lib/dssi/0.9/trivial_synth.so
Added: dssi/trunk/debian/dssi0.9-utils.install
===================================================================
--- dssi/trunk/debian/dssi0.9-utils.install 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-utils.install 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1 @@
+usr/bin/dssi_osc*
Added: dssi/trunk/debian/dssi0.9-utils.manpages
===================================================================
--- dssi/trunk/debian/dssi0.9-utils.manpages 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi0.9-utils.manpages 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,2 @@
+debian/dssi_osc_send.1
+debian/dssi_osc_update.1
Added: dssi/trunk/debian/dssi_osc_send.1
===================================================================
--- dssi/trunk/debian/dssi_osc_send.1 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi_osc_send.1 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,80 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH dssi_osc_send 1 "March 13th, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+dssi_osc_send \- a program to send messages to osc applications.
+.SH SYNOPSIS
+.B dssi_osc_send
+.I <option> <OSC URL> <values>
+.SH DESCRIPTION
+This manual page documents briefly the
+.B dssi_osc_send
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.SH OPTIONS
+.TP
+.B -c
+Send control message. Requires two values to be supplied
+in the <values> section; control port and value.
+For example: (set control port 1 to 0.1):
+ dssi_osc_send -c <OSC URL> 1 0.1
+.TP
+.B -p
+Send program message. Requires two values to be supplied
+in the <values> section; bank and program number.
+For example: (select bank 0 program number 7):
+ dssi_osc_send -p <OSC URL> 0 7
+.TP
+.B -m
+Send midi message. Requires four numbers to be supplied
+in the <values> section.
+For example: (send a note on, middle C, velocity 64):
+ dssi_osc_send -m <OSC URL> 0 144 60 64
+.TP
+.B -C
+Send configure message.
+For example: (send key 'load' and value '/tmp/patches.pat'):
+ dssi_osc_send -C <OSC URL> load /tmp/patches.pat
+.TP
+.B -s
+Send show message
+ dssi_osc_send -s <OSC URL>
+.TP
+.B -h
+Send hide message
+ dssi_osc_send -h <OSC URL>
+.TP
+.B -q
+Send quit message
+ dssi_osc_send -q <OSC URL>
+.TP
+.B -e
+Send exiting message
+ dssi_osc_send -e <OSC URL>
+.TP
+.B <OSC URL>
+The URL to connect to. For example:
+ osc.udp://localhost:19383/dssi/test.1
+ osc.udp://my.host.org:10886/dssi/xsynth-dssi/Xsynth/chan00
+.SH SEE ALSO
+.BR dssi_osc_update (1).
+.br
+.SH AUTHOR
+This manual page was adapted by Mark Hymers <mark.hymers at ncl.ac.uk>
+from the help text of the application, for the Debian project
+(but may be freely used by others).
Added: dssi/trunk/debian/dssi_osc_update.1
===================================================================
--- dssi/trunk/debian/dssi_osc_update.1 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/dssi_osc_update.1 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,41 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH dssi_osc_update 1 "March 13th, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+dssi_osc_update
+.SH SYNOPSIS
+.B dssi_osc_update
+.I <OSC URL>
+.SH DESCRIPTION
+This manual page documents briefly the
+.B dssi_osc_update
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.SH OPTIONS
+.TP
+.B <OSC URL>
+The URL to connect to. For example:
+ osc.udp://localhost:19383/dssi/test.1
+ osc.udp://my.host.org:10886/dssi/xsynth-dssi/Xsynth/chan00
+.SH SEE ALSO
+.BR dssi_osc_send (1).
+.br
+.SH AUTHOR
+This manual page was adapted by Mark Hymers <mark.hymers at ncl.ac.uk>
+from the help text of the application, for the Debian project
+(but may be freely used by others).
Added: dssi/trunk/debian/jack-dssi-host.1
===================================================================
--- dssi/trunk/debian/jack-dssi-host.1 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/jack-dssi-host.1 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,64 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH jack-dssi-host 1 "March 13th, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+jack-dssi-host
+.SH SYNOPSIS
+.B jack-dssi-host
+.I [-v] [-p <projdir>] [-<i>] <libname>[:<label>] [...]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B jack-dssi-host
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.SH OPTIONS
+.TP
+.B -v
+Verbose mode
+.TP
+.B -p <projdir>
+Project directory to pass to plugin and UI
+.TP
+.B -<i>
+Number of instances of each plugin to run (max 16 total, default 1)
+.TP
+.B <libname>
+DSSI plugin library .so to load (searched for in $DSSI_PATH)
+.TP
+.B <label>
+Label of plugin to load from library
+.TP
+.B [...]
+Optionally more instance counts, plugins and labels
+.br
+.SH EXAMPLE
+.B jack-dssi-host -2 lib1.so -1 lib2.so:fuzzy
+Runs two instances of the first plugin found in lib1.so, assigned to MIDI
+channels 0 and 1 and connected to the first available JACK outputs, and one
+instance of the "fuzzy" plugin in lib2.so with MIDI channels 2 and 3 and
+connected to the next available JACK outputs.
+.SH NOTE
+As a special case, if this program is started with a name other than
+jack-dssi-host, and if that name (plus .so suffix) can be found in the DSSI path
+as a valid plugin library, and if no further command line arguments are given,
+then the first plugin in that library will be loaded automatically.
+.br
+.SH AUTHOR
+This manual page was adapted by Mark Hymers <mark.hymers at ncl.ac.uk>
+from the help text of the application, for the Debian project
+(but may be freely used by others).
Added: dssi/trunk/debian/rules
===================================================================
--- dssi/trunk/debian/rules 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/debian/rules 2006-02-06 23:55:07 UTC (rev 662)
@@ -0,0 +1,105 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+#Architecture
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp:
+ $(MAKE) PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp/usr \
+ QTDIR=/usr/lib/qt3 QTINCDIR=/usr/include/qt3 \
+ MOC=/usr/bin/moc
+ touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp:
+ touch build-indep-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp
+ -$(MAKE) distclean
+ dh_clean
+
+install: install-indep install-arch
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+ $(MAKE) PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp/usr install
+
+ dh_install --sourcedir=debian/tmp -i
+
+ # Manually install docs into dssi0.9-docs
+ install -m0755 -d $(CURDIR)/debian/dssi0.9-doc/usr/share/doc/dssi0.9-doc
+ install -m0755 $(CURDIR)/doc/RFC.html $(CURDIR)/doc/RFC.txt \
+ $(CURDIR)/doc/why-use.html $(CURDIR)/doc/why-use.txt \
+ $(CURDIR)/debian/dssi0.9-doc/usr/share/doc/dssi0.9-doc/
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+ $(MAKE) PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp/usr install
+
+ dh_install --sourcedir=debian/tmp -a
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
Property changes on: dssi/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Modified: dssi/trunk/dssi.pc
===================================================================
--- dssi/trunk/dssi.pc 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/dssi.pc 2006-02-06 23:55:07 UTC (rev 662)
@@ -1,10 +1,11 @@
prefix=.PREFIX.
+dssiversion=.DSSIVERSION.
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
+libdir=${exec_prefix}/lib/dssi/${dssiversion}
+includedir=${prefix}/include/dssi-${dssiversion}
Name: dssi
-Version: 0.9
+Version: .DSSIVERSION.
Description: A plugin API for software instruments
Libs:
Cflags: -I${includedir}
Modified: dssi/trunk/examples/Makefile
===================================================================
--- dssi/trunk/examples/Makefile 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/examples/Makefile 2006-02-06 23:55:07 UTC (rev 662)
@@ -1,6 +1,8 @@
PREFIX ?= /usr/local
-
+DESTDIR ?= $(PREFIX)
+DSSIVERSION ?= 0.9
+LIBTARGET=$(DESTDIR)/lib/dssi/$(DSSIVERSION)
LIBLO_CFLAGS ?= $(shell pkg-config liblo --cflags)
LIBLO_LIBS ?= $(shell pkg-config liblo --libs || echo -llo -lpthread)
@@ -23,18 +25,18 @@
all: $(TARGETS)
install: all
- mkdir -p $(PREFIX)/bin
- cp dssi_osc_update dssi_osc_send $(PREFIX)/bin/
- mkdir -p $(PREFIX)/lib/dssi
- cp trivial_synth.so $(PREFIX)/lib/dssi/
- cp trivial_sampler.so $(PREFIX)/lib/dssi/
- mkdir -p $(PREFIX)/lib/dssi/less_trivial_synth
- cp less_trivial_synth.so $(PREFIX)/lib/dssi/
- cp less_trivial_synth_qt_gui $(PREFIX)/lib/dssi/less_trivial_synth/LTS_qt
- mkdir -p $(PREFIX)/lib/dssi/trivial_sampler
- cp trivial_sampler.so $(PREFIX)/lib/dssi/
- cp trivial_sampler_qt_gui $(PREFIX)/lib/dssi/trivial_sampler/trivial_sampler_qt
- test -x $(PREFIX)/bin/jack-dssi-host && ln -sf jack-dssi-host $(PREFIX)/bin/trivial_sampler
+ mkdir -p $(DESTDIR)/bin
+ cp dssi_osc_update dssi_osc_send $(DESTDIR)/bin/
+ mkdir -p $(LIBTARGET)/
+ cp trivial_synth.so $(LIBTARGET)/
+ cp trivial_sampler.so $(LIBTARGET)/
+ mkdir -p $(LIBTARGET)/less_trivial_synth
+ cp less_trivial_synth.so $(LIBTARGET)/
+ cp less_trivial_synth_qt_gui $(LIBTARGET)/less_trivial_synth/LTS_qt
+ mkdir -p $(LIBTARGET)/trivial_sampler
+ cp trivial_sampler.so $(LIBTARGET)/
+ cp trivial_sampler_qt_gui $(LIBTARGET)/trivial_sampler/trivial_sampler_qt
+ test -x $(DESTDIR)/bin/jack-dssi-host && ln -sf jack-dssi-host $(DESTDIR)/bin/trivial_sampler
CFLAGS = -Wall -O2 -I../dssi $(LIBLO_CFLAGS)
Modified: dssi/trunk/jack-dssi-host/Makefile
===================================================================
--- dssi/trunk/jack-dssi-host/Makefile 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/jack-dssi-host/Makefile 2006-02-06 23:55:07 UTC (rev 662)
@@ -1,5 +1,6 @@
PREFIX ?= /usr/local
+DESTDIR ?= $(PREFIX)
TARGETS = \
jack-dssi-host
@@ -7,8 +8,8 @@
all: $(TARGETS)
install: all
- mkdir -p $(PREFIX)/bin
- cp jack-dssi-host $(PREFIX)/bin/
+ mkdir -p $(DESTDIR)/bin
+ cp jack-dssi-host $(DESTDIR)/bin/
CFLAGS = -Wall -g3 -I../dssi $(shell pkg-config liblo --cflags)
CXXFLAGS = $(CFLAGS)
@@ -26,6 +27,7 @@
clean:
rm -f *.o *.moc.*
+ rm -f $(MB_O)
distclean: clean
rm -f *~ $(TARGETS)
Modified: dssi/trunk/jack-dssi-host/jack-dssi-host.c
===================================================================
--- dssi/trunk/jack-dssi-host/jack-dssi-host.c 2006-02-06 23:54:37 UTC (rev 661)
+++ dssi/trunk/jack-dssi-host/jack-dssi-host.c 2006-02-06 23:55:07 UTC (rev 662)
@@ -457,9 +457,9 @@
const char *home = getenv("HOME");
if (home) {
defaultDssiPath = malloc(strlen(home) + 60);
- sprintf(defaultDssiPath, "/usr/local/lib/dssi:/usr/lib/dssi:%s/.dssi", home);
+ sprintf(defaultDssiPath, "/usr/local/lib/dssi/0.9:/usr/lib/dssi/0.9:%s/.dssi", home);
} else {
- defaultDssiPath = strdup("/usr/local/lib/dssi:/usr/lib/dssi");
+ defaultDssiPath = strdup("/usr/local/lib/dssi/0.9:/usr/lib/dssi/0.9");
}
}
dssiPath = defaultDssiPath;
More information about the Demudi-commits
mailing list