Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No clutter DE ready before you can say "Gentoo"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3929

PostPosted: Tue Mar 23, 2021 7:18 pm    Post subject: No clutter DE ready before you can say "Gentoo" Reply with quote

Yesterday i was missing the thrill of a new Gentoo installation so I went ahead and installed Enlightenment over openrc.

It was my quickest installation so far that took me roughly less than three hours @-j 4 and a 12Gig tmpfs for var/tmp/portage --from partitioning to booting in.
Things I learnt:

1.Have ready the tarball ,samples of make.conf fstab /etc/default/grub /etc/conf.d/net and maybe the 00cpuflags for package.use any other stock configs you need and a chroot script.
2.untar copy the above samples and chroot
3.emerge --sync
4.eselect profile
5.emerge -av layman
6.add the "miramir" overlay.
7.Liberate yourself from spidermonkey rust clang llvm and other such atrocities.
run :
Code:

echo "sys-auth/polkit::gentoo" > etc/portage/package.mask/polkit
echo "media-libs/mesa  -llvm" > /etc/portage/package.use/mesa
echo "sys-auth/polkit::miramir   duktape" > /etc/portage/package.use/polkit
emerge -1av rust-bin duktape
emerge -uDNav @world
emerge -av xorg-server
emerge -a --depclean

cat >> /etc/portage/package.accept_keywords << EOF
x11-misc/pcmanfm ~amd64
lxde-base/menu-cache ~amd64
x11-libs/libfm ~amd64
x11-libs/libfm-extra ~amd64
EOF

emerge -av enlightenment terminology pcmanfm lightdm grub dracut  lvm2 efibootmgr
emerge -1av gentoo-kernel-bin
emerge --noreplace dist-kernel

8.Do all remaining tasks according to the Handbook and edit your sample files to reflect your new installation.(can be done while emerge-ing --in a second chroot or from the host)
9.Install and update grub.
10.exit chroot and reboot.
Less than 3 hours..........
:D :D :D
_________________
:)


Last edited by alamahant on Sat Mar 27, 2021 4:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 757
Location: /home

PostPosted: Wed Mar 24, 2021 7:30 am    Post subject: Reply with quote

alamahant wrote:

7.Liberate yourself from spidermonkey rust clang llvm and other such atrocities.


Do note that if you have "svg" use flag enabled with dev-libs/efl, it'll pull rust in a dep chain.
Back to top
View user's profile Send private message
fredbear5150
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 113

PostPosted: Wed Mar 31, 2021 8:20 am    Post subject: Reply with quote

For someone who does a lot of Gentoo builds on older hardware, these are both excellent posts!

Thanks to Juippisi and alamahant for the really good info.
Back to top
View user's profile Send private message
Lokesh
Apprentice
Apprentice


Joined: 01 Apr 2012
Posts: 161

PostPosted: Fri Apr 09, 2021 3:52 pm    Post subject: Reply with quote

Hello alamahant

May I ask you a couple of questions about how to use your instructions?

1)
Code:
echo "sys-auth/polkit::miramir   duktape" > /etc/portage/package.use/polkit

What is duktape? Seems you use it as replacement for polkit.

2)
Code:
emerge -1av rust-bin duktape

Why rust-bin, is it from the Gentoo or miramar overlay? Why "-1", not into the world file?

3) It seems that you are replacing polkit and rust rather than dropping it. Is it just for using binaries instead of compiling them?

4)
Quote:
Do note that if you have "svg" use flag enabled with dev-libs/efl, it'll pull rust in a dep chain

just adding "dev-libs/efl -svg" to package use?

Thanks in advance, I am keen to try it.

Lokesh
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3929

PostPosted: Fri Apr 09, 2021 5:40 pm    Post subject: Reply with quote

Sure
1.This a version of polkit that does not have spidermonkey(=mozzila nodejs) as a dependency but rather "duktape" which is another nodejs.
This way one avoids long compiles of spidermonkey which in turn pulls llvm and clang.

2.Rust takes a long time to compile.and is only used as a build time dependency in many web packages.
There is the precompiled binary version "rust-bin" in the main Gentoo repo.
You use "emerge -1" because rust is a dependency of other packages and you should avoid installing dependencies or libs explicitly because this will lead to emerge problems later.
virtual/rust needs either rust or rust bin so by emerging temporaily rust-bin virtual/rust will pick this instead of rust as a necessary and sufficient condition.
3 I am masking polkit::gentoo and update @world so hopefully emerge will remove polkit::gentoo and install polkit::miramir.
If not you can manually run
emerge -1av sys-auth/polkit::miramir
Then later during @--depclean you will see spidermonkey and possibly llvm and clang deleted :)
4.It doesnt matter if it will pull rust because rust-bin already present.
_________________
:)
Back to top
View user's profile Send private message
Lokesh
Apprentice
Apprentice


Joined: 01 Apr 2012
Posts: 161

PostPosted: Fri Apr 09, 2021 5:43 pm    Post subject: Reply with quote

Quote:
What is duktape? Seems you use it as replacement for polkit.

Found some posts here and here . But no explanation as to what is the advantage of duktape over spidermonkey.
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3929

PostPosted: Fri Apr 09, 2021 5:45 pm    Post subject: Reply with quote

Because spidermonkey is disgusting.
:)
It takes a long time to compile...
It will pull llvm and clang.
if you USE="-clang" then only llvm.
Clang is also disgusting because although it started as a fast compiler now @latest versions it takes up to 3 times more time to compile packages..
_________________
:)
Back to top
View user's profile Send private message
Lokesh
Apprentice
Apprentice


Joined: 01 Apr 2012
Posts: 161

PostPosted: Sat Apr 10, 2021 7:08 pm    Post subject: Reply with quote

Hey, thank you very much for the info alamahant. Although I have no clue about those packages, I am pretty much annoid when it comes to compilation of rust, llvm, and clang. Qt-webkit is another candidate that has been banned by me because of this.

I will give it a try although I just finished an installation. There are updates to come, however...

In case I do not report back, everything went fine and your proposal made me happy...until upstream makes changes.

Thank you,
Lokesh
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 402

PostPosted: Wed Feb 16, 2022 9:26 pm    Post subject: Reply with quote

Thank you.
But unfortunately, I have problem with dependencies.


[img]https://i.ibb.co/Pc03hjz/2022-02-16-22-24-27.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum