contour icon indicating copy to clipboard operation
contour copied to clipboard

Tentatives for COPR packaging for Fedora

Open gagbo opened this issue 2 years ago • 1 comments

Hello,

I'll just try to summarize here my efforts to package contour properly in a COPR repo so it is easily installable. Here be dragons!

Status

Currently, nothing works, but you can check progress in 2 places:

  • My WIP copr repo. I will definitely force push it a few times while trying to figure out the errors (my desktop machine is running Arch for gaming purposes, so sometimes I need to test a few builds on COPR infra until I can figure out a proper solution)
  • The COPR itself where, of course, all builds are failing.

Remarks/help required

Here are a few remarks and questions I got from that first (unsuccesful) hacking session.

Proper install targets for libunicode and termbench-pro

As I'd like to have proper packaging for everything including dependencies, it would be nice if libtermbench had a proper install target for the library and the binary, as it seems the builders can't find them in common location (logs).

I still couldn't test it properly for libunicode, but it seems that it's also a minimal project that might have issues with proper installation to make a package out of it.

Fedora actually has the GSL you mean

I thought Fedora missed GSL-3 since I thought it meant GNU Scientific Library. Actually GSL here means Guildelines Support Library, and it turns out the confusion was lifted by making a separate guidelines-support-library package, with a -devel version as well (thanks a lot @xvitaly for catching this). Currently version 4 is packaged though. Is version 4 really incompatible with version 3 ? If so I can try to extract this package definition to make a version 3 one, shouldn't be too hard.

install-deps.sh forcefully modifying for embeds

As I will be able to properly install libunicode and termbench in the chroot builders, would it be possible to add some logic in the ThirdParties Cmake module so that it doesn't always try to call the non-existing ContourThirdParties_Embed_libunicode since I plan on not running install-deps.sh at all ? Another solution would be for me to sed those lines out, but I'm not sure what I should replace them with if the libraries are installed on the system.

Is contour statically linked ?

I don't understand how there's a single rpm in the release downloads if we require libunicode and other network dependencies like fmt-lib to build it. Is everything statically linked to not need any of those shared objects ?

Have a nice week-end, Gerry

gagbo avatar Jun 10 '22 16:06 gagbo

I'm gonna respond as soon as possible. Thanks for your efforts.

christianparpart avatar Jun 10 '22 16:06 christianparpart

Hi, linking related issue.
And a link to fedora package https://packages.fedoraproject.org/pkgs/contour-terminal/contour-terminal/

Yaraslaut avatar Mar 24 '23 16:03 Yaraslaut

Oh, sorry I missed all this sidestory. I'll close it then

gagbo avatar Mar 24 '23 18:03 gagbo