rpms/tse3/F-10 import.log, NONE, 1.1 tse3-gcc43.patch, NONE, 1.1 tse3-size_t-64bit.patch, NONE, 1.1 tse3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Tue Jan 27 00:57:30 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/tse3/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29674/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log tse3-gcc43.patch tse3-size_t-64bit.patch tse3.spec 
Log Message:
* Sun Jan 25 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3.1-2
- Move the HTML documentation into an HTML subdirectory
- Use INSTALL="install -p"
- Drop the oss support, and the related patch

* Tue Jan 20 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3.1-1
- Initial Fedora build



--- NEW FILE import.log ---
tse3-0_3_1-2_fc10:F-10:tse3-0.3.1-2.fc10.src.rpm:1233017783

tse3-gcc43.patch:

--- NEW FILE tse3-gcc43.patch ---
diff -rupN old/tse3-0.3.1/src/examples/recording/recording.cpp new/tse3-0.3.1/src/examples/recording/recording.cpp
--- old/tse3-0.3.1/src/examples/recording/recording.cpp	2005-07-25 07:22:31.000000000 -0400
+++ new/tse3-0.3.1/src/examples/recording/recording.cpp	2009-01-20 21:29:27.000000000 -0500
@@ -27,6 +27,7 @@
      **************************************************************/
 
 #include <iostream>
+#include <cstdlib>
 
 // Used in step 1
 #include "tse3/Metronome.h"
diff -rupN old/tse3-0.3.1/src/tse3/cmd/Phrase.h new/tse3-0.3.1/src/tse3/cmd/Phrase.h
--- old/tse3-0.3.1/src/tse3/cmd/Phrase.h	2005-07-25 07:22:38.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/cmd/Phrase.h	2009-01-20 21:29:27.000000000 -0500
@@ -29,6 +29,7 @@ namespace TSE3
     class Phrase;
     class Song;
     class Part;
