From 41574158a07f3c6ab5853b316c2fe7ed18e6354b Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sat, 4 Sep 2021 13:05:03 -0700 Subject: [PATCH] libgpg-error: rename from libgpgerror Matches pname and upstream project name --- pkgs/applications/backup/deja-dup/default.nix | 4 ++-- pkgs/applications/blockchains/monero-gui/default.nix | 4 ++-- pkgs/applications/blockchains/parity-ui/env.nix | 4 ++-- pkgs/applications/editors/atom/env.nix | 4 ++-- pkgs/applications/editors/lighttable/default.nix | 4 ++-- pkgs/applications/misc/gpa/default.nix | 4 ++-- pkgs/applications/misc/keepassx/community.nix | 4 ++-- .../networking/instant-messengers/psi-plus/default.nix | 4 ++-- .../networking/sniffers/wireshark/default.nix | 4 ++-- pkgs/applications/video/kodi/unwrapped.nix | 4 ++-- pkgs/applications/video/vlc/default.nix | 4 ++-- pkgs/build-support/appimage/default.nix | 2 +- pkgs/development/libraries/aqbanking/gwenhywfar.nix | 4 ++-- pkgs/development/libraries/gmime/2.nix | 4 ++-- pkgs/development/libraries/gpgme/default.nix | 6 +++--- pkgs/development/libraries/libaacs/default.nix | 4 ++-- pkgs/development/libraries/libassuan/default.nix | 6 +++--- pkgs/development/libraries/libbdplus/default.nix | 4 ++-- pkgs/development/libraries/libgcrypt/1.5.nix | 6 +++--- pkgs/development/libraries/libgcrypt/default.nix | 8 ++++---- pkgs/development/libraries/libksba/default.nix | 6 +++--- pkgs/development/libraries/ntbtls/default.nix | 4 ++-- pkgs/games/steam/runtime-wrapped.nix | 2 +- pkgs/os-specific/linux/systemd/default.nix | 6 +++--- pkgs/servers/shishi/default.nix | 6 +++--- pkgs/tools/archivers/fsarchiver/default.nix | 4 ++-- pkgs/tools/backup/percona-xtrabackup/generic.nix | 4 ++-- pkgs/tools/security/dirmngr/default.nix | 4 ++-- pkgs/tools/security/gnupg-pkcs11-scd/default.nix | 4 ++-- pkgs/tools/security/gnupg/22.nix | 4 ++-- pkgs/tools/security/gpg-tui/default.nix | 6 +++--- pkgs/tools/security/pinentry/default.nix | 4 ++-- pkgs/tools/security/ripasso/cursive.nix | 4 ++-- pkgs/tools/security/sheesy-cli/default.nix | 4 ++-- pkgs/tools/system/freeipmi/default.nix | 4 ++-- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 ++-- 37 files changed, 80 insertions(+), 79 deletions(-) diff --git a/pkgs/applications/backup/deja-dup/default.nix b/pkgs/applications/backup/deja-dup/default.nix index ccd121f5da70..337ee31f03d6 100644 --- a/pkgs/applications/backup/deja-dup/default.nix +++ b/pkgs/applications/backup/deja-dup/default.nix @@ -14,7 +14,7 @@ , libsecret , libhandy , wrapGAppsHook -, libgpgerror +, libgpg-error , json-glib , duplicity }: @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { gtk3 libsecret libhandy - libgpgerror + libgpg-error json-glib ]; diff --git a/pkgs/applications/blockchains/monero-gui/default.nix b/pkgs/applications/blockchains/monero-gui/default.nix index 54e9400e3d58..303cc6c54c5b 100644 --- a/pkgs/applications/blockchains/monero-gui/default.nix +++ b/pkgs/applications/blockchains/monero-gui/default.nix @@ -7,7 +7,7 @@ , qtmacextras , monero, miniupnpc, unbound, readline , boost, libunwind, libsodium, pcsclite -, randomx, zeromq, libgcrypt, libgpgerror +, randomx, zeromq, libgcrypt, libgpg-error , hidapi, rapidjson, quirc , trezorSupport ? true, libusb1, protobuf, python3 }: @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { qtmultimedia qtquickcontrols qtquickcontrols2 qtxmlpatterns monero miniupnpc unbound readline - randomx libgcrypt libgpgerror + randomx libgcrypt libgpg-error boost libunwind libsodium pcsclite zeromq hidapi rapidjson quirc ] ++ lib.optionals trezorSupport [ libusb1 protobuf python3 ] diff --git a/pkgs/applications/blockchains/parity-ui/env.nix b/pkgs/applications/blockchains/parity-ui/env.nix index 8b7d706c013a..5f485ed78a92 100644 --- a/pkgs/applications/blockchains/parity-ui/env.nix +++ b/pkgs/applications/blockchains/parity-ui/env.nix @@ -1,11 +1,11 @@ { stdenv, lib, zlib, glib, alsa-lib, dbus, gtk2, atk, pango, freetype, fontconfig -, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr +, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpg-error, nspr , nss, xorg, libcap, systemd, libnotify, libsecret, gnome2 }: let packages = [ stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3 - fontconfig gdk-pixbuf cairo cups expat libgpgerror alsa-lib nspr nss + fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr nss xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify diff --git a/pkgs/applications/editors/atom/env.nix b/pkgs/applications/editors/atom/env.nix index 253518b276b1..e59b03beba85 100644 --- a/pkgs/applications/editors/atom/env.nix +++ b/pkgs/applications/editors/atom/env.nix @@ -1,5 +1,5 @@ { stdenv, lib, zlib, glib, alsa-lib, dbus, gtk3, atk, pango, freetype, fontconfig -, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr +, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpg-error, nspr , gconf, nss, xorg, libcap, systemd, libnotify, libsecret, libuuid, at-spi2-atk , at-spi2-core, libdbusmenu, libdrm, mesa }: @@ -7,7 +7,7 @@ let packages = [ stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype libgnome-keyring3 - fontconfig gdk-pixbuf cairo cups expat libgpgerror alsa-lib nspr gconf nss + fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr gconf nss xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify diff --git a/pkgs/applications/editors/lighttable/default.nix b/pkgs/applications/editors/lighttable/default.nix index 0b550c5f11d2..e2e08a84c884 100644 --- a/pkgs/applications/editors/lighttable/default.nix +++ b/pkgs/applications/editors/lighttable/default.nix @@ -1,12 +1,12 @@ { stdenv, lib, fetchurl, zlib, glib, alsa-lib, makeDesktopItem , dbus, gtk2, atk, pango, freetype, fontconfig, libgnome-keyring3, gdk-pixbuf -, cairo, cups, expat, libgpgerror, nspr, gnome2, nss, xorg, systemd, libnotify +, cairo, cups, expat, libgpg-error, nspr, gnome2, nss, xorg, systemd, libnotify }: let libPath = lib.makeLibraryPath [ stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3 nss - fontconfig gdk-pixbuf cairo cups expat libgpgerror alsa-lib nspr gnome2.GConf + fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr gnome2.GConf xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst xorg.libXcomposite xorg.libXi xorg.libXfixes libnotify xorg.libXrandr xorg.libXcursor diff --git a/pkgs/applications/misc/gpa/default.nix b/pkgs/applications/misc/gpa/default.nix index 63bba909b6d5..af204b235062 100644 --- a/pkgs/applications/misc/gpa/default.nix +++ b/pkgs/applications/misc/gpa/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, gpgme, libgpgerror, libassuan }: +{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, gpgme, libgpg-error, libassuan }: stdenv.mkDerivation rec { name = "gpa-0.10.0"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ intltool pkg-config ]; - buildInputs = [ gtk2 gpgme libgpgerror libassuan ]; + buildInputs = [ gtk2 gpgme libgpg-error libassuan ]; meta = with lib; { description = "Graphical user interface for the GnuPG"; diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix index b4beab05acd1..fdd606c892d2 100644 --- a/pkgs/applications/misc/keepassx/community.nix +++ b/pkgs/applications/misc/keepassx/community.nix @@ -11,7 +11,7 @@ , libXtst , libargon2 , libgcrypt -, libgpgerror +, libgpg-error , libsodium , libyubikey , pkg-config @@ -99,7 +99,7 @@ stdenv.mkDerivation rec { libXtst libargon2 libgcrypt - libgpgerror + libgpg-error libsodium libyubikey qrencode diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix index 01a8a71f0326..22ee49b9261e 100644 --- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix @@ -14,7 +14,7 @@ , libgcrypt , libotr , html-tidy -, libgpgerror +, libgpg-error , libsignal-protocol-c , usrsctp @@ -76,7 +76,7 @@ mkDerivation rec { libgcrypt libotr html-tidy - libgpgerror + libgpg-error libsignal-protocol-c usrsctp ] ++ lib.optionals voiceMessagesSupport [ diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix index 4e57bfe4b17e..56f662792e3e 100644 --- a/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares -, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python3, libcap, glib +, gnutls, libgcrypt, libgpg-error, geoip, openssl, lua5, python3, libcap, glib , libssh, nghttp2, zlib, cmake, makeWrapper , withQt ? true, qt5 ? null , ApplicationServices, SystemConfiguration, gmp @@ -37,7 +37,7 @@ in stdenv.mkDerivation { buildInputs = [ gettext pcre perl libpcap lua5 libssh nghttp2 openssl libgcrypt - libgpgerror gnutls geoip c-ares python3 glib zlib + libgpg-error gnutls geoip c-ares python3 glib zlib ] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]) ++ optionals stdenv.isLinux [ libcap libnl ] ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ] diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix index df4c0a6bf1d0..3cb73f94cf46 100644 --- a/pkgs/applications/video/kodi/unwrapped.nix +++ b/pkgs/applications/video/kodi/unwrapped.nix @@ -1,6 +1,6 @@ { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper , pkg-config, cmake, gnumake, yasm, python3Packages -, libgcrypt, libgpgerror, libunistring +, libgcrypt, libgpg-error, libunistring , boost, avahi, lame , gettext, pcre-cpp, yajl, fribidi, which , openssl, gperf, tinyxml2, taglib, libssh, swig, jre_headless @@ -122,7 +122,7 @@ in stdenv.mkDerivation { sqlite libmysqlclient avahi lame curl bzip2 zip unzip glxinfo libcec libcec_platform dcadec libuuid - libgcrypt libgpgerror libunistring + libgcrypt libgpg-error libunistring libcrossguid libplist bluez giflib glib harfbuzz lcms2 libpthreadstubs ffmpeg flatbuffers fmt fstrcmp rapidjson diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix index 46669dff5306..3a613f26ae68 100644 --- a/pkgs/applications/video/vlc/default.nix +++ b/pkgs/applications/video/vlc/default.nix @@ -2,7 +2,7 @@ , libarchive, perl, xorg, libdvdnav, libbluray , zlib, a52dec, libmad, faad2, ffmpeg, alsa-lib , pkg-config, dbus, fribidi, freefont_ttf, libebml, libmatroska -, libvorbis, libtheora, speex, lua5, libgcrypt, libgpgerror, libupnp +, libvorbis, libtheora, speex, lua5, libgcrypt, libgpg-error, libupnp , libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg , mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image , libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { # needing them buildInputs = [ zlib a52dec libmad faad2 ffmpeg alsa-lib libdvdnav libdvdnav.libdvdread - libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpgerror + libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpg-error libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec systemd gnutls avahi libcddb SDL SDL_image libmtp taglib libarchive libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva diff --git a/pkgs/build-support/appimage/default.nix b/pkgs/build-support/appimage/default.nix index a759726eb104..9df241a48cad 100644 --- a/pkgs/build-support/appimage/default.nix +++ b/pkgs/build-support/appimage/default.nix @@ -175,7 +175,7 @@ rec { harfbuzz e2fsprogs - libgpgerror + libgpg-error keyutils.lib libjack2 fribidi diff --git a/pkgs/development/libraries/aqbanking/gwenhywfar.nix b/pkgs/development/libraries/aqbanking/gwenhywfar.nix index 073ad3254a0b..64b7aefe8b92 100644 --- a/pkgs/development/libraries/aqbanking/gwenhywfar.nix +++ b/pkgs/development/libraries/aqbanking/gwenhywfar.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkg-config, gettext +{ lib, stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpg-error, pkg-config, gettext , which # GUI support @@ -55,7 +55,7 @@ in stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config gettext which ]; - buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ]; + buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpg-error ]; dontWrapQtApps = true; diff --git a/pkgs/development/libraries/gmime/2.nix b/pkgs/development/libraries/gmime/2.nix index 0e10d12ed1f1..f5575bd20c8f 100644 --- a/pkgs/development/libraries/gmime/2.nix +++ b/pkgs/development/libraries/gmime/2.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, libgpgerror, gobject-introspection }: +{ lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, libgpg-error, gobject-introspection }: stdenv.mkDerivation rec { version = "2.6.23"; @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; nativeBuildInputs = [ pkg-config gobject-introspection ]; - propagatedBuildInputs = [ glib zlib libgpgerror ]; + propagatedBuildInputs = [ glib zlib libgpg-error ]; configureFlags = [ "--enable-introspection=yes" ]; postPatch = '' diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix index c1c9460fad69..263807c2fc1d 100644 --- a/pkgs/development/libraries/gpgme/default.nix +++ b/pkgs/development/libraries/gpgme/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, fetchpatch -, autoreconfHook, libgpgerror, gnupg, pkg-config, glib, pth, libassuan +, autoreconfHook, libgpg-error, gnupg, pkg-config, glib, pth, libassuan , file, which, ncurses , texinfo , buildPackages @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool propagatedBuildInputs = - [ libgpgerror glib libassuan pth ] + [ libgpg-error glib libassuan pth ] ++ lib.optional (qtbase != null) qtbase; nativeBuildInputs = [ pkg-config gnupg texinfo autoreconfHook ] @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-fixed-path=${gnupg}/bin" - "--with-libgpg-error-prefix=${libgpgerror.dev}" + "--with-libgpg-error-prefix=${libgpg-error.dev}" "--with-libassuan-prefix=${libassuan.dev}" ] ++ lib.optional pythonSupport "--enable-languages=python" # Tests will try to communicate with gpg-agent instance via a UNIX socket diff --git a/pkgs/development/libraries/libaacs/default.nix b/pkgs/development/libraries/libaacs/default.nix index c291c07abad3..3d28d6ef5a99 100644 --- a/pkgs/development/libraries/libaacs/default.nix +++ b/pkgs/development/libraries/libaacs/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libgcrypt, libgpgerror, bison, flex }: +{ lib, stdenv, fetchurl, libgcrypt, libgpg-error, bison, flex }: # library that allows libbluray to play AACS protected bluray disks # libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info. @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { sha256 = "11skjqjlldmbjkyxdcz4fmcn6y4p95r1xagbcnjy4ndnzf0l723d"; }; - buildInputs = [ libgcrypt libgpgerror ]; + buildInputs = [ libgcrypt libgpg-error ]; nativeBuildInputs = [ bison flex ]; diff --git a/pkgs/development/libraries/libassuan/default.nix b/pkgs/development/libraries/libassuan/default.nix index 5e966d9c35b7..3a00ca498cbe 100644 --- a/pkgs/development/libraries/libassuan/default.nix +++ b/pkgs/development/libraries/libassuan/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, lib, stdenv, gettext, npth, libgpgerror, buildPackages }: +{ fetchurl, lib, stdenv, gettext, npth, libgpg-error, buildPackages }: stdenv.mkDerivation rec { pname = "libassuan"; @@ -16,14 +16,14 @@ stdenv.mkDerivation rec { buildInputs = [ npth gettext ]; configureFlags = [ - "--with-libgpg-error-prefix=${libgpgerror.dev}" + "--with-libgpg-error-prefix=${libgpg-error.dev}" ]; doCheck = true; # Make sure includes are fixed for callers who don't use libassuan-config postInstall = '' - sed -i 's,#include ,#include "${libgpgerror.dev}/include/gpg-error.h",g' $dev/include/assuan.h + sed -i 's,#include ,#include "${libgpg-error.dev}/include/gpg-error.h",g' $dev/include/assuan.h ''; meta = with lib; { diff --git a/pkgs/development/libraries/libbdplus/default.nix b/pkgs/development/libraries/libbdplus/default.nix index ca7b305122e3..5b57cd7d458d 100644 --- a/pkgs/development/libraries/libbdplus/default.nix +++ b/pkgs/development/libraries/libbdplus/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libgcrypt, libgpgerror, gettext }: +{ lib, stdenv, fetchurl, libgcrypt, libgpg-error, gettext }: # library that allows libbluray to play BDplus protected bluray disks # libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info. @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { sha256 = "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6"; }; - buildInputs = [ libgcrypt libgpgerror gettext ]; + buildInputs = [ libgcrypt libgpg-error gettext ]; nativeBuildInputs = [ ]; diff --git a/pkgs/development/libraries/libgcrypt/1.5.nix b/pkgs/development/libraries/libgcrypt/1.5.nix index b6968ff2d4e5..897222116e89 100644 --- a/pkgs/development/libraries/libgcrypt/1.5.nix +++ b/pkgs/development/libraries/libgcrypt/1.5.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchpatch, fetchurl, libgpgerror, enableCapabilities ? false, libcap }: +{ lib, stdenv, fetchpatch, fetchurl, libgpg-error, enableCapabilities ? false, libcap }: assert enableCapabilities -> stdenv.isLinux; @@ -19,13 +19,13 @@ stdenv.mkDerivation rec { ]; buildInputs = - [ libgpgerror ] + [ libgpg-error ] ++ lib.optional enableCapabilities libcap; # Make sure libraries are correct for .pc and .la files # Also make sure includes are fixed for callers who don't use libgpgcrypt-config postInstall = '' - sed -i 's,#include ,#include "${libgpgerror.dev}/include/gpg-error.h",g' $out/include/gcrypt.h + sed -i 's,#include ,#include "${libgpg-error.dev}/include/gpg-error.h",g' $out/include/gcrypt.h '' + lib.optionalString enableCapabilities '' sed -i 's,\(-lcap\),-L${libcap.lib}/lib \1,' $out/lib/libgcrypt.la ''; diff --git a/pkgs/development/libraries/libgcrypt/default.nix b/pkgs/development/libraries/libgcrypt/default.nix index 6b0f4aad4449..08e79a16e1ac 100644 --- a/pkgs/development/libraries/libgcrypt/default.nix +++ b/pkgs/development/libraries/libgcrypt/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, gettext, libgpgerror, enableCapabilities ? false, libcap, buildPackages }: +{ lib, stdenv, fetchurl, gettext, libgpg-error, enableCapabilities ? false, libcap, buildPackages }: assert enableCapabilities -> stdenv.isLinux; @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { depsBuildBuild = [ buildPackages.stdenv.cc ]; - buildInputs = [ libgpgerror ] + buildInputs = [ libgpg-error ] ++ lib.optional stdenv.isDarwin gettext ++ lib.optional enableCapabilities libcap; strictDeps = true; - configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ] + configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ] ++ lib.optional (stdenv.hostPlatform.isMusl || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)) "--disable-asm"; # for darwin see https://dev.gnupg.org/T5157 # Necessary to generate correct assembly when compiling for aarch32 on @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { # Make sure libraries are correct for .pc and .la files # Also make sure includes are fixed for callers who don't use libgpgcrypt-config postFixup = '' - sed -i 's,#include ,#include "${libgpgerror.dev}/include/gpg-error.h",g' "$dev/include/gcrypt.h" + sed -i 's,#include ,#include "${libgpg-error.dev}/include/gpg-error.h",g' "$dev/include/gcrypt.h" '' + lib.optionalString enableCapabilities '' sed -i 's,\(-lcap\),-L${libcap.lib}/lib \1,' $out/lib/libgcrypt.la ''; diff --git a/pkgs/development/libraries/libksba/default.nix b/pkgs/development/libraries/libksba/default.nix index c8998446c7da..d8aabb11755d 100644 --- a/pkgs/development/libraries/libksba/default.nix +++ b/pkgs/development/libraries/libksba/default.nix @@ -1,4 +1,4 @@ -{ buildPackages, lib, stdenv, fetchurl, gettext, libgpgerror }: +{ buildPackages, lib, stdenv, fetchurl, gettext, libgpg-error }: stdenv.mkDerivation rec { name = "libksba-1.5.1"; @@ -11,10 +11,10 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "info" ]; buildInputs = [ gettext ]; - propagatedBuildInputs = [ libgpgerror ]; + propagatedBuildInputs = [ libgpg-error ]; depsBuildBuild = [ buildPackages.stdenv.cc ]; - configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]; + configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ]; postInstall = '' mkdir -p $dev/bin diff --git a/pkgs/development/libraries/ntbtls/default.nix b/pkgs/development/libraries/ntbtls/default.nix index b6dcfc782f3a..9cc082aef7f0 100644 --- a/pkgs/development/libraries/ntbtls/default.nix +++ b/pkgs/development/libraries/ntbtls/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, gettext, libgpgerror, libgcrypt, libksba, zlib }: +{ lib, stdenv, fetchurl, gettext, libgpg-error, libgcrypt, libksba, zlib }: with lib; @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { outputs = [ "dev" "out" ]; - buildInputs = [ libgcrypt libgpgerror libksba zlib ] + buildInputs = [ libgcrypt libgpg-error libksba zlib ] ++ lib.optional stdenv.isDarwin gettext; postInstall = '' diff --git a/pkgs/games/steam/runtime-wrapped.nix b/pkgs/games/steam/runtime-wrapped.nix index 765ecbed28f2..3b6cfcd6ee12 100644 --- a/pkgs/games/steam/runtime-wrapped.nix +++ b/pkgs/games/steam/runtime-wrapped.nix @@ -4,7 +4,7 @@ let overridePkgs = lib.optionals (!runtimeOnly) (with pkgs; [ - libgpgerror + libgpg-error libpulseaudio alsa-lib openalSoft diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index e0a4128b0cdc..3af70ff9151c 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -32,7 +32,7 @@ , acl , lz4 , libgcrypt -, libgpgerror +, libgpg-error , libidn2 , curl , gnutar @@ -105,7 +105,7 @@ , docbook_xml_dtd_45 }: -assert withResolved -> (libgcrypt != null && libgpgerror != null); +assert withResolved -> (libgcrypt != null && libgpg-error != null); assert withImportd -> (curl.dev != null && zlib != null && xz != null && libgcrypt != null && gnutar != null && gnupg != null && withCompression); @@ -347,7 +347,7 @@ stdenv.mkDerivation { ++ lib.optional withLibseccomp libseccomp ++ lib.optional withNetworkd iptables ++ lib.optional withPCRE2 pcre2 - ++ lib.optional withResolved libgpgerror + ++ lib.optional withResolved libgpg-error ++ lib.optional withSelinux libselinux ++ lib.optional withRemote libmicrohttpd ++ lib.optionals withHomed [ p11-kit ] diff --git a/pkgs/servers/shishi/default.nix b/pkgs/servers/shishi/default.nix index 91f84f2f587f..6dd5556e40b0 100644 --- a/pkgs/servers/shishi/default.nix +++ b/pkgs/servers/shishi/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config -, libgcrypt, libgpgerror, libtasn1 +, libgcrypt, libgpg-error, libtasn1 # Optional Dependencies , pam ? null, libidn ? null, gnutls ? null @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { patches = [ ./gcrypt-fix.patch ./freebsd-unistd.patch ]; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libgcrypt libgpgerror libtasn1 optPam optLibidn optGnutls ]; + buildInputs = [ libgcrypt libgpg-error libtasn1 optPam optLibidn optGnutls ]; configureFlags = [ (mkOther "sysconfdir" "/etc") @@ -68,7 +68,7 @@ stdenv.mkDerivation rec { -e 's,\(-lgnutls\),-L${optGnutls.out}/lib \1,' \ '' + '' -e 's,\(-lgcrypt\),-L${libgcrypt.out}/lib \1,' \ - -e 's,\(-lgpg-error\),-L${libgpgerror.out}/lib \1,' \ + -e 's,\(-lgpg-error\),-L${libgpg-error.out}/lib \1,' \ -e 's,\(-ltasn1\),-L${libtasn1.out}/lib \1,' ''; diff --git a/pkgs/tools/archivers/fsarchiver/default.nix b/pkgs/tools/archivers/fsarchiver/default.nix index 80664a6a4499..646f93b77cba 100644 --- a/pkgs/tools/archivers/fsarchiver/default.nix +++ b/pkgs/tools/archivers/fsarchiver/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config , zlib, bzip2, lzo, lz4, zstd, xz -, libgcrypt, e2fsprogs, util-linux, libgpgerror }: +, libgcrypt, e2fsprogs, util-linux, libgpg-error }: let version = "0.8.6"; @@ -22,7 +22,7 @@ in stdenv.mkDerivation { buildInputs = [ zlib bzip2 xz lzo lz4 zstd xz - libgcrypt e2fsprogs util-linux libgpgerror + libgcrypt e2fsprogs util-linux libgpg-error ]; meta = with lib; { diff --git a/pkgs/tools/backup/percona-xtrabackup/generic.nix b/pkgs/tools/backup/percona-xtrabackup/generic.nix index 6d66c80585f2..7976b666bcdf 100644 --- a/pkgs/tools/backup/percona-xtrabackup/generic.nix +++ b/pkgs/tools/backup/percona-xtrabackup/generic.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitHub, bison, boost, cmake, makeWrapper, pkg-config -, curl, cyrus_sasl, libaio, libedit, libev, libevent, libgcrypt, libgpgerror, lz4 +, curl, cyrus_sasl, libaio, libedit, libev, libevent, libgcrypt, libgpg-error, lz4 , ncurses, numactl, openssl, protobuf, valgrind, xxd, zlib , perlPackages , version, sha256, extraPatches ? [], extraPostInstall ? "", ... @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ bison boost cmake makeWrapper pkg-config ]; buildInputs = [ - curl cyrus_sasl libaio libedit libev libevent libgcrypt libgpgerror lz4 + curl cyrus_sasl libaio libedit libev libevent libgcrypt libgpg-error lz4 ncurses numactl openssl protobuf valgrind xxd zlib ] ++ (with perlPackages; [ perl DBI DBDmysql ]); diff --git a/pkgs/tools/security/dirmngr/default.nix b/pkgs/tools/security/dirmngr/default.nix index 3e45759c51d2..b7aeed2ace14 100644 --- a/pkgs/tools/security/dirmngr/default.nix +++ b/pkgs/tools/security/dirmngr/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libgpgerror, libgcrypt, libassuan, libksba, pth, openldap +{ lib, stdenv, fetchurl, libgpg-error, libgcrypt, libassuan, libksba, pth, openldap , libiconv}: stdenv.mkDerivation rec { @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { url = "mirror://gnupg/dirmngr/dirmngr-${version}.tar.bz2"; sha256 = "1zz6m87ca55nq5f59hzm6qs48d37h93il881y7d0rf2d6660na6j"; }; - buildInputs = [ libgpgerror libgcrypt libassuan libksba + buildInputs = [ libgpg-error libgcrypt libassuan libksba pth openldap libiconv ]; meta = { diff --git a/pkgs/tools/security/gnupg-pkcs11-scd/default.nix b/pkgs/tools/security/gnupg-pkcs11-scd/default.nix index c8accce7d40b..36a3c07faa80 100644 --- a/pkgs/tools/security/gnupg-pkcs11-scd/default.nix +++ b/pkgs/tools/security/gnupg-pkcs11-scd/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, libgpgerror, libassuan, libgcrypt, pkcs11helper, +{ lib, stdenv, fetchurl, libgpg-error, libassuan, libgcrypt, pkcs11helper, pkg-config, openssl }: stdenv.mkDerivation rec { @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { buildInputs = [ pkcs11helper pkg-config openssl ]; configureFlags = [ - "--with-libgpg-error-prefix=${libgpgerror.dev}" + "--with-libgpg-error-prefix=${libgpg-error.dev}" "--with-libassuan-prefix=${libassuan.dev}" "--with-libgcrypt-prefix=${libgcrypt.dev}" ]; diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix index 1030ce3e7910..25dc64e6184a 100644 --- a/pkgs/tools/security/gnupg/22.nix +++ b/pkgs/tools/security/gnupg/22.nix @@ -1,5 +1,5 @@ { fetchurl, fetchpatch, lib, stdenv, pkg-config, libgcrypt, libassuan, libksba -, libgpgerror, libiconv, npth, gettext, texinfo, buildPackages +, libgpg-error, libiconv, npth, gettext, texinfo, buildPackages # Each of the dependencies below are optional. # Gnupg can be built without them at the cost of reduced functionality. @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { pinentryBinaryPath = pinentry.binaryPath or "bin/pinentry"; configureFlags = [ - "--with-libgpg-error-prefix=${libgpgerror.dev}" + "--with-libgpg-error-prefix=${libgpg-error.dev}" "--with-libgcrypt-prefix=${libgcrypt.dev}" "--with-libassuan-prefix=${libassuan.dev}" "--with-ksba-prefix=${libksba.dev}" diff --git a/pkgs/tools/security/gpg-tui/default.nix b/pkgs/tools/security/gpg-tui/default.nix index fb9bbcab212b..666056774c41 100644 --- a/pkgs/tools/security/gpg-tui/default.nix +++ b/pkgs/tools/security/gpg-tui/default.nix @@ -3,7 +3,7 @@ , rustPlatform , fetchFromGitHub , gpgme -, libgpgerror +, libgpg-error , libxcb , libxkbcommon , python3 @@ -29,13 +29,13 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ gpgme # for gpgme-config - libgpgerror # for gpg-error-config + libgpg-error # for gpg-error-config python3 ]; buildInputs = [ gpgme - libgpgerror + libgpg-error libxcb libxkbcommon ] ++ lib.optionals stdenv.isDarwin [ diff --git a/pkgs/tools/security/pinentry/default.nix b/pkgs/tools/security/pinentry/default.nix index 97426e0be80d..65abea4a112f 100644 --- a/pkgs/tools/security/pinentry/default.nix +++ b/pkgs/tools/security/pinentry/default.nix @@ -1,5 +1,5 @@ { fetchurl, mkDerivation, fetchpatch, stdenv, lib, pkg-config, autoreconfHook, wrapGAppsHook -, libgpgerror, libassuan, qtbase, wrapQtAppsHook +, libgpg-error, libassuan, qtbase, wrapQtAppsHook , ncurses, gtk2, gcr , libcap ? null, libsecret ? null , enabledFlavors ? [ "curses" "tty" "gtk2" "emacs" ] @@ -52,7 +52,7 @@ pinentryMkDerivation rec { nativeBuildInputs = [ pkg-config autoreconfHook ] ++ concatMap(f: flavorInfo.${f}.nativeBuildInputs or []) enabledFlavors; - buildInputs = [ libgpgerror libassuan libcap libsecret ] + buildInputs = [ libgpg-error libassuan libcap libsecret ] ++ concatMap(f: flavorInfo.${f}.buildInputs or []) enabledFlavors; dontWrapGApps = true; diff --git a/pkgs/tools/security/ripasso/cursive.nix b/pkgs/tools/security/ripasso/cursive.nix index 1a4b1de1b1fb..3126dd9fe57f 100644 --- a/pkgs/tools/security/ripasso/cursive.nix +++ b/pkgs/tools/security/ripasso/cursive.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, ncurses, python3, openssl, libgpgerror, gpgme, xorg, AppKit, Security, installShellFiles }: +{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, ncurses, python3, openssl, libgpg-error, gpgme, xorg, AppKit, Security, installShellFiles }: with rustPlatform; buildRustPackage rec { @@ -20,7 +20,7 @@ buildRustPackage rec { nativeBuildInputs = [ pkg-config gpgme python3 installShellFiles ]; buildInputs = [ - ncurses openssl libgpgerror gpgme xorg.libxcb + ncurses openssl libgpg-error gpgme xorg.libxcb ] ++ lib.optionals stdenv.isDarwin [ AppKit Security ]; preCheck = '' diff --git a/pkgs/tools/security/sheesy-cli/default.nix b/pkgs/tools/security/sheesy-cli/default.nix index 3929dbc8ad19..ea71be7c9534 100644 --- a/pkgs/tools/security/sheesy-cli/default.nix +++ b/pkgs/tools/security/sheesy-cli/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, rustPlatform, fetchCrate, installShellFiles -, libgpgerror, gpgme, gettext, openssl, Security +, libgpg-error, gpgme, gettext, openssl, Security }: rustPlatform.buildRustPackage rec { @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "--bin sy" "--features" "vault,extract,completions,substitute,process" ]; - nativeBuildInputs = [ libgpgerror gpgme gettext installShellFiles ]; + nativeBuildInputs = [ libgpg-error gpgme gettext installShellFiles ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; diff --git a/pkgs/tools/system/freeipmi/default.nix b/pkgs/tools/system/freeipmi/default.nix index 77828ae823d4..9d2e66876239 100644 --- a/pkgs/tools/system/freeipmi/default.nix +++ b/pkgs/tools/system/freeipmi/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, lib, stdenv, libgcrypt, readline, libgpgerror }: +{ fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }: stdenv.mkDerivation rec { version = "1.6.8"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0w8af1i57szmxl9vfifwwyal7xh8aixz2l9487wvy6yckqk6m92a"; }; - buildInputs = [ libgcrypt readline libgpgerror ]; + buildInputs = [ libgcrypt readline libgpg-error ]; doCheck = true; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index de1f397d89bd..04b150288a3a 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -422,6 +422,7 @@ mapAliases ({ liberationsansnarrow = liberation-sans-narrow; # added 2018-12-12 libgnome_keyring = libgnome-keyring; # added 2018-02-25 libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25 + libgpgerror = libgpg-error; # added 2021-09-04 libgumbo = gumbo; # added 2018-01-21 libGL_driver = mesa.drivers; # added 2019-05-28 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c542955a6c7..afd97dd5bb91 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17308,10 +17308,10 @@ with pkgs; libgnt = callPackage ../development/libraries/libgnt { }; - libgpgerror = callPackage ../development/libraries/libgpg-error { }; + libgpg-error = callPackage ../development/libraries/libgpg-error { }; # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118 - libgpgerror-gen-posix-lock-obj = libgpgerror.override { + libgpg-error-gen-posix-lock-obj = libgpg-error.override { genPosixLockObjOnly = true; };