aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-03-17 07:40:19 +0800
committerwill <will@FreeBSD.org>2002-03-17 07:40:19 +0800
commit8000decd33fa42446b251761b4a30ad93a26415b (patch)
treec71199fb37306568bd5d27821d5fa6e1c9b2e666 /x11-servers/XFree86-4-Server
parentd725a058bb4c13280b0f849576c979fc3d70f4a0 (diff)
downloadfreebsd-ports-gnome-8000decd33fa42446b251761b4a30ad93a26415b.tar.gz
freebsd-ports-gnome-8000decd33fa42446b251761b4a30ad93a26415b.tar.zst
freebsd-ports-gnome-8000decd33fa42446b251761b4a30ad93a26415b.zip
XFree86 4.2.0 Stage 2: XFree86-4-* miniport upgrades
[1] Upgrade to 4.2.0. [2] Allow Wraphelp.c to be fetched by default, set HasXdmAuth=YES by default. Submitted by: [1] sf, taguchi@tohoku.iij.ad.jp Approved by: [2] core
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r--x11-servers/XFree86-4-Server/Makefile52
-rw-r--r--x11-servers/XFree86-4-Server/distinfo3
-rw-r--r--x11-servers/XFree86-4-Server/pkg-plist9
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure4
4 files changed, 37 insertions, 31 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 0ea44d5cbce4..aa0abb6bf735 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -6,14 +6,17 @@
#
PORTNAME= Server
-PORTVERSION= 4.1.0
-PORTREVISION= 4
+PORTVERSION= 4.2.0
CATEGORIES= x11-servers
-MASTER_SITES= ${MASTER_SITE_XFREE}
-MASTER_SITE_SUBDIR= 4.1.0
+MASTER_SITES= ${MASTER_SITE_XFREE} \
+ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \
+ ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/:wrap \
+ ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/:wrap
+MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
-DISTFILES= X410src-1.tgz
-EXTRACT_ONLY= X410src-1.tgz
+DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz Wraphelp.c:wrap
+EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz
+IGNOREFILES= Wraphelp.c
MAINTAINER= taguchi@tohoku.iij.ad.jp
@@ -53,7 +56,8 @@ MAN3= XF86VidMode.3 \
XF86VidModeQueryVersion.3 \
XF86VidModeSetViewPort.3 \
XF86VidModeSwitchMode.3 \
- XF86VidModeSwitchToMode.3
+ XF86VidModeSwitchToMode.3 \
+ XF86VidModeValidateModeLine.3
MAN4= mga.4 \
tdfx.4 \
glint.4 \
@@ -79,22 +83,23 @@ PKGMESSAGE= ${WRKDIR}/.pkg-message
# HasSecureRPC YES build with SecureRPC (require FreeBSD-3 or later)
# HasPam YES support PAM (require FreeBSD-3.1 or later)
# ExtendedInputDevices YES support extended input devices
-HasXdmAuth?= DEFAULT
+HasXdmAuth?= YES
HasSecureRPC?= DEFAULT
HasPam?= DEFAULT
ExtendedInputDevices?= DEFAULT
.if (exists(/sys) || exists(/usr/src/sys))
BuildXF86DRI= YES
+BuildXF86DRM= YES
PLIST_SUB+= DRI=""
+PLIST_SUB+= DRI_KMOD=""
.else
pre-fetch::
@${ECHO_MSG} "DRI would not build: kernel source required in /sys."
BuildXF86DRI= NO
-PLIST_SUB+= DRI="@comment "
-.endif # have /sys
-# DRM and DRI kernel modules bundled with 4.1.0 are broken
BuildXF86DRM= NO
+PLIST_SUB+= DRI="@comment "
PLIST_SUB+= DRI_KMOD="@comment "
+.endif # have /sys
.if ${ARCH} == i386
PLIST_SUB+= I386:=""
@@ -130,13 +135,21 @@ MAN4+= citron.4 \
PLIST_SUB+= XIE:="@comment "
.endif
+# matrox BETA driver is not ready for 4.2.0.
+# I don't confirm feather it is newer than the one which included in 4.2.0,
+# but you can try the BETA driver. Just set that variable.
+
.if ${BuildXF86DRI} == YES
.if !defined(WITH_MATROX_GXX_DRIVER)
HaveMatroxHal= NO
PLIST_SUB+= MATROX="@comment "
pre-fetch::
- @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official Matrox drivers for"
- @${ECHO_MSG} "the G200, G400, G450 and G550 graphic adapters."
+ @${ECHO_MSG} "*** WARNING: UNTESTED WITH XFREE86 4.2.0! ENABLE AT"
+ @${ECHO_MSG} "YOUR OWN RISK! ***"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official"
+ @${ECHO_MSG} "Matrox drivers for the G200, G400, G450, and G550"
+ @${ECHO_MSG} "graphic adapters."
.else
NO_PACKAGE= "Matrox drivers may not be distributed."
HaveMatroxHal= YES
@@ -156,19 +169,6 @@ post-install::
.endif # !WITH_MATROX_GXX_DRIVER
.endif
-.if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
-.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
-pre-everything::
- @${ECHO_MSG} "Assuming that you have fetched a USA-Legal Wraphelp.c."
-.else
-MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
- ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
- ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
-DISTFILES+= Wraphelp.c
-IGNOREFILES= Wraphelp.c
-.endif # USA_RESIDENT
-.endif # HasXdmAuth
-
do-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
diff --git a/x11-servers/XFree86-4-Server/distinfo b/x11-servers/XFree86-4-Server/distinfo
index 9b56bde72df7..4766fc3aff79 100644
--- a/x11-servers/XFree86-4-Server/distinfo
+++ b/x11-servers/XFree86-4-Server/distinfo
@@ -1,3 +1,2 @@
-MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32
+MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f
MD5 (xc/Wraphelp.c) = IGNORE
-MD5 (xc/mga-133_143-source.tgz) = 849bf57f23f1684fea970459f919d1f2
diff --git a/x11-servers/XFree86-4-Server/pkg-plist b/x11-servers/XFree86-4-Server/pkg-plist
index 906a6bb10c95..5714a75f2a57 100644
--- a/x11-servers/XFree86-4-Server/pkg-plist
+++ b/x11-servers/XFree86-4-Server/pkg-plist
@@ -11,6 +11,7 @@ lib/X11/Cards
lib/X11/Options
lib/X11/XF86Config.98
lib/X11/XF86Config.eg
+lib/X11/doc/BUILD
lib/X11/doc/BugReport
lib/X11/doc/DESIGN
lib/X11/doc/Install
@@ -38,6 +39,7 @@ lib/X11/doc/README.mouse
lib/X11/doc/README.rapidaccess
lib/X11/doc/README.rendition
lib/X11/doc/README.s3virge
+lib/X11/doc/RELNOTES
lib/X11/doc/ServersOnly
lib/X11/doc/Status
lib/X11/doc/Versions
@@ -46,9 +48,10 @@ lib/X11/etc/Xinstall.sh
lib/X11/etc/sun.termcap
lib/X11/etc/sun.terminfo
lib/X11/etc/xmodmap.std
-%%DRI_KMOD%%lib/X11/kernel/drm.ko
%%DRI_KMOD%%lib/X11/kernel/gamma.ko
%%DRI_KMOD%%lib/X11/kernel/mga.ko
+%%DRI_KMOD%%lib/X11/kernel/r128.ko
+%%DRI_KMOD%%lib/X11/kernel/radeon.ko
%%DRI_KMOD%%lib/X11/kernel/tdfx.ko
%%DRI_KMOD%%@dirrm lib/X11/kernel
lib/X11/xserver/SecurityPolicy
@@ -84,6 +87,7 @@ lib/modules/codeconv/libTCVN.a
lib/modules/codeconv/libVISCII.a
%%DRI%%lib/modules/dri/gamma_dri.so
%%I386:%%%%DRI%%lib/modules/dri/i810_dri.so
+%%I386:%%%%DRI%%lib/modules/dri/i830_dri.so
%%DRI%%lib/modules/dri/mga_dri.so
%%DRI%%lib/modules/dri/radeon_dri.so
%%I386:%%%%DRI%%lib/modules/dri/r128_dri.so
@@ -109,6 +113,7 @@ lib/modules/drivers/nv_drv.o
%%I386:%%lib/modules/drivers/r128_drv.o
%%I386:%%lib/modules/drivers/radeon_drv.o
lib/modules/drivers/rendition_drv.o
+lib/modules/drivers/s3_drv.o
lib/modules/drivers/s3virge_drv.o
lib/modules/drivers/savage_drv.o
lib/modules/drivers/siliconmotion_drv.o
@@ -128,6 +133,7 @@ lib/modules/extensions/libglx.a
lib/modules/extensions/libpex5.a
lib/modules/extensions/librecord.a
lib/modules/extensions/libxie.a
+lib/modules/extensions/libxtrap.a
lib/modules/fonts/libbitmap.a
lib/modules/fonts/libfreetype.a
lib/modules/fonts/libspeedo.a
@@ -157,6 +163,7 @@ lib/modules/libddc.a
lib/modules/libfb.a
lib/modules/libi2c.a
lib/modules/libint10.a
+lib/modules/liblayer.a
lib/modules/libmfb.a
lib/modules/libpcidata.a
lib/modules/librac.a
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 1d95a8262adf..35f80bd40383 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -80,7 +80,7 @@ configure () {
cat >> $LOCALDEF <<END
#ifndef XF86CardDrivers
#ifdef i386Architecture
-#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
+#define XF86CardDrivers mga glint nv tga s3 s3virge sis rendition \
neomagic i740 tdfx savage \
cirrus vmware tseng trident chips apm \
GlideDriver fbdev i128 \
@@ -89,7 +89,7 @@ configure () {
vesa vga XF86OSCardDrivers XF86ExtraCardDrivers
#else
#ifdef AlphaArchitecture
-#define XF86CardDrivers mga tdfx glint s3virge rendition tga \
+#define XF86CardDrivers mga tdfx glint s3 s3virge rendition tga \
savage nv DevelDrivers siliconmotion vga \
XF86OSCardDrivers XF86ExtraCardDrivers
#endif