[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacing polkit by polkit-duktape on core-updates-frozen ?
From: |
Maxim Cournoyer |
Subject: |
Re: Replacing polkit by polkit-duktape on core-updates-frozen ? |
Date: |
Mon, 22 Nov 2021 15:26:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Ludovic,
Ludovic Courtès <ludo@gnu.org> writes:
> 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.
Thanks for tipping in!
> 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.
I'd still rather keep the distinct package approach, so that x86* users
may still find about polkit-duktape and use it instead of polkit (via
input rewriting) if they so wish.
Thanks,
Maxim
- 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, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?,
Maxim Cournoyer <=
- 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