diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /libs_docs | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'libs_docs')
20 files changed, 1097 insertions, 0 deletions
diff --git a/libs_docs/djvulibre/djvulibre-3.5.25.3-pkgdatadir.patch.xz b/libs_docs/djvulibre/djvulibre-3.5.25.3-pkgdatadir.patch.xz Binary files differnew file mode 100644 index 0000000..a0eddeb --- /dev/null +++ b/libs_docs/djvulibre/djvulibre-3.5.25.3-pkgdatadir.patch.xz diff --git a/libs_docs/djvulibre/djvulibre.build b/libs_docs/djvulibre/djvulibre.build new file mode 100755 index 0000000..38e1260 --- /dev/null +++ b/libs_docs/djvulibre/djvulibre.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=djvulibre +VER=3.5.25 +PATCHLVL=3 +VERSION=${VER}.${PATCHLVL} +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}: djvulibre (DjVu document library) +${NAME}: +${NAME}: A library for the DjVu ("déjà vu") digital document format that can +${NAME}: advantageously replace PDF, PS, TIFF, JPEG and GIF for distributing +${NAME}: scanned documents or high-resolution pictures. +${NAME}: +${NAME}: Homepage: http://djvu.sf.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/djvu/DjVuLibre/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]}-${VER} +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|${libdir}/pkgconfig|${datadir}/pkgconfig|g' libdjvu/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-xmltools \ + --disable-desktopfiles +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +chmod 0755 ${PKG}${SYS_DIR[lib]}/libdjvulibre.so.??.?.? +} diff --git a/libs_docs/enca/enca.build b/libs_docs/enca/enca.build new file mode 100755 index 0000000..2baef4d --- /dev/null +++ b/libs_docs/enca/enca.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=enca +VERSION=1.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}: enca (Extremely Naive Charset Analyser) +${NAME}: +${NAME}: A library and command line frontend for encoding detection and +${NAME}: conversion of character set encodings. +${NAME}: +${NAME}: Homepage: http://cihar.com/software/enca +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://cihar.com/software/enca/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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]}" \ + --includedir="${SYS_DIR[include]}/enca" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS FAQ +changelog ChangeLog +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_docs/enchant/enchant.build b/libs_docs/enchant/enchant.build new file mode 100755 index 0000000..8b4878e --- /dev/null +++ b/libs_docs/enchant/enchant.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=enchant +VERSION=1.6.0 +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}: enchant (spell checking frontend library) +${NAME}: +${NAME}: A library that abstracts various spell checkers. +${NAME}: +${NAME}: Homepage: http://www.abisource.com/projects/enchant +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.abisource.com/downloads/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCOPTS[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(datadir)/enchant|$(datarootdir)/application-data/enchant|g' {data,src}/Makefile.in +sed -i 's|$(libdir)/enchant|$(libdir)/plugins/enchant|g' src/Makefile.in src/*/Makefile.in +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 NEWS +} diff --git a/libs_docs/fribidi/fribidi.build b/libs_docs/fribidi/fribidi.build new file mode 100755 index 0000000..f8f1f65 --- /dev/null +++ b/libs_docs/fribidi/fribidi.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fribidi +VERSION=0.19.5 +BUILD=1 +DEPENDS=('glib >= 2.34.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}: fribidi (Unicode bidirectional library) +${NAME}: +${NAME}: An implementation of the Unicode bidirectional algorithm (bidi). +${NAME}: +${NAME}: Homepage: http://fribidi.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://fribidi.org/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --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-glib=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} diff --git a/libs_docs/harfbuzz/harfbuzz.build b/libs_docs/harfbuzz/harfbuzz.build new file mode 100755 index 0000000..c2e7b6b --- /dev/null +++ b/libs_docs/harfbuzz/harfbuzz.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=harfbuzz +VERSION=0.9.14 +BUILD=1 +DEPENDS=('glib >= 2.36.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}: harfbuzz +${NAME}: +${NAME}: A text shaping library. +${NAME}: +${NAME}: Homepage: http://www.freedesktop.org/wiki/Software/HarfBuzz +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.freedesktop.org/software/harfbuzz/release/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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 THANKS +changelog NEWS +license COPYING +} diff --git a/libs_docs/libcroco/libcroco.build b/libs_docs/libcroco/libcroco.build new file mode 100755 index 0000000..6a9e53b --- /dev/null +++ b/libs_docs/libcroco/libcroco.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libcroco +MAJOR=0.6 +VERSION=${MAJOR}.8 +BUILD=2 +DEPENDS=('glib >= 2.34.3-1' 'libxml2 >= 2.9.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}: libcroco +${NAME}: +${NAME}: Libcroco is a standalone CSS2 parsing and manipulation library. The +${NAME}: parser provides a low level event driven SAC like API and a CSS +${NAME}: object model like API. Libcroco provides a CSS2 selection engine and +${NAME}: an experimental XML/CSS rendering engine. +${NAME}: +${NAME}: Homepage: https://launchpad.net/libcroco +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' Makefile.in +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]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_docs/libgsf/libgsf.build b/libs_docs/libgsf/libgsf.build new file mode 100755 index 0000000..98279e9 --- /dev/null +++ b/libs_docs/libgsf/libgsf.build @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libgsf +MAJOR=1.14 +VERSION=${MAJOR}.26 +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'libxml >= 2.9.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}: libgsf +${NAME}: +${NAME}: The GNOME Structured File Library is a utility library for reading +${NAME}: and writing structured file formats. Support for MS OLE 2 streams is +${NAME}: complete, as is zip import. There is also support for document +${NAME}: metadata and some initial work on decompressing VBA streams in OLE +${NAME}: files for future conversion to other languages. This library replaces +${NAME}: libole2 and is used in gnumeric, mrproject, abiword, libwv2, koffice. +${NAME}: It is also part of the AAF format. +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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]}" \ + --without-python \ + --with-bz2 +#FIXME: python subpackage +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[bin]}/gsf-office-thumbnailer \ + ${PKG}${SYS_DIR[man]}/man1/gsf-office-thumbnailer.1 \ + ${PKG}${SYS_DIR[share]}/thumbnailers +} diff --git a/libs_docs/libgxps/libgxps.build b/libs_docs/libgxps/libgxps.build new file mode 100755 index 0000000..170137a --- /dev/null +++ b/libs_docs/libgxps/libgxps.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libgxps +VERSION=0.2.2 +BUILD=1 +DEPENDS=('cairo >= 1.12.12-1' 'libtiff >= 4.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}: libgxps +${NAME}: +${NAME}: A GObject-based library for handling and rendering XPS documents. +${NAME}: +${NAME}: Homepage: http://live.gnome.org/libgxps +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_docs/libical/libical.build b/libs_docs/libical/libical.build new file mode 100755 index 0000000..1f211f9 --- /dev/null +++ b/libs_docs/libical/libical.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libical +VERSION=1.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}: libical (an implementation of basic iCAL protocols) +${NAME}: +${NAME}: A reference implementation of the icalendar data type and +${NAME}: serialization format. libical is used in dozens of calendaring and +${NAME}: scheduling products. +${NAME}: +${NAME}: Homepage: http://sf.net/projects/freeassociation +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/freeassociation/libical/${SRCNAME[0]}-${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL21 MPL1" + +build0() +{ +sed -i 's|${LIB_INSTALL_DIR}/pkgconfig|${SHARE_INSTALL_DIR}/pkgconfig|g' CMakeLists.txt +cmake \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_C_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ +CMakeLists.txt +make ${JOBS} +make install DESTDIR="${PKG}" +doc THANKS +changelog ChangeLog +license LICENSE +rm -f ${PKG}${SYS_DIR[lib]}/*.a +} diff --git a/libs_docs/liblinebreak/liblinebreak.build b/libs_docs/liblinebreak/liblinebreak.build new file mode 100755 index 0000000..4ad8991 --- /dev/null +++ b/libs_docs/liblinebreak/liblinebreak.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=liblinebreak +VERSION=2.1 +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}: liblinebreak (Unicode line breaking library) +${NAME}: +${NAME}: An implementation of the line breaking algorithm as described in the +${NAME}: Unicode 5.1.0 Standard Annex 14. +${NAME}: +${NAME}: Homepage: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/vimgadgets/${SRCNAME[0]}/${SRCVERS[0]}/${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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +license LICENCE +} diff --git a/libs_docs/libspectre/libspectre.build b/libs_docs/libspectre/libspectre.build new file mode 100755 index 0000000..ecc8b5d --- /dev/null +++ b/libs_docs/libspectre/libspectre.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libspectre +VERSION=0.2.7 +BUILD=1 +DEPENDS=('cairo >= 1.12.12-1' 'ghostscript >= 9.06-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}: libspectre +${NAME}: +${NAME}: A library for rendering PostScript documents. +${NAME}: +${NAME}: Homepage: http://www.freedesktop.org/wiki/Software/libspectre +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://libspectre.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_docs/libwpd/libwpd.build b/libs_docs/libwpd/libwpd.build new file mode 100755 index 0000000..bbdf235 --- /dev/null +++ b/libs_docs/libwpd/libwpd.build @@ -0,0 +1,92 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libwpd +MAJOR=0.9 +VERSION=${MAJOR}.6 +BUILD=1 +DEPENDS=('glib >= 2.34.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}: libwpd (wordperfect format library) +${NAME}: +${NAME}: A library that handles WordPerfect documents. It is most commonly +${NAME}: used to import WordPerfect documents into other word processors. But +${NAME}: may be useful in other cases as well. +${NAME}: +${NAME}: This package also includes 'libwpg' which handles WordPerfect +${NAME}: graphics. +${NAME}: +${NAME}: Homepage: http://libwpd.sourceforge.net +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/libwpd/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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 CREDITS +changelog NEWS +} + +SRCNAME[1]=libwpg +SRCVERS[1]=0.2.1 +SRCPACK[1]=${URL[sf]}/${SRCNAME[1]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL2" + +build1() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +LIBWPG_CFLAGS="-I${PKG}${SYS_DIR[include]}/libwpd-${MAJOR}" \ +LIBWPG_LIBS="-L${PKG}${SYS_DIR[lib]} -lwpd-${MAJOR} -lwpd-stream-${MAJOR}" \ +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 NEWS +rm -f \ + ${PKG}${SYS_DIR[bin]}/wpg2svgbatch* +} diff --git a/libs_docs/poppler/poppler-0.22.4-datadir.patch.xz b/libs_docs/poppler/poppler-0.22.4-datadir.patch.xz Binary files differnew file mode 100644 index 0000000..ea7d43e --- /dev/null +++ b/libs_docs/poppler/poppler-0.22.4-datadir.patch.xz diff --git a/libs_docs/poppler/poppler.build b/libs_docs/poppler/poppler.build new file mode 100755 index 0000000..52dc7fc --- /dev/null +++ b/libs_docs/poppler/poppler.build @@ -0,0 +1,83 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=poppler +VERSION=0.22.4 +BUILD=1 +DEPENDS=('libjpeg >= 1.2.1-1' 'libpng >= 1.5.14-1' 'libtiff >= 4.0.3-1' 'liblcms >= 2.4-1' 'freetype >= 2.4.12-1' 'fontconfig >= 2.10.91-1') +OPTDEPENDS=('cairo >= 1.12.12-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}: poppler (a library for rendering PDF documents) +${NAME}: +${NAME}: Poppler is a library based on the xpdf PDF viewer developed by Derek +${NAME}: Noonburg of Glyph and Cog, LLC. Since xpdf does not provide a shared +${NAME}: library, whenever a flaw was found potentially dozens of applications +${NAME}: incorporating code from xpdf would have to be patched. By providing +${NAME}: a centralized PDF library this duplicated effort will be eliminated. +${NAME}: +${NAME}: Homepage: http://poppler.freedesktop.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://poppler.freedesktop.org/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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-poppler-qt4 \ + --enable-cms=lcms2 \ + --enable-xpdf-headers \ + --enable-zlib +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf \ + ${PKG}${SYS_DIR[bin]}/poppler-glib-demo \ + ${PKG}${SYS_DIR[html]} +} + +SRCNAME[1]=${NAME}-data +SRCVERS[1]=0.4.6 +SRCPACK[1]=http://poppler.freedesktop.org/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +make install datadir="${SYS_DIR[share]}/application-data" DESTDIR="${PKG}" +license COPYING +license COPYING.adobe COPYING.adobe +} diff --git a/libs_docs/qpdf/qpdf-4.0.1-install.patch.xz b/libs_docs/qpdf/qpdf-4.0.1-install.patch.xz Binary files differnew file mode 100644 index 0000000..781492f --- /dev/null +++ b/libs_docs/qpdf/qpdf-4.0.1-install.patch.xz diff --git a/libs_docs/qpdf/qpdf.build b/libs_docs/qpdf/qpdf.build new file mode 100755 index 0000000..32c8199 --- /dev/null +++ b/libs_docs/qpdf/qpdf.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=qpdf +VERSION=4.0.1 +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}: qpdf +${NAME}: +${NAME}: QPDF does structural, content-preserving transformations on PDF +${NAME}: files. It provides many useful capabilites to developers of +${NAME}: PDF-producing software. It is not a PDF content creation library, +${NAME}: a PDF viewer or a program to convert PDF into other formats. +${NAME}: +${NAME}: Homepage: http://qpdf.sf.net +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/qpdf/qpdf/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="ARTISTIC2" + +build0() +{ +CPPFLAGS="-I/usr/include/pcre" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --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 ChangeLog +rm -rf \ + ${PKG}${SYS_DIR[man]}/man1/zlib-flate.1 +} diff --git a/libs_docs/webkit/webkit.SlackBuild b/libs_docs/webkit/webkit.SlackBuild new file mode 100755 index 0000000..f4cb2df --- /dev/null +++ b/libs_docs/webkit/webkit.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +CWD=`pwd` +NAME=webkit +VERSION=1.2.3 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://webkitgtk.org +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=no \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --datadir=/usr/share/application-data \ + --with-html-dir=/usr/share/html \ + --with-font-backend=pango \ + --with-unicode-backend=glib +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +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 ':'. + + |-----handy-ruler------------------------------------------------------| +webkit: webkit (web browser engine) +webkit: +webkit: A web browser engine. +webkit: +webkit: http://webkitgtk.org +webkit: +webkit: +webkit: +webkit: +webkit: +webkit: +EOF + +cat > $PKG/install/slack-required <<EOF +gtk+ >= 2.20.1-i486-1 +libsoup >= 2.31.2-i486-1 +libxslt >= 1.1.26-i486-1 +libxml2 >= 2.7.6-i486-1 +gstreamer >= 0.10.30-i486-1 +sqlite >= 3.6.23-i486-1 +EOF + +install -m 0644 -g 0 -o 0 ChangeLog \ + $PKG/usr/doc/$NAME-$VERSION + +xz -9f \ + $PKG/usr/doc/$NAME-$VERSION/ChangeLog + +rm -f \ + $PKG/usr/lib/*.la + +strip --strip-unneeded \ + $PKG/usr/lib/*.so* || : + +strip $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/libs_docs/wv/wv.build b/libs_docs/wv/wv.build new file mode 100755 index 0000000..5c052b5 --- /dev/null +++ b/libs_docs/wv/wv.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=wv +VERSION=0.4.2 +BUILD=1 +DEPENDS=('glib >= 2.34.3-1' 'libgsf >= 1.14.25-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}: wv (MS Word document import library) +${NAME}: +${NAME}: wv is a portable MS Word .doc import filter that supports Word 6, 95, +${NAME}: 97, 2000 and 2002 (XP) formats. +${NAME}: +${NAME}: Homepage: http://wvware.sourceforge.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME}2 +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL2" + +build0() +{ +cmake \ +-DCMAKE_BUILD_TYPE:STRING="Release" \ +-DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ +-DCMAKE_C_FLAGS:STRING="${FLAGS}" \ +-DCMAKE_SKIP_RPATH:BOOL="on" \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ +-DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ +CMakeLists.txt +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog ChangeLog +# The .la doesn't get recognized as a genuine one by file when getting +# rid of them +rm -rf ${PKG}${SYS_DIR[lib]}/{wvWare,*.la} +} diff --git a/libs_docs/wv/wv2-0.4.2-glibfix.patch.xz b/libs_docs/wv/wv2-0.4.2-glibfix.patch.xz Binary files differnew file mode 100644 index 0000000..bf94d5e --- /dev/null +++ b/libs_docs/wv/wv2-0.4.2-glibfix.patch.xz |