[packages/newt] - updated to 0.52.25

qboosh qboosh at pld-linux.org
Sat Apr 12 22:36:57 CEST 2025


commit 042a5e733f4fd3892e4b8e3976e4ce4199948128
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 12 22:35:21 2025 +0200

    - updated to 0.52.25

 newt-make.patch     | 12 ++++++------
 newt-nopython.patch |  9 ---------
 newt.spec           |  8 ++++----
 3 files changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/newt.spec b/newt.spec
index e2e9533..6d309f2 100644
--- a/newt.spec
+++ b/newt.spec
@@ -16,12 +16,12 @@ Summary(fr.UTF-8):	Not Erik's Windowing Toolkit - fenêtrage en mode texte avec
 Summary(pl.UTF-8):	Not Erik's Windowing Toolkit - okna w trybie tekstowym ze slangiem
 Summary(tr.UTF-8):	Not Erik's Windowing Toolkit - metin kipi pencereleme sistemi
 Name:		newt
-Version:	0.52.24
-Release:	3
+Version:	0.52.25
+Release:	1
 License:	LGPL v2
 Group:		Libraries
 Source0:	https://releases.pagure.org/newt/%{name}-%{version}.tar.gz
-# Source0-md5:	9a0630e2f59eaa3037aec94989c36c4a
+# Source0-md5:	cca66ed1d8774fb9e3f6a33525de416d
 Patch0:		%{name}-0.51.6-if1close.patch
 Patch1:		%{name}-nopython.patch
 Patch2:		%{name}-make.patch
@@ -142,7 +142,7 @@ Group:		Development/Languages/Python
 Requires:	%{name} = %{version}-%{release}
 Provides:	newt-python = %{version}-%{release}
 Provides:	snack = %{version}-%{release}
-Obsoletes:	newt-python
+Obsoletes:	newt-python < 0.52
 
 %description -n python-snack
 Python 2 binding for Newt library.
diff --git a/newt-make.patch b/newt-make.patch
index 6dab091..2bec383 100644
--- a/newt-make.patch
+++ b/newt-make.patch
@@ -1,6 +1,6 @@
---- newt-0.52.21/Makefile.in.orig	2019-10-01 22:10:00.730252641 +0200
-+++ newt-0.52.21/Makefile.in	2019-10-02 05:32:50.749643831 +0200
-@@ -69,19 +69,19 @@
+--- newt-0.52.25/Makefile.in.orig	2025-04-12 22:02:39.704767634 +0200
++++ newt-0.52.25/Makefile.in	2025-04-12 22:33:07.121534334 +0200
+@@ -69,19 +69,19 @@ endif
  all:	$(TARGET) $(SNACKSO)
  
  test:	test.o $(LIBNEWT)
@@ -24,8 +24,8 @@
 +	$(CC) $(CFLAGS) -o showkey showkey.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
  
  _snack.$(SOEXT):   snack.c $(LIBNEWTSH)
- 	@[ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS); do \
-@@ -104,10 +104,10 @@
+ ifneq ($(PYTHONVERS),)
+@@ -104,10 +104,10 @@ endif
  	touch $@
  
  whiptail: $(NDIALOGOBJS) $(LIBNEWTSH)
@@ -38,7 +38,7 @@
  
  $(LIBNEWT): $(LIBOBJS)
  	ar rv $@ $^
-@@ -127,7 +127,7 @@
+@@ -127,7 +127,7 @@ depend:
  sharedlib: $(LIBNEWTSH)
  
  $(LIBNEWTSH): $(SHAREDOBJS)
diff --git a/newt-nopython.patch b/newt-nopython.patch
index 4a57ed5..337db49 100644
--- a/newt-nopython.patch
+++ b/newt-nopython.patch
@@ -17,12 +17,3 @@
  
  test:	test.o $(LIBNEWT)
  	$(CC) -g -o test test.o $(LIBNEWT) $(LDFLAGS) $(LIBS)
-@@ -149,7 +150,7 @@
- 	install -m 644 whiptail.1 $(instroot)/$(man1dir)
- 	make -C po datadir=$(instroot)/$(datadir) install
- 
--install-sh: sharedlib $(WHIPTCLSO) _snack.$(SOEXT)
-+install-sh: sharedlib $(WHIPTCLSO) $(SNACKSO)
- 	[ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
- 	[ -d $(instroot)/$(includedir) ] || install -m 755 -d $(instroot)/$(includedir)
- 	[ -d $(instroot)/$(pkgconfigdir) ] || install -m 755 -d $(instroot)/$(pkgconfigdir)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/newt.git/commitdiff/042a5e733f4fd3892e4b8e3976e4ce4199948128



More information about the pld-cvs-commit mailing list