[proaudio] [1719] add media-sound/jacker with some patches for Gentoo |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1719
Author: gavlee
Date: 2010-08-09 14:16:59 +0200 (Mon, 09 Aug 2010)
Log Message:
-----------
add media-sound/jacker with some patches for Gentoo
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/jacker/
trunk/overlays/proaudio/media-sound/jacker/ChangeLog
trunk/overlays/proaudio/media-sound/jacker/Manifest
trunk/overlays/proaudio/media-sound/jacker/files/
trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-gcc-missing-include.patch
trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-glade-file-location.patch
trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-sconstruct.patch
trunk/overlays/proaudio/media-sound/jacker/files/jacker.desktop
trunk/overlays/proaudio/media-sound/jacker/jacker-2010.5.4.ebuild
trunk/overlays/proaudio/media-sound/jacker/metadata.xml
Added: trunk/overlays/proaudio/media-sound/jacker/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/ChangeLog (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/ChangeLog 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,14 @@
+# ChangeLog for media-sound/jacker
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*jacker-2010.5.4 (09 Aug 2010)
+
+ 09 Aug 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+ +jacker-2010.5.4.ebuild, +files/jacker-2010.5.4-gcc-missing-include.patch,
+ +files/jacker-2010.5.4-glade-file-location.patch,
+ +files/jacker-2010.5.4-sconstruct.patch, +files/jacker.desktop,
+ +metadata.xml:
+ Add jacker to overlay. Included patches for missing includes for gcc4.4,
+ glade file location and SConstruct for obeying CXX and CXXFLAGS.
+
Added: trunk/overlays/proaudio/media-sound/jacker/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/Manifest (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/Manifest 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,8 @@
+AUX jacker-2010.5.4-gcc-missing-include.patch 244 RMD160 8d331f26ec580b09827f7cbf6aee15bee3ffb508 SHA1 077cd12ace1c507509a020e3dd941cbb7e96a699 SHA256 c328d89554206b0e09d93b5554d72d0d27cead4821ff7d74e01ec95951c18535
+AUX jacker-2010.5.4-glade-file-location.patch 553 RMD160 0290eff77e0be89bae8c9424c58fdc2eb36232f7 SHA1 a4c3e87f6d8f04642b64adf582ca011e387fd158 SHA256 15e8081a7dc43f8d72b0102dc9f361373ce9feb03f59e9a15d28d710aad6e62c
+AUX jacker-2010.5.4-sconstruct.patch 1403 RMD160 38cdcaa44f353f48ada042e4409baf062c3d87f6 SHA1 39a5660f2fb1a6250483ac194c5dd6cde9ca36a5 SHA256 63c1215b98f3d6d6d57fdc783b974005bce7ce4953a0d9236580a904f43c8b40
+AUX jacker.desktop 380 RMD160 88b0ea4ea8e18dc5f414955eed101931658c458f SHA1 d9747c5bacc1fe3bd81dae3473b1191ebaddcba3 SHA256 a07a44577f6bbe15eba82c2b22ed8ae5a04040a8684e07c244ce63603234ff15
+DIST jacker-2010.5.4.tar.bz2 175546 RMD160 de9dd64588e9fd9c45f93daf48ac6a3c0b8bad1f SHA1 6a0cc112cc9f5726a435209faec7b55f17af341a SHA256 abf5042b0bce9c078363e43fb591c7270103e13d39b32fec2eb082c9fa74e38c
+EBUILD jacker-2010.5.4.ebuild 1426 RMD160 8adf3d974b5d07f3f1ece127fc88a0d310d88632 SHA1 e11370c8368a85b0654c6a62c4fd4fe9e375d933 SHA256 7e39fe3e61e53b8a488119a426abea96c8d00455be730f74fcd0252c6a503e3b
+MISC ChangeLog 562 RMD160 01511bbb74b2e3e8b6881222650ba7e1f7bac352 SHA1 494b1f9c5b659500bba4e86698b349dab6106669 SHA256 970a78fc2b39635c28dbe0ba78b2c34239f5750a89ed2088bec6239156b5f6b4
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-gcc-missing-include.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-gcc-missing-include.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-gcc-missing-include.patch 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,10 @@
+--- jacker.old/songview.cpp 2010-04-17 02:00:03.000000000 +0100
++++ jacker/songview.cpp 2010-04-17 02:02:42.000000000 +0100
+@@ -4,6 +4,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <algorithm>
++#include <cstring>
+
+ namespace Jacker {
+
Added: trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-glade-file-location.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-glade-file-location.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-glade-file-location.patch 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,18 @@
+--- jacker-2010.5.4/main.cpp.old 2010-08-06 23:29:55.000000000 +0100
++++ jacker-2010.5.4/main.cpp 2010-08-07 00:05:14.000000000 +0100
+@@ -644,7 +644,7 @@
+ void run() {
+ init_player();
+
+- builder = Gtk::Builder::create_from_file("jacker.glade");
++ builder = Gtk::Builder::create_from_file("/usr/share/jacker/jacker.glade");
+ assert(builder);
+
+ builder->get_widget("main", window);
+@@ -754,4 +754,4 @@
+ ) {
+ return main(__argc, __argv);
+ }
+-#endif
+\ No newline at end of file
++#endif
Added: trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-sconstruct.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-sconstruct.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/files/jacker-2010.5.4-sconstruct.patch 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,49 @@
+--- jacker-2010.5.4/SConstruct.old 2010-08-06 23:26:45.000000000 +0100
++++ jacker-2010.5.4/SConstruct 2010-08-09 01:05:31.000000000 +0100
+@@ -1,6 +1,7 @@
+
+ import os
+ import sys
++import SCons.Util
+
+ win32 = sys.platform == 'win32'
+
+@@ -103,15 +104,15 @@
+ env = Environment(
+ ENV = os.environ,
+ CXXFLAGS = [
+- "-g",
+- "-DDEBUG",
++# "-g",
++# "-DDEBUG",
+ "-fno-strict-aliasing",
+- "-fwrapv",
++# "-fwrapv",
+ "-Wall",
+ "-Wno-deprecated",
+- '-march=core2', #x86_64: we need to take this out
+- '-mfpmath=sse',
+- '-msse',
++# '-march=core2', #x86_64: we need to take this out
++# '-mfpmath=sse',
++# '-msse',
+ '-ffast-math',
+ ],
+ CPPPATH = [
+@@ -121,6 +122,16 @@
+ 'stdc++',
+ ],
+ )
++
++ if os.environ.has_key('CC'):
++ env['CC'] = os.environ['CC']
++ if os.environ.has_key('CXX'):
++ env['CXX'] = os.environ['CXX']
++ if os.environ.has_key('CXXFLAGS'):
++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
++ if os.environ.has_key('LDFLAGS'):
++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
++
+ #env.ParseConfig("pkg-config sdl --cflags --libs")
+ env.ParseConfig("pkg-config jack --cflags --libs")
+
Added: trunk/overlays/proaudio/media-sound/jacker/files/jacker.desktop
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/files/jacker.desktop (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/files/jacker.desktop 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Categories=AudioVideo;Audio;Sequencer;
+Comment[en_GB]=A MIDI tracker for JACK
+Comment=A MIDI tracker for JACK
+Exec=jacker
+GenericName[en_GB]=
+GenericName=
+Icon=jacker
+MimeType=
+Name[en_GB]=jacker
+Name=jacker
+Path=
+StartupNotify=true
+Terminal=false
+TerminalOptions=
+Type=Application
+X-DBUS-ServiceName=
+X-DBUS-StartupType=
+X-KDE-SubstituteUID=false
+X-KDE-Username=
Property changes on: trunk/overlays/proaudio/media-sound/jacker/files/jacker.desktop
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/overlays/proaudio/media-sound/jacker/jacker-2010.5.4.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/jacker-2010.5.4.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/jacker-2010.5.4.ebuild 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A MIDI tracker for the Jack Audio Connection Kit"
+HOMEPAGE="http://www.bitbucket.org/paniq/jacker"
+SRC_URI="http://www.bitbucket.org/paniq/${PN}/downloads/${P}.tar.bz2"
+
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=dev-cpp/gtkmm-2.18.2:2.4
+ >=media-sound/jack-audio-connection-kit-0.118.0"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+src_compile() {
+ epatch "${FILESDIR}/${P}-gcc-missing-include.patch"
+ # hack to find the glade file in /usr/share/jacker instead of the location
+ # of the binary. upstream intended running in build dir where files exist
+ # and there is no install script
+ epatch "${FILESDIR}/${P}-glade-file-location.patch"
+ # obey CXX and toolchain flags
+ epatch "${FILESDIR}/${P}-sconstruct.patch"
+
+ tc-export CC CXX
+ scons || die "compilation failed"
+}
+
+src_install() {
+ # the scons script doesn't have an "install", hence the glade file patch
+ # and this stuff...
+ # just a binary in /usr/bin, glade file and image in /usr/share/jacker
+ dobin jacker
+ dodoc cheatsheet.txt commands.txt todo.txt
+
+ # a desktop entry for convenience
+ doicon jacker.png
+ domenu "${FILESDIR}/${PN}.desktop"
+
+ # put the glade file and image in suitable place
+ insinto /usr/share/jacker
+ doins jacker.glade
+ doins jacker.png
+}
Added: trunk/overlays/proaudio/media-sound/jacker/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/jacker/metadata.xml (rev 0)
+++ trunk/overlays/proaudio/media-sound/jacker/metadata.xml 2010-08-09 12:16:59 UTC (rev 1719)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>proaudio@xxxxxxxxxxxxx</email>
+ <name>pro-audio overlay team</name>
+ </maintainer>
+</pkgmetadata>