aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/glade/README14
-rw-r--r--development/glade/doinst.sh6
-rw-r--r--development/glade/glade.Slackbuild109
-rw-r--r--development/glade/glade.info10
-rw-r--r--development/glade/slack-desc19
5 files changed, 158 insertions, 0 deletions
diff --git a/development/glade/README b/development/glade/README
new file mode 100644
index 000000000000..5cac5badf20d
--- /dev/null
+++ b/development/glade/README
@@ -0,0 +1,14 @@
+Glade (GTK+3 User Interface Builder)
+
+Glade is a RAD tool to enable quick & easy development of user
+interfaces for the Gtk+ toolkit and the GNOME desktop environment.
+The user interfaces designed in Glade are stored in XML format,
+enabling easy integration with external tools.
+
+This version of Glade (Glade-3) is a complete rewrite of the original
+Glade codebase.
+
+Please note that this version is different than glade3 provided by
+Slackware, which is glade3-3.8.3 for GTK+2; this package is for GTK+3.
+
+pygobject3 is an optional dependency.
diff --git a/development/glade/doinst.sh b/development/glade/doinst.sh
new file mode 100644
index 000000000000..30eb690936b5
--- /dev/null
+++ b/development/glade/doinst.sh
@@ -0,0 +1,6 @@
+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/development/glade/glade.Slackbuild b/development/glade/glade.Slackbuild
new file mode 100644
index 000000000000..bcae38ca81ac
--- /dev/null
+++ b/development/glade/glade.Slackbuild
@@ -0,0 +1,109 @@
+#!/bin/sh
+
+# Slackware build script for glade
+
+# Copyright 2013 Bart van der Hall
+# 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=glade
+VERSION=${VERSION:-3.12.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+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
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -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 \
+ --disable-scrollkeeper
+
+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 COPYING* INSTALL NEWS README* TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+# If there's a ChangeLog, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
+
+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:-tgz}
diff --git a/development/glade/glade.info b/development/glade/glade.info
new file mode 100644
index 000000000000..df9241bb1fc4
--- /dev/null
+++ b/development/glade/glade.info
@@ -0,0 +1,10 @@
+PRGNAM="glade"
+VERSION="3.12.2"
+HOMEPAGE="http://glade.gnome.org"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glade/3.12/glade-3.12.2.tar.xz"
+MD5SUM=""
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="b420c92543b591e63c1353628f838850"
+MAINTAINER="Bart van der Hall"
+EMAIL="bart@omgwtfroflol.com"
diff --git a/development/glade/slack-desc b/development/glade/slack-desc
new file mode 100644
index 000000000000..c991361c68e6
--- /dev/null
+++ b/development/glade/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------------------------------------------------------|
+glade: Glade (GTK+ User Interface Builder)
+glade:
+glade: Glade is a RAD tool to enable quick & easy development of user
+glade: interfaces for the Gtk+ toolkit and the GNOME desktop environment.
+glade: The user interfaces designed in Glade are stored in XML format,
+glade: enabling easy integration with external tools.
+glade:
+glade: This version of Glade (Glade-3) is a complete rewrite of the original
+glade: Glade codebase.
+glade:
+glade: