Commit graph

44 commits

Author SHA1 Message Date
is
8a4939c971 Fix broken occurences of the CPP macro mod(a,b) using a without parentheses
in an arithmetic expression, leading to surprising results when used later
with arithmetic expressions of the same precedence as parameter a.
This is very old X11 code, copy and pasted to several places over the years.
Fixed in 1.9something (which is in mit/external). OK by wiz@.
This seems to be the root cause of CVE-2010-1166.
2011-12-30 09:33:04 +00:00
wiz
dada36d032 Fix build on DragonFly, from Antonio Huete Jimenez in PR 44015. 2010-10-31 23:43:08 +00:00
tnn
8825208b4e - Add patch from xsrc to make the server deal w/ PCI domains the way
the new libpciaccess expects
- bump libpciaccess version requirement to current
- bump PKGREVISON
- Addresses PR pkg/43493
2010-06-27 10:43:01 +00:00
tnn
d2b1fa14e1 Assorted fixes for fallout from X.org header rototill.
Bump revision.
2010-04-09 09:08:13 +00:00
jakllsch
3415ca2905 Upstream has done a black root window on startup for a while, no point in
doing it twice, and in a way that prevents `xsetroot -default` from working.
2009-10-29 19:12:03 +00:00
hasso
3eecdab148 Update to 1.6.5. Changes since 1.6.4:
Keith Packard (1):
      Re-fix DGA removal.
