summaryrefslogtreecommitdiffstats
path: root/source.local/t/xfig
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-03-22 16:47:17 -0700
committer Eric Hameleers <alien@slackware.com>2013-03-22 16:47:17 -0700
commit69dd99f961988fa15da8d7f0d63b62f3385419c3 (patch)
treed57eb3e85e1d08e7815787de26946ee42c398b66 /source.local/t/xfig
downloadalienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.gz
alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.xz
Initial commit of a Slackware cross-arch bootstrap framework.
Diffstat (limited to 'source.local/t/xfig')
-rw-r--r--source.local/t/xfig/slack-desc19
-rw-r--r--source.local/t/xfig/xfig-3.2.4-mkstemp.diff.gzbin0 -> 3177 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.3d-international-std-fonts.diff.gzbin0 -> 604 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.3d-xcolor.diff.gzbin0 -> 149 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.3d-xim.diff.gzbin0 -> 545 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4-gcc4.diff.gzbin0 -> 210 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4-locale.diff.gzbin0 -> 1386 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4-null.diff.gzbin0 -> 577 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4-quiet.diff.gzbin0 -> 1695 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4-urw-fonts.diff.gzbin0 -> 1599 bytes
-rw-r--r--source.local/t/xfig/xfig.3.2.4.diff.gzbin0 -> 5582 bytes
-rwxr-xr-xsource.local/t/xfig/xfig.SlackBuild122
-rw-r--r--source.local/t/xfig/xfig.docs.location.diff.gzbin0 -> 288 bytes
-rw-r--r--source.local/t/xfig/xfig.fig.ad.diff.gzbin0 -> 578 bytes
-rw-r--r--source.local/t/xfig/xfig.no.pdf.ref.diff.gzbin0 -> 402 bytes
-rw-r--r--source.local/t/xfig/xfig.no.xfig_ref_en.pdf.diff.gzbin0 -> 286 bytes
-rw-r--r--source.local/t/xfig/xfig.png14.nodither.diff.gzbin0 -> 279 bytes
17 files changed, 141 insertions, 0 deletions
diff --git a/source.local/t/xfig/slack-desc b/source.local/t/xfig/slack-desc
new file mode 100644
index 0000000..85d1fef
--- /dev/null
+++ b/source.local/t/xfig/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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+xfig: xfig (interactive drawing tool)
+xfig:
+xfig: This package contains the binary for xfig, an interactive drawing tool
+xfig: under X. Xfig can create fig, epsf, and LaTeX files with various
+xfig: options. You also have to install the transfig package (transfig.tgz)
+xfig: so that xfig can export fig files as epsf and LaTeX files. This
+xfig: package also contains a set of basic examples of fig files.
+xfig:
+xfig:
+xfig:
+xfig:
diff --git a/source.local/t/xfig/xfig-3.2.4-mkstemp.diff.gz b/source.local/t/xfig/xfig-3.2.4-mkstemp.diff.gz
new file mode 100644
index 0000000..0fe8163
--- /dev/null
+++ b/source.local/t/xfig/xfig-3.2.4-mkstemp.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.3d-international-std-fonts.diff.gz b/source.local/t/xfig/xfig.3.2.3d-international-std-fonts.diff.gz
new file mode 100644
index 0000000..41faa31
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.3d-international-std-fonts.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.3d-xcolor.diff.gz b/source.local/t/xfig/xfig.3.2.3d-xcolor.diff.gz
new file mode 100644
index 0000000..e26f7f4
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.3d-xcolor.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.3d-xim.diff.gz b/source.local/t/xfig/xfig.3.2.3d-xim.diff.gz
new file mode 100644
index 0000000..ec04faa
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.3d-xim.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4-gcc4.diff.gz b/source.local/t/xfig/xfig.3.2.4-gcc4.diff.gz
new file mode 100644
index 0000000..4fad696
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4-gcc4.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4-locale.diff.gz b/source.local/t/xfig/xfig.3.2.4-locale.diff.gz
new file mode 100644
index 0000000..4cfc923
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4-locale.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4-null.diff.gz b/source.local/t/xfig/xfig.3.2.4-null.diff.gz
new file mode 100644
index 0000000..790750b
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4-null.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4-quiet.diff.gz b/source.local/t/xfig/xfig.3.2.4-quiet.diff.gz
new file mode 100644
index 0000000..1dbdd6d
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4-quiet.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4-urw-fonts.diff.gz b/source.local/t/xfig/xfig.3.2.4-urw-fonts.diff.gz
new file mode 100644
index 0000000..e71eeff
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4-urw-fonts.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.3.2.4.diff.gz b/source.local/t/xfig/xfig.3.2.4.diff.gz
new file mode 100644
index 0000000..43f1ce4
--- /dev/null
+++ b/source.local/t/xfig/xfig.3.2.4.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.SlackBuild b/source.local/t/xfig/xfig.SlackBuild
new file mode 100755
index 0000000..5c52a3a
--- /dev/null
+++ b/source.local/t/xfig/xfig.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/sh
+
+# Copyright 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, 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 2012 by Eric Hameleers <alien at slackware.com> for ARM port.
+
+
+VERSION=3.2.4
+BUILD=${BUILD:-5}
+
+NUMJOBS=${NUMJOBS:-" -j7 "}
+
+# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
+if [ -z "$ARCH" ]; then
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$MARCH ;;
+ esac
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-xfig
+rm -rf $PKG
+mkdir -p $PKG $TMP
+
+cd $TMP
+rm -rf xfig.$VERSION
+tar xvf $CWD/xfig.$VERSION.full.tar.bz2 || exit 1
+cd xfig.$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 2775 -o -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 {} \;
+
+zcat $CWD/xfig-3.2.4-mkstemp.diff.gz | patch -E -p1 --verbose || exit 1
+zcat $CWD/xfig.3.2.3d-international-std-fonts.diff.gz | patch -E -p1 --verbose || exit 1
+zcat $CWD/xfig.3.2.3d-xcolor.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.3d-xim.diff.gz | patch -E -p1 --verbose || exit 1
+zcat $CWD/xfig.3.2.4-gcc4.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.4-locale.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.4-null.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.4-quiet.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.4-urw-fonts.diff.gz | patch -E -p0 --verbose || exit 1
+zcat $CWD/xfig.3.2.4.diff.gz | patch -E -p0 --verbose || exit 1
+# Eliminate menu choice for non-distributed (redundant) PDF documentation:
+zcat $CWD/xfig.no.pdf.ref.diff.gz | patch -E -p1 --verbose || exit 1
+# Don't install PDF reference manual because the HTML manual is the same thing
+# (and also includes a Japanese translation):
+zcat $CWD/xfig.no.xfig_ref_en.pdf.diff.gz | patch -E -p1 --verbose || exit 1
+# Use Firefox and xpdf, not netscape and acroread:
+zcat $CWD/xfig.fig.ad.diff.gz | patch -E -p1 --verbose || exit 1
+zcat $CWD/xfig.docs.location.diff.gz | patch -E -p1 --verbose || exit 1
+# Drop a call to a function no longer included in libpng-1.4.0 (by default,
+# anyway) to see if it really matters.
+zcat $CWD/xfig.png14.nodither.diff.gz | patch -p1 --verbose || exit 1
+
+xmkmf || exit 1
+make $NUMJOBS || make || exit 1
+make install DESTDIR=$PKG || exit 1
+make install.man DESTDIR=$PKG || exit 1
+make install.libs DESTDIR=$PKG || exit 1
+make install.html DESTDIR=$PKG || exit 1
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+gzip -9 $PKG/usr/man/man1/*
+
+mkdir -p $PKG/usr/doc/xfig-$VERSION
+cp -a \
+ FIGAPPS LATEX.AND.XFIG README \
+ $PKG/usr/doc/xfig-$VERSION
+( cd $PKG/usr/doc/xfig-$VERSION
+ ln -sf /usr/lib${LIBDIRSUFFIX}/X11/xfig/Libraries Libraries
+)
+
+# If there's a CHANGES file, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r CHANGES ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
+ cat CHANGES | head -n 1000 > $DOCSDIR/CHANGES
+ touch -r CHANGES $DOCSDIR/CHANGES
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $TMP/xfig-$VERSION-$ARCH-$BUILD.txz
+
diff --git a/source.local/t/xfig/xfig.docs.location.diff.gz b/source.local/t/xfig/xfig.docs.location.diff.gz
new file mode 100644
index 0000000..ce84020
--- /dev/null
+++ b/source.local/t/xfig/xfig.docs.location.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.fig.ad.diff.gz b/source.local/t/xfig/xfig.fig.ad.diff.gz
new file mode 100644
index 0000000..73491cb
--- /dev/null
+++ b/source.local/t/xfig/xfig.fig.ad.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.no.pdf.ref.diff.gz b/source.local/t/xfig/xfig.no.pdf.ref.diff.gz
new file mode 100644
index 0000000..ae41b50
--- /dev/null
+++ b/source.local/t/xfig/xfig.no.pdf.ref.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.no.xfig_ref_en.pdf.diff.gz b/source.local/t/xfig/xfig.no.xfig_ref_en.pdf.diff.gz
new file mode 100644
index 0000000..2f51fe5
--- /dev/null
+++ b/source.local/t/xfig/xfig.no.xfig_ref_en.pdf.diff.gz
Binary files differ
diff --git a/source.local/t/xfig/xfig.png14.nodither.diff.gz b/source.local/t/xfig/xfig.png14.nodither.diff.gz
new file mode 100644
index 0000000..6285dcc
--- /dev/null
+++ b/source.local/t/xfig/xfig.png14.nodither.diff.gz
Binary files differ