+    class PhraseEdit;
 
     namespace Cmd
     {
diff -rupN old/tse3-0.3.1/src/tse3/MidiFile.cpp new/tse3-0.3.1/src/tse3/MidiFile.cpp
--- old/tse3-0.3.1/src/tse3/MidiFile.cpp	2005-07-25 07:23:00.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/MidiFile.cpp	2009-01-20 21:29:27.000000000 -0500
@@ -32,6 +32,7 @@
 #include <string>
 #include <queue>
 #include <math.h>
+#include <cstring>
 
 using namespace TSE3;
 
diff -rupN old/tse3-0.3.1/src/tse3/plt/OSS.cpp new/tse3-0.3.1/src/tse3/plt/OSS.cpp
--- old/tse3-0.3.1/src/tse3/plt/OSS.cpp	2005-07-25 07:22:56.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/plt/OSS.cpp	2009-01-20 21:29:27.000000000 -0500
@@ -25,6 +25,7 @@
 #include <fcntl.h>
 #include <stdarg.h>
 #include <sys/types.h>
+#include <cstring>
 
 // These #includes are linux specific and I need to do some autoconf
 // magic to work out how to conditionally include them
diff -rupN old/tse3-0.3.1/src/tse3/Serializable.h new/tse3-0.3.1/src/tse3/Serializable.h
--- old/tse3-0.3.1/src/tse3/Serializable.h	2005-07-25 07:23:00.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/Serializable.h	2009-01-20 21:29:27.000000000 -0500
@@ -20,6 +20,7 @@
 #include <iosfwd>
 #include <iomanip>
 #include <cstddef>
+#include <iostream>
 
 namespace TSE3
 {
diff -rupN old/tse3-0.3.1/src/tse3/TSE2MDL.cpp new/tse3-0.3.1/src/tse3/TSE2MDL.cpp
--- old/tse3-0.3.1/src/tse3/TSE2MDL.cpp	2005-07-25 07:23:00.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/TSE2MDL.cpp	2009-01-20 21:29:27.000000000 -0500
@@ -38,6 +38,7 @@
 #include "tse3/Progress.h"
 
 #include <fstream>
+#include <cstring>
 
 using namespace TSE3;
 
diff -rupN old/tse3-0.3.1/src/tse3play/tse3play.cpp new/tse3-0.3.1/src/tse3play/tse3play.cpp
--- old/tse3-0.3.1/src/tse3play/tse3play.cpp	2005-08-23 08:58:35.000000000 -0400
+++ new/tse3-0.3.1/src/tse3play/tse3play.cpp	2009-01-20 21:29:27.000000000 -0500
@@ -32,6 +32,7 @@
 #include "tse3/Error.h"
 #include "tse3/Metronome.h"
 #include <fstream>
+#include <cstdlib>
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

tse3-size_t-64bit.patch:

--- NEW FILE tse3-size_t-64bit.patch ---
diff -rupN old/tse3-0.3.1/src/tse3/file/XML.cpp new/tse3-0.3.1/src/tse3/file/XML.cpp
--- old/tse3-0.3.1/src/tse3/file/XML.cpp	2005-08-23 08:32:53.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/file/XML.cpp	2009-01-20 21:28:22.000000000 -0500
@@ -117,6 +117,13 @@ void TSE3::File::XmlFileWriter::element(
 }
 
 
+void TSE3::File::XmlFileWriter::element(const std::string &name, unsigned long value)
+{
+    indent(out);
+    out << "<" << name << " value=\"" << value << "\"/>\n";
+}
+
+
 void TSE3::File::XmlFileWriter::element(const std::string &name, bool value)
 {
     indent(out);
diff -rupN old/tse3-0.3.1/src/tse3/file/XML.h new/tse3-0.3.1/src/tse3/file/XML.h
--- old/tse3-0.3.1/src/tse3/file/XML.h	2005-08-23 08:37:53.000000000 -0400
+++ new/tse3-0.3.1/src/tse3/file/XML.h	2009-01-20 21:28:22.000000000 -0500
@@ -154,6 +154,7 @@ namespace TSE3
                 void element(const std::string &name, const char        *value);
                 void element(const std::string &name, int                value);
                 void element(const std::string &name, unsigned int       value);
+                void element(const std::string &name, unsigned long      value);
                 void element(const std::string &name, bool               value);
 
                 void comment(const std::string &comment);


--- NEW FILE tse3.spec ---
Name:           tse3
Version:        0.3.1
Release:        2%{?dist}
Summary:        MIDI Sequencer Engine
Group:          System Environment/Libraries
License:        GPL+
URL:            http://tse3.sourceforge.net/
Source:         http://downloads.sourceforge.net/tse3/%{name}-%{version}.tar.gz
# patch for archs where size_t != unsigned int
# Fixes tse3 on amd64 systems, possibly others.
# Adapted from ALT Linux
#Patch0:         tse3-0.2.7-size_t-64bit.patch
Patch0:         tse3-size_t-64bit.patch
# This one is to fix compilation issues with gcc 4.3
Patch1:         tse3-gcc43.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  alsa-lib-devel

%description
TSE3 is a powerful open source sequencer engine written in C++. It is a 
'sequencer engine' because it provides the actual driving force elements of a
sequencer but provides no form of user interface. Sequencer applications or 
multimedia presentation packages will incorporate the TSE3 libraries to 
provide a user with MIDI sequencing facilities.

%package devel
Group:          System Environment/Libraries
Summary:        Development packages for the TSE3 MIDI Sequencer Library
Requires:       %{name} == %{version}-%{release}

%description devel
TSE3 is a powerful open source sequencer engine written in C++. It is a 
'sequencer engine' because it provides the actual driving force elements of a
sequencer but provides no form of user interface. Sequencer applications or 
multimedia presentation packages will incorporate the TSE3 libraries to 
provide a user with MIDI sequencing facilities.

This package holds the development documentation, examples and header files 
for TSE3.

%prep
%setup -q
%patch0 -p2 -b .64bit
%patch1 -p2 -b .gcc43

# Fix strange permissions issues
find . -name "*.cpp" -executable -exec chmod 644 {} \;
find . -name "*.h" -executable -exec chmod 644 {} \;

# Fix encoding issues
for i in demos/Demo.tse3 doc/History; do
    iconv -o $i.iso88591 -f iso88591 -t utf8 $i
    touch -r $i $i.iso88591
    mv -f $i.iso88591 $i
done


%build
# OSS is being deprecated
%configure --with-alsa --with-mutex --with-doc-install --without-oss
# Parallel make not supported
make

%install
make install DESTDIR=%{buildroot} INSTALL="install -p" \
     docsdir=%{_docdir}/%{name}-devel-%{version}/HTML

# Sort out the development documentation. We don't want everything cluttered.

# These files belong to the devel documentation contentwise:
install -pm 0644 ChangeLog NEWS README THANKS TODO \
        %{buildroot}%{_docdir}/%{name}-devel-%{version}/

# Create a demos subdir and install all available demos in there:
install -d -m 0755 %{buildroot}%{_docdir}/%{name}-devel-%{version}/demos/
mv %{buildroot}%{_docdir}/%{name}-devel-%{version}/HTML/*.tse* \
    %{buildroot}%{_docdir}/%{name}-devel-%{version}/demos/
install -pm 0644 demos/*.ins demos/*.mid demos/*.tse* \
    %{buildroot}%{_docdir}/%{name}-devel-%{version}/demos/

# Provide the example source files in devel documentation:
make -C src/examples/ clean
cp -a src/examples/ %{buildroot}%{_docdir}/%{name}-devel-%{version}/

# Remove unneeded files:
rm -rf %{buildroot}%{_docdir}/%{name}-devel-%{version}/*/.deps \
       %{buildroot}%{_docdir}/%{name}-devel-%{version}/*/*/.deps

# Remove the library with the non-standard filename (this is a carbon copy
# of lib%{name}.so.x so we are not losing anything) and the .la file.
rm -rf %{buildroot}/%{_libdir}/lib%{name}-%{version}.so \
       %{buildroot}/%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING 
%{_bindir}/*
%{_libdir}/libtse3.so.*
%{_mandir}/man1/*


%files devel
%defattr(-,root,root,-)
%doc %{_docdir}/%{name}-devel-%{version}
%{_includedir}/*
%{_mandir}/man3/*
%{_libdir}/libtse3.so

%changelog
* Sun Jan 25 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3.1-2
- Move the HTML documentation into an HTML subdirectory
- Use INSTALL="install -p"
- Drop the oss support, and the related patch

* Tue Jan 20 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.3.1-1
- Initial Fedora build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tse3/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Jan 2009 22:20:46 -0000	1.1
+++ .cvsignore	27 Jan 2009 00:57:00 -0000	1.2
@@ -0,0 +1 @@
+tse3-0.3.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tse3/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Jan 2009 22:20:46 -0000	1.1
+++ sources	27 Jan 2009 00:57:00 -0000	1.2
@@ -0,0 +1 @@
+3b7e35505160e2d761e5b43abb636f3c  tse3-0.3.1.tar.gz




More information about the fedora-extras-commits mailing list