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

Re: Bug#859177: meson is unuseable for package cross compilation



Am 28.07.2017 um 22:06 schrieb Helmut Grohne:

>  2. The debcrossgen.py script needs some place to live. When debhelper
>     and meson are installed together, it needs to be in the filesystem.
>     An easy approach to do so is to put it into the meson binary
>     package. We should probably spend a little discussing bike shedding
>     questions such as:
>      a. What path/filename to use?
>      b. What options/arguments should it take?
>  3. debhelper needs to call debcrossgen.py during cross compilation and
>     add the --cross-file option. This one is straight forward to
>     implement once the questions from 2. are answered.

My gut feeling is, that this functionality should be shipped in
debhelper directly, specifically in the meson build system class [1].
debhelper is written in perl, and I don't think we want to add a
dependency on Python. But the  debcrossgen.py code looks straightforward
enough to be ported to perl.

That said, if Jussi thinks that this script might be useful for other
distros / use cases, then shipping it upstream in the meson package
might be an option as well.

Jussi, what would you prefer?

Michael


[1]
https://anonscm.debian.org/git/debhelper/debhelper.git/tree/Debian/Debhelper/Buildsystem/meson.pm


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: