mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gufw: update to 24.04.
Backport upstream patch to use WebKit2 4.1 instead of 4.0.
This commit is contained in:
parent
b8c02d00cd
commit
0c0068ed85
2 changed files with 27 additions and 4 deletions
23
srcpkgs/gufw/patches/gi-requires-webkit41.patch
Normal file
23
srcpkgs/gufw/patches/gi-requires-webkit41.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
From 46b62003dc15dbaba96f3880739ac951145be5a8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <jeremy.bicha@canonical.com>
|
||||||
|
Date: Wed, 24 Jan 2024 19:30:22 -0500
|
||||||
|
Subject: [PATCH] Switch from webkit2gtk 4.0 to 4.1
|
||||||
|
|
||||||
|
---
|
||||||
|
INSTALL | 2 +-
|
||||||
|
gufw/gufw/view/gufw.py | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/gufw/gufw/view/gufw.py b/gufw/gufw/view/gufw.py
|
||||||
|
index 658890d..39c05cf 100644
|
||||||
|
--- a/gufw/gufw/view/gufw.py
|
||||||
|
+++ b/gufw/gufw/view/gufw.py
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
import gi
|
||||||
|
gi.require_version('Gtk', '3.0')
|
||||||
|
gi.require_version('Gdk', '3.0')
|
||||||
|
-gi.require_version('WebKit2', '4.0')
|
||||||
|
+gi.require_version('WebKit2', '4.1')
|
||||||
|
from gi.repository import Gtk, Gdk, WebKit2
|
||||||
|
from string import Template
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'gufw'
|
# Template file for 'gufw'
|
||||||
pkgname=gufw
|
pkgname=gufw
|
||||||
version=22.04
|
version=24.04
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-distutils-extra intltool"
|
hostmakedepends="python3-setuptools python3-distutils-extra intltool"
|
||||||
depends="python3-gobject net-tools ufw gtk+3 webkit2gtk"
|
depends="python3-gobject net-tools ufw gtk+3 libwebkit2gtk41"
|
||||||
short_desc="GTK+ frontend for ufw"
|
short_desc="GTK+ frontend for ufw"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://gufw.org/"
|
homepage="https://gufw.org/"
|
||||||
distfiles="https://github.com/costales/gufw/archive/refs/tags/$version.tar.gz"
|
distfiles="https://github.com/costales/gufw/archive/refs/tags/$version.tar.gz"
|
||||||
checksum=da597f1e3ac64eb9ced3ccc951f228d8e304a6c99ddcb525a9b43ad9a19fa06c
|
checksum=d8b45c3d3700fcd596af5d4949aa2ee8e7bc4ec4bfa008f31b84568dfa9801eb
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i -e \
|
vsed -i -e \
|
||||||
|
|
Loading…
Add table
Reference in a new issue