rpms/faust/devel faust-gcc44.patch, NONE, 1.1 faust.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
Sun Mar 22 20:07:57 UTC 2009


Author: oget

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

Modified Files:
	.cvsignore sources 
Added Files:
	faust-gcc44.patch faust.spec import.log 
Log Message:
* Sat Mar 21 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.9.4-2.b
- Fix the year of the previous changelog entry
- Install the nonbinary files in %%{_datadir}/%%{name}/
- Add Requires: %%{name}=%%{version}-%%{release} to the doc subpackage

* Mon Mar 16 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.9.4-1.b
- Initial build



faust-gcc44.patch:

--- NEW FILE faust-gcc44.patch ---
diff -rupN faust-0.9.9.4.old/compiler/draw/schema/topSchema.cpp faust-0.9.9.4/compiler/draw/schema/topSchema.cpp
--- faust-0.9.9.4.old/compiler/draw/schema/topSchema.cpp	2008-03-27 10:59:11.000000000 -0400
+++ faust-0.9.9.4/compiler/draw/schema/topSchema.cpp	2009-03-16 23:29:45.000000000 -0400
@@ -20,6 +20,7 @@
  ************************************************************************/
 
 #include "topSchema.h"
+#include <cstdlib>
 #include <iostream>
 #include <assert.h>
 
diff -rupN faust-0.9.9.4.old/compiler/parser/enrobage.cpp faust-0.9.9.4/compiler/parser/enrobage.cpp
--- faust-0.9.9.4.old/compiler/parser/enrobage.cpp	2008-03-27 10:59:12.000000000 -0400
+++ faust-0.9.9.4/compiler/parser/enrobage.cpp	2009-03-16 23:29:45.000000000 -0400
@@ -23,6 +23,8 @@
  
 #include "enrobage.hh"
 #include <string>
+#include <cstdlib>
+#include <climits>
 #include "compatibility.hh"
 
 
diff -rupN faust-0.9.9.4.old/compiler/tlib/list.cpp faust-0.9.9.4/compiler/tlib/list.cpp
--- faust-0.9.9.4.old/compiler/tlib/list.cpp	2008-03-27 10:59:12.000000000 -0400
+++ faust-0.9.9.4/compiler/tlib/list.cpp	2009-03-16 23:29:45.000000000 -0400
@@ -104,6 +104,7 @@ This file contains several extensions to
 
 #include "list.hh"
 #include "compatibility.hh"
+#include <cstdlib>
 #include <map>
 
 // predefined symbols CONS and NIL
diff -rupN faust-0.9.9.4.old/compiler/tlib/smartpointer.hh faust-0.9.9.4/compiler/tlib/smartpointer.hh
--- faust-0.9.9.4.old/compiler/tlib/smartpointer.hh	2008-03-27 10:59:12.000000000 -0400
+++ faust-0.9.9.4/compiler/tlib/smartpointer.hh	2009-03-16 23:30:14.000000000 -0400
@@ -26,7 +26,7 @@
 
 //#include <iostream>
 #include <stdlib.h>
-
+#include <stdio.h>
 
 
 template<class T>
diff -rupN faust-0.9.9.4.old/compiler/tlib/symbol.cpp faust-0.9.9.4/compiler/tlib/symbol.cpp
--- faust-0.9.9.4.old/compiler/tlib/symbol.cpp	2008-03-27 10:59:12.000000000 -0400
+++ faust-0.9.9.4/compiler/tlib/symbol.cpp	2009-03-16 23:33:15.000000000 -0400
@@ -21,8 +21,9 @@
 
 #include    "symbol.hh"
 #include    "compatibility.hh"
+#include	<cstring>
 #include 	<iostream>
-
+#include        <cstdio>
 using namespace std;
 
 /**
diff -rupN faust-0.9.9.4.old/compiler/tlib/tree.cpp faust-0.9.9.4/compiler/tlib/tree.cpp
--- faust-0.9.9.4.old/compiler/tlib/tree.cpp	2008-03-27 10:59:12.000000000 -0400
+++ faust-0.9.9.4/compiler/tlib/tree.cpp	2009-03-16 23:29:45.000000000 -0400
@@ -76,6 +76,7 @@ storage of trees.
 *****************************************************************************/
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <limits.h>
 #include "tree.hh"
 #include <fstream>


--- NEW FILE faust.spec ---
Name:		faust
Version:	0.9.9.4
Release:	2.b%{?dist}
Summary:	Compiled language for real-time audio signal processing
Group:		Development/Languages
# Examples are BSD
# The rest is GPLv2+
License:	GPLv2+ and BSD
URL:		http://faust.grame.fr/
Source0:	http://downloads.sourceforge.net/faudiostream/%{name}-%{version}b.tar.gz
Patch0:		%{name}-gcc44.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	doxygen texlive-utils

