diff options
Diffstat (limited to 'source/l/glade')
-rwxr-xr-x | source/l/glade/glade.SlackBuild | 11 | ||||
-rw-r--r-- | source/l/glade/glade.ftbfs.diff | 18 | ||||
-rw-r--r-- | source/l/glade/glade.remove.extra.da.from.LINGUAS.diff | 9 |
3 files changed, 33 insertions, 5 deletions
diff --git a/source/l/glade/glade.SlackBuild b/source/l/glade/glade.SlackBuild index 4f6a0a73..2cb458c5 100755 --- a/source/l/glade/glade.SlackBuild +++ b/source/l/glade/glade.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for glade - # Copyright 2011, 2020 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2022 Patrick J. Volkerding, Sebeka, MN, USA +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=glade VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -79,8 +79,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Well, this is dumb: -sed -i "s,python-3.8-embed,python-3.9-embed," meson.build +zcat $CWD/glade.ftbfs.diff.gz | patch -p1 --verbose || exit 1 +zcat $CWD/glade.remove.extra.da.from.LINGUAS.diff.gz | patch -p1 --verbose || exit 1 # Configure, build, and install: export CFLAGS="$SLKCFLAGS" @@ -100,6 +100,7 @@ meson setup \ --localstatedir=/var \ --buildtype=release \ -Dgladeui=true \ + -Dgtk_doc=false \ .. || exit 1 "${NINJA:=ninja}" $NUMJOBS || exit 1 DESTDIR=$PKG $NINJA install || exit 1 diff --git a/source/l/glade/glade.ftbfs.diff b/source/l/glade/glade.ftbfs.diff new file mode 100644 index 00000000..d9516925 --- /dev/null +++ b/source/l/glade/glade.ftbfs.diff @@ -0,0 +1,18 @@ +--- ./data/meson.build.orig 2020-11-20 15:02:11.854337200 -0600 ++++ ./data/meson.build 2022-02-16 13:40:12.980091649 -0600 +@@ -2,7 +2,6 @@ + desktop_conf.set('VERSION', glade_version) + + i18n.merge_file( +- 'desktop', + type: 'desktop', + input: configure_file( + input: 'org.gnome.Glade.desktop.in.in', +@@ -18,7 +17,6 @@ + appdata = glade_name + '.appdata.xml' + + i18n.merge_file( +- 'appdata', + input: 'org.gnome.Glade.appdata.xml.in', + output: '@BASENAME@', + po_dir: po_dir, diff --git a/source/l/glade/glade.remove.extra.da.from.LINGUAS.diff b/source/l/glade/glade.remove.extra.da.from.LINGUAS.diff new file mode 100644 index 00000000..e9679abe --- /dev/null +++ b/source/l/glade/glade.remove.extra.da.from.LINGUAS.diff @@ -0,0 +1,9 @@ +--- ./help/LINGUAS.orig 2020-11-20 15:02:11.862337000 -0600 ++++ ./help/LINGUAS 2022-02-16 13:50:32.440105506 -0600 +@@ -1,6 +1,5 @@ + # please keep this list sorted alphabetically + # +-da + bg + ca + cs |