You are not logged in.

#1 2023-07-15 02:16:15

bradrn
Member
Registered: 2022-05-07
Posts: 18

Upgrading to fmt 10

Version 10.0.0 of fmt provides support for several new formatting styles, which I would like to use in waybar. Unfortunately, it appears that Arch only provides fmt-9.1.0. I attempted to manually create an fmt-10.0.0 package, only to discover that spdlog (a dependency of waybar) specifically depends on ‘libfmt.o=9-64’. What should I do in this situation?

Offline

#2 2023-07-15 02:22:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: Upgrading to fmt 10

You would need to build the package in a clean chroot, add it to a repo, rebuild everything else on your system that uses it in a clean chroot using that repo, the update the system from there.

Offline

#3 2023-07-15 02:24:13

bradrn
Member
Registered: 2022-05-07
Posts: 18

Re: Upgrading to fmt 10

Scimmia wrote:

add it to a repo

What do you mean by this?

Offline

#4 2023-07-15 02:28:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: Upgrading to fmt 10

https://wiki.archlinux.org/title/Pacman … repository

You could do it without a repo by using the -I option for each package file to install them into the chroot as well.
https://wiki.archlinux.org/title/Develo … d_packages

Offline

#5 2023-07-15 02:29:06

bradrn
Member
Registered: 2022-05-07
Posts: 18

Re: Upgrading to fmt 10

Thanks!

Offline

Board footer

Powered by FluxBB