[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920878: provide a package name for lrelease-pro



Hi Helmut!

Now I am working on packaging Qt 5.14, so I am returning to this bug.

On Thu, Feb 07, 2019 at 04:52:53PM +0100, Helmut Grohne wrote:
> Control: retitle -1 provide a package name for lrelease-pro
> Control: reassign -1 qttools5-dev-tools
> Control: tags -1 =
>
> On Thu, Feb 07, 2019 at 12:54:08PM +0300, Dmitry Shachnev wrote:
> > Maybe when we package Qt 5.13, I can split lrelease-pro into a separate
> > package that will depend on qt5-qmake.
>
> That's a good idea. Let's repurpose this bug then. Notably: The package
> doesn't have to be real. Virtual packages work as well for this purpose.

As we discussed on IRC, a separate package won't help much, as it cannot
declare a dependency on qt5-qmake:native anyway. The :native qualifier only
makes sense in Build-Depends.

Also, I figured out that lrelease (lrelease-pro in new Qt) does not
actually need *native* qmake, the cross qmake works as well. We just need
to specify QMAKE environment variable that it honors:

https://code.qt.io/cgit/qt/qttools.git/tree/src/linguist/lprodump/main.cpp?h=v5.14.1#n439

As I just demonstrated in https://bugs.debian.org/889752#10, this approach
works. So I propose to close this bug and export QMAKE to qmake cross
wrapper in the affected packages instead.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: