Commit graph

75 commits

Author SHA1 Message Date
Martin Wilke
f4936121f9 - Update to Xorg 7.5
The Intel drivers was patched to work with
the new server. The drivers for Vesa, NV,NVIDIA and
ATI have been tested thoroughfully and seem to work fine.
A complete changelog of Xorg 7.5 can you read here:

http://www.x.org/releases/X11R7.5/

A note to FreeBSD 6.X users: We strongly recommend you
to update your system to 7.x or above.

For updating try

portupgrade -af \*

or:

portmaster -af

Please report any problems and issus to x11 (at) FreeBSD.org.

Thanks to beat@, rnoland@, fluffy@, stas@ and all testers for their help
and Feeback.

Tested by:	Community and 2x exp-runs
2010-05-01 11:41:07 +00:00
Marius Strobl
5286f4f791 Given that HAL doesn't work on sparc64 and always needs to be disabled
there anyway change the default to off for that architecture.

Approved by:	rnoland
2010-02-08 00:20:08 +00:00
Robert Noland
4aabe04a2e Update xorg-server and friends to 1.6.5. 2010-02-07 15:24:07 +00:00
Marcel Moolenaar
7220595e7c Allow building on ia64. This does not make it functional, because
ia64 doesn't have any non-serial console. It does allow xorg to
build though and in particular xorg-drivers. The latter depends on
xorg-server.

Ok'd: rnoland@
2009-06-19 23:19:01 +00:00
Robert Noland
a588a7ab6e Update Xserver and friends to 1.6.1 2009-05-07 19:40:18 +00:00
Robert Noland
fd559155d1 Update Xorg server to 1.6.0
o Update randrproto, libXrandr and xrandr to 1.3.0
	o Update xf86-video-intel to 2.6.3
	o Update other less common drivers as needed
	o Mark a bunch of un-maintained input drivers ignored
	o Update the various slave X server ports as well
2009-04-04 04:04:01 +00:00
Marius Strobl
38c027f72e Given that the x86-centric approach of mmap(2)'ing PCI memory via
mem(4) doesn't work on sparc64, revert to the pre-libpciaccess
approach of using the tty(4) device opened by the X server there.
Hopefully we have proper MI means of doing so one day.

Approved by:	flz
2009-03-31 20:19:04 +00:00
Robert Noland
e8bb983dff Add a patch from git to fix issues with gnome-2.25.
Requested by:	marcus
2009-03-08 23:03:47 +00:00
Robert Noland
7841a19b63 Add a patch to handle memory barriers on amd64 the same as linux.
This is reported to prevent some lockups with the nv driver on amd64.

http://bugs.freedesktop.org/show_bug.cgi?id=3168
2009-03-02 19:29:23 +00:00
Robert Noland
212fd061b1 Add a patch to deal with the hald/xorg startup race. With this patch
it should be safe for hald to start even after the Xserver.

Obtained from:	xorg-devel
2009-02-08 07:23:46 +00:00
Jung-uk Kim
68bcf49d36 - Replace open(2)/close(2) pairs with stat(2). Closing mouse device has
a side effect of changing current operation level and sysmouse(4) lets
you open /dev/sysmouse multiple times unlike other mouse drivers.
- Check if /dev/mouse is linked to /dev/psm0 or /dev/ums0.
- Simplify the patches a little while I am here.
2009-02-04 18:31:01 +00:00
Jung-uk Kim
4dad67f31a - Partially back out the previous attempt to fix PS/2 protocol support.
Extended PS/2 protocol without moused(8) is only supported from FreeBSD 7.1
and above.
- Try default PS/2 and USB mouse ports if /dev/sysmouse does not exist.
Previously, it was only available when HAL support was compiled in.
They should be able to handle SysMouse protocol at operation level 1.
- Check protocol for ums(4) as it only supports SysMouse protocol.
- Sync X server with mouse driver.

