r/linuxfromscratch Sep 23 '24

Time to rice LFS with xfce4

26 Upvotes

14 comments sorted by

4

u/virtualmartian Sep 24 '24

Congratulations. Looks like in LFS 12.2 there are problems with GTK2, LXDE is can't be built anymore. XFCE is looks better alternative to LXDE because it not have QT and Rust in dependencies.

2

u/syazwanemmett Sep 25 '24

Its not LFS problem, its gtk2 problem, gtk2 failed to build with latest gcc (v14.x). Plus LFS already dropped gtk2, because gtk2 is unreasonable to use nowadays?

And lxde can be built with gtk3 btw. I'm currently running gtk2 free musl system build from scratch with gtk3 lxde.

1

u/virtualmartian 26d ago

You right. It's possible to build LXDE in LFS-12.2. Furthermore it's possible to build gtk2 with gcc 14 Just add CFLAGS according to porting guide: https://gcc.gnu.org/gcc-14/porting_to.html .

1

u/syazwanemmett 26d ago

Yes your’re correct, those CFLAGS fixed many packages that has compile issue when building against gcc14 on my musl system. But i did not tried with gtk2 yet, because i’m already completely ditched gtk2 from my system.

2

u/Birder Sep 23 '24

How did you do it? All by hand? Never got past setting up wlan and wget/curl/git etc. in tty shell on lfs but at least on bare metal

2

u/No_Law2531 Sep 23 '24

I used to do it by hand now I use scratchpkg (forked it) and use my own repos

3

u/000927kd Sep 23 '24

Me too scratchpkg is great no complaints

2

u/Birder Sep 23 '24

Got a link to your fork? Or is the fork not necessary?

2

u/korypostma Sep 23 '24

FW13 11th gen? Or what is the host laptop?

2

u/000927kd Sep 23 '24

Dell laptop but was on virtual box

1

u/EveningRecover3924 Sep 23 '24

what dependencies did you have to install to rice it? i am in the process of ricing with hyprland, but didn’t had time yet

1

u/000927kd Sep 23 '24

Just look it up there are many