rpms/calf/devel calf-gcc44.patch, NONE, 1.1 calf.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Fri Apr 10 03:19:48 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/calf/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1351/devel

Modified Files:
	.cvsignore sources 
Added Files:
	calf-gcc44.patch calf.spec import.log 
Log Message:
* Mon Mar 30 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.0.18.3-1
- Initial build


calf-gcc44.patch:

--- NEW FILE calf-gcc44.patch ---
diff -rupN calf-0.0.18.3.old/src/giface.cpp calf-0.0.18.3/src/giface.cpp
--- calf-0.0.18.3.old/src/giface.cpp	2009-01-24 05:15:10.000000000 -0500
+++ calf-0.0.18.3/src/giface.cpp	2009-03-30 20:00:27.000000000 -0400
@@ -23,7 +23,7 @@
 #include <memory.h>
 #include <calf/giface.h>
 #include <calf/osctlnet.h>
-
+#include <stdio.h>
 using namespace std;
 using namespace calf_utils;
 using namespace calf_plugins;
diff -rupN calf-0.0.18.3.old/src/jackhost.cpp calf-0.0.18.3/src/jackhost.cpp
--- calf-0.0.18.3.old/src/jackhost.cpp	2009-02-14 04:52:43.000000000 -0500
+++ calf-0.0.18.3/src/jackhost.cpp	2009-03-30 19:59:43.000000000 -0400
@@ -37,7 +37,7 @@
 #include <calf/preset_gui.h>
 #include <calf/main_win.h>
 #include <calf/utils.h>
-
+#include <stdio.h>
 using namespace std;
 using namespace calf_utils;
 using namespace calf_plugins;
diff -rupN calf-0.0.18.3.old/src/modules_small.cpp calf-0.0.18.3/src/modules_small.cpp
--- calf-0.0.18.3.old/src/modules_small.cpp	2009-01-20 18:12:21.000000000 -0500
+++ calf-0.0.18.3/src/modules_small.cpp	2009-03-30 19:58:36.000000000 -0400
@@ -31,7 +31,7 @@
 #include <calf/osc.h>
 #include <calf/modules_small.h>
 #include <calf/lv2helpers.h>
-
+#include <stdio.h>
 #ifdef ENABLE_EXPERIMENTAL
 
 #if USE_LV2
diff -rupN calf-0.0.18.3.old/src/osctlnet.cpp calf-0.0.18.3/src/osctlnet.cpp
--- calf-0.0.18.3.old/src/osctlnet.cpp	2009-01-21 14:37:37.000000000 -0500
+++ calf-0.0.18.3/src/osctlnet.cpp	2009-03-30 20:00:10.000000000 -0400
@@ -25,7 +25,7 @@
 #include <sys/socket.h>
 #include <stdlib.h>
 #include <sstream>
-
+#include <stdio.h>
 using namespace osctl;
 using namespace std;
 
diff -rupN calf-0.0.18.3.old/src/utils.cpp calf-0.0.18.3/src/utils.cpp
--- calf-0.0.18.3.old/src/utils.cpp	2009-02-14 04:52:43.000000000 -0500
+++ calf-0.0.18.3/src/utils.cpp	2009-03-30 19:59:01.000000000 -0400
@@ -17,7 +17,7 @@
  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  * Boston, MA 02111-1307, USA.
  */
- 
+#include <stdio.h> 
 #include <assert.h>
 #include <config.h>
 #include <calf/osctl.h>


--- NEW FILE calf.spec ---
Name:		calf
Version:	0.0.18.3
Release:	1%{?dist}
Summary:	Audio plugins pack
Group:		Applications/Multimedia
# The jackhost code is GPLv2+ 
# The GUI code is LGPLv2+
# ladspa plugin is LGPLv2+
# lv2 plugin is GPLv2+ and LGPLv2+ and Public Domain
# dssi plugin is LGPLv2+
License:	GPLv2+ and LGPLv2+
URL:		http://calf.sourceforge.net/
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
# Patch sent upstream:
# https://sourceforge.net/tracker/?func=detail&aid=2722674&group_id=211458&atid=1017841
Patch0:		%{name}-gcc44.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	desktop-file-utils
BuildRequires:	dssi-devel
BuildRequires:	expat-devel
BuildRequires:	glib2-devel
BuildRequires:	gtk2-devel
BuildRequires:	jack-audio-connection-kit-devel
BuildRequires:	ladspa-devel
BuildRequires:	lash-devel
BuildRequires:	libglade2-devel
BuildRequires:	lv2core-devel

%global common_desc \
The Calf project aims at providing a set of high quality open source audio\
plugins for musicians. All the included plugins are designed to be used with\
multitrack software, as software replacement for instruments and guitar stomp\
boxes.

%description
%common_desc

The plugins are available in LV2, DSSI, Standalone JACK and LADSPA formats.
This package contains the common files and the Standalone JACK plugin.

%package -n ladspa-%{name}-plugins
Summary:	Calf plugins in LADSPA format
Group:		Applications/Multimedia
License:	LGPLv2+
Requires:	%{name} = %{version}-%{release}
Requires:	ladspa

%description -n ladspa-%{name}-plugins
%common_desc

This package contains only LADSPA effect plugins (no GUI), with LRDF.

%package -n lv2-%{name}-plugins
Summary:	Calf plugins in LV2 format
Group:		Applications/Multimedia
License:	GPLv2+ and LGPLv2+ and Public Domain
Requires:	%{name} = %{version}-%{release}
Requires:	lv2core

%description -n lv2-%{name}-plugins
%common_desc

This package contains LV2 synthesizers and effects, MIDI I/O and GUI
extensions.

%package -n dssi-%{name}-plugins
Summary:	Calf plugins in DSSI format
Group:		Applications/Multimedia
License:	LGPLv2+
Requires:	%{name} = %{version}-%{release}
Requires:	dssi

%description -n dssi-%{name}-plugins
%common_desc

This package contains DSSI synthesizers and effects, also GUI extensions.

%prep
%setup -q
%patch0 -p1 -b .gcc44

# Make sure that optflags are not overriden.
sed -i 's|-O3||' configure

%build
# Add GenericName to the .desktop file
echo "GenericName= Audio Effects" >> %{name}.desktop.in
%configure \
	--with-ladspa-dir=%{_libdir}/ladspa/ \
	--with-dssi-dir=%{_libdir}/dssi/ \
	--with-lv2-dir=%{_libdir}/lv2 

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install \
	--remove-category="Application" \
	--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
	$RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop

# We don't need this file:
rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
if [ $1 -eq 0 ] ; then
	touch --no-create %{_datadir}/icons/hicolor &>/dev/null
	gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
update-mime-database %{_datadir}/mime &> /dev/null || :

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING* README TODO
%{_bindir}/%{name}jackhost
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_mandir}/man1/%{name}*
%{_mandir}/man7/%{name}*

%files -n ladspa-%{name}-plugins
%defattr(-,root,root,-)
%{_libdir}/ladspa/%{name}.so
%{_datadir}/ladspa/rdf/%{name}.rdf

%files -n lv2-%{name}-plugins
%defattr(-,root,root,-)
%{_libdir}/lv2/%{name}.lv2/

%files -n dssi-%{name}-plugins
%defattr(-,root,root,-)
%{_libdir}/dssi/%{name}/
%{_libdir}/dssi/%{name}.so

%changelog
* Mon Mar 30 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.0.18.3-1
- Initial build


--- NEW FILE import.log ---
calf-0_0_18_3-1_fc10:HEAD:calf-0.0.18.3-1.fc10.src.rpm:1239333560


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/calf/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Apr 2009 23:35:45 -0000	1.1
+++ .cvsignore	10 Apr 2009 03:19:47 -0000	1.2
@@ -0,0 +1 @@
+calf-0.0.18.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/calf/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Apr 2009 23:35:46 -0000	1.1
+++ sources	10 Apr 2009 03:19:48 -0000	1.2
@@ -0,0 +1 @@
+ef4a48629df9104da6f6081c33d3cfa0  calf-0.0.18.3.tar.gz




More information about the fedora-extras-commits mailing list