diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2016-11-23 07:58:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-23 07:58:48 +0700 |
commit | b91b92367ae9297f9e6c773daeae0aac9def7b6d (patch) | |
tree | bc432caa451e561f9fbc5906935e3c03cfdbdf9a /graphics/viewnior | |
parent | 58149f25adf407588e1ce6e70fed0e1aff6cf656 (diff) | |
download | slackbuilds-b91b92367ae9297f9e6c773daeae0aac9def7b6d.tar.gz |
graphics/viewnior: Updated for version 1.6, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/viewnior')
-rw-r--r-- | graphics/viewnior/README | 4 | ||||
-rw-r--r-- | graphics/viewnior/viewnior.SlackBuild | 41 | ||||
-rw-r--r-- | graphics/viewnior/viewnior.info | 12 |
3 files changed, 38 insertions, 19 deletions
diff --git a/graphics/viewnior/README b/graphics/viewnior/README index f8b0d873d8..d333058e6b 100644 --- a/graphics/viewnior/README +++ b/graphics/viewnior/README @@ -6,5 +6,5 @@ your images. Viewnior is inspired by big projects like Eye of Gnome, because of its usability and richness, and by GPicView, because of its lightweight design and minimal interface. -Viewnior is written in C (GTK+) and uses modified version of the GtkImageView -library by Bjourn Lindqvist. +Viewnior is written in C (GTK+) and uses modified version of the +GtkImageView library by Bjourn Lindqvist. diff --git a/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild index d8b41bd7ca..9d208418b6 100644 --- a/graphics/viewnior/viewnior.SlackBuild +++ b/graphics/viewnior/viewnior.SlackBuild @@ -1,16 +1,36 @@ #!/bin/sh - -# Slackware build script for Viewnior +# +# Slackware build script for viewnior. +# # Written by Šime Ramov <s@ramov.com> +# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# 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 OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=viewnior -VERSION=${VERSION:-1.3} +VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -42,6 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz +mv Viewnior-$PRGNAM-$VERSION $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -50,10 +71,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Add '--enable-wallpaper' to the list of configure options if you -# want the ability to set an image as wallpaper. Please note this only -# works in GNOME environment and requires GConf, which in turn -# requires ORBit2. +./autogen.sh + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -71,7 +90,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + AUTHORS COPYING ChangeLog-20090517 INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/viewnior/viewnior.info b/graphics/viewnior/viewnior.info index dd37984410..c06774e3cd 100644 --- a/graphics/viewnior/viewnior.info +++ b/graphics/viewnior/viewnior.info @@ -1,10 +1,10 @@ PRGNAM="viewnior" -VERSION="1.3" +VERSION="1.6" HOMEPAGE="http://xsisqox.github.com/Viewnior/" -DOWNLOAD="http://cloud.github.com/downloads/xsisqox/Viewnior/viewnior-1.3.tar.gz" -MD5SUM="273c379933ae3e74ad414fde00198695" +DOWNLOAD="https://github.com/xsisqox/Viewnior/archive/viewnior-1.6.tar.gz" +MD5SUM="f7d497360c48ce4bce09328d934cc4a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Šime Ramov" -EMAIL="s@ramov.com" +REQUIRES="gnome-common" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" |