I few months ago I upgraded my system from Kubuntu 18.04 (Bionic) to Kubuntu 22.04 (Jammy). My old ~ is still accessible.
In Bionic I was using Scribus 1.4.6 for one of my personal projects. Jammy imposed 1.5.8, an upgrade I was dreading. But I didn't expect 1.5 to subtly mangle my document in ways that range from inconsequential to inexplicable. Apparently this involves several Scribus bugs.
A friend pointed me to a PPA (ppa:ubuntuhandbook1/ppa) that allowed me to install Scribus 1.4 dependencies, including qt4. I grabbed the Scribus Version14x branch, installed all the deps, and ran cmake.
It compiled successfully after fixing one pointer comparison that the compiler didn't like.
I would like to install the Scribus 1.4.8 I compiled alongside Scribus 1.5.8 from the Jammy package, the 1.4.8 binary at /usr/local/bin/scribus, reading separate configs from what 1.5.8 uses. Scribus 1.5.8 configs are at ~/.config/scribus in Jammy, but in Bionic Scribus 1.4.6 kept configs at ~/.scribus. It doesn't matter to me where the configs are, only that each version maintains its own and doesn't overwrite the other.
How do I configure make install to do this?