games/oblige-legacy4: New-style 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 2021-10-20 14:06:42 -04:00 committed by Willy Sudiarto Raharjo
parent 74ba4c12fe
commit c11a446082
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
14 changed files with 48 additions and 30 deletions

View File

@ -1,3 +1,5 @@
oblige-legacy4 (random level generator for classic FPS games)
OBLIGE v4 is a random level generator for various classic games,
including DOOM, DOOM II, Heretic, Hexen, and Quake. The goal is to
produce high quality levels which are fun to play.

View File

@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,4 +1,4 @@
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
.\"
.\" Standard preamble:
.\" ========================================================================
@ -46,7 +46,7 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
@ -56,12 +56,12 @@
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
.if (\n(rF:(\n(.g==0)) \{\
. if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. if !\nF==2 \{\
. nr % 0
. nr F 2
. \}
@ -133,20 +133,20 @@
.\" ========================================================================
.\"
.IX Title "OBLIGE-LEGACY4 6"
.TH OBLIGE-LEGACY4 6 "2014-09-25" "4.28b" "SlackBuilds.org"
.TH OBLIGE-LEGACY4 6 "2021-10-20" "4.28b" "SlackBuilds.org"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
oblige\-legacy4 \- random level generator for Doom, Doom II, Heretic, Hexen, and Quake
oblige\-legacy4 \- random level generator for Doom and related games
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBoblige\-legacy4\fR [\-options]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBoblige\-legacy4\fR creates a patch \s-1WAD\s0 file for use with Doom or Doom
\&\s-1II,\s0 containing one or more randomly-generated levels. The generated \s-1WAD\s0
\&\fBoblige\-legacy4\fR creates a patch \s-1WAD\s0 file for use with Doom, Doom \s-1II,\s0 Heretic, Hexen, or Quake,
containing one or more randomly-generated levels. The generated \s-1WAD\s0
files are ready to play (no separate node-building pass is needed).
.PP
Normally, \fBoblige\-legacy4\fR is controlled by its \s-1GUI,\s0 but it can be used
@ -185,7 +185,7 @@ The \fBoblige\-legacy4\fR home page: \fIhttp://oblige\-legacy4.sourceforge.net\f
.SH "LICENSE"
.IX Header "LICENSE"
This program is free software, under the terms of the \s-1GNU\s0 General Public
License, and comes with \s-1ABSOLUTELY NO WARRANTY. \s0 See the documentation
License, and comes with \s-1ABSOLUTELY NO WARRANTY.\s0 See the documentation
for more details, or visit http://www.gnu.org/licenses/gpl\-2.0.txt
.SH "AUTHOR"
.IX Header "AUTHOR"

View File

@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20211020 bkw: BUILD=3
# - make the icon transparent
# - new-style icons (also transparent)
# - update man page, README, slack-desc slightly
# 20170621 bkw: fix build on -current.
# 20140916 bkw: bump BUILD to 2.
@ -25,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oblige-legacy4
VERSION=${VERSION:-4.28b}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -37,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -76,11 +78,8 @@ rm -rf ${SRCNAM}-${VERSION}-source
unzip $CWD/$OLDNAM-$SRCVER-source.zip
cd ${SRCNAM}-${VERSION}-source
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 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Makefile.unixy originally came from the oblige author, I've hacked
# it up to make it work with oblige 4.x and SBo's fltk13.
@ -102,9 +101,21 @@ make INSTALL_PREFIX=/usr OPTIMISE="$SLKCFLAGS"
make install INSTALL_PREFIX=$PKG/usr
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
# 128.png was created by extracting oblige.ico, then using the gimp
# to turn the white background into transparency. The rest were scaled
# down from that, with convert -resize.
for i in $CWD/icons/*.png; do
px=$( basename $i | cut -d. -f1 )
size=${px}x${px}
dir=$PKG/usr/share/icons/hicolor/$size/apps
mkdir -p $dir
cat $i > $dir/$PRGNAM.png
done
ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# man page written for this build
mkdir -p $PKG/usr/man/man6
gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz

View File

@ -3,6 +3,6 @@ Type=Application
Name=Oblige (Legacy Version)
GenericName=Doom/Heretic/Quake Level Generator
Icon=oblige-legacy4
Exec=oblige-legacy4 %f
Exec=/usr/games/oblige-legacy4 %f
Terminal=false
Categories=Game;ActionGame;Utility;

View File

@ -1,7 +1,7 @@
PRGNAM="oblige-legacy4"
VERSION="4.28b"
HOMEPAGE="http://oblige.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/project/oblige/Oblige/4.28/oblige-428b-source.zip"
DOWNLOAD="https://downloads.sourceforge.net/project/oblige/Oblige/4.28/oblige-428b-source.zip"
MD5SUM="ae89031dcff12958bb866505c266c49f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -3,7 +3,7 @@
=head1 NAME
oblige-legacy4 - random level generator for Doom, Doom II, Heretic, Hexen, and Quake
oblige-legacy4 - random level generator for Doom and related games
=head1 SYNOPSIS
@ -11,8 +11,8 @@ B<oblige-legacy4> [-options]
=head1 DESCRIPTION
B<oblige-legacy4> creates a patch WAD file for use with Doom or Doom
II, containing one or more randomly-generated levels. The generated WAD
B<oblige-legacy4> creates a patch WAD file for use with Doom, Doom II, Heretic, Hexen, or Quake,
containing one or more randomly-generated levels. The generated WAD
files are ready to play (no separate node-building pass is needed).
Normally, B<oblige-legacy4> is controlled by its GUI, but it can be used

View File

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
oblige-legacy4: oblige-legacy4 (random level generator for classic FPS games)
oblige-legacy4:
oblige-legacy4: OBLIGE is a random level generator for various classic games,
oblige-legacy4: including DOOM, DOOM II, Heretic, and Quake. The goal is to produce
oblige-legacy4: high quality levels which are fun to play.
oblige-legacy4:
oblige-legacy4: This is an older version with support for Heretic and Quake.
oblige-legacy4: OBLIGE is a random level generator for various classic
oblige-legacy4: games, including DOOM, DOOM II, Hexen, Heretic, and
oblige-legacy4: Quake. The goal is to produce high quality levels
oblige-legacy4: which are fun to play.
oblige-legacy4:
oblige-legacy4: This is an older version with support for Hexen, Heretic, and Quake.
oblige-legacy4:
oblige-legacy4:
oblige-legacy4: