[Fedora-music-list] amSynth-1.3.1

Martin Tarenskeen m.tarenskeen at zonnet.nl
Sun Aug 12 11:44:54 UTC 2012



On Sun, 12 Aug 2012, Brendan Jones wrote:

>> I have downloaded the sources for amSynth-1.3.1, succesfully compiled,
>> and running on my Fedora 17 system. I especially like the fact that I
>> can run it both as standalone and dssi-plugin, including the new GUI.
>>
>> I only needed to apply one little patch to compile succesfully:

> If someone wants to apply the patch and re-package into Fedora there is 
> an SRPM to use as a starting point here:
>
> http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12/SRPMS/amsynth-1.2.2-1.fc12.ccrma.src.rpm

I am having no problem modifying the specfile and locally building and 
installing my own working rpm package, but what's the easiest way to let 
others enjoy it? (PlanetCCRMA or Fedora)

Specfile and patch attached to this message.

-- 

MT
-------------- next part --------------
%define	desktop_vendor planetccrma

Summary: Software Synthesizer
Name: amsynth
Version: 1.3.1
Release: 0%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://amsynthe.sourceforge.net/amSynth
Source0: amSynth-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Fernando Lopez-Lezcano
Vendor: Planet CCRMA
Distribution: Planet CCRMA
BuildArch: i686
BuildRequires: alsa-lib-devel gtkmm24-devel desktop-file-utils
BuildRequires: jack-audio-connection-kit-devel libsndfile-devel
BuildRequires: dssi-devel
Patch: %{name}-%{version}.patch

%description
amSynth is a software synthesizer, taking inspiration from the
original synths and latest digital ones, while keeping an intuitive
interface.

%prep
%setup -q -n amSynth-%{version}
%patch -p1

%build
%configure
%{__make} %{_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install

# desktop file categories
BASE="X-PlanetCCRMA X-Fedora Application AudioVideo"
XTRA="X-Synthesis X-MIDI X-Jack"
%{__mkdir} -p %{buildroot}%{_datadir}/applications

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_bindir}/amSynth
%{_datadir}/amSynth
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/amsynth.png
%{_libdir}/dssi

%changelog
* Sun Aug  8 2012 Martin Tarenskeen <m.tarenskeen at zonnet.nl> 1.3.1-1
- updated to 1.3.1
- removed old patches (now fixed upstream)
- small patch to include unistd.h in Config.cc
- dssi version included

* Tue Jan  2 2007 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.2.0-1
- updated to 1.2.0, fixed install target for skeleton files (they
  install in /usr/share instead of /usr/share/amSynth)

* Fri Nov 24 2006 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.1.0-0.4.cvs
- spec file tweaks, use separate desktop file

* Thu Aug 24 2006 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.1.0-0.3.cvs
- wrong group (typo: Application instead of Applications, thanks to jos
  for the tip)

* Fri Jul 14 2006 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.1.0-0.2.cvs
- added explicit gtkmm24 requires for gtkmm24, keeping the previous version
  allows amsynth to install but it does not run

* Mon Jun 19 2006 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.1.0-0.2.cvs
- added Planet CCRMA categories to desktop file

* Wed Jan 25 2006 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.1.0-0.1.cvs
- updated to 1.1.0, uses gtkmm2
- needs a cvs snapshot and a patch for the gtkmm include and signal.h include

* Fri Feb 18 2005 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0.0-3
- do not install main executable suid root

* Fri Dec 24 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0.0-2
- use rpm optimization flags

* Mon Dec 20 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 
- spec file cleanup

* Sat May  8 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 
- added proper buildrequires

* Tue Mar  2 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0.0-1
- bumped epoch to 1 to transition from 1.0rc4 to 1.0.0 (darn...)

* Sun Feb 29 2004 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0.0-1
- updated to 1.0.0

* Wed Nov 12 2003 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0rc4-1
- added release tags, spec file tweaks
- added patch1 with defines for using old alsa API

* Sat Jul 26 2003 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0rc4-1
- updated t0 1.0rc4

* Wed Apr  2 2003 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0rc2-2
- rebuild for jack 0.66.3, added explicit requires for it

* Mon Jan 27 2003 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0rc2-1
- added patch to make it compile on 7.3

* Sun Jan 26 2003 Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> 1.0rc2-1
- Initial build.
-------------- next part --------------
diff -ur amSynth-1.3.1.orig/src/Config.cc amSynth-1.3.1/src/Config.cc
--- amSynth-1.3.1.orig/src/Config.cc	2012-08-11 16:32:24.019592715 +0200
+++ amSynth-1.3.1/src/Config.cc	2012-08-11 16:37:15.608128292 +0200
@@ -8,6 +8,7 @@
 #include <iostream>
 #include <cstdlib>
 #include <sstream>
+#include <unistd.h>
 
 using namespace std;
 


More information about the music mailing list