summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-01-01 00:31:48 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-01-01 00:31:48 -0500
commit6e375cceef8e1ecb7342d5b98fbaaca596ab73b1 (patch)
tree5598d0be358b7df8c8de04800d861ae24095ba24 /libraries
parent48204b8b3f7b53dfe5286a683795fc40f6cd1d4c (diff)
downloadslackbuilds-6e375cceef8e1ecb7342d5b98fbaaca596ab73b1.tar.gz
libraries/libicns: Updated for version 0.8.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libicns/README4
-rw-r--r--libraries/libicns/libicns.SlackBuild16
-rw-r--r--libraries/libicns/libicns.info6
-rw-r--r--libraries/libicns/slack-desc4
4 files changed, 13 insertions, 17 deletions
diff --git a/libraries/libicns/README b/libraries/libicns/README
index 18edf4f228..91831aefda 100644
--- a/libraries/libicns/README
+++ b/libraries/libicns/README
@@ -1,5 +1,5 @@
libicns (library for manipulating MacOS X .icns icon format)
libicns currently provides support for reading and writing icns files
-in most sizes. Also provides two utilities for manipulating files in
-the .icns format: icns2png icontainer2icns
+in most sizes. Also provides some utilities for manipulating files in
+the .icns format: icns2png icontainer2icns png2icns
diff --git a/libraries/libicns/libicns.SlackBuild b/libraries/libicns/libicns.SlackBuild
index 9a46eb90ec..baeeb4689a 100644
--- a/libraries/libicns/libicns.SlackBuild
+++ b/libraries/libicns/libicns.SlackBuild
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for icns
+# Slackware build script for libicns
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+
PRGNAM=libicns
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,11 +53,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# PNG hack needed because libpng renamed an API function in version 1.4.
-# Comment this out if you're building on an old release of Slackware that
-# still uses libpng-1.2. See http://libpng.sourceforge.net/ANNOUNCE-1.4.0.txt
-PNGHACK="-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8"
-
CFLAGS="$SLKCFLAGS $PNGHACK" \
CXXFLAGS="$SLKCFLAGS $PNGHACK" \
./configure \
@@ -74,10 +71,9 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# NEWS is a 0-byte file in 0.71, don't bother
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog DEVNOTES INSTALL README TODO \
+ AUTHORS COPYING* ChangeLog DEVNOTES NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libicns/libicns.info b/libraries/libicns/libicns.info
index 667fcdfcc3..cb58aeb3cd 100644
--- a/libraries/libicns/libicns.info
+++ b/libraries/libicns/libicns.info
@@ -1,8 +1,8 @@
PRGNAM="libicns"
-VERSION="0.7.1"
+VERSION="0.8.1"
HOMEPAGE="http://sourceforge.net/projects/icns/"
-DOWNLOAD="http://downloads.sourceforge.net/icns/libicns-0.7.1.tar.gz"
-MD5SUM="ff4624353a074c6cb51e41d145070e10"
+DOWNLOAD="http://downloads.sourceforge.net/icns/libicns-0.8.1.tar.gz"
+MD5SUM="7a9b74b84ce08c5b11bdee3cad296dd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libicns/slack-desc b/libraries/libicns/slack-desc
index fc2319f551..befc8e1e34 100644
--- a/libraries/libicns/slack-desc
+++ b/libraries/libicns/slack-desc
@@ -9,8 +9,8 @@
libicns: libicns (library for manipulating MacOS X .icns icon format)
libicns:
libicns: libicns currently provides support for reading and writing icns files
-libicns: in most sizes. Also provides two utilities for manipulating files in
-libicns: the .icns format: icns2png icontainer2icns
+libicns: in most sizes. Also provides some utilities for manipulating files
+libicns: in the .icns format: icns2png icontainer2icns png2icns
libicns:
libicns:
libicns: