diff options
-rw-r--r-- | office/kitscenarist/README | 11 | ||||
-rw-r--r-- | office/kitscenarist/doinst.sh | 13 | ||||
-rw-r--r-- | office/kitscenarist/kitscenarist.SlackBuild | 118 | ||||
-rw-r--r-- | office/kitscenarist/kitscenarist.desktop | 12 | ||||
-rw-r--r-- | office/kitscenarist/kitscenarist.info | 12 | ||||
-rw-r--r-- | office/kitscenarist/kitscenarist.xml | 25 | ||||
-rw-r--r-- | office/kitscenarist/slack-desc | 19 |
7 files changed, 210 insertions, 0 deletions
diff --git a/office/kitscenarist/README b/office/kitscenarist/README new file mode 100644 index 0000000000..477684203f --- /dev/null +++ b/office/kitscenarist/README @@ -0,0 +1,11 @@ +kitscenarist (screenplay authoring tool) + +Create screen & stage plays, audio dramas, comics, and novels. +Streamlined workflow with multiple episodes within single project. +Advanced character profile, relations plot, map of locations, AI +assistant, poster generator, and other features. + +Note: kitscenarist is no longer developed. The last release was +in 2022, and the last git activity was in 2024. However, it remains +useful software, so it will continue to be provided on SlackBuilds.org +so long as that remains practical. diff --git a/office/kitscenarist/doinst.sh b/office/kitscenarist/doinst.sh new file mode 100644 index 0000000000..3918d565f1 --- /dev/null +++ b/office/kitscenarist/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/office/kitscenarist/kitscenarist.SlackBuild b/office/kitscenarist/kitscenarist.SlackBuild new file mode 100644 index 0000000000..5452bd440c --- /dev/null +++ b/office/kitscenarist/kitscenarist.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for kitscenarist + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# Notes: + +# 1. You would think this would be a problem: +# sh: line 1: ./configure: Permission denied +# ...in the hunspell directory. And that you'd fix it like: +# chmod 755 src/libs/hunspell/configure +# ...but doing that actually causes the build to fail. +# So that's not an error. And in fact libhunspell.a does get +# built and (statically) linked to the Scenarist binary, +# without the +x. + +# 2. There's a *very minor* runtime issue: on exit (when closing the window), +# it fades its window out rather than just closing it. Which doesn't quite +# work, you get these on stderr: +# QBasicTimer::start: QBasicTimer can only be used with threads started with QThread +# I'm not going to attempt to patch it; it doesn't hurt anything. The +# issues seems to be that the app was developed for older Qt5 versions, +# like 5.6 ot so, and ours is newer (5.15, in Slackware 15.0). + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=kitscenarist +SRCNAM=KITScenarist +CORENAM=KITScenaristCore +COREVER=${COREVER:-a777107fb3058887630ad13a3e85a3118e42a51e} +VERSION=${VERSION:-0.7.2.rc15} +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} + +# no need for LIBDIRSUFFIX or SLKCFLAGS, qmake uses the flags Qt was +# built with already. + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvfC $CWD/$CORENAM-$COREVER.tar.gz \ + $SRCNAM-$VERSION/src/bin/scenarist-core \ + --strip-components=1 +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + '(' -type f -a -exec chmod 644 {} + ')' -o \ + '(' -type d -a -exec chmod 755 {} + ')' + +cd src +qmake-qt5 +make +cd - + +mkdir -p $PKG/usr/{bin,share/{applications,mime/packages}} +install -s -m0755 -oroot -groot \ + build/Release/bin/scenarist-desktop/Scenarist \ + $PKG/usr/bin/kitscenarist + +# symlink to the name used by the debian/ubuntu package, in case +# someone's used to launching it from the shell. +ln -s kitscenarist $PKG/usr/bin/scenarist + +# .desktop file made from scenarist.desktop and scenarist-ru.desktop +# in the source. +install -m0644 -oroot -groot \ + $CWD/$PRGNAM.desktop \ + $PKG/usr/share/applications/$PRGNAM.desktop + +# mime xml file comes from the debian binary package, it's not in the src. +cat $CWD/kitscenarist.xml > $PKG/usr/share/mime/packages/kitscenarist.xml + +ICON=build/Ubuntu/scenarist_amd64/usr/share/pixmaps/scenarist.png +for px in 16 22 24 32 48 64 128 256 512; do + sz=${px}x${px} + dir=$PKG/usr/share/icons/hicolor/$sz/apps + mkdir -p $dir + convert -resize $px $ICON $dir/$PRGNAM.png +done +mkdir -p $PKG/usr/share/pixmaps +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a LICENSE* README* $PKGDOC +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/office/kitscenarist/kitscenarist.desktop b/office/kitscenarist/kitscenarist.desktop new file mode 100644 index 0000000000..025ae2132a --- /dev/null +++ b/office/kitscenarist/kitscenarist.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Terminal=false +Type=Application +Icon=kitscenarist +Categories=Office; +Exec=kitscenarist %f +MimeType=application/x-kit-scenarist-project; +Name=KIT Scenarist +GenericName=Screenwriting Software +Name[ru]=КИТ Сценарист +GenericName[ru]=Программа для написания сценариев diff --git a/office/kitscenarist/kitscenarist.info b/office/kitscenarist/kitscenarist.info new file mode 100644 index 0000000000..5c99ae2a63 --- /dev/null +++ b/office/kitscenarist/kitscenarist.info @@ -0,0 +1,12 @@ +PRGNAM="kitscenarist" +VERSION="0.7.2.rc15" +HOMEPAGE="https://github.com/dimkanovikov/KITScenarist" +DOWNLOAD="https://github.com/dimkanovikov/KITScenarist/archive/0.7.2.rc15/KITScenarist-0.7.2.rc15.tar.gz \ + https://github.com/dimkanovikov/KITScenaristCore/archive/a777107fb3058887630ad13a3e85a3118e42a51e/KITScenaristCore-a777107fb3058887630ad13a3e85a3118e42a51e.tar.gz" +MD5SUM="7d24fa2c83a84869d1edac683883f171 \ + 56c21531084c9280b9e71d882e9a5b6c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/office/kitscenarist/kitscenarist.xml b/office/kitscenarist/kitscenarist.xml new file mode 100644 index 0000000000..ffa4806793 --- /dev/null +++ b/office/kitscenarist/kitscenarist.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-kit-scenarist-project"> + <comment>KIT Scenarist Project</comment> + <comment xml:lang="ar">ﻢﺷﺭﻮﻋ ﺲﻴﻧﺍﺮﻴﺴﺗ ﻚﻴﺗ</comment> + <comment xml:lang="az">KİT Ssenarist layihəsi</comment> + <comment xml:lang="de">KIT Scenarist Projekt</comment> + <comment xml:lang="el">Έργο KIT Scenarist</comment> + <comment xml:lang="es">Proyecto de KIT Scenarist</comment> + <comment xml:lang="fa">پﺭﻭژﻩ KIT Scenarist</comment> + <comment xml:lang="fr">Projet KIT Scenarist</comment> + <comment xml:lang="he">פרויקט בפורמט KIT</comment> + <comment xml:lang="hu">KIT Scenarist projekt</comment> + <comment xml:lang="it">Progetto di Kit scenarist</comment> + <comment xml:lang="kz">КИТ Сценарист жобасы</comment> + <comment xml:lang="pl">Projekt KIT Scenarist</comment> + <comment xml:lang="pt">Projeto KIT Scenarist</comment> + <comment xml:lang="pt_BR">Projeto KIT Scenarist</comment> + <comment xml:lang="ru">Проект КИТ Сценарист</comment> + <comment xml:lang="sl">Projekt KIT Scenarist</comment> + <comment xml:lang="sr">KIT Scenarist пројекти</comment> + <glob pattern="*.kitsp"/> + <icon name="scenarist"/> + </mime-type> +</mime-info> diff --git a/office/kitscenarist/slack-desc b/office/kitscenarist/slack-desc new file mode 100644 index 0000000000..0d8eb66d98 --- /dev/null +++ b/office/kitscenarist/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------------------------------------------------------| +kitscenarist: kitscenarist (screenplay authoring tool) +kitscenarist: +kitscenarist: Create screen & stage plays, audio dramas, comics, and novels. +kitscenarist: Streamlined workflow with multiple episodes within single project. +kitscenarist: Advanced character profile, relations plot, map of locations, AI +kitscenarist: assistant, poster generator, and other features. +kitscenarist: +kitscenarist: +kitscenarist: +kitscenarist: +kitscenarist: |