ports/115536: xorg-base port for a minimal X.Org installation
Evren Yurtesen
yurtesen at ispro.net
Wed Aug 15 06:50:02 UTC 2007
>Number: 115536
>Category: ports
>Synopsis: xorg-base port for a minimal X.Org installation
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 15 06:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Evren Yurtesen
>Release: FreeBSD 6.2-STABLE
>Organization:
IsproNET Internet Services
>Environment:
FreeBSD mami.dsl.inet.fi 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Aug 12 00:16:34 UTC 2007 kelloniemi at mami.dsl.inet.fi:/usr/obj/usr/src/sys/MAMI i386
>Description:
New port: x11/xorg-base
As X.Org became modular, now we do not have to install every tiny bit of X.Org. We can choose to make a minimal installation and make people happy. There are a lot of people who doesnt like installing 300+ extra ports for only X.org
This is the minimal xorg-base meta port for accomplishing the task. This requires 2 new ports x11-drivers/xorg-input-drivers and x11-drivers/xorg-video-drivers (which I am submitting after a few minutes)
pkg-descr:
This is a meta package to install minimal components required for X.Org.
xorg-base is more or less useless without a window manager like xfce, kde
or gnome. After installing this meta package you should install a window
manager.
You might need additional X.Org apps. For example, in KDE, changing to
admin mode in control panel requires x11/xauth or changing keyboard
layouts require setxkbmap. For using the 'startx' command you should use
the x11/xinit port. If in doubt, please install x11/xorg-apps to get
all the X.Org apps installed.
WWW: http://www.x.org/
>How-To-Repeat:
install xorg :)
>Fix:
shar
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xorg-base
# xorg-base/pkg-descr
# xorg-base/Makefile
#
echo c - xorg-base
mkdir -p xorg-base > /dev/null 2>&1
echo x - xorg-base/pkg-descr
sed 's/^X//' >xorg-base/pkg-descr << 'END-of-xorg-base/pkg-descr'
XThis is a meta package to install minimal components required for X.Org.
X
Xxorg-base is more or less useless without a window manager like xfce, kde
Xor gnome. After installing this meta package you should install a window
Xmanager.
X
XYou might need additional X.Org apps. For example, in KDE, changing to
Xadmin mode in control panel requires x11/xauth or changing keyboard
Xlayouts require setxkbmap. For using the 'startx' command you should use
Xthe x11/xinit port. If in doubt, please install x11/xorg-apps to get
Xall the X.Org apps installed.
X
XWWW: http://www.x.org/
X
END-of-xorg-base/pkg-descr
echo x - xorg-base/Makefile
sed 's/^X//' >xorg-base/Makefile << 'END-of-xorg-base/Makefile'
X# New ports collection makefile for: xorg-base
X# Date created: Aug 11 2007
X#
X# $FreeBSD$
X
XPORTNAME= xorg-base
XPORTVERSION= 7.2
XCATEGORIES= x11
XMASTER_SITES= # none
XDISTFILES= # none
XEXTRACT_ONLY= # none
X
XMAINTAINER= x11 at freebsd.org
XCOMMENT= X.org base meta-port
X
XRUN_DEPENDS= ${X11BASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \
X ${FONTDIR}/misc/cursor.pcf.gz:${PORTSDIR}/x11-fonts/font-cursor-misc \
X ${FONTDIR}/misc/10x20-ISO8859-1.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc \
X ${FONTDIR}/misc/fonts.alias:${PORTSDIR}/x11-fonts/font-alias \
X ${PREFIX}/libdata/xorg/video-drivers:${PORTSDIR}/x11-drivers/xorg-video-drivers \
X ${PREFIX}/libdata/xorg/input-drivers:${PORTSDIR}/x11-drivers/xorg-input-drivers
X
XOPTIONS= SETXKBMAP "setxkbmap (kb layout setting)" off \
X XAUTH "xauth (identity change)" on \
X XINIT "xinit (startx script)" off
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_SETXKBMAP)
XRUN_DEPENDS+= setxkbmap:${PORTSDIR}/x11/setxkbmap
X.endif
X
X.if !defined(WITHOUT_XAUTH)
XRUN_DEPENDS+= xauth:${PORTSDIR}/x11/xauth
X.endif
X
X.if !defined(WITHOUT_XINIT)
XRUN_DEPENDS+= xinit:${PORTSDIR}/x11/xinit
X.endif
X
XNO_BUILD= yes
XFONTDIR= ${X11BASE}/lib/X11/fonts
X
Xdo-install: build
X @${DO_NADA}
X
X.include <bsd.port.post.mk>
X
END-of-xorg-base/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list