Re: Glade should not use GJS on PowerPC

Sergio Had <[email protected]> Sun, 28 Apr 2024 01:07:08 +0800
Newsgroups gmane.os.openbsd.ppc
Message-ID <3cc5e1e6-e52d-4633-9fba-3aa4631e8b33@Spark>
--662d30c2_4aeaffe7_1d84
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

For imlib2, rather add a fallback version of librsvg which does not need Rust to be used on ppc (and wherever else needed).

We use that on macOS for ppc and old x86, it works fine.

Serge
On Apr 28, 2024 at 00:53 +0800, George Koehler <[email protected]>, wrote:
> On Fri, 26 Apr 2024 07:15:51 +0800
> Sergio Had <[email protected]> wrote:
>
> > Hi, could someone assist with fixing this?
> > We have XFCE unnecessarily broken due to dependency on GJS being forced. It is in fact optional and not required for Glade.
> >
> > It can be moved to a variant, and that variant made default for archs where GJS builds.
> >
> > Serge
>
> Sorry, this won't be enough. devel/glade depends (at runtime) on
> x11/gnome/devhelp which depends on www/webkitgtk4,webkitgtk41 but
> powerpc failed to build webkitgtk4. Therefore, even if one might
> build glade without x11/gnome/gjs, we still can't run glade without
> webkitgtk4, so we can't use glade to build x11/xfce4/libxfce4ui.
>
> We have a recent webkitgtk4 fix for powerpc [1], but nobody has built
> it yet, so we still don't know whether webkitgtk4 needs more fixes to
> finish the build.
> [1] https://marc.info/?l=openbsd-ports&m=171319628713727&w=2
>
> My webkitgtk4 build froze the kernel on my macppc G5 after several
> hours; I might need to build it on G4.
>
> graphics/imlib2 has logic to depend on x11/gnome/librsvg only for rust
> archs. We might want similar logic in glade to depend on gjs only for
> rust archs, but I'm not trying it until I have webkit and devhelp.
> --gkoehler

--662d30c2_4aeaffe7_1d84
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html xmlns=3D=22http://www.w3.org/1999/xhtml=22>
<head>
<title></title>
</head>
<body>
<div name=3D=22messageBodySection=22>
<div dir=3D=22auto=22>=46or imlib2, rather add a fallback version of libr=
svg which does not need Rust to be used on ppc (and wherever else needed)=
.<br />
<br />
We use that on macOS for ppc and old x86, it works fine.</div>
</div>
<div name=3D=22messageSignatureSection=22><br />
Serge</div>
<div name=3D=22messageReplySection=22>On Apr 28, 2024 at 00:53 +0800, Geo=
rge Koehler &lt;kernigh=40gmail.com&gt;, wrote:<br />
<blockquote type=3D=22cite=22 style=3D=22border-left-color: grey; border-=
left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left:=
 10px;=22>On =46ri, 26 Apr 2024 07:15:51 +0800<br />
Sergio Had &lt;vital.had=40gmail.com&gt; wrote:<br />
<br />
<blockquote type=3D=22cite=22>Hi, could someone assist with fixing this=3F=
<br />
We have X=46CE unnecessarily broken due to dependency on GJS being forced=
. It is in fact optional and not required for Glade.<br />
<br />
It can be moved to a variant, and that variant made default for archs whe=
re GJS builds.<br />
<br />
Serge<br /></blockquote>
<br />
Sorry, this won't be enough. devel/glade depends (at runtime) on<br />
x11/gnome/devhelp which depends on www/webkitgtk4,webkitgtk41 but<br />
powerpc failed to build webkitgtk4. Therefore, even if one might<br />
build glade without x11/gnome/gjs, we still can't run glade without<br />=

webkitgtk4, so we can't use glade to build x11/xfce4/libxfce4ui.<br />
<br />
We have a recent webkitgtk4 fix for powerpc =5B1=5D, but nobody has built=
<br />
it yet, so we still don't know whether webkitgtk4 needs more fixes to<br =
/>
finish the build.<br />
=5B1=5D https://marc.info/=3Fl=3Dopenbsd-ports&amp;m=3D171319628713727&am=
p;w=3D2<br />
<br />
My webkitgtk4 build froze the kernel on my macppc G5 after several<br />
hours; I might need to build it on G4.<br />
<br />
graphics/imlib2 has logic to depend on x11/gnome/librsvg only for rust<br=
 />
archs. We might want similar logic in glade to depend on gjs only for<br =
/>
rust archs, but I'm not trying it until I have webkit and devhelp.<br />
--gkoehler<br /></blockquote>
</div>
</body>
</html>

--662d30c2_4aeaffe7_1d84--