[Slackbuilds-users] [RFC] a binary repack SlackBuild template.
Lockywolf
for_slackbuilds-users_mlist_2023-04-21 at lockywolf.net
Thu Mar 13 15:02:26 UTC 2025
Jeremy Hansen <jebrhansen+SBo at gmail.com> writes:
> Looking over my SlackBuilds that package repackd binaries, I feel a template is unlikely you capture the many
> nuances required in a repack.
Well, yes, but the same is true for too many source-based builds.
A template is just a set of guidelines, and on Slackware we often ignore
them. But it is still better to have them.
> Some are able to reside in /usr/ (discord), while others are better contained in
> /opt/ (SweetHome3D, blender).
Personally I would prefer to have as much binary software in /opt/ as
possible. There might be cases when this is hard to attain, as with
browser-plugins, which just insist on residing in /usr/, but even in
those cases it is often enough to add enough symlinks.
I am usually trying to imagine /usr/ being a thing under my control, and
/opt being out of it.
> These scripts seem to require a lot of manual really that
> is likely hard to capture on a single template.
Well, initially I wanted to write a "HOWTO", or a plain-text guideline
file, but then I thought that a script is in no way worse than a plain
text file.
Spycrowsoft writes:
> Should programs which are only available in binary form also be named *-bin?
I personally think so, yes.
After all, sometimes software is opened.
>It actually has 196 dependencies, which might as well be 10 million.
Apologies for being a bit rude, but SBo's Haskell approach makes little
sense. Most (if not all) Haskell packages are providing _static_
libraries, and there is no sense installing them systemwide, it only
confuses the build system.
I actually tried to write a link generator script for Haskell just like
Rust/Go, https://gitlab.com/Lockywolf/lwfslackbuilds/-/blob/master/02_lockywolf-sbo-scripts/lwf_make-cargolinks.bash?ref_type=heads
I tried to raise the issue on Hackage, but perhaps didn't succeed:
https://github.com/haskell/hackage-server/issues/1261
--
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20250313/666306a2/attachment.asc>
More information about the SlackBuilds-users
mailing list