rpms/lv2-swh-plugins/F-11 import.log, NONE, 1.1 lv2-swh-plugins.spec, NONE, 1.1 swh-lv2-resolve-symbols.patch, NONE, 1.1 swh-lv2-time-and-perm.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Mon Apr 27 18:05:53 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/lv2-swh-plugins/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29852/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log lv2-swh-plugins.spec swh-lv2-resolve-symbols.patch 
	swh-lv2-time-and-perm.patch 
Log Message:
* Thu Apr 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.15-2
- Fix unresolved symbols

* Sun Mar 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.15-1
- Initial build



--- NEW FILE import.log ---
lv2-swh-plugins-1_0_15-2_fc10:F-11:lv2-swh-plugins-1.0.15-2.fc10.src.rpm:1240855502


--- NEW FILE lv2-swh-plugins.spec ---
%global pkgname swh-lv2

Name:		lv2-swh-plugins
Version:	1.0.15
Release:	2%{?dist}
Summary:	LV2 ports of LADSPA swh plugins
Group:		Applications/Multimedia
License:	GPLv2+
URL:		http://lv2plug.in/
Source0:	http://plugin.org.uk/lv2/%{pkgname}-%{version}.tar.gz
# The following two patches are sent to the author via email (there is no bugtracker)
# This patch fixes unresolved symbols errors
Patch0:		swh-lv2-resolve-symbols.patch
# This is for preserving timestamps of the installed files and to correct
# the permissions of .ttl files
Patch1:		swh-lv2-time-and-perm.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	fftw-devel
BuildRequires:	lv2core-devel
Requires:	lv2core

%description
This is an early experimental port of my LADSPA plugins to the LV2
specification, c.f. http://lv2plug.in/ . It's still quite early days, but most
things should work as well or not as they did in LADSPA.


%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1 -b .symbols
%patch1 -p1 -b .timeandperm

# We are using the system header:
rm -f include/lv2.h

%build
make %{?_smp_mflags} \
	CFLAGS="-I%{_includedir} $RPM_OPT_FLAGS" \
	LDFLAGS="$RPM_OPT_FLAGS"


%install
rm -rf $RPM_BUILD_ROOT
make install-system INSTALL_DIR="$RPM_BUILD_ROOT%{_libdir}/lv2"


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README
%{_libdir}/lv2/*


%changelog
* Thu Apr 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.15-2
- Fix unresolved symbols

* Sun Mar 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.15-1
- Initial build

swh-lv2-resolve-symbols.patch:

--- NEW FILE swh-lv2-resolve-symbols.patch ---
diff -rupN swh-lv2-1.0.15.old/extra.mk swh-lv2-1.0.15/extra.mk
--- swh-lv2-1.0.15.old/extra.mk	2008-01-09 16:02:08.000000000 -0500
+++ swh-lv2-1.0.15/extra.mk	2009-04-23 14:14:10.000000000 -0400
@@ -1,6 +1,6 @@
-analogue_osc_LDFLAGS = util/blo.o
-fm_osc_LDFLAGS = util/blo.o
-hermes_filter_LDFLAGS = util/blo.o
+analogue_osc_LDFLAGS = util/blo.o -lrt
+fm_osc_LDFLAGS = util/blo.o -lrt
+hermes_filter_LDFLAGS = util/blo.o -lrt
 
 bandpass_iir_LDFLAGS = util/iir.o
 bandpass_a_iir_LDFLAGS = util/iir.o
@@ -21,3 +21,6 @@ se4_LDFLAGS = util/db.o util/rms.o
 
 mbeq_CFLAGS = `pkg-config fftw3f --cflags`
 mbeq_LDFLAGS = `pkg-config fftw3f --libs`
+
+pitch_scale_CFLAGS = `pkg-config fftw3f --cflags`
+pitch_scale_LDFLAGS = util/pitchscale.o `pkg-config fftw3f --libs`
diff -rupN swh-lv2-1.0.15.old/Makefile swh-lv2-1.0.15/Makefile
--- swh-lv2-1.0.15.old/Makefile	2008-01-09 16:02:08.000000000 -0500
+++ swh-lv2-1.0.15/Makefile	2009-04-23 14:17:41.000000000 -0400
@@ -44,8 +44,8 @@ PLUGIN_LDFLAGS = -arch i386 -arch ppc -d
 BUILD_PLUGINS = $(PLUGINS)
 else
 EXT = so
-PLUGIN_CFLAGS = -Wall -I. -Iinclude -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fPIC -DPIC $(CFLAGS)
-PLUGIN_LDFLAGS = -shared $(LDFLAGS)
+PLUGIN_CFLAGS = -Wall -I. -Iinclude -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fPIC -DPIC -DFFTW3 $(CFLAGS)
+PLUGIN_LDFLAGS = -shared -lm $(LDFLAGS)
 BUILD_PLUGINS = $(PLUGINS) $(FFT_PLUGINS)
 endif
 
@@ -56,7 +56,7 @@ all: util gverb $(OBJECTS)
 gverb: gverb/gverb.c gverb/gverbdsp.c gverb/gverb.o gverb/gverbdsp.o
 	(cd gverb && make -w CFLAGS="$(PLUGIN_CFLAGS)" LDFLAGS="$(PLUGIN_LDFLAGS)")
 
-util: util/blo.o util/iir.o util/db.o util/rms.o
+util: util/blo.o util/iir.o util/db.o util/rms.o util/pitchscale.o
 
 %.c: OBJ = $(shell echo $@ | sed 's/\.c$$/- at OS@.$(EXT)/')
 %.c: %.xml
diff -rupN swh-lv2-1.0.15.old/util/pitchscale.c swh-lv2-1.0.15/util/pitchscale.c
--- swh-lv2-1.0.15.old/util/pitchscale.c	2008-01-09 16:02:07.000000000 -0500
+++ swh-lv2-1.0.15/util/pitchscale.c	2009-04-23 14:08:52.000000000 -0400
@@ -36,7 +36,7 @@
 *****************************************************************************/
 
 #include <string.h>
