6.24. 使用 Xfce

Ports that need Xfce libraries or applications set USES=xfce.

Specific Xfce library and application dependencies are set with values assigned to USE_XFCE. They are defined in /usr/ports/Mk/Uses/xfce.mk. The possible values are:

USE_XFCE 的值
garcon

sysutils/garcon

libexo

x11/libexo

libgui

x11-toolkits/libxfce4gui

libmenu

x11/libxfce4menu

libutil

x11/libxfce4util

panel

x11-wm/xfce4-panel

thunar

x11-fm/thunar

xfconf

x11/xfce4-conf

範例 6.18. USES=xfce 範例
USES=		xfce
USE_XFCE=	libmenu

範例 6.19. Using Xfce's Own GTK3 Widgets

In this example, the ported application uses the GTK3-specific widgets x11/libxfce4menu and x11/xfce4-conf.

USES=		xfce:gtk3
USE_XFCE=	libmenu xfconf

提示:

Xfce components included this way will automatically include any dependencies they need. It is no longer necessary to specify the entire list. If the port only needs x11-wm/xfce4-panel, use:

USES=		xfce
USE_XFCE=	panel

There is no need to list the components x11-wm/xfce4-panel needs itself like this:

USES=		xfce
USE_XFCE=	libexo libmenu libutil panel

However, Xfce components and non-Xfce dependencies of the port must be included explicitly. Do not count on an Xfce component to provide a sub-dependency other than itself for the main port.

本文及其他文件,可由此下載: ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/

若有 FreeBSD 方面疑問,請先閱讀 FreeBSD 相關文件,如不能解決的話,再洽詢 <questions@FreeBSD.org>。

關於本文件的問題,請洽詢 <doc@FreeBSD.org>。