KDE/Ebuild 仓库

From Gentoo Wiki
< KDE
Jump to:navigation Jump to:search
This page is a translated version of the page KDE/Ebuild repository and the translation is 64% complete.
Other languages:

The Gentoo KDE team maintains the KDE ebuild repository. This ebuild repository contains live ebuilds, upstream pre-releases, works-in-progress, and other things not yet ready or otherwise unsuitable for the main Gentoo ebuild repository. This article provides instructions on adding Gentoo's KDE ebuild development repository to a system.

使用 ebuild 仓库

The easiest way to enable the KDE repository is using eselect repository which will function with emerge --sync without any extra software (besides dev-vcs/git):

root #emerge --ask app-eselect/eselect-repository dev-vcs/git
root #eselect repository enable kde
附注
That is all that is needed to setup the repository. The following sections are a short introduction and not necessary for installing e.g. Plasma 5.

设置

In addition to the standard packages, a wide range of package sets are provided. For example:

  • 安装最新的稳定版 KDE Frameworks 5:
root #emerge --ask @kde-frameworks
  • 安装 KDE Plasma 5.21:
root #emerge --ask @kde-plasma-5.21
  • 安装KDE框架的主分支:
root #emerge --ask @kde-frameworks-live
  • 安装所有包:
root #( emerge --list-sets | sed -n '/kde.*live/s/^/@/p' | { mapfile -t a; emerge -av --select "${a[@]}" <&3; } ) 3<&0

Keywording and unmasking

To assist users with stable systems and those who wish to test specific package versions, the ebuild repository provides a set of package.accept_keywords, package.mask, and package.unmask files. All available files are in the Documentation directory.

For example, to keyword KDE Frameworks 5 master branch:

root #cd /etc/portage/package.accept_keywords
root #ln -s /path/to/repository/kde/Documentation/package.accept_keywords/kde-frameworks-live.keywords

报告漏洞

Please file bugs on Bugzilla, prepending the summary with [kde overlay]. Additionally, pull requests are accepted at the Github mirror.