Skip to content

Commit

Permalink
sbo repo for current 20100323
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponce committed Mar 23, 2010
1 parent c0bc8e5 commit 0534239
Show file tree
Hide file tree
Showing 288 changed files with 2,443 additions and 785 deletions.
Binary file modified audio/audacity.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions audio/audacity.tar.gz.asc

This file was deleted.

6 changes: 3 additions & 3 deletions audio/audacity/audacity.SlackBuild
Expand Up @@ -29,7 +29,7 @@
# Modified by the SlackBuilds.org project

PRGNAM=audacity
VERSION=1.3.7
VERSION=1.3.11
ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
Expand Down Expand Up @@ -68,9 +68,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-minsrc-$VERSION
rm -rf $PRGNAM-minsrc-$VERSION-beta
tar xvf $CWD/$PRGNAM-minsrc-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-src-$VERSION || exit 1
cd $PRGNAM-src-$VERSION-beta || exit 1
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
Expand Down
6 changes: 3 additions & 3 deletions audio/audacity/audacity.info
@@ -1,9 +1,9 @@
PRGNAM="audacity"
VERSION="1.3.7"
VERSION="1.3.11"
HOMEPAGE="http://audacity.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/audacity/audacity-minsrc-1.3.7.tar.bz2"
DOWNLOAD="http://audacity.googlecode.com/files/audacity-minsrc-1.3.11.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="7dcbcd8ed417413fd824d446001058d9"
MD5SUM="670937c483fb5273ceff9e38a82db55f"
MD5SUM_x86_64=""
MAINTAINER="Chess Griffin"
EMAIL="chess@chessgriffin.com"
Expand Down
Binary file added audio/celt.tar.gz
Binary file not shown.
5 changes: 5 additions & 0 deletions audio/celt/README
@@ -0,0 +1,5 @@
CELT (ultra-low delay audio codec)

The CELT codec is a compression algorithm for audio.
Like MP3, Vorbis, and AAC it is suitable for transmitting music with high quality.
Unlike these formats CELT imposes very little delay on the signal, even less than is typical for speech centric formats like Speex, GSM, or G.729.
81 changes: 81 additions & 0 deletions audio/celt/celt.SlackBuild
@@ -0,0 +1,81 @@
#!/bin/sh

# Slackware build script for celt

# Written by Ponce <matteo.bernardini {at} sns.it>
# based on slackbuilds.org default template

