Commit Graph

115 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Emily
2181ab3e22 treewide: unpin SWIG 4 2024-09-12 18:39:57 +01:00
Ben Darwin
49ab305095 gpgme: apply nixfmt 2024-08-23 15:33:40 -04:00
Ben Darwin
1a92b1205d gpgme: swig2 -> swig4 2024-08-23 15:33:40 -04:00
Alyssa Ross
e2254dbadf
gpgme: patch out LFS64 usage (#324771)
Needed for compatibility with musl 1.2.4+.

Link: https://github.com/NixOS/nixpkgs/pull/229439
2024-07-05 11:13:49 +02:00
Sandro Jäckel
824a0de5ff
python312Packages.gpgme: fix build 2024-02-06 13:45:07 +01:00
K900
a2a83fc41a qgpgme: add Qt6 support 2023-12-03 14:48:56 +03:00
Robert Schütz
6cce4ef879 gpgme: 1.23.0 -> 1.23.2
Changelog: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;f=NEWS;hb=gpgme-1.23.2
2023-11-29 14:57:32 -08:00
github-actions[bot]
d49b3ff9e3
Merge staging-next into staging 2023-11-08 12:02:19 +00:00
Adam Joseph
bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
Robert Schütz
224b3bd05d gpgme: 1.22.0 -> 1.23.0
Changelog: https://dev.gnupg.org/T6774
2023-10-25 09:23:04 -07:00
Robert Schütz
c52e31c8b8 gpgme: 1.21.0 -> 1.22.0
Changelog: https://dev.gnupg.org/T6668
2023-08-26 10:37:58 -07:00
Robert Schütz
55aeb4c785 gpgme: 1.20.0 -> 1.21.0
Changelog: https://dev.gnupg.org/T6585
2023-07-14 00:04:41 -07:00
Vladimír Čunát
82cd99d85d
Merge #227525: gpgme: 1.19.0 -> 1.20.0
...into staging
2023-04-26 15:52:57 +02:00
Robert Schütz
85b1f14a55 gpgme: 1.19.0 -> 1.20.0
Changelog: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;f=NEWS;hb=gpgme-1.20.0
2023-04-21 17:25:50 -07:00
github-actions[bot]
2f5fa4a6f7
Merge staging-next into staging 2023-04-15 06:01:36 +00:00
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
Adam Joseph
7d5b7ff8ae gpgme: enableParallelBuilding=true 2023-04-05 01:16:04 -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
github-actions[bot]
3cdd771820
Merge staging-next into staging 2023-02-23 18:01:49 +00: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
Fabian Affolter
152a721468 gpgme: update patch to support Python 3.11 2023-02-16 12:14:51 +01: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
add0201f35
python3.pkgs.gpgme: fix a test
This is a python counterpart of commit db6b3e0a5ec77; /cc PR #180336
2022-07-08 08:55:06 +02:00
Vladimír Čunát
1fc760419d
fixup! gpgme: fix a test after disallowing compressed signatures 2022-07-07 11:06:12 +02: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