[packages/gpgme] - updated to 2.0.0 (new soname), some parts separated (-c++* in gpgmepp.spec, -qt* in qgpgme.spec, p

qboosh qboosh at pld-linux.org
Sun Jul 13 11:54:44 CEST 2025


commit 3bd30d08a25e2e1c06402b05e5ddfab53086bfef
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 13 11:56:18 2025 +0200

    - updated to 2.0.0 (new soname), some parts separated (-c++* in gpgmepp.spec, -qt* in qgpgme.spec, python3 in python3-gpgmepy.spec, python 2 saved in python-gpgmepy.spec)

 gpgme-largefile.patch |  75 ------------
 gpgme-python.patch    |  13 ---
 gpgme.spec            | 310 +-------------------------------------------------
 no_docs.patch         |  40 -------
 4 files changed, 4 insertions(+), 434 deletions(-)
---
diff --git a/gpgme.spec b/gpgme.spec
index db76307..6dd4b2d 100644
--- a/gpgme.spec
+++ b/gpgme.spec
@@ -2,38 +2,21 @@
 # Conditional build:
 %bcond_without	static_libs	# static libraries
 %bcond_without	commonlisp	# Common Lisp interface
-%bcond_without	cxx		# C++ interface (GpgMEpp library)
-%bcond_without	qt5		# Qt 5 interface (QGpgME library), requires cxx
-%bcond_without	qt6		# Qt 6 interface (QGpgME library), requires cxx
-%bcond_without	python		# Python interfaces (PyME, both python2+python3)
-%bcond_without	python2		# Python 2 interface (PyME)
-%bcond_without	python3		# Python 3 interface (PyME)
 %bcond_without	tests		# perform tests
-%bcond_without	docs		# Qt binding docs (disable for bootstrap: loop through graphviz)
 #
-%if %{without python}
-%undefine	with_python2
-%undefine	with_python3
-%endif
-%if %{without cxx}
-%undefine	with_qt5
-%undefine	with_qt6
-%endif
 Summary:	Library for accessing GnuPG
 Summary(pl.UTF-8):	Biblioteka dająca dostęp do funkcji GnuPG
 Name:		gpgme
-Version:	1.24.3
+Version:	2.0.0
 Release:	1
 Epoch:		1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://www.gnupg.org/ftp/gcrypt/gpgme/%{name}-%{version}.tar.bz2
-# Source0-md5:	c6f85ce24ad46c9469596df0301f32eb
+# Source0-md5:	60f6871b948060572c7d952e39b42bd8
 Patch0:		%{name}-info.patch
 Patch1:		orig-version.patch
 Patch2:		%{name}-largefile.patch
-Patch3:		%{name}-python.patch
-Patch4:		no_docs.patch
 URL:		https://www.gnupg.org/related_software/gpgme/
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake >= 1:1.14
@@ -44,33 +27,9 @@ BuildRequires:	gnupg-smime
 %endif
 BuildRequires:	libassuan-devel >= 1:2.4.2
 BuildRequires:	libgpg-error-devel >= 1.47
-%{?with_cxx:BuildRequires:	libstdc++-devel >= 6:5}
-%{?with_qt6:BuildRequires:	libstdc++-devel >= 6:7}
 BuildRequires:	libtool >= 2:2.2.6
-%{?with_python2:BuildRequires:	python-devel >= 1:2.7}
-%{?with_python3:BuildRequires:	python3-devel >= 1:3.6}
-%{?with_python:BuildRequires:	rpm-pythonprov}
 BuildRequires:	rpmbuild(macros) >= 1.219
-%{?with_python:BuildRequires:	swig-python}
 BuildRequires:	texinfo
-%if %{with qt5}
-BuildRequires:	Qt5Core-devel >= 5.0.0
-%{?with_tests:BuildRequires:	Qt5Test-devel >= 5.8.0}
-%if %{with docs}
-BuildRequires:	doxygen
-BuildRequires:	graphviz
-%endif
-BuildRequires:	qt5-build >= 5.0.0
-%endif
-%if %{with qt6}
-BuildRequires:	Qt6Core-devel >= 6.4.0
-%{?with_tests:BuildRequires:	Qt6Test-devel >= 6.4.0}
-%if %{with docs}
-BuildRequires:	doxygen
-BuildRequires:	graphviz
-%endif
-BuildRequires:	qt6-build >= 6.4.0
-%endif
 BuildConflicts:	gnupg < 1.3.0
 Suggests:	gnupg >= 1.4.0
 Suggests:	gnupg-smime >= 1.9.8
@@ -114,138 +73,6 @@ Static version of GPGME library.
 %description static -l pl.UTF-8
 Statyczna wersja biblioteki GPGME.
 
-%package c++
-Summary:	GpgMEpp - C++ interface for GPGME library
-Summary(pl.UTF-8):	GpgMEpp - interfejs C++ do biblioteki GPGME
-Group:		Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-
-%description c++
-GpgMEpp is a C++ wrapper (or C++ bindings) for the GnuPG project's
-gpgme (GnuPG Made Easy). It's based on KF5gpgmepp library.
-
-%description c++ -l pl.UTF-8
-GpgMEpp to interfejs C++ (wiązania C++) do biblioteki gpgme (GnuPG
-Made Easy) z projektu GnuPG. Jest oparty na bibliotece KF5gpgme.pp.
-
-%package c++-devel
-Summary:	Header files for GpgMEpp library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki GpgMEpp
-Group:		Development/Libraries
-Requires:	%{name}-c++ = %{epoch}:%{version}-%{release}
-Requires:	libstdc++-devel >= 6:4.7
-Conflicts:	kde4-kdepimlibs-devel
-
-%description c++-devel
-Header files for GpgMEpp library.
-
-%description c++-devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki GpgMEpp.
-
-%package c++-static
-Summary:	Static GpgMEpp library
-Summary(pl.UTF-8):	Statyczna biblioteka GpgMEpp
-Group:		Development/Libraries
-Requires:	%{name}-c++-devel = %{epoch}:%{version}-%{release}
-
-%description c++-static
-Static GpgMEpp library.
-
-%description c++-static -l pl.UTF-8
-Statyczna biblioteka GpgMEpp.
-
-%package qt5
-Summary:	QGpgME - Qt 5 interface for GPGME library
-Summary(pl.UTF-8):	QGpgME - interfejs Qt 5 do biblioteki GPGME
-License:	GPL v2+ with Qt linking exception
-Group:		Libraries
-Requires:	%{name}-c++ = %{epoch}:%{version}-%{release}
-Requires:	Qt5Core >= 5.0.0
-
-%description qt5
-QGpgME is Qt 5 interface for GPGME library, based on library from
-KF5gpgmepp. QGpgME provides a very high level Qt API around GpgMEpp.
-
-%description qt5 -l pl.UTF-8
-QGpgME to interfejs Qt 5 do biblioteki GPGME, oparty na bibliotece z
-KF5gpgmepp. QGpgME udostępnia API Qt do GpgMEpp bardzo wysokiego
-poziomu.
-
-%package qt5-devel
-Summary:	Header files for QGpgME library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki QGpgME
-License:	GPL v2+ with Qt linking exception
-Group:		Development/Libraries
-Requires:	%{name}-c++-devel = %{epoch}:%{version}-%{release}
-Requires:	%{name}-qt5 = %{epoch}:%{version}-%{release}
-Requires:	Qt5Core-devel >= 5.0.0
-Conflicts:	kde4-kdepimlibs-devel
-
-%description qt5-devel
-Header files for QGpgME library.
-
-%description qt5-devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki QGpgME.
-
-%package qt5-static
-Summary:	Static QGpgME library
-Summary(pl.UTF-8):	Statyczna biblioteka QGpgME
-License:	GPL v2+ with Qt linking exception
-Group:		Development/Libraries
-Requires:	%{name}-qt5-devel = %{epoch}:%{version}-%{release}
-
-%description qt5-static
-Static QGpgME library.
-
-%description qt5-static -l pl.UTF-8
-Statyczna biblioteka QGpgME.
-
-%package qt6
-Summary:	QGpgME - Qt 6 interface for GPGME library
-Summary(pl.UTF-8):	QGpgME - interfejs Qt 6 do biblioteki GPGME
-License:	GPL v2+ with Qt linking exception
-Group:		Libraries
-Requires:	%{name}-c++ = %{epoch}:%{version}-%{release}
-Requires:	Qt6Core >= 6.4.0
-
-%description qt6
-QGpgME is Qt 6 interface for GPGME library, based on library from
-KF5gpgmepp. QGpgME provides a very high level Qt API around GpgMEpp.
-
-%description qt6 -l pl.UTF-8
-QGpgME to interfejs Qt 6 do biblioteki GPGME, oparty na bibliotece z
-KF5gpgmepp. QGpgME udostępnia API Qt do GpgMEpp bardzo wysokiego
-poziomu.
-
-%package qt6-devel
-Summary:	Header files for QGpgME library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki QGpgME
-License:	GPL v2+ with Qt linking exception
-Group:		Development/Libraries
-Requires:	%{name}-c++-devel = %{epoch}:%{version}-%{release}
-Requires:	%{name}-qt6 = %{epoch}:%{version}-%{release}
-Requires:	Qt6Core-devel >= 6.4.0
-Conflicts:	kde4-kdepimlibs-devel
-
-%description qt6-devel
-Header files for QGpgME library.
-
-%description qt6-devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki QGpgME.
-
-%package qt6-static
-Summary:	Static QGpgME library
-Summary(pl.UTF-8):	Statyczna biblioteka QGpgME
-License:	GPL v2+ with Qt linking exception
-Group:		Development/Libraries
-Requires:	%{name}-qt6-devel = %{epoch}:%{version}-%{release}
-
-%description qt6-static
-Static QGpgME library.
-
-%description qt6-static -l pl.UTF-8
-Statyczna biblioteka QGpgME.
-
 %package -n common-lisp-gpgme
 Summary:	Common Lisp binding for GPGME library
 Summary(pl.UTF-8):	Wiązanie Common Lispa do biblioteki GPGME
@@ -259,41 +86,11 @@ Common Lisp binding for GPGME library.
 %description -n common-lisp-gpgme -l pl.UTF-8
 Wiązanie Common Lispa do biblioteki GPGME.
 
-%package -n python-gpg
-Summary:	PyME - Python 2 interface for GPGME library
-Summary(pl.UTF-8):	PyME - interfejs Pythona 2 do biblioteki GPGME
-Group:		Libraries/Python
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	python-libs >= 1:2.7
-Obsoletes:	python-pyme < 1.8.0
-
-%description -n python-gpg
-PyME is a Python interface for GPGME library.
-
-%description -n python-gpg -l pl.UTF-8
-PyME to interfejs Pythona do biblioteki GPGME.
-
-%package -n python3-gpg
-Summary:	PyME - Python 3 interface for GPGME library
-Summary(pl.UTF-8):	PyME - interfejs Pythona 3 do biblioteki GPGME
-Group:		Libraries/Python
-Requires:	%{name} = %{epoch}:%{version}-%{release}
-Requires:	python3-libs >= 1:3.6
-Obsoletes:	python3-pyme < 1.8.0
-
-%description -n python3-gpg
-PyME is a Python interface for GPGME library.
-
-%description -n python3-gpg -l pl.UTF-8
-PyME to interfejs Pythona do biblioteki GPGME.
-
 %prep
 %setup -q
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
-%patch -P3 -p1
-%{!?with_docs:%patch -P4 -p1}
 
 %build
 %{__libtoolize}
@@ -301,8 +98,6 @@ PyME to interfejs Pythona do biblioteki GPGME.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-# in enable-languages:
-# "python" means all installed python version (if any)
 %configure \
 	PACKAGE_VERSION=%{version} \
 %if %{without tests}
@@ -311,7 +106,7 @@ PyME to interfejs Pythona do biblioteki GPGME.
 	--disable-gpgconf-test \
 	--disable-gpgsm-test \
 %endif
-	--enable-languages="%{?with_commonlisp:cl} %{?with_cxx:cpp} %{?with_python:python} %{?with_qt5:qt5} %{?with_qt6:qt6}" \
+	--enable-languages="%{?with_commonlisp:cl}" \
 	%{?with_static_libs:--enable-static}
 
 %{__make}
@@ -328,10 +123,6 @@ rm -rf $RPM_BUILD_ROOT
 # obsoleted by pkg-config/cmake configs
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-%if %{with python2}
-%py_postclean
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -344,22 +135,13 @@ rm -rf $RPM_BUILD_ROOT
 %postun	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	c++ -p /sbin/ldconfig
-%postun	c++ -p /sbin/ldconfig
-
-%post	qt5 -p /sbin/ldconfig
-%postun	qt5 -p /sbin/ldconfig
-
-%post	qt6 -p /sbin/ldconfig
-%postun	qt6 -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README NEWS THANKS TODO
 %attr(755,root,root) %{_bindir}/gpgme-json
 %attr(755,root,root) %{_bindir}/gpgme-tool
 %attr(755,root,root) %{_libdir}/libgpgme.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgpgme.so.11
+%attr(755,root,root) %ghost %{_libdir}/libgpgme.so.45
 %{_mandir}/man1/gpgme-json.1*
 
 %files devel
@@ -376,93 +158,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgpgme.a
 %endif
 
-%if %{with cxx}
-%files c++
-%defattr(644,root,root,755)
-%doc lang/cpp/README
-%attr(755,root,root) %{_libdir}/libgpgmepp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgpgmepp.so.6
-
-%files c++-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgpgmepp.so
-%{_includedir}/gpgme++
-%{_libdir}/cmake/Gpgmepp
-%{_pkgconfigdir}/gpgmepp.pc
-
-%if %{with static_libs}
-%files c++-static
-%defattr(644,root,root,755)
-%{_libdir}/libgpgmepp.a
-%endif
-
-%if %{with qt5}
-%files qt5
-%defattr(644,root,root,755)
-%doc lang/qt/README
-%attr(755,root,root) %{_libdir}/libqgpgme.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libqgpgme.so.15
-
-%files qt5-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libqgpgme.so
-%{_includedir}/qgpgme-qt5
-%{_libdir}/cmake/QGpgme
-
-%if %{with static_libs}
-%files qt5-static
-%defattr(644,root,root,755)
-%{_libdir}/libqgpgme.a
-%endif
-%endif
-
-%if %{with qt6}
-%files qt6
-%defattr(644,root,root,755)
-%doc lang/qt/README
-%attr(755,root,root) %{_libdir}/libqgpgmeqt6.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libqgpgmeqt6.so.15
-
-%files qt6-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libqgpgmeqt6.so
-%{_includedir}/qgpgme-qt6
-%{_libdir}/cmake/QGpgmeQt6
-
-%if %{with static_libs}
-%files qt6-static
-%defattr(644,root,root,755)
-%{_libdir}/libqgpgmeqt6.a
-%endif
-%endif
-%endif
-
 %if %{with commonlisp}
 %files -n common-lisp-gpgme
 %defattr(644,root,root,755)
 %doc lang/cl/README
 %{_datadir}/common-lisp/source/gpgme
 %endif
-
-%if %{with python2}
-%files -n python-gpg
-%defattr(644,root,root,755)
-%doc lang/python/README
-%dir %{py_sitedir}/gpg
-%attr(755,root,root) %{py_sitedir}/gpg/_gpgme.so
-%{py_sitedir}/gpg/*.py[co]
-%{py_sitedir}/gpg/constants
-%{py_sitedir}/gpg-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-gpg
-%defattr(644,root,root,755)
-%doc lang/python/README
-%dir %{py3_sitedir}/gpg
-%attr(755,root,root) %{py3_sitedir}/gpg/_gpgme.cpython-*.so
-%{py3_sitedir}/gpg/*.py
-%{py3_sitedir}/gpg/__pycache__
-%{py3_sitedir}/gpg/constants
-%{py3_sitedir}/gpg-%{version}-py*.egg-info
-%endif
diff --git a/gpgme-largefile.patch b/gpgme-largefile.patch
index af91fbc..4aabb17 100644
--- a/gpgme-largefile.patch
+++ b/gpgme-largefile.patch
@@ -42,78 +42,3 @@
  
  # Figure out platform dependent typedefs for gpgme.h
  if test "$have_w32_system" = yes; then
---- gpgme-1.13.0/lang/cpp/src/Makefile.am.orig	2019-03-28 17:43:11.439122747 +0100
-+++ gpgme-1.13.0/lang/cpp/src/Makefile.am	2019-03-28 18:21:29.420006850 +0100
-@@ -65,7 +65,7 @@
-                         $(interface_headers) $(private_gpgmepp_headers)
- 
- AM_CPPFLAGS = -I$(top_builddir)/src \
--              @GPGME_CPP_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
-+              @GPGME_CPP_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ @FILE_OFFSET_BITS_CPPFLAGS@ \
-               -DBUILDING_GPGMEPP -Wsuggest-override \
-               -Wzero-as-null-pointer-constant
- 
---- gpgme-1.13.0/lang/python/setup.py.in.orig	2018-12-03 10:37:25.000000000 +0100
-+++ gpgme-1.13.0/lang/python/setup.py.in	2019-03-28 18:23:59.565860107 +0100
-@@ -87,9 +87,8 @@
- else:
-     libs = []
- 
--# Define extra_macros for both the SWIG and C code
-+# append extra_macros to define_macros
- for k, v in extra_macros.items():
--    extra_swig_opts.append('-D{0}={1}'.format(k, v))
-     define_macros.append((k, str(v)))
- 
- if '@GPGME_CONFIG_CFLAGS@':
-@@ -102,6 +101,10 @@
-             else:
-                 define_macros.append((defitem[0], None))
- 
-+# use define_macros for both the SWIG and C code
-+for k,v in define_macros:
-+    extra_swig_opts.append("-D{0}={1}".format(k, v))
-+
- # Adjust include and library locations in case of win32
- uname_s = os.popen('uname -s').read()
- if uname_s.startswith('MINGW32'):
---- gpgme-1.13.0/lang/qt/src/Makefile.am.orig	2019-03-28 17:43:11.439122747 +0100
-+++ gpgme-1.13.0/lang/qt/src/Makefile.am	2019-03-28 18:21:48.163238642 +0100
-@@ -308,7 +308,7 @@
- 
- if WANT_QT5
- libqgpgme_la_CPPFLAGS = -I./moc5 -I$(top_builddir)/lang/cpp/src -I$(top_builddir)/src \
--              @GPGME_QT5_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
-+              @GPGME_QT5_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ @FILE_OFFSET_BITS_CPPFLAGS@ \
-               -DBUILDING_QGPGME -Wsuggest-override \
-               -Wzero-as-null-pointer-constant
- 
-@@ -321,7 +321,7 @@
- endif
- if WANT_QT6
- libqgpgmeqt6_la_CPPFLAGS = -I./moc6 -I$(top_builddir)/lang/cpp/src -I$(top_builddir)/src \
--              @GPGME_QT6_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
-+              @GPGME_QT6_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ @FILE_OFFSET_BITS_CPPFLAGS@ \
-               -DBUILDING_QGPGME -Wsuggest-override \
-               -Wzero-as-null-pointer-constant
- 
---- gpgme-1.7.0/lang/qt/tests/Makefile.am.orig	2016-09-20 19:09:38.000000000 +0200
-+++ gpgme-1.7.0/lang/qt/tests/Makefile.am	2016-10-08 09:37:15.642004112 +0200
-@@ -53,7 +53,7 @@
- cppflags_qt5 = -I$(moc5_dir) -I$(top_srcdir)/lang/qt/src -I$(top_builddir)/lang/cpp/src \
-               -I$(top_builddir)/src \
-               @GPG_ERROR_CFLAGS@ @GPGME_QT5_CFLAGS@ @GPG_ERROR_CFLAGS@ \
--              @LIBASSUAN_CFLAGS@ @GPGME_QT5TEST_CFLAGS@ -DBUILDING_QGPGME \
-+              @LIBASSUAN_CFLAGS@ @GPGME_QT5TEST_CFLAGS@ @FILE_OFFSET_BITS_CPPFLAGS@ -DBUILDING_QGPGME \
-               -DTOP_SRCDIR="$(top_srcdir)"
- endif
- if WANT_QT6
-@@ -64,7 +64,7 @@
- cppflags_qt6 = -I$(moc6_dir) -I$(top_srcdir)/lang/qt/src -I$(top_builddir)/lang/cpp/src \
-               -I$(top_builddir)/src \
-               @GPG_ERROR_CFLAGS@ @GPGME_QT6_CFLAGS@ @GPG_ERROR_CFLAGS@ \
--              @LIBASSUAN_CFLAGS@ @GPGME_QT6TEST_CFLAGS@ -DBUILDING_QGPGME \
-+              @LIBASSUAN_CFLAGS@ @GPGME_QT6TEST_CFLAGS@ @FILE_OFFSET_BITS_CPPFLAGS@ -DBUILDING_QGPGME \
-               -DTOP_SRCDIR="$(top_srcdir)"
- endif
- 
diff --git a/gpgme-python.patch b/gpgme-python.patch
deleted file mode 100644
index fb0cb40..0000000
--- a/gpgme-python.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gpgme-1.10.0/lang/python/Makefile.am.orig	2018-02-15 22:25:24.986373472 +0100
-+++ gpgme-1.10.0/lang/python/Makefile.am	2018-02-16 16:21:07.485636511 +0100
-@@ -90,7 +90,9 @@
- 	  build \
- 	  --build-base="$$(basename "$${PYTHON}")-gpg" \
- 	  install \
--	  --prefix "$(DESTDIR)$(prefix)" \
-+	  --prefix $(prefix) \
-+	  --root $(DESTDIR) \
-+	  --optimize=2 \
- 	  --verbose ; \
- 	done
- 
diff --git a/no_docs.patch b/no_docs.patch
deleted file mode 100644
index 4e7577a..0000000
--- a/no_docs.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- gpgme-1.23.2/configure.ac.orig	2023-12-10 13:18:29.793064885 +0100
-+++ gpgme-1.23.2/configure.ac	2023-12-10 13:21:03.640010838 +0100
-@@ -545,28 +545,7 @@
- 
- AM_CONDITIONAL(WANT_QT5, test "$want_qt5" = yes)
- AM_CONDITIONAL(WANT_QT6, test "$want_qt6" = yes)
--
--# Check for tools for building the Qt binding docs
--if test "$want_qt5" = "yes" -o "$want_qt6" = "yes"; then
--    AC_CHECK_PROGS([DOXYGEN], [doxygen])
--    if test -z "$DOXYGEN"; then
--        # This is not highlighted because it's not really important.
--        AC_MSG_WARN([Doxygen not found - Qt binding doc will not be built.])
--    fi
--    AC_CHECK_PROGS([GRAPHVIZ], [dot])
--    if test -z "$GRAPHVIZ"; then
--        AC_MSG_WARN([Graphviz not found - Qt binding doc will not have diagrams.])
--    fi
--fi
--
--AM_CONDITIONAL([HAVE_DOXYGEN],
--               [test -n "$DOXYGEN"])
--if test -n "$GRAPHVIZ"; then
--    HAVE_DOT="YES"
--else
--    HAVE_DOT="NO"
--fi
--AC_SUBST(HAVE_DOT)
-+AM_CONDITIONAL([HAVE_DOXYGEN], 0)
- 
- # Python bindings.
- LIST_MEMBER("python", $enabled_languages)
-@@ -1135,7 +1114,6 @@
- AC_CONFIG_FILES(lang/qt/tests/Makefile)
- AC_CONFIG_FILES(lang/qt/src/qgpgme_version.h)
- AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd])
--AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([lang/qt/doc/Doxyfile])])
- AC_CONFIG_FILES([lang/js/Makefile lang/js/src/Makefile
-                  lang/js/BrowserTestExtension/Makefile
-                  lang/js/DemoExtension/Makefile])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gpgme.git/commitdiff/3bd30d08a25e2e1c06402b05e5ddfab53086bfef



More information about the pld-cvs-commit mailing list