summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-04-07 20:25:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-07 20:25:12 +0700
commit0ac74b035f0dcd38097726f24a471d628fdb0e1b (patch)
treea7f530ee35e940704c241cbd683dc5cd8a8752d5 /misc
parent1dde5e01aba932b9b01ac9d1984ddcac50951729 (diff)
downloadslackbuilds-0ac74b035f0dcd38097726f24a471d628fdb0e1b.tar.gz
misc/stardict: Updated for version 3.0.6 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/stardict/README7
-rw-r--r--misc/stardict/doinst.sh1
-rw-r--r--misc/stardict/slack-desc2
-rw-r--r--misc/stardict/stardict.SlackBuild32
-rw-r--r--misc/stardict/stardict.info14
5 files changed, 24 insertions, 32 deletions
diff --git a/misc/stardict/README b/misc/stardict/README
index 88fe820b6f..8b4aa4930e 100644
--- a/misc/stardict/README
+++ b/misc/stardict/README
@@ -1,4 +1,3 @@
-StarDict is a Cross-Platform and international dictionary Software. It has
-powerful features such as "Glob-style pattern matching", "Scan selection
-word," "Fuzzy query," etc. Stardict Version3.0 has developed a lot of
-new functions, such as Full-text translation, Net Dict.
+StarDict is a Cross-Platform and international dictionary
+written in Gtk. It has powerful features such as "Glob-style
+pattern matching", "Scan selection word," "Fuzzy query," etc.
diff --git a/misc/stardict/doinst.sh b/misc/stardict/doinst.sh
index e4e6459838..9a8ded3c60 100644
--- a/misc/stardict/doinst.sh
+++ b/misc/stardict/doinst.sh
@@ -5,4 +5,3 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
diff --git a/misc/stardict/slack-desc b/misc/stardict/slack-desc
index 7937d0e5db..c537bb1eae 100644
--- a/misc/stardict/slack-desc
+++ b/misc/stardict/slack-desc
@@ -12,7 +12,7 @@ stardict: StarDict is a Cross-Platform and international dictionary written
stardict: in Gtk2. It has powerful features such as "Glob-style pattern
stardict: matching," "Scan selection word," "Fuzzy query," etc.
stardict:
-stardict: Homepage: http://stardict.sourceforge.net/
+stardict: http://stardict-4.sourceforge.net/
stardict:
stardict:
stardict:
diff --git a/misc/stardict/stardict.SlackBuild b/misc/stardict/stardict.SlackBuild
index d4df5c9396..8cb3067cdd 100644
--- a/misc/stardict/stardict.SlackBuild
+++ b/misc/stardict/stardict.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
-
# Slackware build script for StarDict
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2008-2009 Murat D. Kadirov <banderols@gmail.com>
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
@@ -24,8 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=stardict
-VERSION=${VERSION:-3.0.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -41,6 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+DOCS="AUTHORS COPYING ChangeLog INSTALL README"
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -65,19 +68,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
-
-# See http://www.stardict.org/forum/viewtopic.php?f=5&t=246
-patch src/eggtrayicon.c -p1 < $CWD/patches/stardict-transparent.patch
-
-# Incorporate some fixes for gcc44 into a deb patch for gcc43
-patch -p1 < $CWD/patches/fixup_build_on_gcc44.patch
-
-# Fix building against gcc-4.7.x
-patch -p1 < $CWD/patches/stardict-3.0.1-gcc47.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -94,19 +88,19 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-gnome-support \
--disable-schemas-install \
--disable-updateinfo \
+ --disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog README TODO doc/FAQ doc/HACKING \
- doc/HowToCreateDictionary doc/Translation doc/StarDictFileFormat \
+cp -a $DOCS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/misc/stardict/stardict.info b/misc/stardict/stardict.info
index 3a70d0488b..09af4fbf62 100644
--- a/misc/stardict/stardict.info
+++ b/misc/stardict/stardict.info
@@ -1,10 +1,10 @@
PRGNAM="stardict"
-VERSION="3.0.1"
-HOMEPAGE="http://stardict.sourceforge.net/"
-DOWNLOAD="http://stardict-3.googlecode.com/files/stardict-3.0.1.tar.bz2"
-MD5SUM="93bb2d7825bc9d52a4f9ba4c1c506d1d"
+VERSION="3.0.6"
+HOMEPAGE="http://stardict-4.sourceforge.net/"
+DOWNLOAD="http://sourceforge.net/projects/stardict-4/files/3.0.6/stardict-3.0.6.tar.bz2"
+MD5SUM="93371b35482e6380e8bd4ba5d256b864"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Binh Nguyen"
-EMAIL="binhvng@gmail.com"
+REQUIRES="rarian"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"