summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gwenview/README9
-rw-r--r--graphics/gwenview/doinst.sh14
-rw-r--r--graphics/gwenview/exiv2-soname5.diff46
-rw-r--r--graphics/gwenview/gwenview.SlackBuild78
-rw-r--r--graphics/gwenview/gwenview.info8
-rw-r--r--graphics/gwenview/slack-desc19
6 files changed, 0 insertions, 174 deletions
diff --git a/graphics/gwenview/README b/graphics/gwenview/README
deleted file mode 100644
index 651d58abc7..0000000000
--- a/graphics/gwenview/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Gwenview is a fast and easy to use image viewer for KDE.
-It features a folder tree window as well as a file list window
-to provide easy navigation among your images. Gwenview can either
-be used as standalone application or embedded in Konqueror via KParts.
-
-Internationalization files are available in the gwenview-i18n package.
-
-Gwenview depends on exiv2 (mandatory) and libkipi (optional), both of
-which are available from SlackBuilds.org.
diff --git a/graphics/gwenview/doinst.sh b/graphics/gwenview/doinst.sh
deleted file mode 100644
index 9830478e8c..0000000000
--- a/graphics/gwenview/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-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/graphics/gwenview/exiv2-soname5.diff b/graphics/gwenview/exiv2-soname5.diff
deleted file mode 100644
index 7020df0d91..0000000000
--- a/graphics/gwenview/exiv2-soname5.diff
+++ /dev/null
@@ -1,46 +0,0 @@
---- src/imageutils/jpegcontent.cpp.orig 2009-01-09 22:54:12.000000000 +0500
-+++ src/imageutils/jpegcontent.cpp 2009-01-09 22:56:48.000000000 +0500
-@@ -47,6 +47,17 @@
- #include "imageutils/jpegcontent.h"
- #include "imageutils/jpegerrormanager.h"
-
-+// Make sure an EXIV2_TEST_VERSION macro exists:
-+
-+#ifdef EXIV2_VERSION
-+# ifndef EXIV2_TEST_VERSION
-+# define EXIV2_TEST_VERSION(major,minor,patch) \
-+ ( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) )
-+# endif
-+#else
-+# define EXIV2_TEST_VERSION(major,minor,patch) (false)
-+#endif
-+
- namespace ImageUtils {
-
- const int INMEM_DST_DELTA=4096;
-@@ -589,7 +600,12 @@
- QImage JPEGContent::thumbnail() const {
- QImage image;
- if (!d->mExifData.empty()) {
-+#if (EXIV2_TEST_VERSION(0,17,91))
-+ Exiv2::ExifThumbC thumb(d->mExifData);
-+ Exiv2::DataBuf const thumbnail = thumb.copy();
-+#else
- Exiv2::DataBuf thumbnail = d->mExifData.copyThumbnail();
-+#endif
- image.loadFromData(thumbnail.pData_, thumbnail.size_);
- }
- return image;
-@@ -611,7 +627,12 @@
- return;
- }
-
-+#if (EXIV2_TEST_VERSION(0,17,91))
-+ Exiv2::ExifThumb thumb(d->mExifData);
-+ thumb.setJpegThumbnail((unsigned char*)array.data(), array.size());
-+#else
- d->mExifData.setJpegThumbnail((unsigned char*)array.data(), array.size());
-+#endif
- }
-
-
diff --git a/graphics/gwenview/gwenview.SlackBuild b/graphics/gwenview/gwenview.SlackBuild
deleted file mode 100644
index 135fccd627..0000000000
--- a/graphics/gwenview/gwenview.SlackBuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for gwenview
-# (C) 2009 Michael Wagner <slackware.wagnerm@arcor.de>
-# 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=gwenview
-VERSION=1.4.2
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCS="AUTHORS COPYING* INSTALL NEWS README"
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-# Patch gwenview to compile with libexiv2.so.{4,5}
-patch -p0 < $CWD/exiv2-soname5.diff
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man
-
-make
-make install-strip DESTDIR=$PKG
-
-gzip -9 $PKG/usr/man/man1/* 2> /dev/null
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/graphics/gwenview/gwenview.info b/graphics/gwenview/gwenview.info
deleted file mode 100644
index cf37c2610b..0000000000
--- a/graphics/gwenview/gwenview.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="gwenview"
-VERSION="1.4.2"
-HOMEPAGE="http://gwenview.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/gwenview/gwenview-1.4.2.tar.bz2"
-MD5SUM="33c3fc68224d57f5f5cc4d34b48293c6"
-MAINTAINER="Michael Wagner"
-EMAIL="slackware.wagnerm@arcor.de"
-APPROVED="rworkman"
diff --git a/graphics/gwenview/slack-desc b/graphics/gwenview/slack-desc
deleted file mode 100644
index 6dfe459fea..0000000000
--- a/graphics/gwenview/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-gwenview: Gwenview Image Viewer (image viewer for KDE)
-gwenview:
-gwenview: Gwenview is a fast and easy to use image viewer for KDE.
-gwenview: It features a folder tree window as well as a file list window
-gwenview: to provide easy navigation among your images. Gwenview can either
-gwenview: be used as standalone application or embedded in Konqueror via
-gwenview: KParts.
-gwenview: Internationalization files are available in an extra package.
-gwenview:
-gwenview: Homepage: http://gwenview.sourceforge.net
-gwenview: