From a99647ecffd57db64459bcff1ac6e684064ff414 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Thu, 19 Nov 2026 11:02:39 +0100 Subject: [PATCH] docs(packaging): add the 6.4.1 release entry 6.4.1 gives each .cpp, .c and .cu of a configuration an object named from its path, so that two sources no longer share one for having the same file name (#50), writes a static library's archive anew, so that it does not keep the object of a source that left the project, and has the link and the archive step read their objects from a file, so that their paths no longer make the command too long to run. A patch, by the version rule: the notes have Fixes and nothing New or Breaking. The range changes what Implementation::Check and Schedule take, which interfaces/ exports, and adds ObjectPath beside ExpectedOutput, for the tests that look at an object. Check and Schedule are what Build() itself checks and compiles an implementation unit with, as Compile() was, which 6.3.0 took off the same class as "internal and not user facing" (12e8b90), and no project.cpp of this checkout or of the ones beside it calls either. --- .../flatpak/net.catcrafts.CrafterBuild.metainfo.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml index 33429c4..af1f4fa 100644 --- a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml @@ -26,6 +26,16 @@ + + +

Fixes

+
    +
  • Two sources of a configuration may have the same file name in different directories, a/Thing.cpp beside b/Thing.cpp, and a .c may lie beside a .cu of its name (#50). An object was named from its source's file name alone, so two such sources were compiled into one object, each over the other, and the link was given that object twice: it failed, or, in a debug build of sources that define nothing another file names, gave a program with one file's code twice and the other's not at all. A .cpp, .c or .cu is now compiled into an object named from its path: in the build directory under objects/, at the source's path from cfg.path, or under objects-outside/ at its whole path when it lies outside that directory, and the progress line of its compile names it by that path. An existing build directory compiles those sources once more.
  • +
  • A static library holds the objects of the sources its configuration lists and no others. Its archive was added to where it lay, which kept the object of a source that had left the project: once a source had been renamed, what was built on the library went on linking the object of the file under its old name.
  • +
  • A configuration of many sources links. The path of every object was written into the link or archive command, which the shell that runs it is given as one argument, and Linux holds one argument to 131,072 bytes on x86_64: with objects whose paths came to more, the build ended with popen() failed!. The link and the archive step now read their objects from a file in the build directory.
  • +
+
+

New