diff options
author | Logan Rathbone <poprocks@gmail.com> | 2022-06-13 12:13:22 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-18 09:10:05 +0700 |
commit | 62b01cb33b5e3b4ecc9fff582b530b0d36271af2 (patch) | |
tree | 2fb656abf3839ae527151402e71dfb46a18f0352 /development/ghex | |
parent | 9768f9015c06fce9cc7442bbf10e2a3bea8d87fe (diff) |
development/ghex: Updated for version 42.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ghex')
-rw-r--r-- | development/ghex/ghex-42.1-fix-redraw.patch | 22 | ||||
-rw-r--r-- | development/ghex/ghex.SlackBuild | 5 | ||||
-rw-r--r-- | development/ghex/ghex.info | 6 |
3 files changed, 4 insertions, 29 deletions
diff --git a/development/ghex/ghex-42.1-fix-redraw.patch b/development/ghex/ghex-42.1-fix-redraw.patch deleted file mode 100644 index 7bdbf8c89020..000000000000 --- a/development/ghex/ghex-42.1-fix-redraw.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/gtkhex.c b/src/gtkhex.c -index c34b57f..b155838 100644 ---- a/src/gtkhex.c -+++ b/src/gtkhex.c -@@ -2951,6 +2951,17 @@ hex_widget_init (HexWidget *self) - gtk_widget_add_controller (widget, - GTK_EVENT_CONTROLLER(controller)); - -+ /* Event controller - focus */ -+ -+ controller = gtk_event_controller_focus_new (); -+ -+ g_signal_connect_swapped (controller, "enter", -+ G_CALLBACK(gtk_widget_queue_draw), widget); -+ g_signal_connect_swapped (controller, "leave", -+ G_CALLBACK(gtk_widget_queue_draw), widget); -+ -+ gtk_widget_add_controller (widget, GTK_EVENT_CONTROLLER(controller)); -+ - /* Connect signal for adjustment */ - - g_signal_connect (self->adj, "value-changed", diff --git a/development/ghex/ghex.SlackBuild b/development/ghex/ghex.SlackBuild index f7cc1b2230b2..854107ea676b 100644 --- a/development/ghex/ghex.SlackBuild +++ b/development/ghex/ghex.SlackBuild @@ -12,7 +12,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ghex -VERSION=${VERSION:-42.1} +VERSION=${VERSION:-42.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,9 +57,6 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION -# Upstream patch; can remove when 42.2 is released. -patch -p1 < $CWD/ghex-42.1-fix-redraw.patch - chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ diff --git a/development/ghex/ghex.info b/development/ghex/ghex.info index c1b24adeee9f..ed1e73f9e4d5 100644 --- a/development/ghex/ghex.info +++ b/development/ghex/ghex.info @@ -1,8 +1,8 @@ PRGNAM="ghex" -VERSION="42.1" +VERSION="42.3" HOMEPAGE="https://gitlab.gnome.org/GNOME/ghex" -DOWNLOAD="https://download.gnome.org/sources/ghex/42/ghex-42.1.tar.xz" -MD5SUM="6d5b4d83e4f00427f27efcfe92e05790" +DOWNLOAD="https://download.gnome.org/sources/ghex/42/ghex-42.3.tar.xz" +MD5SUM="4c08a5ea634c4f989aa79509ef0de3c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |