1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade to XFree86 4.5.0.

Ports changes:
- Drop dependency on x11/wrapper. X server already contains this code
(programs/Xserver/os/utils.c rev. 3.58).
- Install default SecurityPolicy with XFree86-4-libraries, thus avoiding
plists and who-owns-what complications between different fooServer ports.
Copy default file to real one if that doesn't exist and remove both upon
uninstall if they are the same.
- Revert change to Imake.rules rev. 3.132 in devel/imake-4 port, since
couple of ports break with this change
(devel/imake-4/files/patch-Imake.rules)
- Add grehans patches for PPC [1]
- Several of directories that were previously in /etc/mtree/BSD.x11-4.dist
were moved to respective ports pkg-plists

PR:		[1] 78345, 78346, 78348, 78352, 78353, 78354, 78355, 78356
This commit is contained in:
Dejan Lesjak 2005-06-15 02:40:03 +00:00
parent 1cb0f1af73
commit 2552b8e5f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137466
110 changed files with 996 additions and 2499 deletions

View File

@ -6,13 +6,12 @@
#
PORTNAME= imake
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 4.5.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= Imake and other utilities from XFree86
@ -21,7 +20,7 @@ CONFLICTS= imake-6*
PREFIX?= ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
USE_PERL5= YES
USE_PERL5= yes
USE_REINPLACE= yes
.ifdef USE_IMAKE
@ -36,7 +35,6 @@ IGNORE= is part of XFree86-4
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/config
PATCH_DIST_ARGS= --force -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP} 2>/dev/null || true
MAN1= ccmakedep.1 \
cleanlinks.1 \
gccmakedep.1 \

View File

@ -1,4 +1,4 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -0,0 +1,139 @@
--- cf/Imake.rules.orig Sun Jun 5 02:56:52 2005
+++ cf/Imake.rules Sun Jun 5 02:56:37 2005
@@ -1198,7 +1198,7 @@
#ifndef InstallNamedTarget
#define InstallNamedTarget(step,srcname,flags,dest,dstname) @@\
-step:: @@\
+step:: srcname @@\
MakeDir($(DESTDIR)dest) @@\
InstallNamedInline(srcname,flags,dest,dstname)
#endif /* InstallNamedTarget */
@@ -1211,7 +1211,7 @@
*/
#ifndef InstallNamedTargetNoClobber
#define InstallNamedTargetNoClobber(step,srcname,flags,dest,dstname) @@\
-step:: @@\
+step:: srcname @@\
MakeDir($(DESTDIR)dest) @@\
@if [ -f $(DESTDIR)dest/dstname ]; then \ @@\
echo "Not overwriting existing" $(DESTDIR)dest/dstname; \ @@\
@@ -1233,7 +1233,7 @@
*/
#ifndef InstallLibrary
#define InstallLibrary(libname,dest) @@\
-install:: @@\
+install:: LibraryTargetName(libname) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) LibraryTargetName(libname) $(DESTDIR)dest @@\
RanLibrary($(RANLIBINSTFLAGS) $(DESTDIR)dest/LibraryTargetName(libname))
@@ -1278,7 +1278,7 @@
*/
#ifndef MergeIntoInstalledLibrary
#define MergeIntoInstalledLibrary(tolib,fromlib) @@\
-install:: @@\
+install:: fromlib @@\
$(SCRIPTSRC)/mergelib $(DESTDIR)tolib fromlib
#endif /* MergeIntoInstalledLibrary */
@@ -1350,7 +1350,7 @@
@@\
CppManTarget(file, $(EXTRAMANDEFS)) @@\
@@\
-install.man:: @@\
+install.man:: file.$(MANNEWSUFFIX) @@\
MakeDir($(DESTDIR)destdir) @@\
$(INSTALL) -c $(INSTMANFLAGS) file.$(MANNEWSUFFIX) \ @@\
$(DESTDIR)destdir/dest.suffix
@@ -1382,7 +1382,7 @@
@@\
CppManTarget(file, $(EXTRAMANDEFS)) @@\
@@\
-install.man:: @@\
+install.man:: file.$(MANNEWSUFFIX) @@\
MakeDir($(DESTDIR)destdir) @@\
$(RM) $(DESTDIR)destdir/dest.$(MANSUFFIX)* @@\
$(INSTALL) -c $(INSTMANFLAGS) file.$(MANNEWSUFFIX) \ @@\
@@ -1396,7 +1396,7 @@
@@\
CppManTarget(file, $(EXTRAMANDEFS)) @@\
@@\
-install.man:: @@\
+install.man:: file.$(MANNEWSUFFIX) @@\
MakeDir($(DESTDIR)destdir) @@\
$(RM) $(DESTDIR)destdir/dest.suffix* @@\
$(INSTALL) -c $(INSTMANFLAGS) file.$(MANNEWSUFFIX) \ @@\
@@ -1406,7 +1406,7 @@
#ifndef InstallMultipleMan
#define InstallMultipleMan(list,dest) @@\
-install.man:: @@\
+install.man:: list @@\
MakeDir($(DESTDIR)dest) @@\
@case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\
for i in list; do \ @@\
@@ -1507,9 +1507,9 @@
dest.suffix.html: file.$(MANNEWSUFFIX) RmanCmdDependency @@\
RemoveFiles(dest.suffix.html dest.suffix-html) @@\
RunProgram(RMAN,$(RMANOPTIONS) < file.$(MANNEWSUFFIX) \ @@\
- > dest.suffix-html) && $(MV) dest.suffix-html $@ @@\
+ > dest.suffix-html) && $(MV) dest.suffix-html dest.suffix.html @@\
@@\
-install.man:: @@\
+install.man:: dest.suffix.html @@\
MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\
@(SUF=`expr suffix \: '\(.\)'`; \ @@\
set -x; \ @@\
@@ -1525,7 +1525,7 @@
#ifndef InstallHtmlManPageAliases
#if BuildHtmlManPages
#define InstallHtmlManPageAliases(file,aliases,suffix) @@\
-install.man:: @@\
+install.man:: file.suffix.html @@\
@SUF=`expr suffix \: '\(.\)'`; \ @@\
for i in aliases; do (set -x; \ @@\
RemoveFile($(DESTDIR)$(DOCHTMLDIR)/$$i.$$SUF.html); \ @@\
@@ -1616,7 +1616,7 @@
*/
#ifndef InstallNonExec
#define InstallNonExec(file,dest) @@\
-install:: @@\
+install:: file @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) file $(DESTDIR)dest
#endif /* InstallNonExec */
@@ -1756,7 +1756,7 @@
MakeDir(Concat($(DESTDIR),npath/mdir)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath/cdir) ]; then \ @@\
- RELPATH=`echo opath/cdir | \ @@\
+ RELPATH=`cd opath/cdir; pwd | \ @@\
sed -e 's:^/::' -e 's:[^/.][^/]*:..:'g -e 's:/\.$$::'`; \ @@\
cd Concat($(DESTDIR),opath/cdir); \ @@\
if [ -d rdir -a ! -h rdir ]; then \ @@\
@@ -1803,7 +1803,7 @@
MakeDir(Concat($(DESTDIR),npath)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath) ]; then \ @@\
- RELPATH=`echo opath | \ @@\
+ RELPATH=`cd opath; pwd | \ @@\
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
cd Concat($(DESTDIR),opath); \ @@\
if [ -f lfile -a ! -h lfile ]; then \ @@\
@@ -3607,14 +3607,14 @@
*/
#ifndef InstallDynamicModule
#define InstallDynamicModule(module,dest,subdir) @@\
-install:: @@\
+install:: module @@\
MakeDir($(DESTDIR)dest/subdir) @@\
$(INSTALL) -c $(INSTDATFLAGS) module $(DESTDIR)dest/subdir
#endif
#ifndef InstallDynamicNamedModule
#define InstallDynamicNamedModule(module,instname,dest,subdir) @@\
-install:: @@\
+install:: module @@\
MakeDir($(DESTDIR)dest/subdir) @@\
$(INSTALL) -c $(INSTDATFLAGS) module $(DESTDIR)dest/subdir/instname
#endif

View File

@ -1,22 +0,0 @@
--- imake/imakemdep.h.orig Mon Dec 29 20:53:52 2003
+++ imake/imakemdep.h Tue Mar 2 11:05:16 2004
@@ -374,6 +374,9 @@
# ifdef __AMD64__
"-D__AMD64__",
# endif
+# ifdef __amd64__
+ "-D__amd64__",
+# endif
# ifdef __x86_64__
"-D__AMD64__",
# endif
@@ -1271,6 +1274,9 @@
# if defined (__AMD64__) || defined (__x86_64__)
{"__AMD64__", "1"},
{"__x86_64__", "1"},
+# endif
+# if defined (__amd64__)
+ {"__amd64__", "1"},
# endif
# ifdef __i386
{"__i386", "1"},

View File

@ -1,12 +0,0 @@
--- cf/Imakefile.orig Sun Nov 9 01:41:04 2003
+++ cf/Imakefile Sun Nov 9 01:41:05 2003
@@ -77,7 +77,8 @@
sunLib.tmpl \
sv3Lib.tmpl \
sv4Lib.tmpl \
-xf86.tmpl
+xf86.tmpl \
+xttMod.tmpl
CFFILES = \
Imake.cf \

View File

@ -1,29 +0,0 @@
--- cf/Imake.rules.orig Tue Dec 18 05:00:37 2001
+++ cf/Imake.rules Mon Jan 21 02:34:48 2002
@@ -1399,7 +1399,7 @@
dest.suffix.html: file.$(MANNEWSUFFIX) RmanCmdDependency @@\
RemoveFiles(dest.suffix.html dest.suffix-html) @@\
RunProgram(RMAN,$(RMANOPTIONS) < file.$(MANNEWSUFFIX) \ @@\
- > dest.suffix-html) && $(MV) dest.suffix-html $@ @@\
+ > dest.suffix-html) && $(MV) dest.suffix-html dest.suffix.html @@\
@@\
install.man:: dest.suffix.html @@\
MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\
@@ -1644,7 +1644,7 @@
MakeDir(Concat($(DESTDIR),npath/mdir)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath/cdir) ]; then \ @@\
- RELPATH=`echo opath/cdir | \ @@\
+ RELPATH=`cd opath/cdir; pwd | \ @@\
sed -e 's:^/::' -e 's:[^/.][^/]*:..:'g -e 's:/\.$$::'`; \ @@\
cd Concat($(DESTDIR),opath/cdir); \ @@\
if [ -d rdir -a ! -h rdir ]; then \ @@\
@@ -1691,7 +1691,7 @@
MakeDir(Concat($(DESTDIR),npath)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath) ]; then \ @@\
- RELPATH=`echo opath | \ @@\
+ RELPATH=`cd opath; pwd | \ @@\
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
cd Concat($(DESTDIR),opath); \ @@\
if [ -f lfile -a ! -h lfile ]; then \ @@\

View File

@ -118,4 +118,4 @@ lib/X11/config/xf86.rules
lib/X11/config/xf86.tmpl
lib/X11/config/xf86site.def
lib/X11/config/xfree86.cf
lib/X11/config/xttMod.tmpl
@dirrm lib/X11/config

View File

@ -47,6 +47,7 @@ echo "#define HasFontconfig YES" >> $F
echo "#define FontconfigDir ${PREFIX}" >> $F
echo "#define HasLibpng YES" >> $F
echo "#define LibpngDir ${LOCALBASE}" >> $F
echo "#define DocDir ${PREFIX}/share/doc/XFree86" >> $F
echo "#define BuildHtmlManPages NO" >> $F
# Never install something to outside ${X11BASE}
echo "#define NothingOutsideProjectRoot YES" >> $F

View File

@ -6,13 +6,13 @@
#
PORTNAME= xfree86-dri
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= OpenGL hardware acceleration drivers for XFree86
@ -24,7 +24,7 @@ EXTRA_PATCHES+= ${FILESDIR}/patch-GL-Imakefile
ONLY_FOR_ARCHS= i386 alpha amd64
XBUILD_DIRS= lib/GL
XINSTALL_DIRS= lib/GL/mesa/src/drv
XINSTALL_DIRS= lib/GL/mesa/drivers/dri
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.pre.mk>

View File

@ -1,6 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -1,9 +1,11 @@
lib/modules/dri/gamma_dri.so
%%ALPHA_NA%%lib/modules/dri/i810_dri.so
%%I386%%lib/modules/dri/i830_dri.so
%%I386%%lib/modules/dri/i915_dri.so
lib/modules/dri/mga_dri.so
lib/modules/dri/r128_dri.so
lib/modules/dri/r200_dri.so
lib/modules/dri/radeon_dri.so
%%I386%%lib/modules/dri/sis_dri.so
%%AMD64_NA%%lib/modules/dri/tdfx_dri.so
@dirrm lib/modules/dri
@unexec rmdir %D/lib/modules 2>/dev/null || true

View File

@ -6,12 +6,12 @@
#
PORTNAME= font100dpi
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 bitmap 100 dpi fonts

View File

@ -1,2 +1,2 @@
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -1896,3 +1896,4 @@ lib/X11/fonts/100dpi/timR24-ISO8859-3.pcf.gz
lib/X11/fonts/100dpi/timR24-ISO8859-4.pcf.gz
lib/X11/fonts/100dpi/timR24-ISO8859-9.pcf.gz
lib/X11/fonts/100dpi/timR24.pcf.gz
@unexec rmdir %D/lib/X11/fonts/100dpi 2>/dev/null || true

View File

@ -6,12 +6,12 @@
#
PORTNAME= font75dpi
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 bitmap 75 dpi fonts

View File

@ -1,2 +1,2 @@
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -1896,3 +1896,4 @@ lib/X11/fonts/75dpi/timR24-ISO8859-3.pcf.gz
lib/X11/fonts/75dpi/timR24-ISO8859-4.pcf.gz
lib/X11/fonts/75dpi/timR24-ISO8859-9.pcf.gz
lib/X11/fonts/75dpi/timR24.pcf.gz
@unexec rmdir %D/lib/X11/fonts/75dpi 2>/dev/null || true

View File

@ -6,12 +6,12 @@
#
PORTNAME= fontCyrillic
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 Cyrillic fonts

View File

@ -1,2 +1,2 @@
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -84,3 +84,4 @@ lib/X11/fonts/cyrillic/koinil2.pcf.gz
lib/X11/fonts/cyrillic/proof9x16.pcf.gz
lib/X11/fonts/cyrillic/screen8x16.pcf.gz
lib/X11/fonts/cyrillic/screen8x16b.pcf.gz
@unexec rmdir %D/lib/X11/fonts/cyrillic 2>/dev/null || true

View File

@ -6,14 +6,14 @@
#
PORTNAME= fontDefaultBitmaps
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-4.tgz
EXTRACT_ONLY= XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-4.tgz
EXTRACT_ONLY= XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 default bitmap fonts
@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/xc/fonts/bdf/misc
post-extract:
(cd ${WRKDIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/XFree86-4.4.0-src-1.tgz \
${DISTDIR}/${DIST_SUBDIR}/XFree86-${PORTVERSION}-src-1.tgz \
| ${TAR} -xf - xc/extras/fonts)
do-configure:

View File

@ -1,4 +1,4 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -411,3 +411,4 @@ lib/X11/fonts/misc/olgl10.pcf.gz
lib/X11/fonts/misc/olgl12.pcf.gz
lib/X11/fonts/misc/olgl14.pcf.gz
lib/X11/fonts/misc/olgl19.pcf.gz
@unexec rmdir %D/lib/X11/fonts/misc 2>/dev/null || true

View File

@ -6,12 +6,12 @@
#
PORTNAME= fontEncodings
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 font encoding files

View File

@ -1,2 +1,2 @@
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -16,6 +16,7 @@ lib/X11/fonts/encodings/iso8859-6.16.enc
lib/X11/fonts/encodings/iso8859-6.8x.enc
lib/X11/fonts/encodings/large/big5.eten-0.enc.gz
lib/X11/fonts/encodings/large/big5hkscs-0.enc.gz
lib/X11/fonts/encodings/large/cns11643-1.enc.gz
lib/X11/fonts/encodings/large/encodings.dir
lib/X11/fonts/encodings/large/gb18030.2000-0.enc.gz
lib/X11/fonts/encodings/large/gb18030.2000-1.enc.gz
@ -41,6 +42,9 @@ lib/X11/fonts/encodings/mulearabic-0.enc
lib/X11/fonts/encodings/mulearabic-1.enc
lib/X11/fonts/encodings/mulearabic-2.enc
lib/X11/fonts/encodings/mulelao-1.enc
lib/X11/fonts/encodings/sun_eu_greek.enc
lib/X11/fonts/encodings/tcvn-0.enc
lib/X11/fonts/encodings/tis620-2.enc
lib/X11/fonts/encodings/viscii1.1-1.enc.gz
@dirrm lib/X11/fonts/encodings/large
@dirrm lib/X11/fonts/encodings

View File

@ -6,14 +6,13 @@
#
PORTNAME= fontScalable
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 4.5.0
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-4.tgz \
XFree86-4.4.0-src-5.tgz
DISTFILES= XFree86-${PORTVERSION}-src-4.tgz \
XFree86-${PORTVERSION}-src-5.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 scalable fonts

View File

@ -1,4 +1,4 @@
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.4.0-src-5.tgz) = 5c37f028efc6d54a9c725e333f9cc8ae
SIZE (xc/XFree86-4.4.0-src-5.tgz) = 4386587
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580
MD5 (xc/XFree86-4.5.0-src-5.tgz) = 598ce329eb06b8189f92704a5698253c
SIZE (xc/XFree86-4.5.0-src-5.tgz) = 4386592

