libffado
This commit is contained in:
@@ -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")
|
||||
@@ -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"
|
||||
@@ -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.
|
||||
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env python
|
||||
# Licensed and redistributable under GPLv3
|
||||
# Written by David Henningsson <david.henningsson@canonical.com>
|
||||
# (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
|
||||
@@ -0,0 +1,65 @@
|
||||
# AUTHOR: lilrc <lilrc@users-sourceforge.net>
|
||||
# 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")
|
||||
@@ -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 """
|
||||
@@ -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 ):
|
||||
@@ -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
|
||||
@@ -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;
|
||||
@@ -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
|
||||
@@ -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;
|
||||
@@ -0,0 +1,127 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libffado</Name>
|
||||
<Homepage>http://www.ffado.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>GPLv3</License>
|
||||
<Summary>Free firewire audio drivers</Summary>
|
||||
<Description>libffado tries to provide open-source drivers for all FireWire based pro-audio devices.</Description>
|
||||
<Archive sha1sum="189c2205df215fa497566a2338a52daa2e7034fa" type="targz">http://www.ffado.org/files/libffado-2.2.1.tgz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
<Dependency>glibmm-devel</Dependency>
|
||||
<Dependency>libxmlpp-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>dbus-c++-devel</Dependency>
|
||||
<Dependency>libsigc++-devel</Dependency>
|
||||
<Dependency>libconfig-devel</Dependency>
|
||||
<Dependency>libraw1394-devel</Dependency>
|
||||
<Dependency>libiec61883-devel</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">libffado-api-doc-only.patch</Patch>
|
||||
<Patch level="1">libffado-libconfig145.patch</Patch>
|
||||
<Patch level="1">flags.patch</Patch>
|
||||
<Patch level="0">libffado-2.2.1-jack-detect.patch</Patch>
|
||||
<Patch level="0">libffado-2.2.1-mixer.patch</Patch>
|
||||
<!--<Patch level="1">libffado-2.1.0-no-jackd-version.patch</Patch>-->
|
||||
<!--<Patch level="1">libffado-gcc47.patch</Patch>
|
||||
<Patch level="3">fix-segfault-on-close.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libffado</Name>
|
||||
<IsA>library</IsA>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibmm</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>dbus-c++</Dependency>
|
||||
<Dependency>libxmlpp</Dependency>
|
||||
<Dependency>libconfig</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
<Dependency>libraw1394</Dependency>
|
||||
<Dependency>libiec61883</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d</Path>
|
||||
<Path fileType="data">/usr/share/libffado</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<!-- Generated with Debian's generate-udev-rules.py which reads stdin from configuration file -->
|
||||
<!--<AdditionalFile owner="root" permission="0644" target="/lib/udev/rules.d/60-ffado.rules">60-ffado.rules</AdditionalFile>-->
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libffado-devel</Name>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Development files for libffado</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libffado</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>ffado-mixer</Name>
|
||||
<Icon>ffado-mixer</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>hardware.sound</PartOf>
|
||||
<Summary>Graphical User Interface for FFADO</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libffado</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/ffado-mixer*</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/pisilinux-ffadomixer.desktop">pisilinux-ffadomixer.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-04-28</Date>
|
||||
<Version>2.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-06</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Sandbox Fixed.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-15</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libffado</Name>
|
||||
<Summary xml:lang="tr">Ücretsiz firewire ses sürücüleri</Summary>
|
||||
<Description xml:lang="tr">libffado, firewire arabirimli profesyonel ses kartları için ücretsiz sürücü desteği sağlayan bir projedir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ffado-mixer</Name>
|
||||
<Summary xml:lang="tr">FFADO için grafik arayüzü</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libffado-devel</Name>
|
||||
<Summary xml:lang="tr">libffado için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user