qt5 rebuild

Elan Ruusamäe glen at pld-linux.org
Thu Jun 11 16:46:25 CEST 2015


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

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, ...)
b) build all translations to qt5-qttranslations package

with a) it's also question should the translations be Require on Suggest 
in main package?

ps: no idea how to eliminate qch dep loop (yet).

-- 
glen



More information about the pld-devel-en mailing list