View File

@ -87,3 +87,9 @@
%%TYPE1:%%lib/X11/fonts/Type1/l049036t.afm
%%TYPE1:%%lib/X11/fonts/Type1/l049036t.pfa
@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@unexec rm %D/lib/X11/fonts/TTF/fonts.cache-1 2>/dev/null || true
@unexec rm %D/lib/X11/fonts/Type1/fonts.cache-1 2>/dev/null || true
@unexec rmdir %D/lib/X11/fonts/Speedo 2>/dev/null || true
@unexec rmdir %D/lib/X11/fonts/Type1 2>/dev/null || true
@unexec rmdir %D/lib/X11/fonts/CID 2>/dev/null || true
@unexec rmdir %D/lib/X11/fonts/TTF 2>/dev/null || true

View File

@ -6,15 +6,14 @@
#
PORTNAME= FontServer
PORTVERSION= 4.4.0
PORTREVISION= 2
PORTVERSION= 4.5.0
CATEGORIES= x11-servers x11-fonts
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 font server

View File

@ -1,6 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -2,3 +2,4 @@
bin/xfs
etc/rc.d/xfs.sh
lib/X11/fs/config.default
@dirrm lib/X11/fs

View File

@ -36,6 +36,7 @@ for i in BuildFonts \
XnestServer \
XVirtualFramebufferServer \
XprtServer \
XdmxServer \
LibHeaders \
ForceNormalLib \
XTrueTypeInstallCConvHeaders

View File

@ -6,41 +6,28 @@
#
PORTNAME= NestServer
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 4.5.0
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
anholt/:local
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz:x \
XFree86-4.4.0-src-2.tgz:x \
XFree86-4.4.0-src-3.tgz:x \
Wraphelp2.gz:local
EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 nested X server
CONFLICTS= xorg-nestserver-*
CONFLICTS= xorg-nestserver-[0-9]*
MAN1= Xnest.1
EXTRA_PATCHES+= ${FILESDIR}/patch-programs::Xserver::Xext::Imakefile
PLIST_FILES= bin/Xnest
XBUILD_DIRS= lib/font lib/lbxutil lib/Xdmcp lib/Xau programs/Xserver
XINCLUDE_DIRS= lib/xkbfile lib/xtrans
XINSTALL_DIRS= programs/Xserver
XINSTALL_MAN_DIRS= programs/Xserver/hw/xnest
post-extract:
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
post-install:
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4

View File

@ -1,8 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
SIZE (xc/Wraphelp2.gz) = 3376
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -1,11 +0,0 @@
--- programs/Xserver/Xext/Imakefile.orig Mon May 10 01:50:48 2004
+++ programs/Xserver/Xext/Imakefile Mon May 10 01:53:00 2004
@@ -160,7 +160,7 @@
LinkSourceFile(modinit.h,extmod)
#if BuildXCSecurity && InstallSecurityConfig
-InstallNonExecFile(SecurityPolicy,$(SERVERCONFIGDIR))
+InstallNamedNonExec(SecurityPolicy,SecurityPolicy.default-NestServer,$(SERVERCONFIGDIR))
#endif
DependTarget()

View File

@ -1,2 +0,0 @@
bin/Xnest
lib/X11/xserver/SecurityPolicy.default-NestServer

View File

@ -36,8 +36,10 @@ for i in BuildFonts \
BuildFontServer \
XVirtualFramebufferServer \
XprtServer \
XdmxServer \
LibHeaders \
ForceNormalLib \
InstallSecurityConfig \
XTrueTypeInstallCConvHeaders
do \
echo "#define $i NO" >> $LOCALDEF

View File

@ -6,21 +6,14 @@
#
PORTNAME= PrintServer
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 4.5.0
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
anholt/:local
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz:x \
XFree86-4.4.0-src-2.tgz:x \
XFree86-4.4.0-src-3.tgz:x \
Wraphelp2.gz:local
EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 print server
@ -32,10 +25,6 @@ XBUILD_DIRS= lib/font lib/lbxutil lib/Xdmcp lib/Xau programs/Xserver
XINCLUDE_DIRS= lib/xkbfile lib/xtrans
XINSTALL_DIRS= programs/Xserver
post-extract:
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
do-install:
$(INSTALL_PROGRAM) ${WRKSRC}/programs/Xserver/Xprt ${PREFIX}/bin/Xprt

View File

@ -1,8 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
SIZE (xc/Wraphelp2.gz) = 3376
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -36,6 +36,7 @@ for i in BuildFonts \
BuildFontServer \
XnestServer \
XVirtualFramebufferServer \
XdmxServer \
LibHeaders \
ForceNormalLib \
XTrueTypeInstallCConvHeaders

View File

@ -6,21 +6,14 @@
#
PORTNAME= Server
PORTVERSION= 4.4.0
PORTREVISION= 7
PORTVERSION= 4.5.0
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
anholt/:local
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz:x \
XFree86-4.4.0-src-2.tgz:x \
XFree86-4.4.0-src-3.tgz:x \
Wraphelp2.gz:local
EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 X server and related programs
@ -32,13 +25,17 @@ PATCHDIR= ${MASTERDIR}/files
.for pf in patch-Imake.rules patch-Imake.tmpl \
patch-X11.tmpl patch-Xcursor-Imakefile \
patch-amd64 patch-c2 patch-dri-Imakefile \
patch-c2 \
patch-f patch-imake.c \
patch-texteroids patch-xditview-Imakefile patch-xdm \
patch-xdm_session.c patch-xf86.tmpl \
patch-xterm-Imakefile patch-z05 patch-z14 \
patch-z15 patch-z30 patch-z32 patch-z34 patch-z35 \
patch-z41 patch-z44 patch-z45
patch-xterm-Imakefile patch-z14 \
patch-z15 patch-z34 patch-z35 \
patch-z45 \
patch-lib_GL_GL_Imakefile \
patch-lib_GL_mesa_drivers_dri_Imakefile \
patch-lib_GL_mesa_drivers_osmesa_Imakefile \
patch-programs_Xserver_GL_dri_Imakefile
# patch-startx
EXTRA_PATCHES+= ${.CURDIR}/../../x11/XFree86-4-libraries/files/${pf}
@ -149,6 +146,12 @@ PLIST_SUB+= IA64_NA="@comment "
PLIST_SUB+= IA64_NA=""
.endif
.if ${ARCH} == powerpc
PLIST_SUB+= PPC_NA="@comment "
.else
PLIST_SUB+= PPC_NA=""
.endif
.if ${ARCH} == sparc64
PLIST_SUB+= SPARC64_NA="@comment "
PLIST_SUB+= SPARC64=""
@ -158,10 +161,8 @@ PLIST_SUB+= SPARC64="@comment "
PLIST_SUB+= SPARC64_NA=""
MAN4+= glint.4x \
mga.4x \
rendition.4x \
s3virge.4x \
savage.4x \
siliconmotion.4x \
tdfx.4x \
vga.4x
.endif
@ -194,17 +195,16 @@ PLIST_SUB+= AMD64_I386=""
PLIST_SUB+= AMD64_I386="@comment "
.endif
post-extract::
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
@${MKDIR} ${WRKDIR}/drmsource
.if ${ARCH} != powerpc && ${ARCH} != sparc64
MAN4+= rendition.4x \
siliconmotion.4x
.endif
post-build:
@${RM} -f ${PKGMESSAGE}
@${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
post-install::
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
@if [ -f ${PREFIX}/bin/Xwrapper-4 ] ; then \
${LN} -sf Xwrapper-4 ${PREFIX}/bin/X; \

View File

@ -1,8 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
SIZE (xc/Wraphelp2.gz) = 3376
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -1,6 +1,6 @@
--- config/cf/FreeBSD.cf.orig Sat Nov 1 20:38:01 2003
+++ config/cf/FreeBSD.cf Tue Nov 11 20:47:11 2003
@@ -172,11 +172,11 @@
--- config/cf/FreeBSD.cf.orig Thu Mar 3 03:32:17 2005
+++ config/cf/FreeBSD.cf Wed Mar 23 10:41:03 2005
@@ -234,11 +234,11 @@
* ld: warning: libXThrStub.so.6, needed by libX11.so, not found
*/
#if BuildThreadStubLibrary && (!defined(UseInstalledX11) || !UseInstalledX11)
@ -16,7 +16,17 @@
#endif
#define CppCmd /usr/bin/cpp
@@ -393,18 +393,8 @@
@@ -470,6 +470,9 @@
#define AsVISOption -Av9a
#define AsOutputArchSize 64
#endif
+#ifdef PpcArchitecture
+#define XF86INT10_BUILD X86INT10_STUB
+#endif
#define StandardDefines -DCSRG_BASED
@@ -491,18 +494,8 @@
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#endif

View File

@ -0,0 +1,18 @@
--- patch-Imake.cf begins here ---
--- config/cf/Imake.cf.orig Wed Jan 19 20:53:39 2005
+++ config/cf/Imake.cf Wed Jan 19 20:55:09 2005
@@ -282,6 +282,10 @@
# undef __amd64__
# undef __x86_64__
# endif
+# ifdef __powerpc__
+# define PpcArchitecture
+# undef __powerpc__
+# endif
#endif /* __FreeBSD__ */
/* Systems based on kernel of FreeBSD */
--- patch-Imake.cf ends here ---

View File

@ -0,0 +1,16 @@
--- patch-Pci.h begins here ---
--- programs/Xserver/hw/xfree86/os-support/bus/Pci.h.orig Thu Jan 20 06:51:21 2005
+++ programs/Xserver/hw/xfree86/os-support/bus/Pci.h Thu Jan 20 06:52:09 2005
@@ -285,7 +285,7 @@
# define ARCH_PCI_INIT linuxPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN /* Needs kernel work to remove */
-# elif defined(__OpenBSD__)
+# elif defined(__FreeBSD__) || defined(__OpenBSD__)
# define ARCH_PCI_INIT freebsdPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN
--- patch-Pci.h ends here ---

View File

@ -1,43 +0,0 @@
Index: programs/Xserver/Xext/saver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/Xext/saver.c,v
retrieving revision 3.8
retrieving revision 3.8.2.1
diff -u -u -r3.8 -r3.8.2.1
--- programs/Xserver/Xext/saver.c 17 Nov 2003 22:20:26 -0000 3.8
+++ programs/Xserver/Xext/saver.c 2 Mar 2004 19:39:48 -0000 3.8.2.1
@@ -27,7 +27,7 @@
* Author: Keith Packard, MIT X Consortium
*/
-/* $XFree86: xc/programs/Xserver/Xext/saver.c,v 3.8 2003/11/17 22:20:26 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/Xext/saver.c,v 3.8.2.1 2004/03/02 19:39:48 dawes Exp $ */
#define NEED_REPLIES
#define NEED_EVENTS
@@ -810,7 +810,7 @@
DepthPtr pDepth;
WindowOptPtr ancwopt;
unsigned long *pVlist;
- unsigned long *values = 0;
+ unsigned long *values = 0, *save = 0;
unsigned long tmask, imask;
unsigned long val;
Pixmap pixID;
@@ -938,6 +938,7 @@
ret = BadAlloc;
goto bail;
}
+ save = values;
pAttr->screen = pScreen;
pAttr->client = client;
pAttr->x = stuff->x;
@@ -1166,7 +1167,7 @@
bail:
CheckScreenPrivate (pScreen);
xfree (pAttr);
- xfree (values);
+ xfree (save);
return ret;
}

View File

@ -1,13 +0,0 @@
$FreeBSD: /tmp/pcvs/ports/x11-servers/XFree86-4-Server/files/Attic/patch-alpha_video.c,v 1.3 2004-08-10 01:29:21 marcus Exp $
--- programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c.orig Wed Feb 25 11:04:10 2004
+++ programs/Xserver/hw/xfree86/os-support/bsd/alpha_video.c Wed Feb 25 11:04:50 2004
@@ -483,7 +483,7 @@
writeSparse32(int Value, pointer Base, register unsigned long Offset);
#ifdef __FreeBSD__
-extern int sysarch(int, char *);
+extern int sysarch(int, void *);
#endif
struct parms {

View File

@ -1,76 +0,0 @@
diff -ruN ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atimode.c ./programs/Xserver/hw/xfree86/drivers/ati/atimode.c
--- ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atimode.c Wed Jan 12 13:01:31 2005
+++ ./programs/Xserver/hw/xfree86/drivers/ati/atimode.c Fri Feb 4 07:52:01 2005
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atimode.c,v 1.20 2004/12/31 16:07:06 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atimode.c,v 1.20tsi Exp $ */
/*
* Copyright 2000 through 2005 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
*
@@ -646,7 +646,7 @@
SetBits(pMode->CrtcVDisplay, CRTC_V_DISP);
pATIHW->crtc_v_sync_strt_wid =
SetBits(pMode->CrtcVSyncStart, CRTC_V_SYNC_STRT) |
- SetBits(pMode->CrtcVSyncEnd, CRTC_V_SYNC_WID);
+ SetBits(pMode->CrtcVSyncEnd, CRTC_V_SYNC_END_VGA);
if (pMode->Flags & V_NVSYNC)
pATIHW->crtc_v_sync_strt_wid |= CRTC_V_SYNC_POL;
}
diff -ruN ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c ./programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c
--- ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c Wed Jan 12 13:01:31 2005
+++ ./programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c Fri Feb 4 07:52:01 2005
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c,v 1.79 2004/12/31 16:07:06 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atipreinit.c,v 1.79tsi Exp $ */
/*
* Copyright 1999 through 2005 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
*
@@ -1900,10 +1900,10 @@
VDisplay = GetBits(pATIHW->crtc_v_total_disp, CRTC_V_DISP);
VSyncStart =
GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_STRT);
- VSyncEnd = (VSyncStart & ~MaxBits(CRTC_V_SYNC_WID)) |
- GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_WID);
+ VSyncEnd = (VSyncStart & ~MaxBits(CRTC_V_SYNC_END_VGA)) |
+ GetBits(pATIHW->crtc_v_sync_strt_wid, CRTC_V_SYNC_END_VGA);
if (VSyncStart > VSyncEnd)
- VSyncEnd += MaxBits(CRTC_V_SYNC_WID) + 1;
+ VSyncEnd += MaxBits(CRTC_V_SYNC_END_VGA) + 1;
VTotal = GetBits(pATIHW->crtc_v_total_disp, CRTC_V_TOTAL);
VBlankStart = (VDisplay & ~0x03FFU) |
@@ -2175,7 +2175,7 @@
if ((pATIHW->horz_stretching &
(HORZ_STRETCH_EN | AUTO_HORZ_RATIO)) !=
(HORZ_STRETCH_EN | AUTO_HORZ_RATIO))
- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
+ xf86DrvMsgVerb(pScreenInfo->scrnIndex, X_WARNING, 4,
"Inconsistent panel horizontal dimension:"
" %d and %d.\n", pATI->LCDHorizontal, HDisplay);
HDisplay = pATI->LCDHorizontal;
@@ -2191,7 +2191,7 @@
{
if (!(pATIHW->vert_stretching & VERT_STRETCH_EN) ||
!(pATIHW->ext_vert_stretch & AUTO_VERT_RATIO))
- xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING,
+ xf86DrvMsgVerb(pScreenInfo->scrnIndex, X_WARNING, 4,
"Inconsistent panel vertical dimension: %d and %d.\n",
pATI->LCDVertical, VDisplay);
VDisplay = pATI->LCDVertical;
diff -ruN ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atiregs.h ./programs/Xserver/hw/xfree86/drivers/ati/atiregs.h
--- ../../orig/xc/programs/Xserver/hw/xfree86/drivers/ati/atiregs.h Wed Jan 12 13:01:32 2005
+++ ./programs/Xserver/hw/xfree86/drivers/ati/atiregs.h Fri Feb 4 07:52:01 2005
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atiregs.h,v 1.26 2004/12/31 16:07:07 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atiregs.h,v 1.26tsi Exp $ */
/*
* Copyright 1994 through 2005 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
*
@@ -551,6 +551,7 @@
#define CRTC_V_SYNC_STRT 0x000007fful
/* ? 0x0000f800ul */
#define CRTC_V_SYNC_WID 0x001f0000ul
+#define CRTC_V_SYNC_END_VGA 0x000f0000ul
#define CRTC_V_SYNC_POL 0x00200000ul
/* ? 0xffc00000ul */
#define CRTC_VLINE_CRNT_VLINE IOPortTag(0x04u, 0x04u)

View File

@ -0,0 +1,21 @@
--- patch-bus-Imakefile begins here ---
--- programs/Xserver/hw/xfree86/os-support/bus/Imakefile.orig Thu Jan 20 03:43:03 2005
+++ programs/Xserver/hw/xfree86/os-support/bus/Imakefile Thu Jan 20 03:46:40 2005
@@ -66,6 +66,13 @@
PCIDRVRSRC = netbsdPci.c
PCIDRVROBJ = netbsdPci.o
+#elif defined(FreeBSDArchitecture) && defined(PpcArchitecture)
+
+XCOMM FreeBSD/PowerPC PCI driver (using /dev/pci)
+
+PCIDRVRSRC = freebsdPci.c
+PCIDRVROBJ = freebsdPci.o
+
#elif defined(PpcArchitecture)
XCOMM PowerPC PCI drivers
--- patch-bus-Imakefile ends here ---

View File

@ -0,0 +1,16 @@
--- patch-compiler.h begins here ---
--- programs/Xserver/hw/xfree86/common/compiler.h.orig Fri Jan 21 03:19:16 2005
+++ programs/Xserver/hw/xfree86/common/compiler.h Fri Jan 21 03:20:03 2005
@@ -1068,7 +1068,7 @@
# define write_mem_barrier() /* NOP */
# endif /* __arm32__ */
-# elif (defined(Lynx) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__powerpc__)
+# elif (defined(Lynx) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)) && defined(__powerpc__)
# ifndef MAP_FAILED
# define MAP_FAILED ((void *)-1)
--- patch-compiler.h ends here ---

View File

@ -0,0 +1,15 @@
--- programs/Xserver/hw/xfree86/os-support/bsd/drm/Imakefile.orig Thu Feb 24 16:37:48 2005
+++ programs/Xserver/hw/xfree86/os-support/bsd/drm/Imakefile Thu Feb 24 16:38:50 2005
@@ -125,6 +125,7 @@
$(LN) $${UP}$(DRMBSDDIR)/$$i/Makefile $(DRM_COPY_DIR)/$$i); \
done
+/*
INSTALL_LIST = $(INSTALL_SHARED) $(INSTALL_BSD)
InstallMultiple($(INSTALL_LIST),$(DRMBSDINSTSRCDIR))
@@ -138,3 +139,4 @@
$(DESTDIR)$(DRMBSDINSTSRCDIR)/$$i); \
done
+*/

View File

@ -0,0 +1,82 @@
--- programs/Xserver/hw/xfree86/loader/elfloader.c.orig Mon Mar 28 19:12:53 2005
+++ programs/Xserver/hw/xfree86/loader/elfloader.c Mon Mar 28 19:22:51 2005
@@ -203,6 +203,7 @@
#if defined (__alpha__) || \
defined (__ia64__) || \
defined (__AMD64__) || \
+ defined (__amd64__) || \
(defined (__sparc__) && \
(defined (__arch64__) || \
defined (__sparcv9)))
@@ -294,7 +295,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
typedef Elf_Rela Elf_Rel_t;
#else
typedef Elf_Rel Elf_Rel_t;
@@ -488,7 +490,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
ELFDEBUG(", r_addend 0x%lx", rel->r_addend);
# endif
ELFDEBUG("\n");
@@ -524,6 +527,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -548,6 +552,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -603,6 +608,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -1263,7 +1269,7 @@
unsigned long *dest64;
unsigned short *dest16;
#endif
-#if defined(__AMD64__)
+#if defined(__AMD64__) || defined(__amd64__)
unsigned long *dest64;
int *dest32s;
#endif
@@ -1281,7 +1287,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
ELFDEBUG("%lx", rel->r_addend);
# endif
ELFDEBUG("\n");
@@ -1340,7 +1347,7 @@
break;
#endif /* i386 */
-#if defined(__AMD64__)
+#if defined(__AMD64__) || defined(__amd64__)
case R_X86_64_32:
dest32 = (unsigned int *)(secp + rel->r_offset);
# ifdef ELFDEBUG

View File

@ -0,0 +1,13 @@
--- programs/Xserver/hw/xfree86/loader/loader.c.orig Tue Feb 22 06:58:18 2005
+++ programs/Xserver/hw/xfree86/loader/loader.c Tue Feb 22 06:59:09 2005
@@ -552,8 +552,8 @@
FatalError("\n_LoaderFileToMem() read() failed: %s\n",
strerror(errno));
-# if (defined(linux) || defined(__NetBSD__) || defined(__OpenBSD__)) \
- && defined(__powerpc__)
+# if (defined(linux) || defined(__NetBSD__) || defined(__OpenBSD__) \
+ || defined(__FreeBSD__)) && defined(__powerpc__)
/*
* Keep the instruction cache in sync with changes in the
* main memory.

View File

@ -0,0 +1,18 @@
--- patch-mouse.c begins here ---
--- programs/Xserver/hw/xfree86/input/mouse/mouse.c.orig Sat Jan 29 06:57:55 2005
+++ programs/Xserver/hw/xfree86/input/mouse/mouse.c Sat Jan 29 06:59:03 2005
@@ -1501,8 +1501,8 @@
case PROT_SYSMOUSE: /* sysmouse */
buttons = (~pBuf[0]) & 0x07;
- dx = (char)(pBuf[1]) + (char)(pBuf[3]);
- dy = - ((char)(pBuf[2]) + (char)(pBuf[4]));
+ dx = (signed char)(pBuf[1]) + (signed char)(pBuf[3]);
+ dy = - ((signed char)(pBuf[2]) + (signed char)(pBuf[4]));
/* FreeBSD sysmouse sends additional data bytes */
if (pMse->protoPara[4] >= 8) {
/*
--- patch-mouse.c ends here ---

View File

@ -0,0 +1,15 @@
--- patch-support-Imakefile begins here ---
--- programs/Xserver/hw/xfree86/os-support/Imakefile.orig Thu Jan 20 03:30:38 2005
+++ programs/Xserver/hw/xfree86/os-support/Imakefile Thu Jan 20 03:31:37 2005
@@ -15,6 +15,7 @@
(defined(SunArchitecture) && defined(SparcArchitecture)) || \
(defined(KFreeBSDArchitecture) && defined(AlphaArchitecture)) || \
(defined(KFreeBSDArchitecture) && defined(Sparc64Architecture)) || \
+ (defined(KFreeBSDArchitecture) && defined(PpcArchitecture)) || \
(defined(KNetBSDArchitecture) && defined(AlphaArchitecture)) || \
(defined(KNetBSDArchitecture) && defined(PpcArchitecture)) || \
(defined(KNetBSDArchitecture) && defined(SparcArchitecture)) || \
--- patch-support-Imakefile ends here ---

View File

@ -1,11 +0,0 @@
--- programs/Xserver/Xext/Imakefile.orig Mon May 10 01:50:48 2004
+++ programs/Xserver/Xext/Imakefile Mon May 10 01:53:00 2004
@@ -160,7 +160,7 @@
LinkSourceFile(modinit.h,extmod)
#if BuildXCSecurity && InstallSecurityConfig
-InstallNonExecFile(SecurityPolicy,$(SERVERCONFIGDIR))
+InstallNamedNonExec(SecurityPolicy,SecurityPolicy.default-Server,$(SERVERCONFIGDIR))
#endif
DependTarget()

View File

@ -1,52 +0,0 @@
Index: programs/Xserver/hw/xfree86/XF98Conf.cpp
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/XF98Conf.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- programs/Xserver/hw/xfree86/XF98Conf.cpp 13 Feb 2004 23:58:34 -0000 1.4
+++ programs/Xserver/hw/xfree86/XF98Conf.cpp 8 Jun 2004 01:28:55 -0000 1.5
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/XF98Conf.cpp,v 1.4 2004/02/13 23:58:34 dawes Exp $
+XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/XF98Conf.cpp,v 1.5 2004/06/08 01:28:55 dawes Exp $
XCOMM
XCOMM Copyright (c) 1994-1998 by The XFree86 Project, Inc.
XCOMM All rights reserved.
@@ -480,6 +480,20 @@
EndSection
+Section "Monitor"
+ Identifier "Aile TFT LCD"
+ VendorName "NEC"
+ ModelName "La13"
+ HorizSync 33.0-82.0
+ VertRefresh 55.0-90.0
+
+XCOMM fH=46.9,fV=75.0
+ ModeLine "800x600" 49.50 800 836 920 1056 600 601 604 625
+
+XCOMM fH=53.7,fV=85.1
+ ModeLine "800x600H" 56.30 800 836 920 1048 600 601 604 631
+EndSection
+
XCOMM **********************************************************************
XCOMM Graphics device section
XCOMM **********************************************************************
@@ -508,6 +522,16 @@
XCOMM VideoRam 2048
Endsection
+Section "Device"
+ Identifier "CLGD7555"
+ VendorName "Cirrus Logic"
+ BoardName "CLGD 7555"
+ Driver "cirrus"
+XCOMM Option "sw cursor" "on"
+XCOMM BusID "PCI:0:3:0"
+XCOMM VideoRam 2048
+EndSection
+
XCOMM **********************************************************************
XCOMM Screen sections.
XCOMM **********************************************************************

View File

@ -1,73 +0,0 @@
--- programs/Xserver/hw/xfree86/common/xf86Events.c.orig Tue Sep 21 19:22:14 2004
+++ programs/Xserver/hw/xfree86/common/xf86Events.c Tue Sep 21 19:23:55 2004
@@ -467,7 +467,7 @@
#if defined(SYSCONS_SUPPORT) || defined(PCVT_SUPPORT) || defined(WSCONS_SUPPORT)
static Bool first_time = TRUE;
#endif
-#if defined(__sparc__) && defined(__linux__)
+#if defined(__sparc__) && (defined(__linux__) || defined(__FreeBSD__))
static int kbdSun = -1;
#endif
/* Disable any keyboard processing while in suspend */
@@ -483,7 +483,7 @@
}
#endif
-#if defined (__sparc__) && defined(__linux__)
+#if defined(__sparc__) && (defined(__linux__) || defined(__FreeBSD__))
if (kbdSun == -1) {
if ((xf86Info.xkbmodel && !strcmp(xf86Info.xkbmodel, "sun"))
|| (xf86Info.xkbrules && !strcmp(xf86Info.xkbrules, "sun")))
@@ -493,7 +493,7 @@
}
if (kbdSun)
goto special;
-#endif /* __sparc__ && __linux__ */
+#endif /* __sparc__ && (__linux__ || __FreeBSD__) */
#ifdef __linux__
if (xf86Info.kbdCustomKeycodes) {
@@ -543,7 +543,7 @@
}
} else
#endif /* i386 && SVR4 */
- {
+ if (!xf86IsPc98()) {
switch (scanCode) {
case 0x59: scanCode = KEY_0x59; break;
case 0x5a: scanCode = KEY_0x5A; break;
@@ -655,10 +655,12 @@
* they need to get the same key code as the base key on the same
* physical keyboard key.
*/
- if (scanCode == KEY_SysReqest)
- scanCode = KEY_Print;
- else if (scanCode == KEY_Break)
- scanCode = KEY_Pause;
+ if (!xf86IsPc98()) {
+ if (scanCode == KEY_SysReqest)
+ scanCode = KEY_Print;
+ else if (scanCode == KEY_Break)
+ scanCode = KEY_Pause;
+ }
#endif
/*
@@ -695,7 +697,7 @@
}
}
#endif
-#if defined (__sparc__) && defined(__linux__)
+#if defined(__sparc__) && (defined(__linux__) || defined(__FreeBSD__))
special:
if (kbdSun) {
switch (scanCode) {
@@ -729,7 +731,7 @@
*/
scanCode--;
}
-#endif /* defined (__sparc__) && defined(__linux__) */
+#endif /* __sparc__ && (__linux__ || __FreeBSD__) */
#ifdef XKB
if ((xf86Info.ddxSpecialKeys == SKWhenNeeded &&

View File

@ -1,22 +0,0 @@
Index: programs/Xserver/hw/xfree86/common/xf86PciInfo.h
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- programs/Xserver/hw/xfree86/common/xf86PciInfo.h 22 Mar 2004 17:01:14 -0000 1.159
+++ programs/Xserver/hw/xfree86/common/xf86PciInfo.h 8 Jun 2004 01:28:56 -0000 1.160
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h,v 1.159 2004/03/22 17:01:14 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h,v 1.160 2004/06/08 01:28:56 dawes Exp $ */
/*
* Copyright (c) 1995-2003 by The XFree86 Project, Inc.
@@ -317,6 +317,7 @@
/* Cirrus Logic */
#define PCI_CHIP_GD7548 0x0038
#define PCI_CHIP_GD7555 0x0040
+#define PCI_CHIP_GD7556 0x004C
#define PCI_CHIP_GD5430 0x00A0
#define PCI_CHIP_GD5434_4 0x00A4
#define PCI_CHIP_GD5434_8 0x00A8

View File

@ -1,17 +0,0 @@
--- programs/Xserver/hw/xfree86/common/xf86fbman.c.orig Sat Aug 28 13:14:32 2004
+++ programs/Xserver/hw/xfree86/common/xf86fbman.c Sat Aug 28 13:16:03 2004
@@ -1115,12 +1115,10 @@
*size = 0;
- if (!offman->LinearAreas) return FALSE;
-
pLink = offman->LinearAreas;
- pLinkRet = pLink;
- if (!pLink->area) {
+ if (pLink && !pLink->area) {
+ pLinkRet = pLink;
while (pLink) {
if (pLink->free) {
if (pLink->linear.size > pLinkRet->linear.size)

View File

@ -1,62 +0,0 @@
Index: programs/Xserver/hw/xfree86/doc/Japanese/README98
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/doc/Japanese/README98,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- programs/Xserver/hw/xfree86/doc/Japanese/README98 20 Jun 2000 20:07:58 -0000 1.4
+++ programs/Xserver/hw/xfree86/doc/Japanese/README98 8 Jun 2004 01:28:56 -0000 1.5
@@ -1,6 +1,6 @@
XFree86 PC98 Dependent Information
The XFree86 Project Inc. and X98 CORE TEAM 著
- 2000 年 6 月 20 日
+ 2004 年 6 月 6 日
このドキュメントでは、PC98 固有の事項について解説します。PC/AT 互換機
と共通の事項については、共通のドキュメントを参照して下さい。
@@ -11,7 +11,7 @@
イル名: XFree86) されており、従来のボード / チップセット毎のサーバもな
くなりました。また、各ドライバはすべて SVGA ベースで、XF86_S3 ベースの
ドライバはありません。現在のところ、PC98 で動作しているのは、mga、
- apm、glint、trident ドライバのみです。Millennium、Mystique、
+ apm、glint、trident、cirrus ドライバのみです。Millennium、Mystique、
VoodooRUSH、Permedia2、TGUI968x(いずれも PCI) のボードをお持ちの方以外
は、3.3 ベース (ex. 3.3.6) の環境を御利用下さい。現状 4.0 では EGC や
PEGC すら利用できません。開発メンバが非常に少なくなっているので、開発
@@ -43,6 +43,7 @@
------------- ----------------------------------------------- -------
NEC MGA Millennium/Mystique XFree86
NEC Trident TGUI968x(X-Mate,ValueStar 等) XFree86
+ NEC Cirrus Logic CLGD755x (Aile 等) XFree86
3. 共通事項
@@ -274,6 +275,28 @@
README.trident は現時点 (4.0) では 3.3.6 用の内容であり、これに記載さ
れている Option の多くは使用できないので注意して下さい。
+ 4.5. cirrus ドライバ
+
+ NEC の内蔵アクセラレータ (Cirrus Logic CLGD755x) で動作するドライバです。
+
+ 4.5.1. XF86Config の設定
+
+ XF86Config.98 内に記されたオプションを指定できます。
+ 通常は特に何も指定する必要無い筈です。
+
+ 4.5.2. 報告されている問題
+
+ o ログに MMIO および I2C に関連したエラー ("(EE)" で示される) が
+ 出ますが、これは実際には警告レベルで動作には関係ないようです。
+
+ 4.5.3. その他
+
+ o まだ十分なテストが行われていないので動作レポートをお願いします。
+
+ 4.5.4. 関連
+
+ XFree86 man page, cirrus man page
+
5. 各 OS 毎の注意事項
5.1. FreeBSD(98) での注意事項

View File

@ -1,45 +0,0 @@
Index: programs/Xserver/hw/xfree86/doc/VideoBoard98
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/doc/VideoBoard98,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- programs/Xserver/hw/xfree86/doc/VideoBoard98 20 Jun 2000 20:07:58 -0000 1.5
+++ programs/Xserver/hw/xfree86/doc/VideoBoard98 8 Jun 2004 01:28:56 -0000 1.6
@@ -156,9 +156,9 @@
|PC9821Nb7/C,D |CLGD7543 | B/I | B/I |1| X | |
|PC9821Nb10 |CLGD7548 | B/I | B/I |1| X | |
|PC9821Nx/3,C7 |Cyber9320 | B/I | B/I |1| X | |
-|PC9821Nr12 |CLGD7555 | B/I | B/I |2| X | |
-|PC9821Nr13/D10 |CLGD7555 | B/I | B/I |2| X | |
-|PC9821Nr13/D14,S14 |CLGD7556 | B/I | B/I |2| X | |
+|PC9821Nr12 |CLGD7555 | B/I | B/I |2| o? |O|
+|PC9821Nr13/D10 |CLGD7555 | B/I | B/I |2| o? |O|
+|PC9821Nr13/D14,S14 |CLGD7556 | B/I | B/I |2| o? |O|
|PC9821Nr15 |Cyber9385 | B/I | B/I |2| X | |
|PC9821Nr150 |Cyber9385 | B/I | B/I |2| X | |
|PC9821Nr150/S20 |Cyber9385-1 | B/I | B/I |2| X | |
@@ -169,12 +169,12 @@
|PC9821Lt2 |Cyber9320 | B/I | B/I |1| X | |
|PC9821La7 |Cyber9320 | B/I | B/I |1| X | |
|PC9821La10 |Cyber9320 | B/I | B/I |1| X | |
-|PC9821La13 |CLGD7555 | B/I | B/I |2| X | |
+|PC9821La13 |CLGD7555 | B/I | B/I |2| o |O|
+------------------------+---------------+-------+--------+-+-------+-+
-|PC9821Ls12 |CLGD7555 | B/I | B/I |2| X | |
-|PC9821Ls13 |CLGD7555 | B/I | B/I |2| X | |
-|PC9821Ls13 |CLGD7556 | B/I | B/I |2| X | |
-|PC9821Ls150 |CLGD7555 | B/I | B/I |2| X | |
+|PC9821Ls12 |CLGD7555 | B/I | B/I |2| o? |O|
+|PC9821Ls13 |CLGD7555 | B/I | B/I |2| o? |O|
+|PC9821Ls13 |CLGD7556 | B/I | B/I |2| o? |O|
+|PC9821Ls150 |CLGD7555 | B/I | B/I |2| o? |O|
+------------------------+---------------+-------+--------+-+-------+-+
@@ -384,4 +384,4 @@
|WinFrame928 |S3-928 | | |2| X | |
+------------------------+---------------+-------+--------+-+-------+-+
-/* $XFree86: xc/programs/Xserver/hw/xfree86/doc/VideoBoard98,v 1.5 2000/06/20 20:07:58 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/doc/VideoBoard98,v 1.6 2004/06/08 01:28:56 dawes Exp $ */

View File

@ -1,170 +0,0 @@
Index: programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c 7 Nov 2003 22:49:58 -0000 1.36
+++ programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c 8 Jun 2004 01:28:56 -0000 1.37
@@ -11,7 +11,7 @@
* Guy DESBIEF
*/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c,v 1.36 2003/11/07 22:49:58 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/alp_driver.c,v 1.37 2004/06/08 01:28:56 dawes Exp $ */
/* All drivers should typically include these */
#include "xf86.h"
@@ -109,6 +109,9 @@
static void AlpDisplayPowerManagementSet(ScrnInfoPtr pScrn,
int PowerManagementMode, int flags);
+static void PC98CIRRUS755xEnable(ScrnInfoPtr pScrn);
+static void PC98CIRRUS755xDisable(ScrnInfoPtr pScrn);
+
/*
* This is intentionally screen-independent. It indicates the binding
* choice made in the first PreInit.
@@ -143,6 +146,8 @@
static int gd5446_MaxClocks[] = { 135100, 135100, 85500, 85500, 0 };
static int gd5480_MaxClocks[] = { 135100, 200000, 200000, 135100, 135100 };
static int gd7548_MaxClocks[] = { 80100, 80100, 80100, 80100, 80100 };
+static int gd7555_MaxClocks[] = { 80100, 80100, 80100, 80100, 80100 };
+static int gd7556_MaxClocks[] = { 80100, 80100, 80100, 80100, 80100 };
/*
* List of symbols from other modules that this module references. This
@@ -453,6 +458,11 @@
break;
}
break;
+
+ case PCI_CHIP_GD7555:
+ case PCI_CHIP_GD7556:
+ videoram = 2048; /* for PC-9821 La13 etc. */
+ break;
}
/* UNMap the Alp memory and MMIO areas */
@@ -567,7 +577,7 @@
pCir->PciInfo->device,
pCir->PciInfo->func);
- if (xf86LoadSubModule(pScrn, "int10")) {
+ if (!xf86IsPc98() && xf86LoadSubModule(pScrn, "int10")) {
xf86LoaderReqSymLists(int10Symbols,NULL);
xf86DrvMsg(pScrn->scrnIndex,X_INFO,"initializing int10\n");
pInt = xf86InitInt10(pCir->pEnt->index);
@@ -653,6 +663,16 @@
from = X_DEFAULT;
pCir->HWCursor = FALSE;
+
+ switch (pCir->Chipset) {
+ case PCI_CHIP_GD7555:
+ case PCI_CHIP_GD7556:
+ pCir->HWCursor = TRUE;
+ break;
+ default:
+ break;
+ }
+
if (xf86GetOptValBool(pCir->Options, OPTION_HW_CURSOR, &pCir->HWCursor))
from = X_CONFIG;
@@ -939,6 +959,12 @@
case PCI_CHIP_GD7548:
p = gd7548_MaxClocks;
break;
+ case PCI_CHIP_GD7555:
+ p = gd7555_MaxClocks;
+ break;
+ case PCI_CHIP_GD7556:
+ p = gd7556_MaxClocks;
+ break;
}
if (!p)
return FALSE;
@@ -1425,6 +1451,9 @@
vgaHWProtect(pScrn, FALSE);
+ if (xf86IsPc98())
+ PC98CIRRUS755xEnable(pScrn);
+
return TRUE;
}
@@ -1843,6 +1872,9 @@
AlpRestore(pScrn);
vgaHWLock(hwp);
+
+ if (xf86IsPc98())
+ PC98CIRRUS755xDisable(pScrn);
}
@@ -1880,6 +1912,9 @@
pScrn->vtSema = FALSE;
+ if (xf86IsPc98())
+ PC98CIRRUS755xDisable(pScrn);
+
pScreen->CloseScreen = pCir->CloseScreen;
return (*pScreen->CloseScreen)(scrnIndex, pScreen);
}
@@ -2142,3 +2177,52 @@
box.y2 - pScrn->virtualY);
}
}
+
+static void
+PC98CIRRUS755xEnable(ScrnInfoPtr pScrn) /* enter_aile() */
+{
+ unsigned int index,data;
+ vgaHWPtr hwp = VGAHWPTR(pScrn);
+
+ outb(0xfac, 0x02);
+
+ outb(0x68, 0x0e);
+ outb(0x6a, 0x07);
+ outb(0x6a, 0x8f);
+ outb(0x6a, 0x06);
+
+ outw(VGA_SEQ_INDEX, 0x1206); /* unlock cirrus special */
+
+ index = hwp->IOBase + VGA_CRTC_INDEX_OFFSET;
+ data = hwp->IOBase + VGA_CRTC_DATA_OFFSET;
+ outb(index, 0x3c);
+ outb(data, inb(data) & 0xef);
+ outb(index, 0x1a);
+ outb(data, inb(data) & 0xf3);
+}
+
+static void
+PC98CIRRUS755xDisable(ScrnInfoPtr pScrn) /* leave_aile() */
+{
+ unsigned int index,data;
+ vgaHWPtr hwp = VGAHWPTR(pScrn);
+
+ outw(VGA_SEQ_INDEX, 0x1206); /* unlock cirrus special */
+
+ index = hwp->IOBase + VGA_CRTC_INDEX_OFFSET;
+ data = hwp->IOBase + VGA_CRTC_DATA_OFFSET;
+ outb(index, 0x3c);
+ outb(data, 0x71);
+ outb(index, 0x1a);
+ outb(data, inb(data) | 0x0c);
+
+ outb(0xfac,0x00);
+
+ outb(0x68, 0x0f);
+ outb(0x6a, 0x07);
+ outb(0x6a, 0x8e);
+ outb(0x6a, 0x21);
+ outb(0x6a, 0x69);
+ outb(0x6a, 0x06);
+}
+

View File

@ -1,35 +0,0 @@
Index: programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c 18 Jun 2003 16:17:38 -0000 1.69
+++ programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c 8 Jun 2004 01:28:56 -0000 1.70
@@ -11,7 +11,7 @@
* Guy DESBIEF
*/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c,v 1.69 2003/06/18 16:17:38 eich Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/cirrus/cir_driver.c,v 1.70 2004/06/08 01:28:56 dawes Exp $ */
/* All drivers should typically include these */
#include "xf86.h"
@@ -86,6 +86,8 @@
{ PCI_CHIP_GD5464BD, "CL-GD5464BD" },
{ PCI_CHIP_GD5465, "CL-GD5465" },
{ PCI_CHIP_GD7548, "CL-GD7548" },
+ { PCI_CHIP_GD7555, "CL-GD7555" },
+ { PCI_CHIP_GD7556, "CL-GD7556" },
{-1, NULL }
};
@@ -103,6 +105,8 @@
{ PCI_CHIP_GD5464BD,PCI_CHIP_GD5464BD, RES_SHARED_VGA },
{ PCI_CHIP_GD5465, PCI_CHIP_GD5465, RES_SHARED_VGA },
{ PCI_CHIP_GD7548, PCI_CHIP_GD7548, RES_SHARED_VGA },
+ { PCI_CHIP_GD7555, PCI_CHIP_GD7555, RES_SHARED_VGA },
+ { PCI_CHIP_GD7556, PCI_CHIP_GD7556, RES_SHARED_VGA },
{ -1, -1, RES_UNDEFINED}
};

View File

@ -1,28 +0,0 @@
--- programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c.orig Tue Aug 24 17:38:16 2004
+++ programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c Tue Aug 24 17:39:32 2004
@@ -77,8 +77,8 @@
#include "mga_drm.h"
#include "r128_drm.h"
#include "radeon_drm.h"
-#ifndef __FreeBSD__
#include "sis_drm.h"
+#ifndef __FreeBSD__
#include "i810_drm.h"
#include "i830_drm.h"
#endif
@@ -1012,7 +1012,6 @@
}
}
-#ifndef __FreeBSD__
/* SiS */
Bool drmSiSAgpInit(int driSubFD, int offset, int size)
@@ -1026,6 +1025,7 @@
return 1; /* TRUE */
}
+#ifndef __FreeBSD__
/* I830 */
Bool drmI830CleanupDma(int driSubFD)

View File

@ -1,12 +0,0 @@
--- programs/Xserver/hw/xfree86/xf86config/xf86config.c.orig Fri Nov 14 02:40:24 2003
+++ programs/Xserver/hw/xfree86/xf86config/xf86config.c Thu Nov 4 00:15:33 2004
@@ -838,8 +838,7 @@
"which is the rate at which scanlines are displayed.\n"
"\n"
"The valid range for horizontal sync and vertical sync should be documented\n"
-"in the manual of your monitor. If in doubt, check the monitor database\n"
-TREEROOTLX "/doc/Monitors to see if your monitor is there.\n"
+"in the manual of your monitor.\n"
"\n";
static char *hsyncintro_text =

View File

@ -1,186 +0,0 @@
Index: programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -u -r1.118 -r1.119
--- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 26 Feb 2004 04:25:29 -0000 1.118
+++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 3 Mar 2004 18:11:43 -0000 1.119
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v 1.118 2004/02/26 04:25:29 martin Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v 1.119 2004/03/03 18:11:43 dawes Exp $ */
/*
* Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
* VA Linux Systems Inc., Fremont, California.
@@ -7031,12 +7031,79 @@
RADEONFreeRec(pScrn);
}
+/*
+ * Powering done DAC, needed for DPMS problem with ViewSonic P817 (or its variant).
+ *
+ * Note for current DAC mapping when calling this function:
+ * For most of cards:
+ * single CRT: Driver doesn't change the existing CRTC->DAC mapping,
+ * CRTC1 could be driving either DAC or both DACs.
+ * CRT+CRT: CRTC1->TV DAC, CRTC2->Primary DAC
+ * DFP/LCD+CRT: CRTC2->TV DAC, CRTC2->Primary DAC.
+ * Some boards have two DACs reversed or don't even have a primary DAC,
+ * this is reflected in pRADEONEnt->ReversedDAC. And radeon 7200 doesn't
+ * have a second DAC.
+ * It's kind of messy, we'll need to redo DAC mapping part some day.
+ */
+static void RADEONDacPowerSet(ScrnInfoPtr pScrn, Bool IsOn, Bool IsPrimaryDAC)
+{
+ RADEONInfoPtr info = RADEONPTR(pScrn);
+ unsigned char *RADEONMMIO = info->MMIO;
+
+ if (IsPrimaryDAC) {
+ CARD32 dac_cntl;
+ CARD32 dac_macro_cntl = 0;
+ dac_cntl = INREG(RADEON_DAC_CNTL);
+ if ((!info->IsMobility) || (info->ChipFamily == CHIP_FAMILY_RV350))
+ dac_macro_cntl = INREG(RADEON_DAC_MACRO_CNTL);
+ if (IsOn) {
+ dac_cntl &= ~RADEON_DAC_PDWN;
+ dac_macro_cntl &= ~(RADEON_DAC_PDWN_R |
+ RADEON_DAC_PDWN_G |
+ RADEON_DAC_PDWN_B);
+ } else {
+ dac_cntl |= RADEON_DAC_PDWN;
+ dac_macro_cntl |= (RADEON_DAC_PDWN_R |
+ RADEON_DAC_PDWN_G |
+ RADEON_DAC_PDWN_B);
+ }
+ OUTREG(RADEON_DAC_CNTL, dac_cntl);
+ if ((!info->IsMobility) || (info->ChipFamily == CHIP_FAMILY_RV350))
+ OUTREG(RADEON_DAC_MACRO_CNTL, dac_macro_cntl);
+ } else {
+ if (info->ChipFamily != CHIP_FAMILY_R200) {
+ CARD32 tv_dac_cntl = INREG(RADEON_TV_DAC_CNTL);
+ if (IsOn) {
+ tv_dac_cntl &= ~(RADEON_TV_DAC_RDACPD |
+ RADEON_TV_DAC_GDACPD |
+ RADEON_TV_DAC_BDACPD |
+ RADEON_TV_DAC_BGSLEEP);
+ } else {
+ tv_dac_cntl |= (RADEON_TV_DAC_RDACPD |
+ RADEON_TV_DAC_GDACPD |
+ RADEON_TV_DAC_BDACPD |
+ RADEON_TV_DAC_BGSLEEP);
+ }
+ OUTREG(RADEON_TV_DAC_CNTL, tv_dac_cntl);
+ } else {
+ CARD32 fp2_gen_cntl = INREG(RADEON_FP2_GEN_CNTL);
+ if (IsOn) {
+ fp2_gen_cntl |= RADEON_FP2_DV0_EN;
+ } else {
+ fp2_gen_cntl &= ~RADEON_FP2_DV0_EN;
+ }
+ OUTREG(RADEON_FP2_GEN_CNTL, fp2_gen_cntl);
+ }
+ }
+}
+
/* Sets VESA Display Power Management Signaling (DPMS) Mode */
static void RADEONDisplayPowerManagementSet(ScrnInfoPtr pScrn,
int PowerManagementMode,
int flags)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
+ RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn);
unsigned char *RADEONMMIO = info->MMIO;
#ifdef XF86DRI
@@ -7055,8 +7122,6 @@
RADEON_CRTC2_VSYNC_DIS |
RADEON_CRTC2_HSYNC_DIS);
- /* TODO: additional handling for LCD ? */
-
switch (PowerManagementMode) {
case DPMSModeOn:
/* Screen: On; HSync: On, VSync: On */
@@ -7123,13 +7188,19 @@
if (info->ChipFamily >= CHIP_FAMILY_R200) {
OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_DV0_EN, ~RADEON_FP2_DV0_EN);
}
+ } else if (info->DisplayType == MT_CRT) {
+ RADEONDacPowerSet(pScrn, TRUE, !pRADEONEnt->ReversedDAC);
}
} else {
- if ((info->Clone) && (info->CloneType == MT_DFP)) {
- OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_BLANK_EN);
- OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_ON, ~RADEON_FP2_ON);
- if (info->ChipFamily >= CHIP_FAMILY_R200) {
- OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_DV0_EN, ~RADEON_FP2_DV0_EN);
+ if (info->Clone) {
+ if (info->CloneType == MT_DFP) {
+ OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_BLANK_EN);
+ OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_ON, ~RADEON_FP2_ON);
+ if (info->ChipFamily >= CHIP_FAMILY_R200) {
+ OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_DV0_EN, ~RADEON_FP2_DV0_EN);
+ }
+ } else if (info->CloneType == MT_CRT) {
+ RADEONDacPowerSet(pScrn, TRUE, !pRADEONEnt->ReversedDAC);
}
}
if (info->DisplayType == MT_DFP) {
@@ -7140,6 +7211,14 @@
OUTREGP (RADEON_LVDS_GEN_CNTL, RADEON_LVDS_BLON, ~RADEON_LVDS_BLON);
usleep (info->PanelPwrDly * 1000);
OUTREGP (RADEON_LVDS_GEN_CNTL, RADEON_LVDS_ON, ~RADEON_LVDS_ON);
+ } else if (info->DisplayType == MT_CRT) {
+ if ((pRADEONEnt->HasSecondary) || info->Clone) {
+ RADEONDacPowerSet(pScrn, TRUE, pRADEONEnt->ReversedDAC);
+ } else {
+ RADEONDacPowerSet(pScrn, TRUE, TRUE);
+ if (info->HasCRTC2)
+ RADEONDacPowerSet(pScrn, TRUE, FALSE);
+ }
}
}
} else if ((PowerManagementMode == DPMSModeOff) ||
@@ -7152,13 +7231,19 @@
if (info->ChipFamily >= CHIP_FAMILY_R200) {
OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_DV0_EN);
}
+ } else if (info->DisplayType == MT_CRT) {
+ RADEONDacPowerSet(pScrn, FALSE, !pRADEONEnt->ReversedDAC);
}
} else {
- if ((info->Clone) && (info->CloneType == MT_DFP)) {
- OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_BLANK_EN, ~RADEON_FP2_BLANK_EN);
- OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_ON);
- if (info->ChipFamily >= CHIP_FAMILY_R200) {
- OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_DV0_EN);
+ if (info->Clone) {
+ if(info->CloneType == MT_DFP) {
+ OUTREGP (RADEON_FP2_GEN_CNTL, RADEON_FP2_BLANK_EN, ~RADEON_FP2_BLANK_EN);
+ OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_ON);
+ if (info->ChipFamily >= CHIP_FAMILY_R200) {
+ OUTREGP (RADEON_FP2_GEN_CNTL, 0, ~RADEON_FP2_DV0_EN);
+ }
+ } else if (info->CloneType == MT_CRT) {
+ RADEONDacPowerSet(pScrn, FALSE, !pRADEONEnt->ReversedDAC);
}
}
if (info->DisplayType == MT_DFP) {
@@ -7179,6 +7264,17 @@
if (info->IsMobility || info->IsIGP) {
OUTPLL(RADEON_PIXCLKS_CNTL, tmpPixclksCntl);
}
+ } else if (info->DisplayType == MT_CRT) {
+ if ((pRADEONEnt->HasSecondary) || info->Clone) {
+ RADEONDacPowerSet(pScrn, FALSE, pRADEONEnt->ReversedDAC);
+ } else {
+ /* single CRT, turning both DACs off, we don't really know
+ * which DAC is actually connected.
+ */
+ RADEONDacPowerSet(pScrn, FALSE, TRUE);
+ if (info->HasCRTC2) /* don't apply this to old radeon (singel CRTC) card */
+ RADEONDacPowerSet(pScrn, FALSE, FALSE);
+ }
}
}
}

