diff options
author | afhpayne <github@komputermatrix.com> | 2022-02-08 14:29:34 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 16:19:36 +0700 |
commit | 0006c229bd3e7749675b279b8c1fc4b3819b8161 (patch) | |
tree | 06d29f51ece3737fe28b70deffc0e8809fc868c5 | |
parent | 06c9f39d3e0e10404648f58b2afc04914861d833 (diff) | |
download | slackbuilds-0006c229bd3e7749675b279b8c1fc4b3819b8161.tar.gz |
office/zim: Updated for version 74.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/zim/README | 38 | ||||
-rw-r--r-- | office/zim/slack-desc | 14 | ||||
-rw-r--r-- | office/zim/zim.SlackBuild | 38 | ||||
-rw-r--r-- | office/zim/zim.info | 6 |
4 files changed, 47 insertions, 49 deletions
diff --git a/office/zim/README b/office/zim/README index 1d303ff71e..bd5dcb5b89 100644 --- a/office/zim/README +++ b/office/zim/README @@ -1,25 +1,23 @@ -Zim aims to bring the concept of a wiki to your desktop. Every page is -saved as a text file with wiki markup. Pages can contain links to other -pages, and are saved automatically. Creating a new page is as easy as -linking to a non-existing page. This tool is intended to keep track of -TODO lists or to serve as a personal scratch book. But it will also -serve you when writing longer and more complicated documents. +Zim is a graphical text editor used to maintain a collection of wiki +pages. Each page can contain links to other pages, simple formatting, +and images. Pages are stored in a folder structure, like in an +outliner, and can have attachments. Creating a new page is as easy as +linking to a nonexistent page. All data is stored in plain text files +with wiki formatting. Various plugins provide additional +functionality, like a task list manager, an equation editor, a tray +icon, and support for version control. -A "desktop wiki" means that we try to capture the idea of a wiki, not -as a webpage but as a collection of files on your local file system -that can be edited with a GUI application. The main focus is a kind -of personal wiki that serves for all kind of notes: todo-lists, -addresses, brainstorm ideas etc. +Zim can be used to: -But we want to go further then just a wiki filled with random content. -It should also be possible to use you random notes as the basis for -more structured data: articles, presentations etc. Zim will not include -tools to layout a presentation or something like that, you should use -your office suite of choice for that, but it should be a tool that can -deliver all the content for a presentation in a form that only needs a -template and some layout before usage. Therefore certain features -normally not found in wikis will be added. + Keep an archive of notes + Keep a daily or weekly journal + Take notes during meetings or lectures + Organize task lists + Draft blog entries and emails + Do brainstorming -NOTE: Zim can be expanded with plugins. From 'preferences' go to + +NOTE: +Zim can be expanded with plugins. From 'preferences' go to 'plugins' and anything marked 'failed' can be installed either from SBo or pip. These aren't dependencies; Zim runs without them. diff --git a/office/zim/slack-desc b/office/zim/slack-desc index 271522b845..773bcbfc2b 100644 --- a/office/zim/slack-desc +++ b/office/zim/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| zim: zim (A Desktop Wiki Editor) zim: -zim: Zim aims to bring the concept of a wiki to your desktop. Every page -zim: is saved as a text file with wiki markup. Pages can contain links to -zim: other pages, and are saved automatically. Creating a new page is as -zim: easy as linking to a non-existing page. This tool is intended to keep -zim: track of TODO lists or to serve as a personal scratch book. But it -zim: will also serve you when writing longer and more complicated -zim: documents. +zim: Zim is a graphical text editor used to maintain a collection of wiki +zim: pages. Each page can contain links to other pages, simple formatting, +zim: and images. Pages are stored in a folder structure, like in an +zim: outliner, and can have attachments. +zim: +zim: zim: zim: Homepage: http://zim-wiki.org/ +zim: diff --git a/office/zim/zim.SlackBuild b/office/zim/zim.SlackBuild index 2bf7fb0665..b6e59a64c3 100644 --- a/office/zim/zim.SlackBuild +++ b/office/zim/zim.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for zim -# Copyright 2019-2021 Andrew Payne <phalange@komputermatrix.com> +# Copyright 2019-2022 Andrew Payne <phalange@komputermatrix.com> # Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com> # Copyright 2013 Michael Ren <micron33@gmail.com> # All rights reserved. @@ -27,7 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zim -VERSION=${VERSION:-0.73.5} +SRCNAM=desktop-wiki +VERSION=${VERSION:-0.74.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,20 +53,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGELOG.md CONTRIBUTING.md LICENSE PLUGIN_WRITING.md README.md" - -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="" +# Abort build if architecture is not 64-bit. +if [ "$ARCH" != "x86_64" ]; then + echo "$ARCH is not supported." + exit 1 fi set -e @@ -74,8 +65,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION + +# some scripts pull down the tarball with a truncated name +if [ -f $CWD/$VERSION.tar.gz ] +then + tar xvf $CWD/$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$SRCNAM-$VERSION.tar.gz +fi + +cd $PRGNAM-$SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -97,7 +96,8 @@ mkdir -p $PKG/usr/share/icons cp -r xdg/hicolor/ $PKG/usr/share/icons/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a {CHANGELOG.md,CONTRIBUTING.md,LICENSE,PLUGIN_WRITING.md,README.md} \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/zim/zim.info b/office/zim/zim.info index a652969cd8..e575243a58 100644 --- a/office/zim/zim.info +++ b/office/zim/zim.info @@ -1,10 +1,10 @@ PRGNAM="zim" -VERSION="0.73.5" +VERSION="0.74.3" HOMEPAGE="http://zim-wiki.org/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://zim-wiki.org/downloads/zim-0.73.5.tar.gz" -MD5SUM_x86_64="fa76ceb8ac7d7354fb0e2bc5607e9faa" +DOWNLOAD_x86_64="https://github.com/zim-desktop-wiki/zim-desktop-wiki/archive/refs/tags/0.74.3.tar.gz" +MD5SUM_x86_64="f2ea5809ad647202c31d249120cb5e95" REQUIRES="" MAINTAINER="Andrew Payne" EMAIL="phalange@komputermatrix.com" |