Commit Graph

87 Commits

Author SHA1 Message Date
R-VdP
e58bdb61c4 fwupd: Reformat file with nixpkgs-fmt 2023-03-02 12:26:36 +01:00
R-VdP
a40e8972a4 fwupd: Use finalAttrs 2023-03-02 12:23:43 +01:00
R-VdP
d0a7702b8f
fwupd: thunderbolt plugin only enabled upstream for x86. 2023-01-27 17:42:20 +01:00
R-VdP
801d887751
fwupd: 1.8.9 -> 1.8.10 2023-01-27 15:46:06 +01:00
Sandro Jäckel
815282d1c0
fwupd: 1.8.4 -> 1.8.9 2023-01-22 18:34:59 +01:00
Jan Tojnar
c6f4784cc8 fwupd: 1.8.3 → 1.8.4
https://github.com/fwupd/fwupd/releases/tag/1.8.4
https://blogs.gnome.org/hughsie/2022/08/30/new-fwupd-1-8-4-release/
2022-08-31 04:41:15 +02:00
Jan Tojnar
2f69e982ac fwupd: drop unnecessary GTK dependency 2022-08-09 18:55:35 +02:00
Jan Tojnar
9249634151 fwupd: 1.8.1 → 1.8.3
https://github.com/fwupd/fwupd/releases/tag/1.8.2
https://github.com/fwupd/fwupd/releases/tag/1.8.3

https://blogs.gnome.org/hughsie/2022/07/29/emulated-host-profiles-in-fwupd/
2022-07-29 16:14:04 +02:00
Maxine Aubrey
a58c728d5f
fwupd: 1.8.0 -> 1.8.1
- https://github.com/fwupd/fwupd/releases/tag/1.8.1
2022-06-10 23:56:54 +02:00
Jan Tojnar
74c8b62411 fwupd: 1.7.7 → 1.8.0
https://github.com/fwupd/fwupd/releases/tag/1.8.0
https://blogs.gnome.org/hughsie/2022/04/28/fwupd-1-8-0-and-50-million-updates/

- Switch to feature type for meson configure flags.
- flashrom program has not actually been used for a while now, it was replaced by libflashrom:
  13fd21d806
2022-04-29 19:04:02 +02:00
Maxine Aubrey
7cee7f985e
fwupd: 1.7.6 -> 1.7.7
- https://github.com/fwupd/fwupd/releases/tag/1.7.7
2022-04-25 20:54:50 +02:00
Jan Tojnar
3d59b0a50d fwupd: use upstream install detection patch
5bc5462213
attempts to fix the need to patch the redfish test ourselves.
But it is actually not sufficient since we install the installed tests
into a separate prefix, so we need to adjust the installed tests patch.
2022-03-08 17:39:30 +01:00
Tom Fitzhenry
b3c966ce07 fwupd: enable modemmanager plugin 2022-03-08 13:29:25 +01:00
Tom Fitzhenry
413a50ede6 fwupd: 1.7.2 -> 1.7.6
https://github.com/fwupd/fwupd/releases/tag/1.7.3
https://github.com/fwupd/fwupd/releases/tag/1.7.4
https://github.com/fwupd/fwupd/releases/tag/1.7.5
https://github.com/fwupd/fwupd/releases/tag/1.7.6
2022-03-08 13:29:25 +01:00
Bobby Rong
edf5e394d3
fwupd: fix aarch64 build
The following changes are introduced in 1.5.6 and the plugin_synaptics option no longer exist:

a75ef53eaf