View File

@ -1,31 +0,0 @@
Index: programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -u -r1.32 -r1.33
--- programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h 19 Feb 2004 22:38:12 -0000 1.32
+++ programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h 3 Mar 2004 18:11:45 -0000 1.33
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v 1.32 2004/02/19 22:38:12 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v 1.33 2004/03/03 18:11:45 dawes Exp $ */
/*
* Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
* VA Linux Systems Inc., Fremont, California.
@@ -401,11 +401,16 @@
# define RADEON_DAC_FORCE_DATA_SEL_MASK (3 << 6)
# define RADEON_DAC_FORCE_DATA_MASK 0x0003ff00
# define RADEON_DAC_FORCE_DATA_SHIFT 8
+#define RADEON_DAC_MACRO_CNTL 0x0d04
+# define RADEON_DAC_PDWN_R (1 << 16)
+# define RADEON_DAC_PDWN_G (1 << 17)
+# define RADEON_DAC_PDWN_B (1 << 18)
#define RADEON_TV_DAC_CNTL 0x088c
# define RADEON_TV_DAC_STD_MASK 0x0300
# define RADEON_TV_DAC_RDACPD (1 << 24)
# define RADEON_TV_DAC_GDACPD (1 << 25)
# define RADEON_TV_DAC_BDACPD (1 << 26)
+# define RADEON_TV_DAC_BGSLEEP (1 << 26)
#define RADEON_DISP_HW_DEBUG 0x0d14
# define RADEON_CRT2_DISP1_SEL (1 << 5)
#define RADEON_DISP_OUTPUT_CNTL 0x0d64

View File

@ -0,0 +1,17 @@
Index: programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c
===================================================================
RCS file: /usr/local/repos/xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c 18 Feb 2005 02:55:10 -0000 1.193
+++ programs/Xserver/hw/xfree86/drivers/trident/trident_driver.c 30 Apr 2005 17:04:00 -0000 1.194
@@ -2606,7 +2606,7 @@
TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
TRIDENTRegPtr tridentReg;
- WAITFORVSYNC;
+ if (!xf86IsPc98()) WAITFORVSYNC;
TridentFindClock(pScrn,mode->Clock);

View File

@ -0,0 +1,19 @@
Index: programs/Xserver/hw/xfree86/drivers/trident/trident_video.c
===================================================================
RCS file: /usr/local/repos/xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_video.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- programs/Xserver/hw/xfree86/drivers/trident/trident_video.c 29 Mar 2004 16:25:22 -0000 1.47
+++ programs/Xserver/hw/xfree86/drivers/trident/trident_video.c 30 Apr 2005 17:04:00 -0000 1.48
@@ -1307,6 +1307,8 @@
* full vblank has passed.
* - Alan.
*/
- WAITFORVSYNC;
- WAITFORVSYNC;
+ if (!xf86IsPc98()) {
+ WAITFORVSYNC;
+ WAITFORVSYNC;
+ }
}

View File

@ -3,16 +3,16 @@ bin/XFree86
bin/getconfig
bin/getconfig.pl
bin/gtf
%%SPARC64_NA%%bin/inb
%%SPARC64_NA%%bin/inl
%%SPARC64_NA%%bin/inw
%%SPARC64_NA%%bin/ioport
%%PPC_NA%%%%SPARC64_NA%%bin/inb
%%PPC_NA%%%%SPARC64_NA%%bin/inl
%%PPC_NA%%%%SPARC64_NA%%bin/inw
%%PPC_NA%%%%SPARC64_NA%%bin/ioport
bin/kbd_mode
bin/mmapr
bin/mmapw
%%SPARC64_NA%%bin/outb
%%SPARC64_NA%%bin/outl
%%SPARC64_NA%%bin/outw
%%PPC_NA%%%%SPARC64_NA%%bin/outb
%%PPC_NA%%%%SPARC64_NA%%bin/outl
%%PPC_NA%%%%SPARC64_NA%%bin/outw
bin/pcitweak
%%I386%%bin/scanpci
bin/xf86cfg
@ -39,85 +39,52 @@ lib/X11/Options
lib/X11/XF86Config.98
lib/X11/XF86Config.eg
lib/X11/app-defaults/XF86Cfg
lib/X11/doc/BUILD
lib/X11/doc/BugReport
lib/X11/doc/DESIGN
lib/X11/doc/Install
lib/X11/doc/Japanese/README98
lib/X11/doc/Japanese/README98.1st
lib/X11/doc/LICENSE
lib/X11/doc/README
lib/X11/doc/README.DECtga
lib/X11/doc/README.DRI
lib/X11/doc/README.DRIcomp
lib/X11/doc/README.I128
lib/X11/doc/README.SiS
lib/X11/doc/README.XKB-Config
lib/X11/doc/README.XKB-Enhancing
lib/X11/doc/README.apm
lib/X11/doc/README.ati
lib/X11/doc/README.chips
lib/X11/doc/README.cyrix
lib/X11/doc/README.dps
lib/X11/doc/README.fonts
lib/X11/doc/README.i740
lib/X11/doc/README.i810
lib/X11/doc/README.mouse
lib/X11/doc/README.newport
lib/X11/doc/README.r128
lib/X11/doc/README.rapidaccess
lib/X11/doc/README.rendition
lib/X11/doc/README.s3virge
lib/X11/doc/RELNOTES
lib/X11/doc/Versions
lib/X11/doc/VideoBoard98
share/doc/XFree86/BUILD
share/doc/XFree86/BugReport
share/doc/XFree86/DESIGN
share/doc/XFree86/Install
share/doc/XFree86/Japanese/README98
share/doc/XFree86/Japanese/README98.1st
share/doc/XFree86/LICENSE
share/doc/XFree86/README
share/doc/XFree86/README.DECtga
share/doc/XFree86/README.DRI
share/doc/XFree86/README.DRIcomp
share/doc/XFree86/README.I128
share/doc/XFree86/README.SiS
share/doc/XFree86/README.XKB-Config
share/doc/XFree86/README.XKB-Enhancing
share/doc/XFree86/README.apm
share/doc/XFree86/README.ati
share/doc/XFree86/README.chips
share/doc/XFree86/README.cyrix
share/doc/XFree86/README.dps
share/doc/XFree86/README.fonts
share/doc/XFree86/README.i740
share/doc/XFree86/README.i810
share/doc/XFree86/README.mouse
share/doc/XFree86/README.newport
share/doc/XFree86/README.r128
share/doc/XFree86/README.rapidaccess
share/doc/XFree86/README.rendition
share/doc/XFree86/README.s3virge
share/doc/XFree86/RELNOTES
share/doc/XFree86/Versions
share/doc/XFree86/VideoBoard98
lib/X11/etc/Xinstall.sh
lib/X11/etc/sun.termcap
lib/X11/etc/sun.terminfo
lib/X11/etc/xmodmap.std
lib/X11/getconfig/cfg.sample
lib/X11/getconfig/xfree86.cfg
lib/X11/xserver/SecurityPolicy.default-Server
lib/modules/codeconv/libARABIC.a
lib/modules/codeconv/libARMSCII8.a
lib/modules/codeconv/libBIG5.a
lib/modules/codeconv/libBIG5HKSCS.a
lib/modules/codeconv/libDOSENCODING.a
lib/modules/codeconv/libGB18030.a
lib/modules/codeconv/libGB2312.a
lib/modules/codeconv/libGBK.a
lib/modules/codeconv/libGEORGIAN.a
lib/modules/codeconv/libISO8859_1.a
lib/modules/codeconv/libISO8859_10.a
lib/modules/codeconv/libISO8859_11.a
lib/modules/codeconv/libISO8859_13.a
lib/modules/codeconv/libISO8859_14.a
lib/modules/codeconv/libISO8859_15.a
lib/modules/codeconv/libISO8859_2.a
lib/modules/codeconv/libISO8859_3.a
lib/modules/codeconv/libISO8859_4.a
lib/modules/codeconv/libISO8859_5.a
lib/modules/codeconv/libISO8859_6.a
lib/modules/codeconv/libISO8859_7.a
lib/modules/codeconv/libISO8859_8.a
lib/modules/codeconv/libISO8859_9.a
lib/modules/codeconv/libJISX0201.a
lib/modules/codeconv/libJISX0208.a
lib/modules/codeconv/libJISX0212.a
lib/modules/codeconv/libKOI8.a
lib/modules/codeconv/libKSC5601.a
lib/modules/codeconv/libKSCJOHAB.a
lib/modules/codeconv/libMULEENCODING.a
lib/modules/codeconv/libTCVN.a
lib/modules/codeconv/libVISCII.a
%%AMD64_I386%%lib/modules/drivers/apm_drv.o
%%AMD64_I386%%lib/modules/drivers/ark_drv.o
lib/modules/drivers/ati_drv.o
lib/modules/drivers/atimisc_drv.o
%%AMD64_I386%%lib/modules/drivers/chips_drv.o
%%SPARC64_NA%%lib/modules/drivers/cirrus_alpine.o
%%SPARC64_NA%%lib/modules/drivers/cirrus_drv.o
%%SPARC64_NA%%lib/modules/drivers/cirrus_laguna.o
%%PPC_NA%%%%SPARC64_NA%%lib/modules/drivers/cirrus_alpine.o
%%PPC_NA%%%%SPARC64_NA%%lib/modules/drivers/cirrus_drv.o
%%PPC_NA%%%%SPARC64_NA%%lib/modules/drivers/cirrus_laguna.o
%%AMD64_I386%%lib/modules/drivers/cyrix_drv.o
%%AMD64%%lib/modules/drivers/dummy_drv.o
%%AMD64%%lib/modules/drivers/fbdev_drv.o
@ -131,16 +98,16 @@ lib/modules/drivers/atimisc_drv.o
lib/modules/drivers/nv_drv.o
lib/modules/drivers/r128_drv.o
lib/modules/drivers/radeon_drv.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/rendition_drv.o
%%PPC_NA%%%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/rendition_drv.o
lib/modules/drivers/riva128.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/s3_drv.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/s3virge_drv.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/savage_drv.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/siliconmotion_drv.o
%%PPC_NA%%%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/siliconmotion_drv.o
%%AMD64_I386%%lib/modules/drivers/sis_drv.o
%%SPARC64%%lib/modules/drivers/sunffb_drv.o
%%SPARC64_NA%%lib/modules/drivers/tdfx_drv.o
%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/tga_drv.o
%%PPC_NA%%%%SPARC64_NA%%%%IA64_NA%%lib/modules/drivers/tga_drv.o
%%AMD64_I386%%lib/modules/drivers/trident_drv.o
%%AMD64_I386%%lib/modules/drivers/tseng_drv.o
%%AMD64_I386%%lib/modules/drivers/vesa_drv.o
@ -200,7 +167,16 @@ lib/modules/libxf4bpp.a
lib/modules/libxf8_16bpp.a
lib/modules/libxf8_32bpp.a
%%SPARC64%%lib/modules/libxf8_32wid.a
%%SPARC64_NA%%lib/modules/v10002d.uc
%%SPARC64_NA%%lib/modules/v20002d.uc
%%PPC_NA%%%%SPARC64_NA%%lib/modules/v10002d.uc
%%PPC_NA%%%%SPARC64_NA%%lib/modules/v20002d.uc
@dirrm lib/X11/etc
@dirrm lib/X11/getconfig
@unexec rmdir %D/lib/X11/doc/Japanese 2>/dev/null || true
@dirrm lib/modules/drivers
@dirrm lib/modules/extensions
@dirrm lib/modules/fonts
@dirrm lib/modules/freebsd
@dirrm lib/modules/input
@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true
@unexec rmdir %D/lib/modules 2>/dev/null || true
@unexec rmdir %D/share/doc/XFree86/Japanese 2>/dev/null || true
@unexec rmdir %D/share/doc/XFree86 2>/dev/null || true

View File

@ -32,7 +32,6 @@ echo "#define XInputDrivers mouse keyboard digitaledge dynapro elo2300 \
wacom void citron" >> $LOCALDEF
echo "#define BuildXF86DRI ${BuildXF86DRI}" >> $LOCALDEF
echo "#define BuildXF86DRM NO" >> $LOCALDEF
echo "#define InstSrcDir $WRKDIR/drmsource" >> $LOCALDEF
echo "#define HasGlide3 YES" >> $LOCALDEF
# Install driver manpages as foo.4x so they can easily be accesed by
@ -55,9 +54,11 @@ for i in \
BuildFontServer \
XVirtualFramebufferServer \
XprtServer \
BuildDmx \
LibHeaders \
LibInstall \
ForceNormalLib \
InstallSecurityConfig \
XTrueTypeInstallCConvHeaders
do \
echo "#define $i NO" >> $LOCALDEF

