rpms/calf/F-11 calf-dssi.desktop, NONE, 1.1 calf.git-fb526c311c4ab401986b7d559d32732d6acd7cde.patch, NONE, 1.1 calf.spec, 1.2, 1.3

Orcan Ogetbil oget at fedoraproject.org
Wed Jul 15 05:15:18 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/calf/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10652

Modified Files:
	calf.spec 
Added Files:
	calf-dssi.desktop 
	calf.git-fb526c311c4ab401986b7d559d32732d6acd7cde.patch 
Log Message:
* Mon Jul 13 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.0.18.5-2
- Add a .desktop file for the DSSI plugin
- Add X-Synthesis category to the existing .desktop file of the JACK plugin
- Backport the LADSPA URI fix from trunk



--- NEW FILE calf-dssi.desktop ---
[Desktop Entry]
Name=Calf Plugin Pack for DSSI
GenericName=Audio Effects
Comment=Process and produce sounds using a set of plugins with DSSI interface
Icon=calf
Type=Application
Exec=/usr/bin/calf
Terminal=false
Categories=Audio;AudioVideo;Midi;X-Synthesis;X-Jack;

calf.git-fb526c311c4ab401986b7d559d32732d6acd7cde.patch:

--- NEW FILE calf.git-fb526c311c4ab401986b7d559d32732d6acd7cde.patch ---
From: Krzysztof Foltman <wdev at foltman.com>
Date: Fri, 19 Jun 2009 18:47:52 +0000 (+0100)
Subject: + LV2: use correct LADSPA URIs
X-Git-Url: http://repo.or.cz/w/calf.git?a=commitdiff_plain;h=fb526c311c4ab401986b7d559d32732d6acd7cde;hp=b3c1df4210795f0ff962c0866babe7818bf70d31

+ LV2: use correct LADSPA URIs
---

diff --git a/src/makerdf.cpp b/src/makerdf.cpp
index e5afa52..430fb91 100644
--- a/src/makerdf.cpp
+++ b/src/makerdf.cpp
@@ -555,7 +555,7 @@ void make_ttl(string path_prefix)
 #endif
         
         ttl += "    doap:license <http://usefulinc.com/doap/licenses/lgpl> ;\n";
-        ttl += "    dc:replaces <ladspa:" + i2s(lpi.unique_id) + "> ;\n";
+        ttl += "    dc:replaces <urn:ladspa:" + i2s(lpi.unique_id) + "> ;\n";
         // XXXKF not really optional for now, to be honest
         ttl += "    lv2:optionalFeature epp:supportsStrictBounds ;\n";
         if (pi->is_rt_capable())


Index: calf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/calf/F-11/calf.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- calf.spec	12 Jun 2009 02:52:42 -0000	1.2
+++ calf.spec	15 Jul 2009 05:15:17 -0000	1.3
@@ -1,6 +1,6 @@
 Name:		calf
 Version:	0.0.18.5
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Audio plugins pack
 Group:		Applications/Multimedia
 # The jackhost code is GPLv2+ 
@@ -11,6 +11,10 @@ Group:		Applications/Multimedia
 License:	GPLv2+ and LGPLv2+
 URL:		http://calf.sourceforge.net/
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:	%{name}-dssi.desktop
+# LV2: use correct LADSPA URIs
+# http://repo.or.cz/w/calf.git?a=commit;h=fb526c311c4ab401986b7d559d32732d6acd7cde
+Patch0:		%{name}.git-fb526c311c4ab401986b7d559d32732d6acd7cde.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -75,6 +79,7 @@ This package contains DSSI synthesizers 
 
 %prep
 %setup -q
+%patch0 -p1 -b .ladspa_uri
 
 # Make sure that optflags are not overriden.
 sed -i 's|-O3||' configure
@@ -94,11 +99,19 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
+# The Jack host
 desktop-file-install \
 	--remove-category="Application" \
+	--add-category="X-Synthesis" \
 	--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
 	$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
 
+# The DSSI host
+ln -s jack-dssi-host $RPM_BUILD_ROOT%{_bindir}/%{name}
+desktop-file-install \
+	--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
+	%{SOURCE1}
+
 # We don't need this file:
 rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache
 
@@ -141,10 +154,17 @@ gtk-update-icon-cache %{_datadir}/icons/
 
 %files -n dssi-%{name}-plugins
 %defattr(-,root,root,-)
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}-dssi.desktop
 %{_libdir}/dssi/%{name}/
 %{_libdir}/dssi/%{name}.so
 
 %changelog
+* Mon Jul 13 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.0.18.5-2
+- Add a .desktop file for the DSSI plugin
+- Add X-Synthesis category to the existing .desktop file of the JACK plugin
+- Backport the LADSPA URI fix from trunk
+
 * Thu Jun 11 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.0.18.5-1
 - Update to 0.0.18.5
 - Drop upstreamed gcc44 patch




More information about the fedora-extras-commits mailing list