Merge branch 'staging-next-21.05' into release-21.05
https://hydra.nixos.org/eval/1697302
This commit is contained in:
commit
7cacb795a9
@ -23,7 +23,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
|
sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# objstack: assert that the alloc size will fit within a chunk
|
||||||
|
name = "CVE-2019-25051.patch";
|
||||||
|
url = "https://github.com/gnuaspell/aspell/commit/0718b375425aad8e54e1150313b862e4c6fd324a.patch";
|
||||||
|
sha256 = "03z259xrk41x3j190gaprf3mqysyfgh3a04rjmch3h625vj95x39";
|
||||||
|
})
|
||||||
|
] ++ lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patch interfaces/cc/aspell.h < ${./clang.patch}
|
patch interfaces/cc/aspell.h < ${./clang.patch}
|
||||||
|
@ -21,14 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch { # gpg: Send --with-keygrip when listing keys
|
# https://dev.gnupg.org/rMc4cf527ea227edb468a84bf9b8ce996807bd6992
|
||||||
name = "c4cf527ea227edb468a84bf9b8ce996807bd6992.patch";
|
./fix_gpg_list_keys.diff
|
||||||
urls = [
|
|
||||||
"https://files.gnupg.net/file/data/2ufcg7ny5jdnv7hmewb4/PHID-FILE-7iwvryn2btti6txr3bsz/file"
|
|
||||||
"http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=patch;h=c4cf527ea227edb468a84bf9b8ce996807bd6992"
|
|
||||||
];
|
|
||||||
sha256 = "0y0b0lb2nq5p9kx13b59b2jaz157mvflliw1qdvg1v1hynvgb8m4";
|
|
||||||
})
|
|
||||||
# https://lists.gnupg.org/pipermail/gnupg-devel/2020-April/034591.html
|
# https://lists.gnupg.org/pipermail/gnupg-devel/2020-April/034591.html
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "0001-Fix-python-tests-on-non-Linux.patch";
|
name = "0001-Fix-python-tests-on-non-Linux.patch";
|
||||||
|
12
pkgs/development/libraries/gpgme/fix_gpg_list_keys.diff
Normal file
12
pkgs/development/libraries/gpgme/fix_gpg_list_keys.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
|
||||||
|
index b51ea173..4e74665e 100644
|
||||||
|
--- a/src/engine-gpg.c
|
||||||
|
+++ b/src/engine-gpg.c
|
||||||
|
@@ -3005,6 +3005,7 @@ gpg_keylist_build_options (engine_gpg_t gpg, int secret_only,
|
||||||
|
gpg_error_t err;
|
||||||
|
|
||||||
|
err = add_arg (gpg, "--with-colons");
|
||||||
|
+ err = add_arg (gpg, "--with-keygrip");
|
||||||
|
|
||||||
|
/* Since gpg 2.1.15 fingerprints are always printed, thus there is
|
||||||
|
* no more need to explicitly request them. */
|
@ -77,12 +77,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./patches/3.0-immodules.cache.patch
|
./patches/3.0-immodules.cache.patch
|
||||||
|
./patches/3.0-Xft-setting-fallback-compute-DPI-properly.patch
|
||||||
(fetchpatch {
|
|
||||||
name = "Xft-setting-fallback-compute-DPI-properly.patch";
|
|
||||||
url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123";
|
|
||||||
sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
|
|
||||||
})
|
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
# X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
|
# X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
|
||||||
# let’s drop that dependency in similar way to how other parts of the library do it
|
# let’s drop that dependency in similar way to how other parts of the library do it
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
From 269f2d80ea41cde17612600841fbdc32e99010f5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
|
||||||
|
Date: Tue, 24 Jan 2017 12:30:08 +0100
|
||||||
|
Subject: [PATCH] Xft setting fallback: compute DPI properly
|
||||||
|
|
||||||
|
This is a partial revert of bdf0820c501437a2150d8ff0d5340246e713f73f. If
|
||||||
|
the Xft DPI settings are not explicitly set, use the values provided by
|
||||||
|
the X server rather than hard-coding the fallback value of 96.
|
||||||
|
|
||||||
|
While an auto-configured Xorg already reports 96, this value can be
|
||||||
|
overriden by the user, and we should respect the user choice in this
|
||||||
|
case. There is no need to require them to set the same value in
|
||||||
|
different places (the Xorg DPI settings and Xft.dpi).
|
||||||
|
---
|
||||||
|
gdk/x11/gdkxftdefaults.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/gdk/x11/gdkxftdefaults.c b/gdk/x11/gdkxftdefaults.c
|
||||||
|
index fa1cfde2ec..c462b78c4b 100644
|
||||||
|
--- a/gdk/x11/gdkxftdefaults.c
|
||||||
|
+++ b/gdk/x11/gdkxftdefaults.c
|
||||||
|
@@ -174,7 +174,8 @@ init_xft_settings (GdkScreen *screen)
|
||||||
|
x11_screen->xft_rgba = FC_RGBA_UNKNOWN;
|
||||||
|
|
||||||
|
if (!get_double_default (xdisplay, "dpi", &dpi_double))
|
||||||
|
- dpi_double = 96.0;
|
||||||
|
+ dpi_double = (DisplayHeight(xdisplay, x11_screen->screen_num)*25.4)/
|
||||||
|
+ DisplayHeightMM(xdisplay, x11_screen->screen_num);
|
||||||
|
|
||||||
|
x11_screen->xft_dpi = (int)(0.5 + PANGO_SCALE * dpi_double);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.11.0.616.gd72966cf44.dirty
|
||||||
|
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libsndfile";
|
pname = "libsndfile";
|
||||||
version = "1.0.30";
|
version = "1.0.31";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "1rh79y4s4m2wcm2kahmzs2kijpdpayif2gyca6m71f3k7jbhgcwa";
|
sha256 = "1alba3iv8i7i2jb5fd6q5s7j9bcj48sf28nfjd3qigz2n2is5jl2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook autogen pkg-config python3 ];
|
nativeBuildInputs = [ autoreconfHook autogen pkg-config python3 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user