View File

@ -6,45 +6,28 @@
#
PORTNAME= VirtualFramebufferServer
PORTVERSION= 4.4.0
PORTREVISION= 1
PORTVERSION= 4.5.0
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
anholt/:local
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz:x \
XFree86-4.4.0-src-2.tgz:x \
XFree86-4.4.0-src-3.tgz:x \
Wraphelp2.gz:local
EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 virtual framebuffer server
CONFLICTS= xorg-vfbserver-*
RUN_DEPENDS= ${FONT}:${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps
FONT= ${X11BASE}/lib/X11/fonts/misc/cursor.pcf.gz
CONFLICTS= xorg-vfbserver-[0-9]*
MAN1= Xvfb.1
EXTRA_PATCHES+= ${FILESDIR}/patch-programs::Xserver::Xext::Imakefile
PLIST_FILES= bin/Xvfb
XBUILD_DIRS= lib/font lib/lbxutil/ lib/Xdmcp lib/Xau programs/Xserver
XINCLUDE_DIRS= lib/xkbfile lib/xtrans
XINSTALL_DIRS= programs/Xserver
XINSTALL_MAN_DIRS= programs/Xserver/hw/vfb
post-extract:
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
post-install:
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4

View File

@ -1,8 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
SIZE (xc/Wraphelp2.gz) = 3376
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -1,11 +0,0 @@
--- programs/Xserver/Xext/Imakefile.orig Mon May 10 01:50:48 2004
+++ programs/Xserver/Xext/Imakefile Mon May 10 01:53:00 2004
@@ -160,7 +160,7 @@
LinkSourceFile(modinit.h,extmod)
#if BuildXCSecurity && InstallSecurityConfig
-InstallNonExecFile(SecurityPolicy,$(SERVERCONFIGDIR))
+InstallNamedNonExec(SecurityPolicy,SecurityPolicy.default-VFBServer,$(SERVERCONFIGDIR))
#endif
DependTarget()

View File

@ -1,2 +0,0 @@
bin/Xvfb
lib/X11/xserver/SecurityPolicy.default-VFBServer

View File

@ -37,8 +37,10 @@ for i in BuildFonts \
BuildFontServer \
XnestServer \
XprtServer \
XdmxServer \
LibHeaders \
ForceNormalLib \
InstallSecurityConfig \
XTrueTypeInstallCConvHeaders
do \
echo "#define $i NO" >> $LOCALDEF

View File

@ -6,16 +6,15 @@
#
PORTNAME= clients
PORTVERSION= 4.4.0
PORTREVISION= 5
PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz \
XFree86-4.4.0-src-4.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz \
XFree86-${PORTVERSION}-src-4.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 client programs and related files
@ -42,12 +41,7 @@ XINSTALL_MAN_DIRS= programs
.for pf in patch-bdftruncate.pl patch-ucs2any.pl \
patch-programs::fonttosfnt::read.c \
patch-programs::Imakefile \
patch-programs::xdm::Imakefile \
patch-programs::xdm::session.c \
patch-programs::xdm::socket.c \
patch-programs::xkbcomp::symbols::Imakefile \
patch-programs::xkbcomp::symbols::pc::Imakefile
patch-programs::Imakefile
EXTRA_PATCHES+= ${FILESDIR}/${pf}
.endfor
@ -94,7 +88,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86-4
IGNORE= is part of XFree86-4
.endif
.include "${FILESDIR}/manpages"

View File

@ -1,8 +1,8 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/XFree86-4.4.0-src-4.tgz) = 5d1792f5c154c7462c6aef39c7853b3b
SIZE (xc/XFree86-4.4.0-src-4.tgz) = 13057535
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763
MD5 (xc/XFree86-4.5.0-src-4.tgz) = 217bb03a07cf94561b35815ce257c159
SIZE (xc/XFree86-4.5.0-src-4.tgz) = 12328580

View File

@ -1,14 +0,0 @@
--- programs/xdm/Imakefile.old Wed Jun 30 22:11:46 2004
+++ programs/xdm/Imakefile Wed Jun 30 22:12:12 2004
@@ -31,7 +31,11 @@
#endif
#if HasSecureRPC
+#if defined(FreeBSDArchitecture) && (OSMajorVersion < 5)
+RPC_DEFINES = -DSECURE_RPC -DFREEBSD_OLD_RPC
+#else
RPC_DEFINES = -DSECURE_RPC
+#endif
RPCOBJS = rpcauth.o
RPCSRCS = rpcauth.c
RPCLIB = -lrpcsvc

View File

@ -1,27 +0,0 @@
--- programs/xdm/session.c.old Wed Jun 30 22:12:02 2004
+++ programs/xdm/session.c Wed Jun 30 22:12:21 2004
@@ -54,8 +54,12 @@
#ifdef SECURE_RPC
# include <rpc/rpc.h>
# include <rpc/key_prot.h>
+#ifdef FREEBSD_OLD_RPC
+extern int key_setnet(struct netstarg *arg);
+#else
extern int key_setnet(struct key_netstarg *arg);
#endif
+#endif
#ifdef K5AUTH
# include <krb5/krb5.h>
#endif
@@ -643,7 +647,11 @@
char netname[MAXNETNAMELEN+1], secretkey[HEXKEYBYTES+1];
int nameret, keyret;
int len;
+#ifdef FREEBSD_OLD_RPC
+ struct netstarg netst;
+#else
struct key_netstarg netst;
+#endif
int key_set_ok = 0;
nameret = getnetname (netname);

View File

@ -1,12 +0,0 @@
--- programs/xdm/socket.c.orig Thu Jun 3 05:38:29 2004
+++ programs/xdm/socket.c Thu Jun 3 05:40:54 2004
@@ -66,6 +66,9 @@
char *name = localHostname ();
registerHostname (name, strlen (name));
+ if (request_port == 0)
+ return;
+
#if defined(IPv6) && defined(AF_INET6)
chooserFd = socket (AF_INET6, SOCK_STREAM, 0);
#else

View File

@ -1,11 +0,0 @@
--- programs/xkbcomp/symbols/Imakefile.orig Sun Sep 19 21:29:40 2004
+++ programs/xkbcomp/symbols/Imakefile Sun Sep 19 21:30:09 2004
@@ -15,7 +15,7 @@
czsk cz cz_qwerty \
de de_CH dev dk dvorak \
ee el en_US es \
- fi fr fr_CH \
+ fi fo fr fr_CH \
gb ge_la ge_ru group guj gur \
hr hr_US hu hu_US hu_qwerty \
ie il il_phonetic iso9995-3 inet ir is it iu \

View File

@ -1,11 +0,0 @@
--- programs/xkbcomp/symbols/pc/Imakefile.orig Sun Sep 19 21:31:10 2004
+++ programs/xkbcomp/symbols/pc/Imakefile Sun Sep 19 21:31:20 2004
@@ -7,7 +7,7 @@
cz cz_qwerty \
de dev dk dvorak dz \
ee el en_US es \
- fi fr fr-latin9 \
+ fi fo fr fr-latin9 \
gb ge_la ge_ru guj gur \
hr \
ie il il_phonetic ir is it iu \

View File

@ -580,7 +580,9 @@ lib/X11/xkb/symbols/iu
lib/X11/xkb/symbols/jp
lib/X11/xkb/symbols/kan
lib/X11/xkb/symbols/keypad
lib/X11/xkb/symbols/ky
lib/X11/xkb/symbols/la
lib/X11/xkb/symbols/lat
lib/X11/xkb/symbols/level3
lib/X11/xkb/symbols/lo
lib/X11/xkb/symbols/lock
@ -640,6 +642,8 @@ lib/X11/xkb/symbols/pc/ge_ru
lib/X11/xkb/symbols/pc/guj
lib/X11/xkb/symbols/pc/gur
lib/X11/xkb/symbols/pc/hr
lib/X11/xkb/symbols/pc/hsb
lib/X11/xkb/symbols/pc/hu
lib/X11/xkb/symbols/pc/ie
lib/X11/xkb/symbols/pc/il
lib/X11/xkb/symbols/pc/il_phonetic
@ -648,7 +652,9 @@ lib/X11/xkb/symbols/pc/is
lib/X11/xkb/symbols/pc/it
lib/X11/xkb/symbols/pc/iu
lib/X11/xkb/symbols/pc/kan
lib/X11/xkb/symbols/pc/ky
lib/X11/xkb/symbols/pc/la
lib/X11/xkb/symbols/pc/lat
lib/X11/xkb/symbols/pc/latin
lib/X11/xkb/symbols/pc/lo
lib/X11/xkb/symbols/pc/lt
@ -674,6 +680,7 @@ lib/X11/xkb/symbols/pc/se_FI
lib/X11/xkb/symbols/pc/se_NO
lib/X11/xkb/symbols/pc/se_SE
lib/X11/xkb/symbols/pc/si
lib/X11/xkb/symbols/pc/sin
lib/X11/xkb/symbols/pc/sk
lib/X11/xkb/symbols/pc/sk_qwerty
lib/X11/xkb/symbols/pc/sr
@ -687,6 +694,7 @@ lib/X11/xkb/symbols/pc/tj
lib/X11/xkb/symbols/pc/tml
lib/X11/xkb/symbols/pc/tr
lib/X11/xkb/symbols/pc/ua
lib/X11/xkb/symbols/pc/ur_PK
lib/X11/xkb/symbols/pc/us
lib/X11/xkb/symbols/pc/us_intl
lib/X11/xkb/symbols/pc/uz
@ -748,6 +756,7 @@ lib/X11/xkb/types/pc
lib/X11/xkb/xkbcomp
lib/X11/xman.help
lib/X11/xsm/system.xsm
@dirrm lib/X11/fonts/util
@dirrm lib/X11/icons/default
@dirrm lib/X11/icons/handhelds/cursors
@dirrm lib/X11/icons/handhelds
@ -755,5 +764,48 @@ lib/X11/xsm/system.xsm
@dirrm lib/X11/icons/redglass
@dirrm lib/X11/icons/whiteglass/cursors
@dirrm lib/X11/icons/whiteglass
@dirrm lib/X11/icons
@dirrm lib/X11/lbxproxy
@dirrm lib/X11/proxymngr
@dirrm lib/X11/rstart/commands/x11r6
@dirrm lib/X11/rstart/commands
@dirrm lib/X11/rstart/contexts
@dirrm lib/X11/rstart
@dirrm lib/X11/twm
@dirrm lib/X11/x11perfcomp
@dirrm lib/X11/xdm/default
@dirrm lib/X11/xdm/pixmaps
@dirrm lib/X11/xdm
@dirrm lib/X11/xedit/lisp/progmodes
@dirrm lib/X11/xedit/lisp
@dirrm lib/X11/xedit
@dirrm lib/X11/xinit
@dirrm lib/X11/xkb/compat
@dirrm lib/X11/xkb/compiled
@dirrm lib/X11/xkb/geometry/digital
@dirrm lib/X11/xkb/geometry/ibm
@dirrm lib/X11/xkb/geometry/sgi
@dirrm lib/X11/xkb/geometry
@dirrm lib/X11/xkb/keycodes/digital
@dirrm lib/X11/xkb/keycodes/sgi
@dirrm lib/X11/xkb/keycodes
@dirrm lib/X11/xkb/keymap/digital
@dirrm lib/X11/xkb/keymap/sgi
@dirrm lib/X11/xkb/keymap/sun
@dirrm lib/X11/xkb/keymap
@dirrm lib/X11/xkb/rules
@dirrm lib/X11/xkb/semantics
@dirrm lib/X11/xkb/symbols/digital
@dirrm lib/X11/xkb/symbols/fujitsu
@dirrm lib/X11/xkb/symbols/hp
@dirrm lib/X11/xkb/symbols/macintosh
@dirrm lib/X11/xkb/symbols/nec
@dirrm lib/X11/xkb/symbols/pc
@dirrm lib/X11/xkb/symbols/sgi
@dirrm lib/X11/xkb/symbols/sony
@dirrm lib/X11/xkb/symbols/sun
@dirrm lib/X11/xkb/symbols/xfree68
@dirrm lib/X11/xkb/symbols
@dirrm lib/X11/xkb/types
@dirrm lib/X11/xkb
@dirrm lib/X11/xsm

View File

@ -6,13 +6,13 @@
#
PORTNAME= documents
PORTVERSION= 4.4.0
PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-6.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-6.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 documentation
@ -37,6 +37,6 @@ do-configure:
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86-4
IGNORE= is part of XFree86-4
.endif
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-6.tgz) = d1e12c33e9756d5143004a69f2cdac81
SIZE (xc/XFree86-4.4.0-src-6.tgz) = 3254668
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-6.tgz) = f75cf36c1170c15c5e0de757667151d4
SIZE (xc/XFree86-4.5.0-src-6.tgz) = 3257406

View File

@ -1,6 +1,6 @@
--- Imakefile.orig Sun Apr 11 08:26:03 2004
+++ Imakefile Sun Apr 11 08:26:24 2004
@@ -13,13 +13,11 @@
--- Imakefile.orig Wed Feb 2 17:35:34 2005
+++ Imakefile Wed Feb 2 17:36:07 2005
@@ -8,7 +8,7 @@
#else
SUBDIRS = BDF CTEXT FSProtocol GL ICCCM ICE PM Render SM X11 XDMCP \
XIM XLFD XProtocol Xaw Xext Xi Xmu Xserver Xt Xv XvMC \
@ -8,10 +8,11 @@
+ i18n rstart xfs xterm xtrans
#endif
all::
AllTarget(specindex.html)
@@ -21,6 +21,4 @@
#endif
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
CppRawFileTarget(specindex.html,specindex.cpp,$(SPECINDEXDEFS),NullParameter)
-
-InstallDoc(specindex,specindex.html)

View File

@ -1,93 +1,96 @@
lib/X11/doc/DPMS.txt
lib/X11/doc/DPMSLib.txt
lib/X11/doc/ICElib.txt
lib/X11/doc/LocaleDB.txt
lib/X11/doc/PM_spec.txt
lib/X11/doc/PostScript/DPMS.ps
lib/X11/doc/PostScript/DPMSLib.ps
lib/X11/doc/PostScript/ICElib.ps
lib/X11/doc/PostScript/LocaleDB.ps
lib/X11/doc/PostScript/SMlib.ps
lib/X11/doc/PostScript/XIMTransport.ps
lib/X11/doc/PostScript/XiLib.ps
lib/X11/doc/PostScript/XiPorting.ps
lib/X11/doc/PostScript/XiProtocol.ps
lib/X11/doc/PostScript/Xtrans.ps
lib/X11/doc/PostScript/appgroup.ps
lib/X11/doc/PostScript/bdf.ps
lib/X11/doc/PostScript/bigreq.ps
lib/X11/doc/PostScript/buffer.ps
lib/X11/doc/PostScript/ctext.ps
lib/X11/doc/PostScript/ctlseqs.ps
lib/X11/doc/PostScript/ddx.ps
lib/X11/doc/PostScript/evi.ps
lib/X11/doc/PostScript/fontlib.ps
lib/X11/doc/PostScript/fsproto.ps
lib/X11/doc/PostScript/i18nFramework.ps
lib/X11/doc/PostScript/icccm.ps
lib/X11/doc/PostScript/ice.ps
lib/X11/doc/PostScript/intrinsics.ps
lib/X11/doc/PostScript/mit-shm.ps
lib/X11/doc/PostScript/proto.ps
lib/X11/doc/PostScript/record.ps
lib/X11/doc/PostScript/recordlib.ps
lib/X11/doc/PostScript/rstart.ps
lib/X11/doc/PostScript/shape.ps
lib/X11/doc/PostScript/shapelib.ps
lib/X11/doc/PostScript/tog-cup.ps
lib/X11/doc/PostScript/widgets.ps
lib/X11/doc/PostScript/xc-misc.ps
lib/X11/doc/PostScript/xdmcp.ps
lib/X11/doc/PostScript/xfs-design.ps
lib/X11/doc/PostScript/xim.ps
lib/X11/doc/PostScript/xlfd.ps
lib/X11/doc/PostScript/xlib.ps
lib/X11/doc/PostScript/xmu.ps
lib/X11/doc/PostScript/xsmp.ps
lib/X11/doc/PostScript/xtest.ps
lib/X11/doc/PostScript/xtestlib.ps
lib/X11/doc/SMlib.txt
lib/X11/doc/XIMTransport.txt
lib/X11/doc/XiLib.txt
lib/X11/doc/XiPorting.txt
lib/X11/doc/XiProtocol.txt
lib/X11/doc/Xtrans.txt
lib/X11/doc/XvMC_API.txt
lib/X11/doc/appgroup.txt
lib/X11/doc/bdf.txt
lib/X11/doc/bigreq.txt
lib/X11/doc/buffer.txt
lib/X11/doc/ctext.txt
lib/X11/doc/ctlseqs.txt
lib/X11/doc/ddx.txt
lib/X11/doc/evi.txt
lib/X11/doc/fontlib.txt
lib/X11/doc/fsproto.txt
lib/X11/doc/i18nFramework.txt
lib/X11/doc/icccm.txt
lib/X11/doc/ice.txt
lib/X11/doc/intrinsics.txt
lib/X11/doc/libGL.txt
lib/X11/doc/mit-shm.txt
lib/X11/doc/proto.txt
lib/X11/doc/record.txt
lib/X11/doc/recordlib.txt
lib/X11/doc/render-protocol.txt
lib/X11/doc/rstart.txt
lib/X11/doc/rstartd.txt
lib/X11/doc/shape.txt
lib/X11/doc/shapelib.txt
lib/X11/doc/tog-cup.txt
lib/X11/doc/widgets.txt
lib/X11/doc/xc-misc.txt
lib/X11/doc/xdmcp.txt
lib/X11/doc/xfs-design.txt
lib/X11/doc/xim.txt
lib/X11/doc/xlfd.txt
lib/X11/doc/xlib.txt
lib/X11/doc/xmu.txt
lib/X11/doc/xsmp.txt
lib/X11/doc/xtest.txt
lib/X11/doc/xtestlib.txt
lib/X11/doc/xv-protocol-v2.txt
@unexec rmdir %D/lib/X11/doc/PDF 2>/dev/null || true
share/doc/XFree86/DPMS.txt
share/doc/XFree86/DPMSLib.txt
share/doc/XFree86/ICElib.txt
share/doc/XFree86/LocaleDB.txt
share/doc/XFree86/PM_spec.txt
share/doc/XFree86/PostScript/DPMS.ps
share/doc/XFree86/PostScript/DPMSLib.ps
share/doc/XFree86/PostScript/ICElib.ps
share/doc/XFree86/PostScript/LocaleDB.ps
share/doc/XFree86/PostScript/SMlib.ps
share/doc/XFree86/PostScript/XIMTransport.ps
share/doc/XFree86/PostScript/XiLib.ps
share/doc/XFree86/PostScript/XiPorting.ps
share/doc/XFree86/PostScript/XiProtocol.ps
share/doc/XFree86/PostScript/Xtrans.ps
share/doc/XFree86/PostScript/appgroup.ps
share/doc/XFree86/PostScript/bdf.ps
share/doc/XFree86/PostScript/bigreq.ps
share/doc/XFree86/PostScript/buffer.ps
share/doc/XFree86/PostScript/ctext.ps
share/doc/XFree86/PostScript/ctlseqs.ps
share/doc/XFree86/PostScript/ddx.ps
share/doc/XFree86/PostScript/evi.ps
share/doc/XFree86/PostScript/fontlib.ps
share/doc/XFree86/PostScript/fsproto.ps
share/doc/XFree86/PostScript/i18nFramework.ps
share/doc/XFree86/PostScript/icccm.ps
share/doc/XFree86/PostScript/ice.ps
share/doc/XFree86/PostScript/intrinsics.ps
share/doc/XFree86/PostScript/mit-shm.ps
share/doc/XFree86/PostScript/proto.ps
share/doc/XFree86/PostScript/record.ps
share/doc/XFree86/PostScript/recordlib.ps
share/doc/XFree86/PostScript/rstart.ps
share/doc/XFree86/PostScript/shape.ps
share/doc/XFree86/PostScript/shapelib.ps
share/doc/XFree86/PostScript/tog-cup.ps
share/doc/XFree86/PostScript/widgets.ps
share/doc/XFree86/PostScript/xc-misc.ps
share/doc/XFree86/PostScript/xdmcp.ps
share/doc/XFree86/PostScript/xfs-design.ps
share/doc/XFree86/PostScript/xim.ps
share/doc/XFree86/PostScript/xlfd.ps
share/doc/XFree86/PostScript/xlib.ps
share/doc/XFree86/PostScript/xmu.ps
share/doc/XFree86/PostScript/xsmp.ps
share/doc/XFree86/PostScript/xtest.ps
share/doc/XFree86/PostScript/xtestlib.ps
share/doc/XFree86/SMlib.txt
share/doc/XFree86/XIMTransport.txt
share/doc/XFree86/XiLib.txt
share/doc/XFree86/XiPorting.txt
share/doc/XFree86/XiProtocol.txt
share/doc/XFree86/Xtrans.txt
share/doc/XFree86/XvMC_API.txt
share/doc/XFree86/appgroup.txt
share/doc/XFree86/bdf.txt
share/doc/XFree86/bigreq.txt
share/doc/XFree86/buffer.txt
share/doc/XFree86/ctext.txt
share/doc/XFree86/ctlseqs.txt
share/doc/XFree86/ddx.txt
share/doc/XFree86/evi.txt
share/doc/XFree86/fontlib.txt
share/doc/XFree86/fsproto.txt
share/doc/XFree86/i18nFramework.txt
share/doc/XFree86/icccm.txt
share/doc/XFree86/ice.txt
share/doc/XFree86/intrinsics.txt
share/doc/XFree86/libGL.txt
share/doc/XFree86/mit-shm.txt
share/doc/XFree86/proto.txt
share/doc/XFree86/record.txt
share/doc/XFree86/recordlib.txt
share/doc/XFree86/render-protocol.txt
share/doc/XFree86/rstart.txt
share/doc/XFree86/rstartd.txt
share/doc/XFree86/shape.txt
share/doc/XFree86/shapelib.txt
share/doc/XFree86/tog-cup.txt
share/doc/XFree86/widgets.txt
share/doc/XFree86/xc-misc.txt
share/doc/XFree86/xdmcp.txt
share/doc/XFree86/xfs-design.txt
share/doc/XFree86/xim.txt
share/doc/XFree86/xlfd.txt
share/doc/XFree86/xlib.txt
share/doc/XFree86/xmu.txt
share/doc/XFree86/xsmp.txt
share/doc/XFree86/xtest.txt
share/doc/XFree86/xtestlib.txt
share/doc/XFree86/xv-protocol-v2.txt
@unexec rmdir %D/share/doc/XFree86/PDF 2>/dev/null || true
@unexec rmdir %D/share/doc/XFree86/PostScript 2>/dev/null || true
@unexec rmdir %D/share/doc/XFree86/html 2>/dev/null || true
@unexec rmdir %D/share/doc/XFree86 2>/dev/null || true

View File

@ -6,21 +6,14 @@
#
PORTNAME= libraries
PORTVERSION= 4.4.0
PORTREVISION= 3
PORTVERSION= 4.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
anholt/:local
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= XFree86-4.4.0-src-1.tgz:x \
XFree86-4.4.0-src-2.tgz:x \
XFree86-4.4.0-src-3.tgz:x \
Wraphelp2.gz:local
EXTRACT_ONLY= XFree86-4.4.0-src-1.tgz \
XFree86-4.4.0-src-2.tgz \
XFree86-4.4.0-src-3.tgz
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
XFree86-${PORTVERSION}-src-2.tgz \
XFree86-${PORTVERSION}-src-3.tgz
MAINTAINER= x11@FreeBSD.org
COMMENT= XFree86-4 libraries and headers
@ -28,12 +21,16 @@ COMMENT= XFree86-4 libraries and headers
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
CONFLICTS= Mesa-* libX11-* libGL-* libGLU-* libICE-* libSM-* libXau-* \
libXaw-* libXcursor-* libXdmcp-* libXext-* libXfont-* libXi-* \
libXinerama-* libXmu-* libXp-* libXpm-* libXrandr-* \
libXrender-* libXres-* libXt-* libXv-* libXxf86-* libxkbfile-* \
panoramixext-* printext-* randrext-* renderext-* resourceext-* \
xextensions-* xf86ext-* xlibs-* xorg-libraries-* xpm-* xproto-*
CONFLICTS= Mesa-[0-9]* libX11-[0-9]* libGL-[0-9]* libGLU-[0-9]* \
libICE-[0-9]* libSM-[0-9]* libXau-[0-9]* libXaw-[0-9]* \
libXcursor-[0-9]* libXdmcp-[0-9]* libXext-[0-9]* \
libXfont-[0-9]* libXi-[0-9]* libXinerama-[0-9]* libXmu-[0-9]* \
libXp-[0-9]* libXpm-[0-9]* libXrandr-[0-9]* libXrender-[0-9]* \
libXres-[0-9]* libXt-[0-9]* libXv-[0-9]* libXxf86-[0-9]* \
libxkbfile-[0-9]* panoramixext-[0-9]* printext-[0-9]* \
randrext-[0-9]* renderext-[0-9]* resourceext-[0-9]* \
xextensions-[0-9]* xf86ext-[0-9]* xlibs-[0-9]* \
xorg-libraries-[0-9]* xpm-[0-9]* xproto-[0-9]*
USE_X_PREFIX= no
PREFIX?= ${X11BASE}
@ -96,7 +93,8 @@ XINSTALL_DIRS= include lib nls programs/Xserver/include \
XINSTALL_MAN_DIRS= ${XINSTALL_DIRS}
# XFree86 User Config:
# DebuggableLibraries NO build with debug libs (require FreeBSD-4 or later)
# DebuggableLibraries NO build with debug libs
# (requires FreeBSD 4.X or later)
# ----------------------------------------------------------------------------
DebuggableLibraries?= NO
# End of XFree86 User Config
@ -108,7 +106,7 @@ DebuggableLibraries?= NO
.include "Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86-4
IGNORE= is part of XFree86-4
.endif
# BuildXF86DRI is false for FreeBSD < 4.1
@ -118,27 +116,29 @@ PLIST_SUB+= OSMESA:="@comment "
PLIST_SUB+= OSMESA:=""
.endif
# sparc64 doesn't have a working libc_r yet, and -current doesn't need libXThrStub.
.if ${MACHINE_ARCH} == "sparc64" || ${OSVERSION} >= 500043
PLIST_SUB+= XTHRSTUB:="@comment "
.else
PLIST_SUB+= XTHRSTUB:=""
.endif
post-extract:
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp2.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
# sparc64 doesn't have a working libc_r yet, and -current doesn't need
# libXThrStub.
#.if ${ARCH} == "sparc64" || ${OSVERSION} >= 500043
#PLIST_SUB+= XTHRSTUB:="@comment "
#.else
#PLIST_SUB+= XTHRSTUB:=""
#.endif
post-patch:
${CP} ${FILESDIR}/nls::Compose::microsoft-cp1251 ${WRKSRC}/nls/Compose/microsoft-cp1251
${CP} ${FILESDIR}/nls::Compose::microsoft-cp1251 \
${WRKSRC}/nls/Compose/microsoft-cp1251
post-install:
${MKDIR} ${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PM.h \
${PREFIX}/include/X11/PM
${PREFIX}/include/X11/PM
${INSTALL_DATA} ${WRKSRC}/programs/proxymngr/PMproto.h \
${PREFIX}/include/X11/PM
${PREFIX}/include/X11/PM
${MKDIR} ${PREFIX}/libdata/pkgconfig
${INSTALL_DATA} ${WRKSRC}/lib/Xcursor/xcursor.pc \
${PREFIX}/libdata/pkgconfig
${PREFIX}/libdata/pkgconfig
${MKDIR} ${PREFIX}/lib/X11/xserver
${INSTALL_DATA} ${WRKSRC}/programs/Xserver/Xext/SecurityPolicy \
${PREFIX}/lib/X11/xserver/SecurityPolicy.default
.include <bsd.port.post.mk>

View File

@ -1,8 +1,6 @@
MD5 (xc/XFree86-4.4.0-src-1.tgz) = 97cea3d9e1197dde32ca34e3b6086469
SIZE (xc/XFree86-4.4.0-src-1.tgz) = 11760814
MD5 (xc/XFree86-4.4.0-src-2.tgz) = b9b6c74a03e314569e01d5fd4ff59523
SIZE (xc/XFree86-4.4.0-src-2.tgz) = 5745538
MD5 (xc/XFree86-4.4.0-src-3.tgz) = 703404f48d3a15f58389a879d47c769d
SIZE (xc/XFree86-4.4.0-src-3.tgz) = 11239253
MD5 (xc/Wraphelp2.gz) = bd1910492087442288d885412e2e5535
SIZE (xc/Wraphelp2.gz) = 3376
MD5 (xc/XFree86-4.5.0-src-1.tgz) = 6c0fcf8069c13d068276016bbf6ad712
SIZE (xc/XFree86-4.5.0-src-1.tgz) = 10507331
MD5 (xc/XFree86-4.5.0-src-2.tgz) = cc296c71cbe58edc3ffdec1084e58f4c
SIZE (xc/XFree86-4.5.0-src-2.tgz) = 5826556
MD5 (xc/XFree86-4.5.0-src-3.tgz) = c0ad630bfec4545857c2877b3e2dcbeb
SIZE (xc/XFree86-4.5.0-src-3.tgz) = 12086763

View File

@ -1,300 +0,0 @@
--- config/imake/imakemdep.h.orig Mon Dec 29 20:53:52 2003
+++ config/imake/imakemdep.h Tue Mar 2 11:05:16 2004
@@ -374,6 +374,9 @@
# ifdef __AMD64__
"-D__AMD64__",
# endif
+# ifdef __amd64__
+ "-D__amd64__",
+# endif
# ifdef __x86_64__
"-D__AMD64__",
# endif
@@ -1271,6 +1274,9 @@
# if defined (__AMD64__) || defined (__x86_64__)
{"__AMD64__", "1"},
{"__x86_64__", "1"},
+# endif
+# if defined (__amd64__)
+ {"__amd64__", "1"},
# endif
# ifdef __i386
{"__i386", "1"},
--- extras/Mesa/src/mmath.h.orig Wed Oct 22 11:44:41 2003
+++ extras/Mesa/src/mmath.h Thu Mar 4 14:25:57 2004
@@ -205,7 +205,7 @@
#if defined(__i386__) || defined(__sparc__) || defined(__s390x__) || \
- defined(__powerpc__) || defined(__AMD64__) || \
+ defined(__powerpc__) || defined(__AMD64__) || defined(__amd64__) || \
( defined(__alpha__) && ( defined(__IEEE_FLOAT) || !defined(VMS) ) )
#define USE_IEEE
#endif
--- extras/x86emu/include/x86emu/types.h.orig Mon Jul 7 11:34:21 2003
+++ extras/x86emu/include/x86emu/types.h Thu Mar 4 14:29:56 2004
@@ -76,7 +76,7 @@
defined(__sparc64__) || \
defined(__s390x__) || \
(defined(__hppa__) && defined(__LP64)) || \
- defined(__AMD64__) || defined(AMD64) || \
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
(defined(__sgi) && (_MIPS_SZLONG == 64))
#define NUM32 int
#else
--- include/DPS/dpsconfig.h.orig Thu Mar 4 14:33:19 2004
+++ include/DPS/dpsconfig.h Thu Mar 4 14:33:14 2004
@@ -89,7 +89,7 @@
#if defined(__alpha) || defined(__alpha__) || \
defined(__ia64__) || defined(ia64) || \
defined(__s390x__) || \
- defined(__AMD64__) || defined(AMD64)
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__)
#define IEEEFLOAT 1
#endif
--- include/Xmd.h.orig Thu Oct 23 11:19:01 2003
+++ include/Xmd.h Wed Mar 3 19:29:07 2004
@@ -64,7 +64,7 @@
defined(__sparc64__) || \
defined(__s390x__) || \
(defined(__hppa__) && defined(__LP64__)) || \
- defined(__AMD64__) || defined(AMD64) || \
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
(defined(sgi) && (_MIPS_SZLONG == 64))
#define LONG64 /* 32/64-bit architecture */
#endif
--- lib/Xt/Xtos.h.orig Fri Oct 24 11:47:35 2003
+++ lib/Xt/Xtos.h Thu Mar 4 14:37:00 2004
@@ -67,7 +67,7 @@
defined(__sparc64__) || \
defined(__s390x__) || \
(defined(__hppa__) && defined(__LP64__)) || \
- defined(__AMD64__) || defined(AMD64) || \
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
(defined(sgi) && (_MIPS_SZLONG == 64))
#define LONG64
#endif
--- lib/font/util/fontxlfd.c.orig Fri Oct 24 12:11:52 2003
+++ lib/font/util/fontxlfd.c Thu Mar 4 14:39:56 2004
@@ -197,7 +197,7 @@
defined(ia64) || defined(__ia64__) || \
defined(__alpha__) || defined(__alpha) || \
defined(__hppa__) || \
- defined(__AMD64__) || defined(__AMD64) || \
+ defined(__AMD64__) || defined(__AMD64) || defined(__amd64__) || \
defined(sgi)
#if !defined(__UNIXOS2__)
#include <float.h>
--- programs/Xserver/fb/fb.h.orig Mon Nov 3 00:11:00 2003
+++ programs/Xserver/fb/fb.h Wed Mar 3 19:14:52 2004
@@ -105,7 +105,7 @@
defined(ia64) || defined(__ia64__) || \
defined(__sparc64__) || \
defined(__s390x__) || \
- defined(AMD64) || defined (__AMD64__) || \
+ defined(AMD64) || defined (__AMD64__) || defined (__amd64__) \
(defined(sgi) && (_MIPS_SZLONG == 64))
typedef unsigned long FbBits;
# else
--- programs/Xserver/hw/xfree86/loader/elfloader.c.orig Thu Nov 6 13:38:13 2003
+++ programs/Xserver/hw/xfree86/loader/elfloader.c Thu Mar 4 14:46:17 2004
@@ -137,7 +137,7 @@
# if !defined(linux)
# error No MAP_ANON?
# endif
-# if !defined (__AMD64__) || !defined(__linux__)
+# if !(defined (__AMD64__) || defined (__amd64__)) || !defined(__linux__)
# define MMAP_FLAGS (MAP_PRIVATE | MAP_ANON)
# else
# define MMAP_FLAGS (MAP_PRIVATE | MAP_ANON | MAP_32BIT)
@@ -156,6 +156,7 @@
#if defined (__alpha__) || \
defined (__ia64__) || \
defined (__AMD64__) || \
+ defined (__amd64__) || \
(defined (__sparc__) && \
(defined (__arch64__) || \
defined (__sparcv9)))
@@ -247,7 +248,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
typedef Elf_Rela Elf_Rel_t;
#else
typedef Elf_Rel Elf_Rel_t;
@@ -441,7 +443,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
ELFDEBUG(", r_addend 0x%lx", rel->r_addend);
# endif
ELFDEBUG("\n");
@@ -477,6 +480,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -501,6 +505,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -556,6 +561,7 @@
#if defined(__alpha__) || \
defined(__ia64__) || \
defined(__AMD64__) || \
+ defined(__amd64__) || \
(defined(__sparc__) && \
(defined(__arch64__) || \
defined(__sparcv9)))
@@ -1216,7 +1222,7 @@
unsigned long *dest64;
unsigned short *dest16;
#endif
-#if defined(__AMD64__)
+#if defined(__AMD64__) || defined(__amd64__)
unsigned long *dest64;
int *dest32s;
#endif
@@ -1234,7 +1240,8 @@
defined(__alpha__) || \
defined(__sparc__) || \
defined(__ia64__) || \
- defined(__AMD64__)
+ defined(__AMD64__) || \
+ defined(__amd64__)
ELFDEBUG("%lx", rel->r_addend);
# endif
ELFDEBUG("\n");
@@ -1293,7 +1300,7 @@
break;
#endif /* i386 */
-#if defined(__AMD64__)
+#if defined(__AMD64__) || defined(__amd64__)
case R_X86_64_32:
dest32 = (unsigned int *)(secp + rel->r_offset);
# ifdef ELFDEBUG
--- programs/Xserver/hw/xfree86/loader/loader.c.orig Fri Feb 13 18:58:45 2004
+++ programs/Xserver/hw/xfree86/loader/loader.c Thu Mar 4 14:50:15 2004
@@ -507,7 +507,7 @@
if ((new_off_bias + size) > new_size)
new_size += pagesize;
ret = (unsigned long)mmap(0, new_size, MMAP_PROT, MAP_PRIVATE
-# ifdef __AMD64__
+# if defined(__AMD64__) || defined(__amd64__)
| MAP_32BIT
# endif
, fd, new_off);
@@ -516,7 +516,7 @@
return (void *)(ret + new_off_bias);
# else
ret = (unsigned long)mmap(0, size, MMAP_PROT, MAP_PRIVATE
-# ifdef __AMD64__
+# if defined(__AMD64__) || defined(__amd64__)
| MAP_32BIT
# endif
, fd, offset + offsetbias);
--- programs/Xserver/hw/xfree86/os-support/bus/Imakefile.orig Thu Oct 2 09:30:06 2003
+++ programs/Xserver/hw/xfree86/os-support/bus/Imakefile Thu Mar 4 01:46:09 2004
@@ -80,7 +80,8 @@
PCIDRVRSRC = ix86Pci.c linuxPci.c
PCIDRVROBJ = ix86Pci.o linuxPci.o
-#elif defined(FreeBSDArchitecture) && defined(AlphaArchitecture)
+#elif defined(FreeBSDArchitecture) && \
+ (defined(AlphaArchitecture) || defined(AMD64Architecture))
XCOMM generic FreeBSD PCI driver (using /dev/pci)
--- programs/Xserver/hw/xfree86/os-support/bus/Pci.h.orig Fri Feb 13 18:58:47 2004
+++ programs/Xserver/hw/xfree86/os-support/bus/Pci.h Wed Mar 3 19:39:52 2004
@@ -347,7 +347,7 @@
# if !defined(__FreeBSD__)
# define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
# endif
-#elif defined(__AMD64__)
+#elif defined(__AMD64__) || defined(__amd64__)
# if defined(__FreeBSD__)
# define ARCH_PCI_INIT freebsdPciInit
# else
--- programs/Xserver/hw/xfree86/os-support/xf86drm.h.orig Wed Oct 29 05:57:47 2003
+++ programs/Xserver/hw/xfree86/os-support/xf86drm.h Wed Mar 3 20:13:22 2004
@@ -289,7 +289,7 @@
#define DRM_LOCK_CONT 0x40000000 /**< Hardware lock is contended */
#if defined(__GNUC__) && (__GNUC__ >= 2)
-# if defined(__i386) || defined(__AMD64__)
+# if defined(__i386) || defined(__AMD64__) || defined(__amd64__)
/* Reflect changes here to drmP.h */
#define DRM_CAS(lock,old,new,__ret) \
do { \
--- programs/Xserver/hw/xfree86/xf86cfg/loadmod.c.orig Thu Jun 12 10:12:38 2003
+++ programs/Xserver/hw/xfree86/xf86cfg/loadmod.c Thu Mar 4 14:54:57 2004
@@ -182,7 +182,7 @@
SYMFUNC(xf86memchr)
SYMFUNC(xf86memcmp)
SYMFUNC(xf86memcpy)
-#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || defined(__sparc__) || defined(__ia64__) || defined (__AMD64__)
+#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || defined(__sparc__) || defined(__ia64__) || defined (__AMD64__) || defined (__amd64__)
/*
* Some PPC, SPARC, and IA64 compilers generate calls to memcpy to handle
* structure copies. This causes a problem both here and in shared
--- programs/Xserver/include/servermd.h.orig Mon Nov 3 00:11:59 2003
+++ programs/Xserver/include/servermd.h Tue Mar 2 10:55:03 2004
@@ -389,7 +389,8 @@
#endif /* ia64 */
-#if defined(__AMD64__) || defined(AMD64)
+#if defined(__AMD64__) || defined(AMD64) || \
+ defined(__amd64__)
# define IMAGE_BYTE_ORDER LSBFirst
# if defined(XF86MONOVGA) || defined(XF86VGA16) || defined(XF86MONO)
--- programs/Xserver/mi/micoord.h.orig Fri Feb 13 18:58:52 2004
+++ programs/Xserver/mi/micoord.h Thu Mar 4 14:57:05 2004
@@ -70,7 +70,7 @@
defined(__i386__) || defined(i386) || \
defined(__ia64__) || defined(ia64) || \
defined(__s390x__) || defined(__s390__) || \
- defined(__AMD64__) || defined(AMD64)
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__)
#define GetHighWord(x) (((int) (x)) >> 16)
#else
#define GetHighWord(x) (((int) (x)) / 65536)
--- programs/Xserver/os/xalloc.c.orig Mon Nov 3 00:12:00 2003
+++ programs/Xserver/os/xalloc.c Thu Mar 4 15:00:10 2004
@@ -184,7 +184,7 @@
defined(__ia64__) || defined(ia64) || \
defined(__sparc64__) || \
defined(__s390x__) || \
- defined(__AMD64__) || defined(AMD64) || \
+ defined(__AMD64__) || defined(AMD64) || defined(__amd64__) || \
(defined(sgi) && _MIPS_SZLONG == 64))
#define MAGIC 0x1404196414071968
#define MAGIC_FREE 0x1506196615061966
--- programs/Xserver/render/picture.h.orig Mon Nov 3 00:12:01 2003
+++ programs/Xserver/render/picture.h Thu Mar 4 15:08:31 2004
@@ -170,7 +170,7 @@
defined(ia64) || defined(__ia64__) || \
defined(__sparc64__) || \
defined(__s390x__) || \
- defined(AMD64) || defined (__AMD64__) || \
+ defined(AMD64) || defined (__AMD64__) || defined (__amd64__) || \
(defined(sgi) && (_MIPS_SZLONG == 64))
typedef long xFixed_32_32;
# else

View File

@ -1,11 +0,0 @@
--- programs/Xserver/GL/dri/Imakefile.orig Mon Mar 3 20:21:30 2003
+++ programs/Xserver/GL/dri/Imakefile Mon Mar 3 20:21:31 2003
@@ -13,7 +13,7 @@
INCLUDES = -I$(SERVERSRC)/include -I$(INCLUDESRC) -I$(XINCLUDESRC) \
-I$(EXTINCSRC) \
- -I$(XF86OSSRC) -I$(XF86COMSRC) \
+ -I$(XF86OSSRC) -I$(XF86OSSRC)/bus -I$(XF86COMSRC) \
-I../include -I../glx -I$(LIBSRC)/GL/include \
-I$(SERVERSRC)/mi -I$(FONTINCSRC)
DEFINES = $(GLX_DEFINES)

View File

@ -1,16 +0,0 @@
--- extras/Mesa/src/glheader.h Wed Nov 6 12:19:39 2002
+++ extras/Mesa/src/glheader.h Sun Nov 2 12:22:42 2003
@@ -222,5 +222,5 @@
*/
#ifndef _ASMAPI
-#if !defined( __GNUC__ ) && !defined( VMS )
+#if !defined( __GNUC__ ) && !defined( VMS ) && !defined(__INTEL_COMPILER)
#define _ASMAPI __cdecl
#else
@@ -252,4 +252,6 @@
#elif defined(__ICL)
# define INLINE __inline
+#elif defined(__INTEL_COMPILER)
+# define INLINE inline
#else
# define INLINE

View File

@ -1,10 +1,7 @@
--- lib/GL/GL/Imakefile.orig Tue Apr 3 11:29:31 2001
+++ lib/GL/GL/Imakefile Sat Oct 20 10:14:30 2001
@@ -214,14 +214,17 @@
#undef _LinkBuildLibrary
#define _LinkBuildLibrary(lib) LinkBuildLibrary(lib)
--- lib/GL/GL/Imakefile.orig Sun Jan 9 03:58:13 2005
+++ lib/GL/GL/Imakefile Sun Jan 9 04:01:26 2005
@@ -294,11 +294,15 @@
-
#if NormalLibGlx
NormalLibraryTarget($(LIBNAME),$(UOBJS))
+#if !defined(LibInstall) || LibInstall
@ -19,7 +16,7 @@
#if LinkGLToUsrLib && AlternateUsrLibDir
install::
MakeDir($(DESTDIR)$(SYSTEMUSRLIBDIR))
@@ -233,11 +236,14 @@
@@ -310,8 +314,10 @@
#endif
#if DebugLibGlx
DebuggedLibraryTarget($(LIBNAME),$(DOBJS))
@ -27,11 +24,16 @@
InstallLibrary($(LIBNAME)_d,$(USRLIBDIR))
#endif
+#endif
#if ExtraLibGlx && defined(ExtraLibRules)
all::
ExtraLibMkdir()
@@ -322,7 +328,9 @@
#endif
#if ProfileLibGlx
ProfiledLibraryTarget($(LIBNAME),$(POBJS))
+#if !defined(LibInstall) || LibInstall
InstallLibrary($(LIBNAME)_p,$(USRLIBDIR))
#endif
-
+#endif
#endif

View File

@ -1,8 +1,8 @@
--- lib/GL/mesa/src/drv/Imakefile.orig Tue Dec 5 10:17:23 2000
+++ lib/GL/mesa/src/drv/Imakefile Tue Dec 5 13:29:59 2000
@@ -70,6 +70,10 @@
--- lib/GL/mesa/drivers/dri/Imakefile.orig Sun Jan 9 22:27:16 2005
+++ lib/GL/mesa/drivers/dri/Imakefile Sun Jan 9 22:27:59 2005
@@ -7,6 +7,10 @@
#endif /* GlxUseBuiltInDRIDriver */
SUBDIRS = common DriDrivers
+#if (defined(FreeBSDBuildXlib) && FreeBSDBuildXlib) || (defined(ModInstall) && !ModInstall)
+SUBDIRS = common

View File

@ -1,15 +1,14 @@
--- lib/GL/mesa/src/OSmesa/Imakefile.orig Tue Apr 3 11:29:33 2001
+++ lib/GL/mesa/src/OSmesa/Imakefile Thu Jun 7 02:58:09 2001
@@ -58,7 +58,7 @@
LIBNAME = OSMesa
SOREV = 3.3
--- lib/GL/mesa/drivers/osmesa/Imakefile.orig Sun Jan 9 03:32:47 2005
+++ lib/GL/mesa/drivers/osmesa/Imakefile Sun Jan 9 03:34:41 2005
@@ -131,6 +131,7 @@
#endif
-
+#if !defined(LibInstall) || LibInstall || (!defined(ModInstall) || ModInstall)
#if DoNormalLib
NormalLibraryTarget($(LIBNAME), $(UOBJS))
InstallLibrary($(LIBNAME),$(USRLIBDIR))
@@ -77,6 +77,7 @@
@@ -158,6 +159,7 @@
#if DoProfileLib
ProfiledLibraryTarget($(LIBNAME), $(POBJS))
InstallLibrary($(LIBNAME)_p,$(USRLIBDIR))

View File

@ -1,11 +1,11 @@
--- lib/Imakefile.orig Thu Apr 8 23:24:13 2004
+++ lib/Imakefile Thu Apr 8 23:25:07 2004
@@ -207,7 +207,7 @@
--- lib/Imakefile.orig Sun Jan 9 22:24:32 2005
+++ lib/Imakefile Sun Jan 9 22:25:09 2005
@@ -249,7 +249,7 @@
$(DPSLIBDIR) $(DPSTKLIBDIR) $(PSRESLIBDIR) $(XINERAMADIR) \
$(ZLIBDIR) $(REGEXDIR) $(RENDERLIBDIR) $(FREETYPE2BUILDDIR) \
$(LIBXML2BUILDDIR) $(EXPATBUILDDIR) $(FONTCONFIGBUILDDIR) \
$(LIBXML2BUILDDIR) $(FONTCONFIGBUILDDIR) \
- $(XFT1LIBDIR) $(XFTLIBDIR) $(XVMCLIBDIR) $(RANDRLIBDIR) \
+ $(XVMCLIBDIR) $(RANDRLIBDIR) \
$(XTRAPLIBDIR) $(XRESLIBDIR) $(XCURSORLIBDIR) $(APPLELIBDIR)
$(XTRAPLIBDIR) $(XRESLIBDIR) $(XCURSORLIBDIR) $(APPLELIBDIR) \
$(DMXLIBDIR)
SUBDIRS = $(BERKDIR) xtrans $(LINTSUBDIRS) $(FONTSUBDIR) $(FONTENCSUBDIR) \

View File

@ -1,15 +1,15 @@
--- lib/X11/Imakefile.orig Thu Apr 8 23:51:16 2004
+++ lib/X11/Imakefile Thu Apr 8 23:53:08 2004
--- lib/X11/Imakefile.orig Sun Jan 9 02:58:04 2005
+++ lib/X11/Imakefile Sun Jan 9 02:59:57 2005
@@ -10,7 +10,7 @@
HEADERS = Xlib.h Xresource.h Xutil.h cursorfont.h Xlibint.h \
Xcms.h Xlocale.h XKBlib.h
-#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients
+#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !FreeBSDBuildXxserv
-#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !XdmxServer
+#if BuildServersOnly && !XnestServer && !BuildGLXLibrary && !BuildClients && !XdmxServer && !FreeBSDBuildXxserv
all::
BuildIncludes($(HEADERS),IncSubdir,..)
@@ -1041,8 +1041,10 @@
depend::
@@ -1043,8 +1043,10 @@
#if InstallXcmsTxt
InstallNonExecFile(Xcms.txt,$(LIBDIR))
#endif

Some files were not shown because too many files have changed in this diff Show More