[packages/libgnt] Up to 2.15.0
arekm
arekm at pld-linux.org
Thu Nov 26 09:05:06 CET 2026
commit 4f45beb3c6951f29e7ba2dd90e5d8bc997ebd30c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 26 01:08:53 2026 +0100
Up to 2.15.0
libgnt.spec | 24 +++++++++++-------------
python3.patch | 37 -------------------------------------
2 files changed, 11 insertions(+), 50 deletions(-)
---
diff --git a/libgnt.spec b/libgnt.spec
index 7090005..dfd3452 100644
--- a/libgnt.spec
+++ b/libgnt.spec
@@ -1,30 +1,26 @@
Summary: The GLib Ncurses Toolkit
Summary(pl.UTF-8): Biblioteka GLib Ncurses Toolkit
Name: libgnt
-Version: 2.14.4
-Release: 2
+Version: 2.15.0
+Release: 1
License: GPL v2+
Group: Libraries
-Source0: https://downloads.sourceforge.net/pidgin/%{name}-%{version}-dev.tar.xz
-# Source0-md5: 29c8424a105d41541514d42e15bd46ec
-Patch0: python3.patch
+Source0: https://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.xz
+# Source0-md5: ec64d5ab39d90f5abee5246709587a24
URL: https://keep.imfreedom.org/libgnt/libgnt
-BuildRequires: glib2-devel >= 1:2.16.0
+BuildRequires: glib2-devel >= 1:2.38.0
BuildRequires: gtk-doc
-BuildRequires: libxml2-devel >= 1:2.6.0
-BuildRequires: meson >= 0.44.0
+BuildRequires: meson >= 1.9.0
BuildRequires: ncurses-devel
BuildRequires: ncurses-ext-devel
BuildRequires: ninja
BuildRequires: pkgconfig
-BuildRequires: python3-devel
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 2.042
BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-Requires: glib2 >= 1:2.16.0
-Requires: libxml2 >= 1:2.6.0
+Requires: glib2 >= 1:2.38.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -48,6 +44,9 @@ Summary: Header files for GNT library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNT
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.38.0
+Requires: ncurses-devel
+Requires: ncurses-ext-devel
%description devel
Header files for GNT library.
@@ -81,8 +80,7 @@ GNT API documentation.
Dokumentacja API biblioteki GNT.
%prep
-%setup -q -n %{name}-%{version}-dev
-%patch -P 0 -p1
+%setup -q
%{__sed} -i -e 's/ = library(/ = shared_library(/' wms/meson.build
diff --git a/python3.patch b/python3.patch
deleted file mode 100644
index 460f2a5..0000000
--- a/python3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -r d3ad72913471 meson.build
---- a/meson.build Sat Sep 25 22:56:33 2021 -0500
-+++ b/meson.build Sat Sep 30 13:41:27 2023 +0200
-@@ -184,18 +201,22 @@
- ]
-
- # Check for Python headers
--python_dep = disabler()
--if get_option('python2')
-- python_dep = dependency('python2', required : false)
-- if not python_dep.found()
-- python_dep = dependency('python-2.7', required : false)
-+_PYTHONS = [
-+ ['python-3.10-embed', '>=3.10'],
-+ ['python-3.9-embed', '>=3.9'],
-+ ['python-3.8-embed', '>=3.8'],
-+ ['python3-embed', '>=3.8'],
-+ ['python3', '>=3.8'],
-+ ['python-3.7', '>=3.7'],
-+ ['python-3.7m', '>=3.7'],
-+]
-+foreach _PYTHON : _PYTHONS
-+ python_dep = dependency(_PYTHON[0], version : _PYTHON[1], required: false)
-+ if python_dep.found()
-+ break
- endif
--
-- if not python_dep.found()
-- error('failed to find python')
-- endif
--endif
--gnt_config.set('USE_PYTHON', get_option('python2'))
-+endforeach
-+gnt_config.set('USE_PYTHON', python_dep.found())
-
- configure_file(output : 'gntconfig.h',
- configuration : gnt_config)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgnt.git/commitdiff/4f45beb3c6951f29e7ba2dd90e5d8bc997ebd30c
More information about the pld-cvs-commit
mailing list