summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorManfred Mueller <mmueller{at}live-modules{dot}org>2010-05-11 22:54:00 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:54:00 +0200
commit639173ecaded835479b8b62c33a8a0976b6b41d8 (patch)
tree0a4d07c93e72c0b5db9d4a254370db5b8934452d /libraries
parentb59896866f279e6f536a95f7b8c7b53d4bf4abf6 (diff)
downloadslackbuilds-639173ecaded835479b8b62c33a8a0976b6b41d8.tar.gz
libraries/gegl: Added to 12.1 repository
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gegl/README5
-rw-r--r--libraries/gegl/gegl.SlackBuild101
-rw-r--r--libraries/gegl/gegl.info8
-rw-r--r--libraries/gegl/slack-desc19
4 files changed, 133 insertions, 0 deletions
diff --git a/libraries/gegl/README b/libraries/gegl/README
new file mode 100644
index 0000000000..f969b1653f
--- /dev/null
+++ b/libraries/gegl/README
@@ -0,0 +1,5 @@
+GEGL is a graph based image processing framework offering image
+processing and compositing on large images. It is suitable for
+projects ranging from small one-off projects to interactive applications.
+
+This requires babl, which is also available at SlackBuilds.org.
diff --git a/libraries/gegl/gegl.SlackBuild b/libraries/gegl/gegl.SlackBuild
new file mode 100644
index 0000000000..392469c581
--- /dev/null
+++ b/libraries/gegl/gegl.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Slackware build script for gegl
+
+# Copyright 2008 Manfred Mueller <mmueller{at}live-modules{dot}org>
+# 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=gegl
+VERSION=0.0.18
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCS="AUTHORS COPYING COPYING.LESSER README NEWS ChangeLog INSTALL"
+
+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
+
+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
+cd $PRGNAM-$VERSION || exit 1
+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 \
+ --docdir=/usr/doc/gegl-$VERSION \
+ --enable-gtk-doc \
+ --enable-shared=yes \
+ --enable-static=no \
+ --build=$ARCH-slackware-linux \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : \
+ | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \
+ | xargs strip --strip-unneeded 2> /dev/null
+)
+
+# Add documentation:
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION || true
+cp $PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -s /usr/share/gtk-doc/html/gegl html
+)
+
+( 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 || true
+)
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/libraries/gegl/gegl.info b/libraries/gegl/gegl.info
new file mode 100644
index 0000000000..d7c97359d4
--- /dev/null
+++ b/libraries/gegl/gegl.info
@@ -0,0 +1,8 @@
+PRGNAM="gegl"
+VERSION="0.0.18"
+HOMEPAGE="http://http://www.gtk.org/"
+DOWNLOAD="ftp://ftp.gtk.org/pub/gegl/0.0/gegl-0.0.18.tar.bz2"
+MD5SUM="e458409440a7b51f446df321c3657e4d"
+MAINTAINER="Manfred Mueller"
+EMAIL="mmueller{at}live-modules{dot}org"
+APPROVED="rworkman"
diff --git a/libraries/gegl/slack-desc b/libraries/gegl/slack-desc
new file mode 100644
index 0000000000..0d7e598b70
--- /dev/null
+++ b/libraries/gegl/slack-desc
@@ -0,0 +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 ':'.
+
+ |-----handy-ruler--------------------------------------------------------|
+gegl: GEGL (Generic Graphics Library)
+gegl:
+gegl: GEGL (Generic Graphics Library) is a graph based image processing
+gegl: framework.
+gegl:
+gegl: GEGL provides infratructure to do demand based cached non destructive
+gegl: image editing on larger than RAM buffers. Through babl it provides
+gegl: support for a wide range of color models and pixel storage formats for
+gegl: input and output.
+gegl:
+gegl: