From b215c86a1f090038327039ed52f0f10896bf1f76 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 3 May 2015 17:51:58 +0700 Subject: [PATCH] orc: Removed (Added to Slackware). Signed-off-by: Willy Sudiarto Raharjo --- BUILD_ORDER | 1 - build-cinnamon.sh | 1 - metacity/metacity.SlackBuild | 10 ++--- orc/orc.SlackBuild | 83 ------------------------------------ orc/slack-desc | 12 ------ 5 files changed, 5 insertions(+), 102 deletions(-) delete mode 100644 orc/orc.SlackBuild delete mode 100644 orc/slack-desc diff --git a/BUILD_ORDER b/BUILD_ORDER index 0a133ca..971e17f 100644 --- a/BUILD_ORDER +++ b/BUILD_ORDER @@ -32,7 +32,6 @@ pexpect BeautifulSoup lxml metacity -orc gstreamer1 gst1-plugins-base gst1-plugins-good diff --git a/build-cinnamon.sh b/build-cinnamon.sh index bd659ad..c46b869 100755 --- a/build-cinnamon.sh +++ b/build-cinnamon.sh @@ -72,7 +72,6 @@ for dir in \ BeautifulSoup \ lxml \ metacity \ - orc \ gstreamer1 \ gst1-plugins-base \ gst1-plugins-good \ diff --git a/metacity/metacity.SlackBuild b/metacity/metacity.SlackBuild index 1506bee..39d5e41 100644 --- a/metacity/metacity.SlackBuild +++ b/metacity/metacity.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for metacity -# Copyright 2014 Willy Sudiarto Raharjo +# Copyright 2014-2015 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=metacity -VERSION=${VERSION:-2.34.13} +VERSION=${VERSION:-3.14.3} BUILD=${BUILD:-1} TAG=${TAG:-_csb} @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/metacity/2.34/$PRGNAM-$VERSION.tar.xz +wget -c http://ftp.gnome.org/pub/gnome/sources/metacity/3.14/$PRGNAM-$VERSION.tar.xz CWD=$(pwd) TMP=${TMP:-/tmp/csb} @@ -69,7 +69,7 @@ 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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -94,7 +94,7 @@ 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 +cp -a AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/orc/orc.SlackBuild b/orc/orc.SlackBuild deleted file mode 100644 index 22d4921..0000000 --- a/orc/orc.SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/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.22} -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://gstreamer.freedesktop.org/src/orc/$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 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 deleted file mode 100644 index 04680cf..0000000 --- a/orc/slack-desc +++ /dev/null @@ -1,12 +0,0 @@ - |-----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: