From fc491febe302a3c97b260ef8e540bcea3590e589 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Fri, 29 Jul 2016 12:52:02 +0200 Subject: [PATCH] l/libffado: Removed. --- l/libffado/libffado-2.1.0-fix-includes.patch | 65 --------- l/libffado/libffado-2.2.1.tgz.sha1 | 1 - l/libffado/libffado.SlackBuild | 133 ------------------- l/libffado/slack-desc | 12 -- 4 files changed, 211 deletions(-) delete mode 100644 l/libffado/libffado-2.1.0-fix-includes.patch delete mode 100644 l/libffado/libffado-2.2.1.tgz.sha1 delete mode 100755 l/libffado/libffado.SlackBuild delete mode 100644 l/libffado/slack-desc diff --git a/l/libffado/libffado-2.1.0-fix-includes.patch b/l/libffado/libffado-2.1.0-fix-includes.patch deleted file mode 100644 index 6899f55f..00000000 --- a/l/libffado/libffado-2.1.0-fix-includes.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff -Naur libffado-2.1.0.orig/src/bebob/bebob_dl_mgr.cpp libffado-2.1.0/src/bebob/bebob_dl_mgr.cpp ---- libffado-2.1.0.orig/src/bebob/bebob_dl_mgr.cpp 2012-07-06 15:31:48.000000000 +0200 -+++ libffado-2.1.0/src/bebob/bebob_dl_mgr.cpp 2013-08-18 13:03:14.470057466 +0200 -@@ -36,6 +36,7 @@ - #include - #include - #include -+#include - - namespace BeBoB { - enum { -diff -Naur libffado-2.1.0.orig/src/ffadodevice.h libffado-2.1.0/src/ffadodevice.h ---- libffado-2.1.0.orig/src/ffadodevice.h 2012-03-08 14:27:34.000000000 +0100 -+++ libffado-2.1.0/src/ffadodevice.h 2013-08-18 13:02:52.717280476 +0200 -@@ -34,6 +34,7 @@ - - #include - #include -+#include - - class DeviceManager; - class ConfigRom; -diff -Naur libffado-2.1.0.orig/src/libutil/serialize.h libffado-2.1.0/src/libutil/serialize.h ---- libffado-2.1.0.orig/src/libutil/serialize.h 2008-06-08 16:34:59.000000000 +0200 -+++ libffado-2.1.0/src/libutil/serialize.h 2013-08-18 13:09:12.560470156 +0200 -@@ -26,10 +26,6 @@ - - - --#if SERIALIZE_USE_EXPAT -- #include "serialize_expat.h" --#else -- #include "serialize_libxml.h" --#endif -+#include "serialize_expat.h" - - #endif -diff -Naur libffado-2.1.0.orig/src/libutil/serialize_expat.cpp libffado-2.1.0/src/libutil/serialize_expat.cpp ---- libffado-2.1.0.orig/src/libutil/serialize_expat.cpp 2009-12-19 17:12:53.000000000 +0100 -+++ libffado-2.1.0/src/libutil/serialize_expat.cpp 2013-08-18 13:04:30.626298133 +0200 -@@ -21,10 +21,12 @@ - * along with this program. If not, see . - * - */ -- // FOR CACHE_VERSION -+#include // FOR CACHE_VERSION - - #include "serialize.h" - -+#include -+ - using namespace std; - - -diff -Naur libffado-2.1.0.orig/tests/scan-devreg.cpp libffado-2.1.0/tests/scan-devreg.cpp ---- libffado-2.1.0.orig/tests/scan-devreg.cpp 2009-07-23 13:12:27.000000000 +0200 -+++ libffado-2.1.0/tests/scan-devreg.cpp 2013-08-18 13:04:47.254132147 +0200 -@@ -36,6 +36,7 @@ - #include - #include - #include -+#include - - using namespace std; - diff --git a/l/libffado/libffado-2.2.1.tgz.sha1 b/l/libffado/libffado-2.2.1.tgz.sha1 deleted file mode 100644 index c3b32327..00000000 --- a/l/libffado/libffado-2.2.1.tgz.sha1 +++ /dev/null @@ -1 +0,0 @@ -189c2205df215fa497566a2338a52daa2e7034fa libffado-2.2.1.tgz diff --git a/l/libffado/libffado.SlackBuild b/l/libffado/libffado.SlackBuild deleted file mode 100755 index b9a933d2..00000000 --- a/l/libffado/libffado.SlackBuild +++ /dev/null @@ -1,133 +0,0 @@ -#!/bin/bash -# Build script for Slackware -# Copyright (C) 2009,2010,2011,2013,2014 Damien Goutte-Gattat -# -# Redistribution and use of this script, with or without modifications, -# is permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, -# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# Contact: Damien Goutte-Gattat -# -# Latest libffado sourcecode is available at: . -# -# Depends: d/scons, l/libiec61883, l/libconfig - -# Source package infos -NAMESRC=${NAMESRC:-libffado} -VERSION=${VERSION:-2.2.1} -ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tgz} -WGET=${WGET:-http://www.ffado.org/files/$ARCHIVE} - -# Build infos -NAMEPKG=${NAMEPKG:-libffado} -BUILD=${BUILD:-1GGD} -ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')} -EXT=${EXT:-txz} - -# Directories -TMP=${TMP:-/tmp} -OUT=${OUT:-$TMP/build} -PKG=${PKG:-$OUT/$NAMEPKG} -CWD=$(pwd) - -set -e # Quit if a command returns non-zero - -# Sanity checks -if [ $UID -eq 0 ]; then - echo "You should NOT run this script as ROOT!" - exit 1 -fi -if [ ! -d $TMP ]; then - echo "$TMP does not exist or is not a directory!" - exit 1 -fi - -# Compilation flags -LIBDIRSUFFIX="" -case "$ARCH" in -i?86) - CPUOPT="-O2 -march=$ARCH -mtune=i686" - ;; -x86_64) - CPUOPT="-O2 -fPIC" - LIBDIRSUFFIX="64" - ;; -*) - CPUOPT="-O2" - ;; -esac - -# Get and verify the source archive -if [ ! -r $ARCHIVE ]; then - wget -c -O $ARCHIVE.part "$WGET" - mv $ARCHIVE.part $ARCHIVE -fi -sha1sum -c $ARCHIVE.sha1 -NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) - -# Extract -cd $TMP -echo "Building $ARCHIVE..." -tar xf $CWD/$ARCHIVE -cd $NAME - -# Fix missing headers -patch -p 1 < $CWD/libffado-2.1.0-fix-includes.patch - -# Compile -CFLAGS=$CPUOPT \ -CXXFLAGS=$CPUOPT \ -scons PREFIX=/usr \ - LIBDIR=/usr/lib$LIBDIRSUFFIX \ - ENABLE_OPTIMIZATIONS=yes \ - SERIALIZE_USE_EXPAT=yes \ - BUILD_TESTS=no -scons install DESTDIR=$PKG WILL_DEAL_WITH_XDG_MYSELF=yes - -# Strip binaries -find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \ - xargs strip --strip-unneeded 2> /dev/null - -# Install the documentation -mkdir -p $PKG/usr/doc/$NAME -install -m 644 AUTHORS ChangeLog LICENSE.GPLv{2,3} README $PKG/usr/doc/$NAME - -# Install desktop files -( - cd support/xdg - mkdir -p $PKG/usr/share/{applications,pixmaps} - install -m 644 ffado.org-ffadomixer.desktop $PKG/usr/share/applications - install -m 644 hi64-apps-ffado.png $PKG/usr/share/pixmaps -) - -# Copy slack-desc file -install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc - -# Package the tree -cd $PKG -mkdir -p $OUT -PACKAGING=" -chown root:root . -R -/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT -rm -rf $PKG -rm -rf $TMP/$NAME -" -if type -p fakeroot ; then - echo "$PACKAGING" | fakeroot -else - su -c "$PACKAGING" -fi diff --git a/l/libffado/slack-desc b/l/libffado/slack-desc deleted file mode 100644 index 72b5076b..00000000 --- a/l/libffado/slack-desc +++ /dev/null @@ -1,12 +0,0 @@ - |-----handy-ruler------------------------------------------------------| -libffado: libffado (a driver for FireWire-based audio interfaces) -libffado: -libffado: The FFADO project aims to provide a free driver implementation for -libffado: FireWire based (semi-) professional audio interfaces. The focus of -libffado: the project are on audio/music production rather than consumer -libffado: audio. -libffado: -libffado: -libffado: -libffado: -libffado: