Re: WebKitGTK known version to jhalfs and reversed dependency chain until poedit

"Jamenson Espindula" ([email protected] via alfs-discuss Mailing List) <[email protected]> Tue, 20 Jan 2026 04:53:28 -0300
Newsgroups gmane.linux.lfs.automated
Message-ID <CAOW_YOn5Q=FzP2dUSyVxa43N_ijiqvoEq5deYfnSsYJ8eXhiwg@mail.gmail.com>
This is a multi-part message in MIME format...

------------=_1768895629-30781-56122
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Em seg., 19 de jan. de 2026 =C3=A0s 08:16, Xi Ruoyao
<[email protected]> escreveu:
>
> On Mon, 2026-01-19 at 11:59 +0100, Pierre Labastie wrote:
> > > Douglas Reno said that I will need to build the GTK-3 version of
> > > WebKitGTK. It makes sense to me. My doubt is: should I delete the
> > > WebKitGTK construction directory and start over inside a fresh
> > > uncompressed directory (default proceeding of the BLFS book) or am I
> > > authorized to rebuild inside the same construction directory? A
> > > fresh
> > > construction directory means to construct the whole package again
> > > from scratch.
> > I think everything is explained on the webkitgtk page in the book
> > (although the order or builds is reversed). Normally, jhalfs generates
> > a script for both (gtk3 and gtk4) versions. But yes, you need to start
> > anew for the other version. (change to the "build" directory and run
> > "rm -r * .*" (note that .[^.]* is not needed anymore with modern
> > versions of rm)).
>
> FYI I tried skipping the rm command (attempting to save some build time)
> but the result was a completely broken installation: the GTK4 version
> was installed with the library and directory names supposed for the GTK3
> version.
>
Thank you all folks for your reply!

I have decided to delete the whole 'webkitgtk-2.50.4' directory. I
unpacked it again and I began building the GTK-3 version.

To be clear, the machine has an IvyBridge four cores processor and has
eight (08) GB of RAM. After jhalfs finished building and installing
the GTK-4 version, immediately I inspected the output of the 'free -m'
program. The swap (in file) use was zero (no swapping at all was
needed)! By the way, I keep the machine working only on the build (no
Xorg working, nobody else accessing the system). As I am in my home, I
can do that (machine exclusively dedicated to build the package).

Pierre said: 'Normally, jhalfs generates a script for both (gtk3 and
gtk4) versions'.

Yes. jhalfs really generated the set of commands for both versions.
However, I, manually, decided to eliminate the GTK-3 version commands!
Why? Well, I thought to myself: the newer, the better. So, GTK-4 is
better over GTK-3. Unfortunately, specifically for 'wxWebView' (a
component of the 'wxWidgets' package and required to build 'poedit'
from source-code), the version one should build is GTK-3 version of
the WebKitGTK! Where is it noted down? According to my knowledge and
Internet searches, only here! Maybe, it could be a 'Editor Notes'
entry or, maybe, some note in some other document.

Regards

Jamenson Espindula

------------=_1768895629-30781-56122
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
------------=_1768895629-30781-56122--