qt5 rebuild

Jakub Bogusz qboosh at pld-linux.org
Thu Jun 11 20:58:24 CEST 2015


On Thu, Jun 11, 2015 at 05:46:25PM +0300, Elan Ruusamäe wrote:
> qt5 rebuild has been very painful, because most of the packages need to 
> be rebuilt twice
> 
> because they have:
> %{?with_qch:BuildRequires:  qt5-assistant >= 5.2}
> %{?with_qm:BuildRequires:   qt5-linguist >= 5.2}
> 
> and getting qt5-assistant or linguist it's needed to build:
> qtbase, qtlocation, qtsensors, qtwebkit all with bootstrap because they 
> depend on webkit, etc

You don't have to bootstrap qt5 from scratch everytime.
You can use assistant and linguist from older qt5 release.

> 
> so i looked that qm dependency loop can be eliminated if we build 
> translations from separate spec: qt5-qttranslations.spec
> upstream bundles the tarball anyway separately.
> 
> downside is that as currently translations are packaged to package by 
> translation name, like:
> 
> qtbase_*.qm -> qt5-qtbase
> assistant_*.qm ->
> qtxmlpatterns_*.qm -> Qt5XmlPatterns
> etc
> 
> options would be:
> a) create -i18n accompaning packages (Qt5XmlPatterns-i18n, ...)

Such approach used to be once with KDE, hardly usable.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list