Re: glib-2/gobject-introspection: what is a "gi-build"?
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
Am 20.08.25 um 15:16 schrieb Rainer Fiebig ([email protected] via blfs-support Mailing List): > Am 20.08.25 um 10:14 schrieb Alan Ianson ([email protected] via > blfs-support Mailing List): >> On Wed, 20 Aug 2025 09:40:21 +0200 >> "Rainer Fiebig" ([email protected] via blfs-support Mailing List) >> <[email protected]> wrote: >> >>> Please give me a clue: what is a "gi-build"? I couldn't find anything >>> about it in the book, above mentioned packages' >>> build-options/documentation or on the internet. >>> >>> And shouldn't something obviously arcane like this be explained in the >>> book, when used? >> >> The gi-build command is used to build and install gobject introspection >> so that the gobject introspection data can be built in the following >> step. > Thanks. I think I simply misunderstood the build-instructions: > "gi-build" is not a build-option but the build-directory created by > meson setup gobject-introspection-1.84.0 gi-build > > And so > ninja -C gi-build > just tells ninja to change into dir "gi-build" and do its work there. > > Mystery solved. Live and learn. Have I ever mentioned that I don't > like meson/ninja/cmake? ;) > > Thanks again. > > Rainer In my defence I must say that the above mentioned meson-/ninja-constructs are used only once in all of BLFS-12.3 (sysv), namely in chapter "glib-2.82.5": .../BLFS/BLFS-12.3> grep -n 'meson setup [[:alpha:]]\+.*\\$' BLFS-BOOK-12.3-sysv-nochunks.html 44731:meson setup gobject-introspection-1.82.0 gi-build \ .../BLFS/BLFS-12.3> grep -n 'ninja -C [[:alpha:]]\+.*' BLFS-BOOK-12.3-sysv-nochunks.html 44733:ninja -C gi-build</kbd></pre> 44736: <span class="command"><strong>ninja -C gi-build 44746: "command">ninja -C gi-build install</kbd></pre> So I think it's fair to say that these constructs are unusual, at least for LFS/BLFS. And thus I think that users with less meson-/ninja-expertise than the editor who wrote that stuff should be given a helping hand by a short explanation or reference to the meson-/ninja-documentation. OTOH: as I seem to be the only one who complained, all other users either are meson-/ninja-experts, had the bright idea to check the meson-/ninja-documentation - or just didn't care (enough). So perhaps the chapter can just as well be left as it is. ;) Rainer -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page