Gentoo+Enlightenment+Systemd 安装记录

Enlightenment 是一款重新思考设计的linux桌面系统。

不多废话,首先上图。

gentoo env

自由切换主题后。

gentoo env

在安装桌面之前,首先要安装好Gentoo系统环境。

make.conf 配置。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
MAKEOPTS="-j2"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

DARKELF_FEATURES="postmerge_distclean"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

INPUT_DEVICES="libinput synaptics"

VIDEO_CARDS="vmware"

ACCEPT_LICENSE="*"

PYTHON_TARGETS="python3_6 python3_7 python3_8 python3_9"

USE="icu bindist mmx sse sse2 systemd llvm wayland xwayland X drm eet fontconfig infinality xml egl gles gles2 gles2-only alas glib gstreamer harfbuzz ico jpeg2k pulseaudio sound svg system-lz4 gif png raw openjpeg udev alsa meson freetype -harfbuzz"


GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo"

自动unmask 生成文件 /etc/portage/packase.use/zz-autounmask

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# package.use# required by app-misc/neofetch-6.0.0::gentoo[X]
# required by neofetch (argument)
>=www-client/w3m-0.5.3_p20180125 imlib
# required by x11-drivers/xf86-video-vmware-13.3.0::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_vmware]
# required by x11-base/xorg-server-1.20.8-r1::gentoo[xorg]
# required by x11-drivers/xf86-input-libinput-0.30.0::gentoo
>=x11-libs/libdrm-2.4.102 libkms
# required by x11-drivers/xf86-video-vmware-13.3.0::gentoo
# required by x11-base/xorg-drivers-1.20-r2::gentoo[video_cards_vmware]
# required by x11-base/xorg-server-1.20.8-r1::gentoo[xorg]
# required by x11-drivers/xf86-input-libinput-0.30.0::gentoo
>=media-libs/mesa-20.0.8 xa
# required by net-p2p/epour-9999::enlightenment-live
# required by @enlightenment-apps-9999 (argument)
>=net-libs/libtorrent-rasterbar-1.2.6 python
# required by x11-misc/xdg-utils-1.1.3_p20200220::gentoo
# required by net-p2p/epour-9999::enlightenment-live
# required by @enlightenment-apps-9999 (argument)
>=app-text/xmlto-0.0.28-r3 text
# required by net-libs/libtorrent-rasterbar-1.2.6::gentoo[python]
# required by net-p2p/epour-9999::enlightenment-live
# required by @enlightenment-apps-9999 (argument)
>=dev-libs/boost-1.72.0-r1 python

因为使用的是live版。就是未稳定的测试版。添加overlay.

1
root #layman -a enlightenment-live

如果你仅需要基本功能。则安装如下:

1
root #emerge --ask --autounmask-write @enlightenment-core-9999

然后在/etc/portage/package.accept_keywords添加mask的包信息。

1
2
3
4
# required by =x11-wm/enlightenment-9999 (argument)
=x11-wm/enlightenment-9999 **
=x11-terms/terminology-9999 **
=dev-libs/efl-9999 **

因为是在虚拟机中安装,需要添加vmware工具。

1
2
# required by vmware
=app-emulation/open-vm-tools-11.1.0 **

如果你还想体验enlightenment自带的丰富app。则安装如下:

1
root #emerge --ask --autounmask-write @enlightenment-apps-9999

安装过程中会发现问题比较多,添加mask包信息。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Needed for the apps
=dev-python/python-efl-9999 **
# Various apps
=net-irc/express-9999 **
=dev-util/enventor-9999 **
=app-editors/ecrire-9999 **
=media-gfx/ephoto-9999 **
=app-misc/equate-9999 **
=dev-vcs/egitu-9999 **
=media-gfx/eluminance-9999 **
=x11-misc/entrance-9999 **
# required by epour (argument)
=net-p2p/epour-9999 **
# required by net-p2p/epour-9999::enlightenment-live
=net-libs/rb_libtorrent-1.0.10 **
=net-misc/econnman-9999 **
=dev-util/espionage-9999 **
=media-video/rage-9999 **
=sys-process/evisum-9999 **
media-libs/gstreamer:1.0 **

再重新执行一次安装即可。

需要注意的是,内存一定要足够。!!!!