[packages/devhelp] - don't build gedit plugin by default (python based, no longer supported by gedit 48.2+); release 2

qboosh qboosh at pld-linux.org
Sat Apr 11 14:02:26 CEST 2026


commit cdcaa37168ab2bbe3dedf54d2b35dedd60d1ec94
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 11 14:02:56 2026 +0200

    - don't build gedit plugin by default (python based, no longer supported by gedit 48.2+); release 2

 devhelp.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/devhelp.spec b/devhelp.spec
index 8ccb184..9206595 100644
--- a/devhelp.spec
+++ b/devhelp.spec
@@ -1,13 +1,14 @@
 #
 # Conditional build:
-%bcond_without  apidocs         # gi-docgen based API documentation
-%bcond_without  static_libs     # static library
+%bcond_without	apidocs		# gi-docgen based API documentation
+%bcond_with	gedit		# gedit plugin (python-based, for gedit < 48.2)
+%bcond_without	static_libs	# static library
 
 Summary:	API documentation browser for GNOME
 Summary(pl.UTF-8):	Przeglądarka dokumentacji API dla GNOME
 Name:		devhelp
 Version:	43.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	https://download.gnome.org/sources/devhelp/43/%{name}-%{version}.tar.xz
@@ -156,7 +157,7 @@ Integracja Vima z Devhelpem.
 %meson \
 	%{?with_apidocs:-Dgtk_doc=true} \
 	-Dplugin_emacs=true \
-	-Dplugin_gedit=true \
+	%{?with_gedit:-Dplugin_gedit=true} \
 	-Dplugin_vim=true
 
 %meson_build
@@ -239,11 +240,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/emacs/site-lisp/devhelp.el
 
+%if %{with gedit}
 %files -n gedit-plugin-devhelp
 %defattr(644,root,root,755)
 %{_libdir}/gedit/plugins/devhelp.plugin
 %{_libdir}/gedit/plugins/devhelp.py
 %{_libdir}/gedit/plugins/__pycache__/devhelp.cpython-*.py[co]
+%endif
 
 %files -n vim-plugin-devhelp
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/devhelp.git/commitdiff/cdcaa37168ab2bbe3dedf54d2b35dedd60d1ec94



More information about the pld-cvs-commit mailing list