aboutsummaryrefslogtreecommitdiff
path: root/libs_graphics
diff options
context:
space:
mode:
Diffstat (limited to 'libs_graphics')
-rwxr-xr-xlibs_graphics/compface/compface.build57
-rw-r--r--libs_graphics/exiv2/exiv2-0.23-pkgconfigdir.patch.xzbin0 -> 428 bytes
-rwxr-xr-xlibs_graphics/exiv2/exiv2.build62
-rw-r--r--libs_graphics/gegl/babl-0.1.10-paths.patch.xzbin0 -> 652 bytes
-rw-r--r--libs_graphics/gegl/gegl-0.2.0-paths.patch.xzbin0 -> 1380 bytes
-rwxr-xr-xlibs_graphics/gegl/gegl.build96
-rwxr-xr-xlibs_graphics/jasper/jasper.build62
-rw-r--r--libs_graphics/leptonica/leptonica-1.69-zlib.patch.xzbin0 -> 260 bytes
-rwxr-xr-xlibs_graphics/leptonica/leptonica.build59
-rw-r--r--libs_graphics/libexif/fbida-2.09-cflags.patch.xzbin0 -> 320 bytes
-rw-r--r--libs_graphics/libexif/fbida-2.09-config.patch.xzbin0 -> 340 bytes
-rw-r--r--libs_graphics/libexif/fbida-2.09-extraldflags.patch.xzbin0 -> 300 bytes
-rw-r--r--libs_graphics/libexif/fbida-2.09-mandir.patch.xzbin0 -> 292 bytes
-rw-r--r--libs_graphics/libexif/fbida-2.09-nocurl.patch.xzbin0 -> 556 bytes
-rw-r--r--libs_graphics/libexif/libexif-0.6.21-pkgconfigdir.patch.xzbin0 -> 448 bytes
-rwxr-xr-xlibs_graphics/libexif/libexif.build78
-rwxr-xr-xlibs_graphics/libgphoto/libgphoto.build71
-rw-r--r--libs_graphics/libgphoto/libgphoto2-2.5.1.1-pluginsdir.patch.xzbin0 -> 420 bytes
-rw-r--r--libs_graphics/libjpeg/jpeginfo-1.6.1-manfix.patch.xzbin0 -> 304 bytes
-rw-r--r--libs_graphics/libjpeg/jpeginfo-1.6.1-paths.patch.xzbin0 -> 344 bytes
-rw-r--r--libs_graphics/libjpeg/jpegoptim-1.3.0-paths.patch.xzbin0 -> 344 bytes
-rwxr-xr-xlibs_graphics/libjpeg/libjpeg.build109
-rw-r--r--libs_graphics/liblcms/lcms2-2.4-pkgconfigdir.patch.xzbin0 -> 440 bytes
-rwxr-xr-xlibs_graphics/liblcms/liblcms.build64
-rw-r--r--libs_graphics/libmng/libmng-1.0.10-autoreconf.patch.xzbin0 -> 212044 bytes
-rw-r--r--libs_graphics/libmng/libmng-1.0.10-pkgconfig.patch.xzbin0 -> 352 bytes
-rwxr-xr-xlibs_graphics/libmng/libmng.build63
-rwxr-xr-xlibs_graphics/libopenraw/libopenraw.build61
-rwxr-xr-xlibs_graphics/libpng/libpng.build107
-rw-r--r--libs_graphics/libpng/png2ico-20021208-makefile.patch.xzbin0 -> 412 bytes
-rw-r--r--libs_graphics/libpng/pngcrush-1.7.44-makefile.patch.xzbin0 -> 348 bytes
-rwxr-xr-xlibs_graphics/librsvg/librsvg.build77
-rwxr-xr-xlibs_graphics/libtiff/libtiff.build79
-rw-r--r--libs_graphics/libtiff/tiff-4.0.3-pkgconfigdir.patch.xzbin0 -> 476 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-comparefontsbyname.patch.xzbin0 -> 240 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-cve20063376.patch.xzbin0 -> 388 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-cve20091364.patch.xzbin0 -> 268 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-fontmapcheck.patch.xzbin0 -> 252 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-gdkpixbufdir.patch.xzbin0 -> 500 bytes
-rw-r--r--libs_graphics/libwmf/libwmf-0.2.8.4-libpng15.patch.xzbin0 -> 328 bytes
-rwxr-xr-xlibs_graphics/libwmf/libwmf.build75
-rw-r--r--libs_graphics/openexr/openexr-1.7.1-cstring.patch.xzbin0 -> 400 bytes
-rw-r--r--libs_graphics/openexr/openexr-1.7.1-pkgconfigdir.patch.xzbin0 -> 336 bytes
-rwxr-xr-xlibs_graphics/openexr/openexr.build61
44 files changed, 1181 insertions, 0 deletions
diff --git a/libs_graphics/compface/compface.build b/libs_graphics/compface/compface.build
new file mode 100755
index 0000000..6b1408e
--- /dev/null
+++ b/libs_graphics/compface/compface.build
@@ -0,0 +1,57 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=compface
+VERSION=1.5.2.$(date +%Y%m%d)
+BUILD=3
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: compface
+${NAME}:
+${NAME}: Compface provides utilities and a library for converting to and from
+${NAME}: the X-Face format, a 48x48 bitmap format used to carry thumbnails of
+${NAME}: email authors in a mail header.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=https://git.metalpunks.info/${SRCNAME[0]}.git
+
+build0()
+{
+cmake \
+ -DCMAKE_C_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
+ -DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \
+ -DINSTALL_LIB_DIR:STRING="${SYS_DIR[lib]}" \
+ -DINSTALL_MAN_DIR:STRING="${SYS_DIR[man]}" \
+ -DINSTALL_PKGCONFIG_DIR:STRING="${SYS_DIR[share]}/pkgconfig" \
+.
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc README
+changelog ChangeLog
+license LICENSE.txt
+}
diff --git a/libs_graphics/exiv2/exiv2-0.23-pkgconfigdir.patch.xz b/libs_graphics/exiv2/exiv2-0.23-pkgconfigdir.patch.xz
new file mode 100644
index 0000000..114db09
--- /dev/null
+++ b/libs_graphics/exiv2/exiv2-0.23-pkgconfigdir.patch.xz
Binary files differ
diff --git a/libs_graphics/exiv2/exiv2.build b/libs_graphics/exiv2/exiv2.build
new file mode 100755
index 0000000..e471d5a
--- /dev/null
+++ b/libs_graphics/exiv2/exiv2.build
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=exiv2
+VERSION=0.23
+BUILD=2
+DEPENDS=('expat >= 2.1.0-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: exiv2
+${NAME}:
+${NAME}: Exiv2 is a C++ library and a command line utility to access image
+${NAME}: metadata.
+${NAME}:
+${NAME}: Homepage: http://www.exiv2.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.exiv2.org/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+changelog doc/ChangeLog
+chmod 0755 \
+ ${PKG}${SYS_DIR[lib]}/*.so*
+}
diff --git a/libs_graphics/gegl/babl-0.1.10-paths.patch.xz b/libs_graphics/gegl/babl-0.1.10-paths.patch.xz
new file mode 100644
index 0000000..4cc7191
--- /dev/null
+++ b/libs_graphics/gegl/babl-0.1.10-paths.patch.xz
Binary files differ
diff --git a/libs_graphics/gegl/gegl-0.2.0-paths.patch.xz b/libs_graphics/gegl/gegl-0.2.0-paths.patch.xz
new file mode 100644
index 0000000..34cfb7e
--- /dev/null
+++ b/libs_graphics/gegl/gegl-0.2.0-paths.patch.xz
Binary files differ
diff --git a/libs_graphics/gegl/gegl.build b/libs_graphics/gegl/gegl.build
new file mode 100755
index 0000000..136bfcf
--- /dev/null
+++ b/libs_graphics/gegl/gegl.build
@@ -0,0 +1,96 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gegl
+MAJOR=0.2
+VERSION=${MAJOR}.0
+BUILD=4
+DEPENDS=('glib >= 2.34.3-1')
+OPTDEPENDS=('ffmpeg >= 1.1.2-1' 'openexr >= 1.7.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gegl
+${NAME}:
+${NAME}: A library to do demand-based cached non-destructive image editing on
+${NAME}: larger than RAM buffers. Through babl, it provides support for a wide
+${NAME}: range of color models and pixel storage formats for input and output.
+${NAME}:
+${NAME}: Homepage: http://gegl.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=babl
+BABLM=0.1
+SRCVERS[0]=${BABLM}.10
+SRCPACK[0]=ftp://ftp.gtk.org/pub/${SRCNAME[0]}/${BABLM}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="LGPL3"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf \
+ ${PKG}/tmp \
+ ${PKG}${SYS_DIR[lib]}/*.la
+}
+
+SRCNAME[1]=${NAME}
+SRCVERS[1]=${VERSION}
+SRCPACK[1]=ftp://ftp.gtk.org/pub/${SRCNAME[1]}/${MAJOR}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2
+SRCCOPY[1]="GPL3 LGPL3"
+
+build1()
+{
+BABL_CFLAGS="-I${PKG}${SYS_DIR[include]}/babl-0.1" \
+BABL_LIBS="-L${PKG}${SYS_DIR[lib]} -lbabl-0.1 -lm" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir="${SYS_DIR[html]}" \
+ --disable-docs
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
diff --git a/libs_graphics/jasper/jasper.build b/libs_graphics/jasper/jasper.build
new file mode 100755
index 0000000..65dffa8
--- /dev/null
+++ b/libs_graphics/jasper/jasper.build
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=jasper
+VERSION=1.900.1
+BUILD=2
+DEPENDS=('libjpeg >= 1.2.0-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libjasper (JPEG-2000 library)
+${NAME}:
+${NAME}: The JasPer project is an open source initiative to provide a free
+${NAME}: software based reference implementation of the codec specified in the
+${NAME}: JPEG-2000 Part 1 standard (i.e., ISO/IEC 15444-1).
+${NAME}:
+${NAME}: Homepage: http://www.ece.uvic.ca/~mdadams/jasper
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.ece.uvic.ca/~mdadams/jasper/software/${SRCNAME[0]}-${SRCVERS[0]}.zip
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+changelog NEWS
+license LICENSE
+rm -f \
+${PKG}${SYS_DIR[bin]}/{jiv,tmrdemo} \
+${PKG}${SYS_DIR[man]}/man1/jiv.1
+}
diff --git a/libs_graphics/leptonica/leptonica-1.69-zlib.patch.xz b/libs_graphics/leptonica/leptonica-1.69-zlib.patch.xz
new file mode 100644
index 0000000..6c8331d
--- /dev/null
+++ b/libs_graphics/leptonica/leptonica-1.69-zlib.patch.xz
Binary files differ
diff --git a/libs_graphics/leptonica/leptonica.build b/libs_graphics/leptonica/leptonica.build
new file mode 100755
index 0000000..0ccb87b
--- /dev/null
+++ b/libs_graphics/leptonica/leptonica.build
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=leptonica
+VERSION=1.69
+BUILD=2
+DEPENDS=('libpng >= 1.5.14-1' 'libjpeg >= 1.2.0-1' 'libtiff >= 4.0.3-1' 'xz >= 5.0.4-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: leptonica
+${NAME}:
+${NAME}: An image processing and analysis library.
+${NAME}:
+${NAME}: Homepage: http://leptonica.com
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.leptonica.com/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-programs
+make ${JOBS}
+make install DESTDIR="${PKG}"
+license leptonica-license.txt
+}
diff --git a/libs_graphics/libexif/fbida-2.09-cflags.patch.xz b/libs_graphics/libexif/fbida-2.09-cflags.patch.xz
new file mode 100644
index 0000000..646d84c
--- /dev/null
+++ b/libs_graphics/libexif/fbida-2.09-cflags.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/fbida-2.09-config.patch.xz b/libs_graphics/libexif/fbida-2.09-config.patch.xz
new file mode 100644
index 0000000..cf5f17e
--- /dev/null
+++ b/libs_graphics/libexif/fbida-2.09-config.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/fbida-2.09-extraldflags.patch.xz b/libs_graphics/libexif/fbida-2.09-extraldflags.patch.xz
new file mode 100644
index 0000000..0e96eb1
--- /dev/null
+++ b/libs_graphics/libexif/fbida-2.09-extraldflags.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/fbida-2.09-mandir.patch.xz b/libs_graphics/libexif/fbida-2.09-mandir.patch.xz
new file mode 100644
index 0000000..ac6d6ad
--- /dev/null
+++ b/libs_graphics/libexif/fbida-2.09-mandir.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/fbida-2.09-nocurl.patch.xz b/libs_graphics/libexif/fbida-2.09-nocurl.patch.xz
new file mode 100644
index 0000000..269b205
--- /dev/null
+++ b/libs_graphics/libexif/fbida-2.09-nocurl.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/libexif-0.6.21-pkgconfigdir.patch.xz b/libs_graphics/libexif/libexif-0.6.21-pkgconfigdir.patch.xz
new file mode 100644
index 0000000..e9598b2
--- /dev/null
+++ b/libs_graphics/libexif/libexif-0.6.21-pkgconfigdir.patch.xz
Binary files differ
diff --git a/libs_graphics/libexif/libexif.build b/libs_graphics/libexif/libexif.build
new file mode 100755
index 0000000..ceeb8b3
--- /dev/null
+++ b/libs_graphics/libexif/libexif.build
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libexif
+VERSION=0.6.21
+BUILD=2
+DEPENDS=('libjpeg >= 1.2.0-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libexif (EXIF library)
+${NAME}:
+${NAME}: Most digital cameras produce EXIF files, which are JPEG files with
+${NAME}: extra tags that contain information about the image. The EXIF library
+${NAME}: allows you to parse an EXIF file and read the data from those tags.
+${NAME}:
+${NAME}: Homepage: http://sourceforge.net/projects/libexif
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}/${VERSION}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+rm -rf ${PKG}${SYS_DIR[share]}/doc
+}
+
+SRCNAME[1]=fbida
+SRCVERS[1]=2.09
+SRCPACK[1]=http://dl.bytesex.org/releases/fbida/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+
+build1()
+{
+make ${JOBS} verbose=yes \
+ OPTS="${FLAGS} -I${PKG}${SYS_DIR[include]}" \
+ EXTRA_LDFLAGS="-L${PKG}${SYS_DIR[lib]}"
+make install DESTDIR="${PKG}" prefix="${SYS_DIR[usr]}"
+rm -f \
+ ${PKG}${SYS_DIR[bin]}/fb{i,gs} \
+ ${PKG}${SYS_DIR[man]}/man1/fb{i,gs}.1
+}
diff --git a/libs_graphics/libgphoto/libgphoto.build b/libs_graphics/libgphoto/libgphoto.build
new file mode 100755
index 0000000..8e91cc1
--- /dev/null
+++ b/libs_graphics/libgphoto/libgphoto.build
@@ -0,0 +1,71 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libgphoto
+VERSION=2.5.1.1
+BUILD=2
+DEPENDS=('usb >= 1.0.15-1' 'libexif >= 0.6.21-1' 'libjpeg >= 1.2.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libgphoto
+${NAME}:
+${NAME}: A library that allows access by external programs to digital cameras.
+${NAME}:
+${NAME}: Homepage: http://gphoto.sf.net/proj/libgphoto2
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}2
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/gphoto/${NAME}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+sed -i 's|${libdir}/pkgconfig|${datarootdir}/pkgconfig|g' configure libgphoto2_port/configure
+sed -i 's|$(datadir)/$(PACKAGE)/$(VERSION)/konica|$(datadir)/application-data/$(PACKAGE)/$(VERSION)/konica|g' camlibs/konica/Makefile-files camlibs/konica/localization/Makefile.in
+udevscriptdir="${SYS_DIR[udevscripts]}" \
+utilsdir="${SYS_DIR[lib]}/exec" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir=${SYS_DIR[html]} \
+ --with-libusb=no
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS MAINTAINERS
+changelog NEWS
+rm -rf \
+ ${PKG}${SYS_DIR[bin]} \
+ ${PKG}${SYS_DIR[share]}/doc/${SRCNAME[0]}{,_port}
+}
diff --git a/libs_graphics/libgphoto/libgphoto2-2.5.1.1-pluginsdir.patch.xz b/libs_graphics/libgphoto/libgphoto2-2.5.1.1-pluginsdir.patch.xz
new file mode 100644
index 0000000..41042bb
--- /dev/null
+++ b/libs_graphics/libgphoto/libgphoto2-2.5.1.1-pluginsdir.patch.xz
Binary files differ
diff --git a/libs_graphics/libjpeg/jpeginfo-1.6.1-manfix.patch.xz b/libs_graphics/libjpeg/jpeginfo-1.6.1-manfix.patch.xz
new file mode 100644
index 0000000..78ce3ce
--- /dev/null
+++ b/libs_graphics/libjpeg/jpeginfo-1.6.1-manfix.patch.xz
Binary files differ
diff --git a/libs_graphics/libjpeg/jpeginfo-1.6.1-paths.patch.xz b/libs_graphics/libjpeg/jpeginfo-1.6.1-paths.patch.xz
new file mode 100644
index 0000000..3ff28bb
--- /dev/null
+++ b/libs_graphics/libjpeg/jpeginfo-1.6.1-paths.patch.xz
Binary files differ
diff --git a/libs_graphics/libjpeg/jpegoptim-1.3.0-paths.patch.xz b/libs_graphics/libjpeg/jpegoptim-1.3.0-paths.patch.xz
new file mode 100644
index 0000000..20b9828
--- /dev/null
+++ b/libs_graphics/libjpeg/jpegoptim-1.3.0-paths.patch.xz
Binary files differ
diff --git a/libs_graphics/libjpeg/libjpeg.build b/libs_graphics/libjpeg/libjpeg.build
new file mode 100755
index 0000000..0a21dc7
--- /dev/null
+++ b/libs_graphics/libjpeg/libjpeg.build
@@ -0,0 +1,109 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libjpeg
+VERSION=1.3.0
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libjpeg (JPEG library)
+${NAME}:
+${NAME}: Libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2
+${NAME}: SIMD instructions to accelerate baseline JPEG compression/
+${NAME}: decompression by about 2-4x on x86 and x86-64 platforms. It is based
+${NAME}: on libjpeg/SIMD but has numerous enhancements.
+${NAME}:
+${NAME}: Homepage: http://libjpeg-turbo.virtualgl.org
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+JPGLIBS="${PKG}${SYS_DIR[lib]}"
+
+SRCNAME[0]=${NAME}-turbo
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/files/${SRCVERS}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-jpeg8
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc README
+changelog ChangeLog.txt
+rm -rf ${PKG}${SYS_DIR[share]}
+}
+
+SRCNAME[1]=jpegoptim
+SRCVERS[1]=1.3.0
+SRCPACK[1]=http://www.kokkonen.net/tjko/src/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="GPL2"
+
+build1()
+{
+LD_LIBRARY_PATH="${PKG}${SYS_DIR[lib]}" \
+LDFLAGS="-L${JPGLIBS}" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-libjpeg="${PKG}${SYS_DIR[include]}"
+make ${JOBS}
+make install INSTALL_ROOT="${PKG}"
+doc README
+}
+
+SRCNAME[2]=jpeginfo
+SRCVERS[2]=1.6.1
+SRCPACK[2]=http://www.kokkonen.net/tjko/src/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz
+SRCCOPY[2]="GPL2"
+
+build2()
+{
+LD_LIBRARY_PATH="${PKG}${SYS_DIR[lib]}" \
+LDFLAGS="-L${JPGLIBS}" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-libjpeg="${PKG}${SYS_DIR[include]}"
+make ${JOBS}
+make install INSTALL_ROOT="${PKG}"
+doc README
+}
diff --git a/libs_graphics/liblcms/lcms2-2.4-pkgconfigdir.patch.xz b/libs_graphics/liblcms/lcms2-2.4-pkgconfigdir.patch.xz
new file mode 100644
index 0000000..885dab4
--- /dev/null
+++ b/libs_graphics/liblcms/lcms2-2.4-pkgconfigdir.patch.xz
Binary files differ
diff --git a/libs_graphics/liblcms/liblcms.build b/libs_graphics/liblcms/liblcms.build
new file mode 100755
index 0000000..771d380
--- /dev/null
+++ b/libs_graphics/liblcms/liblcms.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=liblcms
+VERSION=2.4
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: lcms (Little Color Management System)
+${NAME}:
+${NAME}: Little CMS intends to be a small-footprint, speed optimized color
+${NAME}: management engine in open source form.
+${NAME}:
+${NAME}: Homepage: http://www.littlecms.com
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=lcms2
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.littlecms.com/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --includedir="${SYS_DIR[include]}/lcms-2.0/lcms" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+#FIXME: compat
+(
+ cd ${PKG}${SYS_DIR[include]}
+ ln -sf lcms-2.0/lcms lcms2
+)
+}
diff --git a/libs_graphics/libmng/libmng-1.0.10-autoreconf.patch.xz b/libs_graphics/libmng/libmng-1.0.10-autoreconf.patch.xz
new file mode 100644
index 0000000..2745fda
--- /dev/null
+++ b/libs_graphics/libmng/libmng-1.0.10-autoreconf.patch.xz
Binary files differ
diff --git a/libs_graphics/libmng/libmng-1.0.10-pkgconfig.patch.xz b/libs_graphics/libmng/libmng-1.0.10-pkgconfig.patch.xz
new file mode 100644
index 0000000..bf56f1f
--- /dev/null
+++ b/libs_graphics/libmng/libmng-1.0.10-pkgconfig.patch.xz
Binary files differ
diff --git a/libs_graphics/libmng/libmng.build b/libs_graphics/libmng/libmng.build
new file mode 100755
index 0000000..da79970
--- /dev/null
+++ b/libs_graphics/libmng/libmng.build
@@ -0,0 +1,63 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libmng
+VERSION=1.0.10
+BUILD=2
+DEPENDS=('compat_lcms >= 1.19-1' 'libjpeg >= 1.2.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libmng (Multiple-image Network Graphics library)
+${NAME}:
+${NAME}: The MNG reference library. MNG (pronounced 'ming'), is short for
+${NAME}: Multiple-image Network Graphics. Designed with the same modular
+${NAME}: philosophy as PNG and by many of the same people, MNG is intended to
+${NAME}: provide a home for all of the multi-image (animation) capabilites
+${NAME}: that have no place in PNG.
+${NAME}:
+${NAME}: Homepage: http://www.libpng.org/pub/mng
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-devel/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+
+build0()
+{
+chmod 0755 configure config.guess config.sub install-sh ltmain.sh missing
+CPPFLAGS="-I${SYS_DIR[include]}/lcms-1.0/lcms" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+changelog CHANGES
+license LICENSE
+install.dir ${PKG}${SYS_DIR[share]}/pkgconfig
+install.dat libmng.pc ${PKG}${SYS_DIR[share]}/pkgconfig
+}
diff --git a/libs_graphics/libopenraw/libopenraw.build b/libs_graphics/libopenraw/libopenraw.build
new file mode 100755
index 0000000..4cc43f1
--- /dev/null
+++ b/libs_graphics/libopenraw/libopenraw.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libopenraw
+VERSION=0.0.9
+BUILD=1
+DEPENDS=('glib >= 2.28.8-1' 'libxml >= 2.7.8-1' 'gdk_pixbuf >= 2.24.0-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libopenraw
+${NAME}:
+${NAME}: A library for decoding camera RAW files.
+${NAME}:
+${NAME}: Homepage: http://libopenraw.freedesktop.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://${SRCNAME[0]}.freedesktop.org/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL3 LGPL3"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix=/usr \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib$(libdirsuffix) \
+ --localstatedir=/var
+# --disable-gnome
+make -j 2
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
diff --git a/libs_graphics/libpng/libpng.build b/libs_graphics/libpng/libpng.build
new file mode 100755
index 0000000..e43225d
--- /dev/null
+++ b/libs_graphics/libpng/libpng.build
@@ -0,0 +1,107 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libpng
+VERSION=1.5.14
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libpng (Portable Network Graphics library)
+${NAME}:
+${NAME}: PNG (Portable Network Graphics) is an extensible file format for the
+${NAME}: lossless, portable, well-compressed storage of raster images. PNG
+${NAME}: provides a patent-free replacement for GIF and can also replace many
+${NAME}: common uses of TIFF. Indexed-color, grayscale, and truecolor images
+${NAME}: are supported, plus an optional alpha channel. Sample depths range
+${NAME}: from 1 to 16 bits.
+${NAME}:
+${NAME}: Homepage: http://www.libpng.org
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.simplesystems.org/pub/libpng/png/src/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-pkgconfigdir="${SYS_DIR[share]}/pkgconfig"
+#FIXME: ZLIBLIB=${SYS_DIR[lib]} when libraries package is rebuilt
+make ${JOBS} \
+ prefix=/usr \
+ LIBPATH="${SYS_DIR[lib]}" \
+ ZLIBLIB="-L/usr/lib$(libdirsuffix) -lm -lz"
+make install DESTDIR="${PKG}" \
+ prefix=/usr \
+ LIBPATH="${SYS_DIR[lib]}" \
+ ZLIBLIB="-L/usr/lib$(libdirsuffix) -lm -lz"
+changelog CHANGES
+license LICENSE
+(
+ cd ${PKG}${SYS_DIR[include]}
+ ln -sf libpng15 libpng
+)
+rm -f \
+ ${PKG}${SYS_DIR[bin]}/*-config \
+ ${PKG}${SYS_DIR[lib]}/*.la
+}
+
+SRCNAME[1]=pngcrush
+SRCVERS[1]=1.7.44
+SRCPACK[1]=${URL[sf]}/pmt/${SRCNAME[1]}/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+
+build1()
+{
+make ${JOBS} \
+ OPTS="${FLAGS}" \
+ CPPFLAGS="-I${PKG}${SYS_DIR[include]}/libpng-1.5" \
+ LIBS="-L${PKG}${SYS_DIR[lib]} -lpng15 -lm"
+doc ChangeLog.html
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin pngcrush ${PKG}${SYS_DIR[bin]}
+}
+
+SRCNAME[2]=png2ico
+SRCVERS[2]=20021208
+SRCPACK[2]=${SRCNAME[2]}-src-2002-12-08.tar.gz
+SRCROOT[2]=${SRCNAME[2]}
+SRCCOPY[2]="GPL2"
+
+build2()
+{
+make ${JOBS} \
+ DEBUG="" \
+ OPTFLAGS="${FLAGS}" \
+ CPPFLAGS="-I${PKG}${SYS_DIR[include]}" \
+ LDFLAGS="-L${PKG}${SYS_DIR[lib]} -lpng15 -lz -lm"
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin png2ico ${PKG}${SYS_DIR[bin]}
+install.dir ${PKG}${SYS_DIR[man]}/man1
+install.dat doc/png2ico.1 ${PKG}${SYS_DIR[man]}/man1
+}
diff --git a/libs_graphics/libpng/png2ico-20021208-makefile.patch.xz b/libs_graphics/libpng/png2ico-20021208-makefile.patch.xz
new file mode 100644
index 0000000..b059bba
--- /dev/null
+++ b/libs_graphics/libpng/png2ico-20021208-makefile.patch.xz
Binary files differ
diff --git a/libs_graphics/libpng/pngcrush-1.7.44-makefile.patch.xz b/libs_graphics/libpng/pngcrush-1.7.44-makefile.patch.xz
new file mode 100644
index 0000000..3524c62
--- /dev/null
+++ b/libs_graphics/libpng/pngcrush-1.7.44-makefile.patch.xz
Binary files differ
diff --git a/libs_graphics/librsvg/librsvg.build b/libs_graphics/librsvg/librsvg.build
new file mode 100755
index 0000000..8305ca0
--- /dev/null
+++ b/libs_graphics/librsvg/librsvg.build
@@ -0,0 +1,77 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=librsvg
+MAJOR=2.37
+VERSION=${MAJOR}.0
+BUILD=2
+DEPENDS=('gdk_pixbuf >= 2.28.0-1' 'pango >= 1.34.0-1' 'libcroco >= 0.6.8-1')
+OPTIONS="symprepend"
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: librsvg (SVG library)
+${NAME}:
+${NAME}: Handles Scalable Vector Graphics (SVG).
+${NAME}:
+${NAME}: Homepage: http://librsvg.sourceforge.net
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+# Add the gdk-pixbuf loader to the cache
+
+if [ -x ${SYS_DIR[bin]}/gdk-pixbuf-query-loaders ]; then
+ ${SYS_DIR[bin]}/gdk-pixbuf-query-loaders --update-cache
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="LGPL2 GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in
+sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|g' gtk-engine/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-introspection=no \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir="${SYS_DIR[html]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+# No development docs
+rm -rf ${PKG}${SYS_DIR[html]}
+}
diff --git a/libs_graphics/libtiff/libtiff.build b/libs_graphics/libtiff/libtiff.build
new file mode 100755
index 0000000..c9bc629
--- /dev/null
+++ b/libs_graphics/libtiff/libtiff.build
@@ -0,0 +1,79 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libtiff
+MAJOR=4.0
+VERSION=${MAJOR}.3
+BUILD=2
+DEPENDS=('libjpeg >= 1.2.1-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libtiff (a library for reading and writing TIFF files)
+${NAME}:
+${NAME}: This package provides support for the Tag Image File Format (TIFF),
+${NAME}: a widely used format for storing image data. Included is the libtiff
+${NAME}: library (for reading and writing TIFF files), and a collection of
+${NAME}: tools for working with TIFF images.
+${NAME}:
+${NAME}: Homepage: http://www.libtiff.org
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=tiff
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.remotesensing.org/pub/${NAME}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --includedir="${SYS_DIR[include]}/tiff-${MAJOR}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-docdir="${SYS_DIR[html]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+changelog ChangeLog
+license COPYRIGHT
+(
+ cd ${PKG}${SYS_DIR[man]}/man3
+ for manpage in *.3tiff; do
+ mv ${manpage} $(basename ${manpage} .3tiff).3
+ done
+)
+#FIXME: compat, this should dissapear one of these days
+(
+ cd ${PKG}${SYS_DIR[include]}
+ for header in ${PKG}${SYS_DIR[include]}/tiff-${MAJOR}/*.h; do
+ ln -sf ${SYS_DIR[include]}/tiff-${MAJOR}/${header##*/}
+ done
+)
+# Let's get rid of the html stuff as it doesn't add much
+rm -rf ${PKG}${SYS_DIR[html]}
+}
diff --git a/libs_graphics/libtiff/tiff-4.0.3-pkgconfigdir.patch.xz b/libs_graphics/libtiff/tiff-4.0.3-pkgconfigdir.patch.xz
new file mode 100644
index 0000000..8cef247
--- /dev/null
+++ b/libs_graphics/libtiff/tiff-4.0.3-pkgconfigdir.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-comparefontsbyname.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-comparefontsbyname.patch.xz
new file mode 100644
index 0000000..ecd8873
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-comparefontsbyname.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-cve20063376.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-cve20063376.patch.xz
new file mode 100644
index 0000000..3d04c74
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-cve20063376.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-cve20091364.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-cve20091364.patch.xz
new file mode 100644
index 0000000..193fc12
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-cve20091364.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-fontmapcheck.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-fontmapcheck.patch.xz
new file mode 100644
index 0000000..6e2fd42
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-fontmapcheck.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-gdkpixbufdir.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-gdkpixbufdir.patch.xz
new file mode 100644
index 0000000..34f15ab
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-gdkpixbufdir.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf-0.2.8.4-libpng15.patch.xz b/libs_graphics/libwmf/libwmf-0.2.8.4-libpng15.patch.xz
new file mode 100644
index 0000000..88b49c7
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf-0.2.8.4-libpng15.patch.xz
Binary files differ
diff --git a/libs_graphics/libwmf/libwmf.build b/libs_graphics/libwmf/libwmf.build
new file mode 100755
index 0000000..cc8b6b1
--- /dev/null
+++ b/libs_graphics/libwmf/libwmf.build
@@ -0,0 +1,75 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libwmf
+VERSION=0.2.8.4
+BUILD=3
+DEPENDS=('freetype >= 2.4.11-1' 'libjpeg >= 1.2.0-1' 'libpng >= 1.5.14-1' 'libxml >= 2.9.0-1' 'xorg_libs >= 7.7-3' 'font_type1_ghostscript >= 8.11-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libwmf (WMF graphics format library)
+${NAME}:
+${NAME}: libwmf is a library for interpreting metafile images and either
+${NAME}: displaying them using X or converting them to standard formats such
+${NAME}: as PNG, JPEG, PS, EPS and SVG.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/wvware/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCOPTS[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-debug=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \
+ --with-gsfontdir="${SYS_DIR[share]}/fonts/Type1" \
+ --with-fontdir="${SYS_DIR[share]}/fonts/Type1" \
+ --with-xtrafontmap="${SYS_DIR[share]}/application-data/wmf/fontmap" \
+ --with-libxml2="${SYS_DIR[usr]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS CREDITS
+changelog NEWS
+install.dir ${PKG}${SYS_DIR[share]}/application-data/wmf
+mv \
+ ${PKG}${SYS_DIR[share]}/fonts/Type1/fontmap \
+ ${PKG}${SYS_DIR[share]}/application-data/wmf
+# Drop the development docs, the fonts and the gdk_pixbuf loader
+rm -rf \
+ ${PKG}${SYS_DIR[html]} \
+ ${PKG}${SYS_DIR[share]}/fonts \
+ ${PKG}${SYS_DIR[lib]}/gdk-pixbuf-2.0
+}
diff --git a/libs_graphics/openexr/openexr-1.7.1-cstring.patch.xz b/libs_graphics/openexr/openexr-1.7.1-cstring.patch.xz
new file mode 100644
index 0000000..39e1454
--- /dev/null
+++ b/libs_graphics/openexr/openexr-1.7.1-cstring.patch.xz
Binary files differ
diff --git a/libs_graphics/openexr/openexr-1.7.1-pkgconfigdir.patch.xz b/libs_graphics/openexr/openexr-1.7.1-pkgconfigdir.patch.xz
new file mode 100644
index 0000000..8154bc6
--- /dev/null
+++ b/libs_graphics/openexr/openexr-1.7.1-pkgconfigdir.patch.xz
Binary files differ
diff --git a/libs_graphics/openexr/openexr.build b/libs_graphics/openexr/openexr.build
new file mode 100755
index 0000000..1362d15
--- /dev/null
+++ b/libs_graphics/openexr/openexr.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=openexr
+VERSION=1.7.1
+BUILD=1
+DEPENDS=('ilmbase >= 1.0.3-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# 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 ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: openexr (HDR Image File Format & Library)
+${NAME}:
+${NAME}: OpenEXR is an image file format and library developed by Industrial
+${NAME}: Light & Magic, and later released to the public. It provides support
+${NAME}: for high dynamic range and a 16-bit floating point "half" data type
+${NAME}: which is compatible with the half data type in the Cg programming
+${NAME}: language.
+${NAME}:
+${NAME}: Homepage: http://www.openexr.org
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[savannah]}/${NAME}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="BSD3"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+rm -rf ${PKG}${SYS_DIR[share]}/doc
+}