Skip to content

Commit

Permalink
sbo repo for current 20100422
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponce committed Apr 22, 2010
1 parent b3541a6 commit e08c0a8
Show file tree
Hide file tree
Showing 270 changed files with 1,667 additions and 704 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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>
Binary file modified audio/id3.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions audio/id3.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion audio/id3/id3.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ cp -a id3.man $PKG/usr/man/man1/id3.1
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
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
Expand Down
4 changes: 4 additions & 0 deletions audio/snack/README
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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.

7 changes: 1 addition & 6 deletions desktop/obconf/obconf.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ make install DESTDIR=$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
)

( 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
xargs strip --strip-unneeded 2> /dev/null || true
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
Expand Down
Binary file modified desktop/wmCalClock.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/wmCalClock.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion desktop/wmCalClock/wmCalClock.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ cd -
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
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
Expand Down
Binary file modified desktop/wmMoonClock.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/wmMoonClock.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion desktop/wmMoonClock/wmMoonClock.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cd -
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
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
Expand Down
Binary file modified desktop/wmSun.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/wmSun.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion desktop/wmSun/wmSun.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cd -
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
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
Expand Down
Binary file modified desktop/wmakerconf.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/wmakerconf.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion desktop/wmakerconf/wmakerconf.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ make install DESTDIR=$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
xargs strip --strip-unneeded 2> /dev/null || true
)

( cd $PKG/usr/man
Expand Down
Binary file modified desktop/wminfo.tar.gz
Binary file not shown.
7 changes: 0 additions & 7 deletions desktop/wminfo.tar.gz.asc

This file was deleted.

2 changes: 1 addition & 1 deletion desktop/wminfo/wminfo.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ cd -
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
xargs strip --strip-unneeded 2> /dev/null || true
)

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
Expand Down
Binary file modified desktop/wmnet.tar.gz
Binary file not shown.
Loading

0 comments on commit e08c0a8

Please sign in to comment.