From 04ce3d2a8b18a643280be1770d30e2dba99b81e4 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 9 Apr 2014 11:29:35 +0700 Subject: [PATCH] Initial Commit of Cinnamon SlackBuilds Repository. Signed-off-by: Willy Sudiarto Raharjo --- .gitignore | 5 + BUILD_ORDER | 41 ++++ BeautifulSoup/BeautifulSoup.SlackBuild | 78 ++++++ BeautifulSoup/slack-desc | 19 ++ CREDIT | 3 + KNOWN_ISSUES | 7 + NOTES | 16 ++ README | 42 ++++ accountsservice/accountsservice.SlackBuild | 102 ++++++++ accountsservice/slack-desc | 12 + build-cinnamon.sh | 115 +++++++++ caribou/caribou.SlackBuild | 103 ++++++++ caribou/doinst.sh | 5 + caribou/slack-desc | 12 + .../cinnamon-control-center.SlackBuild | 104 ++++++++ cinnamon-control-center/doinst.sh | 11 + cinnamon-control-center/slack-desc | 12 + cinnamon-desktop/cinnamon-desktop.SlackBuild | 103 ++++++++ cinnamon-desktop/doinst.sh | 5 + cinnamon-desktop/slack-desc | 12 + cinnamon-screensaver/away-message-fixes.patch | 226 ++++++++++++++++++ .../cinnamon-screensaver.SlackBuild | 114 +++++++++ cinnamon-screensaver/cinnamon-screensaver.pam | 2 + cinnamon-screensaver/doinst.sh | 5 + cinnamon-screensaver/slack-desc | 12 + cinnamon-session/cinnamon-session.SlackBuild | 119 +++++++++ cinnamon-session/doinst.sh | 19 ++ .../remove_sessionmigration.patch | 18 ++ cinnamon-session/slack-desc | 12 + cinnamon-session/timeout.patch | 24 ++ cinnamon-session/xinitrc.cinnamon-session | 19 ++ .../cinnamon-settings-daemon.SlackBuild | 109 +++++++++ cinnamon-settings-daemon/doinst.sh | 11 + cinnamon-settings-daemon/dpms.patch | 29 +++ cinnamon-settings-daemon/slack-desc | 12 + cinnamon/cinnamon.SlackBuild | 108 +++++++++ cinnamon/doinst.sh | 19 ++ cinnamon/slack-desc | 12 + cjs/cjs.SlackBuild | 101 ++++++++ cjs/slack-desc | 12 + clutter-gtk/clutter-gtk.SlackBuild | 103 ++++++++ clutter-gtk/slack-desc | 12 + clutter/clutter.SlackBuild | 106 ++++++++ clutter/slack-desc | 12 + cogl/cogl.SlackBuild | 102 ++++++++ cogl/slack-desc | 12 + colord/colord.SlackBuild | 105 ++++++++ colord/slack-desc | 12 + gnome-common/gnome-common.SlackBuild | 69 ++++++ gnome-common/slack-desc | 12 + gnome-menus/gnome-menus.SlackBuild | 104 ++++++++ gnome-menus/slack-desc | 12 + .../gst1-plugins-base.SlackBuild | 106 ++++++++ gst1-plugins-base/slack-desc | 12 + .../gst1-plugins-good.SlackBuild | 103 ++++++++ gst1-plugins-good/slack-desc | 12 + gstreamer1/gstreamer1.SlackBuild | 107 +++++++++ gstreamer1/slack-desc | 12 + json-c/json-c.SlackBuild | 82 +++++++ json-c/slack-desc | 19 ++ json-glib/json-glib.SlackBuild | 98 ++++++++ json-glib/slack-desc | 19 ++ krb5/EXPORT | 13 + krb5/config/kerberos.csh | 6 + krb5/config/kerberos.sh | 4 + krb5/doinst.sh | 4 + krb5/krb5.SlackBuild | 121 ++++++++++ krb5/krb5_tcl.patch | 134 +++++++++++ krb5/slack-desc | 12 + libgee/libgee.SlackBuild | 81 +++++++ libgee/slack-desc | 12 + libgnomekbd/doinst.sh | 19 ++ libgnomekbd/libgnomekbd.SlackBuild | 103 ++++++++ libgnomekbd/slack-desc | 12 + libgusb/libgusb.SlackBuild | 102 ++++++++ libgusb/slack-desc | 12 + lxml/lxml.SlackBuild | 87 +++++++ lxml/slack-desc | 12 + metacity/doinst.sh | 19 ++ metacity/metacity.SlackBuild | 105 ++++++++ metacity/slack-desc | 12 + muffin/doinst.sh | 5 + muffin/muffin.SlackBuild | 108 +++++++++ muffin/slack-desc | 12 + nemo/Fix_rename_entry_position.patch | 32 +++ nemo/doinst.sh | 19 ++ nemo/nemo.SlackBuild | 109 +++++++++ nemo/slack-desc | 12 + orc/orc.SlackBuild | 83 +++++++ orc/slack-desc | 12 + pam/pam.SlackBuild | 122 ++++++++++ pam/slack-desc | 12 + pam_unix2/pam_unix.patch | 20 ++ pam_unix2/pam_unix2.SlackBuild | 106 ++++++++ pam_unix2/slack-desc | 12 + pangox-compat/pangox-compat.SlackBuild | 111 +++++++++ pangox-compat/slack-desc | 12 + pexpect/pexpect.SlackBuild | 86 +++++++ pexpect/slack-desc | 12 + pulseaudio/doinst.sh | 26 ++ pulseaudio/pulseaudio.SlackBuild | 109 +++++++++ pulseaudio/rc.pulseaudio | 43 ++++ pulseaudio/slack-desc | 12 + pygobject3/pygobject3.SlackBuild | 100 ++++++++ pygobject3/slack-desc | 12 + pysetuptools/pysetuptools.SlackBuild | 74 ++++++ pysetuptools/slack-desc | 12 + python-pam/python-pam.SlackBuild | 76 ++++++ python-pam/slack-desc | 12 + speex/slack-desc | 12 + speex/speex.SlackBuild | 110 +++++++++ vala/slack-desc | 12 + vala/vala.SlackBuild | 100 ++++++++ zenity/slack-desc | 12 + zenity/zenity.SlackBuild | 83 +++++++ 115 files changed, 5581 insertions(+) create mode 100644 .gitignore create mode 100644 BUILD_ORDER create mode 100644 BeautifulSoup/BeautifulSoup.SlackBuild create mode 100644 BeautifulSoup/slack-desc create mode 100644 CREDIT create mode 100644 KNOWN_ISSUES create mode 100644 NOTES create mode 100644 README create mode 100644 accountsservice/accountsservice.SlackBuild create mode 100644 accountsservice/slack-desc create mode 100755 build-cinnamon.sh create mode 100644 caribou/caribou.SlackBuild create mode 100644 caribou/doinst.sh create mode 100644 caribou/slack-desc create mode 100644 cinnamon-control-center/cinnamon-control-center.SlackBuild create mode 100644 cinnamon-control-center/doinst.sh create mode 100644 cinnamon-control-center/slack-desc create mode 100644 cinnamon-desktop/cinnamon-desktop.SlackBuild create mode 100644 cinnamon-desktop/doinst.sh create mode 100644 cinnamon-desktop/slack-desc create mode 100644 cinnamon-screensaver/away-message-fixes.patch create mode 100644 cinnamon-screensaver/cinnamon-screensaver.SlackBuild create mode 100644 cinnamon-screensaver/cinnamon-screensaver.pam create mode 100644 cinnamon-screensaver/doinst.sh create mode 100644 cinnamon-screensaver/slack-desc create mode 100644 cinnamon-session/cinnamon-session.SlackBuild create mode 100644 cinnamon-session/doinst.sh create mode 100644 cinnamon-session/remove_sessionmigration.patch create mode 100644 cinnamon-session/slack-desc create mode 100644 cinnamon-session/timeout.patch create mode 100644 cinnamon-session/xinitrc.cinnamon-session create mode 100644 cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild create mode 100644 cinnamon-settings-daemon/doinst.sh create mode 100644 cinnamon-settings-daemon/dpms.patch create mode 100644 cinnamon-settings-daemon/slack-desc create mode 100644 cinnamon/cinnamon.SlackBuild create mode 100644 cinnamon/doinst.sh create mode 100644 cinnamon/slack-desc create mode 100644 cjs/cjs.SlackBuild create mode 100644 cjs/slack-desc create mode 100644 clutter-gtk/clutter-gtk.SlackBuild create mode 100644 clutter-gtk/slack-desc create mode 100644 clutter/clutter.SlackBuild create mode 100644 clutter/slack-desc create mode 100644 cogl/cogl.SlackBuild create mode 100644 cogl/slack-desc create mode 100644 colord/colord.SlackBuild create mode 100644 colord/slack-desc create mode 100644 gnome-common/gnome-common.SlackBuild create mode 100644 gnome-common/slack-desc create mode 100644 gnome-menus/gnome-menus.SlackBuild create mode 100644 gnome-menus/slack-desc create mode 100644 gst1-plugins-base/gst1-plugins-base.SlackBuild create mode 100644 gst1-plugins-base/slack-desc create mode 100644 gst1-plugins-good/gst1-plugins-good.SlackBuild create mode 100644 gst1-plugins-good/slack-desc create mode 100644 gstreamer1/gstreamer1.SlackBuild create mode 100644 gstreamer1/slack-desc create mode 100644 json-c/json-c.SlackBuild create mode 100644 json-c/slack-desc create mode 100644 json-glib/json-glib.SlackBuild create mode 100644 json-glib/slack-desc create mode 100644 krb5/EXPORT create mode 100644 krb5/config/kerberos.csh create mode 100644 krb5/config/kerberos.sh create mode 100644 krb5/doinst.sh create mode 100644 krb5/krb5.SlackBuild create mode 100644 krb5/krb5_tcl.patch create mode 100644 krb5/slack-desc create mode 100644 libgee/libgee.SlackBuild create mode 100644 libgee/slack-desc create mode 100644 libgnomekbd/doinst.sh create mode 100644 libgnomekbd/libgnomekbd.SlackBuild create mode 100644 libgnomekbd/slack-desc create mode 100644 libgusb/libgusb.SlackBuild create mode 100644 libgusb/slack-desc create mode 100644 lxml/lxml.SlackBuild create mode 100644 lxml/slack-desc create mode 100644 metacity/doinst.sh create mode 100644 metacity/metacity.SlackBuild create mode 100644 metacity/slack-desc create mode 100644 muffin/doinst.sh create mode 100644 muffin/muffin.SlackBuild create mode 100644 muffin/slack-desc create mode 100644 nemo/Fix_rename_entry_position.patch create mode 100644 nemo/doinst.sh create mode 100644 nemo/nemo.SlackBuild create mode 100644 nemo/slack-desc create mode 100644 orc/orc.SlackBuild create mode 100644 orc/slack-desc create mode 100644 pam/pam.SlackBuild create mode 100644 pam/slack-desc create mode 100644 pam_unix2/pam_unix.patch create mode 100644 pam_unix2/pam_unix2.SlackBuild create mode 100644 pam_unix2/slack-desc create mode 100644 pangox-compat/pangox-compat.SlackBuild create mode 100644 pangox-compat/slack-desc create mode 100644 pexpect/pexpect.SlackBuild create mode 100644 pexpect/slack-desc create mode 100644 pulseaudio/doinst.sh create mode 100644 pulseaudio/pulseaudio.SlackBuild create mode 100644 pulseaudio/rc.pulseaudio create mode 100644 pulseaudio/slack-desc create mode 100644 pygobject3/pygobject3.SlackBuild create mode 100644 pygobject3/slack-desc create mode 100644 pysetuptools/pysetuptools.SlackBuild create mode 100644 pysetuptools/slack-desc create mode 100644 python-pam/python-pam.SlackBuild create mode 100644 python-pam/slack-desc create mode 100644 speex/slack-desc create mode 100644 speex/speex.SlackBuild create mode 100644 vala/slack-desc create mode 100644 vala/vala.SlackBuild create mode 100644 zenity/slack-desc create mode 100644 zenity/zenity.SlackBuild diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c82b661 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.xz +*.tar.bz2 +*.tar.gz +*.zip +*~ diff --git a/BUILD_ORDER b/BUILD_ORDER new file mode 100644 index 0000000..16b672a --- /dev/null +++ b/BUILD_ORDER @@ -0,0 +1,41 @@ +gnome-common +cjs +cinnamon-desktop +json-glib +pangox-compat +cinnamon-session +libgnomekbd +speex +json-c +pulseaudio +libgusb +colord +cinnamon-settings-daemon +gnome-menus +krb5 +cinnamon-control-center +zenity +cogl +clutter +clutter-gtk +muffin +pygobject3 +vala +libgee +caribou +pexpect +BeautifulSoup +pysetuptools +lxml +metacity +orc +gstreamer1 +gst1-plugins-base +gst1-plugins-good +pam +pam_unix2 +python-pam +accountsservice +cinnamon +nemo +cinnamon-screensaver diff --git a/BeautifulSoup/BeautifulSoup.SlackBuild b/BeautifulSoup/BeautifulSoup.SlackBuild new file mode 100644 index 0000000..3569218 --- /dev/null +++ b/BeautifulSoup/BeautifulSoup.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +# Slackware build script for BeautifulSoup. +# +# Copyright 2009-2011 Marco Bonetti +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=BeautifulSoup +VERSION=${VERSION:-3.2.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://www.crummy.com/software/BeautifulSoup/download/3.x/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="PKG-INFO" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python setup.py install --root=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/BeautifulSoup/slack-desc b/BeautifulSoup/slack-desc new file mode 100644 index 0000000..38cfd10 --- /dev/null +++ b/BeautifulSoup/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +BeautifulSoup: BeautifulSoup (Python HTML/XML parser) +BeautifulSoup: +BeautifulSoup: Beautiful Soup is a Python HTML/XML parser designed for quick +BeautifulSoup: turnaround projects like screen-scraping +BeautifulSoup: +BeautifulSoup: +BeautifulSoup: +BeautifulSoup: +BeautifulSoup: +BeautifulSoup: +BeautifulSoup: diff --git a/CREDIT b/CREDIT new file mode 100644 index 0000000..9ddbe53 --- /dev/null +++ b/CREDIT @@ -0,0 +1,3 @@ +CREDIT +===================== +Big thanks to all contributors in SlackBuilds Project. diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES new file mode 100644 index 0000000..f810952 --- /dev/null +++ b/KNOWN_ISSUES @@ -0,0 +1,7 @@ +KNOWN ISSUES +===================== +- In case of cinnamon-control-center failed on NMDevice, reinstall + Network-Manager and rebuild +- In case of muffin failed on SnMonitorContext, reinstall startup-notification + and rebuild +- Clicking account detail and system settings in account icon does nothing diff --git a/NOTES b/NOTES new file mode 100644 index 0000000..43c8999 --- /dev/null +++ b/NOTES @@ -0,0 +1,16 @@ +NOTES +===================== + +1. I'm using the latest Slackware release as base (currently 14.1). + +2. PAM is needed to build several core packages of cinnamon. I have + tried to avoid this, but it seems to be inevitable. + +3. I tried to avoid systemd on this repository, thus some packages + are still using older version. So far, it works. + +4. I avoid changing/upgrading Slackware's glib packages which is + required by some packages. There *might* be some issues caused + by usage of older glib version. Let me know if i miss anything. + +5. This scripts are tested on VM environment only!! diff --git a/README b/README new file mode 100644 index 0000000..5a06d33 --- /dev/null +++ b/README @@ -0,0 +1,42 @@ +CINNAMON SlackBuilds +===================== + +This repository provides SlackBuild scripts to build and install the CINNAMON +desktop environment (http://cinnamon.linuxmint.com) on top of Slackware Linux. +The Cinnamon packages are built with a minimum set of dependencies, but still +provides a working desktop. + +I do not plan to provide binary packages at this moment. The reason is that +because i only tested this on VM (virtual machine) environment only, not yet +on a real machine. Once it's confirmed that it works out-of-the-box in real +machine, then i can consider providing binary packages for Cinnamon. +As always, building from the source is the recommended way to make sure it +is linked with the libraries available on your machine. + +How to build and install the CINNAMON packages using these scripts: + +1. Clone the Git repo or download a tarball/zip of the repo. + +2. Install bash-completion from /extra before building the packages. + +3. Reinstall startup-notifications and NetworkManager to avoid broken build on + cinnamon-control-center and muffin. I know it's strange things to do, but + this problem did happen on a clean installation of Slackware64-14.1 and + reinstalling it before building solved the problems for me. + +4. Run the 'build-cinnamon.sh' in the root directory which will build + and install all the cinnamon packages including the necessary dependencies. + Just in case the automated build script failed, refer to KNOWN_ISSUES. + If you want to build it manually, please refer to BUILD_ORDER + +5. Once the packages are built and installed, you can use 'xwmconfig' + to select the cinnamon session. Run startx to start Cinnamon Desktop. + +6. Enjoy and let me know of any issues or suggestions/improvements. + Email is: willysr@slackware-id.org + + +Thanks! + +--- +Willy Sudiarto Raharjo diff --git a/accountsservice/accountsservice.SlackBuild b/accountsservice/accountsservice.SlackBuild new file mode 100644 index 0000000..8efd80f --- /dev/null +++ b/accountsservice/accountsservice.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Slackware build script for accountsservice + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=accountsservice +VERSION=${VERSION:-0.6.34} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://www.freedesktop.org/software/accountsservice/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/accountsservice/slack-desc b/accountsservice/slack-desc new file mode 100644 index 0000000..ba51b8a --- /dev/null +++ b/accountsservice/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +accountsservice: accountsservice (D-Bus Service) +accountsservice: +accountsservice: AccountsService is a D-Bus service for accessing the list of user +accountsservice: accounts and information attached to those accounts. +accountsservice: +accountsservice: Project URL: +accountsservice: http://www.freedesktop.org/wiki/Software/AccountsService/ +accountsservice: +accountsservice: +accountsservice: +accountsservice: diff --git a/build-cinnamon.sh b/build-cinnamon.sh new file mode 100755 index 0000000..bc528b3 --- /dev/null +++ b/build-cinnamon.sh @@ -0,0 +1,115 @@ +#!/bin/sh + +# Copyright 2012 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Copyright 2013 Chess Griffin Raleigh, NC +# Copyright 2013-2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Based on the xfce-build-all.sh script by Patrick J. Volkerding +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Set to 1 if you'd like to install/upgrade package as they are built. +# This is recommended. +INST=1 + +# This is where all the compilation and final results will be placed +TMP=${TMP:-/tmp} + +# This is the original directory where you started this script +CSBROOT=$(pwd) + +# Loop for all packages +for dir in \ + gnome-common \ + cjs \ + cinnamon-desktop \ + json-glib \ + pangox-compat \ + cinnamon-session \ + libgnomekbd \ + speex \ + json-c \ + pulseaudio \ + libgusb \ + colord \ + cinnamon-settings-daemon \ + gnome-menus \ + krb5 \ + cinnamon-control-center \ + zenity \ + cogl \ + clutter \ + clutter-gtk \ + muffin \ + pygobject3 \ + vala \ + libgee \ + caribou \ + pexpect \ + BeautifulSoup \ + pysetuptools \ + lxml \ + metacity \ + orc \ + gstreamer1 \ + gst1-plugins-base \ + gst1-plugins-good \ + pam \ + pam_unix2 \ + python-pam \ + accountsservice \ + cinnamon \ + nemo \ + cinnamon-screensaver \ + ; do + # Get the package name + package=$(echo $dir | cut -f2- -d /) + + # Change to package directory + cd $CSBROOT/$dir || exit 1 + + # Get the version + version=$(cat ${package}.SlackBuild | grep "VERSION:" | cut -d "-" -f2 | rev | cut -c 2- | rev) + + # Check for duplicate sources + sourcefile="$(ls -l $CSBROOT/$dir/${package}-*.tar.?z* | wc -l)" + if [ $sourcefile -gt 1 ]; then + echo "You have following duplicate sources:" + ls $CSBROOT/$dir/${package}-*.tar.?z* | cut -d " " -f1 + echo "Please delete sources other than ${package}-$version to avoid problems" + exit 1 + fi + + # The real build starts here + sh ${package}.SlackBuild || exit 1 + if [ "$INST" = "1" ]; then + PACKAGE="${package}-$version-*.txz" + if [ -f $TMP/$PACKAGE ]; then + upgradepkg --install-new --reinstall $TMP/$PACKAGE + else + echo "Error: package to upgrade "$PACKAGE" not found in $TMP" + exit 1 + fi + fi + + # back to original directory + cd $CSBROOT +done diff --git a/caribou/caribou.SlackBuild b/caribou/caribou.SlackBuild new file mode 100644 index 0000000..bf50ad1 --- /dev/null +++ b/caribou/caribou.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for caribou + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=caribou +VERSION=${VERSION:-0.4.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/GNOME/sources/caribou/0.4/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING* INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/caribou/doinst.sh b/caribou/doinst.sh new file mode 100644 index 0000000..8542d1c --- /dev/null +++ b/caribou/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/caribou/slack-desc b/caribou/slack-desc new file mode 100644 index 0000000..f7c2866 --- /dev/null +++ b/caribou/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +caribou: caribou (UI Navigation) +caribou: +caribou: Caribou is a text entry and UI navigation application being developed +caribou: as an alternative to the Gnome On-screen Keyboard. +caribou: The overarching goal for Caribou is to create a usable solution for +caribou: people whose primary way of accessing a computer is a switch device. +caribou: +caribou: +caribou: +caribou: Project URL: http://live.gnome.org/Caribou +caribou: diff --git a/cinnamon-control-center/cinnamon-control-center.SlackBuild b/cinnamon-control-center/cinnamon-control-center.SlackBuild new file mode 100644 index 0000000..357fa41 --- /dev/null +++ b/cinnamon-control-center/cinnamon-control-center.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for cinnamon-control-center + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon-control-center +VERSION=${VERSION:-2.0.9} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cinnamon-control-center/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --enable-compile-warnings=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon-control-center/doinst.sh b/cinnamon-control-center/doinst.sh new file mode 100644 index 0000000..3549d01 --- /dev/null +++ b/cinnamon-control-center/doinst.sh @@ -0,0 +1,11 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon-control-center/slack-desc b/cinnamon-control-center/slack-desc new file mode 100644 index 0000000..7cae938 --- /dev/null +++ b/cinnamon-control-center/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon-control-center: cinnamon-control-center (Control Center for the Cinnamon desktop) +cinnamon-control-center: +cinnamon-control-center: cinnamon-control-center is The Control Center for Cinnamon +cinnamon-control-center: +cinnamon-control-center: +cinnamon-control-center: +cinnamon-control-center: Project URL: https://github.com/linuxmint/cinnamon-control-center +cinnamon-control-center: +cinnamon-control-center: +cinnamon-control-center: +cinnamon-control-center: diff --git a/cinnamon-desktop/cinnamon-desktop.SlackBuild b/cinnamon-desktop/cinnamon-desktop.SlackBuild new file mode 100644 index 0000000..6f3320f --- /dev/null +++ b/cinnamon-desktop/cinnamon-desktop.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for cinnamon-desktop + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon-desktop +VERSION=${VERSION:-2.0.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cinnamon-desktop/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-introspection=yes \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon-desktop/doinst.sh b/cinnamon-desktop/doinst.sh new file mode 100644 index 0000000..6922dbb --- /dev/null +++ b/cinnamon-desktop/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon-desktop/slack-desc b/cinnamon-desktop/slack-desc new file mode 100644 index 0000000..2c3fa95 --- /dev/null +++ b/cinnamon-desktop/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon-desktop: cinnamon-desktop (Cinnamon Desktop Library) +cinnamon-desktop: +cinnamon-desktop: cinnamon-desktop contains the libcinnamon-desktop library, +cinnamon-desktop: the cinnamon-about program as well as some desktop-wide documents. +cinnamon-desktop: +cinnamon-desktop: +cinnamon-desktop: Project URL: https://github.com/linuxmint/cinnamon-desktop +cinnamon-desktop: +cinnamon-desktop: +cinnamon-desktop: +cinnamon-desktop: diff --git a/cinnamon-screensaver/away-message-fixes.patch b/cinnamon-screensaver/away-message-fixes.patch new file mode 100644 index 0000000..1828c5b --- /dev/null +++ b/cinnamon-screensaver/away-message-fixes.patch @@ -0,0 +1,226 @@ +diff -Naur cinnamon-screensaver-2.0.3.orig/doc/dbus-interface.html cinnamon-screensaver-2.0.3/doc/dbus-interface.html +--- cinnamon-screensaver-2.0.3.orig/doc/dbus-interface.html 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/doc/dbus-interface.html 2013-10-29 10:08:06.568038245 +0100 +@@ -70,7 +70,7 @@ + Lock +

+ Request that the screen be locked. +-

++

DirectionTypeDescription
instringthe away message

+ Cycle +

+ Request that the screen saver theme be restarted and, if applicable, +diff -Naur cinnamon-screensaver-2.0.3.orig/src/cinnamon-screensaver-command.c cinnamon-screensaver-2.0.3/src/cinnamon-screensaver-command.c +--- cinnamon-screensaver-2.0.3.orig/src/cinnamon-screensaver-command.c 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/src/cinnamon-screensaver-command.c 2013-10-29 22:32:13.127650887 +0100 +@@ -41,7 +41,7 @@ + static gboolean do_query = FALSE; + static gboolean do_time = FALSE; + +-static gchar *away_message = "DEFAULT"; ++static gchar *away_message = ""; + + static GOptionEntry entries [] = { + { "exit", 0, 0, G_OPTION_ARG_NONE, &do_quit, +@@ -114,7 +114,7 @@ + static GDBusMessage * + screensaver_send_message_string (GDBusConnection *connection, + const char *name, +- gboolean value) ++ gchar *value) + { + GDBusMessage *message, *reply; + GError *error; +@@ -310,14 +310,7 @@ + } + + if (do_lock) { +- if (g_strcmp0 (away_message, "DEFAULT") == 0) { +- reply = screensaver_send_message_string (connection, "Lock", away_message); +- } +- else { +- gchar * custom_message = g_strdup_printf("CUSTOM###%s", away_message); +- reply = screensaver_send_message_string (connection, "Lock", custom_message); +- g_free (custom_message); +- } ++ reply = screensaver_send_message_string (connection, "Lock", away_message); + if (reply == NULL) { + g_message ("Did not receive a reply from the screensaver."); + goto done; +diff -Naur cinnamon-screensaver-2.0.3.orig/src/cinnamon-screensaver-dialog.c cinnamon-screensaver-2.0.3/src/cinnamon-screensaver-dialog.c +--- cinnamon-screensaver-2.0.3.orig/src/cinnamon-screensaver-dialog.c 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/src/cinnamon-screensaver-dialog.c 2013-10-29 18:34:38.042752214 +0100 +@@ -49,7 +49,6 @@ + static gboolean enable_logout = FALSE; + static gboolean enable_switch = FALSE; + static char *logout_command = NULL; +-static char *away_message = NULL; + + static GOptionEntry entries [] = { + { "verbose", 0, 0, G_OPTION_ARG_NONE, &verbose, +diff -Naur cinnamon-screensaver-2.0.3.orig/src/gs-listener-dbus.c cinnamon-screensaver-2.0.3/src/gs-listener-dbus.c +--- cinnamon-screensaver-2.0.3.orig/src/gs-listener-dbus.c 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/src/gs-listener-dbus.c 2013-10-30 03:04:42.134732524 +0100 +@@ -570,7 +570,7 @@ + if (! dbus_message_get_args (message, &error, + DBUS_TYPE_STRING, &body, + DBUS_TYPE_INVALID)) { +- raise_syntax (connection, message, "ShowMessage"); ++ raise_syntax (connection, message, "Lock"); + return DBUS_HANDLER_RESULT_HANDLED; + } + +@@ -584,6 +584,7 @@ + + return DBUS_HANDLER_RESULT_HANDLED; + } ++ + static DBusHandlerResult + listener_show_message (GSListener *listener, + DBusConnection *connection, +@@ -906,7 +907,7 @@ + } else if (dbus_message_is_signal (message, SYSTEMD_LOGIND_SESSION_INTERFACE, "Lock")) { + if (_listener_message_path_is_our_session (listener, message)) { + gs_debug ("systemd requested session lock"); +- return listener_lock (listener, connection, message); ++ g_signal_emit (listener, signals [LOCK], 0, ""); + } + + return DBUS_HANDLER_RESULT_HANDLED; +@@ -948,7 +949,7 @@ + } else if (dbus_message_is_signal (message, CK_SESSION_INTERFACE, "Lock")) { + if (_listener_message_path_is_our_session (listener, message)) { + gs_debug ("ConsoleKit requested session lock"); +- return listener_lock (listener, connection, message); ++ g_signal_emit (listener, signals [LOCK], 0, ""); + } + + return DBUS_HANDLER_RESULT_HANDLED; +diff -Naur cinnamon-screensaver-2.0.3.orig/src/gs-manager.c cinnamon-screensaver-2.0.3/src/gs-manager.c +--- cinnamon-screensaver-2.0.3.orig/src/gs-manager.c 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/src/gs-manager.c 2013-10-29 20:27:40.394604570 +0100 +@@ -1097,6 +1097,7 @@ + g_object_unref (manager->priv->settings); + } + ++ g_free (manager->priv->away_message); + g_free (manager->priv->logout_command); + g_free (manager->priv->keyboard_command); + +@@ -1261,6 +1262,8 @@ + + gs_manager_destroy_windows (manager); + ++ gs_manager_set_away_message (manager, NULL); ++ + /* reset state */ + manager->priv->active = FALSE; + manager->priv->activate_time = 0; +@@ -1275,10 +1278,18 @@ + gs_manager_set_away_message (GSManager *manager, + const char *message) + { +- g_free (manager->priv->logout_command); +- +- manager->priv->away_message = g_strdup(message); + GSList *l; ++ ++ g_return_if_fail (GS_IS_MANAGER (manager)); ++ ++ g_free (manager->priv->away_message); ++ ++ if (message) { ++ manager->priv->away_message = g_strdup (message); ++ } else { ++ manager->priv->away_message = NULL; ++ } ++ + for (l = manager->priv->windows; l; l = l->next) { + gs_window_set_away_message (l->data, manager->priv->away_message); + } +@@ -1293,7 +1304,6 @@ + if (active) { + res = gs_manager_activate (manager); + } else { +- gs_manager_set_away_message(manager, ""); + res = gs_manager_deactivate (manager); + } + +diff -Naur cinnamon-screensaver-2.0.3.orig/src/gs-window-x11.c cinnamon-screensaver-2.0.3/src/gs-window-x11.c +--- cinnamon-screensaver-2.0.3.orig/src/gs-window-x11.c 2013-10-26 19:34:39.000000000 +0200 ++++ cinnamon-screensaver-2.0.3/src/gs-window-x11.c 2013-10-29 23:11:15.240828725 +0100 +@@ -2132,38 +2132,19 @@ + return utf8_name; + } + +-static gchar * +-str_replace(const char *string, const char *delimiter, const char *replacement) +-{ +- gchar **split; +- gchar *ret; +- g_return_val_if_fail(string != NULL, NULL); +- g_return_val_if_fail(delimiter != NULL, NULL); +- g_return_val_if_fail(replacement != NULL, NULL); +- split = g_strsplit(string, delimiter, 0); +- ret = g_strjoinv(replacement, split); +- g_strfreev(split); +- return ret; +-} +- + static void + update_clock (GSWindow *window) + { +- char *markup; +- char *away_message; +- +- if (window->priv->away_message != NULL && g_str_has_prefix (window->priv->away_message, "CUSTOM###") && g_strcmp0(window->priv->away_message, "") != 0) { +- away_message = str_replace(window->priv->away_message, "CUSTOM###", ""); +- markup = g_strdup_printf ("%s\n\n %s\n ~ %s", gnome_wall_clock_get_clock (window->priv->clock_tracker), away_message, get_user_display_name()); +- } +- else { +- away_message = g_strdup_printf (_("%s"), window->priv->default_message); +- markup = g_strdup_printf ("%s\n\n%s", gnome_wall_clock_get_clock (window->priv->clock_tracker), away_message); +- } +- +- gtk_label_set_markup (GTK_LABEL (window->priv->clock), markup); +- g_free (markup); +- g_free (away_message); ++ char *markup; ++ ++ if (window->priv->away_message != NULL && g_strcmp0(window->priv->away_message, "") != 0) { ++ markup = g_strdup_printf ("%s\n\n %s\n ~ %s", gnome_wall_clock_get_clock (window->priv->clock_tracker), g_markup_escape_text(window->priv->away_message, -1), get_user_display_name()); ++ } else { ++ markup = g_strdup_printf ("%s\n\n%s", gnome_wall_clock_get_clock (window->priv->clock_tracker), g_markup_escape_text(window->priv->default_message, -1)); ++ } ++ ++ gtk_label_set_markup (GTK_LABEL (window->priv->clock), markup); ++ g_free (markup); + } + + static void +@@ -2197,7 +2178,16 @@ + gs_window_set_away_message (GSWindow *window, + const char *message) + { +- window->priv->away_message = message; ++ g_return_if_fail (GS_IS_WINDOW (window)); ++ ++ g_free (window->priv->away_message); ++ ++ if (message) { ++ window->priv->away_message = g_strdup (message); ++ } else { ++ window->priv->away_message = NULL; ++ } ++ + update_clock (window); + } + +@@ -2320,6 +2310,7 @@ + + g_return_if_fail (window->priv != NULL); + ++ g_free (window->priv->away_message); + g_free (window->priv->logout_command); + g_free (window->priv->keyboard_command); + diff --git a/cinnamon-screensaver/cinnamon-screensaver.SlackBuild b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild new file mode 100644 index 0000000..05c18ed --- /dev/null +++ b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware build script for cinnamon-screensaver + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon-screensaver +VERSION=${VERSION:-2.0.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cinnamon-screensaver/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/away-message-fixes.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/libexec/cinnamon-screensaver \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-compile-warnings=no \ + --with-mit-ext \ + --enable-locking \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/etc/pam.d/ +install -m644 $CWD/cinnamon-screensaver.pam $PKG/etc/pam.d/cinnamon-screensaver + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon-screensaver/cinnamon-screensaver.pam b/cinnamon-screensaver/cinnamon-screensaver.pam new file mode 100644 index 0000000..6dc5b93 --- /dev/null +++ b/cinnamon-screensaver/cinnamon-screensaver.pam @@ -0,0 +1,2 @@ +#%PAM-1.0 +auth required pam_unix_auth.so diff --git a/cinnamon-screensaver/doinst.sh b/cinnamon-screensaver/doinst.sh new file mode 100644 index 0000000..6922dbb --- /dev/null +++ b/cinnamon-screensaver/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon-screensaver/slack-desc b/cinnamon-screensaver/slack-desc new file mode 100644 index 0000000..7c109c5 --- /dev/null +++ b/cinnamon-screensaver/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon-screensaver: cinnamon-screensaver (screensaver for the Cinnamon desktop) +cinnamon-screensaver: +cinnamon-screensaver: cinnamon-screensaver is a screensaver and screen locker that aims +cinnamon-screensaver: to have simple, sane, and secure defaults and be well integrated +cinnamon-screensaver: with the CINNAMON desktop +cinnamon-screensaver: +cinnamon-screensaver: Project URL: https://github.com/linuxmint/cinnamon-screensaver +cinnamon-screensaver: +cinnamon-screensaver: +cinnamon-screensaver: +cinnamon-screensaver: diff --git a/cinnamon-session/cinnamon-session.SlackBuild b/cinnamon-session/cinnamon-session.SlackBuild new file mode 100644 index 0000000..3d86db2 --- /dev/null +++ b/cinnamon-session/cinnamon-session.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/sh + +# Slackware build script for cinnamon-session + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon-session +VERSION=${VERSION:-2.0.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cinnamon-session/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/remove_sessionmigration.patch +patch -p1 < $CWD/timeout.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/lib${LIBDIRSUFFIX}/cinnamon-session \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-schemas-compile \ + --disable-gconf \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Add xinitrc for xwmconfig +mkdir -p $PKG/etc/X11/xinit +install -m 0755 $CWD/xinitrc.cinnamon-session $PKG/etc/X11/xinit/xinitrc.cinnamon-session + +# Add link so KDM picks up the CINNAMON session +mkdir -p $PKG/usr/share/apps/kdm/sessions +ln -sf /usr/share/xsessions/cinnamon.desktop $PKG/usr/share/apps/kdm/sessions/ + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon-session/doinst.sh b/cinnamon-session/doinst.sh new file mode 100644 index 0000000..ed28460 --- /dev/null +++ b/cinnamon-session/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon-session/remove_sessionmigration.patch b/cinnamon-session/remove_sessionmigration.patch new file mode 100644 index 0000000..0016080 --- /dev/null +++ b/cinnamon-session/remove_sessionmigration.patch @@ -0,0 +1,18 @@ +--- a/cinnamon-session/csm-session-fill.c ++++ b/cinnamon-session/csm-session-fill.c +@@ -228,15 +228,6 @@ + load_standard_apps (CsmManager *manager, + GKeyFile *keyfile) + { +- GError *error; +- +- g_debug ("fill: *** Executing user migration"); +- error = NULL; +- if(!g_spawn_command_line_sync ("session-migration", NULL, NULL, NULL, &error)) { +- g_warning ("Error while executing session-migration: %s", error->message); +- g_error_free (error); +- } +- + g_debug ("fill: *** Adding required components"); + handle_required_components (keyfile, !csm_manager_get_failsafe (manager), + append_required_components_helper, manager); diff --git a/cinnamon-session/slack-desc b/cinnamon-session/slack-desc new file mode 100644 index 0000000..18e47c4 --- /dev/null +++ b/cinnamon-session/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon-session: cinnamon-session (Cinnamon Session Handler) +cinnamon-session: +cinnamon-session: cinnamon-session contains the Cinnamon session manager, as well as a +cinnamon-session: configuration program to choose applications starting on login +cinnamon-session: +cinnamon-session: +cinnamon-session: Project URL: https://github.com/linuxmint/cinnamon-session +cinnamon-session: +cinnamon-session: +cinnamon-session: +cinnamon-session: diff --git a/cinnamon-session/timeout.patch b/cinnamon-session/timeout.patch new file mode 100644 index 0000000..f4f5b64 --- /dev/null +++ b/cinnamon-session/timeout.patch @@ -0,0 +1,24 @@ +diff -u -r cinnamon-session-3.4.2/cinnamon-session/csm-session-fill.c cinnamon-session-3.4.2-timeout/cinnamon-session/csm-session-fill.c +--- cinnamon-session-3.4.2/cinnamon-session/csm-session-fill.c 2012-02-02 15:33:01.000000000 +0100 ++++ cinnamon-session-3.4.2-timeout/cinnamon-session/csm-session-fill.c 2012-06-10 02:39:46.184348462 +0200 +@@ -36,7 +36,7 @@ + #define CSM_KEYFILE_DEFAULT_PROVIDER_PREFIX "DefaultProvider" + + /* See https://bugzilla.gnome.org/show_bug.cgi?id=641992 for discussion */ +-#define CSM_RUNNABLE_HELPER_TIMEOUT 3000 /* ms */ ++#define CSM_RUNNABLE_HELPER_TIMEOUT 10000 /* ms */ + + typedef void (*GsmFillHandleProvider) (const char *provides, + const char *default_provider, +diff -u -r cinnamon-session-3.4.2/tools/cinnamon-session-check-accelerated.c cinnamon-session-3.4.2-timeout/tools/cinnamon-session-check-accelerated.c +--- cinnamon-session-3.4.2/tools/cinnamon-session-check-accelerated.c 2011-03-22 21:31:43.000000000 +0100 ++++ cinnamon-session-3.4.2-timeout/tools/cinnamon-session-check-accelerated.c 2012-06-10 02:42:08.013218006 +0200 +@@ -30,7 +30,7 @@ + #include + + /* Wait up to this long for a running check to finish */ +-#define PROPERTY_CHANGE_TIMEOUT 5000 ++#define PROPERTY_CHANGE_TIMEOUT 12000 + + /* Values used for the _GNOME_SESSION_ACCELERATED root window property */ + #define NO_ACCEL 0 diff --git a/cinnamon-session/xinitrc.cinnamon-session b/cinnamon-session/xinitrc.cinnamon-session new file mode 100644 index 0000000..47823d3 --- /dev/null +++ b/cinnamon-session/xinitrc.cinnamon-session @@ -0,0 +1,19 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +[ -f $sysresources ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f $userresources ] && xrdb -merge $userresources +[ -f $usermodmap ] && xmodmap $usermodmap + +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session dbus-launch --exit-with-session cinnamon-session +else + exec cinnamon-session +fi diff --git a/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild new file mode 100644 index 0000000..7f754b1 --- /dev/null +++ b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware build script for cinnamon-settings-daemon + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon-settings-daemon +VERSION=${VERSION:-2.0.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cinnamon-settings-daemon/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/dpms.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --disable-schemas-compile \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon-settings-daemon/doinst.sh b/cinnamon-settings-daemon/doinst.sh new file mode 100644 index 0000000..3549d01 --- /dev/null +++ b/cinnamon-settings-daemon/doinst.sh @@ -0,0 +1,11 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon-settings-daemon/dpms.patch b/cinnamon-settings-daemon/dpms.patch new file mode 100644 index 0000000..3262961 --- /dev/null +++ b/cinnamon-settings-daemon/dpms.patch @@ -0,0 +1,29 @@ +--- a/plugins/power/csd-power-manager.c ++++ b/plugins/power/csd-power-manager.c +@@ -33,6 +33,8 @@ + #include + #include + ++#include ++ + #define GNOME_DESKTOP_USE_UNSTABLE_API + #include + +@@ -3967,6 +3790,17 @@ csd_power_manager_start (CsdPowerManager + /* set the initial dim time that can adapt for the user */ + refresh_idle_dim_settings (manager); + ++ /* Make sure that Xorg's DPMS extension never gets in our way. The defaults seem to have changed in Xorg 1.14 ++ * being "0" by default to being "600" by default ++ * https://bugzilla.gnome.org/show_bug.cgi?id=709114 ++ */ ++ gdk_error_trap_push (); ++ int dummy; ++ if (DPMSQueryExtension(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), &dummy, &dummy)) { ++ DPMSSetTimeouts (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), 0, 0, 0); ++ } ++ gdk_error_trap_pop_ignored (); ++ + manager->priv->xscreensaver_watchdog_timer_id = g_timeout_add_seconds (XSCREENSAVER_WATCHDOG_TIMEOUT, + disable_builtin_screensaver, + NULL); diff --git a/cinnamon-settings-daemon/slack-desc b/cinnamon-settings-daemon/slack-desc new file mode 100644 index 0000000..46fc5d4 --- /dev/null +++ b/cinnamon-settings-daemon/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon-settings-daemon: cinnamon-settings-daemon (Cinnamon Settings Daemon) +cinnamon-settings-daemon: +cinnamon-settings-daemon: cinnamon-settings-daemon provides many session-wide services and +cinnamon-settings-daemon: functions that require a long-running process. +cinnamon-settings-daemon: +cinnamon-settings-daemon: +cinnamon-settings-daemon: Project URL: https://github.com/linuxmint/cinnamon-settings-daemon +cinnamon-settings-daemon: +cinnamon-settings-daemon: +cinnamon-settings-daemon: +cinnamon-settings-daemon: diff --git a/cinnamon/cinnamon.SlackBuild b/cinnamon/cinnamon.SlackBuild new file mode 100644 index 0000000..c7674b7 --- /dev/null +++ b/cinnamon/cinnamon.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh + +# Slackware build script for cinnamon + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cinnamon +VERSION=${VERSION:-2.0.14} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/Cinnamon/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd Cinnamon-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-introspection=yes \ + --enable-compile-warnings=no \ + --disable-schemas-compile \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cinnamon/doinst.sh b/cinnamon/doinst.sh new file mode 100644 index 0000000..ed28460 --- /dev/null +++ b/cinnamon/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/cinnamon/slack-desc b/cinnamon/slack-desc new file mode 100644 index 0000000..93a7a76 --- /dev/null +++ b/cinnamon/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cinnamon: cinnamon (Cinnamon Desktop) +cinnamon: +cinnamon: cinnamon is Linux desktop which provides advanced innovative features +cinnamon: and a traditional user experience. +cinnamon: +cinnamon: +cinnamon: Project URL: http://cinnamon.linuxmint.com/ +cinnamon: +cinnamon: +cinnamon: +cinnamon: diff --git a/cjs/cjs.SlackBuild b/cjs/cjs.SlackBuild new file mode 100644 index 0000000..62d1fdd --- /dev/null +++ b/cjs/cjs.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for cjs + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cjs +VERSION=${VERSION:-2.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/cjs/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING* INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cjs/slack-desc b/cjs/slack-desc new file mode 100644 index 0000000..cc371cb --- /dev/null +++ b/cjs/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cjs: cjs (JS Binding) +cjs: +cjs: cjs contains JavaScript bindings based on gobject-introspection. +cjs: +cjs: +cjs: +cjs: Project URL: https://github.com/linuxmint/cjs +cjs: +cjs: +cjs: +cjs: diff --git a/clutter-gtk/clutter-gtk.SlackBuild b/clutter-gtk/clutter-gtk.SlackBuild new file mode 100644 index 0000000..fb7e850 --- /dev/null +++ b/clutter-gtk/clutter-gtk.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for clutter-gtk + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=clutter-gtk +VERSION=${VERSION:-1.4.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://download.gnome.org/sources/clutter-gtk/1.4/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-debug=no \ + --enable-introspection=yes \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/clutter-gtk/slack-desc b/clutter-gtk/slack-desc new file mode 100644 index 0000000..7fb141c --- /dev/null +++ b/clutter-gtk/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +clutter-gtk: clutter-gtk (GTK Clutter Widget) +clutter-gtk: +clutter-gtk: Clutter-GTK is a library providing facilities to integrate Clutter +clutter-gtk: into GTK+ applications and vice versa. +clutter-gtk: +clutter-gtk: +clutter-gtk: +clutter-gtk: Project URL: http://www.clutter-gtk-project.org/ +clutter-gtk: +clutter-gtk: +clutter-gtk: diff --git a/clutter/clutter.SlackBuild b/clutter/clutter.SlackBuild new file mode 100644 index 0000000..90b6276 --- /dev/null +++ b/clutter/clutter.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for clutter + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=clutter +VERSION=${VERSION:-1.14.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://download.gnome.org/sources/clutter/1.14/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-debug=no \ + --enable-introspection=yes \ + --disable-tests \ + --disable-conformance \ + --disable-examples \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/clutter/slack-desc b/clutter/slack-desc new file mode 100644 index 0000000..249b9e3 --- /dev/null +++ b/clutter/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +clutter: clutter (GUI Library) +clutter: +clutter: Clutter is an open source software library for creating fast, +clutter: compelling, portable, and dynamic graphical user interfaces. +clutter: +clutter: Clutter uses OpenGL for rendering, but wraps an easy to use, +clutter: efficient, flexible API around GL complexity. +clutter: +clutter: +clutter: Project URL: http://www.clutter-project.org/ +clutter: diff --git a/cogl/cogl.SlackBuild b/cogl/cogl.SlackBuild new file mode 100644 index 0000000..2957168 --- /dev/null +++ b/cogl/cogl.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Slackware build script for cogl + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=cogl +VERSION=${VERSION:-1.16.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/GNOME/cogl/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/cogl/slack-desc b/cogl/slack-desc new file mode 100644 index 0000000..824ece7 --- /dev/null +++ b/cogl/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +cogl: cogl (Rendering Library) +cogl: +cogl: Cogl is a small open source library for using 3D graphics hardware +cogl: for rendering. +cogl: +cogl: The API departs from the flat state machine style of OpenGL and is +cogl: designed to make it easy to write orthogonal components that can +cogl: render without stepping on each others toes. +cogl: +cogl: Project URL: http://www.clutter-project.org/ +cogl: diff --git a/colord/colord.SlackBuild b/colord/colord.SlackBuild new file mode 100644 index 0000000..eea074e --- /dev/null +++ b/colord/colord.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for colord + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=colord +VERSION=${VERSION:-0.1.26} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://www.freedesktop.org/software/colord/releases/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/colord/slack-desc b/colord/slack-desc new file mode 100644 index 0000000..b8436a3 --- /dev/null +++ b/colord/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +colord: colord (Color Profile System Service) +colord: +colord: colord is a system service that makes it easy to manage, install +colord: and generate color profiles to accurately color manage input +colord: and output devices. +colord: +colord: +colord: +colord: +colord: +colord: diff --git a/gnome-common/gnome-common.SlackBuild b/gnome-common/gnome-common.SlackBuild new file mode 100644 index 0000000..96a7581 --- /dev/null +++ b/gnome-common/gnome-common.SlackBuild @@ -0,0 +1,69 @@ +#!/bin/sh +# +# Slackware build script for gnome-common +# +# Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=gnome-common +VERSION=${VERSION:-3.6.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=noarch + +set -e + +wget -c http://ftp.gnome.org/pub/gnome/sources/gnome-common/3.6/$PRGNAM-$VERSION.tar.xz + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +./configure --prefix=/usr + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog ChangeLog.pre-git README doc/usage.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/gnome-common/slack-desc b/gnome-common/slack-desc new file mode 100644 index 0000000..b79d270 --- /dev/null +++ b/gnome-common/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +gnome-common: gnome-common (GNOME development scripts and macros) +gnome-common: +gnome-common: Common scripts and macros to develop with GNOME 2.0. +gnome-common: +gnome-common: +gnome-common: +gnome-common: +gnome-common: +gnome-common: +gnome-common: +gnome-common: diff --git a/gnome-menus/gnome-menus.SlackBuild b/gnome-menus/gnome-menus.SlackBuild new file mode 100644 index 0000000..28cf11e --- /dev/null +++ b/gnome-menus/gnome-menus.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware build script for gnome-menus + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=gnome-menus +VERSION=${VERSION:-3.8.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.acc.umu.se/pub/gnome/sources/gnome-menus/3.8/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-introspection=yes \ + --enable-static=no \ + --enable-debug=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* HACKING MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/gnome-menus/slack-desc b/gnome-menus/slack-desc new file mode 100644 index 0000000..070e311 --- /dev/null +++ b/gnome-menus/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +gnome-menus: gnome-menus (menu library and files for the GNOME desktop) +gnome-menus: +gnome-menus: gnome-menus contains the libgnome-menu library, the layout +gnome-menus: configuration files for the GNOME menu, as well as a simple menu +gnome-menus: editor. +gnome-menus: +gnome-menus: +gnome-menus: +gnome-menus: +gnome-menus: Homepage: http://www.gnome.org +gnome-menus: diff --git a/gst1-plugins-base/gst1-plugins-base.SlackBuild b/gst1-plugins-base/gst1-plugins-base.SlackBuild new file mode 100644 index 0000000..52cf77b --- /dev/null +++ b/gst1-plugins-base/gst1-plugins-base.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for gst1-plugins-base + +# Copyright 2013 Robby Workman, Northport, Alabama, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=gst1-plugins-base +VERSION=${VERSION:-1.2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +SRCNAM=gst-plugins-base + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://gstreamer.freedesktop.org/src/gst-plugins-base/$SRCNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS RE* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/gst1-plugins-base/slack-desc b/gst1-plugins-base/slack-desc new file mode 100644 index 0000000..f43f0e0 --- /dev/null +++ b/gst1-plugins-base/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +gst1-plugins-base: gst1-plugins-base (base set of GStreamer1 plugins) +gst1-plugins-base: +gst1-plugins-base: GStreamer Base Plug-ins is a well-groomed and well-maintained +gst1-plugins-base: collection of GStreamer plug-ins and elements, spanning the +gst1-plugins-base: range of possible types of elements one would want to write +gst1-plugins-base: for GStreamer. It also contains helper libraries and base +gst1-plugins-base: classes useful for writing elements. A wide range of video +gst1-plugins-base: and audio decoders, encoders, and filters are included. +gst1-plugins-base: +gst1-plugins-base: +gst1-plugins-base: diff --git a/gst1-plugins-good/gst1-plugins-good.SlackBuild b/gst1-plugins-good/gst1-plugins-good.SlackBuild new file mode 100644 index 0000000..de10ea9 --- /dev/null +++ b/gst1-plugins-good/gst1-plugins-good.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for gst1-plugins-good + +# Copyright 2013 Robby Workman, Northport, Alabama, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=gst1-plugins-good +VERSION=${VERSION:-1.2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +SRCNAM=gst-plugins-good + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://gstreamer.freedesktop.org/src/gst-plugins-good/$SRCNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS RE* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/gst1-plugins-good/slack-desc b/gst1-plugins-good/slack-desc new file mode 100644 index 0000000..a90f423 --- /dev/null +++ b/gst1-plugins-good/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +gst1-plugins-good: gst1-plugins-good (good set of GStreamer 1.x plugins) +gst1-plugins-good: +gst1-plugins-good: GStreamer Good Plug-ins is a set of plug-ins that have good +gst1-plugins-good: quality code, correct functionality, and a good license +gst1-plugins-good: (LGPL for the plug-in code, LGPL or LGPL-compatible for the +gst1-plugins-good: supporting library). +gst1-plugins-good: +gst1-plugins-good: +gst1-plugins-good: +gst1-plugins-good: +gst1-plugins-good: diff --git a/gstreamer1/gstreamer1.SlackBuild b/gstreamer1/gstreamer1.SlackBuild new file mode 100644 index 0000000..c326c86 --- /dev/null +++ b/gstreamer1/gstreamer1.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/sh + +# Slackware build script for gstreamer1 + +# Copyright 2013 Robby Workman, Northport, Alabama, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=gstreamer1 +VERSION=${VERSION:-1.2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +SRCNAM=gstreamer + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://gstreamer.freedesktop.org/src/gstreamer/$SRCNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL MAINTAINERS NEWS README RELEASE \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/gstreamer1/slack-desc b/gstreamer1/slack-desc new file mode 100644 index 0000000..bc31a2a --- /dev/null +++ b/gstreamer1/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +gstreamer1: GStreamer v1.x (streaming multimedia framework) +gstreamer1: +gstreamer1: GStreamer is a library that allows the construction of graphs of a +gstreamer1: media-handling components, ranging from simple Ogg/Vorbis playback +gstreamer1: to complex audio (mixing) and video (non-linear editing) processing. +gstreamer1: Applications can take advantage of advances in codec and filter +gstreamer1: technology transparently. Developers can add new codecs and filters +gstreamer1: by writing a simple plugin with a clean, generic interface. +gstreamer1: +gstreamer1: GStreamer is released under the LGPL. +gstreamer1: diff --git a/json-c/json-c.SlackBuild b/json-c/json-c.SlackBuild new file mode 100644 index 0000000..51ef7e1 --- /dev/null +++ b/json-c/json-c.SlackBuild @@ -0,0 +1,82 @@ +#!/bin/sh + +# Slackware build script for json-c + +# Written by crocket (crockabiscuit@gmail.com) +# Maintained by Benjamin Trigona-Harany (slackbuilds@jaxartes.net) +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=json-c +VERSION=${VERSION:-0.11} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://s3.amazonaws.com/json-c_releases/releases/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make -j1 +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL README* doc/html \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/json-c/slack-desc b/json-c/slack-desc new file mode 100644 index 0000000..45c1369 --- /dev/null +++ b/json-c/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +json-c: json-c (JSON library in C) +json-c: +json-c: json-c implements a reference counting object model that allows you +json-c: to easily construct JSON objects in C. +json-c: +json-c: Website : http://oss.metaparadigm.com/json-c/ +json-c: +json-c: +json-c: +json-c: +json-c: diff --git a/json-glib/json-glib.SlackBuild b/json-glib/json-glib.SlackBuild new file mode 100644 index 0000000..bf778e1 --- /dev/null +++ b/json-glib/json-glib.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh +# +# Slackware build script for JSON-Glib +# +# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=json-glib +VERSION=${VERSION:-0.16.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.16/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --mandir=/usr/man \ + --disable-static \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ABOUT-NLS COPYING ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +ln -s /usr/share/gtk-doc/html/json-glib $PKG/usr/doc/$PRGNAM-$VERSION/html + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/json-glib/slack-desc b/json-glib/slack-desc new file mode 100644 index 0000000..e9c4834 --- /dev/null +++ b/json-glib/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +json-glib: JSON-Glib (a de/serialization library for the JS Object Notation) +json-glib: +json-glib: JSON-GLib is a library providing serialization and deserialization +json-glib: support for the JavaScript Object Notation (JSON) format described +json-glib: by RFC 4627. +json-glib: +json-glib: Homepage: http://live.gnome.org/JsonGlib +json-glib: +json-glib: +json-glib: +json-glib: diff --git a/krb5/EXPORT b/krb5/EXPORT new file mode 100644 index 0000000..d868a9e --- /dev/null +++ b/krb5/EXPORT @@ -0,0 +1,13 @@ +EXPORT LAW WARNINGS: + + * Export of this software from the United States of America may be +subject to the Export Administration Regulations of the United States +Department of Commerce, currently (October 2003) codified as Title 15 +CFR Parts 730-774. + * You are responsible for complying with all applicable export +regulations, including obtaining an export license if required. + * You may not download this software if you are located in, or are +a citizen or national of, any country for which the US government +prohibits the export of encryption source code, currently (October +2003) Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria. (15 CFR +Sections 734(b)(3), 740.13(e)(4)) diff --git a/krb5/config/kerberos.csh b/krb5/config/kerberos.csh new file mode 100644 index 0000000..97c16de --- /dev/null +++ b/krb5/config/kerberos.csh @@ -0,0 +1,6 @@ +#!/bin/csh +setenv PATH ${PATH}:/usr/kerberos/bin +setenv MANPATH ${MANPATH}:/usr/kerberosman/ +if ( "$uid" == "0") then + setenv PATH ${PATH}:/usr/kerberos/sbin +endif diff --git a/krb5/config/kerberos.sh b/krb5/config/kerberos.sh new file mode 100644 index 0000000..d52b734 --- /dev/null +++ b/krb5/config/kerberos.sh @@ -0,0 +1,4 @@ +#!/bin/sh +PATH="$PATH:/usr/kerberos/bin" +MANPATH="$MANPATH:/usr/kerberos/man" +[ "$(id -u)" = "0" ] && PATH="$PATH:/usr/kerberos/sbin" diff --git a/krb5/doinst.sh b/krb5/doinst.sh new file mode 100644 index 0000000..5681259 --- /dev/null +++ b/krb5/doinst.sh @@ -0,0 +1,4 @@ +# Add kerberos libs to the library search path +if ! grep -q '^/usr/kerberos/lib$' etc/ld.so.conf ; then + echo "/usr/kerberos/lib" >> etc/ld.so.conf +fi diff --git a/krb5/krb5.SlackBuild b/krb5/krb5.SlackBuild new file mode 100644 index 0000000..87eb912 --- /dev/null +++ b/krb5/krb5.SlackBuild @@ -0,0 +1,121 @@ +#!/bin/sh + +# Slackware build script for krb5 + +# Copyright (c) 2009, Tom Canich, State College, Pennsylvania, USA +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials +# provided with the distribution. +# * Neither the name of Tom Canich nor the names of other contributors +# may be used to endorse or promote products derived from this +# software without specific prior written written permission. +# +# THIS SOFTWARE IS PROVIDED BY Tom Canich ''AS IS'' AND ANY +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Tom Canich BE LIABLE FOR +# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=krb5 +VERSION=${VERSION:-1.12.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://web.mit.edu/kerberos/dist/krb5/1.12/$PRGNAM-$VERSION-signed.tar + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +rm -f $TMP/$PRGNAM-$VERSION.tar.gz{,.asc} +tar xvf $CWD/$PRGNAM-$VERSION-signed.tar -C $TMP +tar xvf $TMP/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION/src + +patch -p1 < $CWD/krb5_tcl.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr/kerberos \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/kerberos/man \ + --enable-dns-for-realm \ + --with-ldap \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +mkdir -p $PKG/etc/profile.d/ +cat $CWD/config/kerberos.sh > $PKG/etc/profile.d/kerberos.sh +cat $CWD/config/kerberos.csh > $PKG/etc/profile.d/kerberos.csh +chmod 0755 $PKG/etc/profile.d/* + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/kerberos/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/kerberos/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/bin +ln -s $PKG/usr/kerberos/bin/krb5-config $PKG/usr/bin/krb5-config + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chown -R root:root $PKG/usr/doc +find $PKG/usr/doc -type f -exec chmod 0644 {} \; + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/krb5/krb5_tcl.patch b/krb5/krb5_tcl.patch new file mode 100644 index 0000000..37d47c5 --- /dev/null +++ b/krb5/krb5_tcl.patch @@ -0,0 +1,134 @@ +--- src/kadmin/testing/util/tcl_kadm5.c.orig 2013-11-22 16:22:36.690361910 +0700 ++++ src/kadmin/testing/util/tcl_kadm5.c 2013-11-22 16:44:15.022203082 +0700 +@@ -801,7 +801,7 @@ + return retcode; + } + if (argc != num_keysalts) { +- sprintf(interp->result, "%d keysalts specified, " ++ sprintf(Tcl_GetErrorLine(interp), "%d keysalts specified, " + "but num_keysalts is %d", argc, num_keysalts); + retcode = TCL_ERROR; + goto finished; +@@ -814,7 +814,7 @@ + goto finished; + } + if (argc1 != 2) { +- sprintf(interp->result, "wrong # fields in keysalt " ++ sprintf(Tcl_GetErrorLine(interp), "wrong # fields in keysalt " + "(%d should be 2)", argc1); + retcode = TCL_ERROR; + goto finished; +@@ -856,7 +856,7 @@ + *key_data = NULL; + if (list == NULL) { + if (n_key_data != 0) { +- sprintf(interp->result, "0 key_datas specified, " ++ sprintf(Tcl_GetErrorLine(interp), "0 key_datas specified, " + "but n_key_data is %d", n_key_data); + retcode = TCL_ERROR; + goto finished; +@@ -868,14 +868,14 @@ + return retcode; + } + if (argc != n_key_data) { +- sprintf(interp->result, "%d key_datas specified, " ++ sprintf(Tcl_GetErrorLine(interp), "%d key_datas specified, " + "but n_key_data is %d", argc, n_key_data); + retcode = TCL_ERROR; + goto finished; + } + + if (argc != 0) { +- sprintf(interp->result, "cannot parse key_data yet"); ++ sprintf(Tcl_GetErrorLine(interp), "cannot parse key_data yet"); + retcode = TCL_ERROR; + goto finished; + } +@@ -896,7 +896,7 @@ + *tlp = NULL; + if (list == NULL) { + if (n_tl_data != 0) { +- sprintf(interp->result, "0 tl_datas specified, " ++ sprintf(Tcl_GetErrorLine(interp), "0 tl_datas specified, " + "but n_tl_data is %d", n_tl_data); + retcode = TCL_ERROR; + goto finished; +@@ -908,7 +908,7 @@ + return retcode; + } + if (argc != n_tl_data) { +- sprintf(interp->result, "%d tl_datas specified, " ++ sprintf(Tcl_GetErrorLine(interp), "%d tl_datas specified, " + "but n_tl_data is %d", argc, n_tl_data); + retcode = TCL_ERROR; + goto finished; +@@ -929,7 +929,7 @@ + goto finished; + } + if (argc1 != 3) { +- sprintf(interp->result, "wrong # fields in tl_data " ++ sprintf(Tcl_GetErrorLine(interp), "wrong # fields in tl_data " + "(%d should be 3)", argc1); + retcode = TCL_ERROR; + goto finished; +@@ -949,7 +949,7 @@ + } + tl->tl_data_length = tmp; + if (tl->tl_data_length != strlen(argv1[2])) { +- sprintf(interp->result, "specified length %d does not " ++ sprintf(Tcl_GetErrorLine(interp), "specified length %d does not " + "match length %lu of string \"%s\"", tmp, + (unsigned long) strlen(argv1[2]), argv1[2]); + retcode = TCL_ERROR; +@@ -962,7 +962,7 @@ + tl = tl->tl_data_next; + } + if (tl != NULL) { +- sprintf(interp->result, "tl is not NULL!"); ++ sprintf(Tcl_GetErrorLine(interp), "tl is not NULL!"); + retcode = TCL_ERROR; + goto finished; + } +@@ -992,7 +992,7 @@ + } + + if (argc != 20) { +- sprintf(interp->result, ++ sprintf(Tcl_GetErrorLine(interp), + "wrong # args in config params structure (%d should be 20)", + argc); + retcode = TCL_ERROR; +@@ -1129,7 +1129,7 @@ + } + + if (argc != 12 && argc != 20) { +- sprintf(interp->result, ++ sprintf(Tcl_GetErrorLine(interp), + "wrong # args in principal structure (%d should be 12 or 20)", + argc); + retcode = TCL_ERROR; +@@ -1391,7 +1391,7 @@ + } + + if (argc != 7 && argc != 10) { +- sprintf(interp->result, "wrong # args in policy structure (%d should be 7 or 10)", ++ sprintf(Tcl_GetErrorLine(interp), "wrong # args in policy structure (%d should be 7 or 10)", + argc); + retcode = TCL_ERROR; + goto finished; +--- src/kadmin/testing/util/tcl_kadm5.h.orig 2013-11-22 16:33:21.532338510 +0700 ++++ src/kadmin/testing/util/tcl_kadm5.h 2013-11-22 16:33:35.462212999 +0700 +@@ -1,3 +1,12 @@ + /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ + + void Tcl_kadm5_init(Tcl_Interp *interp); ++ ++/* ++ * Beginning with 8.6, interp->errorLine isn't public visible anymore ++ * (TIP 330) ++*/ ++ ++#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6) ++# define Tcl_GetErrorLine(interp) (interp)->errorLine ++#endif +\ No newline at end of file diff --git a/krb5/slack-desc b/krb5/slack-desc new file mode 100644 index 0000000..654bc77 --- /dev/null +++ b/krb5/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +krb5: krb5 (network authentication protocol) +krb5: +krb5: Kerberos is a network authentication protocol. It is designed to +krb5: provide strong authentication for client/server applications by using +krb5: secret-key cryptography. A free implementation of this protocol is +krb5: available from the Massachusetts Institute of Technology. Kerberos is +krb5: available in many commercial products as well. +krb5: +krb5: Homepage: http://web.mit.edu/kerberos/ +krb5: +krb5: diff --git a/libgee/libgee.SlackBuild b/libgee/libgee.SlackBuild new file mode 100644 index 0000000..62d3618 --- /dev/null +++ b/libgee/libgee.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for libgee + +# Written by Larry Hajali + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=libgee +VERSION=${VERSION:-0.14.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/gnome/sources/libgee/0.14/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-silent-rules \ + --enable-introspection=auto \ + --disable-dependency-tracking \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/libgee/slack-desc b/libgee/slack-desc new file mode 100644 index 0000000..cf0e017 --- /dev/null +++ b/libgee/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +libgee: libgee (GObject-based interfaces and classes) +libgee: +libgee: libgee is a collection library providing GObject-based interfaces and +libgee: classes for commonly used data structures. +libgee: +libgee: Homepage: http://live.gnome.org/Libgee +libgee: +libgee: +libgee: +libgee: +libgee: diff --git a/libgnomekbd/doinst.sh b/libgnomekbd/doinst.sh new file mode 100644 index 0000000..ed28460 --- /dev/null +++ b/libgnomekbd/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/libgnomekbd/libgnomekbd.SlackBuild b/libgnomekbd/libgnomekbd.SlackBuild new file mode 100644 index 0000000..b8909e9 --- /dev/null +++ b/libgnomekbd/libgnomekbd.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for libgnomekbd + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=libgnomekbd +VERSION=${VERSION:-3.6.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.acc.umu.se/pub/gnome/sources/libgnomekbd/3.6/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/libgnomekbd/slack-desc b/libgnomekbd/slack-desc new file mode 100644 index 0000000..67fe48b --- /dev/null +++ b/libgnomekbd/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +libgnomekbd: libgnomekbd (XKB Hooks) +libgnomekbd: +libgnomekbd: libgnomekbd contains xkb hooks used by the CINNAMON desktop. +libgnomekbd: +libgnomekbd: +libgnomekbd: +libgnomekbd: +libgnomekbd: +libgnomekbd: +libgnomekbd: +libgnomekbd: diff --git a/libgusb/libgusb.SlackBuild b/libgusb/libgusb.SlackBuild new file mode 100644 index 0000000..55a7981 --- /dev/null +++ b/libgusb/libgusb.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/sh + +# Slackware build script for libgusb + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=libgusb +VERSION=${VERSION:-0.1.6} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://people.freedesktop.org/~hughsient/releases/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* MAINTAINERS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/libgusb/slack-desc b/libgusb/slack-desc new file mode 100644 index 0000000..e36a0bb --- /dev/null +++ b/libgusb/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +libgusb: libgusb (Glib Wrapper) +libgusb: +libgusb: libgusb is a GLib wrapper around libusb1 +libgusb: +libgusb: +libgusb: +libgusb: +libgusb: +libgusb: +libgusb: +libgusb: diff --git a/lxml/lxml.SlackBuild b/lxml/lxml.SlackBuild new file mode 100644 index 0000000..a8432d9 --- /dev/null +++ b/lxml/lxml.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for lxml + +# Copyright 2009-2013 Larry Hajali +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=lxml +VERSION=${VERSION:-3.3.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://pypi.python.org/packages/source/l/lxml/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python setup.py build --with-unicode-strings +python setup.py install --skip-build --root=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt PKG-INFO doc/licenses/* doc/FAQ.txt $PKG/usr/doc/$PRGNAM-$VERSION +rm $PKG/usr/doc/$PRGNAM-$VERSION/version.txt +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/lxml/slack-desc b/lxml/slack-desc new file mode 100644 index 0000000..7354e89 --- /dev/null +++ b/lxml/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +lxml: lxml (Python bindings for libxml2 and libxslt) +lxml: +lxml: lxml is a Pythonic binding for the libxml2 and libxslt libraries. It +lxml: is unique in that it combines the speed and feature completeness of +lxml: these libraries with the simplicity of a native Python API. +lxml: +lxml: Homepage: http://codespeak.net/lxml/ +lxml: +lxml: +lxml: +lxml: diff --git a/metacity/doinst.sh b/metacity/doinst.sh new file mode 100644 index 0000000..ed28460 --- /dev/null +++ b/metacity/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/metacity/metacity.SlackBuild b/metacity/metacity.SlackBuild new file mode 100644 index 0000000..1506bee --- /dev/null +++ b/metacity/metacity.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +# Slackware build script for metacity + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=metacity +VERSION=${VERSION:-2.34.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/gnome/sources/metacity/2.34/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --disable-schemas-compile \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/metacity/slack-desc b/metacity/slack-desc new file mode 100644 index 0000000..626a0d0 --- /dev/null +++ b/metacity/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +metacity: metacity (lightweight window manager) +metacity: +metacity: Metacity is a lightweight window manager implemented with the +metacity: GTK+ 2.x toolkit, and so integrates well with the GNOME 2.x platform +metacity: +metacity: +metacity: Project URL: http://xwinman.org/metacity.php +metacity: +metacity: +metacity: +metacity: diff --git a/muffin/doinst.sh b/muffin/doinst.sh new file mode 100644 index 0000000..6922dbb --- /dev/null +++ b/muffin/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/muffin/muffin.SlackBuild b/muffin/muffin.SlackBuild new file mode 100644 index 0000000..c945b82 --- /dev/null +++ b/muffin/muffin.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh + +# Slackware build script for muffin + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=muffin +VERSION=${VERSION:-2.0.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/muffin/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-introspection=yes \ + --disable-schemas-compile \ + --enable-compile-warnings=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/muffin/slack-desc b/muffin/slack-desc new file mode 100644 index 0000000..bed912b --- /dev/null +++ b/muffin/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +muffin: muffin (Window Manager) +muffin: +muffin: muffin is Cinnamon Window Manager +muffin: +muffin: +muffin: +muffin: Project URL: https://github.com/linuxmint/muffin +muffin: +muffin: +muffin: +muffin: diff --git a/nemo/Fix_rename_entry_position.patch b/nemo/Fix_rename_entry_position.patch new file mode 100644 index 0000000..615f58d --- /dev/null +++ b/nemo/Fix_rename_entry_position.patch @@ -0,0 +1,32 @@ +--- a/eel/eel-canvas.c ++++ b/eel/eel-canvas.c +@@ -3213,11 +3213,19 @@ eel_canvas_draw (GtkWidget *widget, cair + return FALSE; + + bin_window = gtk_layout_get_bin_window (GTK_LAYOUT (widget)); ++ ++ if (!gtk_cairo_should_draw_window (cr, bin_window)) ++ return FALSE; ++ ++ cairo_save (cr); ++ + gtk_cairo_transform_to_window (cr, widget, bin_window); + + region = eel_cairo_get_clip_region (cr); +- if (region == NULL) ++ if (region == NULL) { ++ cairo_restore (cr); + return FALSE; ++ } + + #ifdef VERBOSE + g_print ("Draw\n"); +@@ -3249,6 +3257,8 @@ eel_canvas_draw (GtkWidget *widget, cair + if (canvas->root->flags & EEL_CANVAS_ITEM_MAPPED) + EEL_CANVAS_ITEM_GET_CLASS (canvas->root)->draw (canvas->root, cr, region); + ++ cairo_restore (cr); ++ + /* Chain up to get exposes on child widgets */ + if (GTK_WIDGET_CLASS (canvas_parent_class)->draw) + GTK_WIDGET_CLASS (canvas_parent_class)->draw (widget, cr); diff --git a/nemo/doinst.sh b/nemo/doinst.sh new file mode 100644 index 0000000..ed28460 --- /dev/null +++ b/nemo/doinst.sh @@ -0,0 +1,19 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/nemo/nemo.SlackBuild b/nemo/nemo.SlackBuild new file mode 100644 index 0000000..2c4e79b --- /dev/null +++ b/nemo/nemo.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware build script for nemo + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=nemo +VERSION=${VERSION:-2.0.8} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://github.com/linuxmint/nemo/archive/$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/Fix_rename_entry_position.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./autogen.sh \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-introspection=yes \ + --enable-compile-warnings=no \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/nemo/slack-desc b/nemo/slack-desc new file mode 100644 index 0000000..9564a43 --- /dev/null +++ b/nemo/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +nemo: nemo (File Manager) +nemo: +nemo: nemo is the file manager for the Cinnamon desktop environment. +nemo: +nemo: +nemo: +nemo: +nemo: +nemo: +nemo: +nemo: diff --git a/orc/orc.SlackBuild b/orc/orc.SlackBuild new file mode 100644 index 0000000..a79a907 --- /dev/null +++ b/orc/orc.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for orc + +# Written by M.Dinslage (daedra1980@gmail.com) + +# Modified by Willy Sudiarto Raharjo for CSB Project +PRGNAM=orc +VERSION=${VERSION:-0.4.18} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://code.entropywave.com/download/orc/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/orc/slack-desc b/orc/slack-desc new file mode 100644 index 0000000..04680cf --- /dev/null +++ b/orc/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +orc: orc (The Oil Runtime Compiler) +orc: +orc: Orc is a library and set of tools for compiling and executing very +orc: simple programs that operate on arrays of data. The language is +orc: a generic assembly language that represents many of the features +orc: available in SIMD architectures, including saturated addition and +orc: subtraction, and many arithmetic operations. +orc: +orc: +orc: +orc: diff --git a/pam/pam.SlackBuild b/pam/pam.SlackBuild new file mode 100644 index 0000000..ab36175 --- /dev/null +++ b/pam/pam.SlackBuild @@ -0,0 +1,122 @@ +#!/bin/sh + +# Copyright 2010 Vincent Batts, vbatts@hashbangbash.com +# Copyright 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Heavily modified by Willy Sudiarto Raharjo for CSB project +# Copyright 2014 Willy Sudiarto Raharjo +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +SRCNAM=Linux-PAM +PRGNAM=pam +VERSION=${VERSION:-1.1.8} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://www.linux-pam.org/library/$SRCNAM-$VERSION.tar.bz2 + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$SRCNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +cd $SRCNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/ \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --includedir=/usr/include/security \ + --datarootdir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-read-both-confs \ + --disable-prelude \ + --disable-selinux \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +# this is a pam helper, that can only be called from pam +chown root:shadow $PKG/sbin/unix_chkpwd +chmod g+s $PKG/sbin/unix_chkpwd + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* Copyright NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/index.html + +# fix some missing symlinks from old pam for compatibility +cd $PKG/usr/lib${LIBDIRSUFFIX}/security +ln -s pam_unix.so pam_unix_acct.so +ln -s pam_unix.so pam_unix_auth.so +ln -s pam_unix.so pam_unix_passwd.so +ln -s pam_unix.so pam_unix_session.so + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pam/slack-desc b/pam/slack-desc new file mode 100644 index 0000000..d9d305c --- /dev/null +++ b/pam/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pam: pam (Pluggable Authentication Modules) +pam: +pam: PAM = Pluggable Authentication Modules. Basically, it is a flexible +pam: mechanism for authenticating users. PAM provides a way to develop +pam: programs that are independent of authentication scheme. However, +pam: these programs will need "authentication modules" (and libpam) at +pam: run-time in order to work. +pam: +pam: +pam: Homepage: http://www.linux-pam.org/ +pam: diff --git a/pam_unix2/pam_unix.patch b/pam_unix2/pam_unix.patch new file mode 100644 index 0000000..faa6a23 --- /dev/null +++ b/pam_unix2/pam_unix.patch @@ -0,0 +1,20 @@ +Index: pam_unix2-2.9.1/src/read-files.c +=================================================================== +--- pam_unix2-2.9.1.orig/src/read-files.c ++++ pam_unix2-2.9.1/src/read-files.c +@@ -30,8 +30,14 @@ + #include + #include + #include +-#include ++#include + #define __libc_lock_t pthread_mutex_t ++#define __libc_lock_define_initialized(CLASS,NAME) \ ++ CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER; ++#define __libc_lock_lock(NAME) \ ++ pthread_mutex_lock, (&(NAME)) ++#define __libc_lock_unlock(NAME) \ ++ pthread_mutex_unlock, (&(NAME)) + + #include "read-files.h" + diff --git a/pam_unix2/pam_unix2.SlackBuild b/pam_unix2/pam_unix2.SlackBuild new file mode 100644 index 0000000..d119d98 --- /dev/null +++ b/pam_unix2/pam_unix2.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for pam_unix2 + +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. + +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=pam_unix2 +VERSION=${VERSION:-2.9.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c ftp://ftp.archlinux.org/other/pam_unix2/pam_unix2-2.9.1.tar.bz2 + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p1 < $CWD/pam_unix.patch + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/ \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --includedir=/usr/include/security \ + --datarootdir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-selinux \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a ABOUT-NLS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION/ + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pam_unix2/slack-desc b/pam_unix2/slack-desc new file mode 100644 index 0000000..fb0b81c --- /dev/null +++ b/pam_unix2/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pam_unix2: pam_unix2 (Module for traditional password authentication ) +pam_unix2: +pam_unix2: pam_unix2 is the standard Unix authentication module. +pam_unix2: The authentication component performs the task of checking the +pam_unix2: users credentials (password). +pam_unix2: +pam_unix2: Credentials information is obtained from the /etc/passwd and the +pam_unix2: /etc/shadow file as well if shadow is enabled. +pam_unix2: +pam_unix2: +pam_unix2: diff --git a/pangox-compat/pangox-compat.SlackBuild b/pangox-compat/pangox-compat.SlackBuild new file mode 100644 index 0000000..e504898 --- /dev/null +++ b/pangox-compat/pangox-compat.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for pangox-compat. + +# Copyright 2013 Mathew Holleran. +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=pangox-compat +VERSION=${VERSION:-0.0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + *) export ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/gnome/sources/pangox-compat/0.0/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=${PKG:-${TMP}/package-$PRGNAM} +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --disable-static \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux \ + --target=$ARCH-slackware-linux + +make + +# Check the host value that is passed to the compile to the one in this script: +host="$ARCH-slackware-linux-gnu" +compile_host=$(grep 'host_triplet =' $TMP/$PRGNAM-$VERSION/Makefile | sed "s/.* = //") +if [ "x$compile_host" != "x$host" ]; then + echo "Host mismatch: compile='$compile_host', SlackBuild='$host'" && exit 1 +fi + +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog NEWS INSTALL COPYING README $PKG/usr/doc/$PRGNAM-$VERSION + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pangox-compat/slack-desc b/pangox-compat/slack-desc new file mode 100644 index 0000000..ae352c1 --- /dev/null +++ b/pangox-compat/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pangox-compat: pangox-compat (X font support for Pango) +pangox-compat: +pangox-compat: X Window System font support for Pango. +pangox-compat: +pangox-compat: http://www.pango.org +pangox-compat: +pangox-compat: +pangox-compat: +pangox-compat: +pangox-compat: +pangox-compat: diff --git a/pexpect/pexpect.SlackBuild b/pexpect/pexpect.SlackBuild new file mode 100644 index 0000000..f4f7563 --- /dev/null +++ b/pexpect/pexpect.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for Pexpect + +# Copyright (c) 2007 Javier Rojas +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=pexpect +VERSION=${VERSION:-2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://downloads.sourceforge.net/pexpect/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a -r INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pexpect/slack-desc b/pexpect/slack-desc new file mode 100644 index 0000000..8bad652 --- /dev/null +++ b/pexpect/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pexpect: pexpect (Python module for spawning child applications) +pexpect: +pexpect: Pexpect is a Python module for spawning child applications, +pexpect: controlling them, and responding to expected patterns in their +pexpect: output. Pexpect can be used for automating interactive +pexpect: applications such as ssh, ftp, passwd, telnet, etc. +pexpect: Pexpect is pure Python. +pexpect: +pexpect: +pexpect: +pexpect: diff --git a/pulseaudio/doinst.sh b/pulseaudio/doinst.sh new file mode 100644 index 0000000..4d34b37 --- /dev/null +++ b/pulseaudio/doinst.sh @@ -0,0 +1,26 @@ +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... +} +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} +config etc/pulse/client.conf.new +config etc/pulse/default.pa.new +config etc/pulse/daemon.conf.new +preserve_perms etc/rc.d/rc.pulseaudio.new diff --git a/pulseaudio/pulseaudio.SlackBuild b/pulseaudio/pulseaudio.SlackBuild new file mode 100644 index 0000000..e1b2f36 --- /dev/null +++ b/pulseaudio/pulseaudio.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware build script for pulseaudio + +# Written by crocket (crockabiscuit@gmail.com) + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=pulseaudio +VERSION=${VERSION:-5.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://freedesktop.org/software/pulseaudio/releases/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +if ! grep -q ^pulse: /etc/group ; then + groupadd -g 216 pulse + useradd -g pulse -u 216 -d /var/lib/pulse pulse +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +if pkg-config --exists orc-0.4 ; then + ORC=yes +else + ORC=no +fi + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-tcpwrap \ + --enable-orc=${ORC} \ + --disable-static \ + --disable-solaris \ + --disable-waveout \ + --with-system-user=pulse \ + --with-system-group=pulse \ + --with-access-group=audio \ + --build=$ARCH-slackware-linux + +make -j1 +make install-strip DESTDIR=$PKG + +mv $PKG/etc/pulse/client.conf $PKG/etc/pulse/client.conf.new +mv $PKG/etc/pulse/default.pa $PKG/etc/pulse/default.pa.new +mv $PKG/etc/pulse/daemon.conf $PKG/etc/pulse/daemon.conf.new + +mkdir -p $PKG/etc/rc.d +cp $CWD/rc.pulseaudio $PKG/etc/rc.d/rc.pulseaudio.new + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *GPL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pulseaudio/rc.pulseaudio b/pulseaudio/rc.pulseaudio new file mode 100644 index 0000000..81c9361 --- /dev/null +++ b/pulseaudio/rc.pulseaudio @@ -0,0 +1,43 @@ +#!/bin/sh + +start() +{ + if /usr/bin/sudo -u pulse /usr/bin/pulseaudio --check; then + echo "pulseaudio is running." + else + echo "Starting pulseaudio..." + /usr/bin/sudo -u pulse /usr/bin/pulseaudio --start --use-pid-file=yes + fi +} + +stop() +{ + if /usr/bin/sudo -u pulse /usr/bin/pulseaudio --check; then + printf "Stopping pulseaudio..." + /usr/bin/sudo -u pulse /usr/bin/pulseaudio --kill + while /usr/bin/sudo -u pulse /usr/bin/pulseaudio --check; do + printf "." + sleep 1 + done + echo "Done" + else + echo "pulseaudio is not running." + fi +} + +status() +{ + if /usr/bin/sudo -u pulse /usr/bin/pulseaudio --check; then + echo "pulseaudio is running." + else + echo "pulseaudio is not running." + fi +} + +case "$1" in +'start')start;; +'stop')stop;; +'restart')stop;start;; +'status')status;; +*)echo "$0 start|stop|restart|status" +esac diff --git a/pulseaudio/slack-desc b/pulseaudio/slack-desc new file mode 100644 index 0000000..3fc49b0 --- /dev/null +++ b/pulseaudio/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pulseaudio: pulseaudio (PulseAudio Sound Server) +pulseaudio: +pulseaudio: pulseaudio is a networked sound server for Linux and other +pulseaudio: Unix like operating systems and Microsoft Windows. It is +pulseaudio: intended to be an improved drop-in replacement for the +pulseaudio: Enlightened Sound Daemon (ESOUND). +pulseaudio: +pulseaudio: Website : http://www.pulseaudio.org +pulseaudio: +pulseaudio: +pulseaudio: diff --git a/pygobject3/pygobject3.SlackBuild b/pygobject3/pygobject3.SlackBuild new file mode 100644 index 0000000..b11d22b --- /dev/null +++ b/pygobject3/pygobject3.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Copyright 2007, 2008 Erik Hanson erik@slackbuilds.org +# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=pygobject3 +SRCNAM=pygobject +VERSION=${VERSION:-3.8.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.8/$SRCNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.xz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL AUTHORS COPYING* NEWS README* \ + $PKG/usr/doc/$PRGNAM-$VERSION +( cd $PKG/usr/doc/$PRGNAM-$VERSION + ln -s ../../share/gtk-doc/html/pygobject html +) + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pygobject3/slack-desc b/pygobject3/slack-desc new file mode 100644 index 0000000..1759337 --- /dev/null +++ b/pygobject3/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pygobject3: pygobject3 (GObject bindings for Python) +pygobject3: +pygobject3: This archive contains bindings for the GObject, to be used in Python. +pygobject3: It is a fairly complete set of bindings, it's already rather useful, +pygobject3: and is usable to write moderately complex programs. +pygobject3: +pygobject3: pygobject's home page: http://www.pygtk.org/ +pygobject3: +pygobject3: +pygobject3: +pygobject3: diff --git a/pysetuptools/pysetuptools.SlackBuild b/pysetuptools/pysetuptools.SlackBuild new file mode 100644 index 0000000..ddbb4ec --- /dev/null +++ b/pysetuptools/pysetuptools.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh + +# Copyright 2013-2014 Audrius Kažukauskas +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=pysetuptools +VERSION=${VERSION:-3.4.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +SRCNAM=setuptools + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://pypi.python.org/packages/source/s/setuptools/$SRCNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=${PKG:-$TMP/package-$SRCNAM} +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +rm -f setuptools/*.exe +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/pysetuptools/slack-desc b/pysetuptools/slack-desc new file mode 100644 index 0000000..62949a6 --- /dev/null +++ b/pysetuptools/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +pysetuptools: pysetuptools (a collection of enhancements to Python distutils) +pysetuptools: +pysetuptools: Easily build, install, upgrade, and uninstall Python packages! +pysetuptools: +pysetuptools: Setuptools is a fully-featured, actively-maintained, and stable +pysetuptools: library designed to facilitate packaging Python projects, where +pysetuptools: packaging includes Python package and module definitions, +pysetuptools: distribution package metadata, test hooks, project installation, +pysetuptools: platform-specific details, and Python 3 support. +pysetuptools: +pysetuptools: diff --git a/python-pam/python-pam.SlackBuild b/python-pam/python-pam.SlackBuild new file mode 100644 index 0000000..dba7e76 --- /dev/null +++ b/python-pam/python-pam.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh + +# Slackware build script for python-pam +# +# Copyright 2014 Willy Sudiarto Raharjo +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=python-pam +VERSION=${VERSION:-0.1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c https://pypi.python.org/packages/source/p/pam/pam-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="PKG-INFO" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf pam-$VERSION +tar xvf $CWD/pam-$VERSION.tar.gz +cd pam-$VERSION + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +python setup.py install --root=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/python-pam/slack-desc b/python-pam/slack-desc new file mode 100644 index 0000000..faf9dfc --- /dev/null +++ b/python-pam/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +python-pam: python-pam (Authentication Module) +python-pam: +python-pam: This module provides an authenticate function that allows the caller +python-pam: to authenticate a given username / password against the PAM system +python-pam: on Linux. +python-pam: +python-pam: +python-pam: +python-pam: +python-pam: Project URL: http://atlee.ca/software/pam/ +python-pam: diff --git a/speex/slack-desc b/speex/slack-desc new file mode 100644 index 0000000..795a23d --- /dev/null +++ b/speex/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +speex: Speex (an audio compression format designed for speech) +speex: +speex: Speex is an Open Source/Free Software patent-free audio compression +speex: format designed for speech. The Speex Project aims to lower the +speex: barrier of entry for voice applications by providing a free +speex: alternative to expensive proprietary speech codecs. Moreover, Speex +speex: is well-adapted to Internet applications and provides useful features +speex: that are not present in most other codecs. Finally, Speex is part of +speex: the GNU Project and is available under the revised BSD license. +speex: +speex: Homepage: http://www.speex.org/ diff --git a/speex/speex.SlackBuild b/speex/speex.SlackBuild new file mode 100644 index 0000000..41de507 --- /dev/null +++ b/speex/speex.SlackBuild @@ -0,0 +1,110 @@ +#!/bin/sh + +# Slackware build script for speex + +# Copyright (c) 2012 Vliegendehuiskat +# Copyright (c) 2007 Alex Lysenka +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by SlackBuilds.org + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=speex +VERSION=${VERSION:-1.2rc1} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://downloads.us.xiph.org/releases/speex/$PRGNAM-$VERSION.tar.gz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --build=$ARCH-slackware-linux + +# Hack to also make it look in the right directory on multilib systems +make LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" +make install DESTDIR=$PKG + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +) + +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc -type f -exec chown root:root {} \; -exec chmod 644 {} \; + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/vala/slack-desc b/vala/slack-desc new file mode 100644 index 0000000..cf4d0ef --- /dev/null +++ b/vala/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +vala: Vala (Compiler for the GObject type system) +vala: +vala: Vala is a new programming language that aims to bring modern +vala: programming language features to GNOME developers without imposing +vala: any additional runtime requirements and without using a different +vala: ABI compared to applications and libraries written in C. +vala: +vala: +vala: +vala: +vala: diff --git a/vala/vala.SlackBuild b/vala/vala.SlackBuild new file mode 100644 index 0000000..0e410b1 --- /dev/null +++ b/vala/vala.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware build script for Vala + +# Copyright 2009-2013 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=vala +VERSION=${VERSION:-0.24.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.gnome.org/pub/GNOME/sources/vala/0.24/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --mandir=/usr/man/ \ + --disable-static \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README THANKS \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/zenity/slack-desc b/zenity/slack-desc new file mode 100644 index 0000000..1f733ba --- /dev/null +++ b/zenity/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +zenity: zenity (display gtk dialog boxes from cli) +zenity: +zenity: Zenity is a tool that allows you to display Gtk+ dialog boxes from +zenity: the command line and through shell scripts. It is similar to +zenity: gdialog, but is intended to be saner. +zenity: +zenity: Homepage: http://live.gnome.org/Zenity +zenity: +zenity: +zenity: +zenity: diff --git a/zenity/zenity.SlackBuild b/zenity/zenity.SlackBuild new file mode 100644 index 0000000..224b206 --- /dev/null +++ b/zenity/zenity.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh +# Slackware build script for zenity +# Written by Larry Hajali +# Maintained by Erik Hanson +# Modified by Willy Sudiarto Raharjo for CSB Project + +PRGNAM=zenity +VERSION=${VERSION:-3.8.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_csb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -c http://ftp.acc.umu.se/pub/gnome/sources/zenity/3.8/$PRGNAM-$VERSION.tar.xz + +CWD=$(pwd) +TMP=${TMP:-/tmp/csb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --enable-debug=no \ + --enable-libnotify \ + --without-help-dir \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING HACKING NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}