Codebase list gpgme1.0 / eeb4f9a
Merge branch 'debian/master' into debian/stretch-backports Roger Shimizu 5 years ago
8 changed file(s) with 74 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
0 gpgme1.0 (1.11.1-2) unstable; urgency=medium
1
2 * acknowledge NMU (thanks, Adrian!)
3 * allow rebuild with older versions of libgpg-error
4 * drop python3.5, try to add 3.7
5 * d/changelog: strip trailing whitespace
6 * Standards-Version: bump to 4.2.1 (no changes needed)
7 * use dh_missing explicitly
8 * avoid shipping gpgme-json yet (we will ship it next release)
9
10 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 09 Oct 2018 01:42:48 -0400
11
12 gpgme1.0 (1.11.1-1.1) unstable; urgency=medium
13
14 * Non-maintainer upload.
15 * Bump the libgpg-error-dev build dependency to >= 1.28.
16 (Closes: #898120)
17
18 -- Adrian Bunk <bunk@debian.org> Sun, 23 Sep 2018 12:57:39 +0300
19
020 gpgme1.0 (1.11.1-1~bpo9+1) stretch-backports; urgency=medium
121
222 [ Jacob Adams ]
840860 * Initial Release (closes: #84233)
841861
842862 -- Jose Carlos Garcia Sogo <jose@jaimedelamo.eu.org> Mon, 30 Apr 2001 19:34:26 +0200
843
1212 gnupg2 | gnupg (>= 2),
1313 gpgsm,
1414 libassuan-dev (>= 2.4.2),
15 libgpg-error-dev (>= 1.29),
15 libgpg-error-dev (>= 1.24),
1616 pkg-config,
1717 python-all-dev,
1818 python3-dev,
2323 Build-Depends-Indep:
2424 doxygen,
2525 graphviz,
26 Standards-Version: 4.1.4
26 Standards-Version: 4.2.1
2727 Homepage: https://www.gnupg.org/related_software/gpgme/
2828 Vcs-Git: https://salsa.debian.org/debian/gpgme.git
2929 Vcs-Browser: https://salsa.debian.org/debian/gpgme
0 From: Werner Koch <wk@gnupg.org>
1 Date: Tue, 5 Jun 2018 09:40:17 +0200
2 Subject: json: Allow compiling with libgpg-error < 1.28
3
4 * src/cJSON.c: Use gpgrt functions only if available.
5 --
6
7 We have a hack in gpgme-json to allow building with older libgpg-error
8 versions. That whole thing will not work but the instead the binary
9 will print an error at runtime that it needs to be build with a newer
10 libgcrypt. There was a little bug here for the Debian packages
11 libgpg-error versions which failed to build cJSON. cJSON is only
12 needed be the full gpgme-json but nevertheless the Makefile wants to
13 build it. The fix is straightforward.
14
15 GnuPG-bug-id: 3971
16 Signed-off-by: Werner Koch <wk@gnupg.org>
17 (cherry picked from commit 998fec8a4fbc46315fe6836980954eed402b38c5)
18 ---
19 src/cJSON.c | 4 ++--
20 1 file changed, 2 insertions(+), 2 deletions(-)
21
22 diff --git a/src/cJSON.c b/src/cJSON.c
23 index cf0cb13..38cb152 100644
24 --- a/src/cJSON.c
25 +++ b/src/cJSON.c
26 @@ -41,13 +41,13 @@
27 #include "cJSON.h"
28
29 /* We use malloc function wrappers from gpgrt (aka libgpg-error). */
30 -#if 1
31 +#if GPGRT_VERSION_NUMBER >= 0x011c00 /* 1.28 */
32 # include <gpgrt.h>
33 # define xtrymalloc(a) gpgrt_malloc ((a))
34 # define xtrycalloc(a,b) gpgrt_calloc ((a), (b))
35 # define xtrystrdup(a) gpgrt_strdup ((a))
36 # define xfree(a) gpgrt_free ((a))
37 -#else
38 +#else /* Without gpgrt (aka libgpg-error). */
39 # define xtrymalloc(a) malloc ((a))
40 # define xtrycalloc(a,b) calloc ((a), (b))
41 # define xtrystrdup(a) strdup ((a))
00 0001-avoid-identifying-as-beta.patch
1 0002-json-Allow-to-compile-with-libgpg-error-1.28.patch
1111 dh_auto_configure -- \
1212 --enable-static \
1313 --enable-languages="python cpp qt" \
14 PYTHON_VERSIONS="2.7 3.5 3.6" \
14 PYTHON_VERSIONS="2.7 3.6 3.7" \
1515 --infodir=/usr/share/info
1616
17 override_dh_install:
18 dh_install --list-missing -X.la -Xinfo/dir -X.pyc -Xinstall_files.txt -X__pycache__
17 override_dh_missing:
18 dh_missing --list-missing -X.la -Xinfo/dir -X.pyc -Xinstall_files.txt -X__pycache__ -Xgpgme-json
1919
2020 override_dh_makeshlibs:
2121 dh_makeshlibs -V
33 Tests: python3
44 Depends: python3-gpg
55
6 Tests: python3.5
7 Depends: python3.5, python3-gpg
8
96 Tests: python3.6
107 Depends: python3.6, python3-gpg
118
9 Tests: python3.7
10 Depends: python3.7, python3-gpg
11
+0
-3
debian/tests/python3.5 less more
0 #!/bin/bash
1
2 exec python3.5 debian/tests/python-gpg
0 #!/bin/bash
1
2 exec python3.7 debian/tests/python-gpg