aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2022-06-28build: When no gpg-error-config, not install gpgme-config.NIIBE Yutaka1-0/+3
* configure.ac (USE_GPGRT_CONFIG): New. * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install of gpgme-config. -- When system will migrate use of gpgrt-config and removal of gpg-error-config, gpgme-config will not be installed (but use gpgme.pc by gpgrt-config). Signed-off-by: NIIBE Yutaka <[email protected]>
2022-04-05core: Don't use internal __assuan functions.NIIBE Yutaka1-1/+1
* configure.ac (nanosleep): Detect. * src/assuan-support.c: Don't use __assuan_usleep. (my_socketpair): Don't use __assuan_socketpair. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2022-03-28qt: Set default visibility of all symbols to hiddenIngo Klöcker1-0/+10
* configure.ac: Add -fvisibility=hidden to GPGME_QT_CFLAGS if gcc supports the flag. -- With this change all defined symbols are hidden by default, so that they are not exported anymore. All symbols that are part of the ABI and that shall still be exported are already marked as having default visibility. GnuPG-bug-id: 5906
2022-03-28cpp: Set default visibility of all symbols to hiddenIngo Klöcker1-2/+10
* configure.ac: Add -fvisibility=hidden to GPGME_CPP_CFLAGS if gcc supports the flag. * lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add GPGME_CPP_CFLAGS. * m4/ax_gcc_func_attribute.m4: New. -- With this change all defined symbols are hidden by default, so that they are not exported anymore. All symbols that are part of the ABI and that shall still be exported are already marked as having default visibility. The m4 macro was taken from the website mentioned in the License header of the file. GnuPG-bug-id: 5906
2022-03-06Post release updatesWerner Koch1-1/+1
2022-03-06Release 1.17.1gpgme-1.17.1Werner Koch1-2/+2
* configure.ac: Bump QT LT version to C15/A0/R0.
2022-02-07Post release updatesWerner Koch1-1/+1
--
2022-02-07Release 1.17.0gpgme-1.17.0Werner Koch1-8/+8
2021-12-22build: Update for newer autoconf.NIIBE Yutaka1-3/+3
* configure.ac (AC_PREREQ): Require >= 2.69. (AC_CONFIG_HEADERS): Use it instead of AC_CONFIG_HEADER. -- Signed-off-by: NIIBE Yutaka <[email protected]>
2021-11-25posix: Use poll instead, when available, removing use of select.NIIBE Yutaka1-1/+1
* configure.ac (HAVE_POLL_H): Add the check. * src/ath.c [!HAVE_POLL_H] (ath_select): Enable conditionally. * src/posix-io.c [HAVE_POLL_H] (_gpgme_io_select_poll): Use poll. * tests/gpg/t-cancel.c [HAVE_POLL_H] (do_select): Use poll. * tests/gpg/t-eventloop.c [HAVE_POLL_H] (do_select): Use poll. -- GnuPG-bug-id: 2385 Signed-off-by: NIIBE Yutaka <[email protected]>
2021-08-13core: Use flexible array member if compiler has support.NIIBE Yutaka1-0/+1
* configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Add. * src/engine-gpg.c (struct arg_and_data_s): Use FLEXIBLE_ARRAY_MEMBER. (_add_arg): Use offsetof instead of sizeof. (add_data): Likewise. -- Before this fix, GCC 11 warns (with its bound checking feature). Signed-off-by: NIIBE Yutaka <[email protected]>
2021-06-24Post release updatesWerner Koch1-1/+1
--
2021-06-24Release 1.16.0gpgme-1.16.0Werner Koch1-11/+11
2021-05-27build: _DARWIN_C_SOURCE should be 1.NIIBE Yutaka1-1/+1
* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1. -- GnuPG-bug-id: 5440 Reported-by: Jay Freeman Signed-off-by: NIIBE Yutaka <[email protected]>
2021-01-08Post release updatesWerner Koch1-1/+1
--
2021-01-08Release 1.15.1gpgme-1.15.1Werner Koch1-5/+5
2020-11-20Revert "cpp: Use portable off_t size_t"Andre Heinecke1-2/+1
This reverts commit 88294023c196497cfa6737be262c8b0c09d2a3ce. -- This commit was too early and i needed to test more this is breaking more then it helps so for now revert it before we can do a proper solution.
2020-11-18cpp: Use portable off_t size_tAndre Heinecke1-1/+2
* configure.ac: Configure cpp data.h.in * lang/cpp/src/Makefile.am: Generate data.h * lang/cpp/src/data.cpp, lang/cpp/src/data.h: Use portable types. * lang/qt/src/Makefile.am: Include build dir. * lang/qt/tests/makefile.am: Include build dir. -- These kind of patches have been around for a while, IMO this should not create an ABI incompatbility for cases where it already works because the types should be the same so I think this is not an interface break. GnuPG-Bug-Id: T3996
2020-11-18build: Update with newer autoconf constructs.NIIBE Yutaka1-13/+13
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE. Use AS_HELP_STRING instead of AC_HELP_STRING. * m4/libtool.m4: Update from libgpg-error. * m4/gpg-error.m4: Update from libgpg-error. * m4/libassuan.m4: Update from libassuan. Signed-off-by: NIIBE Yutaka <[email protected]>
2020-11-12Post release updatesWerner Koch1-1/+1
2020-11-12Release 1.15.0gpgme-1.15.0Werner Koch1-9/+9
* configure.ac: Bump LT versions to c=C35/A24/R0, cpp=C18/A13/R0, qt=C12/A5/R0. -- GnuPG-bug-id: 5131
2020-11-09Require at least libgpg-error 1.36Werner Koch1-1/+1
* configure.ac (NEED_GPG_ERROR_VERSION): Require 1.36. * src/cJSON.c: Remove code for older version. * src/engine.c (gpgme_get_engine_info): Ditto. * src/gpgme-json.c: Ditto. * src/op-support.c: Ditto. * src/util.h: Ditto. -- Libgpg-error 1.36 has been released more than 18 months ago so it is time to avoid hacks and require this verion. This will for example help Kleopatra to support PIV cards and improves the gpgme-json. Signed-off-by: Werner Koch <[email protected]>
2020-07-16Post release updatesWerner Koch1-1/+1
--
2020-07-16Release 1.14.0gpgme-1.14.0Werner Koch1-8/+8
* configure.ac: Bump LT versions to c=C34/A23/R0 cpp=C17/A11/R0 qt=C11/A4/R0. -- GnuPG-bug-id: 4996
2020-02-14python: Also detect python 3.9.Werner Koch1-1/+1
-- Signed-off-by: Werner Koch <[email protected]>
2019-11-04doc: Note the need for a base tag.Werner Koch1-3/+5
--
2019-06-13Post release updatesgpgme-1.14-baseWerner Koch1-2/+2
--
2019-06-13Release 1.13.1gpgme-1.13.1Werner Koch1-4/+4
* configure.ac: Bump LT versions to c=C33/A22/R1 cpp=C16/A10/R0 qt=C10/A3/R4. Signed-off-by: Werner Koch <[email protected]>