From 5d102c55b81e5388137baca21560bec6802c9217 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Wed, 12 May 2010 17:41:25 +0200 Subject: [PATCH] libraries/libkipi: Updated for version 0.1.6 --- libraries/libkipi/README | 9 ++++----- libraries/libkipi/libkipi.SlackBuild | 21 +++++++-------------- libraries/libkipi/libkipi.info | 4 ++-- libraries/libkipi/slack-desc | 22 +++++++++++----------- 4 files changed, 24 insertions(+), 32 deletions(-) diff --git a/libraries/libkipi/README b/libraries/libkipi/README index 237d99337e..ead8466c30 100644 --- a/libraries/libkipi/README +++ b/libraries/libkipi/README @@ -1,5 +1,4 @@ -Kipi is an effort to develop a common plugin structure -for digiKam, KimDaBa, ShowImg, and Gwenview. Its aim is -to share image plugins among graphic applications. Kipi -is based on the old digiKam plugins implementation and -is maintained by the digiKam team. +Kipi is an effort to develop a common plugin structure for digiKam, +KimDaBa, ShowImg, and Gwenview. Its aim is to share image plugins +among graphic applications. Kipi is based on the old digiKam plugins +implementation and is maintained by the digiKam team. diff --git a/libraries/libkipi/libkipi.SlackBuild b/libraries/libkipi/libkipi.SlackBuild index 8be2e202bb..98bd2a1db9 100644 --- a/libraries/libkipi/libkipi.SlackBuild +++ b/libraries/libkipi/libkipi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libKipi -# Copyright 2007-2008 Frank Caraballo +# Copyright 2007, 2008 Frank Caraballo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libkipi -VERSION=0.1.6 +VERSION=${VERSION:-0.1.6} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev TODO" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -47,9 +45,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -65,20 +62,16 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=$KDEPREF \ --sysconfdir=/etc \ --localstatedir=/var \ - --program-prefix="" \ - --program-suffix="" \ - --disable-debug \ - --enable-shared=yes \ - --enable-static=no \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 make install-strip DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; find $PKG -type d -depth -exec rmdir {} \; 2>/dev/null diff --git a/libraries/libkipi/libkipi.info b/libraries/libkipi/libkipi.info index 4f8daabf79..61eec84ece 100644 --- a/libraries/libkipi/libkipi.info +++ b/libraries/libkipi/libkipi.info @@ -1,8 +1,8 @@ PRGNAM="libkipi" VERSION="0.1.6" -HOMEPAGE="http://extragear.kde.org/apps/kipi/" +HOMEPAGE="http://www.kipi-plugins.org/" DOWNLOAD="http://downloads.sourceforge.net/kipi/libkipi-0.1.6.tar.bz2" MD5SUM="6fd010aa8eab7039143f69543e806c65" MAINTAINER="Frank Caraballo" EMAIL="fecaraballo{at}gmail{dot}com" -APPROVED="David Somero" \ No newline at end of file +APPROVED="Michiel" \ No newline at end of file diff --git a/libraries/libkipi/slack-desc b/libraries/libkipi/slack-desc index 7bd2964825..cf680cc627 100644 --- a/libraries/libkipi/slack-desc +++ b/libraries/libkipi/slack-desc @@ -1,19 +1,19 @@ # 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 ':'. +# 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------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| libkipi: libKipi (KDE Image Plugin Interface) libkipi: -libkipi: Kipi is an effort to develop a common plugin structure -libkipi: for digiKam, KimDaBa, ShowImg, and Gwenview. Its aim is -libkipi: to share image plugins among graphic applications. Kipi -libkipi: is based on the old digiKam plugins implementation and -libkipi: is maintained by the digiKam team. +libkipi: Kipi is an effort to develop a common plugin structure for digiKam, +libkipi: KimDaBa, ShowImg, and Gwenview. Its aim is to share image plugins +libkipi: among graphic applications. Kipi is based on the old digiKam plugins +libkipi: implementation and is maintained by the digiKam team. +libkipi: +libkipi: Homepage: http://www.kipi-plugins.org/ libkipi: -libkipi: Homepage: http://extragear.kde.org/apps/kipi/ libkipi: libkipi: