graphics/flpsed: Fix URLs, include icons.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-11-02 12:12:39 -05:00 committed by Willy Sudiarto Raharjo
parent 17fb182ba7
commit 838867d356
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 31 additions and 20 deletions

View file

@ -1,6 +1,8 @@
flpsed is a WYSIWYG PostScript annotator. You can't remove or modify flpsed (WYSIWYG PostScript annotator)
existing elements of a document, but flpsed lets you add arbitrary
text lines to existing PostScript documents. Added lines can later flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
be reedited with flpsed. Using pdftops, which is part of xpdf, one existing elements of a document, but flpsed lets you add arbitrary
can convert PDF documents to PostScript and also add text to them. text lines to existing PostScript documents. Added lines can later
flpsed is useful for filling in forms, adding notes, etcetera. be reedited with flpsed. Using pdftops, which is part of xpdf, one
can convert PDF documents to PostScript and also add text to them.
flpsed is useful for filling in forms, adding notes, et cetera.

View file

@ -1,14 +1,19 @@
#!/bin/sh #!/bin/sh
# Slackware build script for flpsed # Slackware build script for flpsed
# Originally written by Jack Maddox <jackmaddox@gmail.com> # Originally written by Jack Maddox <email removed>
# Currently maintained by B. Watson <yalhcru@gmail.com> # Currently maintained by B. Watson <yalhcru@gmail.com>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20201102 bkw: BUILD=2
# - Include icons in the package
# - Get rid of INSTALL in doc dir
# - Homepage went away, use Fedora download and archive.org homepage.
PRGNAM=flpsed PRGNAM=flpsed
VERSION=${VERSION:-0.7.3} VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -47,11 +52,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-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" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
@ -69,11 +71,18 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1 gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README INSTALL COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION cp -a README COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# upstream ships icons but doesn't 'make install' them.
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/icons/hicolor/scalable/apps/
cat $PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
gzip -9c < $PRGNAM.svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svgz
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop sed "/^Icon=\$/s,\$,$PRGNAM," \
$CWD/$PRGNAM.desktop > \
$PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,7 +1,7 @@
PRGNAM="flpsed" PRGNAM="flpsed"
VERSION="0.7.3" VERSION="0.7.3"
HOMEPAGE="http://flpsed.org/flpsed.html" HOMEPAGE="http://web.archive.org/web/20201018005250/https://flpsed.org/flpsed.html"
DOWNLOAD="http://flpsed.org/flpsed-0.7.3.tar.gz" DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/flpsed/flpsed-0.7.3.tar.gz/3b7c2ffd349a41c2e484dad3fd3d73d0/flpsed-0.7.3.tar.gz"
MD5SUM="3b7c2ffd349a41c2e484dad3fd3d73d0" MD5SUM="3b7c2ffd349a41c2e484dad3fd3d73d0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""

View file

@ -8,10 +8,10 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
flpsed: flpsed (WYSIWYG PostScript annotator) flpsed: flpsed (WYSIWYG PostScript annotator)
flpsed: flpsed:
flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
flpsed: existing elements of a document, but flpsed lets you add arbitrary flpsed: existing elements of a document, but flpsed lets you add arbitrary
flpsed: text lines to existing PostScript documents. Added lines can later flpsed: text lines to existing PostScript documents. Added lines can later
flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one
flpsed: can convert PDF documents to PostScript and also add text to them. flpsed: can convert PDF documents to PostScript and also add text to them.
flpsed: flpsed is useful for filling in forms, adding notes, etcetera. flpsed: flpsed is useful for filling in forms, adding notes, etcetera.
flpsed: flpsed: