From ad887bb67ff22d7a637fa10f95b45aa306054ee0 Mon Sep 17 00:00:00 2001 From: Richard Narron Date: Thu, 25 Aug 2016 10:17:39 +0100 Subject: [PATCH] development/THE: Fix html documentation. Signed-off-by: David Spencer --- development/THE/THE.SlackBuild | 42 ++++++++++++++++++++---------- development/THE/images/divbot.png | Bin 279 -> 0 bytes development/THE/images/divtop.png | Bin 280 -> 0 bytes 3 files changed, 28 insertions(+), 14 deletions(-) delete mode 100644 development/THE/images/divbot.png delete mode 100644 development/THE/images/divtop.png diff --git a/development/THE/THE.SlackBuild b/development/THE/THE.SlackBuild index a0ff8c60ff..6b0cca20e8 100644 --- a/development/THE/THE.SlackBuild +++ b/development/THE/THE.SlackBuild @@ -2,16 +2,34 @@ # Slackware build script for The Hessling Editor -# Written by Richard Narron (richard@aaazen.com) +# Copyright 2012 Richard Narron, California, 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. PRGNAM=THE VERSION=${VERSION:-3.3RC4} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -67,24 +85,20 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc make -make html make install DESTDIR=$PKG +make html + 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 rm -f $PKG/usr/bin/the ; ln -fs nthe $PKG/usr/bin/the -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html/{comm,commset,commsos,misc,images} +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html install -m0644 COPYING FAQ HISTORY INSTALL README* THE*spec TODO \ $PKG/usr/doc/$PRGNAM-$VERSION -install -m0644 index.html $PKG/usr/doc/$PRGNAM-$VERSION/html -install -m0644 comm/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/comm -install -m0644 commset/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/commset -install -m0644 commsos/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/commsos -install -m0644 misc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html/misc -install -m0644 the64.gif the64.png $CWD/images/*.png \ - $PKG/usr/doc/$PRGNAM-$VERSION/html/images +install -m0644 *.html $PKG/usr/doc/$PRGNAM-$VERSION/html +install -m0644 the64.png the64.gif $PKG/usr/doc/$PRGNAM-$VERSION/html install -m0644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install diff --git a/development/THE/images/divbot.png b/development/THE/images/divbot.png deleted file mode 100644 index 2638da86da99148b03ee022db112c407f933dc7f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 279 zcmeAS@N?(olHy`uVBq!ia0vp^6+q0z$P6T19XO(a6id3JuOkD)#(wTUiL5}rLb6AY zF9SoB8UsT^3j@P1pisjL28L1t28LG&3=CE?7#PG0=Ijcz0ZOn1_=LFb-@hNooLPG_ z4M;JT1o;IsI6S)n<|KK$yD8is!sBUuf&**FGiCbP0l+XkKlf+1a