%description
Faust AUdio STreams is a functional programming language for real-time audio
signal processing. Its programming model combines two approaches : functional
programming and block diagram composition. You can think of FAUST as a
structured block diagram language with a textual syntax.

FAUST is intended for developers who need to develop efficient C/C++ audio
plugins for existing systems or full standalone audio applications. Thanks to
some specific compilation techniques and powerful optimizations, the C++ code
generated by the Faust compiler is usually very fast. It can generally compete
with (and sometimes outperform) hand-written C code.

Programming with FAUST is somehow like working with electronic circuits and 
signals. A FAUST program is a list of definitions that defines a signal 
processor block-diagram : a piece of code that produces output signals
according to its input signals (and maybe some user interface parameters)

%package doc
Summary:	Documentation for %{name}
Group:		Documentation
License:	GPLv2+
Requires:	%{name} = %{version}-%{release}

%description doc
Faust AUdio STreams is a functional programming language for real-time audio
signal processing. This package provides documentation files to help with 
writing programs with faust.

%package tools
Summary:	3rd party tools written for %{name}
Group:		Development/Languages
License:	GPLv2+
Requires:	%{name} = %{version}-%{release}

%description tools
Faust AUdio STreams is a functional programming language for real-time audio
signal processing. These additional tools are provided by various contributors
to help the building process of applications and plugins with Faust.

%package kate
Summary:	Kate/Kwrite plugin for %{name}
Group:		Applications/Editors
License:	GPLv2+
Requires:	%{name} = %{version}-%{release}
Requires:	kdesdk

%description kate
Faust AUdio STreams is a functional programming language for real-time audio
signal processing. This package provides Faust code syntax highlighting support
for KDE's Kate/Kwrite.

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

# For installation in the correct location and for preserving timestamps:
# The Makefile normally puts noarch files in $prefix/lib. We change
# this to $prefix/share
sed -i	-e 's|/lib|/share|g'			\
	-e 's|/local||g'			\
	-e 's|\(\$(prefix)\)|\$(DESTDIR)\1|g'	\
	-e 's| -r | -pr |'			\
	-e 's| -m | -pm |'			\
	Makefile
sed -i 's|/lib|/share|g' compiler/parser/enrobage.cpp

# Fix optflags
sed -i 's|-O3|%{optflags}|' compiler/Makefile

# Fix permissions
chmod -x compiler/draw/device/SVGDev.* architecture/VST/PkgInfo

# Fix encoding
iconv -f iso8859-1 -t utf8 examples/README -o tmpfile
touch -r examples/README tmpfile
mv -f tmpfile examples/README

%build
# Build the main executable
make %{?_smp_mflags}
# Build API docs
pushd compiler
	doxygen
popd

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
make install DESTDIR=%{buildroot}

# Sort out the documentation
mv documentation/faust-quick-reference-src/illustrations/ documentation
rm -fr documentation/faust-quick-reference-src

# Install tools
cp -a tools/%{name}2sc-*/%{name}2sc %{buildroot}%{_bindir}
mv tools/%{name}2sc-*/README README.supercollider

cp -a tools/%{name}2appls/%{name}2* %{buildroot}%{_bindir}
mv tools/%{name}2appls/README README.appls

# Install the kate plugin
mkdir -p %{buildroot}%{_datadir}/kde4/apps/katepart/syntax/
cp -a syntax-highlighting/%{name}.xml \
	%{buildroot}%{_datadir}/kde4/apps/katepart/syntax/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING README examples
%{_bindir}/%{name}
%{_datadir}/%{name}/

%files doc
%defattr(-,root,root,-)
%doc documentation/* compiler/doc/*

%files tools
%defattr(-,root,root,-)
%doc tools/README README.supercollider README.appls tools/%{name}2pd-*
%{_bindir}/%{name}2*

%files kate
%defattr(-,root,root,-)
%doc syntax-highlighting/README
%{_datadir}/kde4/apps/katepart/syntax/%{name}.xml

%changelog
* Sat Mar 21 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.9.4-2.b
- Fix the year of the previous changelog entry
- Install the nonbinary files in %%{_datadir}/%%{name}/
- Add Requires: %%{name}=%%{version}-%%{release} to the doc subpackage

* Mon Mar 16 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.9.9.4-1.b
- Initial build


--- NEW FILE import.log ---
faust-0_9_9_4-2_b_fc10:HEAD:faust-0.9.9.4-2.b.fc10.src.rpm:1237752426


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/faust/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	22 Mar 2009 05:27:38 -0000	1.1
+++ .cvsignore	22 Mar 2009 20:07:26 -0000	1.2
@@ -0,0 +1 @@
+faust-0.9.9.4b.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/faust/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Mar 2009 05:27:38 -0000	1.1
+++ sources	22 Mar 2009 20:07:26 -0000	1.2
@@ -0,0 +1 @@
+1b9b955f812e346bbecb171b0f932a86  faust-0.9.9.4b.tar.gz




More information about the fedora-extras-commits mailing list