Import xfce meta package, requested by several, and modeled after

meta/gnome port (ie separation between -main/-extras).
ok/tweaks ajacoutot@
This commit is contained in:
landry 2012-03-04 17:52:52 +00:00
parent 358fd93272
commit cdf762f5e4
6 changed files with 165 additions and 0 deletions

83
meta/xfce/Makefile Normal file
View File

@ -0,0 +1,83 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/04 17:52:52 landry Exp $
COMMENT-main = Xfce desktop meta-package (base installation)
COMMENT-extras = Xfce desktop meta-package (full installation)
V = 4.8
PKGNAME= xfce-${V}
PKGNAME-main = xfce-${V}
PKGNAME-extras = xfce-extras-${V}
MAINTAINER = Landry Breuil <landry@openbsd.org>
MULTI_PACKAGES = -main -extras
# minimal dependencies for a working desktop
# will install garcon/exo/libxfce4util/libxfce4ui
RUN_DEPENDS-main += \
x11/xfce4/xfce-utils \
x11/xfce4/xfce4-panel \
x11/xfce4/xfce4-session \
x11/xfce4/xfce4-settings \
x11/xfce4/xfconf \
x11/xfce4/xfdesktop \
x11/xfce4/thunar \
x11/xfce4/xfwm4
# theme packages
RUN_DEPENDS-main += \
x11/xfce4/xfwm4-themes \
x11/xfce4/gtk-xfce-engine
# x11/xfce4/xfce4-icon-theme (outdated)
# common apps
RUN_DEPENDS-main += \
x11/xfce4/terminal \
x11/xfce4/orage \
x11/xfce4/ristretto \
x11/xfce4/mousepad \
x11/xfce4/xfce4-appfinder \
x11/xfce4/xfce4-mixer \
x11/xfce4/xfce4-notifyd \
x11/xfce4/xfce4-taskmanager \
x11/xfce4/tumbler
# extra apps
RUN_DEPENDS-extras += \
STEM-=${V}:${BASE_PKGPATH},-main \
x11/xfce4/xfmpc \
x11/xfce4/parole
# thunar plugins
RUN_DEPENDS-extras += \
x11/xfce4/thunar-archive \
x11/xfce4/thunar-media-tags \
x11/xfce4/thunar-thumbnailers \
x11/xfce4/thunar-vcs
# panel plugins
RUN_DEPENDS-extras += \
x11/xfce4/xfce4-battery \
x11/xfce4/xfce4-clipman \
x11/xfce4/xfce4-cpugraph \
x11/xfce4/xfce4-dict \
x11/xfce4/xfce4-diskperf \
x11/xfce4/xfce4-fsguard \
x11/xfce4/xfce4-genmon \
x11/xfce4/xfce4-mailwatch \
x11/xfce4/xfce4-modemlights \
x11/xfce4/xfce4-mount \
x11/xfce4/xfce4-mpc \
x11/xfce4/xfce4-netload \
x11/xfce4/xfce4-notes \
x11/xfce4/xfce4-places \
x11/xfce4/xfce4-quicklauncher \
x11/xfce4/xfce4-screenshooter \
x11/xfce4/xfce4-smartbookmark \
x11/xfce4/xfce4-systemload \
x11/xfce4/xfce4-time-out \
x11/xfce4/xfce4-verve \
x11/xfce4/xfce4-wavelan
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
The Xfce desktop, full installation. Contains base Xfce plus:
* a media player (parole)
* an mpc client (xfmpc)
* a lot of panel plugins
* thunar plugins (archive, media-tags, thumbnailers and vcs)

9
meta/xfce/pkg/DESCR-main Normal file
View File

@ -0,0 +1,9 @@
The Xfce desktop, base installation. Contains core Xfce plus:
* theme packages
* a terminal (xfce4-terminal)
* a calendar (orage)
* an image viewer (ristretto)
* a text editor (mousepad)
* a sound mixer (xfce4-mixer)
* a thumbnailer service used by thunar (tumbler)
* an application finder (xfce4-appfinder)

View File

@ -0,0 +1 @@
@comment $OpenBSD: PLIST-extras,v 1.1.1.1 2012/03/04 17:52:52 landry Exp $

2
meta/xfce/pkg/PLIST-main Normal file
View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2012/03/04 17:52:52 landry Exp $
share/doc/pkg-readmes/${FULLPKGNAME}

65
meta/xfce/pkg/README-main Normal file
View File

@ -0,0 +1,65 @@
$OpenBSD: README-main,v 1.1.1.1 2012/03/04 17:52:52 landry Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
The Xfce desktop is composed of 2 meta-packages:
* xfce, for a base Xfce installation
* xfce-extras, for a full Xfce installation.
Startup
=======
Xfce desktop environment is launched through the 'startxfce4' script.
Simply add '${LOCALBASE}/bin/startxfce4' to your .xinitrc/.xsession
script if you use startx, xdm or slim.
If you use gdm or kdm, have a look at
http://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is
provided for use by gdm.
Logging out and shutting down the computer
==========================================
If your installation supports complete shutdown, clicking on the logout
button on panel will permit you to either logout, rebooting or halt
the computer, provided you have the needed sudo credentials.
If you don't want to have to enter your password, simply add this line
to the /etc/sudoers file using visudo:
$your_username ALL=NOPASSWD: ${LOCALBASE}/libexec/xfsm-shutdown-helper
Power management
================
If you use Xfce on a laptop, you can install xfce4-power-manager
package, which will provide battery levels/information, and will allow
to configure actions upon low battery level or AC plugging.
Thunar file manager tips
========================
If you want to browse samba shares using GVfs, you'll need to install
gvfs-smb package. You can also try gigolo package, which is a GUI to
configure GVfs mounts.
You can have a look at hotplugd(8) if you want some kind of auto-mount
feature in thunar, provided natively by gudev on Linux and FreeBSD.
See also http://thunar.xfce.org/pwiki/documentation/faq.
Terminal, special characters and localized applications
=======================================================
If you use a particular non-ascii encoding and have problems seeing
special characters in terminal (like accentued characters in french),
you should add this line to your .xinitrc/.xsession before startxfce4:
export LC_CTYPE=fr_FR.ISO8859-15
where LC_CTYPE is defined by <language>_<country>.<encoding>.
Similarly, if you want localized graphical applications, add this line
too:
export LC_MESSAGES=fr
where 'fr' is your language tag.
See http://www.openbsd.org/faq/faq10.html#locales for more information
on that topic.
More generally, http://wiki.xfce.org/faq and http://wiki.xfce.org/tips
are the best resources for user-level documentation.