kde-l10n breaks/replaces for dh --with kf5

Aurélien COUDERC coucouf at debian.org
Mon Mar 9 22:20:02 GMT 2020


Le mardi 25 février 2020, 20:49:10 CET Pino Toscano a écrit :
> Hi,

Dear Pino,

> please use the team ML, i.e. pkg-kde-talk at lists.alioth.debian.org for
> these discussions.

Did I really screw up with that *again*… ? :-)
At some point we should do something about the naming of debian-qt-
kde at lists.debian.org that is just too tempting to remember not to write to it.
 
> The kf5 dh addon has no knowledge of the kde-l10n breaks; however you
> can integrate the makefile snippets with it. See for example
> src:plasma-desktop, src:kstars.

Thanks for the pointers.

I finally got that working with juk, so note to my future self and other 
interested individuals : juk doesn’t build an arch-indep ${pkg}-data package 
like plasma-desktop or kstars do, so the exact dh override needed to be 
adapted.

The first part was the same as for other packages :
l10npkgs_firstversion_ok := 4:17.08.3-4~
include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk

But the override part was to be done for the -arch dh target:
override_dh_gencontrol-arch: l10npkgs_firstversion_ok
    dh_gencontrol -a

Instead of the -indep target that plasma-desktop and kstars use :
override_dh_gencontrol-indep: l10npkgs_firstversion_ok
    dh_gencontrol -i

Certainly obvious to some but it wasn’t to me…


Happy hacking !
--
Aurélien





More information about the pkg-kde-talk mailing list