Commit Graph

93 Commits

Author SHA1 Message Date
Adam Joseph
08c78eaa64 gpgme: fix cross, drop python2
This package very confusingly takes both python(2) and python3 as
arguments, and then mixes them up via an overlay in python-packages.
Since python2 is now marked INSECURE, let's just stick with python3.

Also fixes cross compilation.
2023-04-14 11:25:26 -07:00
Robert Schütz
c98c72df26 gpgme: 1.18.0 -> 1.19.0
Changelog: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;f=NEWS;hb=gpgme-1.19.0
2023-03-21 17:34:50 -07:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
sg2002
e4e3dafe21 gpgme: fix i686 build 2022-09-25 16:03:20 +03:00
Adam Joseph
c864ea9d03
gpgme: respect the doCheck parameter
The current `gpgme` expression ignores the `doCheck` parameter because
upstream's `Makefile` runs the tests automatically as part of the
`buildPhase`.  Let's run the tests as part of the `checkPhase` iff
`doCheck` is set, like the rest of nixpkgs' packages.

In particular, with this commit, `pkgsCross.*.gpgme` will no longer
attempt to run the tests (tests are not supposed to be run when
host!=build).
2022-08-18 07:49:15 +00:00
Robert Schütz
54a173c0c1 gpgme: 1.17.1 -> 1.18.0
https://dev.gnupg.org/T6128
2022-08-11 11:34:53 +00:00
Vladimír Čunát
db6b3e0a5e
gpgme: fix a test after disallowing compressed signatures
/cc PR #180336

I'm not entirely sure about this, as I couldn't spend much time, but
it seemed plausible that the patch caused a different kind of errors
in this tested case - though it's possible I messed the test up.
Either way, the tests seem to pass now, unblocking the CVE fixes ;-)
2022-07-07 11:02:53 +02:00
misuzu
8df69c5585 gpgme: fix build on armv7l 2022-06-07 17:34:29 +03:00
Robert Schütz
1478ffddf2 gpgme: add passthru.tests 2022-05-27 16:57:16 +00:00
Robert Schütz
442076dadf gpgme: 1.17.0 -> 1.17.1
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;f=NEWS;hb=gpgme-1.17.1
2022-05-27 00:21:33 +00:00
Vladimír Čunát
415d23fb4d
gpgme: fix the qt5 bindings
Commit 1340607f3d (PR #155384) broke list-nesting of the passed qtbase.

Surprisingly to me, that prevented it from appearing in PKG_CONFIG_PATH
and thus from building the Qt bindings.  Subsequently those were then
missing in libsForQt5.libkleo and maybe other places.
2022-03-15 09:31:06 +01:00
Sandro Jäckel
8706d94802
gpgme: fix python 3.10 support, try 2 2022-02-20 00:04:23 +01:00
Fabian Affolter
1340607f3d
gpgme: add patch for Python 3.10 support 2022-02-19 16:27:57 +01:00
Sergei Trofimovich
05fdc9cce0 gpgme: 1.16.0 -> 1.17.0
Among other things fixes build against glibc-2.34.

changelog: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob;f=NEWS;hb=refs/tags/gpgme-1.17.0
2022-02-13 23:07:54 +00:00
Ryan Burns
41574158a0 libgpg-error: rename from libgpgerror
Matches pname and upstream project name
2021-10-06 18:23:43 -07:00
Marc Seeger
457c8a7f5b gpgme: move flaky patch URLs to local files. 2021-08-18 14:06:08 -07:00
Marc Seeger
c7cf494518 gpgme: fix failing patch downloads. 2021-08-17 14:55:30 -07:00
Vladimír Čunát
87cfb513c1
gpgme: apply the recent patch for all platforms
See commit 16105403b.
2021-07-21 20:12:38 +02:00
Vladimír Čunát
16105403bd
gpgme: upstream patch for failing test
Changes cause stdenv rebuild, so for now let's only patch on i686-linux
where the test fails:
https://hydra.nixos.org/build/148090126

The issue was triggered by the last update (PR #128098).
2021-07-21 09:28:18 +02:00
Michael Weiss
5c22826cda
gpgme: remove myself as maintainer 2021-06-25 14:48:17 +02:00
Michael Weiss
e92814a3f1
gpgme: 1.15.1 -> 1.16.0 2021-06-25 14:48:14 +02:00
github-actions[bot]
1b5da764a7
Merge staging-next into staging 2021-01-27 12:24:09 +00:00
Ben Siraphob
3bbad8b041 treewide: remove inherited stdenv.lib 2021-01-27 12:44:43 +07:00
Thomas Tuegel
5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Weiss
bfb627d78f gpgme: 1.15.0 -> 1.15.1 2021-01-10 16:16:24 +01:00
Mario Rodas
74c81a64f0 gpgme: fix build on darwin 2021-01-08 04:20:00 +00:00
Michael Weiss
1e1eb0eb44
gpgme: 1.14.0 -> 1.15.0 (#103919) 2020-11-16 19:32:00 +01:00
Michael Weiss
0c50808975
gpgme: 1.13.1 -> 1.14.0 (#93353) 2020-07-19 11:44:08 +02:00
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
Jörg Thalheim
c88f04cb93 gpgme: convert macos sed patch scripts to patch files
This is less brittle and breaks loud if the code changes.
Also remove the /usr/bin/file patch. It is not really required
for the build to work, the generated warning is harmless.
2020-04-21 08:37:12 +02:00
Kirill Elagin
5470d96645 pgpgme: Fix build with python on macOS
* Replace LD_LIBRARY_PATH with OS-specific name (e.g. DYLD_LIBRARY_PATH
  on macOS).
* Disable Python tests on macOS, because they use gpg, which fails due
  to a very long socket path (https://github.com/NixOS/nix/pull/1085).

The former should be fixed upstream. The latter is a Nix-specific issue,
but it can be worked-around upstream by making Python tests respect
--disable-gpg-test.
2020-04-21 08:37:12 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
6a99952795
gpgme: Fix tests with gnupg > 2.2.19 2020-04-02 06:35:36 +02:00
Robin Gloster
ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
b063dc8557 gpgme: 1.13.0 -> 1.13.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gpgme/versions
2019-06-16 18:03:24 -07:00
Dmitry Kalinkin
f19a36f524
gpgme: disable tests on darwin 2019-06-07 16:03:51 -04:00
Will Dietz
5c280ce1e4 gpgme: 1.12.0 -> 1.13.0
https://lists.gnupg.org/pipermail/gnupg-announce/2019q1/000437.html

Drop autoreconfHook and git, otherwise version contains `-unknown`
which is unfortunate but also breaks build w/seahorse.
2019-03-26 13:23:54 -05:00
Michael Eden
aefea5f0bd gpgme: cross compilation 2019-03-21 10:33:30 -04:00
Michael Weiss
399761ea0a
gpgme: Update the URL for fix-key-expiry.patch
The old URL was gone, see:
https://github.com/NixOS/nixpkgs/pull/53693#pullrequestreview-195177688

Thanks @volth :)
2019-01-24 17:24:18 +01:00
Tor Hedin Brønner
96bfa25500 libsForQt5.qgpgme: fix tests after 2019-01-06
The keys used in one of the qt tests expired on 2019-01-06 breaking the build.

closes https://github.com/NixOS/nixpkgs/issues/53632
2019-01-09 09:19:30 +01:00
Matthieu Coudron
3902b3f4e7 python3Packages.gpgme: enable python3 version
when calling python3Packages.gpgme, it was still picking python2.
Changed withPython into pythonSupport since it's the convention.

I had to enable ncurses too because of this error when configuring:

configure:19978: checking python extra libraries
configure:19985: result: -lpthread -ldl -lcrypt -lncurses -lutil -lm
configure:19992: checking python extra linking flags
configure:19999: result: -Xlinker -export-dynamic
configure:20006: checking consistency of all components of python development environment
configure:20032: gcc -o conftest -g -O2  -I/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/include/python3.6m  conftest.c  -L/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/lib -lpython3.6m -Xlinker -export-dynamic -lpthread -ldl -lcrypt -lncurses -lutil -lm >&5
/nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
configure:20032: $? = 1
2018-10-19 14:20:08 +09:00
Will Dietz
c02fc32e1d gpgme: enable tests, they pass! :) 2018-10-12 21:45:02 -05:00
Will Dietz
6424a1425c gpgme: 1.11.1 -> 1.12.0
https://lists.gnupg.org/pipermail/gnupg-announce/2018q4/000429.html
2018-10-09 17:40:54 -05:00
Jan Malakhovski
53c9efe9e5 gpgme: use default texinfo 2018-09-08 23:04:55 +00:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00