[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacing polkit by polkit-duktape on core-updates-frozen ?
From: |
Ludovic Courtès |
Subject: |
Re: Replacing polkit by polkit-duktape on core-updates-frozen ? |
Date: |
Mon, 22 Nov 2021 14:30:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Maxim,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> +;;; Define a top level polkit variable that can be built on any of the
> +;;; supported platforms. This is to work around the fact that our
> +;;; mrustc-bootstrapped rust toolchain currently only supports the x86_64
> +;;; architecture...
> +(define-public polkit
> + (if (string-prefix? "x86_64"
> + (or (%current-system) (%current-target-system)))
> + polkit*
> + polkit-duktape))
This would instead have to be a macro, similar to the ‘pkg-config’
macro, so that (%current-system) is checked at the right time rather
than when loading this module.
However, since the only different between polkit and polkit-duktape
(IIUC) is that an extra patch is applied for the latter, I would instead
suggest adding a conditional build phase that applies the patch on
non-x86_64 systems.
How does that sound?
Ludo’.
- Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/11
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Thiago Jung Bauermann, 2021/11/11
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Ludovic Courtès, 2021/11/17
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/21
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?,
Ludovic Courtès <=
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Ludovic Courtès, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Thiago Jung Bauermann, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Josselin Poiret, 2021/11/24
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/24