rpms/dssi/devel dssi-0.9-math.patch, NONE, 1.1 dssi-lib64.patch, NONE, 1.1 dssi.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Anthony Green (green) fedora-extras-commits at redhat.com
Mon Jun 5 01:31:27 UTC 2006


Author: green

Update of /cvs/extras/rpms/dssi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32177/devel

Modified Files:
	.cvsignore sources 
Added Files:
	dssi-0.9-math.patch dssi-lib64.patch dssi.spec 
Log Message:
auto-import dssi-0.9.1-7 on branch devel from dssi-0.9.1-7.src.rpm

dssi-0.9-math.patch:

--- NEW FILE dssi-0.9-math.patch ---
--- dssi-0.9/examples/trivial_sampler_qt_gui.cpp~	2004-10-28 04:46:08.000000000 -0700
+++ dssi-0.9/examples/trivial_sampler_qt_gui.cpp	2004-12-23 22:18:42.000000000 -0800
@@ -24,6 +24,7 @@
 #include <iostream>
 #include <unistd.h>
 #include <sndfile.h>
+#include <math.h>
 
 #include "dssi.h"
 

dssi-lib64.patch:

--- NEW FILE dssi-lib64.patch ---
--- jack-dssi-host/jack-dssi-host.c~	2005-10-11 09:44:56.000000000 -0700
+++ jack-dssi-host/jack-dssi-host.c	2006-05-30 14:26:37.000000000 -0700
@@ -494,9 +494,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/lib64/dssi:/usr/lib64/dssi:%s/.dssi", home);
 	    } else {
-		defaultDssiPath = strdup("/usr/local/lib/dssi:/usr/lib/dssi");
+		defaultDssiPath = strdup("/usr/local/lib64/dssi:/usr/lib64/dssi");
 	    }
 	}
 	dssiPath = defaultDssiPath;


--- NEW FILE dssi.spec ---
Summary:      Disposable Soft Synth Interface
Name:         dssi
Version:      0.9.1
Release:      7%{?dist}
License:      MIT
Group:        Applications/Multimedia
URL:          http://dssi.sourceforge.net/
Source0:      http://download.sf.net/sourceforge/dssi/dssi-0.9.1.tar.gz
Patch0:       dssi-0.9-math.patch
Patch1:       dssi-lib64.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: ladspa-devel, alsa-lib-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: liblo-devel, libsndfile-devel, libsamplerate-devel
# for the examples
BuildRequires: qt-devel

%description
Disposable Soft Synth Interface (DSSI, pronounced "dizzy") is a
proposal for a plugin API for software instruments (soft synths) with
user interfaces, permitting them to be hosted in-process by Linux
audio applications. Think of it as LADSPA-for-instruments, or
something comparable to a simpler version of VSTi.

%package examples
Summary:  DSSI plugin examples
Group:	  Applications/Multimedia
License:  Public Domain
Requires: %{name} = %{version}

%description examples
Example plugins for the Disposable Soft Synth Interface.

%package devel
Summary:  Libraries, includes, etc to develop DSSI applications
Group:    Development/Libraries
License:  LGPL
Requires: ladspa-devel, alsa-lib-devel, liblo-devel

%description devel
Libraries, include files, etc you can use to develop DSSI 
based applications.

%prep
%setup -q
%patch0 -p1

# Conditionally apply patch to read DSSI plugins from lib64 dir.
%ifarch x86_64
%patch1 -p0
%endif

%build
%configure
make 

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/dssi/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README ChangeLog doc
%{_bindir}/dssi_osc_send
%{_bindir}/dssi_osc_update
%{_bindir}/jack-dssi-host
%dir %{_libdir}/dssi

%files examples
%defattr(-,root,root,-)
%{_libdir}/dssi/less_trivial_synth.so
%{_libdir}/dssi/less_trivial_synth
%{_libdir}/dssi/trivial_sampler.so
%{_libdir}/dssi/trivial_sampler
%{_libdir}/dssi/trivial_synth.so
%{_bindir}/trivial_sampler
%{_bindir}/trivial_synth
%{_bindir}/less_trivial_synth

%files devel
%defattr(-,root,root,-)
%doc COPYING
%{_includedir}/dssi.h
%{_libdir}/pkgconfig/dssi.pc

%changelog
* Sun Jun  4 2006 Anthony Green <green at redhat.com> 0.9.1-7
- Tweak URL.

* Fri Jun  2 2006 Anthony Green <green at redhat.com> 0.9.1-6
- Tweak License again.

* Tue May 30 2006 Anthony Green <green at redhat.com> 0.9.1-5
- Add dssi-lib64.patch so jack-dssi-host looks in lib64 dir for
  x86-64 systems.

* Fri May 26 2006 Anthony Green <green at redhat.com> 0.9.1-4
- Tweak License fields.

* Sun May 21 2006 Anthony Green <green at redhat.com> 0.9.1-3
- Move .pc file from examples to devel.
- Delete the .la files instead of %exclude-ing them.
- Add some dependencies to the -devel package.
- dssi-devel package no longer depends on dssi.
- Move COPYING to devel package.

* Thu May 18 2006 Anthony Green <green at redhat.com> 0.9.1-2
- Clean up BuildRequires.
- Add "%dir" to dssi lib dir in $files.
- Move plugin examples to a new -examples package.

* Sat May 13 2006 Anthony Green <green at redhat.com> 0.9.1-1
- Upgrade to 0.9.1 sources.
- Remove fluidsynth-dssi bits.
- Own %{_libdir}/dssi.

* Tue Apr 25 2006 Anthony Green <green at redhat.com> 0.9-3
- Own %{_libdir}/dssi/* directories.

* Tue Apr 18 2006 Anthony Green <green at redhat.com> 0.9-2
- Build for Fedora Extras.

* Thu Aug 19 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 0.4-1
- initial build.
- include fluidsynth sources, dssi needs them for the fluidsynth-dssi
  example (it relies on more than the standard fluidsynth API)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dssi/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Jun 2006 01:30:33 -0000	1.1
+++ .cvsignore	5 Jun 2006 01:31:27 -0000	1.2
@@ -0,0 +1 @@
+dssi-0.9.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dssi/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Jun 2006 01:30:33 -0000	1.1
+++ sources	5 Jun 2006 01:31:27 -0000	1.2
@@ -0,0 +1 @@
+1a353c3ae80328cded838853ddf52164  dssi-0.9.1.tar.gz




More information about the scm-commits mailing list