summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/kipi-plugins/README3
-rw-r--r--graphics/kipi-plugins/kipi-plugins.SlackBuild30
-rw-r--r--graphics/kipi-plugins/kipi-plugins.info12
-rw-r--r--graphics/kipi-plugins/slack-desc8
4 files changed, 30 insertions, 23 deletions
diff --git a/graphics/kipi-plugins/README b/graphics/kipi-plugins/README
index 3b68985494..fa094df7cc 100644
--- a/graphics/kipi-plugins/README
+++ b/graphics/kipi-plugins/README
@@ -7,5 +7,4 @@ as many or as few as you like, from within host programs.
The following programs are required to build Kipi Plugins:
(also available at http://www.slackbuilds.org/)
- exiv2, imlib2, libgphoto2, libkipi
-
+exiv2, imlib2, libgphoto2, libkdcraw, libkipi
diff --git a/graphics/kipi-plugins/kipi-plugins.SlackBuild b/graphics/kipi-plugins/kipi-plugins.SlackBuild
index f78dcd7547..bc68a05b46 100644
--- a/graphics/kipi-plugins/kipi-plugins.SlackBuild
+++ b/graphics/kipi-plugins/kipi-plugins.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Kipi Plugins
-# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
+# Copyright 2007 Frank Caraballo <fecaraballo{at}gmail{dot}com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,24 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit 1
-fi
-
PRGNAM=kipi-plugins
-VERSION=0.1.3
+VERSION=0.1.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+KDEPREF=$(kde-config --prefix)
-PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README TODO"
+PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -51,25 +45,31 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --prefix=$KDEPREF \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=$KDEPREF/man \
+ --program-prefix="" \
+ --program-suffix="" \
+ --disable-debug \
+ --enable-shared=yes \
+ --enable-static=no \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
-( cd $PKG/opt/kde/man
+( cd $PKG/$KDEPREF/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/kipi-plugins/kipi-plugins.info b/graphics/kipi-plugins/kipi-plugins.info
index 6fae1d9389..5d35a4ce0f 100644
--- a/graphics/kipi-plugins/kipi-plugins.info
+++ b/graphics/kipi-plugins/kipi-plugins.info
@@ -1,8 +1,8 @@
PRGNAM="kipi-plugins"
-VERSION="0.1.3"
+VERSION="0.1.4"
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
-DOWNLOAD="http://dl.sourceforge.net/kipi/kipi-plugins-0.1.3.tar.bz2"
-MD5SUM="7b8e55906b5d08280ab3ad3c2b43e8ab"
-MAINTAINER="MagicMan"
-EMAIL="MagicMan07@bluebottle.com"
-APPROVED="robw810"
+DOWNLOAD="http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.4.tar.bz2"
+MD5SUM="62469960593284b62302bde75a898c46"
+MAINTAINER="Frank Caraballo"
+EMAIL="fecaraballo{at}gmail{dot}com"
+APPROVED="rworkman"
diff --git a/graphics/kipi-plugins/slack-desc b/graphics/kipi-plugins/slack-desc
index e542d1747d..94197c9417 100644
--- a/graphics/kipi-plugins/slack-desc
+++ b/graphics/kipi-plugins/slack-desc
@@ -1,3 +1,11 @@
+# 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------------------------------------------------------|
kipi-plugins: Kipi Plugins (Plugins for libKipi)
kipi-plugins:
kipi-plugins: Kipi Plugins are additional functions for the KDE Images