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||||||
nnPp812dYSTxOtVfHD//uWlFbTb5nliII+93/CPXscBNr3o9BjxJ8LU85xbEO8lT
|
1CDH8tlrCMsxuLffmP6hhJs5pEWtwgKvuwV0+HjDXv3ZrfPgDKRyudJCsisMjY5O
|
||||||
+osAdsO31hE5zxzhB3muJDZwnbunsm/+Pe4oi0UAfETOCZfz8Lq5qiXKMba4zFVv
|
y69Y9yvTVOsWVs0jGFKVU7llwCvX1i6vklkhIuOrsqAr+RzGyjVPIxLZdP+842mo
|
||||||
5900XO19pNKLpNWbLeOZP1qfJRlVdkp4mfA1ezG79Fum8hfi+lrcL0wlhSMeLLAf
|
Rt1NJYj3HH0o+6g2Vt9/o5bhSxNwu2TrV4BYI2si1X7XJIPxUrlct7ActAz7PT5j
|
||||||
s/mIp9W2YOcDG1EnI5A95tZcSMYoWULEgTFh5lSCeKVXJqSMWL2mfQPrMDKtiuLs
|
B4DgbUM39rsBf9jrv9v3D/KBNCZ+OUE6qQPlgvy7H8Irs6l7j+KQDLHbsczAYlMc
|
||||||
rcKplECTEj3YHisUFBTgdGzApbW9zriy8cKYqBZMTfg2KeAY8tQL3cRr2V7oPw9V
|
5cNrttw/YZNOUWGxIBc7J4Qpzh9hD53f+FILmUJ3xio4CGCWIEXneQxyfo1aslsu
|
||||||
9Qh6RxZAROGm3F4H+JU8yQ==
|
2nqjyo4XxTlrnsbbtZ4Q7A==
|
||||||
=odK0
|
=9BkY
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7ISgQZHGd6YW11ZGlv
|
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7ISlUZHGd6YW11ZGlv
|
||||||
QGxpYnJlbWV4Lm9yZy5te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wi1iVcdM
|
||||||
E/4F8wFE0O3i6u3CRxQ6JyxVmioyf+aqZeSXOU/N5Pb7XARlyuPica9p7ll/4DwW
|
3FSE23ZapCMWaw4VSvtrd6MT1I85ZoKIC2uOVAfs3MHewryAeN8HvWESxu0Q3zzC
|
||||||
sDSscC8VejMWg8pGajIN5gWBeJ7+z0MntriKrrcxXd2QQv0VADn7+HsYaAPcxv0H
|
AJQLv164M0sLRz1YzPN9Txvb47Kg90SU/4D6wF59BHr3iLVCtVaDxbGzXDMl997z
|
||||||
itavPzhwwP3O43WJbAblHdpFKf0Z3GkWetBx5sV/d3YmQ8lkvhCviHutm4Z+3FKv
|
tOLKFhO/MO0ssRNCtnuu2Q/YyxKuj1V3BSxU7aBC3V2RJqlgrN/35CTIamiIQe6B
|
||||||
9xIDKHZSrWqUwNfdfVmhmA==
|
iboFBiaEp/R2wxpPVlRYYg==
|
||||||
=+6Gx
|
=YGz4
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
PACKAGES.TXT; Fri May 22 21:54:07 UTC 2020
|
PACKAGES.TXT; Fri May 22 21:55:29 UTC 2020
|
||||||
|
|
||||||
|
Binary file not shown.
@ -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------------------------------------------------------|
|
||||||
|
source-highlight: source-highlight (reproduces a doc with syntax highlighting)
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Source-highlight reads source language specifications
|
||||||
|
source-highlight: dynamically, thus it can be easly extended for handling new
|
||||||
|
source-highlight: languages. It also reads output format specifications
|
||||||
|
source-highlight: dynamically, and thus it can be easily extended for handling
|
||||||
|
source-highlight: output formats.
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Homepage: http://www.gnu.org/software/src-highlite/
|
||||||
|
source-highlight:
|
||||||
|
source-highlight:
|
@ -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------------------------------------------------------|
|
||||||
|
source-highlight: source-highlight (reproduces a doc with syntax highlighting)
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Source-highlight reads source language specifications
|
||||||
|
source-highlight: dynamically, thus it can be easly extended for handling new
|
||||||
|
source-highlight: languages. It also reads output format specifications
|
||||||
|
source-highlight: dynamically, and thus it can be easily extended for handling
|
||||||
|
source-highlight: output formats.
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Homepage: http://www.gnu.org/software/src-highlite/
|
||||||
|
source-highlight:
|
||||||
|
source-highlight:
|
@ -0,0 +1,24 @@
|
|||||||
|
GNU Source-highlight
|
||||||
|
|
||||||
|
This program, given a source file, produces a document with syntax highlighting.
|
||||||
|
It also provides a C++ highlight library.
|
||||||
|
|
||||||
|
Source-highlight reads source language specifications dynamically, thus it can
|
||||||
|
be easily extended (without recompiling the sources) for handling new
|
||||||
|
languages. It also reads output format specifications dynamically, and thus it
|
||||||
|
can be easily extended (without recompiling the sources) for handling new
|
||||||
|
output formats. The syntax for these specifications is quite easy (take a look
|
||||||
|
at the manual).
|
||||||
|
|
||||||
|
Source-highlight is a command line program, and it can also be used as a CGI.
|
||||||
|
|
||||||
|
Notice that source-highlight can also be used as a formatter (i.e., without
|
||||||
|
highlighting): you can, for instance, format a txt file in HTML (and it will
|
||||||
|
take care of translating special characters, such as, <, >, &).
|
||||||
|
|
||||||
|
A common example:
|
||||||
|
less /usr/src/linux/kernel/panic.c
|
||||||
|
|
||||||
|
to tune the less, add in your .bash_profile these lines:
|
||||||
|
export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
|
||||||
|
export LESS=' -R '
|
@ -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------------------------------------------------------|
|
||||||
|
source-highlight: source-highlight (reproduces a doc with syntax highlighting)
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Source-highlight reads source language specifications
|
||||||
|
source-highlight: dynamically, thus it can be easly extended for handling new
|
||||||
|
source-highlight: languages. It also reads output format specifications
|
||||||
|
source-highlight: dynamically, and thus it can be easily extended for handling
|
||||||
|
source-highlight: output formats.
|
||||||
|
source-highlight:
|
||||||
|
source-highlight: Homepage: http://www.gnu.org/software/src-highlite/
|
||||||
|
source-highlight:
|
||||||
|
source-highlight:
|
@ -0,0 +1,85 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Slackware build script for source-highlight
|
||||||
|
# Written by powtrix (@gmail.com)
|
||||||
|
|
||||||
|
PRGNAM=source-highlight
|
||||||
|
VERSION=${VERSION:-3.1.9}
|
||||||
|
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 -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $PKG $TMP
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar xzfv $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 555 {} \; -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 \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--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
|
||||||
|
|
||||||
|
rm -f $PKG/usr/info/dir
|
||||||
|
gzip -9 $PKG/usr/info/*.info
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a \
|
||||||
|
AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README THANKS TODO.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:-tgz}
|
@ -0,0 +1,10 @@
|
|||||||
|
PRGNAM="source-highlight"
|
||||||
|
VERSION="3.1.9"
|
||||||
|
HOMEPAGE="http://www.gnu.org/software/src-highlite"
|
||||||
|
DOWNLOAD="ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-3.1.9.tar.gz"
|
||||||
|
MD5SUM="a51266164a537c97860d5d9664614dec"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES=""
|
||||||
|
MAINTAINER="powtrix"
|
||||||
|
EMAIL="powtrix@gmail.com"
|
Loading…
Reference in new issue