PRGNAM=celt
VERSION=${VERSION:-0.6.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG

( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
10 changes: 10 additions & 0 deletions audio/celt/celt.info
@@ -0,0 +1,10 @@
PRGNAM="celt"
VERSION="0.6.1"
HOMEPAGE="http://www.celt-codec.org/"
DOWNLOAD="http://downloads.xiph.org/releases/celt/celt-0.6.1.tar.gz"
MD5SUM="2961ffb6fadb5f905d20de9f0d86e44c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ponce"
EMAIL="matteo.bernardini {at} sns.it"
APPROVED=""
19 changes: 19 additions & 0 deletions audio/celt/slack-desc
@@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.

|-----handy-ruler------------------------------------------------------|
celt: CELT (ultra-low delay audio codec)
celt:
celt: The CELT codec is a compression algorithm for audio.
celt: Like MP3, Vorbis, and AAC it is suitable for transmitting music with
celt: high quality. Unlike these formats CELT imposes very little delay on
celt: the signal, even less than is typical for speech centric formats like
celt: Speex, GSM, or G.729.
celt:
celt: homepage:
celt: http://www.celt-codec.org/
celt:
Binary file modified audio/cmus.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions audio/cmus.tar.gz.asc

This file was deleted.

1 change: 1 addition & 0 deletions audio/cmus/cmus.SlackBuild
Expand Up @@ -62,6 +62,7 @@ find . \
# Thanks to B Watson for made me notice the ffmpeg issue.
cat $CWD/patches/cmus-2.2.0-new-ffmpeg.patch | patch -p1
cat $CWD/patches/cmus-2.2.0-symlink_attack.patch | patch -p1
cat $CWD/patches/cmus-2.2.0-new-libmp4v2.patch | patch -p1

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
Expand Down
20 changes: 20 additions & 0 deletions audio/cmus/patches/cmus-2.2.0-new-libmp4v2.patch
@@ -0,0 +1,20 @@
diff -crB cmus-2.2.0.orig/mp4.c cmus-2.2.0/mp4.c
*** cmus-2.2.0.orig/mp4.c 2010-01-08 11:06:09.423202273 +0100
--- cmus-2.2.0/mp4.c 2010-01-08 11:15:28.829202191 +0100
***************
*** 22,28 ****
#include "debug.h"
#include "file.h"

! #include <mp4.h>
#include <faad.h>

#include <errno.h>
--- 22,28 ----
#include "debug.h"
#include "file.h"

! #include <mp4v2/mp4v2.h>
#include <faad.h>

#include <errno.h>
4 changes: 4 additions & 0 deletions audio/snack/README
@@ -0,0 +1,4 @@
The Snack Sound Toolkit is designed to be used with a scripting language such as Tcl/Tk or Python.
Using Snack you can create powerful multi-platform audio applications with just a few lines of code.
Snack has commands for basic sound handling, such as playback, recording, file and socket I/O.
Snack also provides primitives for sound visualization, e.g. waveforms and spectrograms.
19 changes: 19 additions & 0 deletions audio/snack/slack-desc
@@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.

|-----handy-ruler------------------------------------------------------|
snack: snack (Snack Sound Toolkit)
snack:
snack: The Snack Sound Toolkit is designed to be used with a scripting language
snack: language such as Tcl/Tk or Python. Using Snack you can create powerful
snack: multi-platform audio applications with just a few lines of code.
snack:
snack:
snack:
snack: homepage:
snack: http://www.speech.kth.se/snack/
snack:
84 changes: 84 additions & 0 deletions audio/snack/snack.SlackBuild
@@ -0,0 +1,84 @@
#!/bin/sh

# Slackware build script for snack

# Written by Ponce <matteo.bernardini {at} sns.it>
# based on slackbuilds.org default template

PRGNAM=snack
VERSION=${VERSION:-2.2.10}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM$VERSION.tar.gz
cd $PRGNAM$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;

patch -p1 < $CWD/snack2.2.10_alsa_math.patch

cd unix

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--enable-alsa \
--with-tcl=/usr/lib${LIBDIRSUFFIX} \
--with-tk=/usr/lib${LIBDIRSUFFIX} \
--with-ogg-include=/usr \
--with-ogg-lib=/usr \
--build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG

cd -

( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a BSD.txt COPYING README changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
10 changes: 10 additions & 0 deletions audio/snack/snack.info
@@ -0,0 +1,10 @@
PRGNAM="snack"
VERSION="2.2.10"
HOMEPAGE="http://www.speech.kth.se/snack/"
DOWNLOAD="http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz"
MD5SUM="98da0dc73599b3a039cba1b7ff169399"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ponce"
EMAIL="matteo.bernardini {at} sns.it"
APPROVED=""
68 changes: 68 additions & 0 deletions audio/snack/snack2.2.10_alsa_math.patch
@@ -0,0 +1,68 @@
--- snack-2.2.10.orig/unix/jkAudIO_alsa.c
+++ snack-2.2.10/unix/jkAudIO_alsa.c
@@ -49,6 +49,8 @@

static int minNumChan = 1;

+static snd_pcm_uframes_t hw_bufsize = 0;
+
int
SnackAudioOpen(ADesc *A, Tcl_Interp *interp, char *device, int mode, int freq,
int nchannels, int encoding)
@@ -135,6 +137,9 @@
Tcl_AppendResult(interp, "Failed setting HW params.", NULL);
return TCL_ERROR;
}
+
+ snd_pcm_hw_params_get_buffer_size (hw_params, &hw_bufsize);
+
snd_pcm_hw_params_free(hw_params);
snd_pcm_prepare(A->handle);
if (A->mode == RECORD) {
@@ -202,6 +207,8 @@
int i;
static char buf[64];

+ return;
+
if (A->debug > 1) Snack_WriteLog(" Enter SnackAudioPost\n");

for (i = 0; i < 1000; i++) {
@@ -267,12 +274,14 @@
long
SnackAudioPlayed(ADesc *A)
{
- long avail = _snd_pcm_mmap_hw_ptr(A->handle);
+ // FIX Here, _snd_pcm_mmap_hw_ptr is deprecated in new alsalib
+ long played = A->nWritten - (hw_bufsize - SnackAudioWriteable(A));
+ // long avail = _snd_pcm_mmap_hw_ptr(A->handle);

- if (avail < 0)
- avail = 0;
+ if (played < 0)
+ return 0;

- return (avail+A->nPlayed);
+ return (played);
}

void
--- snack-2.2.10-dfsg1.orig/generic/jkFormatMP3.c
+++ snack-2.2.10-dfsg1/generic/jkFormatMP3.c
@@ -29,6 +29,7 @@
#include "snack.h"
#include "jkFormatMP3.h"
#include <string.h>
+#include <math.h>
#define FRAS2(is,a) ((is) > 0 ? t_43[(is)]*(a):-t_43[-(is)]*(a))
#define MAXFRAMESIZE 2106 /* frame size starting at header */
#define roundf(x) (floor((x)+(float )0.5f))
@@ -1309,8 +1310,6 @@
return len;
}

-#include <math.h>
-
#define PI12 0.261799387f
#define PI36 0.087266462f
#define COSPI3 0.500000000f
Binary file modified desktop/obconf.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/obconf.tar.gz.asc

This file was deleted.

0 comments on commit 0534239

Please sign in to comment.