|
|
121cca |
From ad4ecfd29c29f6895aaf02092e6574299a2b5aa9 Mon Sep 17 00:00:00 2001
|
|
|
121cca |
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
|
|
|
121cca |
Date: Fri, 10 Jul 2020 03:12:51 +0200
|
|
|
121cca |
Subject: [PATCH 23/65] Build against gtk3 instead of gtk2
|
|
|
121cca |
MIME-Version: 1.0
|
|
|
121cca |
Content-Type: text/plain; charset=UTF-8
|
|
|
121cca |
Content-Transfer-Encoding: 8bit
|
|
|
121cca |
|
|
|
121cca |
Since gtk2 is on life support, it makes sense to build the gui code with
|
|
|
121cca |
gtk3 nowadays.
|
|
|
121cca |
|
|
|
121cca |
I went for 3.24 because that’s the version I have available on my
|
|
|
121cca |
system, but it is probable that previous versions would also work, I
|
|
|
121cca |
don’t know.
|
|
|
121cca |
---
|
|
|
121cca |
lshw.spec.in | 4 ++--
|
|
|
121cca |
src/gui/gtk-lshw.ui | 2 +-
|
|
|
121cca |
4 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
121cca |
|
|
|
121cca |
diff --git a/lshw.spec.in b/lshw.spec.in
|
|
|
121cca |
index e837fd4..f6884ab 100644
|
|
|
121cca |
--- a/lshw.spec.in
|
|
|
121cca |
+++ b/lshw.spec.in
|
|
|
121cca |
@@ -31,8 +31,8 @@ http://lshw.ezix.org/
|
|
|
121cca |
Summary: HardWare LiSter (GUI version)
|
|
|
121cca |
Group: Applications/System
|
|
|
121cca |
Requires: %{name} >= %{version}
|
|
|
121cca |
-Requires: gtk2 >= 2.4
|
|
|
121cca |
-BuildRequires: gtk2-devel >= 2.4
|
|
|
121cca |
+Requires: gtk3 >= 3.24
|
|
|
121cca |
+BuildRequires: gtk3-devel >= 3.24
|
|
|
121cca |
|
|
|
121cca |
%description gui
|
|
|
121cca |
lshw (Hardware Lister) is a small tool to provide detailed informaton on
|
|
|
121cca |
diff --git a/src/gui/gtk-lshw.ui b/src/gui/gtk-lshw.ui
|
|
|
121cca |
index 73fc08a..25ab1ad 100644
|
|
|
121cca |
--- a/src/gui/gtk-lshw.ui
|
|
|
121cca |
+++ b/src/gui/gtk-lshw.ui
|
|
|
121cca |
@@ -1,6 +1,6 @@
|
|
|
121cca |
|
|
|
121cca |
<interface>
|
|
|
121cca |
- <requires lib="gtk+" version="2.22"/>
|
|
|
121cca |
+ <requires lib="gtk+" version="3.24"/>
|
|
|
121cca |
<object class="GtkDialog" id="aboutlshw">
|
|
|
121cca |
<property name="can_focus">False</property>
|
|
|
121cca |
<property name="title" translatable="yes">About</property>
|
|
|
121cca |
--
|
|
|
121cca |
2.33.1
|
|
|
121cca |
|