With meson 0.60 the build will fail.
2022-01-22 22:26:57 +08:00
Jan Tojnar
f0faf7cf3f
fwupd: 1.7.1 → 1.7.2 (#147032) 2021-12-03 20:59:15 +02:00
Ryan Burns
2175b157ac treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
Maxine Aubrey
0b546fc53f fwupd: 1.5.12 -> 1.7.1
- https://github.com/fwupd/fwupd/releases/tag/1.6.0
- https://github.com/fwupd/fwupd/releases/tag/1.6.1
- https://github.com/fwupd/fwupd/releases/tag/1.6.2
- https://github.com/fwupd/fwupd/releases/tag/1.6.3
- https://github.com/fwupd/fwupd/releases/tag/1.6.4
- https://github.com/fwupd/fwupd/releases/tag/1.7.0
- https://github.com/fwupd/fwupd/releases/tag/1.7.1

Installed tests python not needed since the utility was moved to C code:
9d37e447a1

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2021-11-05 12:01:46 +01:00
Maxine Aubrey
2f3e3c788e
fwupd: 1.5.7 -> 1.5.12
- https://github.com/fwupd/fwupd/releases/tag/1.5.8
- https://github.com/fwupd/fwupd/releases/tag/1.5.9
- https://github.com/fwupd/fwupd/releases/tag/1.5.10
- https://github.com/fwupd/fwupd/releases/tag/1.5.11
- https://github.com/fwupd/fwupd/releases/tag/1.5.12
2021-08-11 16:53:47 +02:00
Jan Tojnar
ae44266b6e
fwupd: 1.5.5 → 1.5.7
Announcement:
- https://blogs.gnome.org/hughsie/2021/02/16/fwupd-1-5-6/

Changelogs:
- https://github.com/fwupd/fwupd/releases/tag/1.5.6
- https://github.com/fwupd/fwupd/releases/tag/1.5.7

Main changes:
- Adds UEFI  SBAT support:
  https://github.com/fwupd/fwupd/blob/1.5.7/plugins/uefi-capsule/README.md#uefi-sbat-support
  39b96c01bf/SBAT.md
2021-03-15 16:49:08 +01:00
Arthur Gautier
7b16337335 fwupd: comment about 1.5.6 release
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-02-18 19:07:29 +00:00
Arthur Gautier
f30e159674 fwupd: fix aarch64 build
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-02-16 03:43:46 +00:00
Jan Tojnar
8646063dd2
fwupd: 1.5.3 → 1.5.5
- https://github.com/fwupd/fwupd/releases/tag/1.5.4
- https://github.com/fwupd/fwupd/releases/tag/1.5.5
2021-02-01 21:27:05 +01:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar
113a866cac
fwupd: 1.5.2 → 1.5.3
https://blogs.gnome.org/hughsie/2020/12/08/fwupd-1-5-3/
2020-12-09 02:40:36 +01:00
Jan Tojnar
e0296b2d12
fwupd: 1.5.1 → 1.5.2
https://blogs.gnome.org/hughsie/2020/11/23/fwupd-1-5-2/
2020-12-09 02:40:36 +01:00
Jan Tojnar
23b939cfc3
fwupd: Fix build
Few new files are trying to be installed to /etc.

Fixes: https://github.com/NixOS/nixpkgs/issues/103365
2020-11-11 01:07:27 +01:00
Jan Tojnar
3a5ba30c13 fwupd: 1.4.6 → 1.5.1
* https://github.com/fwupd/fwupd/releases/tag/1.5.0
* https://github.com/fwupd/fwupd/releases/tag/1.5.1

* The changelog mentions removed dependency on efivar but we still need the package because it also contains efiboot required dependency. https://github.com/fwupd/fwupd/pull/2485
* Blacklist options were renamed.
* Test firmware was moved to a separate repo. We need to install it or some tests will be skipped. https://github.com/fwupd/fwupd/pull/2330
* Initially, there was an option to configure dbx but in the end, it was removed in favour of bespoke dbxtool. https://github.com/fwupd/fwupd/pull/2061, https://github.com/fwupd/fwupd/pull/2318, https://github.com/fwupd/fwupd/pull/2329
* Fwupd now checks hashes of plug-ins and will complain loudly that it is tainted when “invalid” plug-in is loaded (during testing).
* Installed tests complain about not being able to access cdn, even though we are not setting CI_NETWORK env var. We need a patch to fix that.
2020-11-09 22:50:17 +01:00
Jan Tojnar
31081be0d9
fwupd: 1.4.5 → 1.4.6
https://github.com/fwupd/fwupd/releases/tag/1.4.6

Also drop some unneeded dependencies.
2020-09-12 13:28:52 +02:00
Jan Tojnar
f9fbbd519e
fwupd: clean up
* reorder attributes to match standard
* do not use package aliases
* add some comments
* fix license (https://github.com/fwupd/fwupd/issues/526)
2020-09-12 13:28:52 +02:00
Anders Kaseorg
51632d5310 fwupd: Add upstream patch to fix build with systemd 246
Fixes #96663.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-08-30 13:53:26 -07:00
R. RyanTM
35735ac930 fwupd: 1.4.4 -> 1.4.5 2020-08-03 19:34:54 +02:00
Jan Tojnar
0f0bcec11c
fwupd: Add passthru consistency test
We need to keep the passthru.filesInstalledToEtc and passthru.defaultBlacklistedPlugins in sync with the package contents so let's add a test to enforce that.
2020-06-16 11:20:55 +02:00
R. RyanTM
bfa1712590 fwupd: 1.4.2 -> 1.4.4 2020-06-15 22:16:05 +00:00
Ricardo M. Correia
ec4d914143 fwupd: fix configuration on aarch64
The fwupd service was failing on aarch64 with:

fwupd: Failed to load engine: Failed to load remotes: failed to load /etc/fwupd/remotes.d/dell-esrt.conf: No such file or directory

The /etc/fwupd/remotes.d/dell-esrt.conf symlink existed but it pointed to a non-existent file.
2020-06-02 14:23:20 +02:00
R. RyanTM
9dcffdecb6 fwupd: 1.4.1 -> 1.4.2 2020-05-21 11:13:59 +00:00
Jan Tojnar
88d15ee4ef
fwupd: 1.4.0 → 1.4.1
ad113b931f
2020-05-06 00:30:11 +02:00
Jan Tojnar
06e5800a73
fwupd: 1.3.9 → 1.4.0
https://github.com/fwupd/fwupd/releases/tag/1.4.0
2020-04-18 19:51:08 +02:00
Jan Tojnar
d6d660d996
fwupd: 1.3.8 → 1.3.9
https://github.com/fwupd/fwupd/blob/1.3.9/data/org.freedesktop.fwupd.metainfo.xml#L38-L63
2020-03-07 18:57:31 +01:00
Jan Tojnar
a6f12202d0
fwupd: 1.3.7 → 1.3.8
https://github.com/fwupd/fwupd/compare/1.3.7...1.3.8
2020-02-24 03:03:33 +01:00
Jan Tojnar
e5f7dacc93
nixos/fwupd: disable test plugins implicitly
invalid test was introduced in 297d1598ef
and it is disabled in the shipped daemon.conf.

I forgot to reflect that in the module, which caused the daemon to print the following on start-up:

    FuEngine             invalid has incorrect built version invalid

and the command to warn:

    WARNING: The daemon has loaded 3rd party code and is no longer supported by the upstream developers!

To reduce the change of this happening in the future, I moved the list of default disabled plug-ins to the package expression.

I also set the value of the NixOS module option in the config section of the module instead of the default value used previously,
which will allow users to not care about these plug-ins.
2020-02-06 22:32:13 +01:00
Jan Tojnar
c942013dbc
fwupd: split daemon again
In 1.3.5, fwupdprivate library was made into a shared fwupdplugin library.
This library is considered semi-private and is used by fwupd daemon and
fwupd plug-ins and now possibly third party plug-ins.

The fwupdplugin library refers to the plug-in directory in fwupd.out
causing a dependency cycle. For that reason we need to move it to out.
2020-02-06 22:32:13 +01:00
Jan Tojnar
0ecc836777
fwupd: 1.3.3 → 1.3.7
Changelogs:
* 342a38b432
* 713d20f79f
* 1ac566bc09
* ca3cdaef43

Notably:
* libfwupdplugin was factored out of the binary, introducing irreconcilable dependency cycle between `out` and `lib` outputs.
2020-02-06 05:46:48 +01:00
Robin Gloster
548aff5a49
meson: fix for structured attrs 2019-12-30 04:50:37 +01:00
Jan Tojnar
5b8998fdc4
fwupd: 1.2.10 → 1.3.3
https://github.com/fwupd/fwupd/blob/1.3.3/data/org.freedesktop.fwupd.metainfo.xml#L35-L125

systemd.tmpfiles should not be necessary, as the systemd service switched to StateDirectory.
2019-11-18 19:55:39 +01:00
worldofpeace
25454dbad8 fwupd: correct test attr 2019-11-07 08:11:25 -05:00
Jörg Thalheim
283ef6bc6d
Revert "fwupd: Move D-Bus conf file to share/dbus-1/system.d"
This reverts commit ad6aada7e2.

The patch does not apply to our version.
This commit was part of https://github.com/NixOS/nixpkgs/pull/68875

cc @worldofpeace
2019-10-14 11:01:45 +01:00
worldofpeace
ad6aada7e2 fwupd: Move D-Bus conf file to share/dbus-1/system.d
Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-09-16 13:59:09 -04:00
Jan Tojnar
9b6789de73
tree-wide: replace wrapProgram with wrapGApp
where appropriate
2019-09-10 17:54:57 +02:00