One (final?) small fix for package build behavior when building in a chroot via paru. The package was pulling in the real ttf-ms-fonts
as a build dependency by accident, whoops.
Ping me on gitlab if anything breaks.
Git Clone URL: | https://aur.archlinux.org/ttf-defenestration.git (read-only, click to copy) |
---|---|
Package Base: | ttf-defenestration |
Description: | Shim package to satisfy 'ttf-liberation' dependencies via 'ttf-ms-win1*'; see README.md for details |
Upstream URL: | https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD |
Licenses: | BSD |
Conflicts: | ttf-liberation, ttf-ms-fonts, ttf-ms-win8, ttf-vista-fonts, ttf-win7-fonts |
Provides: | ttf-liberation |
Submitter: | arglebargle |
Maintainer: | arglebargle |
Last Packager: | arglebargle |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2021-08-28 12:05 (UTC) |
Last Updated: | 2022-02-19 01:30 (UTC) |
One (final?) small fix for package build behavior when building in a chroot via paru. The package was pulling in the real ttf-ms-fonts
as a build dependency by accident, whoops.
Ping me on gitlab if anything breaks.
Thanks a lot! This works good!
This works excellently! Thank you so much.
source repo here: https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD
For problem reports open an issue on gitlab.
@franzacq: I just pushed a new version compatible with both ttf-ms-win10 and ttf-ms-win11
@bbx0: Version 2 should do all the things you want, let me know if it doesn't.
Cheers!
Is there any update on the windows 11 version? I would love to use this package but I have the W11 fonts installed and I don't want to install the W10 fonts as well.
@bbx0 Thanks for the feedback!
I've made some changes in a working branch here: https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD/-/tree/working, take a look if you would and see if they behave the way you'd like.
I think I've set the conflicts metadata in such a way that only the win10 or win11 packages will be considered for dependency resolution, but I'll need to test that in a chroot when I have more time.
edit: Yeah, this seems to work really well. I could use a couple of guinea pigs to help test before I push it out publicly.
Nice idea! Thanks for making!
Would you consider to depend on ttf-ms-fonts
instead of ttf-ms-win10
? That brings generic support for all packages providing the MS Core fonts including the new ttf-ms-win11
package.
(As the fonts are just a runtime dependency and not required to build this package, it would be nice to move them to the package() section. This will allow building in a clean chroot without downloading any fonts there first.)
I would not provide a specific version ttf-liberation=10.0
since version 10.0 does not exist upstream. It's probably better to fail the installation when another package actually introduces a version requirement for ttf-liberation
, so it can be investigated why.
Below are the changes I would do. Works fine so far.
pkgname=ttf-defenestration
pkgver=1
pkgrel=1
pkgdesc="Shim package to satisfy 'ttf-liberation' dependencies via 'ttf-ms-win*'; see README.md for details"
arch=(any)
url="https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD"
license=('BSD')
depends=()
provides=('ttf-liberation')
conflicts=('ttf-liberation')
package () {
#Package requires MS Core fonts to be installed, ideally provided via 'ttf-ms-win10' or 'ttf-ms-win11'
depends=('ttf-ms-fonts')
}
Pinned Comments
arglebargle commented on 2021-12-04 07:52 (UTC)
source repo here: https://gitlab.com/arglebargle-arch/ttf-defenestration-PKGBUILD
For problem reports open an issue on gitlab.