Commit graph

263 commits

Author SHA1 Message Date
Joe Marcus Clarke
0d32a85b88 Add some old internal FreeType definitions to fix the server runtime. These
definitions come from the old ftinternal.h.

Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Approved by:	portmgr (implicit)
2006-10-21 21:58:35 +00:00
Joe Marcus Clarke
29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Dejan Lesjak
b2688d4e3d Fix crash by bad pcf font.
Obtained from:	XFree86 CVS
Security:	CVE-2006-3467
2006-08-26 04:09:21 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Dejan Lesjak
b8b6f22af1 If port belongs to X11 distribution different than ${X_WINDOW_SYSTEM} one,
point to The X Window System and Virtual Consoles chapter of FAQ.

Add SHA256.
2005-11-11 22:16:17 +00:00
Dejan Lesjak
2408d1ada9 Fix the fix for CAN-2005-2495.
Obtained from:	XFree86 CVS
2005-09-20 19:26:47 +00:00
Dejan Lesjak
4c1f989fdc Fix integer overflow when allocating large pixmaps.
(Freedesktop.org bug #594)

Obtained from:	Red Hat via simon
Security:	CAN-2005-2495
2005-09-12 14:21:40 +00:00
Dejan Lesjak
b450fc1e84 - Install X server setuid root by default, and provide a switch
NO_SUID_XSERVER to disable this. The end result is same as it was before
  with x11/wrapper installed as the code from there is included in X
  server. It is also the same as xorg-server port does (from which this
  changes were taken). This should conclude removal of dependency on
  x11/wrapper from meta port for above reasons. [1]

- (patch-bsdResource.c) Correct the ranges of the bus resource windows on
  sparc64. This makes PCI video cards work that hang off directly from
  the Host-to-PCI bridge in machines like the Blade 100. [2]

- (patch-HALlib_bindings.c patch-mga_driver.c) Revert the MGA HALlib
  MGASetDisplayStart interface back to HALSetDisplayStart (taken from
  upstream CVS) [3]

Noticed by:	(bugsgrief at bugsgrief.net) [1]
Submitted by:	marius [2]
Reported and tested by:	Steven Friedrich (FreeBSD at InsightBB.com) [3]
2005-06-20 18:30:39 +00:00
Dejan Lesjak
2552b8e5f9 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
2005-06-15 02:40:03 +00:00
Dejan Lesjak
e65741a49f - Grab a fix for ati driver panel mode decoding from Marc La France. [1]
- Install driver manpages with 'x' postfix so the ones that clash with
  FreeBSD ones are easier to obtain. [2]
- Fix plist.

PR:		ports/25576 [2]
Obtained from:	XFree86 CVS [1]
Reported and tested by:	julian [1]
2005-02-16 03:54:16 +00:00
Dejan Lesjak
2356b8da50 Depend on xfree86-dri rather than dri. Also depend on it on amd64. 2004-12-23 03:40:19 +00:00
Eric Anholt
c90ee83f03 Update X.Org ports to 6.8.1, and the DRI port to use Mesa 6.2. Because Mesa 6.2
DRI drivers are incompatible with the old libGL in XFree86, they have been
repocopied to graphics/xfree86-dri.  Also note that with this commit the html
manpages are going away, and with it the runtime dependency on perl for the
imake port.

Release notes at: http://www.x.org/X11R6.8.1/RELNOTES.txt

Props to:	kris (multiple cluster runs and sorting through logs)
		lesi (fixing all the issues in those logs, and more)
2004-12-23 01:35:49 +00:00
Dejan Lesjak
40ace6f64a Enable use of cirrus driver on NEC PC-9821 with CLGD755x. Patch was
submitted by Satoshi Kimura to both x11@freebsd.org and XFree86. It is
already in XFree86 CVS (Changelog #125) so the diff was taken from there.
Also install two files with Japanese documentation.

Submitted by:	Satoshi Kimura
2004-11-11 19:40:20 +00:00
Dejan Lesjak
4710f1d03f Don't refer people to nonexistant 'Monitors' file in xf86config.
(XFree86 Bugzilla #1498)

Reported by:	znerd
PR:		ports/56275
2004-11-04 16:54:34 +00:00
Dejan Lesjak
35a98cc891 Fix behaviour of keyboard under pc98 where keycodes differ from i386. [1]
Fix behaviour of keyboard under sparc64, where keycodes were off by one
(i.e., when pressing 'd' on keyboard, server would get code for 'f'). [2]

PR:		ports/71937 [1]
Submitted by:	Satoshi Kimura [1], marius [2]
Approved by:	portmgr (linimon), mentor (anholt)
2004-09-26 14:15:00 +00:00
Dejan Lesjak
baee44bc4d Fix problem with XVideo (insufficient resources for operation).
PR:		ports/70317
Approved by:	anholt (mentor)
Obtained from:	Free Desktop.Org Bugzilla #474
2004-09-02 21:34:24 +00:00
Dejan Lesjak
4e26b6c5f6 Fix missing symbol with SiS driver.
PR:		ports/69790
Submitted by:	Andreas Kohn (andreas AT syndrom23.de)
Approved by:	anholt (mentor)
2004-08-31 00:34:39 +00:00
Dejan Lesjak
2578633dc2 Fix PLIST_SUB variables in amd64 and i386 cases to generate proper plist
and thus include all drivers in package. Bump PORTREVISION, since package
contents changed.

PR:		ports/70589
Approved by:	anholt (mentor)
2004-08-21 05:16:12 +00:00
Joe Marcus Clarke
42c2cdc260 Update XFree86 clients to 4.4 release. Release notes are available at
http://www.xfree86.org/4.4.0/RELNOTES.html

PR:		ports/67733 imake
		ports/67508 libraries
		ports/67510 clients
		ports/67513 server
		ports/67776 100dpi fonts
		ports/67777 75dpi fonts
		ports/67778 cyrillic fonts
		ports/67779 default bitmap fonts
		ports/67781 font encodings
		ports/67783 scalable fonts
		ports/67784 font server
		ports/67785 XFree86 meta-port
		ports/67775 documents
		ports/67786 manpages
		ports/67787 nest server
		ports/67788 print server
		ports/67789 virtual framebuffer server
		ports/56487 (Upgrading Xfree86-clients from ports overwrites xdm config files)
		ports/44252 (XFree86-4-Server port removes/overwrites config files)
Submitted by:	Dejan Lesjak (dejan DOT lesjak AT ijs DOT si)
Additional changes by:	anholt
			Jung-uk Kim (jkim AT niksun DOT com)
			arved
Tested by:	pointyhat
		linimon
2004-08-10 01:29:22 +00:00
Eric Anholt
4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00
Eric Anholt
173b93b2aa Register CONFLICTS on xorg-server. 2004-05-10 05:42:11 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Greg Lewis
ebc4119c1e . Build and install the SiS driver on the Alpha. I've had this patch in
my tree for quite some time, and it builds and installs correctly.  An
  earlier version (4.2) ran on a DS10 with a SiS card we had at work, but
  I no longer have access to that machine to test 4.3.  Despite that, I
  think this is worth putting in.
2004-02-25 20:54:21 +00:00
Greg Lewis
0ca27b5702 . Use the correct prototype for sysarch(2). Should fix the build on
CURRENT/alpha.

Submitted by:	bento via kris
2004-02-21 21:40:01 +00:00
Dag-Erling Smørgrav
64c03a02ad Fix several buffer overflow issues in the fontpath handling code.
Remove an earlier patch which only partially addressed these issues.

Approved by:	so
2004-02-12 20:16:05 +00:00
Dag-Erling Smørgrav
a9a3b3d099 Fix buffer overflow in font alias handling code.
Approved by:	so
2004-02-09 12:04:25 +00:00
Dag-Erling Smørgrav
e6403486a1 GC a patch that no longer applies. 2004-02-04 23:55:04 +00:00
Jake Burkholder
a021c16641 Fix XFree86-4-FontServer build on sparc64.
Requested by:	kris
2003-11-25 08:56:30 +00:00
Trevor Johnson
6ef74950ba Remove my e-mail address from these files, to reduce spam. 2003-11-13 10:33:55 +00:00
Eric Anholt
b7f4234b95 Switch MAINTAINER to x11@FreeBSD.org for group maintaining of these ports. 2003-11-12 01:04:37 +00:00
Eric Anholt
001a52184d The DRI client drivers are now provided by graphics/dri. RUN_DEPENDS on them
instead of installing them from this port.
2003-11-09 08:27:26 +00:00
Eric Anholt
ed699c7900 Mark NOT_FOR_ARCHS=ia64 and do a little plist sorting fix. 2003-10-21 02:58:00 +00:00
Peter Wemm
9cfe10d80c Having the Xserver open /dev/io on amd64 as well would help. The nv
driver (among others) do not appreciate the lack of this.
2003-10-16 18:01:46 +00:00
Eric Anholt
1c2a2907c3 Fix packaging of sunffb on sparc64.
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2003-09-27 20:26:35 +00:00
Eric Anholt
c262a3d9b4 Re-add the scanpci manpage on i386.
Reported by:	bento
2003-09-25 21:05:33 +00:00
Eric Anholt
97b4e7a649 Fixes for potential integer overflows in font libraries.
Obtained from:	XFree86 CVS
2003-09-03 22:12:51 +00:00
David E. O'Brien
27e9bd2cbc Add support for AMD64. 2003-08-23 01:43:11 +00:00
Eric Anholt
f6c848659e [1] Fix xdmcp queries in the X servers (bug 277)
[2] Fix underlining in the freetype backend (bug 330)

PR:		[1] ports/52387
		[2] ports/55134
Submitted by:	[1] Joel Ray Holveck <joelh@piqnet.org>
		[2] Ariff Abdullah <skywizard@MyBSD.org.my>
2003-08-12 18:35:37 +00:00
Kris Kennaway
3378745c51 Add support for sparc64.
Submitted by:	jake (based on)
2003-07-27 09:44:00 +00:00
Eric Anholt
3bd887cd28 Add missing newlines which got lost somehow in my patching.
Noticed by:	peter
2003-07-17 00:28:54 +00:00
Eric Anholt
085cfa9e04 Fix compile of XFree86-4-Server on -current and add amd64 patches.
Submitted by:	peter (amd64)
2003-07-16 21:06:13 +00:00
Eric Anholt
469309b018 SuperProbe no longer comes with XFree86, don't mention it here. 2003-05-21 17:38:41 +00:00
Eric Anholt
346aa45573 [1] Make the HTML manpages get put into the packages again.
[2] Check that XFREE86_VERSION=4 is set when building, rather than setting it.
[3] Move many common Makefile bits to XFree86-4-libraries/Makefile.inc
[4] Make the XFree86-4-Server port not install libXfont.so.
[5] Move the xcursor.pc file to its proper location in ${X11BASE}/libdata/pkgconfig
[6] Don't explicitly link libGL.so against libc, for the sake of 4.x's pthreads.

Submitted by:	[5,6] Ports Fury
2003-05-14 07:02:07 +00:00
Eric Anholt
86b85412ed Remove libXfont.* from the pkg-plist, since it's part of XFree86-4-libraries
and not part of this port.  This shouldn't cause portupgade problems for most
people because the port still installs libXfont.*  That will be fixed later.

Reported by:	kris
2003-05-10 08:40:48 +00:00
Eric Anholt
00157b17ec Fix a crash with the siliconmotion (smi) driver.
PR:		ports/51450
Tested by:	Stacey Roberts <stacey@vickiandstacey.com>
Obtained from:	XFree86 bug #50
2003-05-03 22:18:03 +00:00
Eric Anholt
916ce7b9c6 Fix a small memory leak in __driUtilCreateScreen()
PR:		ports/51580
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
2003-04-30 00:16:01 +00:00
Eric Anholt
ccc32eb8fb Fix a typo which caused problems on Radeon R300 cards, including text mode
restoring not working.

Obtained from:	RedHat
2003-04-26 08:29:41 +00:00
Eric Anholt
5dd3fb4432 Fix a package building problem on Alpha and fix a bad copy'n'paste.
Submitted by:	bento (via kris)
2003-04-12 00:34:14 +00:00
Eric Anholt
0522640d1b Followup to last commit: Add missing radeon_cursor.c to the list of patches. 2003-04-06 08:59:23 +00:00
Eric Anholt
d42a8c1c29 [1] Fix a hang in int10 on starting the server with multiple cards
[2] Fix a server hang on reset with DRI enabled on Radeons
[3] Fix a server hang on reset with DRI enabled on Matrox
[4] Fix screen going into powersaving with Xinerama, Xcursor, and Radeons
[5] Fix an unresolved symbol in the nv driver
[6] Fix a crash in DDC with Riva 128 cards (XFree86 bug 71)
[7] Add some missing manpages to the MAN4 list

PR:		[7] ports/50113
Obtained from:	[1] XFree86 bug 6
		[2] XFree86 bug 94
		[3] Panagiotis Papadakos <papadako@csd.uoc.gr>
		[4] XFree86 bug 90
		[5,6] XFree86 CVS
2003-04-06 08:48:25 +00:00