Commit graph

54 commits

Author SHA1 Message Date
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
worldofpeace a9e0f1dee1 fwupd: add setuptools for python
It's no longer propagated so we need to add it.

Was failing like:
FAILED: libfwupd/fwupd.map
/build/fwupd-1.2.10/libfwupd/generate-version-script.py LIBFWUPD libfwupd/Fwupd-2.0.gir libfwupd/fwupd.map
Traceback (most recent call last):
File "/build/fwupd-1.2.10/libfwupd/generate-version-script.py", line 11, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'
2019-09-09 16:09:05 -04:00
Jan Tojnar b0a142e0ae
fwupd: 1.2.8 → 1.2.10
https://github.com/fwupd/fwupd/blob/1.2.10/data/org.freedesktop.fwupd.metainfo.xml#L35-L81

* adopt the package
* libflashrom is disabled by default since it is experimental now.
* add installed tests to passthru for easier running
* concretize patchShebags
* no changes in filesInstalledToEtc
2019-08-28 17:14:43 +02:00
Jan Tojnar d3f6526750
fwupd: format with nixpkgs-fmt
Some manual changes were applied on top of that.
2019-08-28 15:05:09 +02:00
worldofpeace 7e453cc58f
Revert "fwupd: 1.2.8 -> 1.2.10" 2019-08-19 20:58:24 -04:00
R. RyanTM e7bc99490d fwupd: 1.2.8 -> 1.2.10
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/fwupd/versions
2019-08-19 01:48:08 -07:00
worldofpeace 441f2525ba fwupd: correct aarch64 support 2019-08-07 15:49:47 -04:00
worldofpeace f45a34ad06 fwupd: wrap programs needed in PATH 2019-08-03 09:40:20 -04:00
Will Dietz 5dc9fec732 fwupd: patch in paths to tools used as runtime deps 2019-07-11 11:10:19 -04:00
Will Dietz f633bf64e9 fwupd: 1.2.3 -> 1.2.8
* use C.UTF-8 instead of en_US
* refresh sysconfdir_install patch
  * extend to vendor-directory.conf
* update sysconfdir_install patch
* update file listing
2019-07-11 11:10:19 -04:00
Jan Tojnar dd06999e32
fwupd: fix installed tests 2019-01-28 00:15:00 +01:00
Will Dietz 7dd30dd64b
fwupd: put plugins in "out", restore "lib" output w/o cycle 2019-01-27 21:26:43 +01:00
Will Dietz 55fa570046
fwupd: blacklist test plugin by default
Don't add the testing "webcam" device,
which is unexpected to see when querying
what devices fwupd believes exist :).

Won't change behavior for anyone defining
the blacklistPlugin option already,
but doesn't seem worth making more complicated.
2019-01-27 21:26:42 +01:00
Will Dietz 461699607e
fwupd: 1.2.2 -> 1.2.3
Drop lib output to avoid cycle.
2019-01-27 21:26:42 +01:00
Will Dietz 1b5de09e7f fwupd: 1.1.2 -> 1.2.1
Add cairo dep and others checked for
in fwupd's meson.build.

Cairo at least is required.
2018-12-12 21:45:02 -05:00
Jan Tojnar a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
R. RyanTM fd7bf0460d fwupd: 1.1.1 -> 1.1.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/fwupd/versions
2018-09-20 13:54:53 -07:00
Jan Tojnar b0d4c25c1c fwupd: do not wrap efi capsule (#45719)
wrapGAppsHook is not able to skip efi capsules so we need to
switch to manual wrapping.

Closes: https://github.com/NixOS/nixpkgs/issues/45715
2018-08-29 11:35:00 +02:00
Jan Tojnar 672191678d
fwupd: 1.1.0 → 1.1.1 2018-08-15 22:33:37 +02:00
André-Patrick Bubel 08547ff642
fwupd: 1.0.5 -> 1.1.0
We override the ESP mount point in the config file /etc/fwupd/uefi.conf
(available since version 1.0.6), as it is set to a path in the nix store
during build time.

Tests are disabled as it needs /etc/os-release, which is not available
when building with sandboxing enabled.
2018-08-07 23:25:22 +02:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Jan Tojnar 30cc156c8c
nixos/fwupd: use manual list of etc files
Closes: #32142
2018-02-22 13:18:23 +01:00
Jan Tojnar 73f2f644bc
fwupd: 1.0.4 → 1.0.5 2018-02-22 13:18:21 +01:00
Jan Tojnar 200a08e649
fwupd: add manpage 2018-02-15 01:11:14 +01:00
Jan Tojnar a5e46588ab
fwupd: add devdoc 2018-02-15 01:11:14 +01:00
Jan Tojnar 201cc158cb
nixos/fwupd: add test 2018-02-15 01:11:13 +01:00
Jan Tojnar be54e4b07e
fwupd: enable tests 2018-02-15 01:11:13 +01:00
Jan Tojnar 2ea6f25ebc
fwupd: use correct libelf 2018-02-15 01:11:12 +01:00
Will Dietz 8340cc5c6a
fwupd: shared_mime_info is needed! 2018-02-15 01:11:12 +01:00
Jan Tojnar fb29a093f1
fwupd: 1.0.1 → 1.0.4 2018-02-15 01:11:11 +01:00
Jan Tojnar f94a17387c
efivar: 30 → 34 2018-02-15 01:11:10 +01:00
Jan Tojnar 227a92f698
fwupd: 0.9.6 → 1.0.1 2017-11-17 18:54:45 +01:00
Shea Levy 9e37df185c
fwupd: Remove manual rpath settings now that meson is fixed.
Thanks @yegortimoshenko!
2017-10-29 14:42:55 -04:00
Shea Levy 35f89413e2 fwupd: bump 2017-09-02 20:00:20 -04:00