summaryrefslogtreecommitdiffstats
path: root/development/envision
diff options
context:
space:
mode:
author B. Watson2023-01-06 00:40:10 +0100
committer Willy Sudiarto Raharjo2023-01-07 02:13:34 +0100
commit684b5728b2854248863627af0568270d86f651d5 (patch)
tree3b38cccd328aa6f62fcc291de92f325943c69bc8 /development/envision
parentd94ff37b41f847abf0d564958266b2163acd7c58 (diff)
downloadslackbuilds-684b5728b2854248863627af0568270d86f651d5.tar.gz
development/envision: Added (graphics editing tool for Atari 8-bit)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/envision')
-rw-r--r--development/envision/README10
-rw-r--r--development/envision/doinst.sh9
-rw-r--r--development/envision/envision.176
-rw-r--r--development/envision/envision.SlackBuild93
-rw-r--r--development/envision/envision.desktop9
-rw-r--r--development/envision/envision.info14
-rw-r--r--development/envision/envision.rst63
-rw-r--r--development/envision/slack-desc19
8 files changed, 293 insertions, 0 deletions
diff --git a/development/envision/README b/development/envision/README
new file mode 100644
index 0000000000..f67860ca6f
--- /dev/null
+++ b/development/envision/README
@@ -0,0 +1,10 @@
+envision (graphics editing tool for Atari 8-bit systems)
+
+envision is a graphics editing program similar to the old Atari
+program Envision. It is a full-featured character editor and
+map-maker. It supports both native files and .XFD disk images. It is
+mouse based, and includes all the standard editing methods (flips,
+fills, rotates, invert, etc).
+
+The package includes the envision author's example disk image as
+/usr/doc/envision-*/example.xfd (see also example.txt).
diff --git a/development/envision/doinst.sh b/development/envision/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/envision/doinst.sh
@@ -0,0 +1,9 @@
+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
diff --git a/development/envision/envision.1 b/development/envision/envision.1
new file mode 100644
index 0000000000..442713371b
--- /dev/null
+++ b/development/envision/envision.1
@@ -0,0 +1,76 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "ENVISION" 1 "2022-12-31" "0.9" "SlackBuilds.org"
+.SH NAME
+envision \- Atari 8-bit graphics editing tool
+.\" RST source for envision(1) man page. Convert with:
+.
+.\" rst2man.py envision.rst > envision.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+envision [\fB\-f\fP | \fB\-full\fP] [\fB\-z\fP \fIfactor\fP | \fB\-zoom\fP \fIfactor\fP]
+.SH DESCRIPTION
+.sp
+\fBenvision\fP is a font/map editing program similar to the old APX
+Envision program on the Atari 8\-bits.
+.sp
+It is a full\-featured character editor and map\-maker. It supports both
+native files and .XFD disk images. It is mouse based, and includes all
+the standard editing methods (flips, fills, rotates, invert, etc).
+.sp
+This man page doesn\(aqt explain how to actually use \fBenvision\fP\&. For that,
+see the full documentation: /usr/doc/envision\-0.9/envision.txt
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-f\fP, \fB\-full\fP
+Runs \fBenvision\fP in full\-screen mode. You can also toggle fullscreen
+by pressing Ctrl\-Enter.
+.TP
+.B \fB\-z\fP \fIfactor\fP, \fB\-zoom\fP \fIfactor\fP
+Set the zoom level (2 to 8). This is multiplied by 320x200. The default
+is 3, which gives a 960x600 display. For 1080p displays, try \fB\-z 5\fP\&.
+For 4k, try 7 or 8. The window isn\(aqt actually resizable after the
+application starts...
+.UNINDENT
+.SH AUTHORS
+.sp
+envision was written by Mark Schmelzenbach.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The envision homepage: \fI\%https://atari.miribilist.com/envision/index.html\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/development/envision/envision.SlackBuild b/development/envision/envision.SlackBuild
new file mode 100644
index 0000000000..dbb749f861
--- /dev/null
+++ b/development/envision/envision.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for envision
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=envision
+VERSION=${VERSION:-0.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -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 $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+# -x excludes the prebuilt binaries and git stuff, makes the source dir
+# 90% smaller.
+unzip $CWD/$PRGNAM-$VERSION.zip -x '*.dll' '*.exe' '*/.git/*' '*/envision'
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+sed -i "s,-O3,$SLKCFLAGS," src/Makefile.linux
+make -C src -f Makefile.linux
+
+mkdir -p $PKG/usr/bin
+install -s -m0755 src/$PRGNAM $PKG/usr/bin
+
+# wish there were an icon bigger than 32x32...
+mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps $PKG/usr/share/pixmaps
+convert src/icon32_32.bmp $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
+ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# .desktop file written by SlackBuild author.
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+# man page written by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a $PRGNAM.txt $PRGNAM.blurb $PKGDOC
+cat $CWD/example.xfd > $PKGDOC/example.xfd
+cat $CWD/example.txt > $PKGDOC/example.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/development/envision/envision.desktop b/development/envision/envision.desktop
new file mode 100644
index 0000000000..45e3b88622
--- /dev/null
+++ b/development/envision/envision.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Envision
+Comment=Graphic design tool for Atari 8-bit
+Exec=envision
+Icon=envision
+Type=Application
+Categories=Graphics;
+Terminal=false
+Version=1.0
diff --git a/development/envision/envision.info b/development/envision/envision.info
new file mode 100644
index 0000000000..cca82dd293
--- /dev/null
+++ b/development/envision/envision.info
@@ -0,0 +1,14 @@
+PRGNAM="envision"
+VERSION="0.9"
+HOMEPAGE="https://atari.miribilist.com/envision/index.html"
+DOWNLOAD="https://atari.miribilist.com/envision/envision-0.9.zip \
+ https://atari.miribilist.com/envision/example.xfd \
+ https://atari.miribilist.com/envision/example.txt"
+MD5SUM="6c788cf0f6352fc5c1f6bb4c97d5c05c \
+ 55645cef31d56effa42b5c32cae4356a \
+ 62902ec64d3e0b9c90e2ad7d47759a42"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/development/envision/envision.rst b/development/envision/envision.rst
new file mode 100644
index 0000000000..61d644855d
--- /dev/null
+++ b/development/envision/envision.rst
@@ -0,0 +1,63 @@
+.. RST source for envision(1) man page. Convert with:
+.. rst2man.py envision.rst > envision.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 0.9
+.. |date| date::
+
+========
+envision
+========
+
+---------------------------------
+Atari 8-bit graphics editing tool
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+envision [**-f** | **-full**] [**-z** *factor* | **-zoom** *factor*]
+
+DESCRIPTION
+===========
+
+**envision** is a font/map editing program similar to the old APX
+Envision program on the Atari 8-bits.
+
+It is a full-featured character editor and map-maker. It supports both
+native files and .XFD disk images. It is mouse based, and includes all
+the standard editing methods (flips, fills, rotates, invert, etc).
+
+This man page doesn't explain how to actually use **envision**. For that,
+see the full documentation: /usr/doc/envision-|version|/envision.txt
+
+OPTIONS
+=======
+
+**-f**, **-full**
+ Runs **envision** in full-screen mode. You can also toggle fullscreen
+ by pressing Ctrl-Enter.
+
+**-z** *factor*, **-zoom** *factor*
+ Set the zoom level (2 to 8). This is multiplied by 320x200. The default
+ is 3, which gives a 960x600 display. For 1080p displays, try **-z 5**.
+ For 4k, try 7 or 8. The window isn't actually resizable after the
+ application starts...
+
+AUTHORS
+=======
+
+envision was written by Mark Schmelzenbach.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The envision homepage: https://atari.miribilist.com/envision/index.html
diff --git a/development/envision/slack-desc b/development/envision/slack-desc
new file mode 100644
index 0000000000..df5843b26d
--- /dev/null
+++ b/development/envision/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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+envision: envision (graphics editing tool for Atari 8-bit systems)
+envision:
+envision: envision is a graphics editing program similar to the old Atari
+envision: program Envision. It is a full-featured character editor and
+envision: map-maker. It supports both native files and .XFD disk images. It is
+envision: mouse based, and includes all the standard editing methods (flips,
+envision: fills, rotates, invert, etc).
+envision:
+envision:
+envision:
+envision: