在Xubuntu和macOS之后进入Gentoo的一年:我的经历(我喜欢)

宜家效应 是一种认知偏见,发生在购买者不成比例地重视他们部分创造的商品的价值(例如价值)时[1]

商标
商标

tldr:尽管我喜欢跳到现实的不同侧面,但是在Gentoo的帮助下,我发现了一种和谐的感觉。 Gentoo质量高,开发完善,我不觉得这个项目快要死了。我获得了性能,极简主义,您不必等一年,直到最新版本(如Audacity)在Debian / Ubuntu上发布。 Gentoo可以正常工作,我不需要花费很多时间来设置它-我安装了它,现在安装了浏览器,Vim,有时还安装了系统更新。

首先,欢迎来到Gentoo您将进入选择和性能的世界。Gentoo与选择息息相关。在安装Gentoo时,会多次明确这一点-用户可以选择自己想编译多少,如何安装Gentoo,要使用的系统记录器等。Gentoo是一种快速,现代的元发行版,具有干净灵活的设计。它建立在免费软件生态系统的基础上,不会向用户隐藏其内幕。

现在更详细

2016 2019 - , macOS . . , Linux , , Raspberry Pi, . MacOS bloatware, , . macOS , UX , , . . , , , 2030 Windows , , - - .

2016 Xubuntu: Ubuntu, . . Gentoo, , - , . Ubuntu - . Gentoo. . , , .

- Install Gentoo, , . Gentoo . , . . , - , . - , . , , - Gentoo , , - . - , - . - Firefox.

/etc/portage/make.conf:

# 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="-O2 -march=ivybridge -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

USE="glamor libinput -pulseaudio -qt5 opus vpx ffmpeg -proprietary-codecs -cdda -dvd -bluetooth -closure-compile -cups"

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

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

# Without this cannot "grub-install /dev/sda"
GRUB_PLATFORMS="pc"

# ipw3945 needed for ThinkPad wireless firmware
ACCEPT_LICENSE="@FREE ipw3945"

VIDEO_CARDS="intel i965"

USE - . opus - . bluetooth - . : ivybridge, , x64, ivybridge - .

, , - . JavaScript, Go - . Python Git - SSL.

UNIX is very simple, it just needs a genius to understand its simplicity.

Dennis Ritchie

. Tinder . . . GNU/Linux. Gentoo , . Gnome, KDE - i3. - , , . Audacity ( ) - . - CPU - . , .

equery: :

这是我在安装Terminator(终端仿真器)之前看到的内容:包本身及其带有标志的依赖项
Terminator - :

- . , . Chromium Closure Compiler - . .

Gentoo - , :

. Wi-Fi: . , . . . Gentoo , , ( ). Arch? Gentoo . . , Gentoo , . Gentoo GNU/Linux, , ; , , . OperRC, - . systemd. , . cron . - cron . , , ppa Ubuntu, . , - , ebuild , Terminator:

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1 optfeature virtualx xdg-utils

DESCRIPTION="Multiple GNOME terminals in one window"
HOMEPAGE="https://github.com/gnome-terminator/terminator"
SRC_URI="https://github.com/gnome-terminator/terminator/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"

RDEPEND="
	dev-libs/glib:2
	dev-python/configobj[${PYTHON_USEDEP}]
	dev-python/psutil[${PYTHON_USEDEP}]
	dev-python/pycairo[${PYTHON_USEDEP}]
	dev-python/pygobject:3[${PYTHON_USEDEP}]
	gnome-base/gsettings-desktop-schemas[introspection]
	x11-libs/gtk+:3
	x11-libs/vte:2.91[introspection]
"
BDEPEND="
	dev-util/intltool
	sys-devel/gettext
	test? (
		dev-python/dbus-python[${PYTHON_USEDEP}]
		x11-libs/libnotify[introspection]
	)
"
distutils_enable_tests pytest

PATCHES=(
	"${FILESDIR}"/terminator-1.91-without-icon-cache.patch
	"${FILESDIR}"/terminator-1.91-desktop.patch
)

src_prepare() {
	xdg_environment_reset
	sed -i -e '/pytest-runner/d' setup.py || die
	distutils-r1_src_prepare
}

src_test() {
	virtx distutils-r1_src_test
}

pkg_postinst() {
	xdg_desktop_database_update
	xdg_icon_cache_update

	elog "Consider installing the following for additional features:"
	optfeature "D-Bus" dev-python/dbus-python
	optfeature "Desktop notifications" "x11-libs/libnotify[introspection]"
	optfeature "Global keyboard shortcuts" "dev-libs/keybinder:3[introspection]"
}

pkg_postrm() {
	xdg_desktop_database_update
	xdg_icon_cache_update
}

Gentoo , ( , ), 9999 - git HEAD - .

Gentoo - , ( , ). , - ( , , , , ). . - Xubuntu/Lubuntu - , . Gentoo LXQt, , .

, , , , . - , . . Gentoo - , , . , Ubuntu. , , , . Gentoo - , , . .




All Articles