Skip to content

Commit

Permalink
Added aegisub and all of it's dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
willysr committed Jul 29, 2012
1 parent 95d9d3f commit 460dd87
Show file tree
Hide file tree
Showing 27 changed files with 892 additions and 0 deletions.
21 changes: 21 additions & 0 deletions SlackBuilds/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
+--------------------------+
Mon Jul 30 05:57:45 WIT 2012
aegisub: Added
Aegisub is a general-purpose subtitle editor with ASS/SSA support
Requires wxGTK
Optional requirements PulseAudio, OpenAL, PortAudio, libass, lua,
FFmpegSource, and Scintilla
enca: Added
enca is Text File Encode Detector
ffms: Added
ffms is a libav/ffmpeg based source library
harfbuzz: Added
HarfBuzz is an OpenType text shaping engine.
libass: Added
libass is a portable subtitle renderer for the ASS/SSA
Optional requirements: enca, harfbuzz
wxGTK: Added
wxGTK is a cross-platform API for writing GUI applications

+--------------------------+
Sun Jul 29 10:18:53 WIT 2012
cups1.6: Merged branch cups1.6
This is SlackBuild for CUPS 1.6
I gave different folder name so that people won't confuse with the existing cups (1.5)

+--------------------------+
Fri Jul 27 21:56:46 GMT+7 2012
calibre: Upgraded to 0.8.62

Expand Down
60 changes: 60 additions & 0 deletions SlackBuilds/SLACKBUILDS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ SLACKBUILD MD5SUM: 3d8b86c21a2f87a2a5e60f78f3b3f03d
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: OpenAL (a cross-platform 3D audio API)

SLACKBUILD NAME: aegisub
SLACKBUILD LOCATION: ./aegisub
SLACKBUILD FILES: README aegisub.SlackBuild aegisub.info slack-desc
SLACKBUILD VERSION: 2.1.9
SLACKBUILD DOWNLOAD: http://ftp.aegisub.org/pub/releases/aegisub-2.1.9.tar.gz
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: 878cf7e6fd9c35cc218537bac3b86c25
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: aegisub (General-purpose subtitle editor)

SLACKBUILD NAME: atk
SLACKBUILD LOCATION: ./atk
SLACKBUILD FILES: atk.SlackBuild atk.info slack-desc
Expand Down Expand Up @@ -208,6 +218,16 @@ SLACKBUILD MD5SUM: 33e281c0fe8a9cf6da754e73cc21fb57
SLACKBUILD MD5SUM_x86_64: fec3bc32c8c4200b47c76af3ecfd60e1
SLACKBUILD SHORT DESCRIPTION: dropbox (store, sync and share files online)

SLACKBUILD NAME: enca
SLACKBUILD LOCATION: ./enca
SLACKBUILD FILES: README enca.SlackBuild enca.info slack-desc
SLACKBUILD VERSION: 1.13
SLACKBUILD DOWNLOAD: http://dl.cihar.com/enca/enca-1.13.tar.gz
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: 58fcf1fea7eeab70b64a2d61e14a967d
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: enca (Text File Encode Detector)

SLACKBUILD NAME: farsight2
SLACKBUILD LOCATION: ./farsight2
SLACKBUILD FILES: README farsight2.SlackBuild farsight2.info slack-desc
Expand All @@ -218,6 +238,16 @@ SLACKBUILD MD5SUM: 3771d8268f025b28261cc1e977fab27f
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: Farsight (Audio/Video Communications Framework)

SLACKBUILD NAME: ffms
SLACKBUILD LOCATION: ./ffms
SLACKBUILD FILES: README ffms.SlackBuild ffms.info slack-desc
SLACKBUILD VERSION: 2.17
SLACKBUILD DOWNLOAD: https://ffmpegsource.googlecode.com/files/ffms-2.17-src.tar.bz2
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: 13770e29d5215ad4b68caad44b09da07
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: ffms (a cross-platform wrapper library)

SLACKBUILD NAME: filezilla
SLACKBUILD LOCATION: ./filezilla
SLACKBUILD FILES: README doinst.sh filezilla.SlackBuild filezilla.info slack-desc
Expand Down Expand Up @@ -398,6 +428,16 @@ SLACKBUILD MD5SUM: a8c9b1f1267fbf9982266b5f36d87b2b
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: guvcview (GTK+ UVC Viewer)

SLACKBUILD NAME: harfbuzz
SLACKBUILD LOCATION: ./harfbuzz
SLACKBUILD FILES: README harfbuzz.SlackBuild harfbuzz.info slack-desc
SLACKBUILD VERSION: 20120627
SLACKBUILD DOWNLOAD: http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-20120627.tar.bz2
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: 18e6a8d847259441723a26e299792d55
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: harfbuzz (OpenType text shaping engine)

SLACKBUILD NAME: httperf
SLACKBUILD LOCATION: ./httperf
SLACKBUILD FILES: README httperf.SlackBuild httperf.info slack-desc
Expand Down Expand Up @@ -438,6 +478,16 @@ SLACKBUILD MD5SUM: 740e4749db04da0a597630dd6339b966
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: lensfun (photographic lens characteristics database library)

SLACKBUILD NAME: libass
SLACKBUILD LOCATION: ./libass
SLACKBUILD FILES: README libass.SlackBuild libass.info slack-desc
SLACKBUILD VERSION: 0.10.0
SLACKBUILD DOWNLOAD: https://libass.googlecode.com/files/libass-0.10.0.tar.xz
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: 1855bddc4c167f96968dddeeda0eb45c
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: libass (Portable ASS/SSA subtitle renderer)

