Permalink
Browse files

sbo repo for current 20100424

  • Loading branch information...
Ponce committed Apr 24, 2010
1 parent b3541a6 commit 32aff2f102c22b9c23c357bbc03a42ca4cb17756
Showing with 1,826 additions and 811 deletions.
  1. BIN audio/audacity.tar.gz
  2. +0 −7 audio/audacity.tar.gz.asc
  3. +3 −3 audio/audacity/audacity.SlackBuild
  4. +3 −3 audio/audacity/audacity.info
  5. BIN audio/cmus.tar.gz
  6. +0 −7 audio/cmus.tar.gz.asc
  7. +1 −0 audio/cmus/cmus.SlackBuild
  8. +20 −0 audio/cmus/patches/cmus-2.2.0-new-libmp4v2.patch
  9. BIN audio/id3.tar.gz
  10. +0 −7 audio/id3.tar.gz.asc
  11. +1 −1 audio/id3/id3.SlackBuild
  12. +4 −0 audio/snack/README
  13. +19 −0 audio/snack/slack-desc
  14. +84 −0 audio/snack/snack.SlackBuild
  15. +10 −0 audio/snack/snack.info
  16. +68 −0 audio/snack/snack2.2.10_alsa_math.patch
  17. BIN desktop/obconf.tar.gz
  18. +0 −7 desktop/obconf.tar.gz.asc
  19. +1 −6 desktop/obconf/obconf.SlackBuild
  20. BIN desktop/wmCalClock.tar.gz
  21. +0 −7 desktop/wmCalClock.tar.gz.asc
  22. +1 −1 desktop/wmCalClock/wmCalClock.SlackBuild
  23. BIN desktop/wmMoonClock.tar.gz
  24. +0 −7 desktop/wmMoonClock.tar.gz.asc
  25. +1 −1 desktop/wmMoonClock/wmMoonClock.SlackBuild
  26. BIN desktop/wmSun.tar.gz
  27. +0 −7 desktop/wmSun.tar.gz.asc
  28. +1 −1 desktop/wmSun/wmSun.SlackBuild
  29. BIN desktop/wmakerconf.tar.gz
  30. +0 −7 desktop/wmakerconf.tar.gz.asc
  31. +1 −1 desktop/wmakerconf/wmakerconf.SlackBuild
  32. BIN desktop/wminfo.tar.gz
  33. +0 −7 desktop/wminfo.tar.gz.asc
  34. +1 −1 desktop/wminfo/wminfo.SlackBuild
  35. BIN desktop/wmnet.tar.gz
  36. +0 −7 desktop/wmnet.tar.gz.asc
  37. +1 −1 desktop/wmnet/wmnet.SlackBuild
  38. BIN desktop/wmweather.tar.gz
  39. +0 −7 desktop/wmweather.tar.gz.asc
  40. +1 −1 desktop/wmweather/wmweather.SlackBuild
  41. BIN games/ltris.tar.gz
  42. +0 −7 games/ltris.tar.gz.asc
  43. +1 −1 games/ltris/ltris.SlackBuild
  44. BIN games/scummvm.tar.gz
  45. +0 −7 games/scummvm.tar.gz.asc
  46. +1 −1 games/scummvm/scummvm.SlackBuild
  47. +3 −3 games/scummvm/scummvm.info
  48. BIN games/supertuxkart-extra-karts.tar.gz
  49. +0 −7 games/supertuxkart-extra-karts.tar.gz.asc
  50. +1 −1 games/supertuxkart-extra-karts/supertuxkart-extra-karts.SlackBuild
  51. BIN games/supertuxkart-extra-tracks.tar.gz
  52. +0 −7 games/supertuxkart-extra-tracks.tar.gz.asc
  53. +1 −1 games/supertuxkart-extra-tracks/supertuxkart-extra-tracks.SlackBuild
  54. BIN games/wormux.tar.gz
  55. +0 −7 games/wormux.tar.gz.asc
  56. +1 −1 games/wormux/wormux.SlackBuild
  57. +3 −3 games/wormux/wormux.info
  58. BIN graphics/fontforge.tar.gz
  59. +0 −7 graphics/fontforge.tar.gz.asc
  60. +4 −1 graphics/fontforge/fontforge.SlackBuild
  61. +91 −0 graphics/fontforge/libpng14.patch
  62. BIN graphics/inkscape.tar.gz
  63. +0 −7 graphics/inkscape.tar.gz.asc
  64. +1 −1 graphics/inkscape/inkscape.SlackBuild
  65. BIN libraries/Mako.tar.gz
  66. +0 −7 libraries/Mako.tar.gz.asc
  67. +1 −1 libraries/Mako/Mako.SlackBuild
  68. BIN libraries/agg.tar.gz
  69. +0 −7 libraries/agg.tar.gz.asc
  70. +1 −0 libraries/agg/agg.SlackBuild
  71. BIN libraries/cairomm.tar.gz
  72. +0 −7 libraries/cairomm.tar.gz.asc
  73. +2 −2 libraries/cairomm/cairomm.SlackBuild
  74. +3 −3 libraries/cairomm/cairomm.info
  75. BIN libraries/cryptopp.tar.gz
  76. +0 −7 libraries/cryptopp.tar.gz.asc
  77. +2 −2 libraries/cryptopp/cryptopp.SlackBuild
  78. +3 −3 libraries/cryptopp/cryptopp.info
  79. BIN libraries/gavl.tar.gz
  80. +3 −0 libraries/gavl/README
  81. +79 −0 libraries/gavl/gavl.SlackBuild
  82. +10 −0 libraries/gavl/gavl.info
  83. +19 −0 libraries/gavl/slack-desc
  84. BIN libraries/gdk-pixbuf.tar.gz
  85. +0 −7 libraries/gdk-pixbuf.tar.gz.asc
  86. +1 −6 libraries/gdk-pixbuf/gdk-pixbuf.SlackBuild
  87. BIN libraries/glibmm.tar.gz
  88. +0 −7 libraries/glibmm.tar.gz.asc
  89. +1 −1 libraries/glibmm/glibmm.SlackBuild
  90. +3 −3 libraries/glibmm/glibmm.info
  91. BIN libraries/gst-python.tar.gz
  92. +0 −7 libraries/gst-python.tar.gz.asc
  93. +2 −2 libraries/gst-python/gst-python.SlackBuild
  94. BIN libraries/gtkmm.tar.gz
  95. +0 −7 libraries/gtkmm.tar.gz.asc
  96. +2 −4 libraries/gtkmm/gtkmm.SlackBuild
  97. +3 −3 libraries/gtkmm/gtkmm.info
  98. BIN libraries/imlib2.tar.gz
  99. +0 −7 libraries/imlib2.tar.gz.asc
  100. +3 −0 libraries/imlib2/imlib2.SlackBuild
  101. +12 −0 libraries/imlib2/libpng14.patch
  102. BIN libraries/libdvbpsi.tar.gz
  103. +0 −7 libraries/libdvbpsi.tar.gz.asc
  104. +2 −2 libraries/libdvbpsi/libdvbpsi.SlackBuild
  105. BIN libraries/libiconv.tar.gz
  106. +3 −0 libraries/libiconv/README
  107. +84 −0 libraries/libiconv/libiconv.SlackBuild
  108. +10 −0 libraries/libiconv/libiconv.info
  109. +19 −0 libraries/libiconv/slack-desc
  110. BIN libraries/libofa.tar.gz
  111. +0 −7 libraries/libofa.tar.gz.asc
  112. +20 −0 libraries/libofa/libofa-0.9.3-gcc-4.4.patch
  113. +3 −0 libraries/libofa/libofa.SlackBuild
  114. BIN libraries/libsigc++.tar.gz
  115. +0 −7 libraries/libsigc++.tar.gz.asc
  116. +1 −1 libraries/libsigc++/libsigc++.SlackBuild
  117. +3 −3 libraries/libsigc++/libsigc++.info
  118. BIN libraries/libtorrent-rasterbar.tar.gz
  119. +0 −7 libraries/libtorrent-rasterbar.tar.gz.asc
  120. +6 −5 libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
  121. BIN libraries/libunicap.tar.gz
  122. +6 −0 libraries/libunicap/README
  123. +77 −0 libraries/libunicap/libunicap.SlackBuild
  124. +10 −0 libraries/libunicap/libunicap.info
  125. +19 −0 libraries/libunicap/slack-desc
  126. BIN libraries/opencv.tar.gz
  127. +0 −7 libraries/opencv.tar.gz.asc
  128. +154 −0 libraries/opencv/libopencv-2.1.0-libdir.patch
  129. +12 −0 libraries/opencv/libpng-1.4.patch
  130. +64 −47 libraries/opencv/opencv.SlackBuild
  131. +3 −3 libraries/opencv/opencv.info
  132. BIN libraries/pangomm.tar.gz
  133. +0 −7 libraries/pangomm.tar.gz.asc
  134. +1 −1 libraries/pangomm/pangomm.SlackBuild
  135. +3 −3 libraries/pangomm/pangomm.info
  136. BIN libraries/perl-Compress-Raw-Zlib.tar.gz
  137. +1 −0 libraries/perl-Compress-Raw-Zlib/README
  138. +85 −0 libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.SlackBuild
  139. +8 −0 libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.info
  140. +19 −0 libraries/perl-Compress-Raw-Zlib/slack-desc
  141. BIN libraries/perl-Compress-Zlib.tar.gz
  142. +4 −0 libraries/perl-Compress-Zlib/README
  143. +85 −0 libraries/perl-Compress-Zlib/perl-Compress-Zlib.SlackBuild
  144. +8 −0 libraries/perl-Compress-Zlib/perl-Compress-Zlib.info
  145. +19 −0 libraries/perl-Compress-Zlib/slack-desc
  146. BIN libraries/perl-IO-Compress-Base.tar.gz
  147. +1 −0 libraries/perl-IO-Compress-Base/README
  148. +83 −0 libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.SlackBuild
  149. +8 −0 libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.info
  150. +19 −0 libraries/perl-IO-Compress-Base/slack-desc
  151. BIN libraries/perl-IO-Compress-Zlib.tar.gz
  152. +5 −0 libraries/perl-IO-Compress-Zlib/README
  153. +85 −0 libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.SlackBuild
  154. +8 −0 libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.info
  155. +19 −0 libraries/perl-IO-Compress-Zlib/slack-desc
  156. BIN libraries/physfs.tar.gz
  157. +0 −7 libraries/physfs.tar.gz.asc
  158. +3 −0 libraries/physfs/physfs.SlackBuild
  159. BIN libraries/plib.tar.gz
  160. +0 −7 libraries/plib.tar.gz.asc
  161. +1 −6 libraries/plib/plib.SlackBuild
  162. BIN libraries/python2-chardet.tar.gz
  163. +0 −7 libraries/python2-chardet.tar.gz.asc
  164. +1 −1 libraries/python2-chardet/python2-chardet.SlackBuild
  165. BIN libraries/soundtouch.tar.gz
  166. +0 −7 libraries/soundtouch.tar.gz.asc
  167. +0 −11 libraries/soundtouch/soundtouch-1.3.1-gcc43.patch
  168. +3 −5 libraries/soundtouch/soundtouch.SlackBuild
  169. +3 −3 libraries/soundtouch/soundtouch.info
  170. BIN misc/cksfv.tar.gz
  171. +0 −7 misc/cksfv.tar.gz.asc
  172. +2 −2 misc/cksfv/cksfv.SlackBuild
  173. BIN multimedia/2ManDVD.tar.gz
  174. +0 −7 multimedia/2ManDVD.tar.gz.asc
  175. +2 −2 multimedia/2ManDVD/2ManDVD.SlackBuild
  176. +2 −2 multimedia/2ManDVD/2ManDVD.info
  177. BIN multimedia/LiVES.tar.gz
  178. +0 −7 multimedia/LiVES.tar.gz.asc
  179. +4 −0 multimedia/LiVES/LiVES.SlackBuild
  180. BIN multimedia/avidemux.tar.gz
  181. +0 −7 multimedia/avidemux.tar.gz.asc
  182. BIN multimedia/avidemux/avidemux-2.4.3-i18n.patch.gz
  183. +187 −107 multimedia/avidemux/avidemux.SlackBuild
  184. +6 −6 multimedia/avidemux/avidemux.info
  185. +0 −4 multimedia/avidemux/doinst.sh
  186. +6 −3 multimedia/avidemux/slack-desc
  187. BIN multimedia/dvgrab.tar.gz
  188. +0 −7 multimedia/dvgrab.tar.gz.asc
  189. +1 −1 multimedia/dvgrab/dvgrab.SlackBuild
  190. BIN multimedia/gpac.tar.gz
  191. +0 −7 multimedia/gpac.tar.gz.asc
  192. +3 −0 multimedia/gpac/gpac.SlackBuild
  193. +12 −0 multimedia/gpac/libpng14-infopp-null.patch
  194. BIN multimedia/gst-plugins-bad.tar.gz
  195. +0 −7 multimedia/gst-plugins-bad.tar.gz.asc
  196. +1 −1 multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
  197. +3 −3 multimedia/gst-plugins-bad/gst-plugins-bad.info
  198. BIN multimedia/gst-plugins-ugly.tar.gz
  199. +0 −7 multimedia/gst-plugins-ugly.tar.gz.asc
  200. +3 −3 multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild
  201. +3 −3 multimedia/gst-plugins-ugly/gst-plugins-ugly.info
  202. BIN multimedia/kino.tar.gz
  203. +0 −7 multimedia/kino.tar.gz.asc
  204. +1 −1 multimedia/kino/kino.SlackBuild
  205. +3 −3 multimedia/kino/kino.info
  206. BIN multimedia/mjpegtools.tar.gz
  207. +0 −7 multimedia/mjpegtools.tar.gz.asc
  208. +3 −0 multimedia/mjpegtools/mjpegtools.SlackBuild
  209. +11 −0 multimedia/mjpegtools/mplex_gcc44.diff
  210. BIN multimedia/wxcam.tar.gz
  211. +0 −7 multimedia/wxcam.tar.gz.asc
  212. +1 −1 multimedia/wxcam/wxcam.SlackBuild
  213. BIN network/aMule.tar.gz
  214. +0 −7 network/aMule.tar.gz.asc
  215. +1 −1 network/aMule/aMule.SlackBuild
  216. BIN network/cherokee.tar.gz
  217. +0 −7 network/cherokee.tar.gz.asc
  218. +12 −4 network/cherokee/cherokee.SlackBuild
  219. +3 −3 network/cherokee/cherokee.info
  220. BIN network/darkstat.tar.gz
  221. +0 −7 network/darkstat.tar.gz.asc
  222. +1 −1 network/darkstat/darkstat.SlackBuild
  223. BIN network/deluge.tar.gz
  224. +0 −7 network/deluge.tar.gz.asc
  225. +3 −3 network/deluge/deluge.SlackBuild
  226. BIN network/ekiga.tar.gz
  227. +0 −7 network/ekiga.tar.gz.asc
  228. +1 −1 network/ekiga/ekiga.SlackBuild
  229. BIN network/hping3.tar.gz
  230. +0 −7 network/hping3.tar.gz.asc
  231. +1 −1 network/hping3/hping3.SlackBuild
  232. BIN network/kvirc.tar.gz
  233. +0 −7 network/kvirc.tar.gz.asc
  234. +28 −19 network/kvirc/kvirc.SlackBuild
  235. +3 −3 network/kvirc/kvirc.info
  236. BIN network/python-twisted.tar.gz
  237. +0 −7 network/python-twisted.tar.gz.asc
  238. +0 −2 network/python-twisted/README
  239. +4 −4 network/python-twisted/python-twisted.SlackBuild
  240. +3 −3 network/python-twisted/python-twisted.info
  241. BIN network/wvdial.tar.gz
  242. +0 −7 network/wvdial.tar.gz.asc
  243. +5 −3 network/wvdial/wvdial.SlackBuild
  244. +3 −3 network/wvdial/wvdial.info
  245. BIN system/cabextract.tar.gz
  246. +0 −7 system/cabextract.tar.gz.asc
  247. +2 −2 system/cabextract/cabextract.SlackBuild
  248. BIN system/clamav.tar.gz
  249. +0 −7 system/clamav.tar.gz.asc
  250. +2 −2 system/clamav/clamav.SlackBuild
  251. +3 −3 system/clamav/clamav.info
  252. +15 −6 system/clamav/config/clamd.conf.patch
  253. BIN system/encfs.tar.gz
  254. +0 −7 system/encfs.tar.gz.asc
  255. +12 −0 system/encfs/encfs-1.5-const.patch
  256. +3 −0 system/encfs/encfs.SlackBuild
  257. BIN system/foremost.tar.gz
  258. +0 −7 system/foremost.tar.gz.asc
  259. +1 −1 system/foremost/foremost.SlackBuild
  260. BIN system/lirc.tar.gz
  261. +0 −7 system/lirc.tar.gz.asc
  262. BIN system/lirc/lirc-2.6.33.diff.gz
  263. +4 −0 system/lirc/lirc.SlackBuild
  264. BIN system/vice.tar.gz
  265. +0 −7 system/vice.tar.gz.asc
  266. +11 −0 system/vice/patches/vice-gcc-4.4.patch
  267. +3 −0 system/vice/vice.SlackBuild
  268. BIN system/zisofs-tools.tar.gz
  269. +0 −7 system/zisofs-tools.tar.gz.asc
  270. +2 −2 system/zisofs-tools/zisofs-tools.SlackBuild
BIN -14 Bytes (100%) audio/audacity.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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}
@@ -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 \) \
@@ -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"
BIN +218 Bytes (110%) audio/cmus.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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" \
@@ -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>
BIN -8 Bytes (100%) audio/id3.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
@@ -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.
@@ -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:
@@ -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}
@@ -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=""
@@ -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
BIN -75 Bytes (97%) desktop/obconf.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN -4 Bytes (100%) desktop/wmCalClock.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN +7 Bytes (100%) desktop/wmMoonClock.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN +0 Bytes (100%) desktop/wmSun.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN -14 Bytes (99%) desktop/wmakerconf.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN +5 Bytes (100%) desktop/wminfo.tar.gz
Binary file not shown.

This file was deleted.

Oops, something went wrong.
@@ -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
BIN +1 Byte (100%) desktop/wmnet.tar.gz
Binary file not shown.
Oops, something went wrong.

0 comments on commit 32aff2f

Please sign in to comment.