-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, 2024-02-03 at 10:34 +0100, Helmut Grohne wrote:
> libxfce4ui fails to cross build from source, because it fails running
> the gtk-doc scanner with an Exec format error. This is fairly usual.
> Fortunately, it also splits out its documentation to an Arch:all
> package. Hence, we can disable gtk-doc in arch-only builds and thus
> side-step this problem making the cross build succeed. I'm attaching a
> patch for your convenience.

Hi Helmut, thanks for the report and the patch.

The patch looks small, and I don't know a lot about cross-building, but would
it be better to use something like:

 ifneq (,$(filter cross,$(DEB_BUILD_PROFILES))

inside override_dh_auto_configure to only add gtk-doc when not cross-building?

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmXBAXYACgkQ3rYcyPpX
RFsBbwgA6yOREFfPDlNddwz6VZIYSF0IfxZ5/A5R5QB3xu+Nxx/ZYDl5XcSxALvQ
32BRjN1+cpubRj4R1h5yJ8RN3ac+ykz0PI7TmPw7zmYodJ0fYP/aCiONJZbIbuP5
4PAR9VLfI0EZ9Du7ArYuhN/bz//MXEO1ruHHl2nEigWzzPJinu3FUWIp42U5vI76
VfYSNz3mH1gFk0rshwMqsOx3Uokb5r1L+egGV7AwL79qJqXabMGolyMwjEzEWC23
+SmyY0NWaPwJBOSDTQ2Ren3lMeRE13FlowwQ0KzclDqEHNcZqlcBalC5d3iKzfLm
ng5eQv8ht3WwkwW6vVDPyqc2VE0Wag==
=h+YT
-----END PGP SIGNATURE-----

Reply via email to