aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-07-08python: idiomatic interface prototypejustus/idiomatic-py-0Justus Winter1-1/+1
Signed-off-by: Justus Winter <[email protected]>
2016-07-01Cpp: Add TofuInfo to signaturesAndre Heinecke1-1/+1
* lang/cpp/src/tofuinfo.cpp, lang/cpp/src/tofuinfo.h: New class. * lang/cpp/src/verificationresult.cpp (Signature::tofuInfo): New. (VerificationResult::Private): Handle tofu info. (GpgME::operator<<(std::ostream &os, const Signature &sig)): Include TofuInfo in dump. * lang/cpp/src/verificationresult.h (Signature::tofuInfo): New. * lang/cpp/src/Makefile.am (main_sources, gpgmepp_headers): Add new files. * configure.ac (LIBGPGMEPP_LT_REVISION): Bump for new API.
2016-06-16python: Get version information from the build system.Justus Winter1-1/+4
* configure.ac: Generate 'setup.py' and 'version.py'. * lang/python/Makefile.am: Use generated setup script. * lang/python/pyme/version.py: Turn it into a template, and get version information from the build system. Also drop some variables. * lang/python/setup.py: Likewise. This way we can avoid importing the version module, which is frowned upon and actually caused a problem. Signed-off-by: Justus Winter <[email protected]>
2016-06-01python: Make Python detection more robust.Justus Winter1-0/+10
Previously, missing Python development packages made configure fail instead of merely disabling the bindings. * configure.ac: Check for 'PYTHON_VERSION'. * m4/ax_python_devel.m4: Make test non-fatal. Signed-off-by: Justus Winter <[email protected]>
2016-05-19Qt: Check for graphviz and set HAVE_DOT correctlyAndre Heinecke1-0/+10
* configure.ac: Check for graphviz and define HAVE_DOT. * lang/qt/doc/Doxyfile.in (HAVE_DOT): Use variable.
2016-05-18python: Various fixes.Justus Winter1-4/+3
* configure.ac: Fix SWIG detection, bump required Python version. * lang/python/Makefile.am: Portability fix. Signed-off-by: Justus Winter <[email protected]>
2016-05-13Qt: Add keyLocateJob and test for itAndre Heinecke1-1/+1
* configure.ac (LIBQGPGME_LT_REVISION): Bump. * lang/qt/src/protocol.h (locateKeysJob): Add Job. * lang/qt/src/protocol_p.h (locateKeysJob): Implement. * lang/qt/tests/Makefile.am: Add t-keylocate. * lang/qt/tests/t-keylocate.cpp: New.
2016-05-12python: Add a test suite.Justus Winter1-1/+1
* configure.ac: Add new Makefile. * lang/python/Makefile.am: Add subdirectory. * lang/python/tests/Makefile.am: New file. * lang/python/tests/t-wrapper.py: Likewise. Signed-off-by: Justus Winter <[email protected]>
2016-05-11python: Integrate into the build system.Justus Winter1-1/+30
* configure.ac: Make Python bindings configurable, add new Makefile. * lang/python/Makefile.am: New file. * lang/python/setup.py: Integrate into the build system. * m4/ax_pkg_swig.m4: New file from the autoconf archive. * m4/m4_ax_swig_python.m4: Likewise. Signed-off-by: Justus Winter <[email protected]>
2016-05-06Use common error message style for qt lang checksAndre Heinecke1-2/+5
* configure.ac: Use common error highliting for qt lang options.
2016-05-06Add maybe mode for langs and default to itAndre Heinecke1-20/+58
* configure.ac (languages): Warn and disable langs for which requirements are not met. -- If the languages are explicitly enabled on the command line missing dependencies for them will still lead to errors.
2016-04-12Fix configuration without Qt languageAndre Heinecke1-3/+3
* configure.ac: Define HAVE_DOXYGEN also if qt should not be built.
2016-04-11Qt/Cpp: Bump so version to 6.Andre Heinecke1-2/+2
* configure.ac (LIBGPGMEPP_LT_CURRENT, LIBQGPGME_LT_CURRENT): Bump. -- While the KDE Frameworks versions had a different name increasing the number avoids a conflict with KDE4 versions and is generally more consistent.
2016-04-11Qt: Add doc generation with doxygenAndre Heinecke1-0/+10
* configure.ac: Look for doxygen if qt is built. Configure new files. * lang/qt/doc/Doxyfile.in: New. * lang/qt/doc/Makefile.am: New. * lang/qt/README: Update. -- Currently this is a standard doxyfile template without much customization.
2016-04-03Cpp: Require c++ 11 if cpp binding requestedAndre Heinecke1-0/+6
* configure.ac: Call ax_cxx_compile_stdcxx * m4/ax_cxx_compile_stdcxx.m4 -- Depending on c++11 is intended to make the port away from Boost easier. The m4 macro was taken from the website mentioned in the License header of the file.
2016-04-03Qt: Add a unit test for qgpgmeAndre Heinecke1-0/+1
* configure.ac: Configure test Makefile. * m4/qt.m4: Look up Qt5Test flags. * lang/qt/tests/t-keylist.cpp: New. Simple keylist check. * lang/qt/tests/Makefile.am: New. General test framework. -- This test mostly checks that it basically compiles / works and adds a test framework.
2016-03-08Add qgpgme as qt language bindingAndre Heinecke1-2/+30
* configure.ac: Add version defines. Check for qt if neccessary. * lang/README: Mention qt * lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove comment. Find qgpgme. * lang/qt/src/Makefile.am: New. Build qgpgme. * lang/qt/README, lang/qt/src/Makefile.am, lang/qt/src/QGpgmeConfig.cmake.in.in, lang/qt/src/QGpgmeConfigVersion.cmake.in, lang/qt/src/dataprovider.cpp, lang/qt/src/dataprovider.h, lang/qt/src/qgpgme_export.h, m4/qt.m4: New. * lang/cpp/src/GpgmeppConfig.cmake.in.in, lang/cpp/src/Makefile.am: Fix generated config file. -- For now this is just the dataprovider which was part of the KF5 Gpgmepp QGpgme variant. This is very thin but a useful class which is used downstream.
2016-03-08Remove obsolete w32-qt codeAndre Heinecke1-14/+2
* configure.ac (w32-qt): Remove option and Qt checks. * src/Makefile.am: Remove BUILD_W32_QT handling. * src/kdpipeiodevice.cpp, src/kdpipeiodevice.h, src/kdpipeiodevice.moc, src/w32-qt-io.cpp: Removed. -- This code was intended for Kleopatra but Kleopatra is not using it anymore. QGpgme/dataprovider is a better replacement for this.
2016-03-02Add cmake configuration filesAndre Heinecke1-0/+9
* configure.ac: Add libgpgmepp version. Configure cmake files. * lang/cpp/src/Makefile.am: Add targets for cmake files. (EXTRA_DIST): Add cmake files. -- This should smooth the transition for downstream users that have worked with KF5::Gpgmepp previously.
2016-03-02Add enable-languages build optionAndre Heinecke1-5/+27
* acinclude.m4 (LIST_MEMBER): New macro. * configure.ac (enable-languages): New option. Add info output. * lang/Makefile.am: Only add enabled language subdirs.
2016-02-22Add buildsystem for GpgmeppAndre Heinecke1-0/+1
* configure.ac: Configure Makefiles. * lang/Makefile.am: Add cpp subdir * lang/cpp/Makefile.am: New. Add src subdir. * lang/cpp/src/Makefile.am: New. Basic buildsystem.
2015-08-26Post release updatesWerner Koch1-1/+1
--
2015-08-26Release 1.6.0gpgme-1.6.0Werner Koch1-4/+4
* configure.ac: Set LT version to C25/A14/R0. Signed-off-by: Werner Koch <[email protected]>
2015-08-25Add configure option --enable-build-timestamp.Werner Koch1-1/+11
* configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. -- This is based on libgpg-error commit d620005fd1a655d591fccb44639e22ea445e4554 but changed to be disbaled by default. Check there for some background. Signed-off-by: Werner Koch <[email protected]>
2015-06-08Post release updatesWerner Koch1-2/+2
--
2015-06-08Release 1.5.5gpgme-1.5.5Werner Koch1-3/+3
2015-04-13Post release updates.Werner Koch1-2/+2
--
2015-04-13Release 1.5.4.gpgme-1.5.4Werner Koch1-4/+4
2015-01-30Switch to automake 1.14 and update build-aux files.Werner Koch1-4/+2
Signed-off-by: Werner Koch <[email protected]>
2014-12-11Post release updates.Werner Koch1-3/+3
--
2014-12-11Release 1.5.3.gpgme-1.5.3Werner Koch1-1/+1
* configure.ac: Set LT version to C24/A13/R2.
2014-11-21Post release updatesWerner Koch1-1/+1
--
2014-11-21Release 1.5.2.gpgme-1.5.2Werner Koch1-1/+1
* configure.ac: Set LT version to C24/A13/R1.
2014-10-02build: Implement SYSROOT feature.origin/bjk/masterWerner Koch1-0/+10
* configure.ac: Document SYSROOT. * m4/gpg-error.m4: Update from libgpg-error master. * src/gpgme.m4: Implement SYSROOT stuff.
2014-07-30Post release updates.Werner Koch1-1/+1
--
2014-07-30Release 1.5.1gpgme-1.5.1Werner Koch1-2/+2
* configure.ac: Change LT version to C24/A13/R0.
2014-05-21Post release updatesWerner Koch1-1/+1
--
2014-05-21Release 1.5.0.gpgme-1.5.0Werner Koch1-2/+2
* configure.ac: Change LT version to C22/A11/R0.
2014-03-13Add configure option --enable-fixed-path.Werner Koch1-0/+11
* configure.ac: Add option --enable-fixed-path. (FIXED_SEARCH_PATH): New ac_define. * src/posix-util.c (walk_path): Make use of the option. Remove current directory from fallback PATH. -- Note that using this option PATH is entirely ignored by GPGME and only the given value is used instead to locate the GnuPG binaries. On Android the use of PATH is not desirable. Instead the GnuPG tools are expected in a fixed directory. By using ./configure --enable-fixed-path="/foo/bar" gpg et al are expected to be installed as /foo/bar/gpg. With ./configure --enable-fixed-path="/foo/bar:/bin" gpg is expected as /foo/bar/gpg or /bin/gpg.
2014-01-10Use the generic autogen.sh script.Werner Koch1-0/+1
* autogen.rc: New. * Makefile.am (EXTRA_DIST): Add it. * autogen.sh: Update from GnuPG. * configure.ac (AM_SILENT_RULES): New.
2014-01-07Set next version to 1.5.0Werner Koch1-2/+2
--
2013-12-27Locate engine names only at runtime and prefer GnuPG-2.Werner Koch1-485/+27
* configure.ac (NEED_GPG_VERSION, NEED_GPGSM_VERSION) (NEED_G13_VERSION, NEED_GPGCONF_VERSION): Remove vars and all related checks. Do not check for any engine version. (HAVE_ASSUAN): Remove AM conditional. * src/Makefile.am: Remove separate component vars and always build all engines but uiserver. * src/dirinfo.c (WANT_GPGCONF_NAME): New. (struct dirinfo): Add field gpgconf_name. (_gpgme_get_default_gpgconf_name): Use WANT_GPGCONF_NAME. (get_gpgconf_item): Set gpgconf name and adjust for _gpgme_get_*_path now returning a malloced string. * src/engine.c (engine_ops): Always init all engines except for uiserver. * src/posix-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path): Remove unused functions. (walk_path): New. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path ): Re-implement using walk_path. * src/w32-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path): Remove unused functions. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Return a malloced string. * src/engine-g13.c (g13_get_req_version): Use a hardwired string with the required version. This info belongs into this file. * src/engine-gpg.c (gpg_get_req_version): Ditto. * src/engine-gpgconf.c (gpgconf_get_req_version): Ditto. * src/engine-gpgsm.c (gpgsm_get_req_version): Ditto. * tests/t-engine-info.c: Replace now useless test by an info output. * tests/gpg/Makefile.am (GPG, GPG_AGENT): Hardwire gpg and gpg-agent. * tests/gpgsm/Makefile.am (GPGSM): Hardwire gpgsm. Signed-off-by: Werner Koch <[email protected]>
2013-08-12Release 1.4.3.gpgme-1.4.3Werner Koch1-2/+2
* configure.ac: Change LT version to C22/A11/R0.
2013-08-12Improve detection of default gpg by configure.Werner Koch1-108/+146
* configure.ac: Move test for gpgconf before test for gpg. (GPG, GPGSM, G13): Use gpgconf instead of AC_PATH_PROG if possible. -- This change is required so that the t-engine-info test does not fail. In any case, it is a good idea to use gpgconf for these test because this is how it works at runtime.
2013-08-02Prefer GnuPG-2 engines over GnuPG-1.Werner Koch1-1/+5
* src/util.h: Move some prototypes to ... * src/sys-util.h: New. * src/Makefile.am (main_sources): Add sys-util.h. * configure.ac (AH_VERBATIM): Add DIRSEP_C and DIRSEP_S. * src/dirinfo.c: Include sys-util.h. (WANT_GPG_NAME, WANT_GPGSM_NAME, WANT_G13_NAME) (WANT_UISRV_SOCKET): New. (dirinfo): Add corresponding fields. (parse_output): Add arg COMPONENTS and set new fields. (read_gpgconf_dirs): Add arg components and act upon it. (get_gpgconf_item): Call read_gpgconf_dirs two times. Add debug output. (_gpgme_get_default_gpg_name): New. (_gpgme_get_default_gpgsm_name): New. (_gpgme_get_default_g13_name): New. (_gpgme_get_default_gpgconf_name): New. (_gpgme_get_default_uisrv_socket): New. * src/engine-gpg.c, src/engine-g13.c, src/engine-gpgconf.c * src/engine-gpgsm.c, src/engine-uiserver.c: Change to use _gpgme_get_default_ instead of those from sys-util.h. * src/posix-util.c (_gpgme_get_gpg_path): Include sys-util.h. (_gpgme_get_uiserver_socket_path): Remove. * src/w32-util.c (_gpgme_get_gpg_path): Include sys-util.h. (_gpgme_get_uiserver_socket_path): Remove. -- The default engines names are now taken from the output of gpgconf. If gpgconf is not installed gpg 1 is assumed and locate the same was as gpgconf.
2013-05-28Post release version bump.Werner Koch1-1/+1
--
2013-05-28Release 1.4.2.gpgme-1.4.2Werner Koch1-3/+3
* configure.ac: Set LT version to C21/A10/R0.
2013-05-16Make definition of off_t robust against misbehaving w32 toolchains.Werner Koch1-15/+21
* configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t and gpgme_ssize_t. (API__OFF_T, API__SSIZE_T): New ac_subst. * src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros. * src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h * src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c * src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c * src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t by gpgme_off_t and sszie_t by gpgme_ssize_t. * src/ath-pthread.c, src/ath.h: Include gpgme.h. -- For a detailed description, see the gpgme.texi diff.
2013-05-01Post release version bump.Werner Koch1-1/+1
--
2013-05-01Release 1.4.1.gpgme-1.4.1Werner Koch1-1/+1
* configure.ac: Bump LT version to C20/A9/R1.