Commit graph

481 commits

Author SHA1 Message Date
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
e2ab37e2b7 Fixup plist and man lists for alpha and sparc64.
Noticed by:	pointyhat
2005-08-01 10:27:21 +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
656318f837 Update to 6.8.99.12, and incorporate the PCI ID fix for a Radeon X600. Add a
soon-to-be-committed-upstream patch to fix the build after the removal of
xf86drmCompat.c.  Also includes the fix for ports/32121, which had been
committed.
2005-06-23 01:19:08 +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
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
5066edac69 Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27). 2005-06-15 02:42:14 +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
Eric Anholt
f213ce05ca During build, munge PATH so that imake's makedepend will get picked up instead
of devel/makedepend, which crashes.

PR:		ports/81706
Submitted by:	Koji Yokota <yokota@res.otaru-uc.ac.jp>
Patch by:	lesi
2005-06-13 06:57:58 +00:00
Eric Anholt
921785e24d Update to the 6.8.99.10 snapshot. Merges in many local patches, miscellaneous
bugfixes, and includes Zack Rusin's great improvements to Render extension
performance.  Should also fix packaging on amd64.
2005-06-10 21:06:57 +00:00
Volker Stolz
f11bd8c0b4 Use appropriate autoconf version (2.53), >= 2.50 is required
Noticed by: cluster
2005-05-23 07:22:49 +00:00
Dejan Lesjak
531f2e7795 - 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. [1]
- Default to old 'keyboard' driver for sparc64. Patches for 'kbd'
  one were not enough so until new driver is fixed, this change
  makes Xorg work with sparc64 keyboards. Knob WITH_SPARC_KBD is
  provided to ease efforts of fixing 'kbd'.

