diff options
author | Sasha Abbott <sashaa@disroot.org> | 2024-03-01 21:29:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-01 22:36:34 +0700 |
commit | 3de4a355d4ad04596fc31208468df047cdf972b1 (patch) | |
tree | 8d2600550a6df07370b0e12ee6a3f777738a4ba9 /desktop/menulibre | |
parent | 3a5ee83c1b56e90fa9e6e3600fe8e3969efcfe4b (diff) |
desktop/menulibre: Updated for version 2.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/menulibre')
-rw-r--r-- | desktop/menulibre/fix_gtk4_conflict.patch | 24 | ||||
-rw-r--r-- | desktop/menulibre/menulibre.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/menulibre/menulibre.info | 6 |
3 files changed, 5 insertions, 31 deletions
diff --git a/desktop/menulibre/fix_gtk4_conflict.patch b/desktop/menulibre/fix_gtk4_conflict.patch deleted file mode 100644 index b28dca9449593..0000000000000 --- a/desktop/menulibre/fix_gtk4_conflict.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur menulibre-2.2.1.org/menulibre/MenulibreApplication.py menulibre-2.2.1/menulibre/MenulibreApplication.py ---- menulibre-2.2.1.org/menulibre/MenulibreApplication.py 2019-05-31 01:55:18.000000000 +0100 -+++ menulibre-2.2.1/menulibre/MenulibreApplication.py 2021-06-03 20:43:35.507256870 +0100 -@@ -26,6 +26,8 @@ - - from locale import gettext as _ - -+import gi -+gi.require_version("Gtk", "3.0") - from gi.repository import Gio, GLib, GObject, Gtk, Gdk, GdkPixbuf - - from . import MenulibreStackSwitcher, MenulibreIconSelection -diff -Naur menulibre-2.2.1.org/menulibre_lib/helpers.py menulibre-2.2.1/menulibre_lib/helpers.py ---- menulibre-2.2.1.org/menulibre_lib/helpers.py 2019-05-31 01:55:18.000000000 +0100 -+++ menulibre-2.2.1/menulibre_lib/helpers.py 2021-06-03 20:44:04.194017263 +0100 -@@ -18,6 +18,8 @@ - import logging - import os - -+import gi -+gi.require_version("Gtk", "3.0") - from gi.repository import Gtk - - from . menulibreconfig import get_data_file diff --git a/desktop/menulibre/menulibre.SlackBuild b/desktop/menulibre/menulibre.SlackBuild index 345868526c9b0..d387529e3a5ac 100644 --- a/desktop/menulibre/menulibre.SlackBuild +++ b/desktop/menulibre/menulibre.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for menulibre -# Copyright 2020 Sasha Abbott sashaa@disroot.org +# Copyright 2020-2024 Sasha Abbott sashaa@disroot.org # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=menulibre -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,8 +80,6 @@ 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 {} \; -patch -p1 < $CWD/fix_gtk4_conflict.patch - python3 setup.py install --root=$PKG mv $PKG/usr/share/man $PKG/usr/man diff --git a/desktop/menulibre/menulibre.info b/desktop/menulibre/menulibre.info index fc9b9fa79ad8d..1486cf137ecc4 100644 --- a/desktop/menulibre/menulibre.info +++ b/desktop/menulibre/menulibre.info @@ -1,8 +1,8 @@ PRGNAM="menulibre" -VERSION="2.2.1" +VERSION="2.4.0" HOMEPAGE="https://bluesabre.org/menulibre/" -DOWNLOAD="https://github.com/bluesabre/menulibre/releases/download/menulibre-2.2.1/menulibre-2.2.1.tar.gz" -MD5SUM="8460ea844a5998c5f722bccb5ce8627a" +DOWNLOAD="https://github.com/bluesabre/menulibre/releases/download/menulibre-2.4.0/menulibre-2.4.0.tar.gz" +MD5SUM="b972469dc90394d3e43c7ee69a280770" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-psutil python-distutils-extra gnome-menus" |