Merge pull request #259376 from R-VdP/fwupd_1_9_6

fwupd: 1.9.5 -> 1.9.6

authored by maxine and committed by GitHub 35c640b1 2b87093f

+39 -47
+19 -29
pkgs/os-specific/linux/firmware/fwupd/add-option-for-installation-sysconfdir.patch
··· 1 1 diff --git a/data/bios-settings.d/meson.build b/data/bios-settings.d/meson.build 2 - index b0ff5b10..13ac380d 100644 2 + index b0ff5b106..13ac380d0 100644 3 3 --- a/data/bios-settings.d/meson.build 4 4 +++ b/data/bios-settings.d/meson.build 5 5 @@ -1,5 +1,5 @@ ··· 10 10 ) 11 11 endif 12 12 diff --git a/data/meson.build b/data/meson.build 13 - index 8999ee57..b57174dc 100644 13 + index e13da4adf..6858c240f 100644 14 14 --- a/data/meson.build 15 15 +++ b/data/meson.build 16 16 @@ -26,7 +26,7 @@ endif ··· 23 23 ) 24 24 plugin_quirks += files([ 25 25 diff --git a/data/pki/meson.build b/data/pki/meson.build 26 - index 3649fece..c3462744 100644 26 + index 3649fecea..c3462744b 100644 27 27 --- a/data/pki/meson.build 28 28 +++ b/data/pki/meson.build 29 29 @@ -12,13 +12,13 @@ install_data([ ··· 57 57 ) 58 58 endif 59 59 diff --git a/data/remotes.d/meson.build b/data/remotes.d/meson.build 60 - index c20a1a05..5354bac7 100644 60 + index c20a1a05e..5354bac7f 100644 61 61 --- a/data/remotes.d/meson.build 62 62 +++ b/data/remotes.d/meson.build 63 63 @@ -15,14 +15,14 @@ if build_standalone and get_option('lvfs') != 'false' ··· 93 93 + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), 94 94 ) 95 95 diff --git a/meson.build b/meson.build 96 - index fa7a5599..5b53a407 100644 96 + index ca6ccdf92..0a3097d90 100644 97 97 --- a/meson.build 98 98 +++ b/meson.build 99 - @@ -191,6 +191,12 @@ endif 99 + @@ -195,6 +195,12 @@ endif 100 100 mandir = join_paths(prefix, get_option('mandir')) 101 101 localedir = join_paths(prefix, get_option('localedir')) 102 102 ··· 107 107 +endif 108 108 + 109 109 diffcmd = find_program('diff') 110 - gio = dependency('gio-2.0', version: '>= 2.45.8') 111 - giounix = dependency('gio-unix-2.0', version: '>= 2.45.8', required: false) 110 + gio = dependency('gio-2.0', version: '>= 2.68.0') 111 + giounix = dependency('gio-unix-2.0', version: '>= 2.68.0', required: false) 112 112 113 113 diff --git a/meson_options.txt b/meson_options.txt 114 - index 81d373f8..d214cf64 100644 114 + index 877891126..986d0ee31 100644 115 115 --- a/meson_options.txt 116 116 +++ b/meson_options.txt 117 - @@ -1,3 +1,4 @@ 118 - +option('sysconfdir_install', type: 'string', value: '', description: 'sysconfdir to use during installation') 119 - option('build', type : 'combo', choices : ['all', 'standalone', 'library'], value : 'all', description : 'build type') 120 - option('consolekit', type : 'feature', description : 'ConsoleKit support', deprecated: {'true': 'enabled', 'false': 'disabled'}) 121 - option('static_analysis', type : 'boolean', value : false, description : 'enable GCC static analysis support') 122 - diff --git a/plugins/dell-esrt/meson.build b/plugins/dell-esrt/meson.build 123 - index 88c039f8..62a7691f 100644 124 - --- a/plugins/dell-esrt/meson.build 125 - +++ b/plugins/dell-esrt/meson.build 126 - @@ -27,6 +27,6 @@ configure_file( 127 - output: 'dell-esrt.conf', 128 - configuration: con2, 129 - install: true, 130 - - install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'), 131 - + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), 132 - ) 133 - endif 117 + @@ -1,3 +1,8 @@ 118 + +option('sysconfdir_install', 119 + + type: 'string', 120 + + value: '', 121 + + description: 'sysconfdir to use during installation' 122 + +) 123 + option('build', 124 + type: 'combo', 125 + choices: [ 134 126 diff --git a/plugins/uefi-capsule/meson.build b/plugins/uefi-capsule/meson.build 135 - index f4657a6a..28ca0653 100644 127 + index eb196c21e..c9a29f680 100644 136 128 --- a/plugins/uefi-capsule/meson.build 137 129 +++ b/plugins/uefi-capsule/meson.build 138 130 @@ -20,7 +20,7 @@ if host_machine.system() == 'linux' ··· 144 136 ) 145 137 elif host_machine.system() == 'freebsd' 146 138 backend_srcs += 'fu-uefi-backend-freebsd.c' 147 - -- 148 - 2.40.1
+3 -4
pkgs/os-specific/linux/firmware/fwupd/default.nix
··· 124 124 in 125 125 stdenv.mkDerivation (finalAttrs: { 126 126 pname = "fwupd"; 127 - version = "1.9.5"; 127 + version = "1.9.6"; 128 128 129 129 # libfwupd goes to lib 130 130 # daemon, plug-ins and libfwupdplugin go to out ··· 135 135 owner = "fwupd"; 136 136 repo = "fwupd"; 137 137 rev = finalAttrs.version; 138 - hash = "sha256-dqbFgVgG2RQM5ZHIEIIJOmrjtwlaRXEyY+2OdDs4PGo="; 138 + hash = "sha256-9mA6gETnOmmkI+cdF0kP1moPV6DDvASq1JXarupM/tU="; 139 139 }; 140 140 141 141 patches = [ ··· 213 213 "-Dplugin_dummy=true" 214 214 # We are building the official releases. 215 215 "-Dsupported_build=enabled" 216 + "-Dlaunchd=disabled" 216 217 "-Dudevdir=lib/udev" 217 218 "-Dsystemd_root_prefix=${placeholder "out"}" 218 219 "-Dinstalled_test_prefix=${placeholder "installedTests"}" ··· 350 351 "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service" 351 352 "pki/fwupd-metadata/LVFS-CA.pem" 352 353 "grub.d/35_fwupd" 353 - ] ++ lib.optionals haveDell [ 354 - "fwupd/remotes.d/dell-esrt.conf" 355 354 ]; 356 355 357 356 # DisabledPlugins key in fwupd/daemon.conf
+17 -14
pkgs/os-specific/linux/firmware/fwupd/installed-tests-path.patch
··· 1 1 diff --git a/data/installed-tests/meson.build b/data/installed-tests/meson.build 2 - index be3d5c6d9..14d45dcaf 100644 2 + index dfce86b1c..5e34c4fa6 100644 3 3 --- a/data/installed-tests/meson.build 4 4 +++ b/data/installed-tests/meson.build 5 - @@ -83,5 +83,5 @@ configure_file( 5 + @@ -86,5 +86,5 @@ configure_file( 6 6 output: 'fwupd-tests.conf', 7 7 configuration: con2, 8 8 install: true, ··· 10 10 + install_dir: join_paths(get_option('installed_test_prefix'), 'etc', 'fwupd', 'remotes.d'), 11 11 ) 12 12 diff --git a/meson.build b/meson.build 13 - index 30011f548..7ac8c937a 100644 13 + index ca6ccdf92..36b1b47b0 100644 14 14 --- a/meson.build 15 15 +++ b/meson.build 16 - @@ -186,8 +186,8 @@ else 16 + @@ -188,8 +188,8 @@ else 17 17 datadir = join_paths(prefix, get_option('datadir')) 18 18 sysconfdir = join_paths(prefix, get_option('sysconfdir')) 19 19 localstatedir = join_paths(prefix, get_option('localstatedir')) ··· 24 24 daemon_dir = join_paths(libexecdir, 'fwupd') 25 25 endif 26 26 mandir = join_paths(prefix, get_option('mandir')) 27 - @@ -498,6 +498,7 @@ gnome = import('gnome') 27 + @@ -497,6 +497,7 @@ gnome = import('gnome') 28 28 i18n = import('i18n') 29 29 30 30 conf.set_quoted('FWUPD_PREFIX', prefix) ··· 33 33 conf.set_quoted('FWUPD_LIBDIR', libdir) 34 34 conf.set_quoted('FWUPD_LIBEXECDIR', libexecdir) 35 35 diff --git a/meson_options.txt b/meson_options.txt 36 - index 6fc7e8437..29832fd08 100644 36 + index 877891126..bfc5d1afd 100644 37 37 --- a/meson_options.txt 38 38 +++ b/meson_options.txt 39 - @@ -57,6 +57,7 @@ option('systemd', type : 'feature', description : 'systemd support', deprecated: 40 - option('systemd_unit_user', type : 'string', description : 'User account to use for fwupd-refresh.service (empty for DynamicUser)') 41 - option('systemd_root_prefix', type: 'string', value: '', description: 'Directory to base systemd’s installation directories on') 42 - option('elogind', type : 'feature', description : 'elogind support', deprecated: {'true': 'enabled', 'false': 'disabled'}) 43 - +option('installed_test_prefix', type: 'string', description: 'Prefix for installed tests') 44 - option('tests', type : 'boolean', value : true, description : 'enable tests') 45 - option('soup_session_compat', type : 'boolean', value : true, description : 'enable SoupSession runtime compatibility support') 46 - option('curl', type : 'feature', description : 'libcurl support', deprecated: {'true': 'enabled', 'false': 'disabled'}) 39 + @@ -452,6 +452,10 @@ option('elogind', 40 + 'false': 'disabled', 41 + }, 42 + ) 43 + +option('installed_test_prefix', 44 + + type: 'string', 45 + + description: 'Prefix for installed tests' 46 + +) 47 + option('tests', 48 + type: 'boolean', 49 + value: true,