Reviewed by:	rnoland
2009-02-03 02:20:31 +00:00
Florent Thoumie
c23ee21635 Build record and xtrap extensions.
PR:		ports/131033
Submitted by:	"Sergey N. Voronkov" <serg@tmn.ru>
2009-01-27 09:31:22 +00:00
Robert Noland
d67cfa7582 Add dependency on dri2proto
Approved by:	garga (mentor, implicit)
2009-01-25 18:43:39 +00:00
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00
Florent Thoumie
f6f6dbd0e4 Update x11-servers/xorg-server to 1.4.2 (security update). 2008-06-15 12:24:20 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Florent Thoumie
808deb28b3 Add upstream patch (don't free not-allocated dbus socket).
PR:		ports/124081
Submitted by:	deischen
Obtained from:	fd.o git repository
2008-05-29 11:02:54 +00:00
Florent Thoumie
96a7a8ca6a Disable dtrace support for now as userland tracing isn't supported yet.
Suggested by:	jb
2008-05-27 15:37:15 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Jung-uk Kim
d25360c7a5 - Auto-detect and use native extended PS/2 protocols with the latest psm(4).
Since psm has gained write(2) support, it can be directly driven by X.org
input drivers without help of moused(8) or SysMouse protocol.
- Fix regressions without moused running.

PR:	ports/122363, ports/122405
2008-04-15 18:01:15 +00:00
Jung-uk Kim
980b1eb7b1 Fix mouse probing issues with HAL support:
- Do not probe /dev/psm0 as SysMouse if HAL support is enabled.
- Add /dev/ums0 as SysMouse if HAL support is disabled.
- Do not force sysmouse(4) mode unless device is /dev/sysmouse.  When
moused(8) is not running, current mode level is untouched.
- Correcly check if moused is actually running.  Checking pid file is
not enough because it may be /var/run/moused.<device>.pid when it is
invoked by devd(8) for USB mice.
- Do not attach device if it is opened by moused.
- Correctly add device path for HAL.

This patch is tested with many possible combinations of moused(8), HAL,
PS/2 mouse, USB mouse, and xorg.conf.

Tested by:	cokane, jkim, marcus,
		Matthew Seaman (m dot seaman at infracaninophile dot co dot uk)
2008-04-01 18:14:34 +00:00
Florent Thoumie
db1fcc370a Add patch that fixes xmodmap use in .xinitrc.
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Obtained from:	fd.o xorg/xserver repository
Commit id:	27ad5d74c20f01516a1bff73be283f8982fcf0fe
2008-03-13 11:37:31 +00:00
Jung-uk Kim
ba4bc11dc8 - Check correct POSIX spec. date for clock_gettime(2) whether
CLOCK_MONOTONIC is available.
- If FreeBSD-specific CLOCK_MONOTONIC_FAST is available, use it
instead of precise but slow gettimeofday(2) or CLOCK_MONOTONIC.

Reviewed by:	stable, x11
2008-03-06 00:48:43 +00:00
Florent Thoumie
37a35b1d73 Fix xserver multiple vulnerabilities.
Security:	http://www.vuxml.org/freebsd/fe2b6597-c9a4-11dc-8da8-0008a18a9961.html
2008-01-23 12:18:47 +00:00
Florent Thoumie
ff3675ba98 - Add local patch to fix alpha build. [1]
- Add local patch to fix powerpc build. [2][3]
- Fix OPTIONS handling for SUID option. [4]

PR:		ports/113601 [1], ports/118850 [2],
		ports/118851 [3], ports/119012 [4]
Submitted by:	naddy [1], grehan [2][3],
		Dmitry Marakasov [4]
2008-01-02 12:58:05 +00:00
Florent Thoumie
1c8aae3467 - OPTIONS'ify (HAL, AIGLX, SUID).
- Fix CONFIGURE_ARGS. [1]

Submitted by:	alvest@earthlink.net [1]
2007-12-12 17:34:16 +00:00
Mark Linimon
c2fdd1f505 Fix plist for sparc64. Should be a no-op on other archs, but bump
portrevision for sparc64.  While here, pet portlint.

Tested on:	pointyhat
Submitted by:	flz
Approved by:	portmgr (self)
2007-11-19 17:17:39 +00:00
Florent Thoumie
88e6e25580 Add temporary fix for LEDs. Proper fix will be available in next
xorg-server release but this one has been deemed good enough for now.

Obtained from:	fd.o bugzilla
2007-10-29 14:04:27 +00:00
Florent Thoumie
085771cda4 Restore default optimization on RELENG_7.
PR:		ports/117445
Submitted by:	Ildar <dar.quonb@gmai.com>
2007-10-24 13:33:37 +00:00
Florent Thoumie
b8153ee40f - Explicit some configure arguments.
- Mark as IGNORE on alpha since it does work correctly.
2007-10-09 22:31:49 +00:00
Marius Strobl
5be6d0491c Teach xorg-server that FreeBSD >= 700053 supports PCI domains and
how to deal with it. This affects !386 only and is based on the
respective Linux support code.

Approved by:	flz
2007-09-30 11:01:41 +00:00
Florent Thoumie
62df320cc3 - Update X.org ports to 7.3.
- Mark XFree86-4 as DEPRECATED with EXPIRATION_DATE set to 2007-12-25.
I hope that nobody will be bored enough on Christmas to remove them on
that day.

Tested by:	vehemens, Rene Ladan, Beech Rintoul, sarek on x11@
2007-09-13 19:45:08 +00:00
Dejan Lesjak
07da6fb1ec Band-aid over memory hungry gcc 4.2 when compiling xf86ScanPci.c.
Submitted by:	Michiel Boland ( michiel at boland dot org )
2007-06-21 17:33:47 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Dejan Lesjak
0b7bf38e90 Add vendor patch preventing overwiting of data on the stack or other
parts of server by dbe and render extensions.

PR:		ports/107733
Security:	CVE-2006-6101 CVE-2006-6102 CVE-2006-6103
2007-01-27 20:22:20 +00:00
Dejan Lesjak
f442f1beae Fix crash by bad pcf font.
Obtained from:	X.org bugzilla #7535
Security:	CVE-2006-3467
2006-08-25 21:52:49 +00:00
Marcus Alves Grando
bd42b811c7 - Add support to Intel 945GM
- portlint(1)

PR:		100673
Approved by:	x11 (No objection and maintainer timeout, 30 days)
2006-08-20 22:58:20 +00:00
Dejan Lesjak
ee1d6dba74 Add a better workaround for LP64 bug in ProcRenderCompositeGlyphs() in
Xrender from XFree86 that takes endianess into account. This should fix
the following errors on FreeBSD/sparc64:

'RenderBadGlyphSet (invalid GlyphSet parameter)'.
  (Details: serial 8980 error_code 178 request_code 153 minor_code 24)

Submitted by:	marius
2006-06-04 17:47:03 +00:00
Eric Anholt
27b683e979 Add my patch for buffer overflow in the Render extension's TriFan/TriStrip
requests.

Security:	CVE-2006-1526
Bugzilla:	https://bugs.freedesktop.org/show_bug.cgi?id=6642
2006-05-03 08:12:21 +00:00
Dejan Lesjak
a6d1a96740 Complete removal of cfb from sunffb driver as was done post release in
X.org CVS to avoid failure to load this driver because of unresolved
symbols.

Digged up and tested by:	Matthias Muthmann
PR:		sparc64/94886
Obtained from:	X.org CVS
2006-04-20 10:45:43 +00:00
Dejan Lesjak
6f9bc91b6d Add patch from X.Org, fixing privilege escalation.
Security:	http://www.vuxml.org/61534682-b8f4-11da-8e62-000e0c33c2dc
Security:	CVE-2006-0745
2006-03-21 17:06:39 +00:00
Dejan Lesjak
627b13b9fb Upgrade to X.Org 6.9.0 release.
Remove separate mtree file for X_WINDOW_SYSTEM=XOrg case. Both X11
distributions now use the one from /etc/mtree again.
2006-01-21 18:55:08 +00:00
Eric Anholt
4e4688a5ea Fix one of the hangs on new GeForce cards using a patch from X.Org CVS.
PR:		ports/87160
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
2005-11-30 07:52:59 +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
806dcfcff4 Fix the fix for CAN-2005-2495.
Among other, this shoud fix problems with wine - thanks to
Robert Backhaus (robbak at gmail.com) for testing.

Obtained from:	Xorg CVS
2005-09-18 16:34:24 +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
Eric Anholt
29d6c8b436 Fix a use-after-free in the cursor code that's easily triggered with -AJ malloc
opts and running current gdm.

Approved by:	portmgr (marcus)
Obtained from:	X.Org CVS
2005-08-26 19:03:26 +00:00
Dejan Lesjak
ef196a5a0f Grab a patch for keyboard on sparc64 from Xorg CVS. This makes 'kbd' driver
work properly this time on FreeBSD/sparc64 so stop using workaround that
defaults to old 'keyboard' one and remove erroneous patch by me.

Pointed out by:	Matthias Muthmann (mmuthmann at gmx.net)
Tested by:	Matthias Muthmann (Ultra10/type5c), me (Ultra5/type5)
Obtained from:	Xorg CVS
2005-07-31 23:42:48 +00:00
Eric Anholt
0cf7952879 [1] Fix the Chipset lines written by xorgcfg for 3dfx cards.
[2] Add the PCI ID for Radeon X600, 0x5B62 to a place that was missed.

PR:		[1] ports/32121
Submitted by:	[1] alane
		[2] Vladimir Kushnir <vkushnir@i.kiev.ua>
2005-06-22 23:12:58 +00:00