[Slackbuilds-users] tome-ah game uses CMake now (mess)
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Fri Jan 2 10:32:39 UTC 2026
>On 2/1/26 12:52, David Chmelik wrote:
>> Apparently CMake enables computer programmers to download dependencies
>> using the Makefile: what a mess! Willysr told me redo tome-ah
>> SlackBuild because of that, so I did (test?):
>> http://ftp.davidchmelik.com/math/slackbuilds/games/tome-ah.tar.xz . It
>> has a new dependency, fmt, which he said I could add to $DOWNLOAD, so
>> I did. Wouldn't it be more normal/standard to make separate
>> dependency though?
>
>Yes it would usually make more sense to have a separate dependency - it
>could become useful for other SlackBuilds.
>
>In this case there is already libraries/fmt at SBo. Is that the one you
>need? Its at version 10.2.1 which may or may not satisfy your
>requirement. It is already a dependency of 16 other SlackBuilds.
I'm afraid it's not enough to use the version available in SBo
i tried adding fmt in REQUIRES but it still download the hard-coded version
listed in the code
https://github.com/tome2/tome2/blob/885799917d42ea9e6eb69fc320fa03922cd8cbb4/CMakeLists.txt#L61
https://github.com/fmtlib/fmt/releases/download/12.0.0/fmt-12.0.0.zip
i suggest to add it to the DOWNLOAD list and copy the needed files into the
proper location in order to avoid downloading during build
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260102/f8606cdf/attachment.asc>
More information about the SlackBuilds-users
mailing list