diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2011-06-29 17:39:51 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-06-29 17:39:51 -0300 |
commit | 95e5870ef760d392bbc5196f15da3b011a16add3 (patch) | |
tree | 97a1ea18fb9a7d9c536dc82bf078ef0660cb9ba2 /academic/genius | |
parent | a627994d350972bb3b164eb77d80310f8200ea15 (diff) |
academic/genius: Updated for version 1.0.12.
Diffstat (limited to 'academic/genius')
-rw-r--r-- | academic/genius/doinst.sh | 6 | ||||
-rw-r--r-- | academic/genius/genius.SlackBuild | 10 | ||||
-rw-r--r-- | academic/genius/genius.info | 8 | ||||
-rw-r--r-- | academic/genius/hidden-spaces.patch | 23 |
4 files changed, 13 insertions, 34 deletions
diff --git a/academic/genius/doinst.sh b/academic/genius/doinst.sh index 0039459a0650..0788a9192c7a 100644 --- a/academic/genius/doinst.sh +++ b/academic/genius/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild index 7def2c85f670..4e9300f8ff4a 100644 --- a/academic/genius/genius.SlackBuild +++ b/academic/genius/genius.SlackBuild @@ -23,11 +23,10 @@ # PRGNAM=genius -VERSION=${VERSION:-1.0.11} +VERSION=${VERSION:-1.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -61,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,9 +75,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Appearantly, some do not know that Makefiles require tabs, not spaces... -cat $CWD/hidden-spaces.patch | patch -p1 - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/academic/genius/genius.info b/academic/genius/genius.info index d478e70cfe24..c30cdd3b51d2 100644 --- a/academic/genius/genius.info +++ b/academic/genius/genius.info @@ -1,10 +1,10 @@ PRGNAM="genius" -VERSION="1.0.11" +VERSION="1.0.12" HOMEPAGE="http://www.5z.com/jirka/genius.html" -DOWNLOAD="http://ftp.5z.com/pub/genius/genius-1.0.11.tar.bz2" -MD5SUM="7f4fdc29237c9f68a7b2b139b7788968" +DOWNLOAD="http://ftp.5z.com/pub/genius/genius-1.0.12.tar.xz" +MD5SUM="09bbf44917e5e5b31fcf1ee906c42e00" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Vincent Batts" EMAIL="vbatts@hashbangbash.com" -APPROVED="dsomero" +APPROVED="Niels Horn" diff --git a/academic/genius/hidden-spaces.patch b/academic/genius/hidden-spaces.patch deleted file mode 100644 index 64e28883872f..000000000000 --- a/academic/genius/hidden-spaces.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -uar genius-1.0.11.orig//gtkextra/Makefile.in genius-1.0.11//gtkextra/Makefile.in ---- genius-1.0.11.orig//gtkextra/Makefile.in 2010-09-10 01:49:00.000000000 -0400 -+++ genius-1.0.11//gtkextra/Makefile.in 2010-09-27 22:33:46.531620992 -0400 -@@ -800,13 +800,13 @@ - - - $(srcdir)/gtkextra-marshal.h: gtkextra-marshal.list -- ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --header > gtkextra-marshal.tmp \ -- && mv gtkextra-marshal.tmp gtkextra-marshal.h ) \ -- || ( rm -f gtkextra-marshal.tmp && exit 1 ) -+ ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --header > gtkextra-marshal.tmp \ -+ && mv gtkextra-marshal.tmp gtkextra-marshal.h ) \ -+ || ( rm -f gtkextra-marshal.tmp && exit 1 ) - $(srcdir)/gtkextra-marshal.c: gtkextra-marshal.h -- ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --body > gtkextra-marshal.tmp \ -- && mv gtkextra-marshal.tmp gtkextra-marshal.c ) \ -- || ( rm -f gtkextra-marshal.tmp && exit 1 ) -+ ( @GLIB_GENMARSHAL@ --prefix=gtkextra gtkextra-marshal.list --body > gtkextra-marshal.tmp \ -+ && mv gtkextra-marshal.tmp gtkextra-marshal.c ) \ -+ || ( rm -f gtkextra-marshal.tmp && exit 1 ) - - $(srcdir)/gtkextratypebuiltins.h: $(public_h_sources) - ( cd $(srcdir) && glib-mkenums \ |