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 /documents | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'documents')
36 files changed, 986 insertions, 0 deletions
diff --git a/documents/abiword/abiword.SlackBuild b/documents/abiword/abiword.SlackBuild new file mode 100755 index 0000000..81315e5 --- /dev/null +++ b/documents/abiword/abiword.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +CWD=`pwd` +NAME=abiword +VERSION=2.8.6 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://www.abisource.com/downloads/abiword/${VERSION}/source +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 \ + --disable-dependency-tracking \ + --disable-static \ + --enable-static=no \ + --enable-shared=yes \ + --enable-shave=no \ + --enable-debug=no \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-gio \ + --with-boost=no \ + --enable-default-plugins \ + --enable-plugins="wml freetranslation latex eml gimp mif loadbindings babelfish openxml mswrite urldict presentation pdb collab google paint hancom xslfo opendocument openwriter t602 iscii wmf sdw gdict opml clarisworks kword pdf passepartout applix wikipedia hrtext s5 docbook" +make + +# missing: otf command goffice wordperfect psion aiksaurus mathview grammar wpg + +# 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------------------------------------------------------| +abiword: abiword (word processor) +abiword: +abiword: A word processor similar to another well known one. +abiword: +abiword: Homepage: http://www.abisource.com +abiword: +abiword: +abiword: +abiword: +abiword: +abiword: +EOF + +cat > $PKG/install/slack-required <<EOF +gtk+ >= 2.18.3-i486-1 +wv >= 1.2.4-i486-1 +fribidi >= 0.10.9-i486-1 +enchant >= 1.4.2-i486-1 +librsvg >= 2.26.0-i486-1 +libcroco >= 0.6.2-i486-1 +expat >= 2.0.1-i486-1 +EOF + +install -m 0644 -o 0 -g 0 AUTHORS \ + $PKG/usr/doc/$NAME-$VERSION + +mv $PKG/usr/share/icons \ + $PKG/usr/share/pixmaps + +rm -f \ + $PKG/usr/lib/*/*/*.la \ + $PKG/usr/lib/*/*/*.a \ + $PKG/usr/lib/*.la \ + $PKG/usr/lib/*.a + +strip --strip-unneeded \ + $PKG/usr/lib/*/*/*.so* \ + $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/documents/antiword/antiword-0.37-cmake.patch.xz b/documents/antiword/antiword-0.37-cmake.patch.xz Binary files differnew file mode 100644 index 0000000..ed50180 --- /dev/null +++ b/documents/antiword/antiword-0.37-cmake.patch.xz diff --git a/documents/antiword/antiword-0.37-resourcedirs.patch.xz b/documents/antiword/antiword-0.37-resourcedirs.patch.xz Binary files differnew file mode 100644 index 0000000..502c5ec --- /dev/null +++ b/documents/antiword/antiword-0.37-resourcedirs.patch.xz diff --git a/documents/antiword/antiword.build b/documents/antiword/antiword.build new file mode 100755 index 0000000..31b129e --- /dev/null +++ b/documents/antiword/antiword.build @@ -0,0 +1,54 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=antiword +VERSION=0.37 +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}: antiword +${NAME}: +${NAME}: Antiword converts MS Word files (.doc) to text or postcript. Version +${NAME}: 2 and version 6 and later Word files are supported. It is a great +${NAME}: utility to have to read the contents of Word files on the console, +${NAME}: but it can be also useful if you just want to extract the text from +${NAME}: Word files and save as it as a plain text file. +${NAME}: +${NAME}: Homepage: http://www.winfield.demon.nl +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.winfield.demon.nl/linux/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +cmake \ +-DCMAKE_C_FLAGS:STRING="${FLAGS}" \ +-DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ +-DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ +-DSYSTEM_RESOURCE_DIR:PATH="share/application-data/antiword" \ +-DUSER_RESOURCE_DIR:PATH=".local/share/antiword" \ +CMakeLists.txt +make ${JOBS} +make install DESTDIR="${PKG}" +changelog Docs/ChangeLog +} diff --git a/documents/ed/ed-1.9-cflags.patch.xz b/documents/ed/ed-1.9-cflags.patch.xz Binary files differnew file mode 100644 index 0000000..26fb017 --- /dev/null +++ b/documents/ed/ed-1.9-cflags.patch.xz diff --git a/documents/ed/ed.build b/documents/ed/ed.build new file mode 100755 index 0000000..d8020e7 --- /dev/null +++ b/documents/ed/ed.build @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ed +VERSION=1.9 +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}: ed (text editor) +${NAME}: +${NAME}: GNU ed is an 8-bit clean, more or less POSIX-compliant implementation +${NAME}: of the standard Unix line editor. These days, full-screen editors +${NAME}: have rendered 'ed' mostly of historical interest. Nonetheless, it +${NAME}: appeals to a handful of aging programmers who still believe that +${NAME}: "Small is Beautiful". +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/ed +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info ed +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.lz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/documents/evince/evince-3.8.0-backenddir.patch.xz b/documents/evince/evince-3.8.0-backenddir.patch.xz Binary files differnew file mode 100644 index 0000000..d680312 --- /dev/null +++ b/documents/evince/evince-3.8.0-backenddir.patch.xz diff --git a/documents/evince/evince.build b/documents/evince/evince.build new file mode 100755 index 0000000..0dd80de --- /dev/null +++ b/documents/evince/evince.build @@ -0,0 +1,92 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=evince +MAJOR=3.8 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('gtk+ >= 3.8.0-1' 'gnome_keyring >= 3.8.0-1') +OPTDEPENDS=('poppler >= 0.22.2-1' 'djvulibre >= 3.5.25.3-1' 'libtiff >= 4.0.3-1' 'libspectre >= 0.2.7-1' 'libgxps >= 0.2.2-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}: evince (document viewer) +${NAME}: +${NAME}: A document viewer capable of displaying multiple and single page +${NAME}: document formats like PDF and PostScript. +${NAME}: +${NAME}: Homepage: http://www.gnome.org/projects/evince +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat > ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +# Compile settings data schemas + +if [ -x ${SYS_DIR[bin]}/glib-compile-schemas ]; then + ${SYS_DIR[bin]}/glib-compile-schemas ${SYS_DIR[share]}/glib-2.0/schemas +fi + +if [ -x ${SYS_DIR[bin]}/update-desktop-database ]; then + ${SYS_DIR[bin]}/update-desktop-database -q +fi + +if [ -x ${SYS_DIR[bin]}/gtk-update-icon-cache ]; then + ${SYS_DIR[bin]}/gtk-update-icon-cache -q -t -f ${SYS_DIR[share]}/icons/hicolor +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${NAME}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +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-schemas-compile \ + --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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-platform=gnome \ + --enable-t1lib \ + --enable-xps \ + --disable-nautilus \ + --disable-thumbnailer \ + --disable-previewer +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/documents/fbreader/fbreader-0.12.0-linuxgtk.patch.xz b/documents/fbreader/fbreader-0.12.0-linuxgtk.patch.xz Binary files differnew file mode 100644 index 0000000..b70935e --- /dev/null +++ b/documents/fbreader/fbreader-0.12.0-linuxgtk.patch.xz diff --git a/documents/fbreader/fbreader-0.12.0-notsilent.patch.xz b/documents/fbreader/fbreader-0.12.0-notsilent.patch.xz Binary files differnew file mode 100644 index 0000000..feb6f39 --- /dev/null +++ b/documents/fbreader/fbreader-0.12.0-notsilent.patch.xz diff --git a/documents/fbreader/fbreader-0.12.0-paths.patch.xz b/documents/fbreader/fbreader-0.12.0-paths.patch.xz Binary files differnew file mode 100644 index 0000000..faf1c2e --- /dev/null +++ b/documents/fbreader/fbreader-0.12.0-paths.patch.xz diff --git a/documents/fbreader/fbreader-0.12.0-sqlite.patch.xz b/documents/fbreader/fbreader-0.12.0-sqlite.patch.xz Binary files differnew file mode 100644 index 0000000..4cb6df5 --- /dev/null +++ b/documents/fbreader/fbreader-0.12.0-sqlite.patch.xz diff --git a/documents/fbreader/fbreader.SlackBuild b/documents/fbreader/fbreader.SlackBuild new file mode 100755 index 0000000..80d60c7 --- /dev/null +++ b/documents/fbreader/fbreader.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +CWD=`pwd` +NAME=fbreader +VERSION=0.12.0 +ARCH=i586 +BUILD=1 +PKGNAME=${NAME} +PKGVER=${VERSION} +BASEDIR=${PKGNAME}-${PKGVER} +ARCHIVE=${PKGNAME}-sources-${PKGVER}.tgz +REPOSITORY=http://www.fbreader.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 +lzcat $CWD/$NAME-$VERSION-linuxgtk.patch.xz | patch -p1 -s +lzcat $CWD/$NAME-$VERSION-sqlite.patch.xz | patch -p1 -s +lzcat $CWD/$NAME-$VERSION-paths.patch.xz | patch -p1 -s +lzcat $CWD/$NAME-$VERSION-notsilent.patch.xz | patch -p1 -s +make OPTS="${FLAGS}" + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install +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------------------------------------------------------| +fbreader: fbreader (e-book viewer) +fbreader: +fbreader: An e-book reader able to read many e-book formats. +fbreader: +fbreader: Homepage: http://www.fbreader.org +fbreader: +fbreader: +fbreader: +fbreader: +fbreader: +fbreader: +EOF + +cat > $PKG/install/slack-required <<EOF +gtk+ >= 2.18.4-i486-1 +fribidi >= 0.10.9-i486-1 +liblinebreak >= 1.2-i486-1 +expat >= 2.0.1-i486-1 +zlib >= 1.2.3-i486-2 +bzip2 >= 1.0.5-i486-1 +curl >= 7.19.6-i486-1 +EOF + +rm -f \ + $PKG/usr/libexec/*/*/*.la \ + $PKG/usr/lib/*.la + +strip --strip-unneeded \ + $PKG/usr/lib/*.so* \ + $PKG/usr/libexec/*/*/*.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/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz b/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz Binary files differnew file mode 100644 index 0000000..9627b55 --- /dev/null +++ b/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz diff --git a/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz b/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz Binary files differnew file mode 100644 index 0000000..de09ea9 --- /dev/null +++ b/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz diff --git a/documents/hunspell/hunspell.build b/documents/hunspell/hunspell.build new file mode 100755 index 0000000..7f7c04d --- /dev/null +++ b/documents/hunspell/hunspell.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=hunspell +VERSION=1.3.2 +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}: hunspell (spell checker) +${NAME}: +${NAME}: Performs spell checking, stemming and morphological analysis and +${NAME}: generation. +${NAME}: +${NAME}: Homepage: http://hunspell.sf.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/Hunspell/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL21 MPL11" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-rpath \ + --enable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[conf]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-readline \ + --with-ui +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS AUTHORS.myspell THANKS +changelog NEWS +} diff --git a/documents/itstool/itstool.build b/documents/itstool/itstool.build new file mode 100755 index 0000000..0a6560d --- /dev/null +++ b/documents/itstool/itstool.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=itstool +VERSION=1.2.0 +BUILD=2 +ARCH=noarch +DEPENDS=('python >= 2.7.4-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}: itstool +${NAME}: +${NAME}: A tool that allows to translate XML documents with PO files, using +${NAME}: rules from the W3C Internationalization Tag Set (ITS) to determine +${NAME}: what to translate and how to separate it into PO file messages. +${NAME}: +${NAME}: Homepage: http://itstool.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://files.itstool.org/itstool/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|g' itstool itstool.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +} diff --git a/documents/medit/medit-1.2.0-desktopfile.patch.xz b/documents/medit/medit-1.2.0-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..839d5cf --- /dev/null +++ b/documents/medit/medit-1.2.0-desktopfile.patch.xz diff --git a/documents/medit/medit-1.2.0-paths.patch.xz b/documents/medit/medit-1.2.0-paths.patch.xz Binary files differnew file mode 100644 index 0000000..1221080 --- /dev/null +++ b/documents/medit/medit-1.2.0-paths.patch.xz diff --git a/documents/medit/medit.build b/documents/medit/medit.build new file mode 100755 index 0000000..d3ca8ae --- /dev/null +++ b/documents/medit/medit.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=medit +VERSION=1.2.0 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1' 'expat >= 2.1.0-1' 'libxml >= 2.9.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}: medit (text editor) +${NAME}: +${NAME}: A full-featured text editor. +${NAME}: +${NAME}: Homepage: http://mooedit.sourceforge.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/mooedit/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-python=no \ + --with-fam=yes +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +rm -f \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/icon-theme.cache +} diff --git a/documents/ne/ne-2.5-makefile.patch.xz b/documents/ne/ne-2.5-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..b124599 --- /dev/null +++ b/documents/ne/ne-2.5-makefile.patch.xz diff --git a/documents/ne/ne.build b/documents/ne/ne.build new file mode 100755 index 0000000..cf9c491 --- /dev/null +++ b/documents/ne/ne.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ne +VERSION=2.5 +BUILD=1 +OPTIONS="noinfoz" + +# 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}: ne (the nice editor) +${NAME}: +${NAME}: An easy to use text editor which is also powerful and fully +${NAME}: configurable for the wizard. It is most sparing in it's resource +${NAME}: usage. +${NAME}: +${NAME}: Homepage: http://ne.dsi.unimi.it +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info ne +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ne.dsi.unimi.it/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +make ${JOBS} PREFIX="${SYS_DIR[usr]}" OPTS="${FLAGS}" +make install PREFIX="${SYS_DIR[usr]}" DESTDIR="${PKG}" +doc doc/default.* +changelog CHANGES +} diff --git a/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 b/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 Binary files differnew file mode 100644 index 0000000..68f7d47 --- /dev/null +++ b/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 diff --git a/documents/pinfo/pinfo.SlackBuild b/documents/pinfo/pinfo.SlackBuild new file mode 100755 index 0000000..4708558 --- /dev/null +++ b/documents/pinfo/pinfo.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +CWD=`pwd` +NAME=pinfo +VERSION=0.6.8 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://some/where +FLAGS="-O2 -march=pentium -mcpu=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 +bzcat $CWD/$NAME-$VERSION-heimdal.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure --prefix=/usr --sysconfdir=/etc +make + +# Install +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------------------------------------------------------| +pinfo: pinfo +pinfo: +pinfo: An GNU info file viewer with color support and lynx-like navigation. +pinfo: +pinfo: +pinfo: +pinfo: +pinfo: +pinfo: +pinfo: +pinfo: +EOF + +make install DESTDIR=$PKG + +install -m644 -g0 -o0 AUTHORS ChangeLog NEWS TODO \ + $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf \ + $PKG/usr/doc/$NAME-$VERSION/ChangeLog \ + $PKG/usr/doc/$NAME-$VERSION/NEWS + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +rm -f $PKG/usr/info/dir +gzip -9nf $PKG/usr/info/*.info* + +install -m644 doinst.sh $PKG/install + +strip $PKG/usr/bin/* || : + +chown -R root.root $PKG +chgrp bin $PKG/usr/bin $PKG/usr/bin/* + +# 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.tgz diff --git a/documents/texinfo/texinfo-5.1-dir.patch.xz b/documents/texinfo/texinfo-5.1-dir.patch.xz Binary files differnew file mode 100644 index 0000000..eb2e62f --- /dev/null +++ b/documents/texinfo/texinfo-5.1-dir.patch.xz diff --git a/documents/texinfo/texinfo.build b/documents/texinfo/texinfo.build new file mode 100755 index 0000000..127e289 --- /dev/null +++ b/documents/texinfo/texinfo.build @@ -0,0 +1,99 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=texinfo +VERSION=5.1 +BUILD=1 +OPTDEPENDS=('perl >= 5.12.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}: texinfo (GNU software documentation system) +${NAME}: +${NAME}: 'Texinfo' is a documentation system that uses a single source file to +${NAME}: produce both on-line information and printed output. Using Texinfo, +${NAME}: you can create a printed document with the normal features of a book, +${NAME}: including chapters, sections, cross references, and indices. From the +${NAME}: same Texinfo source file, you can create a menu-driven, on-line Info +${NAME}: file with nodes, menus, cross references, and indices. +${NAME}: +${NAME}: This package is needed to read the documentation files in /usr/info. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# If no dir file exists, we'll assume it's a fresh installation and create one +# Otherwise, we'll throw out the new copy to preserve what's already installed + +if [ -e usr/info/dir ]; then + # If there is no topmost node, this dir file is broken, so replace it: + if ! grep -q "Node: Top" usr/info/dir ; then + mv usr/info/dir.new usr/info/dir + fi +else + mv usr/info/dir.new usr/info/dir +fi + +# Install texinfo files + +install_info info info-stnd texinfo +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +#FIXME: --with-external-libintl-perl +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dat dir.new ${PKG}${SYS_DIR[info]} +#FIXME: Why do these file have no .info suffix? +( + cd ${PKG}${SYS_DIR[info]} + for file in texinfo*; do + mv "${file}" "${file}.info" + done +) +} diff --git a/documents/vim/vim-7.3-crontab.patch.xz b/documents/vim/vim-7.3-crontab.patch.xz Binary files differnew file mode 100644 index 0000000..b579b03 --- /dev/null +++ b/documents/vim/vim-7.3-crontab.patch.xz diff --git a/documents/vim/vim-7.3-logfiles.patch.xz b/documents/vim/vim-7.3-logfiles.patch.xz Binary files differnew file mode 100644 index 0000000..bed59fe --- /dev/null +++ b/documents/vim/vim-7.3-logfiles.patch.xz diff --git a/documents/vim/vim-7.3-nlpo.patch.xz b/documents/vim/vim-7.3-nlpo.patch.xz Binary files differnew file mode 100644 index 0000000..033cf43 --- /dev/null +++ b/documents/vim/vim-7.3-nlpo.patch.xz diff --git a/documents/vim/vim-7.3-slackware.patch.xz b/documents/vim/vim-7.3-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..7e974bf --- /dev/null +++ b/documents/vim/vim-7.3-slackware.patch.xz diff --git a/documents/vim/vim-7.3-syntax20130121.patch.xz b/documents/vim/vim-7.3-syntax20130121.patch.xz Binary files differnew file mode 100644 index 0000000..6821b0b --- /dev/null +++ b/documents/vim/vim-7.3-syntax20130121.patch.xz diff --git a/documents/vim/vim-7.3-update773.patch.xz b/documents/vim/vim-7.3-update773.patch.xz Binary files differnew file mode 100644 index 0000000..ed5b1cd --- /dev/null +++ b/documents/vim/vim-7.3-update773.patch.xz diff --git a/documents/vim/vim-7.3-useproperlocaledir.patch.xz b/documents/vim/vim-7.3-useproperlocaledir.patch.xz Binary files differnew file mode 100644 index 0000000..1c24406 --- /dev/null +++ b/documents/vim/vim-7.3-useproperlocaledir.patch.xz diff --git a/documents/vim/vim-7.3-vimautoconf.patch.xz b/documents/vim/vim-7.3-vimautoconf.patch.xz Binary files differnew file mode 100644 index 0000000..e2d9177 --- /dev/null +++ b/documents/vim/vim-7.3-vimautoconf.patch.xz diff --git a/documents/vim/vim-7.3-vimrcdir.patch.xz b/documents/vim/vim-7.3-vimrcdir.patch.xz Binary files differnew file mode 100644 index 0000000..88fe67c --- /dev/null +++ b/documents/vim/vim-7.3-vimrcdir.patch.xz diff --git a/documents/vim/vim.build b/documents/vim/vim.build new file mode 100755 index 0000000..aea8467 --- /dev/null +++ b/documents/vim/vim.build @@ -0,0 +1,131 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=vim +MAJOR=7.3 +VERSION=${MAJOR}.773 +BUILD=5 + +# 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}: vim (Vi IMproved) +${NAME}: +${NAME}: Vim is an almost compatible version of the UNIX editor vi. Many new +${NAME}: features have been added: multi level undo, command line history, +${NAME}: filename completion, block operations, and more. +${NAME}: +${NAME}: Vim's development is led by Bram Moolenaar. +${NAME}: +${NAME}: This package also contains the Exuberant Ctags program written by +${NAME}: Darren Hiebert. +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${MAJOR} +SRCPACK[0]=http://ftp.vim.org/pub/vim/unix/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCROOT[0]=${SRCNAME[0]}73 + +# Syntax file updates: ftp://ftp.vim.org/pub/vim/runtime/syntax +# autoconf: cd src/auto ; autoconf ../configure.in > configure + +configure() +{ +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]}/lib/vim" \ + --localedir="${SYS_DIR[share]}/locale" \ + --with-compiledby="${DISTRONAME}" \ + --with-features=huge \ + ${*} +} + +build0() +{ +configure \ + --disable-netbeans \ + --disable-pythoninterp \ + --disable-python3interp \ + --disable-rubyinterp \ + --disable-tclinterp \ + --disable-luainterp \ + --disable-perlinterp \ + --disable-gui \ + --with-x=no \ + --enable-gpm \ + --enable-acl \ + --enable-multibyte \ + --enable-cscope +make ${JOBS} VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" VIMRUNTIMEDIR="${SYS_DIR[share]}/vim" +make install VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" DESTDIR="${PKG}" +doc README.txt +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}/etc +install.dat runtime/rgb.txt ${PKG}${SYS_DIR[share]}/vim +install.cfg runtime/vimrc_example.vim ${PKG}${SYS_DIR[etc]}/vimrc.new +( + cd ${PKG}${SYS_DIR[man]} + for file in $(find . -name evim.1); do + rm -f ${file} + done + for manpage in view rvim rview ex; do + for file in $(find . -type l -name ${manpage}.1); do + rm -f ${file} + echo ".so man1/vim.1" > ${file} + done + done +) +( + cd ${PKG}${SYS_DIR[share]}/vim + rm -rf \ + *vimrc_example.vim \ + */*cmake.vim \ + tools +) +} + +SRCNAME[1]=ctags +SRCVERS[1]=5.8 +SRCPACK[1]=${URL[sf]}/ctags/${SRCNAME[1]}/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +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]}" +make ${JOBS} +doc MAINTAINERS FAQ +changelog NEWS +# The ctags makefile is far too much of a broken mess to bother with patching it +install.dir ${PKG}${SYS_DIR[bin]} +install.bin ctags ${PKG}${SYS_DIR[bin]} +( cd ${PKG}${SYS_DIR[bin]} ; ln -sf ctags etags ) +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man ctags.1 ${PKG}${SYS_DIR[man]}/man1 +echo ".so man1/ctags.1" > ${PKG}${SYS_DIR[man]}/man1/etags.1 +} |