KDE/Ebuild 仓库

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

Other languages:
English • ‎español • ‎русский • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

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 仓库

启用KDE仓库最简单的方法是使用 layman

root #echo "app-portage/layman sync-plugin-portage" >> /etc/portage/package.use
root #emerge --ask app-portage/layman
root #layman --fetch --add kde

sync-plugin-portage USE 标签可用于layman-2.3.0或更高版本。

Alternatively, you can use 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
Note
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.10:
root #emerge --ask @kde-plasma-5.10
  • 安装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.