diff options
Diffstat (limited to 'development/zeal')
-rw-r--r-- | development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz | bin | 257 -> 0 bytes | |||
-rw-r--r-- | development/zeal/README | 5 | ||||
-rw-r--r-- | development/zeal/zeal.SlackBuild | 32 | ||||
-rw-r--r-- | development/zeal/zeal.info | 6 |
4 files changed, 17 insertions, 26 deletions
diff --git a/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz b/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz Binary files differdeleted file mode 100644 index cdd05caed3..0000000000 --- a/development/zeal/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz +++ /dev/null diff --git a/development/zeal/README b/development/zeal/README index 37aea3658a..7bb9cfa613 100644 --- a/development/zeal/README +++ b/development/zeal/README @@ -10,10 +10,7 @@ Offline documentation browser inspired by Dash - Integrate Zeal with IDEA, Sublime Text, or your favourite IDE with a variety of plugins (http://zealdocs.org/usage.html#plugins) -After installing Zeal go to File -> Options -> Docsets to browse and +After installing Zeal go to Tools -> Docsets to browse and download docsets. -To disable the small ad on Zeal's home page go to Edit -> Preferences -> -Content -> Disable advertisement on the welcome page. - All documentation available for Dash is also available for Zeal. diff --git a/development/zeal/zeal.SlackBuild b/development/zeal/zeal.SlackBuild index abe348e5a3..77339358a8 100644 --- a/development/zeal/zeal.SlackBuild +++ b/development/zeal/zeal.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for zeal # Copyright 2015-2018 Ricardo J. Barberis <ricardo.barberis@gmail.com> -# Copyright 2023 Nick Smallbone <nick@smallbone.se> +# Copyright 2023-2024 Nick Smallbone <nick@smallbone.se> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zeal -VERSION=${VERSION:-0.6.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.7.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,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 @@ -53,16 +50,12 @@ 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 @@ -71,11 +64,15 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -# https://github.com/zealdocs/zeal/pull/1218 -zcat $CWD/064aaa05d6a3ba4ba3cf648199a3109aba2f41fe.diff.gz | patch -p1 + +# Convert desktop and appdata files to use Unix line endings +for i in assets/freedesktop/*.{xml*,desktop}; do + fromdos < $i > $i.tmp + mv -f $i.tmp $i +done + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,18 +80,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -export ZEAL_VERSION=${VERSION} mkdir -p build cd build cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ - -DCMAKE_BUILD_TYPE=Release .. + -DCMAKE_BUILD_TYPE=Release .. \ + -DZEAL_RELEASE_BUILD=ON make - make install DESTDIR=$PKG + make install/strip DESTDIR=$PKG cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/zeal/zeal.info b/development/zeal/zeal.info index 239879912d..425b614bb0 100644 --- a/development/zeal/zeal.info +++ b/development/zeal/zeal.info @@ -1,8 +1,8 @@ PRGNAM="zeal" -VERSION="0.6.1" +VERSION="0.7.1" HOMEPAGE="https://zealdocs.org/" -DOWNLOAD="https://github.com/zealdocs/zeal/archive/v0.6.1/zeal-0.6.1.tar.gz" -MD5SUM="99da3e15dd100c42c9062fe525c9db8c" +DOWNLOAD="https://github.com/zealdocs/zeal/releases/download/v0.7.1/zeal-0.7.1.tar.gz" +MD5SUM="dec48022b13752aa96b225de7fb96859" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |