Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#21428 closed enhancement (fixed)

fontconfig-2.16.2 and update currency

Reported by: zeckma Owned by: Bruce Dubbs
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New point version.

  1. Currency has to be updated as newer releases aren't being made anymore in ​https://www.freedesktop.org/software/fontconfig/release/, and are instead made in ​https://gitlab.freedesktop.org/fontconfig/fontconfig/-/tags.
  2. Because of 1. we need to change the download link to https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/&fontconfig-version;/fontconfig-&fontconfig-version;.tar.gz
  3. New changelogs can be found at ​https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/NEWS.

Change History (12)

comment:1 by Bruce Dubbs, 18 months ago

Currency has been updated.

comment:2 by Xi Ruoyao, 18 months ago

The tarball lacks the configure script. We may run autogen.sh instead but to me it's easier to just use meson...

in reply to:  2 comment:3 by zeckma, 18 months ago

Replying to Xi Ruoyao:

The tarball lacks the configure script. We may run autogen.sh instead but to me it's easier to just use meson...

I agree here. The instructions may be more simple as a result, too, which is a net positive for me.

comment:4 by Xi Ruoyao, 18 months ago

meson now installs the static library w/o a way to disable (incorrectly, IMO): ​https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/373/diffs.

comment:5 by zeckma, 18 months ago

Looks we can also use https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/&fontconfig-version;/fontconfig-&fontconfig-version;.tar.xz (long link name). It packages generated autotools files like configure. But either way, I think using meson might be the better move, then remove the static library after installation. But we can just keep the original instructions and just change the download link if we really wanted to. Again, it's a long link so I'm on the side of just using the gz compressed tarball instead and using meson.

in reply to:  4 comment:6 by Xi Ruoyao, 18 months ago

Replying to Xi Ruoyao:

meson now installs the static library w/o a way to disable (incorrectly, IMO): ​https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/373/diffs.

Sorry, not this one.

​https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/383

We can rm -v /usr/lib/libfontconfig.a anyway.

in reply to:  5 comment:7 by Xi Ruoyao, 18 months ago

Replying to zeckma:

Looks we can also use https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/&fontconfig-version;/fontconfig-&fontconfig-version;.tar.xz (long link name). It packages generated autotools files like configure. But either way, I think using meson might be the better move, then remove the static library after installation. But we can just keep the original instructions and just change the download link if we really wanted to. Again, it's a long link so I'm on the side of just using the gz compressed tarball instead and using meson.

And the magic number "890" seems stupid.

comment:8 by Bruce Dubbs, 18 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: new → assigned

comment:9 by Bruce Dubbs, 18 months ago

Version 2.16.2 - 2025-04-11

  • meson: do not require libintl if nls feature is disabled
  • ci: Add back Android build in a common way
  • ci: drop Language to make sure they are applied as default style
  • ci: Change the default build system to meson
  • ci: Stop on fail anyway
  • ci: default to clean-build
  • ci: detect OS from os-release if no FC_DISTRO_NAME is set
  • ci: add missing dependency of pytest
  • ci: Set more timeout for pytest
  • ci: fix too many open files on test
  • ci: add missing dependency of requests
  • meson: Use Requires.private instead of Requires
  • Upgrade bindgen in Fontations enabled Rust builds
  • [Fontations] Add internal PatternBuilder abstraction
  • meson: don't force build of a shared library
  • meson.build: define a 'c' standard for the project (C99 and C11)

2.16.1

  • meson: create fc_cachedir at the installation time
  • meson: set WORDS_BIGENDIAN
  • ci: get back MinGW build to rawhide
  • meson: make sure config.h contains config-fixups.h for OSX
  • Reformatting with clang-format
  • ci: Add a workflow to check the coding style
  • ci: workaround conflict between systemd and systemd-standalone-sysusers
  • conf.d: Add Adwaita Sans as system-ui
  • ci: disable job tentatively
  • ci: Add a release workflow
  • [Fontations] Allow linkage to internals in tests
  • meson.build: explicitly check for pthread support

comment:10 by Bruce Dubbs, 18 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at commits

d12564f286 Update fontconfig-2.16.2.
eed8f6ec92 Update iso-codes-4.18.0.
c3131bce11 Update LibRaw-0.21.4.
ebf0ffdd38 Update to Business-ISMN-1.205 (Perl module).
1c40a34ea7 Update to Business-ISBN-3.012 (Perl module).

comment:11 by Joe Locash, 18 months ago

I have to disagree about the fix for this. Downloading from a different tree wasn't needed. Upstream is moving to meson/ninja and I think the book should too. To continue to use autotools you could have just replaced configure with autogen.sh. Xi's upstream merge request works fine, as does his suggestion to just remove libfontconfig.a.

comment:12 by Bruce Dubbs, 18 months ago

I wanted to wait for another release to sort out the meson build. There were a lot of "corrections" and we should let it settle out a bit.

Note: See TracTickets for help on using tickets.