diff options
author | Logan Rathbone <poprocks@gmail.com> | 2023-10-10 15:13:36 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-11 23:12:44 +0700 |
commit | 38be87c4786b3f4a5729c1647831a679537f5c03 (patch) | |
tree | 6deb9153ba40e9b2326b356414d700b0e40b167e /development/devhelp | |
parent | 106b0d1ad54d1b89db66baabe908cfea1c4d0f1d (diff) |
development/devhelp: Update for 43.0; new maintainer
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/devhelp')
-rw-r--r-- | development/devhelp/devhelp.SlackBuild | 26 | ||||
-rw-r--r-- | development/devhelp/devhelp.info | 6 | ||||
-rw-r--r-- | development/devhelp/doinst.sh | 16 |
3 files changed, 24 insertions, 24 deletions
diff --git a/development/devhelp/devhelp.SlackBuild b/development/devhelp/devhelp.SlackBuild index 8aac30e1a5dd0..b5f6d13b29c47 100644 --- a/development/devhelp/devhelp.SlackBuild +++ b/development/devhelp/devhelp.SlackBuild @@ -2,12 +2,17 @@ # Slackware build script for DevHelp -# Written by Andrew Rowland (darowland@ieee.org) +# Originally written by Andrew Rowland (darowland@ieee.org), Copyright © 2012-2023 +# Current maintainer: Logan Rathbone <poprocks@gmail.com>, Copyright © 2023 +# +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# +# For ChangeLog, see SBo git log history. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=devhelp -VERSION=${VERSION:-41.2} +VERSION=${VERSION:-43.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,11 +67,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir build -cd build - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - meson .. \ - --buildtype=release \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +meson setup \ + --buildtype=plain \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ @@ -76,10 +80,10 @@ cd build -D strip=true \ -D plugin_emacs=true \ -D plugin_gedit=true \ - -D plugin_vim=true - "${NINJA:=ninja}" - DESTDIR=$PKG $NINJA install -cd .. + -D plugin_vim=true \ + build/ +"${NINJA:=ninja}" -v -C build/ +DESTDIR=$PKG "${NINJA}" -C build/ install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/devhelp/devhelp.info b/development/devhelp/devhelp.info index f6e3ec9d95edd..d050799e12ae3 100644 --- a/development/devhelp/devhelp.info +++ b/development/devhelp/devhelp.info @@ -1,8 +1,8 @@ PRGNAM="devhelp" -VERSION="41.2" +VERSION="43.0" HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp" -DOWNLOAD="https://download.gnome.org/sources/devhelp/41/devhelp-41.2.tar.xz" -MD5SUM="1b0ba87935ff3a06dfa716ca088b7a2d" +DOWNLOAD="https://download.gnome.org/sources/devhelp/43/devhelp-43.0.tar.xz" +MD5SUM="14b56884ae13c4ad7d87036a65b9eaed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="webkit2gtk" diff --git a/development/devhelp/doinst.sh b/development/devhelp/doinst.sh index 975eb75d2fdc8..401d9877955be 100644 --- a/development/devhelp/doinst.sh +++ b/development/devhelp/doinst.sh @@ -1,13 +1,3 @@ -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} - -schema_install devhelp.schemas - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -17,3 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi + +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi |