diff --git a/hardware/firewire/libffado/actions.py b/hardware/firewire/libffado/actions.py new file mode 100644 index 0000000000..17b19f1e39 --- /dev/null +++ b/hardware/firewire/libffado/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import scons +from pisi.actionsapi import get + +shelltools.export("PYTHONDONTWRITEBYTECODE", "1") + +def build(): + scons.make('PREFIX=/usr \ + COMPILE_FLAGS="%s %s -lpthread" \ + BUILD_TESTS=0' % (get.CXXFLAGS(), get.LDFLAGS())) + +def install(): + scons.install("install WILL_DEAL_WITH_XDG_MYSELF=1 DESTDIR=%s" % get.installDIR()) + + pisitools.dodir("/usr/share/applications") + pisitools.dosym("/usr/share/libffado/icons/hi64-apps-ffado.png", "/usr/share/pixmaps/ffado-mixer.png") + + pisitools.domove("/usr/man/", "/usr/share") + + pisitools.dodoc("AUTHORS", "ChangeLog", "LICENSE*", "TODO", "README") diff --git a/hardware/firewire/libffado/files/60-ffado.rules b/hardware/firewire/libffado/files/60-ffado.rules new file mode 100644 index 0000000000..25bce92423 --- /dev/null +++ b/hardware/firewire/libffado/files/60-ffado.rules @@ -0,0 +1,68 @@ +SUBSYSTEM!="firewire", GOTO="ffado_end" + +# TC GROUP A/S +ATTR{vendor}=="0x000166", GROUP="audio", ENV{ID_FFADO}="1" +# Mark of the Unicorn, Inc. (aka MOTU) +ATTR{vendor}=="0x0001f2", GROUP="audio", ENV{ID_FFADO}="1" +# Apogee Electronics Corp. +ATTR{vendor}=="0x0003db", GROUP="audio", ENV{ID_FFADO}="1" +# Alesis Corporation +ATTR{vendor}=="0x000595", GROUP="audio", ENV{ID_FFADO}="1" +# Bridgeco Co AG +ATTR{vendor}=="0x0007f5", GROUP="audio", ENV{ID_FFADO}="1" +# Presonus Corporation +ATTR{vendor}=="0x000a92", GROUP="audio", ENV{ID_FFADO}="1" +# TerraTec Electronic GmbH +ATTR{vendor}=="0x000aac", GROUP="audio", ENV{ID_FFADO}="1" +# M-Audio +ATTR{vendor}=="0x000d6c", GROUP="audio", ENV{ID_FFADO}="1" +# Ego Systems Inc. +ATTR{vendor}=="0x000f1b", GROUP="audio", ENV{ID_FFADO}="1" +# Loud Technologies Inc. +ATTR{vendor}=="0x000ff2", GROUP="audio", ENV{ID_FFADO}="1" +# Stanton Magnetics,inc. +ATTR{vendor}=="0x001260", GROUP="audio", ENV{ID_FFADO}="1" +# Focusrite Audio Engineering Limited +ATTR{vendor}=="0x00130e", GROUP="audio", ENV{ID_FFADO}="1" +# Echo Digital Audio Corporation +ATTR{vendor}=="0x001486", GROUP="audio", ENV{ID_FFADO}="1" +# Phonic Corporation +ATTR{vendor}=="0x001496", GROUP="audio", ENV{ID_FFADO}="1" +# BEHRINGER Spezielle Studiotechnik GmbH +ATTR{vendor}=="0x001564", GROUP="audio", ENV{ID_FFADO}="1" +# FlexRadio Systems +ATTR{vendor}=="0x001c2d", GROUP="audio", ENV{ID_FFADO}="1" +# Weiss Engineering Ltd. +ATTR{vendor}=="0x001c6a", GROUP="audio", ENV{ID_FFADO}="1" +# ROLAND DG CORPORATION +ATTR{vendor}=="0x0040ab", GROUP="audio", ENV{ID_FFADO}="1" +# DnR +ATTR{vendor}=="0x000f64", GROUP="audio", ENV{ID_FFADO}="1" +# Avid (for Mbox 3 Pro) +ATTR{vendor}=="0x00a07e", GROUP="audio", ENV{ID_FFAOD}="1" +# Yamaha (for GO4x devices) +ATTR{vendor}=="0x00a0de", GROUP="audio", ENV{ID_FFADO}="1" +# Lexicon (from Onix-FW810S) +ATTR{vendor}=="0x000fd7", GROUP="audio", ENV{ID_FFADO}="1" +# Allen and Heath +ATTR{vendor}=="0x0004c4", GROUP="audio", ENV{ID_FFADO}="1" +# Midas +ATTR{vendor}=="0x10c73f", GROUP="audio", ENV{ID_FFADO}="1" + +# The devices below are by vendors who make other firewire devices in +# addition to their audio interfaces. They need more specific rules to +# ensure only audio interfaces are covered here. + +# Tascam, a subsiduary of TEAC (the OUI is TEAC's) +ATTR{vendor}=="0x00022e", ATTR{model}=="0x010067", GROUP="audio", ENV{ID_FFADO}="1" + +# The devices below abuse another Vendor's ID, and therefore we need more advanced rules for those. + +# CME, Matrix K FW +ATTR{vendor}=="0x00000a", ATTR{model}=="0x030000", ATTR{units}=="*0x00a02d:0x010001*", GROUP="audio", ENV{ID_FFADO}="1" +# Mackie, Onyx Firewire +ATTR{vendor}=="0x00000f", ATTR{model}=="0x01006?", ATTR{units}=="*0x00a02d:0x010001*", GROUP="audio", ENV{ID_FFADO}="1" +# RME +ATTR{vendor}=="0x000a35", ATTR{units}=="0x000a35:0x00000[1234]", GROUP="audio", ENV{ID_FFADO}="1" + +LABEL="ffado_end" diff --git a/hardware/firewire/libffado/files/flags.patch b/hardware/firewire/libffado/files/flags.patch new file mode 100644 index 0000000000..9dc6f3a259 --- /dev/null +++ b/hardware/firewire/libffado/files/flags.patch @@ -0,0 +1,35 @@ +Index: libffado-2.1.0/SConstruct +=================================================================== +--- libffado-2.1.0.orig/SConstruct ++++ libffado-2.1.0/SConstruct +@@ -84,6 +84,30 @@ buildenv=os.environ + + env = Environment( tools=['default','scanreplace','pyuic','pyuic4','dbus','doxygen','pkgconfig'], toolpath=['admin'], ENV = buildenv, options=opts ) + ++ ++if os.environ.has_key('CC'): ++ env['CC'] = os.environ['CC'] ++ ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] ++ ++# grab OS CFLAGS / CCFLAGS ++if os.environ.has_key('CFLAGS'): ++ env['OS_CFLAGS'] = os.environ['CFLAGS'] ++ env['CFLAGS'] = os.environ['CFLAGS'] ++ ++if os.environ.has_key('CCFLAGS'): ++ env['OS_CCFLAGS'] = os.environ['CCFLAGS'] ++ env['CCFLAGS'] = os.environ['CCFLAGS'] ++ ++if os.environ.has_key('CXXFLAGS'): ++ env['OS_CCFLAGS'] = os.environ['CXXFLAGS'] ++ env['CXXFLAGS'] = os.environ['CXXFLAGS'] ++ ++if os.environ.has_key('CPPFLAGS'): ++ env['OS_CPPFLAGS'] = os.environ['CPPFLAGS'] ++ env['CPPFLAGS'] = os.environ['CPPFLAGS'] ++ + if env.has_key('COMPILE_FLAGS') and len(env['COMPILE_FLAGS']) > 0: + print ''' + * Usage of additional flags is not supported by the ffado-devs. diff --git a/hardware/firewire/libffado/files/generate-udev-rules.py b/hardware/firewire/libffado/files/generate-udev-rules.py new file mode 100644 index 0000000000..02eb09e5c1 --- /dev/null +++ b/hardware/firewire/libffado/files/generate-udev-rules.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# Licensed and redistributable under GPLv3 +# Written by David Henningsson +# (C) 2010 Canonical Ltd + +''' This file takes a "configuration" file as input and gives an + udev rule file as output, meant for usage with the new (juju) + firewire stack. + Suggested name of the output file is 60-ffado.rules + (after default.rules, before acl.rules) +''' + +import sys +import re + +out_header = "\ +# Do not edit this file, it will be automatically overwritten on upgrade.\n\ +# This list has been auto-generated from the \"configuration\" file in top of libffado's source tree.\n\ +SUBSYSTEM!=\"firewire\", GOTO=\"ffado_end\"\n" + +out_footer = 'LABEL="ffado_end"\n' +out_row = 'ATTRS{vendor}=="%s", ATTRS{model}=="%s", GROUP="audio", ENV{ID_FFADO}="1" # %s, %s' + +i_pattern = re.compile("(\w+)\s*=\s*((\w+)|(\"(.*?)\"))\s*;"); +end_pattern = re.compile("[^#]*\}"); +start_pattern = re.compile("[^#]*\{"); + +print out_header +for line in sys.stdin.readlines(): + if start_pattern.search(line): + d = dict() + continue + if end_pattern.search(line): + # format vendor and model according to sysfs + vendorid = "0x%06x" % int(d['vendorid'],0) + modelid = "0x%06x" % int(d['modelid'],0) + print out_row % (vendorid, modelid, d['vendorname'], d['modelname']) + continue + m = i_pattern.search(line) + if m is not None: + if m.group(3) is None: + d[m.group(1)] = m.group(5) + else: + d[m.group(1)] = m.group(3) + +print out_footer diff --git a/hardware/firewire/libffado/files/libffado-2.1.0-no-jackd-version.patch b/hardware/firewire/libffado/files/libffado-2.1.0-no-jackd-version.patch new file mode 100644 index 0000000000..78b24b323d --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-2.1.0-no-jackd-version.patch @@ -0,0 +1,65 @@ +# AUTHOR: lilrc +# A patch to avoid calling jackd --version from within the build system +# which generates a sandbox violation. Instead use pkgconfig as jack +# will install the necessary pkgconfig files. + +diff -ur libffado-2.1.0.a/SConstruct libffado-2.1.0.b/SConstruct +--- libffado-2.1.0.a/SConstruct 2013-04-01 12:55:08.239992516 +0200 ++++ libffado-2.1.0.b/SConstruct 2013-04-01 13:54:42.019972442 +0200 +@@ -194,16 +194,6 @@ + # restricted to 0-255. + return (int(maj) << 24) | (int(min) << 8) | int(patch) + +-def CheckJackdVer(): +- print 'Checking jackd version...', +- ret = Popen("which jackd >/dev/null 2>&1 && jackd --version | cut -d ' ' -f 3", shell=True, stdout=PIPE).stdout.read()[:-1] +- if (ret == ""): +- print "not installed" +- return -1 +- else: +- print ret +- return VersionInt(ret) +- + if env['SERIALIZE_USE_EXPAT']: + env['SERIALIZE_USE_EXPAT']=1 + else: +@@ -248,24 +238,9 @@ + if not env['SERIALIZE_USE_EXPAT']: + pkgs['libxml++-2.6'] = '2.13.0' + +- # Provide a way for users to compile newer libffado which will work +- # against older jack installations which will not accept the new API +- # version reported at runtime. +- jackd_ver = CheckJackdVer() +- if (jackd_ver != -1): +- # If jackd is available, use the version number reported by it. This +- # means users don't have to have jack development files present on +- # their system for this to work. +- have_jack = (jackd_ver >= VersionInt('0.0.0')) +- good_jack1 = (jackd_ver < VersionInt('1.9.0')) and (jackd_ver >= VersionInt('0.122.0')) +- good_jack2 = (jackd_ver >= VersionInt('1.9.9')) +- else: +- # Jackd is not runnable. Attempt to identify a version from +- # pkgconfig on the off-chance jack details are available from there. +- print "Will retry jack detection using pkg-config" +- have_jack = conf.CheckPKG('jack >= 0.0.0') +- good_jack1 = conf.CheckPKG('jack < 1.9.0') and conf.CheckPKG('jack >= 0.122.0') +- good_jack2 = conf.CheckPKG('jack >= 1.9.9') ++ have_jack = conf.CheckPKG('jack >= 0.0.0') ++ good_jack1 = conf.CheckPKG('jack < 1.9.0') and conf.CheckPKG('jack >= 0.122.0') ++ good_jack2 = conf.CheckPKG('jack >= 1.9.9') + if env['ENABLE_SETBUFFERSIZE_API_VER'] == 'auto': + if not(have_jack): + print """ +diff -ur libffado-2.1.0.a/support/tools/ffado-diag-static libffado-2.1.0.b/support/tools/ffado-diag-static +--- libffado-2.1.0.a/support/tools/ffado-diag-static 2010-05-03 21:37:15.000000000 +0200 ++++ libffado-2.1.0.b/support/tools/ffado-diag-static 2013-04-02 17:45:15.924979761 +0200 +@@ -75,7 +75,7 @@ + print " gcc ............... %s" % get_version_first_line('gcc --version') + print " g++ ............... %s" % get_version_first_line('g++ --version') + print " PyQt4 (by pyuic4) . %s" % get_version_first_line('pyuic4 --version') +- print " jackd ............. %s" % get_version_first_line('jackd --version') ++ print " jackd ............. %s" % get_version_first_line('pkg-config --modversion jack') + print " path ............ %s" % get_command_path('jackd') + print " flags ........... %s" % get_package_flags("jack") + print " libraw1394 ........ %s" % get_package_version("libraw1394") diff --git a/hardware/firewire/libffado/files/libffado-2.2.1-jack-detect.patch b/hardware/firewire/libffado/files/libffado-2.2.1-jack-detect.patch new file mode 100644 index 0000000000..74e41a8b0b --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-2.2.1-jack-detect.patch @@ -0,0 +1,44 @@ +# Patch to change the order of the checks for jack version. See +# http://subversion.ffado.org/ticket/381 for more information. +# Applied upstream. + +Index: SConstruct +=================================================================== +--- SConstruct (revision 2574) ++++ SConstruct (revision 2575) +@@ -250,21 +250,21 @@ + # Provide a way for users to compile newer libffado which will work + # against older jack installations which will not accept the new API + # version reported at runtime. +- jackd_ver = CheckJackdVer() +- if (jackd_ver != -1): +- # If jackd is available, use the version number reported by it. This +- # means users don't have to have jack development files present on +- # their system for this to work. +- have_jack = (jackd_ver >= VersionInt('0.0.0')) +- good_jack1 = (jackd_ver < VersionInt('1.9.0')) and (jackd_ver >= VersionInt('0.121.4')) +- good_jack2 = (jackd_ver >= VersionInt('1.9.9')) ++ have_jack = conf.CheckPKG('jack') ++ if have_jack: ++ good_jack1 = conf.CheckPKG('jack < 1.9.0') and conf.CheckPKG('jack >= 0.121.4') ++ good_jack2 = conf.CheckPKG('jack >= 1.9.9') + else: +- # Jackd is not runnable. Attempt to identify a version from +- # pkgconfig on the off-chance jack details are available from there. +- print "Will retry jack detection using pkg-config" +- have_jack = conf.CheckPKG('jack >= 0.0.0') +- good_jack1 = conf.CheckPKG('jack < 1.9.0') and conf.CheckPKG('jack >= 0.122.0') +- good_jack2 = conf.CheckPKG('jack >= 1.9.9') ++ jackd_ver = CheckJackdVer() ++ if (jackd_ver != -1): ++ # If jackd is unknown to pkg-config but is never-the-less ++ # runnable, use the version number reported by it. This means ++ # users don't have to have jack development files present on ++ # their system for this to work. ++ have_jack = (jackd_ver >= VersionInt('0.0.0')) ++ good_jack1 = (jackd_ver < VersionInt('1.9.0')) and (jackd_ver >= VersionInt('0.121.4')) ++ good_jack2 = (jackd_ver >= VersionInt('1.9.9')) ++ + if env['ENABLE_SETBUFFERSIZE_API_VER'] == 'auto': + if not(have_jack): + print """ diff --git a/hardware/firewire/libffado/files/libffado-2.2.1-mixer.patch b/hardware/firewire/libffado/files/libffado-2.2.1-mixer.patch new file mode 100644 index 0000000000..52458315e5 --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-2.2.1-mixer.patch @@ -0,0 +1,102 @@ +# AUTHOR: Karl Linden (lilrc) +# DESCRIPTION: Patch to remove the automagic dependency on PyQt and friends. +# STATUS: Sent upstream as of 26 March 2015. +# SEE: http://subversion.ffado.org/ticket/391 + +Index: SConstruct +=================================================================== +--- SConstruct (revision 2587) ++++ SConstruct (working copy) +@@ -68,6 +68,7 @@ + this code.""", False ), + BoolVariable( "ENABLE_ALL", "Enable/Disable support for all devices.", False ), + BoolVariable( "SERIALIZE_USE_EXPAT", "Use libexpat for XML serialization.", False ), ++ EnumVariable( "BUILD_MIXER", "Build the ffado-mixer", 'auto', allowed_values=('auto', 'true', 'false'), ignorecase=2), + BoolVariable( "BUILD_TESTS", """\ + Build the tests in their directory. As some contain quite some functionality, + this is on by default. +@@ -379,28 +380,33 @@ + # + + # PyQT checks +-build_mixer = False +-if conf.CheckForApp( 'which pyuic4' ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'PyQt4' ) and conf.CheckForPyModule( 'dbus.mainloop.qt' ): +- env['PYUIC4'] = True +- build_mixer = True ++if env['BUILD_MIXER'] != 'false': ++ if conf.CheckForApp( 'which pyuic4' ) and conf.CheckForPyModule( 'dbus' ) and conf.CheckForPyModule( 'PyQt4' ) and conf.CheckForPyModule( 'dbus.mainloop.qt' ): ++ env['BUILD_MIXER'] = 'true' ++ elif not env.GetOption('clean'): ++ if env['BUILD_MIXER'] == 'auto': ++ env['BUILD_MIXER'] = 'false' ++ print """ ++The prerequisites ('pyuic4' and the python-modules 'dbus' and 'PyQt4', the ++packages could be named like dbus-python and PyQt) to build the mixer were not ++found. Therefore the qt4 mixer will not be installed.""" ++ else: # env['BUILD_MIXER'] == 'true' ++ print """ ++The prerequisites ('pyuic4' and the python-modules 'dbus' and 'PyQt4', the ++packages could be named like dbus-python and PyQt) to build the mixer were not ++found, but BUILD_MIXER was requested.""" ++ Exit( 1 ) + +-if conf.CheckForApp( 'xdg-desktop-menu --help' ): +- env['XDG_TOOLS'] = True +-else: +- print """ +-I couldn't find the program 'xdg-desktop-menu'. Together with xdg-icon-resource +-this is needed to add the fancy entry to your menu. But if the mixer will be +-installed, you can start it by executing "ffado-mixer". +-""" ++env['XDG_TOOLS'] = False ++if env['BUILD_MIXER'] == 'true': ++ if conf.CheckForApp( 'xdg-desktop-menu --help' ) and conf.CheckForApp( 'xdg-icon-resource --help' ): ++ env['XDG_TOOLS'] = True ++ else: ++ print """ ++I couldn't find the 'xdg-desktop-menu' and 'xdg-icon-resource' programs. These ++are needed to add the fancy entry for the mixer to your menu, but you can still ++start it by executing "ffado-mixer".""" + +-if not build_mixer and not env.GetOption('clean'): +- print """ +-I couldn't find all the prerequisites ('pyuic4' and the python-modules 'dbus' +-and 'PyQt4', the packages could be named like dbus-python and PyQt) to build the +-mixer. +-Therefor the qt4 mixer will not get installed. +-""" +- + # + # Optional pkg-config + # +@@ -510,7 +516,7 @@ + env.Alias( "install", env['sharedir'] ) + env.Alias( "install", env['bindir'] ) + env.Alias( "install", env['mandir'] ) +-if build_mixer: ++if env['BUILD_MIXER'] == 'true': + env.Alias( "install", env['pypkgdir'] ) + + # +@@ -909,7 +915,7 @@ + if env.GetOption( "clean" ): + env.Execute( action ) + +- if env.has_key( 'XDG_TOOLS' ) and env.has_key( 'PYUIC4' ): ++ if env['BUILD_MIXER'] == 'true' and env['XDG_TOOLS']: + if not env.GetOption("clean"): + action = "install" + else: +Index: support/mixer-qt4/SConscript +=================================================================== +--- support/mixer-qt4/SConscript (revision 2587) ++++ support/mixer-qt4/SConscript (working copy) +@@ -26,7 +26,7 @@ + + Import( 'env' ) + +-if env.has_key('PYUIC4'): ++if env['BUILD_MIXER'] == 'true': + e = env.Clone() + + def findfiles( arg, dirname, names ): diff --git a/hardware/firewire/libffado/files/libffado-api-doc-only.patch b/hardware/firewire/libffado/files/libffado-api-doc-only.patch new file mode 100644 index 0000000000..0c2564a800 --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-api-doc-only.patch @@ -0,0 +1,26 @@ +diff -rupN libffado.old/doc/reference.doxygen.in libffado/doc/reference.doxygen.in +--- libffado.old/doc/reference.doxygen.in 2009-12-18 13:52:13.000000000 -0500 ++++ libffado/doc/reference.doxygen.in 2010-06-05 21:00:54.000000000 -0400 +@@ -568,9 +568,7 @@ WARN_LOGFILE = + # directories like "/usr/src/myproject". Separate the files or directories + # with spaces. + +-INPUT = $top_srcdir/src \ +- $top_srcdir/doc \ +- $top_srcdir/libffado ++INPUT = $top_srcdir/libffado + + # This tag can be used to specify the character encoding of the source files + # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +diff -rupN libffado.old/SConstruct libffado/SConstruct +--- libffado.old/SConstruct 2010-05-10 15:34:07.000000000 -0400 ++++ libffado/SConstruct 2010-06-05 21:29:43.000000000 -0400 +@@ -583,7 +583,7 @@ if not env.GetOption('clean'): + Default( 'support' ) + if env['BUILD_TESTS']: + Default( 'tests' ) +- ++ Default( 'doc' ) + # + # Deal with the DESTDIR vs. xdg-tools conflict (which is basicely that the + # xdg-tools can't deal with DESTDIR, so the packagers have to deal with this diff --git a/hardware/firewire/libffado/files/libffado-libconfig145.patch b/hardware/firewire/libffado/files/libffado-libconfig145.patch new file mode 100644 index 0000000000..a05e300a1f --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-libconfig145.patch @@ -0,0 +1,12 @@ +--- libffado.old/src/libutil/Configuration.cpp 2010-06-19 14:31:27.000000000 -0400 ++++ libffado/src/libutil/Configuration.cpp 2010-07-14 01:37:57.000000000 -0400 +@@ -333,7 +333,8 @@ Configuration::getValueForDeviceSetting( + libconfig::Setting *s = getDeviceSetting( vendor_id, model_id ); + if(s) { + try { +- return s->lookupValue(setting, ref); ++ long long int refverylong = ref; ++ return s->lookupValue(setting, refverylong); + } catch (...) { + debugOutput(DEBUG_LEVEL_VERBOSE, "Setting %s not found\n", setting.c_str()); + return false; diff --git a/hardware/firewire/libffado/files/libffado-snapshot.sh b/hardware/firewire/libffado/files/libffado-snapshot.sh new file mode 100644 index 0000000000..4152235873 --- /dev/null +++ b/hardware/firewire/libffado/files/libffado-snapshot.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# $1 - revision number to checkout. +: ${1?"You must either provide desired revision number \"X\" to checkout: `basename $0` X + or fetch the latest revision by: `basename $0` HEAD"} + +set -e + +tmp=$(mktemp -d) + +trap cleanup EXIT +cleanup() { + set +e + [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" +} + +unset CDPATH +pwd=$(pwd) +name=libffado +version=2.1.0 + +revision=$1 + +pushd "$tmp" >/dev/null +echo "Fetching SVN revision: $1" +svn export -r$revision http://subversion.ffado.org/ffado/trunk/$name $name-$version |tee $name.stdout +revision=$(cat $name.stdout|grep "Exported revision"|sed 's|[^0-9]*||g') +echo "Fetched SVN revision: $revision" +rm -f $name.stdout + +tar jcf "$pwd"/$name-$version-svn$revision.tar.bz2 $name-$version +echo "Written: $name-$version-svn$revision.tar.bz2" +popd >/dev/null diff --git a/hardware/firewire/libffado/files/pisilinux-ffadomixer.desktop b/hardware/firewire/libffado/files/pisilinux-ffadomixer.desktop new file mode 100644 index 0000000000..61d8cc48ec --- /dev/null +++ b/hardware/firewire/libffado/files/pisilinux-ffadomixer.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Comment=Mixer utility for Firewire audio devices +Comment[tr]=Firewire ses aygıtları için ses karıştırıcı +Exec=ffado-mixer +GenericName=FFADO Mixer utility +GenericName[tr]=FFADO Ses karıştırıcı +Icon=ffado-mixer +Name=FFADO Mixer +Path= +Type=Application +Categories=Mixer;Audio;AudioVideo;HardwareSettings;Qt; diff --git a/hardware/firewire/libffado/pspec.xml b/hardware/firewire/libffado/pspec.xml new file mode 100644 index 0000000000..48f6cda097 --- /dev/null +++ b/hardware/firewire/libffado/pspec.xml @@ -0,0 +1,127 @@ + + + + + libffado + http://www.ffado.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + GPLv3 + Free firewire audio drivers + libffado tries to provide open-source drivers for all FireWire based pro-audio devices. + http://www.ffado.org/files/libffado-2.2.1.tgz + + xdg-utils + glibmm-devel + libxmlpp-devel + alsa-lib-devel + dbus-c++-devel + libsigc++-devel + libconfig-devel + libraw1394-devel + libiec61883-devel + libgcc + + + libffado-api-doc-only.patch + libffado-libconfig145.patch + flags.patch + libffado-2.2.1-jack-detect.patch + libffado-2.2.1-mixer.patch + + + + + + + libffado + library + + glibmm + libgcc + dbus-c++ + libxmlpp + libconfig + libsigc++ + xdg-utils + libraw1394 + libiec61883 + python-setuptools + + + /usr/bin + /usr/lib + /usr/share/locale + /lib/udev/rules.d + /usr/share/libffado + /usr/share/dbus-1 + /usr/share/man + /usr/share/doc + + + + + + + + + libffado-devel + library + Development files for libffado + + libffado + + + /usr/include + /usr/lib/pkgconfig + + + + + ffado-mixer + ffado-mixer + app:gui + hardware.sound + Graphical User Interface for FFADO + + libffado + python-setuptools + + + /usr/bin/ffado-mixer* + /usr/share/applications + /usr/share/pixmaps + + + pisilinux-ffadomixer.desktop + + + + + + 2015-04-28 + 2.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2013-05-06 + 2.1.0 + Sandbox Fixed. + PisiLinux Community + admins@pisilinux.org + + + 2012-11-15 + 2.1.0 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/firewire/libffado/translations.xml b/hardware/firewire/libffado/translations.xml new file mode 100644 index 0000000000..7da419e392 --- /dev/null +++ b/hardware/firewire/libffado/translations.xml @@ -0,0 +1,18 @@ + + + + libffado + Ücretsiz firewire ses sürücüleri + libffado, firewire arabirimli profesyonel ses kartları için ücretsiz sürücü desteği sağlayan bir projedir. + + + + ffado-mixer + FFADO için grafik arayüzü + + + + libffado-devel + libffado için geliştirme dosyaları + +