[packages/ibus-anthy] - updated to 1.5.18; python swig/pygtk2 module no longer supported

qboosh qboosh at pld-linux.org
Wed Feb 25 21:53:11 CET 2026


commit 816664dfa02d4ed76e8f0c467d928865768a058d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 25 21:53:07 2026 +0100

    - updated to 1.5.18; python swig/pygtk2 module no longer supported

 ibus-anthy.spec | 44 ++++++++------------------------------------
 1 file changed, 8 insertions(+), 36 deletions(-)
---
diff --git a/ibus-anthy.spec b/ibus-anthy.spec
index 18e0701..d8d69d4 100644
--- a/ibus-anthy.spec
+++ b/ibus-anthy.spec
@@ -1,18 +1,17 @@
 #
 # Conditional build:
 %bcond_without	bridge_hotkey	# engine hotkeys
-%bcond_without	swig		# swig based python-anthy library
 #
 Summary:	The Anthy engine for IBus input platform
 Summary(pl.UTF-8):	Silnik Anthy dla platformy wprowadzania znaków IBus
 Name:		ibus-anthy
-Version:	1.5.17
-Release:	2
+Version:	1.5.18
+Release:	1
 License:	GPL v2+
 Group:		Libraries
 #Source0Download: https://github.com/ibus/ibus-anthy/releases
 Source0:	https://github.com/ibus/ibus-anthy/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	10788971d7776189bc96d48d4598d08a
+# Source0-md5:	9d8f0207396ae473d2687371e71fdae8
 Patch0:		%{name}-proto.patch
 URL:		https://github.com/fujiwarat/ibus-anthy/wiki
 BuildRequires:	anthy-unicode-devel
@@ -29,7 +28,6 @@ BuildRequires:	python3-devel >= 1:3.6
 BuildRequires:	python3-ibus >= 1.5.28
 BuildRequires:	python3-pygobject3
 BuildRequires:	rpmbuild(macros) >= 1.219
-%{?with_swig:BuildRequires:	swig-python}
 Requires(post,postun):	glib2-devel >= 1:2.26.0
 Requires(post,postun):	gtk-update-icon-cache
 Requires:	%{name}-libs = %{version}-%{release}
@@ -55,6 +53,8 @@ Summary:	Shared Anthy GObject library
 Summary(pl.UTF-8):	Biblioteka współdzielona Anthy GObject
 Group:		Libraries
 Requires:	glib2 >= 1:2.26.0
+Obsoletes:	python-anthy < 1.5.15
+Obsoletes:	python3-anthy < 1.5.18
 Conflicts:	ibus-anthy < 1.4.99.20121006-5
 
 %description libs
@@ -77,19 +77,6 @@ Header files for Anthy GObject library.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki Anthy GObject.
 
-%package -n python3-anthy
-Summary:	SWIG based Python interface to Anthy library
-Summary(pl.UTF-8):	Oparty na SWIG-u pythonowy interfejs do biblioteki Anthy
-Group:		Libraries/Python
-Requires:	python3-libs >= 1:3.6
-Obsoletes:	python-anthy < 1.5.15
-
-%description -n python3-anthy
-SWIG based Python 3 interface to Anthy library.
-
-%description -n python3-anthy -l pl.UTF-8
-Oparty na SWIG-u pythonowy interfejs do biblioteki Anthy.
-
 %prep
 %setup -q
 %patch -P0 -p1
@@ -103,7 +90,6 @@ Oparty na SWIG-u pythonowy interfejs do biblioteki Anthy.
 %{__automake}
 %configure \
 	--with-python=%{__python3} \
-	%{?with_swig:--enable-pygtk2-anthy} \
 	--with-layout='default' \
 	%{?with_bridge_hotkey:--with-hotkeys}
 
@@ -116,12 +102,6 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
-%if %{with swig}
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/_anthy.la
-%py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
-%endif
-
-%{__mv} $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
 
 %find_lang %{name}
 
@@ -153,20 +133,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libanthygobject-1.0.so.5
+%{_libdir}/libanthygobject-1.0.so.*.*
+%ghost %{_libdir}/libanthygobject-1.0.so.5
 %{_libdir}/girepository-1.0/Anthy-9000.typelib
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so
+%{_libdir}/libanthygobject-1.0.so
 %{_includedir}/ibus-anthy-1.0
 %{_datadir}/gir-1.0/Anthy-9000.gir
-
-%if %{with swig}
-%files -n python3-anthy
-%defattr(644,root,root,755)
-%attr(755,root,root) %{py3_sitedir}/_anthy.so
-%{py3_sitedir}/__pycache__
-%{py3_sitedir}/anthy.py
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ibus-anthy.git/commitdiff/816664dfa02d4ed76e8f0c467d928865768a058d



More information about the pld-cvs-commit mailing list