-#include "../config.h"
+//#include "../config.h"
 #include <math.h>
 
 #include "pitchscale.h"

swh-lv2-time-and-perm.patch:

--- NEW FILE swh-lv2-time-and-perm.patch ---
diff -rupN swh-lv2-1.0.15.old/Makefile swh-lv2-1.0.15/Makefile
--- swh-lv2-1.0.15.old/Makefile	2009-04-23 14:26:07.000000000 -0400
+++ swh-lv2-1.0.15/Makefile	2009-04-23 14:25:11.000000000 -0400
@@ -96,13 +96,14 @@ install-user: all install-really
 install-really:
 	for plugin in $(BUILD_PLUGINS); do \
 		echo Installing $$plugin; \
-		install -d $(INSTALL_DIR_REALLY)/$$plugin; \
-		install plugins/$$plugin/*-$(OS).$(EXT) plugins/$$plugin/*.ttl $(INSTALL_DIR_REALLY)/$$plugin/ ; \
+		install -pd $(INSTALL_DIR_REALLY)/$$plugin; \
+		install -pm 755 plugins/$$plugin/*-$(OS).$(EXT) $(INSTALL_DIR_REALLY)/$$plugin/ ; \
+		install -pm 644 plugins/$$plugin/*.ttl $(INSTALL_DIR_REALLY)/$$plugin/ ; \
 	done
 
 dist: real-clean all dist-clean
 	cd .. && \
-	cp -r lv2 swh-lv2-$(VERSION) && \
+	cp -pr lv2 swh-lv2-$(VERSION) && \
 	tar cfz swh-lv2-$(VERSION).tar.gz swh-lv2-$(VERSION)/{Makefile,README,*.mk,plugins/*/*,util/*,gverb/*,xslt/*,include/*} && \
 	rm -rf swh-lv2-$(VERSION)
 	mv ../swh-lv2-$(VERSION).tar.gz .


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lv2-swh-plugins/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Apr 2009 05:25:02 -0000	1.1
+++ .cvsignore	27 Apr 2009 18:05:23 -0000	1.2
@@ -0,0 +1 @@
+swh-lv2-1.0.15.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lv2-swh-plugins/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Apr 2009 05:25:02 -0000	1.1
+++ sources	27 Apr 2009 18:05:23 -0000	1.2
@@ -0,0 +1 @@
+c78f42c36d7bf2fb5b17f795ef9636d1  swh-lv2-1.0.15.tar.gz




More information about the fedora-extras-commits mailing list