Peter Hutterer (1):
      ephyr: if -parent is given, check for a trailing -screen. (#24144)

Changes since 1.6.3:

Daniel Stone (1):
      fbdevhw: Test for graphics:fb%d as well as graphics/fb%d

Keith Packard (3):
      render: return the supported version rather than just passing the
      proto's version
      xfree86/modes: Remove all framebuffer support from DGA
      Bump to version 1.6.4

Michel Dänzer (1):
      dri2: Don't crash if pPriv is NULL.

Peter Hutterer (1):
      Don't send events through the master if the device has SendCoreEvents off.

Richard Hughes (1):
      Don't reset the lastDeviceEventTime when doing DPMS actions

Rémi Cardona (1):
      dix: append "built-ins" to the font path in SetDefaultFontPath
2009-10-14 18:46:58 +00:00
sno
1dacb3ba8b fix to build on FreeBSD7-STABE/amd64 2009-09-20 12:04:01 +00:00
hasso
a84dc98b93 Update to 1.6.3.
Changes in 1.6.3 since 1.6.2.901:

Adam Jackson (1):
      selinux: Only activate if policy says to be an object manager

Alan Coopersmith (2):
      Don't printf NULL pointers on HAL connection error
      Remove hardcoded gcc -Wall option from configure.ac

Ben Skeggs (1):
      quirk: use first detailed timing as preferred for PEA prod 9003 (rh#492359)

Keith Packard (1):
      Bump release number to 1.6.3

Rémi Cardona (1):
      config: add HAL error checks


Changes in 1.6.2.901 since 1.6.2:

Adam Jackson (1):
      xdmcp: Don't crash on X -query with more than 255 IP addresses. (#20675)

Alan Coopersmith (1):
      Fix build of drivers with 1.6.2 when not using --install-libxf86config

Benjamin Defnet (2):
      hw/xf86/modes: Set crtc mode/rotation/transform before calling set_mode_major
      randr: fix operation order so that rotation+transform works

Dave Airlie (1):
      xfree86: move didLock assignment down to where the function pointer is valid.

Julien Cristau (1):
      randr: fix server crash in RRGetScreenInfo

Keith Packard (2):
      Replace dixLookupResource by dixLookupResourceBy{Type,Class}
      Bump to version 1.6.2.901 (1.6.3 RC1)

Kim Woelders (1):
      Fix key repeat problem.

Matthias Hopf (1):
      randr: Nuke broken set_origin shortcut

Michel Dänzer (1):
      EXA: Only pass CT_YXBANDED to RECTS_TO_REGION() if that is really true.

Robert Noland (1):
      One = is more than adequate here.  Make is sh safe.

Rémi Cardona (1):
      configure: libXinerama isn't needed anymore
2009-08-01 11:06:23 +00:00
drochner
72f75da53b add a patch from upstream to fix an assertion error with pixman-0.15.16
(see fdo bug #22642)
bump PKGREVISION
2009-07-21 11:15:53 +00:00
hasso
db596a3b3e Update to 1.6.2.
Changes in 1.6.2
================

Alan Hourihane (1):
      dri2: support glXWaitGL & glXWaitX by copying fake front to front and

Arkadiusz Miskiewicz (1):
      xfree86: remove duplicate header entries in Makefile.am

Eric Anholt (1):
      xinerama: Put the proto version in the code instead using proto headers.

Keith Packard (3):
      Build against DRI_TEX_BUFFER_VERSION 1
      dri2: Preserve compatibility with 1.6 DRI2 API/ABI
      Bump to version 1.6.2

Changes in 1.6.1.902
====================

Adam Jackson (5):
      vfb: Fix depth setup.
      EDID: Be more cautious about finding vendor blocks.
      EDID: Add modes from Established Timings III descriptor to mode pool
      pci: Dump vendor/devices ids in the printed device list
      EDID: Fix timing class names to match the spec

Alan Coopersmith (5):
      XkbSetNamedIndicator should ignore SD's without LED's
      Fix byte swapping of XF86VidMode{Get,Set}GammaRamp
      Don't leak canonical module name and patterns if module is built-in
      Don't leak default font path when appending built-ins
      Resync COPYING file with notices in code base as of xorg-server-1.6.1

Dave Airlie (1):
      randr12: looking up these bits if randr isn't initialised is bad.

Eamon Walsh (2):
      xselinux: Relax ownership restriction on SetSelectionUseContext.
      xace: Fix a bad device access hook call.

Federico Mena Quintero (1):
      dix/randr: Add missing fields to SRR*NotifyEvent()

Ian Romanick (9):
      DRI2: Add fake front-buffer to request list for windows
      DRI2: Do not send the real front buffer of a window to the client
      DRI2: Synchronize the contents of the real and fake front-buffers
      DRI2: Don't leave empty entries in private->buffers
      DRI2: Add missing front-buffer flush callback.
      DRI2: Add interface for drivers to query DRI2 extension version
      DRI2: Implement protocol for DRI2GetBuffersWithFormat
      DRI2: Force allocation of real-front buffer for non-windows as well
      Use a #define instead of a magic number

Jeremy Huddleston (1):
      Fix a couple off-by-one array boundary checks.

Jerome Glisse (1):
      DRI2: update DRI2 private drawable width & height according to X drawable

Jon TURNEY (2):
      Remove long-gone '-co' option from Xserver man page
      Remove references to rgb.txt from files section of Xserver and Xorg man
pages

Julien Cristau (1):
      Change default for ExaOptimizeMigration to false

Keith Packard (2):
      Make RANDR 'set' timestamps follow client specified time. Bug 21987.
      Bump version to 1.6.1.902

Kristian Høgsberg (1):
      Support setTexBuffer2 in AIGLX.

Michel Dänzer (2):
      EXA: Take GC client clip type into account for migration.
      EXA: Always damage glyph cache pixmap manually after uploading a glyph.

Peter Hutterer (7):
      os: don't malloc memory in LogVMessageVerb.
      Xi: fix copy/paste error causing sizeof against wrong struct.
      Xi: don't double-swap the XListDeviceProperties reply.
      xfree86: restore default off for DontZap
      dix: ensure Activate/DeactivateGrab has a valid value.
      kdrive: set Activate/Deactivate grab for input devices (#21591)
      xfree86: fix SWCursor check in xf86CursorSetCursor.

Tomas Janousek (1):
      Bug #6428, #16458, #21464: Fix crash due to uninitialized VModMap fields.
2009-07-08 17:55:59 +00:00
drochner
6e696a3382 zero out a local variable, fixes random behaviour in case a DRI hw module
cannot be loaded and the server falls back to software rendering, from
Rafal Boni per mail to tech-x11
bump PKGREVISION
2009-06-24 17:25:35 +00:00
wiz
4ff43ed31d Update to 1.6.1.901, first 1.6.2 prerelease.
Lots of changes since last pkgsrc version 1.4.x.
Based on patches provided by Hasso Tepper on pkgsrc-users.
Enable dri by default.

NOTE: You must install new versions of all dependencies, old ones
won't work!
2009-06-07 11:23:46 +00:00
drochner
cb580f0836 inspired by a change in trunk/xsrc:
pull in a patch from upstream which fixes wakeup storms in idletime
counter, reducing the system load significantly if a recent
gnome-screensaver in run
bump PKGREVISION
2009-03-26 20:02:45 +00:00
apb
68ee823dfa Modular-xorg-server-1.4.2nb5.
Apply the following patches from NetBSD xsrc/external/mit/xorg-server/dist;
thanks to joerg for providing a list of changes to apply.

2009-02-19 20:02  macallan

	* hw/xfree86/xaa/: xaaFillRect.c (1.2), xaaInitAccel.c (1.2),
	xaalocal.h (1.2):

	Actually use scanline image writes to upload images if available

2009-02-09 09:49  plunky

	* hw/xfree86/os-support/bsd/bsd_mouse.c (1.5):

	add horizontal mouse-wheel functionality to USB and WSMOUSE drivers

2009-02-02 03:06  christos

	* hw/xfree86/os-support/: bsd/bsd_mouse.c (1.4), xf86OSmouse.h
	(1.2):

	add a SetupMouse proc to condition the fd. Convert NetBSD's
	SetupAuto to SetupMouse.

2009-01-19 00:54  christos

	* hw/xfree86/os-support/bsd/bsd_mouse.c (1.3):

	fix ioctl.

2009-01-13 18:43  christos

	* hw/xfree86/os-support/bsd/bsd_mouse.c (1.2):

	Set the mouse event protocol version. (untested, but head will be
	broken unless I add this).
2009-03-14 09:46:55 +00:00
wiz
1b0ed7eb62 Bump PKGREVISION, add patch from xsrc:
revision 1.2
date: 2008/11/23 21:58:25;  author: mrg;  state: Exp;  lines: +1 -0
patch from jmcneill@:

add a log message to notify what VT is in use.  helps gdm/consolekit.
2009-01-04 20:02:12 +00:00
ahoka
716761c1c1 According to Section 12.4 of the XKB Protocol Spec, if a key only has a single
group but the keyboard has multiple groups defined, the core description of
the key is a duplication of the single group across all symbols. i.e.
G1L1 G1L2 G1L1 G1L2 G1L3 G1L4 G1L3 G1L4

The previous code generated G1L1 G1L2 G1L3 G1L4 G1L3 G1L4, leading to
"invented" groups when the process is reversed.

Note that this creates wrong key types on reconstruction from core to xkb,
i.e. any single-group key with a key type that is not one of the canonical
four (Sec 12.2.3), will get the assigned type on group 1, and a canonical type
for the other gruops.

X.Org Bug 14373 <http://bugs.freedesktop.org/show_bug.cgi?id=14373>

Patch taken from the bugtracker entry.
2008-12-21 10:23:23 +00:00
bjs
570f86683e Refactor declaration of PATCHFILES/PATCH_SITES again, allowing
the X server to define its own.  PATCHFILES for modular-xorg-server
are now located in ${MASTER_SITE_LOCAL:=xorg-server-patchfiles/}.
2008-10-29 22:20:28 +00:00
bjs
b7c85188eb Regenerate distinfo to include Mesa-7.0.4-002.patch. It's not actually
used in the server build, but it's best to be consistent.
2008-10-29 00:53:38 +00:00
tonnerre
c32cc0e3f6 Add some forgotten files to the disitinfo of modular-xorg-server. 2008-10-21 17:16:15 +00:00
joerg
a14de86ebc Add one small patch and drop the autoconf dependency. 2008-09-23 11:23:56 +00:00
bjs
93b676b5b8 Welcome to modular-xorg-server-1.4.2.
This long-overdue update brings many improvements:
  - Many improvements to EXA
  - Input Hotplugging via HAL or dbus (not enabled yet)
  - Support for RandR 1.2.  Users using a dual-head configuration are
    encouraged to see <http://www.x.org/wiki/Projects/XRandR> for more
    information.
  - The server now uses the same version of Mesa we have in pkgsrc;
    this likely will result in more reliable OpenGL/DRI operation.

I realize that this server is still not the latest release (1.5.0);
upgrading to that version will require an involved mesa update,
libpciaccess, etc.  I hope that by the next quarter, that work will be done.

Please file a problem report and/or contact us via the usual means
(mailing lists, etc.) should you encounter any issues.
2008-09-18 20:56:01 +00:00
tonnerre
27a7a5a3c8 modular-xorg-server patch-an has a broken path. 2008-07-13 20:41:46 +00:00
tonnerre
f1a9cd0035 Add some patches for vulnerabilities in different X.Org server extensions
(composite, render, record, etc).
2008-07-13 12:37:29 +00:00
joerg
6df846638a modular-xorg-server-1.3.0.0nb9:
Fix CVE-2008-1377, CVE-2008-1379, CVE-2008-2360, CVE-2008-2361 and
CVE-2008-2362 based on upstream patches.
2008-06-20 13:34:40 +00:00
joerg
853d51d929 modular-xorg-server-1.3.0nb5:
Fix a number of buffer-overflows, privacy-leaks and memory corruptions.
2008-02-25 15:39:16 +00:00
tnn
67b5e7f558 Back out my previous change as it was fixed in renderproto instead.
Also fixes pkg/37844, botched checksum for the dri option.
Thanks to Ryo HAYASAKA for noticing.
2008-01-23 03:19:33 +00:00
tnn
52fc18f05f hack around some fallout from the recent renderproto update.
render.h expects DIX to be a valid type, so include X.h to get it.
1.4 doesn't have this problem so consider it a stopgap solution.
2008-01-16 05:50:56 +00:00
shannonjr
ad81653143 Backing out unintended change 2007-10-30 10:59:16 +00:00
shannonjr
126c7ce006 Unfinished package 2007-10-29 16:04:53 +00:00
joerg
94827abc3f Restore fragment of patch-ab that got lost during the cross-compile
changes. This should fix the NetBSD and DragonFly issues. Bump revision.
2007-08-24 16:43:28 +00:00
joerg
595265ae32 Fix basic NetBSD SPARC support. This currently disables Sbus until
someone more involved in the platform take a look or I find the time to
merge the xsrc changes.
2007-08-16 20:10:15 +00:00
joerg
24243c1b88 Disable the SGML entity check. We never use it and it breaks
cross-compiliation. A less aggressive change has been made to
xorg-util-macros before.
2007-08-15 14:51:55 +00:00
joerg
895678fe23 Add modeline2c.awk, which replaces modeline2c.pl from Xorg.
This allows us to drop the Perl dependency.
2007-08-14 21:34:36 +00:00
abs
9d888c7cca add MesaLib (for dri) to distinfo 2007-08-06 11:24:14 +00:00
joerg
03e53cf8d9 Update to modular xorg-server 1.3.0:
- RandR 1.2 support in the server (drivers must support it as well)
- many bug fixes, improvements for AIGLX and EXA etc pp
2007-08-05 23:30:19 +00:00
drochner
629af004e9 fix a possible memory corruption due to integer overflow in
ProcXCMiscGetXIDList()
(CVE-2007-1003)
bump PKGREVISION
2007-04-03 20:25:44 +00:00
drochner
f5d0e6a3c8 fix glx option for amd64, and make it build without private patches
to *proto pkgs, from Blair Sadewitz
2007-03-02 11:51:49 +00:00
drochner
7caa76450d -don't use the Xrandr version from randrproto for RRQueryVersion but
hardwire it to 1.1, otherwise we announce more than we can support
-add a "glx" option to build the "glx" extension -- this is work in
 progress (might need sone CFLAGS, see pkgsrc-wip)
-bump PKGREVISION
2007-02-26 17:51:16 +00:00
joerg
a93f35c867 Add initial DragonFly support. Not tested yet. 2007-02-05 23:08:36 +00:00
joerg
a0b501ba24 Remove patch-ac. Curse the developers who thought about expanding
SYS_LIBS in configure and not the actual Makefiles.
2007-01-26 17:38:31 +00:00
joerg
e9188ded8a Update to the modualar Xorg server to 1.2.0. Too many bugfixes and
other improvements to list here. Hard to find the details as the
accumulated ChangeLog is gone.
2007-01-24 13:34:40 +00:00
joerg
9bd3d342fb Fix build with libdrm-2.3.0. 2007-01-14 11:06:02 +00:00
joerg
1f7e03c590 Add vendor patch for CVE-2006-6101, CVE-2006-6102 and CVE-2006-6103;
this fixes possible overflows in the extensions dbe and render.
2007-01-10 11:31:35 +00:00
joerg
3a96d69a40 Import modular-xorg-server-1.1.1 based on xorg-server from pkgsrc-wip.
The X.org X11 Server from the modularized source tree of
X.org X11.

Note that this most likely does not work on anything but NetBSD/i386
right now.
2006-11-14 16:59:30 +00:00