SLACKBUILD NAME: libdc1394
SLACKBUILD LOCATION: ./libdc1394
SLACKBUILD FILES: README libdc1394.SlackBuild libdc1394.info slack-desc
Expand Down Expand Up @@ -670,6 +720,16 @@ SLACKBUILD MD5SUM: 629fe03f4a64eb8c7bd9308ee4e22e2e
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: WireShark (packet sniffer and protocol analyzer)

SLACKBUILD NAME: wxGTK
SLACKBUILD LOCATION: ./wxGTK
SLACKBUILD FILES: README slack-desc wxGTK.SlackBuild wxGTK.info
SLACKBUILD VERSION: 2.8.12
SLACKBUILD DOWNLOAD: http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.12.tar.gz
SLACKBUILD DOWNLOAD_x86_64:
SLACKBUILD MD5SUM: b12c78d947d89e1120443761f1b7693b
SLACKBUILD MD5SUM_x86_64:
SLACKBUILD SHORT DESCRIPTION: wxGTK (cross-platform GUI toolkit)

SLACKBUILD NAME: xchm
SLACKBUILD LOCATION: ./xchm
SLACKBUILD FILES: README slack-desc xchm.SlackBuild xchm.info
Expand Down
Binary file modified SlackBuilds/SLACKBUILDS.TXT.gz
Binary file not shown.
13 changes: 13 additions & 0 deletions SlackBuilds/aegisub/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
A general-purpose subtitle editor with ASS/SSA support

Requirements:
- PulseAudio (optional)
- OpenAL (optional)
- PortAudio (optional)
- libass (optional)
- enca (optional)
- harfbuzz (optional)
- lua (optional)
- wxWidgets + wxStyledTextCtrl
- FFmpegSource / ffms (optional)
- Scintilla
93 changes: 93 additions & 0 deletions SlackBuilds/aegisub/aegisub.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
#!/bin/sh

# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, 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 OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Changelog
# July 29: Initial Release

PRGNAM=aegisub
VERSION=2.1.9
BUILD=${BUILD:-1wsr}

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi

if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi

NUMJOBS=${NUMJOBS:-" -j7 "}

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

rm -rf $PKG
mkdir -p $TMP $PKG

cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION

LDFLAGS="$LDFLAGS -lz"
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--with-build-credit="Willy Sudiarto Raharjo" \
--build=$ARCH-slackware-linux

make $NUMJOBS || exit 1
make install DESTDIR=$PKG|| exit 1

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

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION

# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r Changelog ]; then
DOCSDIR=$(echo $PKG/usr/doc/$PRGNAM-$VERSION)
cat Changelog | head -n 1000 > $DOCSDIR/Changelog.txt
touch -r Changelog $DOCSDIR/Changelog.txt
fi

# Strip stuff:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz
7 changes: 7 additions & 0 deletions SlackBuilds/aegisub/aegisub.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PRGNAM="aegisub"
VERSION="2.1.9"
HOMEPAGE="http://www.aegisub.org/"
DOWNLOAD="http://ftp.aegisub.org/pub/releases/aegisub-2.1.9.tar.gz"
MD5SUM="878cf7e6fd9c35cc218537bac3b86c25"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
15 changes: 15 additions & 0 deletions SlackBuilds/aegisub/slack-desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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------------------------------------------------------|
aegisub: aegisub (General-purpose subtitle editor)
aegisub:
aegisub: A general-purpose subtitle editor with ASS/SSA support
aegisub:
aegisub:
aegisub: Project Site: https://code.google.com/p/aegisub/
aegisub:
7 changes: 7 additions & 0 deletions SlackBuilds/enca/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Enca detects the encoding of text files, on the basis of knowledge of their language.

It can also convert them to other encodings, allowing you to recode files without knowing
their current encoding.

Optional Requirement:
- Recode
112 changes: 112 additions & 0 deletions SlackBuilds/enca/enca.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
#!/bin/sh

# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, 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 OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Changelog
# July 30: Initial Release

PRGNAM=enca
VERSION=1.13
BUILD=${BUILD:-1wsr}

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi

if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi

NUMJOBS=${NUMJOBS:-" -j7 "}

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

rm -rf $PKG
mkdir -p $TMP $PKG

cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1
cd $PRGNAM-$VERSION

./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--disable-rpath \
--enable-gtk-doc=no \
--build=$ARCH-slackware-linux

make $NUMJOBS || exit 1
make install DESTDIR=$PKG|| exit 1

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING FAQ INSTALL README* THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -rf devel-docs/html/* $PKG/usr/doc/$PRGNAM-$VERSION

# We don't need duplicate documentations
rm -rf $PKG/usr/share/gtk-doc/

# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog.txt
touch -r ChangeLog $DOCSDIR/ChangeLog.txt
fi

if [ -d $PKG/usr/share/man ]; then
( cd $PKG/usr/share/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.*
)
done
)
fi

# Strip stuff:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

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


# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz
7 changes: 7 additions & 0 deletions SlackBuilds/enca/enca.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PRGNAM="enca"
VERSION="1.13"
HOMEPAGE="http://freecode.com/projects/enca"
DOWNLOAD="http://dl.cihar.com/enca/enca-1.13.tar.gz"
MD5SUM="58fcf1fea7eeab70b64a2d61e14a967d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
Loading

0 comments on commit 460dd87

Please sign in to comment.