summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:44 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:07:44 +0200
commit30bf8f79d2d2de36748ad2eddc86e43b01173d04 (patch)
treea4ff3346d60c5ba9058984b92d528b351a7a65bf /graphics
parentb504de9ef0d6d2d5b62e21652dbca8bf7d33261f (diff)
downloadslackbuilds-30bf8f79d2d2de36748ad2eddc86e43b01173d04.tar.gz
graphics/djvulibre: Removed from 13.0 repository
Diffstat (limited to 'graphics')
-rw-r--r--graphics/djvulibre/README15
-rw-r--r--graphics/djvulibre/djvulibre.SlackBuild86
-rw-r--r--graphics/djvulibre/djvulibre.info8
-rw-r--r--graphics/djvulibre/doinst.sh4
-rw-r--r--graphics/djvulibre/slack-desc19
5 files changed, 0 insertions, 132 deletions
diff --git a/graphics/djvulibre/README b/graphics/djvulibre/README
deleted file mode 100644
index baf4692956..0000000000
--- a/graphics/djvulibre/README
+++ /dev/null
@@ -1,15 +0,0 @@
-DjVu is a web-centric format and software platform for distributing
-documents and images. DjVu can advantageously replace PDF, PS, TIFF,
-JPEG, and GIF for distributing scanned documents, digital documents,
-or high-resolution pictures. DjVu content downloads faster, displays
-and renders faster, looks nicer on a screen, and consume less client
-resources than competing formats. DjVu images display instantly and can
-be smoothly zoomed and panned with no lengthy re-rendering. DjVu is used
-by hundreds of academic, commercial, governmental, and non-commercial
-web sites around the world.
-
-DjVuLibre includes a standalone viewer, a browser plug-in (for Mozilla,
-Firefox, Konqueror, Netscape, Galeon, and Opera), and command line tools
-(decoders, encoders, utilities). DjVuLibre works under Unix with X11.
-
-Requires xdg-utils (also available from SlackBuilds.org).
diff --git a/graphics/djvulibre/djvulibre.SlackBuild b/graphics/djvulibre/djvulibre.SlackBuild
deleted file mode 100644
index 8886d5e4d9..0000000000
--- a/graphics/djvulibre/djvulibre.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for djvulibre
-
-# Written by Murat D. Kadirov <banderols@gmail.com>
-
-PRGNAM=djvulibre
-VERSION=${VERSION:-3.5.20}
-SUBVERSION=${SUBVERSION:-5}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-$SUBVERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make || MAKEFLAGS="" make -j1 # djvu doesn't like parallel building :)
-make install DESTDIR=$PKG
-
-# This plugin *should* work with Mozilla-based browsers
-mv $PKG/usr/lib/netscape $PKG/usr/lib/mozilla
-
-mkdir -p $PKG/usr/share/{applications,pixmaps,mime/packages}
-cp $PKG/usr/share/djvu/osi/desktop/djvulibre-mime.xml \
- $PKG/usr/share/mime/packages
-cp $PKG/usr/share/djvu/djview3/desktop/*.desktop \
- $PKG/usr/share/applications
-cp $PKG/usr/share/djvu/djview3/desktop/hi32-djview3.png \
- $PKG/usr/share/pixmaps/djvulibre-djview3.png
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING COPYRIGHT INSTALL NEWS README* TODO doc/ $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-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.$SUBVERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/graphics/djvulibre/djvulibre.info b/graphics/djvulibre/djvulibre.info
deleted file mode 100644
index 30985826a0..0000000000
--- a/graphics/djvulibre/djvulibre.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="djvulibre"
-VERSION="3.5.20-5"
-HOMEPAGE="http://djvu.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/djvu/djvulibre-3.5.20-5.tar.gz"
-MD5SUM="33cf30382c0408ac29391d7bebf781b0"
-MAINTAINER="Murat D. Kadirov"
-EMAIL="banderols@gmail.com"
-APPROVED="David Somero,rworkman"
diff --git a/graphics/djvulibre/doinst.sh b/graphics/djvulibre/doinst.sh
deleted file mode 100644
index 30e9186eeb..0000000000
--- a/graphics/djvulibre/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/share/djvu/osi/desktop/register-djvu-mime ]; then
- /usr/share/djvu/osi/desktop/register-djvu-mime install
-fi
-
diff --git a/graphics/djvulibre/slack-desc b/graphics/djvulibre/slack-desc
deleted file mode 100644
index f69b2791d9..0000000000
--- a/graphics/djvulibre/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--------------------------------------------|
-djvulibre: djvulibre (Open source implementation of DjVu)
-djvulibre:
-djvulibre: DjVuLibre includes a standalone viewer, a browser plug-in
-djvulibre: (for Mozilla, Firefox, Konqueror, Netscape, Galeon, and
-djvulibre: Opera), and command line tools (decoders, encoders,
-djvulibre: utilities). DjVuLibre works under Unix with X11.
-djvulibre:
-djvulibre:
-djvulibre:
-djvulibre:
-djvulibre: