[gx_head] Initial import (#703698)

Brendan Jones bsjones at fedoraproject.org
Mon Jun 6 21:14:24 UTC 2011


commit ca2328d36b7d2af408490c8a694d5d9e1cf8d2d0
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Tue Jun 7 07:09:11 2011 +1000

    Initial import (#703698)

 .gitignore                |    1 +
 gx_head-fsf-address.patch |   22 ++++++++++
 gx_head.spec              |  102 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 4 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..348fd8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gx_head-0.14.0.tar.bz2
diff --git a/gx_head-fsf-address.patch b/gx_head-fsf-address.patch
new file mode 100644
index 0000000..2989594
--- /dev/null
+++ b/gx_head-fsf-address.patch
@@ -0,0 +1,22 @@
+diff -Nurp gx_head-0.14.0.orig/COPYING gx_head-0.14.0/COPYING
+--- gx_head-0.14.0.orig/COPYING	2008-11-22 22:23:25.000000000 +1000
++++ gx_head-0.14.0/COPYING	2011-06-06 18:21:33.000000000 +1000
+@@ -13,7 +13,8 @@
+ 
+     You should have received a copy of the GNU General Public License
+     along with this program; if not, write to the Free Software
+-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
++    USA.
+ 
+ ----------------------------------------------------------------------------
+ 
+@@ -21,7 +22,7 @@
+ 		       Version 2, June 1991
+ 
+  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+-                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++                  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+  Everyone is permitted to copy and distribute verbatim copies
+  of this license document, but changing it is not allowed.
+ 
diff --git a/gx_head.spec b/gx_head.spec
new file mode 100644
index 0000000..1cb1fe5
--- /dev/null
+++ b/gx_head.spec
@@ -0,0 +1,102 @@
+Name:           gx_head
+Version:        0.14.0
+Release:        3%{?dist}
+Summary:        Mono tube amplifier to JACK
+Group:          Applications/Multimedia
+License:        GPLv2+
+URL:            http://guitarix.sourceforge.net/
+Source0:        http://sourceforge.net/projects/guitarix/files/%{name}/%{name}-%{version}.tar.bz2
+# correct FSF address - submitted upstream
+Patch0:         %{name}-fsf-address.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  boost-devel
+BuildRequires:  gettext
+BuildRequires:  intltool
+BuildRequires:  desktop-file-utils
+BuildRequires:  faust
+BuildRequires:  fftw-devel
+BuildRequires:  gtk2-devel
+BuildRequires:  gtkmm24-devel
+BuildRequires:  jack-audio-connection-kit-devel
+BuildRequires:  libsndfile-devel
+BuildRequires:  zita-convolver-devel
+BuildRequires:  zita-resampler-devel >= 0.1.1-3
+
+Requires:       jack_capture
+Requires:       jconv
+Requires:       qjackctl
+Requires:       vorbis-tools
+
+%description
+gx_head is a simple guitar mono tube amplifier simulation based on the 
+work done in the Guitarix project.
+gx_head provides different tube models and tone-stack models, so you can
+simply adjust the amp-model to your needs. It also comes with a number 
+of built in effects (distortion, crybaby,autowah, phaser, flanger, echo,
+delay. All UI controllers can be connected over jack midi via MIDI learn 
+with your external MIDI controllers.
+
+%prep
+%setup -q
+%patch0 -p1
+
+# The build system does not use these bundled libraries by default. But
+# just to make sure:
+rm -fr src/zita-convolver src/zita-resampler
+
+# remove O3 optimizations
+sed -s 's|-O3||' wscript
+
+# Fix encoding issues
+for file in changelog README COPYING README README.developers; do
+   sed 's|\r||' $file > $file.tmp
+   iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
+   touch -r $file $file.tmp2
+   mv -f $file.tmp2 $file
+done
+
+%build
+./waf -vv configure --prefix=%{_prefix} --noincluderesampler --noincludeconvolver \
+      --cxxflags="-std=c++0x -fomit-frame-pointer -ftree-loop-linear         \
+      -ffinite-math-only -fno-math-errno -fno-signed-zeros -fstrength-reduce \
+%ifarch %ix86 x86_64
+      -msse                                                                  
+%endif
+      %{optflags}"                                                          
+./waf -vv build %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+./waf -vv install --destdir="%{buildroot}"
+#fix permissions
+chmod 644 %{buildroot}%{_datadir}/%{name}/sounds/*
+
+%find_lang %{name}
+
+desktop-file-install                                    \
+--add-category="X-DigitalProcessing"                    \
+--dir=%{buildroot}%{_datadir}/applications              \
+%{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+%clean
+rm -rf %{buildroot}
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc changelog COPYING README README.developers
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_datadir}/pixmaps/*
+%{_datadir}/applications/%{name}.desktop
+
+%changelog
+* Mon Jun 06 2011 Brendan Jones <brendan.jones.it at gmail.com> - 0.14.0-3
+- Moved source edits into a Patch0
+
+* Wed Jun 01 2011 Brendan Jones <brendan.jones.it at gmail.com> - 0.14.0-2
+- Corrected locales, description and file permissions
+
+* Tue May 10 2011 Brendan Jones <brendan.jones.it at gmail.com> - 0.14.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..1d3eb8a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+adca00e776d02da4ddd6754df6edad1d  gx_head-0.14.0.tar.bz2


More information about the scm-commits mailing list