From 38be87c4786b3f4a5729c1647831a679537f5c03 Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Tue, 10 Oct 2023 15:13:36 -0400 Subject: development/devhelp: Update for 43.0; new maintainer Signed-off-by: Willy Sudiarto Raharjo --- development/devhelp/devhelp.SlackBuild | 26 +++++++++++++++----------- development/devhelp/devhelp.info | 6 +++--- development/devhelp/doinst.sh | 16 ++++++---------- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'development/devhelp') diff --git a/development/devhelp/devhelp.SlackBuild b/development/devhelp/devhelp.SlackBuild index 8aac30e1a5..b5f6d13b29 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 , 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 f6e3ec9d95..d050799e12 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 975eb75d2f..401d987795 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 -- cgit v1.2.3-65-gdbad