NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.56k stars 333 forks source link

Document Qt5 build and install for Linux/BSD #802

Closed YakoYakoYokuYoku closed 2 years ago

YakoYakoYokuYoku commented 2 years ago

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. Additionally, make sure you've done all of these things:

PR Description

What type of PR is this? (Check one of the boxes below)

What does this pull request do?

This was due job from the Qt5 pulls, I've priotized Qt5 over Qt4 for obvious reasons and in the hopes that more people can test the RB-2.5 branch.

Show a few screenshots (if this is a visual change)

N/A.

Have you tested your changes (if applicable)? If so, how?

Build Natron according to the doc.

Futher details of this pull request

~I'll try to work on the BSD documentation as it's very similar to Linux~ done. For the other two platforms, Windows and MacOS, I don't have the sufficient knowledge about it so other devs are invited to modify their instructions.

rodlie commented 2 years ago

Looks ok, but why remove CentOS? the installation instructions for Fedora and CentOS are the same.

YakoYakoYokuYoku commented 2 years ago

Looks ok, but why remove CentOS? the installation instructions for Fedora and CentOS should be the same.

  • RHEL/CentOS 7 has Qt 5.12 (and 4.8.7)
  • RHEL/CentOS 9 has Qt 5.15(.2+patches)

CentOS was removed from the documentation due to reaching its EOL on 2021 New Year's Eve. We could point users to Rocky Linux instead, but I think they'll figure out that they could follow Fedora instructions.

rodlie commented 2 years ago

CentOS was removed from the documentation due to reaching its EOL on 2021 New Year's Eve.

YakoYakoYokuYoku commented 2 years ago

I've been looking at the VFX Reference Platform site but it doesn't mention anything about CentOS being a target. I'll modify the documentation to point at Fedora/RHEL and derivatives to at least clear the situation for Enterprise Linux.

devernay commented 2 years ago

The reason for picking CentOS as the build platform is that it's the only platform (to the best of my knowledge) that allows building binaries that can run on every currently supported Linux distrib.

Through the Redhat Developer Toolset, we get modern tool versions, including GCC, and the binaries can run even on a Linux that has a centos7-era libstdc++ and libgcc. It's using lots of tricks to do so, which are probably documented somewhere.

This is the reason why it's the reference build platform for Natron, and it's probably the same platform that every software company in the VXF reference platform consortium (which we are not part of) uses. Take a look at every software vendor requirements: what's the oldest supported Linux distribution? CentOS 7.

See:

YakoYakoYokuYoku commented 2 years ago

The reason for picking CentOS as the build platform is that it's the only platform (to the best of my knowledge) that allows building binaries that can run on every currently supported Linux distrib.

Through the Redhat Developer Toolset, we get modern tool versions, including GCC, and the binaries can run even on a Linux that has a centos7-era libstdc++ and libgcc. It's using lots of tricks to do so, which are probably documented somewhere.

This is the reason why it's the reference build platform for Natron, and it's probably the same platform that every software company in the VXF reference platform consortium (which we are not part of) uses. Take a look at every software vendor requirements: what's the oldest supported Linux distribution? CentOS 7.

Will take into consideration when using GitHub actions for releases.

On another note there's #803 that removes the step of running Shiboken manually.