diff options
Diffstat (limited to 'libs_toolkit')
58 files changed, 2680 insertions, 0 deletions
diff --git a/libs_toolkit/at_spi/at_spi.build b/libs_toolkit/at_spi/at_spi.build new file mode 100755 index 0000000..eebbabf --- /dev/null +++ b/libs_toolkit/at_spi/at_spi.build @@ -0,0 +1,98 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=at_spi +MAJOR=2.8 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('atk >= 2.8.0-1' 'dbus >= 1.4.24-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}: at_spi +${NAME}: +${NAME}: A Service Provider Interface for the Assistive Technologies +${NAME}: available to Gtk+ applications, and a library against which +${NAME}: applications can be linked. +${NAME}: +${NAME}: Homepage: http://projects.gnome.org/accessibility +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=at-spi2-core +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/{SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --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]} +} + +SRCNAME[1]=at-spi2-atk +SRCVERS[1]=${MAJOR}.0 +SRCPACK[1]=${URL[gnome]}/{SRCNAME[1]}/${MAJOR}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL2" + +build1() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(libdir)/gtk-2.0/modules|$(libdir)/plugins/gtk-2.0/modules|g' atk-adaptor/gtk-?.?/Makefile.in +ATSPI_CFLAGS="-I${PKG}${SYS_DIR[include]}/at-spi-2.0" \ +ATSPI_LIBS="-L${PKG}${SYS_DIR[lib]} -latspi" \ +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 +#FIXME: This should go into a GNOME specific subpackage +rm -rf ${PKG}${SYS_DIR[lib]}/gnome-settings-daemon-?.? +} diff --git a/libs_toolkit/atk/atk.build b/libs_toolkit/atk/atk.build new file mode 100755 index 0000000..5f2d0eb --- /dev/null +++ b/libs_toolkit/atk/atk.build @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=atk +MAJOR=2.10 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('glib >= 2.38.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}: atk (accessibility toolkit) +${NAME}: +${NAME}: Atk is a library of accessibility functions used by Gtk+. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${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]="LGPL2" + +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-introspection=no \ + --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 MAINTAINERS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/atkmm/atkmm-2.22.6-docdir.patch.xz b/libs_toolkit/atkmm/atkmm-2.22.6-docdir.patch.xz Binary files differnew file mode 100644 index 0000000..4b4b368 --- /dev/null +++ b/libs_toolkit/atkmm/atkmm-2.22.6-docdir.patch.xz diff --git a/libs_toolkit/atkmm/atkmm.build b/libs_toolkit/atkmm/atkmm.build new file mode 100755 index 0000000..284e39d --- /dev/null +++ b/libs_toolkit/atkmm/atkmm.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=atkmm +MAJOR=2.22 +VERSION=${MAJOR}.6 +BUILD=1 +DEPENDS=('atk >= 2.6.0-1' 'glibmm >= 2.34.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}: atkmm +${NAME}: +${NAME}: A C++ wrapper for the ATK accessibility library. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${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]="LGPL21 GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/cairo/cairo-1.12.12-cairolibdir.patch.xz b/libs_toolkit/cairo/cairo-1.12.12-cairolibdir.patch.xz Binary files differnew file mode 100644 index 0000000..0c008ed --- /dev/null +++ b/libs_toolkit/cairo/cairo-1.12.12-cairolibdir.patch.xz diff --git a/libs_toolkit/cairo/cairo-1.12.12-pkgconfigdir.patch.xz b/libs_toolkit/cairo/cairo-1.12.12-pkgconfigdir.patch.xz Binary files differnew file mode 100644 index 0000000..e0f1d75 --- /dev/null +++ b/libs_toolkit/cairo/cairo-1.12.12-pkgconfigdir.patch.xz diff --git a/libs_toolkit/cairo/cairo-1.12.12-privatesymbol.patch.xz b/libs_toolkit/cairo/cairo-1.12.12-privatesymbol.patch.xz Binary files differnew file mode 100644 index 0000000..4ed1302 --- /dev/null +++ b/libs_toolkit/cairo/cairo-1.12.12-privatesymbol.patch.xz diff --git a/libs_toolkit/cairo/cairo.build b/libs_toolkit/cairo/cairo.build new file mode 100755 index 0000000..eb78085 --- /dev/null +++ b/libs_toolkit/cairo/cairo.build @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cairo +VERSION=1.12.12 +BUILD=1 +DEPENDS=('freetype >= 2.4.11-1' 'fontconfig >= 2.10.91-1' 'pixman >= 0.28.2' 'xorg_libs >= 7.7-3' 'libpng >= 1.5.14-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}: cairo (graphics library used by GTK+) +${NAME}: +${NAME}: Cairo is a vector graphics library designed to provide high-quality +${NAME}: display and print output. Cairo is designed to produce identical +${NAME}: output on all output media while taking advantage of display hardware +${NAME}: acceleration when available (eg. through the X Render Extension or +${NAME}: OpenGL). +${NAME}: +${NAME}: Homepage: http://cairographics.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://cairographics.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21 MPL11" + +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]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --disable-gtk-doc \ + --enable-qt=no \ + --enable-tee \ + --enable-gl \ + --enable-ft \ + --enable-xlib \ + --enable-pdf \ + --enable-svg \ + --enable-gobject +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +license COPYING +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/cairomm/cairomm-1.10.0-docdir.patch.xz b/libs_toolkit/cairomm/cairomm-1.10.0-docdir.patch.xz Binary files differnew file mode 100644 index 0000000..b8bc937 --- /dev/null +++ b/libs_toolkit/cairomm/cairomm-1.10.0-docdir.patch.xz diff --git a/libs_toolkit/cairomm/cairomm.build b/libs_toolkit/cairomm/cairomm.build new file mode 100755 index 0000000..36a63cb --- /dev/null +++ b/libs_toolkit/cairomm/cairomm.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cairomm +VERSION=1.10.0 +BUILD=1 +DEPENDS=('cairo >= 1.12.8-1' 'libsigc++ >= 2.3.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}: cairomm +${NAME}: +${NAME}: A C++ wrapper for the cairo graphics library. +${NAME}: +${NAME}: Homepage: http://cairographics.org/cairomm +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://cairographics.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL2" + +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 +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/cg_toolkit/cg_toolkit.build b/libs_toolkit/cg_toolkit/cg_toolkit.build new file mode 100755 index 0000000..bb81ef8 --- /dev/null +++ b/libs_toolkit/cg_toolkit/cg_toolkit.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cg_toolkit +MAJOR=3.1 +VERSION=${MAJOR}.201204 +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}: cg_toolkit (NVIDIA Cg toolkit) +${NAME}: +${NAME}: The Cg language makes it possible to control shape, appearance and +${NAME}: motion of objects drawn using programmable graphics hardware. It +${NAME}: marries control of these attributes with the speed and capabilities +${NAME}: of today's graphics processor. By providing a new level of +${NAME}: abstraction, Cg removes the need for developpers to program +${NAME}: directly to the graphics hardware assembly language, and thereby +${NAME}: more easily target many platforms. +${NAME}: +${NAME}: Homepage: http://developer.nvidia.com/cg-toolkit +EOF + +# Sources + +#FIXME: kludge +case "$(uname -m)" in + x86) + MYARCH="i686" + ;; + x86_64) + MYARCH="x86_64" + ;; +esac + +SRCNAME[0]=Cg +CGDATE=April2012 +SRCVERS[0]=${MAJOR}_${CGDATE} +SRCPACK[0]=http://developer.download.nvidia.com/cg/Cg_${MAJOR}/Cg-${SRCVERS[0]}_${MYARCH}.tgz +SRCOPTS[0]="pkgunpack" + +build0() +{ +doc ${PKG}/usr/local/Cg/docs/CgReleaseNotes.pdf +license ${PKG}/usr/local/Cg/docs/license.txt +mv ${PKG}/usr/lib64 ${PKG}${SYS_DIR[lib]} +rm -rf ${PKG}/usr/local +} diff --git a/libs_toolkit/dconf/dconf-0.16.0-xfce.patch.xz b/libs_toolkit/dconf/dconf-0.16.0-xfce.patch.xz Binary files differnew file mode 100644 index 0000000..847de61 --- /dev/null +++ b/libs_toolkit/dconf/dconf-0.16.0-xfce.patch.xz diff --git a/libs_toolkit/dconf/dconf.build b/libs_toolkit/dconf/dconf.build new file mode 100755 index 0000000..02159a5 --- /dev/null +++ b/libs_toolkit/dconf/dconf.build @@ -0,0 +1,82 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dconf +MAJOR=0.16 +VERSION=${MAJOR}.0 +BUILD=2 +DEPENDS=('glib >= 2.36.0-1') +OPTDEPENDS=('gtk+ >= 3.6.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}: dconf (a configuration system) +${NAME}: +${NAME}: dconf is a low-level configuration system. Its main purpose is to +${NAME}: provide a backend to the GSettings API in GLib. +${NAME}: +${NAME}: Homepage: http://live.gnome.org/dconf +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +export GIO_MODULE_DIR="${SYS_DIR[lib]}/plugins/gio-2.0" + +cat >> ${PKG}/install/doinst.sh <<EOF +# Add the gio modules to the cache + +if [ -x ${SYS_DIR[bin]}/gio-querymodules ]; then + ${SYS_DIR[bin]}/gio-querymodules ${GIO_MODULE_DIR} +fi + +# 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 +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' {client,dbus-1}/Makefile.in +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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-gio-modules-dir="${GIO_MODULE_DIR}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/fltk/fltk.build b/libs_toolkit/fltk/fltk.build new file mode 100755 index 0000000..5306949 --- /dev/null +++ b/libs_toolkit/fltk/fltk.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fltk +VERSION=1.3.2 +BUILD=1 +DEPENDS=('xorg_libs >= 7.7-1' 'libjpeg >= 1.2.1-1' 'libpng >= 1.5.14-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}: fltk +${NAME}: +${NAME}: A graphical user interface toolkit for X. +${NAME}: +${NAME}: Homepage: http://www.fltk.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.fltk.org/tars/releases/${SRCNAME[0]}-${SRCVERS[0]}-source.tar.gz + +build0() +{ +sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' \ + -e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-shared \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-threads \ + --enable-xft +make ${JOBS} +make install DESTDIR="${PKG}" +( cd fluid ; make DESTDIR="${PKG}" install install-linux ) +doc CREDITS +changelog CHANGES +license COPYING +chmod 0644 ${PKG}${SYS_DIR[lib]}/*.a +rm -rf \ + ${PKG}${SYS_DIR[doc]}/fltk \ + ${PKG}${SYS_DIR[share]}/mimelnk \ + ${PKG}${SYS_DIR[man]}/cat? +} diff --git a/libs_toolkit/gdk_pixbuf/gdk-pixbuf-2.28.0-cachedir.patch.xz b/libs_toolkit/gdk_pixbuf/gdk-pixbuf-2.28.0-cachedir.patch.xz Binary files differnew file mode 100644 index 0000000..9322526 --- /dev/null +++ b/libs_toolkit/gdk_pixbuf/gdk-pixbuf-2.28.0-cachedir.patch.xz diff --git a/libs_toolkit/gdk_pixbuf/gdk_pixbuf.build b/libs_toolkit/gdk_pixbuf/gdk_pixbuf.build new file mode 100755 index 0000000..581a36a --- /dev/null +++ b/libs_toolkit/gdk_pixbuf/gdk_pixbuf.build @@ -0,0 +1,84 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gdk_pixbuf +MAJOR=2.28 +VERSION=${MAJOR}.0 +BUILD=2 +DEPENDS=('glib >= 2.36.0-1' 'xorg_libs >= 7.7-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}: gdk_pixbuf +${NAME}: +${NAME}: The GDK pixbuf library provides a number of features: +${NAME}: +${NAME}: * Image loading facilites +${NAME}: * Rendering of a GdkPixBuf into various formats: +${NAME}: drawables (windows, pixmaps), GdkRGB buffers. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +# Query for gdk-pixbuf loaders + +if [ -x ${SYS_DIR[bin]}/gdk-pixbuf-query-loaders ]; then + ${SYS_DIR[bin]}/gdk-pixbuf-query-loaders --update-cache +fi +EOF + +# Sources + +SRCNAME[0]=gdk-pixbuf +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://download.gnome.org/sources/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/gdk-pixbuf-2.0|$(libdir)/plugins/gdk-pixbuf-2.0|g' gdk-pixbuf/Makefile.{in,am} +sed -i 's|gdk_pixbuf_binarydir=@libdir@/gdk-pixbuf|gdk_pixbuf_binarydir=@libdir@/plugins/gdk-pixbuf|g' gdk-pixbuf-2.0.pc.in +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-shared=yes \ + --enable-static=no \ + --enable-introspection=no \ + --enable-debug=minimum \ + --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-libjasper=yes +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[var]}/cache/gdk-pixbuf-2.0/2.10.0 +touch ${PKG}${SYS_DIR[var]}/cache/gdk-pixbuf-2.0/2.10.0/loaders.cache +# No development docs +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[lib]}/*/*/*/*.a +} diff --git a/libs_toolkit/glib_json/glib_json.build b/libs_toolkit/glib_json/glib_json.build new file mode 100755 index 0000000..1d9ec1f --- /dev/null +++ b/libs_toolkit/glib_json/glib_json.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=glib_json +MAJOR=0.14 +VERSION=${MAJOR}.2 +BUILD=2 +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}: glib_json +${NAME}: +${NAME}: A library that provides serialization and deserialization support for +${NAME}: the JavaScript Object Notation (JSON) format described by RFC 4627. +${NAME}: JSON is a lightweight data-interchange format. It is easy for humans +${NAME}: to read and write. It is easy for machines to parse and generate. +${NAME}: Based on a subset of JavaScript, it is a text format that is +${NAME}: completely language independant. +${NAME}: +${NAME}: Homepage: http://live.gnome.org/JsonGlib +${NAME}: +EOF + +# Sources + +SRCNAME[0]=json-glib +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${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 \ + --disable-rpath \ + --enable-introspection=no \ + --enable-debug=minimum \ + --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}" +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-archdependentheader.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-archdependentheader.patch.xz Binary files differnew file mode 100644 index 0000000..39f585c --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-archdependentheader.patch.xz diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-localstatedir.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-localstatedir.patch.xz Binary files differnew file mode 100644 index 0000000..1d7bfa4 --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-localstatedir.patch.xz diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-pkglibdir.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-pkglibdir.patch.xz Binary files differnew file mode 100644 index 0000000..1acc3ae --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-pkglibdir.patch.xz diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-profile.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-profile.patch.xz Binary files differnew file mode 100644 index 0000000..14c97ea --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-profile.patch.xz diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-tooltippositioning.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-tooltippositioning.patch.xz Binary files differnew file mode 100644 index 0000000..fb2fc78 --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-tooltippositioning.patch.xz diff --git a/libs_toolkit/gtk+/gtk+-2.24.17-xidwarningflood.patch.xz b/libs_toolkit/gtk+/gtk+-2.24.17-xidwarningflood.patch.xz Binary files differnew file mode 100644 index 0000000..c0ac3fe --- /dev/null +++ b/libs_toolkit/gtk+/gtk+-2.24.17-xidwarningflood.patch.xz diff --git a/libs_toolkit/gtk+/gtk+.build b/libs_toolkit/gtk+/gtk+.build new file mode 100755 index 0000000..907deac --- /dev/null +++ b/libs_toolkit/gtk+/gtk+.build @@ -0,0 +1,151 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk+ +MAJOR=2.24 +VERSION=${MAJOR}.17 +BUILD=2 +DEPENDS=('xorg_libs >= 7.7-1' 'gdk_pixbuf >= 2.28.0-1' 'cairo >= 1.12.12-1' 'atk >= 2.8.0-1' 'pango >= 1.34.0-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}: GTK+ version 2 +${NAME}: +${NAME}: This is GTK+, a toolkit for creating graphical user interfaces. +${NAME}: Offering a complete set of widgets, GTK+ is suitable for projects +${NAME}: ranging from small one-off projects to complete application suites. +${NAME}: +${NAME}: Homepage: http://www.gtk.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Do the module querying after installation... + +if [ -x ${SYS_DIR[bin]}/gtk-query-immodules-2.0 ]; then + ${SYS_DIR[bin]}/gtk-query-immodules-2.0 > ${SYS_DIR[var]}/cache/gtk-2.0/gtk.immodules +fi + +config etc/gtk-2.0/im-multipress.conf.new +EOF + +# Sources + +configure() +{ +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-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --libdir="${SYS_DIR[lib]}" \ + ${*} +} + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i "s|@ARCHITECTURE@|$(uname -m)|g" gdk/Makefile.{am,in} gdk-2.0.pc.in +sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|g' $(find modules -name "Makefile.in") +configure \ + --enable-introspection=no \ + --enable-debug=minimum \ + --sysconfdir="${SYS_DIR[etc]}" \ + --localstatedir="${SYS_DIR[var]}/cache" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-xinput=yes +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/profile.d +install.bin gtk+.sh ${PKG}${SYS_DIR[etc]}/profile.d +install.bin gtk+.csh ${PKG}${SYS_DIR[etc]}/profile.d +config ${PKG}${SYS_DIR[etc]}/gtk-2.0/im-multipress.conf +install.dir ${PKG}${SYS_DIR[var]}/cache/gtk-2.0 +touch ${PKG}${SYS_DIR[var]}/cache/gtk-2.0/gtk.immodules +#cp -r \ +# docs/tutorial/html \ +# ${PKG}${SYS_DIR[share]}/html/gtk_tutorial +#cp -r \ +# docs/tutorial/html \ +# ${PKG}${SYS_DIR[share]}/html/gtk_faq +rm -rf \ + ${PKG}${SYS_DIR[lib]}/*/*/*/*.a \ + ${PKG}${SYS_DIR[share]}/gtk-2.0 \ + ${PKG}${SYS_DIR[bin]}/gtk-demo \ + ${PKG}${SYS_DIR[html]} +} + +SRCNAME[1]=gtk-engines +ENGINESM=2.21 +SRCVERS[1]=${ENGINESM}.0 +SRCPACK[1]=ftp://ftp.archlinux.org/other/gtk-engines/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="LGPL21" + +build1() +{ +sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|g' $(find engines -name "Makefile.in") +PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig" \ +GTK_CFLAGS="-I${PKG}${SYS_DIR[include]}/gtk-2.0 -I${PKG}${SYS_DIR[include]}/$(uname -m)/gtk-2.0 -I${SYS_DIR[include]}/glib-2.0 -I${SYS_DIR[include]}/$(uname -m)/glib-2.0 -I${SYS_DIR[include]}/pango-1.0 -I${SYS_DIR[include]}/gdk-pixbuf-2.0 -I${SYS_DIR[include]}/atk-1.0 -I${SYS_DIR[include]}/cairo" \ +GTK_LIBS="-L${PKG}${SYS_DIR[lib]} -lgtk-x11-2.0" \ +configure \ + --sysconfdir="${SYS_DIR[etc]}/gtk-2.0" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-animation \ + --disable-schema +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} + +SRCNAME[2]=${NAME} +SRCVERS[2]=slackware +SRCPACK[2]=${SRCNAME[2]}-${SRCVERS[2]}.tar.xz +SRCOPTS[2]="pkgunpack" + +build2() +{ + echo "Nothing to do here!" +} diff --git a/libs_toolkit/gtk+3/gtk+-3.8.0-pkglibdir.patch.xz b/libs_toolkit/gtk+3/gtk+-3.8.0-pkglibdir.patch.xz Binary files differnew file mode 100644 index 0000000..c41d8d3 --- /dev/null +++ b/libs_toolkit/gtk+3/gtk+-3.8.0-pkglibdir.patch.xz diff --git a/libs_toolkit/gtk+3/gtk+-3.8.0-profile.patch.xz b/libs_toolkit/gtk+3/gtk+-3.8.0-profile.patch.xz Binary files differnew file mode 100644 index 0000000..70f6437 --- /dev/null +++ b/libs_toolkit/gtk+3/gtk+-3.8.0-profile.patch.xz diff --git a/libs_toolkit/gtk+3/gtk+3.build b/libs_toolkit/gtk+3/gtk+3.build new file mode 100755 index 0000000..24c75df --- /dev/null +++ b/libs_toolkit/gtk+3/gtk+3.build @@ -0,0 +1,152 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk+ +MAJOR=3.8 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('xorg_libs >= 7.7-4' 'gtk+ >= 2.24.17-1' 'gdk_pixbuf >= 2.28.0-1' 'cairo >= 1.12.12-1' 'atk >= 2.8.0-1' 'pango >= 1.34.0-1' 'at_spi >= 2.8.0-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}: GTK+ version 3 +${NAME}: +${NAME}: This is GTK+, a toolkit for creating graphical user interfaces. +${NAME}: Offering a complete set of widgets, GTK+ is suitable for projects +${NAME}: ranging from small one-off projects to complete application suites. +${NAME}: +${NAME}: Homepage: http://www.gtk.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Do the module querying after installation... + +export GTK_IM_MODULE_FILE="${SYS_DIR[var]}/cache/gtk-3.0/immodules.cache" + +if [ -x ${SYS_DIR[bin]}/gtk-query-immodules-3.0 ]; then + ${SYS_DIR[bin]}/gtk-query-immodules-3.0 --update-cache +fi + +# 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 + +config etc/gtk-3.0/im-multipress.conf.new +EOF + +# Sources + +configure() +{ +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-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +} + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/gtk-3.0|$(libdir)/plugins/gtk-3.0|g' $(find modules -name "Makefile.in") +sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|g' $(find modules -name "Makefile.in") +configure \ + --enable-introspection=no \ + --enable-debug=minimum \ + --sysconfdir="${SYS_DIR[etc]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --enable-gtk2-dependency \ + --enable-x11-backend +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/profile.d +install.bin gtk+3.sh ${PKG}${SYS_DIR[etc]}/profile.d +install.bin gtk+3.csh ${PKG}${SYS_DIR[etc]}/profile.d +config ${PKG}${SYS_DIR[etc]}/gtk-3.0/im-multipress.conf +install.dir ${PKG}${SYS_DIR[var]}/cache/gtk-3.0 +touch ${PKG}${SYS_DIR[var]}/cache/gtk-3.0/immodules.cache +# We can include the demos while Gtk+ 3 is not deprecated +# but ideally this should be in a subpackage +#rm -rf \ +# ${PKG}/usr/share/gtk-3.0/demo \ +# ${PKG}/usr/bin/gtk3-demo* \ +# ${PKG}/usr/bin/gtk3-widget-factory +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} + +SRCNAME[1]=gnome-themes-standard +SRCVERS[1]=${MAJOR}.0 +SRCPACK[1]=${URL[gnome]}/${SRCNAME[1]}/${MAJOR}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL21" + +build1() +{ +sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|g' $(find themes -name "Makefile.in") +sed -i 's|$(libdir)/gtk-3.0|$(libdir)/plugins/gtk-3.0|g' $(find themes -name "Makefile.in") +GLIB_FLAGS="$(pkg-config glib-2.0 --cflags)" +PANGO_FLAGS="$(pkg-config pango --cflags)" +ATK_FLAGS="$(pkg-config atk --cflags)" +PIXBUF_FLAGS="$(pkg-config gdk-pixbuf-2.0 --cflags)" +CAIRO_FLAGS="$(pkg-config cairo --cflags)" +ALL_CFLAGS="${GLIB_FLAGS} ${PANGO_FLAGS} ${ATK_FLAGS} ${PIXBUF_FLAGS} ${CAIRO_FLAGS}" +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +GTK3_ENGINE_CFLAGS="-I${PKG}${SYS_DIR[include]}/gtk-3.0 ${ALL_CFLAGS}" \ +HIGHCONTRAST_CFLAGS="-I${PKG}${SYS_DIR[include]}/gtk-3.0 ${ALL_CFLAGS}" \ +PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig" \ +configure \ + --sysconfdir="${SYS_DIR[etc]}/gtk-3.0" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +# We'll add that to a subpackage some day +rm -rf ${PKG}${SYS_DIR[share]}/gnome-background-properties +} diff --git a/libs_toolkit/gtk_engine_murrine/gtk_engine_murrine.build b/libs_toolkit/gtk_engine_murrine/gtk_engine_murrine.build new file mode 100755 index 0000000..dfff941 --- /dev/null +++ b/libs_toolkit/gtk_engine_murrine/gtk_engine_murrine.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk_engine_murrine +MAJOR=0.98 +VERSION=${MAJOR}.2 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.17-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}: murrine +${NAME}: +${NAME}: A modern, clean and highly customizable gtk+ theme engine that allows +${NAME}: antialiased widgets using cairo. +${NAME}: +${NAME}: Homepage: http://www.cimitan.com/murrine +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=murrine +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL3" + +build0() +{ +sed -i 's|$(libdir)/gtk-2.0|$(libdir)/plugins/gtk-2.0|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]}" \ + --enable-animation \ + --enable-animationrtl +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/gtk_engine_unico/gtk_engine_unico.build b/libs_toolkit/gtk_engine_unico/gtk_engine_unico.build new file mode 100755 index 0000000..5ad7a10 --- /dev/null +++ b/libs_toolkit/gtk_engine_unico/gtk_engine_unico.build @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk_engine_unico +MAJOR=1.0 +VERSION=${MAJOR}.2 +BUILD=2 +DEPENDS=('gtk+ >= 3.8.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}: unico +${NAME}: +${NAME}: A gtk+ theme engine that aims to be the most complete and powerful +${NAME}: theming engine. It is written with the gtk+ style context APIs in +${NAME}: mind, using CSS as a first class citizen. +${NAME}: +${NAME}: Homepage: http://launchpad.net/unico +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=unico +SRCVERS[0]=${VERSION} +SRCPACK[0]=https://launchpad.net/${SRCNAME[0]}/${MAJOR}/${SRCVERS[0]}/+download/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/gtk-3.0|$(libdir)/plugins/gtk-3.0|g' unico/Makefile.{am,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_toolkit/gtk_polkit/gtk_polkit.build b/libs_toolkit/gtk_polkit/gtk_polkit.build new file mode 100755 index 0000000..fe60128 --- /dev/null +++ b/libs_toolkit/gtk_polkit/gtk_polkit.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk_polkit +VERSION=0.105 +BUILD=2 +DEPENDS=('gtk+ >= 3.8.0-1' 'polkit >= 0.105-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}: gtk_polkit (GTK+ authentication agent for polkit) +${NAME}: +${NAME}: A GTK+ based authentication agent for polkit. It can be used by any +${NAME}: desktop environment that follows the XDG Base Directory +${NAME}: specification. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=polkit-gnome +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://hal.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/gtkmm/gtkmm-2.24.2-docdir.patch.xz b/libs_toolkit/gtkmm/gtkmm-2.24.2-docdir.patch.xz Binary files differnew file mode 100644 index 0000000..9cd77e3 --- /dev/null +++ b/libs_toolkit/gtkmm/gtkmm-2.24.2-docdir.patch.xz diff --git a/libs_toolkit/gtkmm/gtkmm.build b/libs_toolkit/gtkmm/gtkmm.build new file mode 100755 index 0000000..72e6fb0 --- /dev/null +++ b/libs_toolkit/gtkmm/gtkmm.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtkmm +VERSION=2.24.2 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.14-1' 'atkmm >= 2.22.6-1' 'pangomm >= 2.28.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}: gtkmm +${NAME}: +${NAME}: A C++ wrapper for the GTK+ toolkit library. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${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]="LGPL21 GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/gvfs/gvfs.build b/libs_toolkit/gvfs/gvfs.build new file mode 100755 index 0000000..d3c4771 --- /dev/null +++ b/libs_toolkit/gvfs/gvfs.build @@ -0,0 +1,90 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gvfs +MAJOR=1.16 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('disks >= 20130404-1' 'fuse >= 2.9.2-1' 'libsecret >= 0.14-1' 'libbluray >= 0.2.3-1') +OPTDEPENDS=('gtk+ >= 3.8.0-1' 'libgphoto >= 2.5.1.1-1' 'obex >= 0.48-1' 'libsoup >= 2.42.0-1' 'avahi >= 0.6.31-1' 'libcdio >= 0.90-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}: gvfs (userspace virtual filesystem) +${NAME}: +${NAME}: Gvfs is a userspace virtual filesystem designed to work with the I/O +${NAME}: abstractions of gio (a library available in glib >= 2.15.1). It +${NAME}: installs several modules that are automatically used by applications +${NAME}: using the APIs of libgio. There is also fuse support that allows +${NAME}: applications not using gio to access the gvfs filesystems. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +# Add the gtk+ module to the cache + +if [ -x ${SYS_DIR[bin]}/gio-querymodules ]; then + ${SYS_DIR[bin]}/gio-querymodules ${SYS_DIR[lib]}/plugins/gio-2.0 +fi + +# 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 +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|giomodulesdir=$libdir/gio/modules|giomodulesdir=$libdir/plugins/gio-2.0|g' configure +CPPFLAGS="-I${SYS_DIR[include]}/archive -I${SYS_DIR[include]}/gpg-error -I${SYS_DIR[include]}/gcrypt" \ +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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" +#FIXME: systemd +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS MAINTAINERS +changelog NEWS +mv \ + ${PKG}${SYS_DIR[share]}/dbus-1/services/gvfs-daemon.service \ + ${PKG}${SYS_DIR[share]}/dbus-1/services/org.gtk.vfs.Daemon.service +mv \ + ${PKG}${SYS_DIR[share]}/dbus-1/services/gvfs-metadata.service \ + ${PKG}${SYS_DIR[share]}/dbus-1/services/org.gtk.vfs.Metadata.service +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/icon_theme/hicolor-icon-theme-0.12-slackware.patch.xz b/libs_toolkit/icon_theme/hicolor-icon-theme-0.12-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..14b06a5 --- /dev/null +++ b/libs_toolkit/icon_theme/hicolor-icon-theme-0.12-slackware.patch.xz diff --git a/libs_toolkit/icon_theme/icon_theme.build b/libs_toolkit/icon_theme/icon_theme.build new file mode 100755 index 0000000..32290b1 --- /dev/null +++ b/libs_toolkit/icon_theme/icon_theme.build @@ -0,0 +1,103 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=icon_theme +VERSION=$(date +%Y%m%d) +ARCH=noarch +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}: icon_theme +${NAME}: +${NAME}: The default icon set. It follows the icon theme specification. This +${NAME}: specification is available at: +${NAME}: +${NAME}: http://www.freedesktop.org/standards/icon-theme-spec +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +# Update icon theme caches + +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 + ${SYS_DIR[bin]}/gtk-update-icon-cache -q -t -f ${SYS_DIR[share]}/icons/gnome +fi +EOF + +# Sources + +SRCNAME[0]=hicolor-icon-theme +SRCVERS[0]=0.12 +SRCPACK[0]=http://icon-theme.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[var]}/{log/setup,cache/icons/hicolor} +install.bin setup.08.gtk-update-icon-cache ${PKG}${SYS_DIR[var]}/log/setup +touch ${PKG}${SYS_DIR[var]}/cache/icons/hicolor/icon-theme.cache +( + cd ${PKG}${SYS_DIR[share]}/icons/hicolor + ln -sf ${SYS_DIR[var]}/cache/icons/hicolor/icon-theme.cache +) +} + +SRCNAME[1]=gnome-icon-theme +ICONTM=3.8 +SRCVERS[1]=${ICONTM}.0 +SRCPACK[1]=ftp://ftp.gnome.org/pub/gnome/sources/${SRCNAME[1]}/${ICONTM}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL3 CCBYSA3" + +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} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[var]}/cache/icons/gnome +touch ${PKG}${SYS_DIR[var]}/cache/icons/gnome/icon-theme.cache +( + cd ${PKG}${SYS_DIR[share]}/icons/gnome + ln -sf ${SYS_DIR[var]}/cache/icons/gnome/icon-theme.cache +) +# Why does an icon theme need to be translated? +rm -rf ${PKG}${SYS_DIR[share]}/locale +} diff --git a/libs_toolkit/icon_theme_faenza/icon_theme_faenza.build b/libs_toolkit/icon_theme_faenza/icon_theme_faenza.build new file mode 100755 index 0000000..8b8a316 --- /dev/null +++ b/libs_toolkit/icon_theme_faenza/icon_theme_faenza.build @@ -0,0 +1,84 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=icon_theme_faenza +VERSION=1.3.1 +ARCH=noarch +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}: faenza_icon_theme +${NAME}: +${NAME}: The Faenza icon theme. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +SETS="Faenza Faenza-Dark Faenza-Darker Faenza-Darkest Faenza-Radiance Faenza-Ambiance" + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +# Update icon theme caches + +if [ -x usr/bin/gtk-update-icon-cache ]; then + for SET in "${SETS}"; do + usr/bin/gtk-update-icon-cache -q -t -f usr/share/icons/\${SET} + done +fi +EOF + +# Sources + +SRCNAME[0]=faenza-icon-theme +SRCVERS[0]=1.3 +SRCPACK[0]=http://faenza-icon-theme.googlecode.com/files/${SRCNAME[0]}_${SRCVERS[0]}.zip +SRCOPTS[0]="nosrcroot" +SRCCOPY[0]="GPL3" + +build0() +{ +doc AUTHORS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[share]}/icons +for tarball in ${SETS}; do + src.unpack ${tarball}.tar.gz --cd ${PKG}${SYS_DIR[share]}/icons + install.dir ${PKG}${SYS_DIR[var]}/cache/icons/${tarball} + touch ${PKG}${SYS_DIR[var]}/cache/icons/${tarball}/icon-theme.cache + ( + cd ${PKG}${SYS_DIR[share]}/icons/${tarball} + ln -sf ${SYS_DIR[var]}/cache/icons/${tarball}/icon-theme.cache + ) +done +chmod 0644 ${PKG}${SYS_DIR[share]}/icons/*/index.theme +} + +SRCNAME[1]=faenza-extras +SRCVERS[1]=0.1 +SRCPACK[1]=${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCOPTS[1]="pkgunpack" +SRCCOPY[1]="GPL3" + +build1() +{ + echo "Nothing to do here !" +} diff --git a/libs_toolkit/iso_codes/iso-codes-3.40-supportjamarihiya.patch.xz b/libs_toolkit/iso_codes/iso-codes-3.40-supportjamarihiya.patch.xz Binary files differnew file mode 100644 index 0000000..6e4a4d1 --- /dev/null +++ b/libs_toolkit/iso_codes/iso-codes-3.40-supportjamarihiya.patch.xz diff --git a/libs_toolkit/iso_codes/iso_codes.build b/libs_toolkit/iso_codes/iso_codes.build new file mode 100755 index 0000000..a442b23 --- /dev/null +++ b/libs_toolkit/iso_codes/iso_codes.build @@ -0,0 +1,55 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=iso_codes +VERSION=3.40 +ARCH=noarch +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}: iso_codes +${NAME}: +${NAME}: This package provides lists of various ISO standards (e.g. country, +${NAME}: language, language scripts, and currency names) in one place, rather +${NAME}: than repeated in many programs throughout the system. +${NAME}: +${NAME}: Homepage: http://pkg-isocodes.alioth.debian.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=iso-codes +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://pkg-isocodes.alioth.debian.org/downloads/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog ChangeLog +} diff --git a/libs_toolkit/libcanberra/libcanberra.build b/libs_toolkit/libcanberra/libcanberra.build new file mode 100755 index 0000000..c757337 --- /dev/null +++ b/libs_toolkit/libcanberra/libcanberra.build @@ -0,0 +1,93 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libcanberra +VERSION=0.30 +BUILD=1 +DEPENDS=('gtk+ >= 3.6.4-1' 'sound >= 1.0.26-1' 'libvorbis >= 1.3.3-1') +OPTDEPENDS=('gstreamer >= 1.0.5-1' 'gtk+ >= 2.24.14-1' 'udev >= 173-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}: libcanberra (sound theme library) +${NAME}: +${NAME}: An implementation of the XDG sound theme for generating event sounds +${NAME}: on free desktops such as Xfce. It comes with several backends (ALSA, +${NAME}: Gstreamer, null). It consists of the following parts: +${NAME}: +${NAME}: libcanberra: the main library +${NAME}: libcanberra-gtk: some glue code for Gtk+ applications +${NAME}: +${NAME}: Homepage: http://0pointer.de/lennart/projects/libcanberra +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://0pointer.de/lennart/projects/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(libdir)/libcanberra-@PACKAGE_VERSION@|$(libdir)/plugins/libcanberra-@PACKAGE_VERSION@|g' src/Makefile.in +sed -i 's|${libdir}/gtk-2.0/modules|${libdir}/plugins/gtk-2.0/modules|g' configure +sed -i 's|${libdir}/gtk-3.0/modules|${libdir}/plugins/gtk-3.0/modules|g' configure +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]}" \ + --includedir="${SYS_DIR[include]}/canberra" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --disable-oss +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc README +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[share]}/{gdm,gnome,doc/${SRCNAME[0]}} \ + ${PKG}${SYS_DIR[lib]}/gnome* \ + ${PKG}${SYS_DIR[etc]} +} + +SRCNAME[1]=sound-theme-freedesktop +SRCVERS[1]=0.8 +SRCPACK[1]=http://people.freedesktop.org/~mccann/dist/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 + +build1() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make +make install DESTDIR="${PKG}" +changelog NEWS +} diff --git a/libs_toolkit/libftgl/libftgl.build b/libs_toolkit/libftgl/libftgl.build new file mode 100755 index 0000000..b05ba28 --- /dev/null +++ b/libs_toolkit/libftgl/libftgl.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libftgl +MAJOR=2.1.3 +VERSION=${MAJOR}rc5 +BUILD=2 +DEPENDS=('mesa >= 9.0.1-1' 'freetype >= 2.4.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}: libftgl +${NAME}: +${NAME}: A library that uses Freetype to simplify rendering fonts in OpenGL +${NAME}: programs. FTGL supports bitmaps, pixmaps, texture maps, outlines, +${NAME}: polygon mesh and extruded polygon rendering modes. +${NAME}: +${NAME}: Homepage: http://sourceforge.net/projects/ftgl +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=ftgl +SRCVERS[0]=${MAJOR}-rc5 +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/FTGL%20Source/${MAJOR}~rc5/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]}-${MAJOR}~rc5 +SRCCOPY[0]="MIT" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' 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 +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} +} diff --git a/libs_toolkit/libnotify/libnotify-0.7.5-gtkhack.patch.xz b/libs_toolkit/libnotify/libnotify-0.7.5-gtkhack.patch.xz Binary files differnew file mode 100644 index 0000000..9f832fd --- /dev/null +++ b/libs_toolkit/libnotify/libnotify-0.7.5-gtkhack.patch.xz diff --git a/libs_toolkit/libnotify/libnotify.build b/libs_toolkit/libnotify/libnotify.build new file mode 100755 index 0000000..7572d6d --- /dev/null +++ b/libs_toolkit/libnotify/libnotify.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libnotify +MAJOR=0.7 +VERSION=${MAJOR}.5 +BUILD=2 +DEPENDS=('glib >= 2.34.3-1' 'gdk_pixbuf >= 2.26.5-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}: libnotify +${NAME}: +${NAME}: A library that implements passive popup notifications for the +${NAME}: desktop. +${NAME}: +${NAME}: Homepage: http://www.galago-project.org +${NAME}: +${NAME}: +${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]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +PKG_CONFIG_PATH="." \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --enable-introspection=no \ + --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_toolkit/libwnck/libwnck.build b/libs_toolkit/libwnck/libwnck.build new file mode 100755 index 0000000..c4c5fc3 --- /dev/null +++ b/libs_toolkit/libwnck/libwnck.build @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libwnck +MAJOR=2.31 +VERSION=${MAJOR}.0 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.14-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}: libwnck (Window Navigator Contruction Kit) +${NAME}: +${NAME}: Libwnck is Window Navigator Construction Kit, i.e. a library to use +${NAME}: for writing pagers and taskslists. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${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]="LGPL2" + +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-introspection=no \ + --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 MAINTAINERS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/libxklavier/libxklavier.build b/libs_toolkit/libxklavier/libxklavier.build new file mode 100755 index 0000000..6278690 --- /dev/null +++ b/libs_toolkit/libxklavier/libxklavier.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libxklavier +VERSION=5.3 +BUILD=1 +DEPENDS=('xorg_libs >= 7.7-3' 'xkeyboard_config >= 2.8-1' 'glib >= 2.34.3-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}: libxklavier +${NAME}: +${NAME}: A utility library to make XKB stuff easier. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${VERSION}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +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 \ + --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]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS CREDITS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_toolkit/pango/pango-1.34.0-cachedir.patch.xz b/libs_toolkit/pango/pango-1.34.0-cachedir.patch.xz Binary files differnew file mode 100644 index 0000000..838ddb8 --- /dev/null +++ b/libs_toolkit/pango/pango-1.34.0-cachedir.patch.xz diff --git a/libs_toolkit/pango/pango-1.34.0-moduledir.patch.xz b/libs_toolkit/pango/pango-1.34.0-moduledir.patch.xz Binary files differnew file mode 100644 index 0000000..e71af73 --- /dev/null +++ b/libs_toolkit/pango/pango-1.34.0-moduledir.patch.xz diff --git a/libs_toolkit/pango/pango.build b/libs_toolkit/pango/pango.build new file mode 100755 index 0000000..826ed21 --- /dev/null +++ b/libs_toolkit/pango/pango.build @@ -0,0 +1,82 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pango +MAJOR=1.34 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'cairo >= 1.12.12-1' 'harfbuzz >= 0.9.14-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}: pango +${NAME}: +${NAME}: Pango is a library for layout and rendering of text, with an emphasis +${NAME}: on internationalization. Pango can be used anywhere that text layout +${NAME}: is needed; however, most of the work on Pango-1.0 was done using the +${NAME}: GTK+ widget toolkit as a test platform. Pango forms the core of text +${NAME}: and font handling for GTK+-2.0. +${NAME}: +${NAME}: Homepage: http://www.gtk.org +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +# Do the module querying after installation + +if [ -x ${SYS_DIR[bin]}/pango-querymodules ]; then + ${SYS_DIR[bin]}/pango-querymodules > ${SYS_DIR[var]}/cache/pango-1.0/pango.modules +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://download.gnome.org/sources/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(libdir)/pango/$(PANGO_MODULE_VERSION)/modules|$(libdir)/plugins/pango/$(PANGO_MODULE_VERSION)|g' modules/Module.mk modules/*/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-shared=yes \ + --enable-static=no \ + --enable-debug=minimum \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}/pango-1.0" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}/cache/pango-1.0" \ + --with-html-dir="${SYS_DIR[html]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +install.dir ${PKG}${SYS_DIR[var]}/cache/pango-1.0 +touch ${PKG}${SYS_DIR[var]}/cache/pango-1.0/pango.modules +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[lib]}/*/*/*.a +} diff --git a/libs_toolkit/pangomm/pangomm-2.28.4-docdir.patch.xz b/libs_toolkit/pangomm/pangomm-2.28.4-docdir.patch.xz Binary files differnew file mode 100644 index 0000000..6c5286b --- /dev/null +++ b/libs_toolkit/pangomm/pangomm-2.28.4-docdir.patch.xz diff --git a/libs_toolkit/pangomm/pangomm.build b/libs_toolkit/pangomm/pangomm.build new file mode 100755 index 0000000..9b16770 --- /dev/null +++ b/libs_toolkit/pangomm/pangomm.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pangomm +VERSION=2.28.4 +BUILD=1 +DEPENDS=('pango >= 1.32.5-1' 'glibmm >= 2.34.1-1' 'cairomm >= 1.10.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}: pangomm +${NAME}: +${NAME}: A C++ wrapper for the pango library. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${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]="LGPL21 GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/libs_toolkit/pixman/pixman.build b/libs_toolkit/pixman/pixman.build new file mode 100755 index 0000000..1c527cd --- /dev/null +++ b/libs_toolkit/pixman/pixman.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pixman +VERSION=0.32.4 +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}: pixman +${NAME}: +${NAME}: Pixman contains low-level pixel manipulation routines and is used by +${NAME}: both xorg and cairo. +${NAME}: +${NAME}: For more information about the X.Org Foundation (the providers of the +${NAME}: X.Org implementation of the X Window System), see their website: +${NAME}: +${NAME}: http://www.x.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.cairographics.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="MIT" + +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-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-gtk=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} diff --git a/libs_toolkit/qt/qt-everywhere-opensource-src-5.0.1-desktop.patch.xz b/libs_toolkit/qt/qt-everywhere-opensource-src-5.0.1-desktop.patch.xz Binary files differnew file mode 100644 index 0000000..7f408fe --- /dev/null +++ b/libs_toolkit/qt/qt-everywhere-opensource-src-5.0.1-desktop.patch.xz diff --git a/libs_toolkit/qt/qt.build b/libs_toolkit/qt/qt.build new file mode 100755 index 0000000..14ab85b --- /dev/null +++ b/libs_toolkit/qt/qt.build @@ -0,0 +1,118 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=qt +MAJOR=5.0 +VERSION=${MAJOR}.1 +BUILD=1 +DEPENDS=('xorg_libs >= 7.7-3' 'glib >= 2.34.3-1' 'dbus >= 1.4.24-1' 'sqlite >= 3.7.15.2-1' 'libjpeg >= 1.2.1-1' 'libtiff >= 4.0.3-1' 'libpng >= 1.5.14-1' 'libmng >= 1.0.10-1' 'mesa >= 9.0.1-1' 'fontconfig >= 2.10.91-1' 'sound >= 1.0.26-1' 'pcre >= 8.32-1') +OPTDEPENDS=('openssl >= 1.0.1d-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}: Qt (a multi-platform C++ graphical user interface toolkit) +${NAME}: +${NAME}: Qt is a complete and well-developed object-oriented framework for +${NAME}: developing graphical user interface (GUI) applications using C++. +${NAME}: +${NAME}: Homepage: http://qt.nokia.com +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME}-everywhere-opensource-src +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.qt.nokia.com/qt/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3 LGPL21 FDL13" + +build0() +{ +export CFLAGS="$FLAGS" +export CXXFLAGS="$FLAGS" +export OPENSOURCE_CXXFLAGS="$FLAGS" +./configure \ + -confirm-license \ + -opensource \ + -release \ + -shared \ + -prefix "${SYS_DIR[usr]}" \ + -libdir "${SYS_DIR[lib]}" \ + -archdatadir "${SYS_DIR[share]}/application-data/qt-${MAJOR}" \ + -plugindir "${SYS_DIR[lib]}/plugins/qt-${MAJOR}" \ + -importdir "${SYS_DIR[lib]}/plugins/qt-${MAJOR}/imports" \ + -qmldir "${SYS_DIR[lib]}/plugins/qt-${MAJOR}/qml" \ + -datadir "${SYS_DIR[share]}/application-data/qt-${MAJOR}" \ + -translationdir "${SYS_DIR[share]}/application-data/qt-${MAJOR}/translations" \ + -libexecdir "${SYS_DIR[lib]}/exec" \ + -docdir "${SYS_DIR[share]}/html/qt-${MAJOR}" \ + -headerdir "${SYS_DIR[include]}/qt-${MAJOR}" \ + -sysconfdir "${SYS_DIR[etc]}/qt-${MAJOR}" \ + -nomake examples \ + -nomake demos \ + -no-separate-debug-info \ + -no-rpath \ + -no-pch \ + -no-icu \ + -no-nis \ + -optimized-qmake \ + -xcb \ + -iconv \ + -glib \ + -opengl \ + -javascript-jit \ + -dbus \ + -cups \ + -dbus-linked \ + -openssl-linked \ + -system-libpng \ + -system-libjpeg \ + -system-zlib \ + -system-sqlite \ + -system-xcb \ + -plugin-sql-sqlite +sed -i "s|-O2|${FLAGS}|g" qtbase/mkspecs/common/g++.conf +make ${JOBS} +make install INSTALL_ROOT="${PKG}" +doc qtbase/LGPL_EXCEPTION.txt +changelog qtbase/dist/changes-${VERSION} +# Desktop files and icons +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat desktop/*.desktop ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/{16x16,32x32,48x48,64x46,128x128}/apps +install.dat qtbase/src/widgets/dialogs/images/qtlogo-64.png \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/64x64/apps/qtlogo.png +install.dat qttools/src/assistant/assistant/images/assistant.png \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/32x32/apps +install.dat qttools/src/designer/src/designer/images/designer.png \ + ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps +for icon in qttools/src/linguist/linguist/images/icons/linguist-*-32.png ; do + size=$(echo $(basename ${icon}) | cut -d- -f2) + install.dat ${icon} ${PKG}${SYS_DIR[share]}/icons/hicolor/${size}x${size}/apps/linguist.png +done +# Put pkgconfig files in the right place +mv \ + ${PKG}${SYS_DIR[lib]}/pkgconfig \ + ${PKG}${SYS_DIR[share]} +# No development docs +# No idea why those cmake, prl and mkspecs stuff are needed... +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[lib]}/{*.prl,cmake} +} diff --git a/libs_toolkit/sdl/sdl.build b/libs_toolkit/sdl/sdl.build new file mode 100755 index 0000000..1d74551 --- /dev/null +++ b/libs_toolkit/sdl/sdl.build @@ -0,0 +1,176 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sdl +VERSION=1.2.15 +BUILD=2 +DEPENDS=('sound >= 1.0.26-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}: SDL (Simple DirectMedia Layer) +${NAME}: +${NAME}: SDL is a library which has a generic API that provides low level +${NAME}: access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, +${NAME}: and 2D framebuffer across multiple platforms. It is mostly used for +${NAME}: games. Since a lot of games and other applications such as avi-xmms +${NAME}: use this library you probably need to install it. +${NAME}: +${NAME}: Homepage: http://libsdl.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=SDL +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.libsdl.org/release/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +configure() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-dependency-tracking=no \ + --enable-shared=yes \ + --enable-static=no \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +} + +build0() +{ +configure \ + --disable-nasm \ + --with-x \ + --disable-x11-shared \ + --disable-video-svga \ + --disable-video-ggi \ + --disable-video-aalib \ + --disable-oss \ + --disable-esd \ + --disable-arts \ + --enable-sdl-dlopen \ + --enable-video-x11 \ + --enable-alsa \ + --enable-pthreads +# --enable-pulseaudio-shared +make ${JOBS} CFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" +doc CREDITS +changelog WhatsNew +#install.dir ${PKG}/${SYS_DIR[html]}/${SRCNAME[0]} +#install.doc docs.html docs/html/*.html \ +# ${PKG}/${SYS_DIR[html]}/${SRCNAME[0]} +} + +SRCNAME[1]=SDL_mixer +SRCVERS[1]=1.2.12 +SRCPACK[1]=http://www.libsdl.org/projects/${SRCNAME[1]}/release/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="ZLIB" + +build1() +{ +SDL_CFLAGS="-D_GNU_SOURCE=1 -D_REENTRANT -I${PKG}${SYS_DIR[include]}/SDL" \ +SDL_LIBS="-L${PKG}${SYS_DIR[lib]} -lSDL -lpthread" \ +CPPFLAGS="-I${SYS_DIR[include]}/mad" \ +configure \ + --enable-music-mp3-mad-gpl \ + --enable-music-mod-modplug +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +} + +SRCNAME[2]=SDL_image +SRCVERS[2]=1.2.12 +SRCPACK[2]=http://www.libsdl.org/projects/${SRCNAME[2]}/release/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="ZLIB" + +build2() +{ +SDL_CFLAGS="-D_GNU_SOURCE=1 -D_REENTRANT -I${PKG}${SYS_DIR[include]}/SDL" \ +SDL_LIBS="-L${PKG}${SYS_DIR[lib]} -lSDL -lpthread" \ +configure \ + --disable-jpg-shared \ + --disable-png-shared \ + --disable-tif-shared \ + --enable-tif \ + --enable-xcf +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +} + +SRCNAME[3]=SDL_net +SRCVERS[3]=1.2.8 +SRCPACK[3]=http://www.libsdl.org/projects/${SRCNAME[3]}/release/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="ZLIB" + +build3() +{ +CPPFLAGS="-I${PKG}${SYS_DIR[include]}/SDL" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +configure \ + --with-sdl-prefix="${PKG}${SYS_DIR[usr]}" \ + --with-sdl-exec-prefix="${PKG}${SYS_DIR[usr]}" \ + --disable-sdltest \ + --disable-gui +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +} + +SRCNAME[4]=SDL_ttf +SRCVERS[4]=2.0.11 +SRCPACK[4]=http://www.libsdl.org/projects/${SRCNAME[4]}/release/${SRCNAME[4]}-${SRCVERS[4]}.tar.gz +SRCCOPY[4]="ZLIB" + +build4() +{ +SDL_CFLAGS="-D_GNU_SOURCE=1 -D_REENTRANT -I${PKG}${SYS_DIR[include]}/SDL" \ +SDL_LIBS="-L${PKG}${SYS_DIR[lib]} -lSDL -lpthread" \ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +} + +SRCNAME[5]=SDL_sound +SRCVERS[5]=1.0.3 +SRCPACK[5]=http://icculus.org/${SRCNAME[5]}/downloads/${SRCNAME[5]}-${SRCVERS[5]}.tar.gz +SRCCOPY[5]="LGPL21" + +build5() +{ +CPPFLAGS="-I${PKG}${SYS_DIR[include]}/SDL" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +configure \ + --with-sdl-prefix="${PKG}${SYS_DIR[usr]}" \ + --with-sdl-exec-prefix="${PKG}${SYS_DIR[usr]}" \ + --disable-sdltest +make ${JOBS} +make install DESTDIR="${PKG}" +doc CREDITS +changelog CHANGELOG +rm -f ${PKG}${SYS_DIR[bin]}/playsound* +} diff --git a/libs_toolkit/shared_mime_info/shared-mime-info-1.1-setup.patch.xz b/libs_toolkit/shared_mime_info/shared-mime-info-1.1-setup.patch.xz Binary files differnew file mode 100644 index 0000000..8bfae4e --- /dev/null +++ b/libs_toolkit/shared_mime_info/shared-mime-info-1.1-setup.patch.xz diff --git a/libs_toolkit/shared_mime_info/shared_mime_info.build b/libs_toolkit/shared_mime_info/shared_mime_info.build new file mode 100755 index 0000000..7e10c7a --- /dev/null +++ b/libs_toolkit/shared_mime_info/shared_mime_info.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=shared_mime_info +VERSION=1.1 +BUILD=1 +DEPENDS=('glib >= 2.34.3-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}: shared_mime_info (MIME database) +${NAME}: +${NAME}: The freedesktop.org shared MIME database spec. +${NAME}: The merged GNOME and KDE databases, in the new format. +${NAME}: The update-mime-database command, used to install new MIME data. +${NAME}: +${NAME}: Homepage: http://www.freedesktop.org/standards/shared-mime-info.html +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +if [ -x ${SYS_DIR[bin]}/update-mime-database ]; then + chroot . update-mime-database ${SYS_DIR[share]}/mime 1> /dev/null 2> /dev/null +fi +EOF + +# Sources + +SRCNAME[0]=shared-mime-info +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://freedesktop.org/~hadess/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +install.dir ${PKG}${SYS_DIR[var]}/log/setup +install.bin setup.07.update-mime-database ${PKG}${SYS_DIR[var]}/log/setup +} diff --git a/libs_toolkit/vte/vte.build b/libs_toolkit/vte/vte.build new file mode 100755 index 0000000..8e0d037 --- /dev/null +++ b/libs_toolkit/vte/vte.build @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=vte +MAJOR=0.28 +VERSION=${MAJOR}.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}: vte (virtual terminal library) +${NAME}: +${NAME}: VTE is a library implementing a terminal emulator widget for GTK+, +${NAME}: and a minimal sample application (vte) using that. Vte is mainly +${NAME}: used in terminals, but can also be used to embed a console/terminal +${NAME}: in games, editors, IDEs and so on. +${NAME}: +${NAME}: VTE supports Unicode and character set conversion, as well as +${NAME}: emulating any terminal known to the system's terminfo database. +${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]="LGPL2" + +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]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --enable-gnome-pty-helper=no \ + --enable-python=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf \ + ${PKG}${SYS_DIR[bin]} \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[share]}/application-data/pygtk \ + ${PKG}${SYS_DIR[share]}/pkgconfig/pyvte.pc +} diff --git a/libs_toolkit/wxgtk/wxGTK-2.8.12-paths.patch.xz b/libs_toolkit/wxgtk/wxGTK-2.8.12-paths.patch.xz Binary files differnew file mode 100644 index 0000000..51554ff --- /dev/null +++ b/libs_toolkit/wxgtk/wxGTK-2.8.12-paths.patch.xz diff --git a/libs_toolkit/wxgtk/wxgtk.build b/libs_toolkit/wxgtk/wxgtk.build new file mode 100755 index 0000000..f72386f --- /dev/null +++ b/libs_toolkit/wxgtk/wxgtk.build @@ -0,0 +1,77 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=wxgtk +VERSION=2.8.12 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.17-1' 'mesa >= 9.0.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}: wxgtk (Gtk+ port of WxWidgets) +${NAME}: +${NAME}: A cross-platform C++ framework for writing advanced GUI applications +${NAME}: using native controls where possible. In addition to common and +${NAME}: advanced GUI facilities there are wrappers for common file +${NAME}: operations, and facilities for writing TCP/IP applications, thread +${NAME}: handling and more. Where certain features are not available on a +${NAME}: platform, such as MDI and tree controls on UNIX, they are emulated. +${NAME}: +${NAME}: Homepage: http://www.wxwidgets.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=wxGTK +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/wxwindows/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-precomp-headers \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-optimize \ + --disable-compat26 \ + --disable-mediactrl \ + --with-gtk=2 \ + --with-regex=builtin \ + --with-opengl \ + --with-libjpeg=sys \ + --with-libtiff=sys \ + --with-libpng=sys \ + --with-libxpm=sys \ + --enable-unicode \ + --enable-graphics_ctx +make ${JOBS} +make -C locale allmo +make -C contrib/src +make install DESTDIR="${PKG}" +make -C contrib/src DESTDIR="${PKG}" install +changelog docs/changes.txt +license docs/preamble.txt COPYING.preamble +license docs/licence.txt COPYING.wxwindows +rm -rf ${PKG}${SYS_DIR[share]}/bakefile +} |