aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysPost release updateWerner Koch1-1/+1
--
2025-02-21Bump LT version to C45/A0/R0Werner Koch1-3/+3
-- The version 2.0 is technically an API and ABI break due to the removal of long deprecated functions. Most user's won't notice this except for the changed SO number.
2025-02-04Update copyright notices.Werner Koch1-2/+2
--
2025-02-03Bump version after splitting off bindingsIngo Klöcker1-3/+3
--
2025-02-03python: Remove Python bindingsIngo Klöcker1-83/+3
* README: Update. * configure.ac: Remove checks, variables and file generations related to the Python bindings. Remove python from available_languages and default_languages. * lang/Makefile.am (DIST_SUBDIRS): Remove python. * lang/python: Remove. * m4/ax_pkg_swig.m4, m4/ax_python_devel.m4, m4/python.m4: Remove. -- The Python bindings have been moved to a separate Git repository: gpgmepy. GnuPG-bug-id: 7262
2025-02-03cpp,qt: Remove C++ and Qt bindingsIngo Klöcker1-293/+5
* README: Update. * configure.ac: Remove checks, variables and file generations related to the C++/Qt bindings. Remove cpp and qt* from available_languages and default_languages. * lang/Makefile.am (DIST_SUBDIRS): Remove cpp and qt. * lang/cpp, lang/qt: Remove. * m4/ax_check_compile_flag.m4, m4/ax_cxx_compile_stdcxx.m4, m4/ax_gcc_func_attribute.m4, m4/pkg.m4, m4/qt5.m4, m4/qt6.m4: Remove. -- The C++ and Qt bindings have been moved to separate Git repositories: gpgmepp and gpgmeqt. GnuPG-bug-id: 7262
2025-01-15build: Remove defining GPG_ERR_ENABLE_ERRNO_MACROS.NIIBE Yutaka1-3/+0
* configure.ac (GPG_ERR_ENABLE_ERRNO_MACROS): Remove. -- It was for Windows CE. Signed-off-by: NIIBE Yutaka <[email protected]>
2024-12-04build,python: Add Python 3.13 and remove Python 3.8Ingo Klöcker1-1/+1
* configure.ac: Look for Python 3.13. Don't look for Python 3.8 anymore. * lang/python/setup.py.in: Update Python versions in classifiers. * m4/python.m4: Add python3.13 as valid interpreter. Remove python3.8. --
2024-12-04Post release updatesWerner Koch1-1/+1
--
2024-12-04Release 1.24.1gpgme-1.24.1Werner Koch1-3/+3
-- Although the GPGME_PK_KYBER is technically an API change we ignore it because this is just another enum value which does not change the ABI and no software uses it yet. Kleopatra is the first to use this and it already has a test for gpgme 1.24.1. GnuPG-bug-id: 7440
2024-12-04Add a configure test for gettid.Werner Koch1-0/+19
* configure.ac (HAVE_GETTID,HAVE_SYS_GETTID): New test. * src/debug.c: Include syscall.h if needed. (tid_log_callback) [HAVE_SYS_GETTID]: Use SYS_gettid -- Linux introduced the gettid syscall with 2.4.11 but glibc only with its version 2.30. This patch allows building on older platforms. Co-authored-by: lgh1
2024-11-06Post release updatesWerner Koch1-1/+1
--
2024-11-06Release 1.24.0gpgme-1.24.0Werner Koch1-9/+9
2024-11-05Include the full commit id.Werner Koch1-1/+6
* autogen.sh: Update to version 2024-07-04 from libgpg-error. * configure.ac (BUILD_COMMITID): New. Append to VERSION file. * src/version.c (cright_blurb): Use BUILD_COMMITID here.
2024-09-17doc,build: Look for yat2m in $prefix/binIngo Klöcker1-1/+1
* configure.ac: Look for yat2m first in $prefix/bin and then in $PATH. -- This makes sure that yat2m is found in case libgpg-error and gpgme are installed in the same prefix.
2024-09-17doc,build: Fix "make install" if yat2m isn't availableIngo Klöcker1-0/+2
* configure.ac: Add hint for YAT2M variable. Set HAVE_YAT2M if yat2m was found. * doc/Makefile.am (myman_pages): Set to empty string if yat2m isn't available --
2024-09-10doc: Provide a man page for gpgme-json.Sébastien Noel1-0/+2
* doc/gpgme-json.texi: New. * configure.ac: Check for yat2m. * doc/Makefile.am (YAT2M_OPTIONS): New. Also add all the other man page stuff similar to what is used in gnupg. -- ChangeLog entries by wk.
2024-08-29cpp: Add pkgconfig file for gpgmeppIngo Klöcker1-2/+25
* configure.ac: Add substitutions GPGMEPP_PKGCONFIG_LIBS, GPGMEPP_PKGCONFIG_CFLAGS, GPGMEPP_PKGCONFIG_HOST. Apply them. Configure gpgmepp.pc file. * lang/cpp/src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. (EXTRA_DIST): Add gpgmepp.pc.in. * lang/cpp/src/gpgmepp.pc.in: New. -- This pkgconfig file will be used, at least temporarily, by qgpgme to find gpgmepp, but it's also useful in general for projects that don't use cmake. GnuPG-bug-id: 7262
2024-07-18build,qt: Allow building Qt 5 bindings and Qt 6 bindingsIngo Klöcker1-43/+63
* configure.ac: Remove "qt" from default_languages. Add "qt5 qt6" to default_languages. Remove "qt" from help for --enable-languages. Don't fail anymore if "qt5" and "qt6" are enabled. Warn that "qt" is deprecated if it was enabled. * lang/qt/src/Makefile.am (libqgpgme_la, libqgpgmeqt6_la): New. (lib_LTLIBRARIES): Set Qt 5 and/or Qt 6 variant of libqgpgme. (AM_CPPFLAGS): Replace with libqgpgme_la_CPPFLAGS for Qt 5 and libqgpgmeqt6_la_CPPFLAGS for Qt 6. -- This makes it possible to build QGpgME simultaneously for Qt 5 and Qt 6. By default, QGpgME is now built for all versions of Qt that are found. Specifying "qt" as language is deprecated. GnuPG-bug-id: 7205
2024-05-29build,python: Remove support for Python 3.4, 3.5, 3.7Ingo Klöcker1-2/+1
* configure.ac: Don't look for Python 3.4, 3.5, 3.7 anymore. -- This complements the previous commit where those versions where removed from python.m4.
2024-05-21core: speedup gpgme_get_keyWerner Koch1-2/+2
* src/engine.c (_gpgme_set_engine_info): Change engine_get_version. -- GnuPG-bug-id: 6369
2024-05-16Require at least libgpg-error 1.47Ingo Klöcker1-1/+1
* configure.ac (NEED_GPG_ERROR_VERSION): Require 1.47. -- Libgpg-error 1.47 has been released more than 1 year ago and we use a new error code defined in this version. GnuPG-bug-id: 6971
2024-01-16build: Update Python autoconf macroIngo Klöcker1-1/+1
* configure.ac: Call AX_PYTHON_DEVEL with new "optional" argument. * m4/ax_python_devel.m4: Replace with current version from the autoconf archive. -- The new "optional" argument allows us to leave out one of our custom changes.
2023-11-28Post release updatesWerner Koch1-1/+1
--
2023-11-28Release 1.23.2gpgme-1.23.2Werner Koch1-3/+3
2023-10-30build,qt: Build Qt with -fPIC if required or requestedIngo Klöcker1-2/+14
* configure.ac: Add option to enable building the Qt 6 binding with -fPIC. Fix typo and mention default for --enable-no-direct-extern-access option. * m4/qt6.m4: Add -fPIC to GPGME_QT6_CFLAGS if requested or if Qt 6 was built with reduce_relocations. -- GnuPG-bug-id: 6781
2023-10-27Post release updatesWerner Koch1-1/+1
--
2023-10-25Post release updatesWerner Koch1-1/+1
--
2023-10-25Release 1.23.0gpgme-1.23.0Werner Koch1-6/+6
2023-09-21build,qt: Optionally build Qt 6 bindings with -mno-direct-extern-accessIngo Klöcker1-0/+19
* configure.ac: Check if C++ compiler supports -mno-direct-extern-access. Add option to enable building with -mno-direct-extern-access. * m4/ax_check_compile_flag.m4: New. * m4/qt6.m4: Add -mno-direct-extern-access to GPGME_QT6_CFLAGS if supported and requested. -- This adds the possibility to build the Qt 6 bindings with the -mno-direct-extern-access flag. This is required if Qt 6 was built with this flag. This is a workaround for the lack of Qt 6's pkgconfig files providing this flag if needed. GnuPG-bug-id: 6696
2023-09-01build: Change the default for --with-libtool-modification.NIIBE Yutaka1-2/+2
* configure.ac (--with-libtool-modification): default=never. -- GnuPG-bug-id: 6619 Signed-off-by: NIIBE Yutaka <[email protected]>
2023-08-31Support GPGME_ENCRYPT_ALWAYS_TRUST also for S/MIME.Werner Koch1-2/+2
* src/engine-gpgsm.c (gpgsm_encrypt): Send the always-trust options. * tests/run-encrypt.c: Add option --always-trust. -- Note that the run-encrypt test tool used to assume always-trust for OpenPGP since 1.7.0 This bug has also been fixed by introducing the explicit option. GnuPG-bug-id: 6559
2023-08-21Post release updatesWerner Koch1-1/+1
--
2023-08-21Release 1.22.0gpgme-1.22.0Werner Koch1-8/+8
2023-08-17build: New configure option --with-libtool-modification.NIIBE Yutaka1-0/+38
* Makefile.am (EXTRA_DIST): Add build-aux/libtool-patch.sed. * build-aux/libtool-patch.sed: New. * configure.ac (--with-libtool-modification): New. * build-aux/ltmain.sh: Revert our own local modification. -- Fixes-commit: e622e36f1f32641c66b28a0de95c75ae35f6ca05 GnuPG-bug-id: 6619 Signed-off-by: NIIBE Yutaka <[email protected]>
2023-07-07Post release updatesWerner Koch1-1/+1
--
2023-07-07Release 1.21.0gpgme-1.21.0Werner Koch1-7/+7
2023-06-13Fix definition of GPG_ERR_ENABLE_GETTEXT_MACROSAndre Heinecke1-1/+1
* configure.ac: Add missing value. -- Otherwise it would not be included in config.h
2023-04-20Post release updatesWerner Koch1-1/+1
--
2023-04-20Release 1.20.0gpgme-1.20.0Werner Koch1-5/+5
2023-04-04w32: Always use UTF-8 for localized textsIngo Klöcker1-0/+3
* configure.ac: Define GPG_ERR_ENABLE_GETTEXT_MACROS. * src/version.c (do_subsystem_inits) [W32]: Switch gettext to UTF-8. -- On Windows, applications using GpgME can now rely on localized texts returned by GpgME, e.g. the texts for error codes, to be UTF-8 encoded. In particular, this saves a useless and possibly lossy conversion to native encoding and back to UTF-8. On other OSes, where we use the system provided gettext, we assume that UTF-8 is used nowadays. GnuPG-bug-id: 5960
2023-03-17Post release updatesWerner Koch1-1/+1
--
2023-03-17Release 1.19.0gpgme-1.19.0Werner Koch1-6/+6
2023-03-17python: Update python.m4 configure script.Ben Greiner (bnavigator)1-1/+3
* configure.ac: Unset PYTHON_LIBS. Support python 3.10. * m4/python.m4: Find correct version string for python >= 3.10. -- See-also: https://dev.gnupg.org/D546 Also test for 3.11 and 3.12 (wk).
2023-01-31Update NEWS and set version to 1.19.0Werner Koch1-2/+2
--
2022-10-11build,qt: Allow building QGpgME for Qt 6Ingo Klöcker1-51/+142
* configure.ac: Look for Qt 5 and/or Qt 6. Require C++17 if Qt 6 binding is built. Build cmake files QGpgmeConfig* for Qt 5 and QGpgmeQt6Config* for Qt 6. (available_languages): Add "qt5" and "qt6". (WANT_QT5, WANT_QT6): New conditionals. * lang/qt/src/Makefile.am: Keep building libqgpgme for Qt 5. Build libqgpgmeqt6 for Qt 6. * lang/qt/tests/Makefile.am: Build tests for Qt 5 or Qt 6. * lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in, lang/qt/src/QGpgmeQt6Config.cmake.in.in, lang/qt/src/QGpgmeQt6ConfigVersion.cmake.in, m4/qt6.m4: New. -- This makes it possible to build QGpgME optionally for Qt 6.4.0 or later. By default or if the language "qt" is enabled, then QGpgME is built either for Qt 5 (if found) or Qt 6. A build for Qt 5 or Qt 6 can be requested by explicitly enabling the language "qt5" or "qt6". Building QGpgME for Qt 5 and Qt 6 simultaneously is not supported.
2022-10-10build,qt: Explicitly namespace a few Qt variables for Qt5Ingo Klöcker1-2/+2
m4/qt.m4: Rename to m4/qt5.m4: this. (FIND_QT): Rename to FIND_QT5. (GPGME_QT): Change variable prefix to GPGME_QT5. (GPGME_QTTEST: Change variable prefix to GPGME_QT5TEST. configure.ac, lang/qt/src/Makefile.am, lang/qt/tests/Makefile.am: Adjust accordingly. -- In preparation to adding support for building qgpgme for Qt6, add the version number to a few variables to avoid confusion.
2022-08-22build: Omit -I... and -L... for standard paths in pkgconfig fileIngo Klöcker1-1/+35
* configure.ac (GPGME_CONFIG_CFLAGS): Prefix with -I${includedir} for non-standard include paths. (GPGME_CONFIG_LIBS): Prefix with -L${libdir} for non-standard library paths. * src/gpgme.pc.in (Cflags): Remove hard-coded -I${includedir}. (Libs): Remove hard-coded -L${libdir}. -- This helps prevent problems when building/linking something that depends on gpgme (installed in standard path) and some other library (installed in a standard path and a custom path). See T6136 for related changes in libgpg-error.
2022-08-10Post release updatesWerner Koch1-1/+1
--
2022-08-10Release 1.18.0gpgme-1.18.0Werner Koch1-8/+8