Submitted by:	marius [1]
2005-05-17 23:37:59 +00:00
Dejan Lesjak
e0be73b4de Bump max number of buttons supported by mouse driver to 16 so Logitech
MediaPlay mouse works.
(Xorg Bugzilla #2389)

PR:		ports/80744
Submitted by:	cy
2005-05-09 07:22:57 +00:00
Eric Anholt
dbe20fb172 Add two missing i386-only drivers to the packing list.
Reported by:	krismail
2005-05-06 18:08:38 +00:00
Eric Anholt
cdb96b430e Bring xorg-server-snap port to 6.8.99.5 after repocopy from xorg-server. This
is a port of the server pieces of the periodic snapshot of X.Org, with the
development DRI drivers enabled.  The purpose of this port is to bring
bleeding-edge graphics support to FreeBSD.
2005-05-04 01:28:30 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Dejan Lesjak
63a3d19fec Speed up extract target by not extracting */CVS/*. From ahze:
With Patch:
(pII 400Mhz)
real 1m12.597s
user 0m14.706s
sys 0m12.061s

(athlon 2500+ 3disk raid 0)
real 0m12.912s
user 0m2.884s
sys 0m3.128s

Without Patch:
(pII 400Mhz)
real 1m43.233s
user 0m14.565s
sys 0m13.951s

(athlon 2500+ 3disk raid 0)
real 0m22.967s
user 0m2.925s
sys 0m3.576s

Submitted by:	ahze
2005-04-06 19:17:37 +00:00
Dejan Lesjak
da254b4759 Sync with etc/mtree/BSD.x11-4.dist rev. 1.26:
Add mt locale directory, since more and more ports create and use it.

Requested by:	krion
Approved by:	portmgr (krion; in advance)
2005-03-25 07:03:04 +00:00
Eric Anholt
e2f679668f Add Peter Grehan's patches to port xorg-server to PowerPC.
PR:		ports/78345, ports/78346, ports/78348, ports/78352,
		ports/78353, ports/78354, ports/78355, ports/78356,
		ports/78358, ports/78359
Submitted by:	grehan
2005-03-19 04:32:37 +00:00
Eric Anholt
bacbef5a54 Remove a duplicated imake define that adds noise to the configure stage. 2005-03-19 04:08:50 +00:00
Dejan Lesjak
eaf383b08a Add Xdmx port of X.Org distribution:
Xdmx is proxy X server that provides multi-head support for multiple
displays attached to different machines (each of which is running a
typical X server). When Xinerama is used with Xdmx, the multiple displays
on multiple machines are presented to the user as a single unified screen.
Port based on xorg-nestserver.

Requested and tested by:	Henry Miller (6.8.1 version)
2005-03-19 01:08:33 +00:00
Dejan Lesjak
ac39221672 Upgrade X.Org ports to 6.8.2.
Release notes are available at
http://www.x.org/X11R6.8.2/doc/RELNOTES.html

Thanks to kris and krion for running several cluster test builds,
maintainers of GNOME for prompt responses, portmgr for postponing ports
freeze for this update, testers on FreeBSD-X11@ list and others that I
might have mised here.

Also included:
- fix for ATI Mobility on Dell Inspiron 7500 (obtained from Marc Aurele La
  France; obtained and tested by julian)
- fix for kbd driver on Sparc64 (tested by Aaron Dudek, Michael G. Jung and
  Matthias Muthmann), which still appears to have problems with some
  keyboards - so
- fix for kbd driver on PC98 (reported and tested by NAKAJI Hiroyuki; PR
  ports/77217)
- fix for i810 on HP D530 (obtained from Egbert Eich; obtained and tested
  by Anders Nor Berle; PR ports/74757)
2005-03-17 23:22:13 +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
Alex Dupre
3c4bad5efb - Set USE_RC_SUBR to fix the new rcNG startup script
- Bump PORTREVISION
2005-01-26 08:56:48 +00:00
Dejan Lesjak
6e74169b0c Add rcNG startup script. [1]
Font cache is not build by default, which makes related lines in
default configure file wrong, which in turn causes xfs to error out
on startup with default file. Tweak generation of said file in a way
that would make proper configuration depending on existance of font
caching code, so that this patch can be sent upstream. [2]

Inspired by:	Jose M Rodriguez (josemi at freebsd.jazztel.es) [1]
Bits and pieces for [1] stolen from:
		src/etc/rc.d/xfs, apache2 and squid ports
Noticed by:	Gary Dunn (knowtree at aloha.com) [2]
2005-01-23 19:50:40 +00:00
Dejan Lesjak
b2576217ee Enable font cacheing. [1]
Add rcNG startup script. [2]

Noticed by:	Gary Dunn (knowtree at aloha.com) [1]
Inspired by:	Jose M Rodriguez (josemi at freebsd.jazztel.es) [2]
Bits and pieces for [2] stolen from:
		src/etc/rc.d/xfs, apache2 and squid ports
2005-01-18 22:09:14 +00:00
Eric Anholt
506708ce32 Remove file that shouldn't have been added. 2005-01-16 05:06:04 +00:00
Eric Anholt
31179eebc6 [1] Add i810 driver to AMD64 package.
[2] Put the manpages from section 4 under 4x.  For example, you can do
    "man 4x vga" to get the X vga(4x) manpage, still do man 4 cirrus to get
    cirrus(4x), and man -a vga to get both vga manpages.
[3] Apply several important-looking fixes to ATI drivers from the stable branch:
    - Fix mode setting with Mach64 on some laptops.
    - Don't crash with mach64 for some PCI configurations
    - Improve hang detection on r128s. (may improve speed in DRI, too)
    - Avoid a hang on server regen on r128 with DRI.
    - Fix the DynamicClocks support, which could have caused hangs with DRI on
      original Radeons.

PR:		[2] ports/25576
Submitted by:	[2] fanf
Requested by:	[1] peter
Obtained from:	[3] XORG-6_8-branch
2005-01-13 22:52:24 +00:00
Eric Anholt
d8d393df80 New port: mga_hal, a packaging of the Matrox HAL binary, which extends the set
of features supported by the open-source Matrox driver for X.Org and XFree86.
This is a newer version than that discussed in the original PR, and has only
been tested briefly by myself on a G400 with X.Org 6.8.1.  Note that though the
readme.txt says the file is redistributable, the only licensing information to
be found is the click-through on the website which says redistribution is not
allowed.

PR:		ports/55699
Submitted by:	Jens Rehsack, rehsack at liwing dot de
2005-01-13 01:11:54 +00:00
Eric Anholt
08ae21589b [1] Fix a crash on startup with i830+ systems due to failure to follow an API
change that occurred.
[2] Install the xorg.conf referred to by xorg.conf(5).  Installation was
disabled during the XF86 name avoidance phase, but could still be of use.
[3] Add a section about the Composite extension to xorg.conf.
[4] Add MakeDllModules YES to the WITH_DEBUG flag's options.  While it won't
package correctly, you can't actually debug modules (where crashes almost always
happen) without it.
[5] Merge fixes from XORG-6_8-branch for i810 driver crashes in on CloseScreen,
ringbuffer lockups, and various warnings.
[6] Recognize R_ALPHA_SREL32 relocation type in elfloader.

PR:		[1] ports/75425
		[2] ports/73915
		[6] ports/73257
Submitted by:	[1] Marc Silver, marcs at draenor dot org
		[2] Frank J. Laszlo, laszlof at vonostingroup dot com
		[6] Ken Stailey kstailey at yahoo dot com
		[6] r1.4 of X.Org CVS.
Approved by:	portmgr
2005-01-02 00:32:07 +00:00
Eric Anholt
df0e9fb363 Re-add libXThrStub for FreeBSD that requires thread stubs. Between 6.7 and 6.8
I had moved libXThrStub into libX11, because it seemed unnecessary.  However,
because libc_r symbols are also weak, the weak stubs in libX11 would interfere,
however they don't if they are in a library linked by libX11.  The most common
manifestation of the problem was:
GThread-ERROR **: file gthread-posix.c: line 137 (g_thread_impl_init): error
'Invalid argument' during 'pthread_getschedparam (pthread_self(), &policy,
&sched)'
in glib apps.

PR:		ports/75477
Submitted by:	KIMURA Yasuhiro, yasu at utahime dot org
Testing by:	marcus
2004-12-31 09:02:27 +00:00
Pav Lucistnik
2afbeab87a - Rewrap to fit on 80 columns console
Approved by:	anholt (x11 hat)
2004-12-29 02:29:31 +00:00
Alexey Dokuchaev
f6101b7378 Add missing prototype to fix the build with recent GCC. 2004-12-24 15:41:40 +00:00
Dejan Lesjak
5870a4864c Bump PORTREVISION, since html manpages are no longer built/installed
and that changes packaging content.
2004-12-23 05:31:04 +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
Kris Kennaway
44126a8d72 Fix pkg-plist and bump PORTREVISION 2004-12-10 22:27:00 +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
7f352fc47f Don't refer people to nonexistant 'Monitors' file in xorgconfig.
(freedesktop.org Bugzilla #1692)

Reported by:	znerd
PR:		ports/56275
2004-11-04 16:57:50 +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
8d307e831d Fix behaviour of keyboard under pc98 where keycodes differ from i386.
Submitted by:	Satoshi Kimura
Approved by:	portmgr (linimon), mentor (anholt)
2004-09-26 14:18:42 +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
Kris Kennaway
6848e5390f BROKEN on 5.x: Does not compile
Approved by:    portmgr (self)
2004-09-18 16:41:50 +00:00
Dejan Lesjak
4985aab58d 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').

Submitted by:	marius
Approved by:	portmgr (linimon), anholt (mentor)
2004-09-12 20:35:08 +00:00
Dejan Lesjak
ab67e24779 Fix problem with XVideo (insufficient resources for operation). [1]
Use correct prototype for sysarch(2). [2]

PR:		ports/70317 [1],  ports/71037 [2]
Submitted by:	Andrew Elmore (aelmore at interwoven.com) [2]
Approved by:	anholt (mentor)
Obtained from:	Free Desktop.Org Bugzilla #474 [1]
2004-09-02 21:46:08 +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
e411d635e5 Use MASTER_SITE_XORG.
Approved by:	anholt (mentor)
2004-09-02 01:57:53 +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