Commit graph

153 commits

Author SHA1 Message Date
tnn
e8ba8d1590 Update to xorg-server-1.18.0 (2015-11-09)
The main highlight of this release are RandR 1.5 with reworked
multi-monitor support, GLAMOR optimizations and better generic
modesetting driver support.
2016-01-05 13:04:23 +00:00
sevan
8ec4d7cde7 Remove references to amd64, MACHINE_ARCH x86_64 cover all variants of
this architecture in pkgsrc now.

Reviewed by wiz@
2015-11-08 15:08:00 +00:00
tnn
6a4c7785cf Update to modular-xorg-{server,xephyr}-1.17.4
1.17.4:
Fixes an uninitialized fd_set

1.17.3:
Various bugfixes across the board.  The most visible changes include
fixing GLX extension setup under Xwayland and other non-Xorg servers
(enabling core contexts in more scenarios), and various stability fixes
to glamor and the Present extension.
2015-11-01 22:58:52 +00:00
tnn
41e50f4160 Fix another instance of FD_SETSIZE defined too late. 2015-10-12 21:48:33 +00:00
tnn
6c427bf5bb Fix ctrl-alt-Fn VT switching. Gleaned from xsrc. Bump rev.
Somebody reported that this was broken but now I can't find the thread ...
2015-10-11 18:28:53 +00:00
tnn
1fbe8f10cb Adjust the PR misc/50073 patches so they only apply on NetBSD.
It turns out that moving Xpoll.h before osdep.h breaks on Linux because
it doesn't get the feature test macros for select.h.
2015-10-11 17:40:23 +00:00
tnn
67473d92af modular-xorg-server & drivers are not for Darwin 2015-10-06 11:29:55 +00:00
tnn
744213f757 kludge around non-constant expressionness of CMSG_SPACE(3) on netbsd-5 2015-09-26 18:35:41 +00:00
tnn
541cb1249c Enable more functionality in modular-xorg-server:
- always include dri3 support with dri option (can still use dri2)
- always include GLAMOR support with dri option
- enable xtrans file descriptor passing
- require mesa 11
- Bump PKGREVISION

GLAMOR is experimental OpenGL accelerated 2D graphics. It works with
xf86-video-ati and xf86-video-intel but must be explicitly enabled.
Sample configuration:

---8<---
# /usr/pkg/share/X11/xorg.conf.d/20-glamor.conf
Section "Module"
    Load "dri2"
    Load "glamoregl"
EndSection
Section "Device"
    Identifier "radeon" # or intel
    Driver "radeon" # or intel
    Option "AccelMethod" "glamor"
EndSection
---8<---
2015-09-26 08:47:17 +00:00
tnn
6e31eb4132 provide MesaLib7 if that was requsted 2015-09-25 00:57:16 +00:00
tnn
3b07f7b151 reduce diff to upstream 2015-09-20 15:32:38 +00:00
tnn
fafa3f3850 PR pkg/50172: support the "glamor" AccelMethod on FreeBSD/DragonFly/Linux
(NetBSD not yet. Needs libxshmfence support first.)
2015-09-13 04:59:35 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
markd
9cc6b4a503 Bump PKGREVISION for Xpoll.h moves. 2015-07-25 04:11:55 +00:00
markd
82c2f9eef0 move X11/Xpoll.h include earlier than sys/select.h to avoid missing
out on setting FD_SETSIZE early enough. Fixes PR misc/50073
2015-07-25 04:10:53 +00:00
khorben
498c7e1379 Factor the Makefiles of modular-xorg-{server,xephyr}
As proposed on tech-pkg@. Both build-tested on NetBSD/amd64.
2015-07-07 21:51:22 +00:00
tnn
93f10f3108 remove redundant patch, fixed in 1af15aaf278edcf6f6de94774350e34a80883c24 2015-06-30 03:27:01 +00:00
wiz
2f6a3d5de0 Update to 1.17.2:
This picks up a pile of fixes from master.  Notable highlights:

- Fix for CVE-2015-3164 in Xwayland
- Fix int10 setup for vesa
- Fix regression in server-interpreted auth
- Fix fb setup on big-endian CPUs
- Build fix for for gcc5

Complete changelog:

Aaron Plattner (2):
      xfree86: Fix xf86_check_platform_slot's handling of PCI
      xfree86: Add GPU screens even if there are no active GDevs

Adam Jackson (1):
      xserver 1.17.2

Adel Gadllah (1):
      modesetting: Fix software cursor fallback

Alan Coopersmith (2):
      Clear ListenTransConns entries in CloseWellKnownConnections
      Accept x86_64 as well as i*86 for $host_cpu in Solaris on x86

Brent Collins (1):
      shm: Fix xselinux resource initialization for xinerama pixmaps

Chris Wilson (2):
      shm: Fix use-after-free in ShmDestroyPixmap
      present: Copy unflip contents back to the Screen Pixmap

Colin Harrison (2):
      os/xdmcp.c: Include Xtrans.h when building for WIN32
      os/utils.c: Don't try to build os_move_fd() for WIN32

Dave Airlie (2):
      os/access: fix regression in server interpreted auth
      glamor: don't do render ops with matching source/dest (v2)

Dima Ryazanov (1):
      xwayland: Implement smooth scrolling

Egbert Eich (6):
      symbols: Fix sdksyms.sh to cope with gcc5
      Xephyr: Don't crash when no command line argument is specified
      Xephyr: Print default server display number if none is specified
      Xephyr: Fix compile when debugging is enabled
      Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
      Xephyr: Fix broken image when endianess of client machine and host-Xserver differ

Emil Velikov (2):
      randr: remove chatty error messages
      randr: use randr: prefix in ErrorF()

Hans de Goede (1):
      Re-enable non serverfd input devices immediately on vtenter

Jason Gerecke (2):
      xfree86: Return NULL from xf86CompatOutput if no compat_output is defined
      dix: Do not allow device transform to be set on valuatorless devices

Jon TURNEY (9):
      ephyr: Avoid a segfault with 'DISPLAY= Xephy -glamor'
      os: XDMCP options like -query etc. should imply -listen tcp
      os: Teach vpnprintf() how to handle "%*.*s"
      hw/xwin/glx: Refactor parsing of the <proto> XML element
      hw/xwin/glx: Improve code generator to deal with latest Khronos OpenGL registry XML
      hw/xwin: Report Cygwin version information in log
      glamor: Fix build when configured --enable-glamor --disable-xshmfence
      hw/xwin/winclipboard: Link xwinclip with -lpthread
      hw/xnest: Fix build for MinGW

Jonathan Gray (2):
      glamor: remove const from the return type of glamor_get_drawable_location()
      glamor: fix build when DRI3 is not defined

Jürg Billeter (1):
      int10: Fix error check for pci_device_map_legacy

Keith Packard (1):
      mi: Partial pie-slice filled arcs may need more space for spans

Maarten Lankhorst (4):
      glamor: only use (un)pack_subimage when available
      glamor: do not check for gl errors in glamor_build_program
      glamor: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER
      glamor: GL_TEXTURE_MAX_LEVEL is not available on GLES2

Michal Srb (1):
      Expose GetMaster to modules.

Michel Dänzer (2):
      Add AC_SYS_LARGEFILE defines to dix-config.h
      modesetting: Include dix-config.h from dumb_bo.c

Olivier Fourdan (4):
      ephyr: Fail if glamor is requested but not usable
      xwayland: Add dependency on glamor libs
      glamor: check max native ALU instructions
      dix: Fix image byte order on big endian hardware

Ray Strode (5):
      systemd-logind: filter out non-signal messages from message filter
      systemd-logind: don't second guess D-Bus default timeout
      xwayland: Enable access control on open sockets [CVE-2015-3164 1/3]
      os: support new implicit local user access mode [CVE-2015-3164 2/3]
      xwayland: default to local user if no xauth file given. [CVE-2015-3164 3/3]

Robert Ancell (1):
      xwayland: Fix error strings

Rui Matos (2):
      dix/events: Set currentTime to the given time stamp in NoticeTime
      xwayland: Throttle our cursor surface updates with a frame callback

Vicente Olivert Riera (1):
      backtrace.c: Fix word cast to a pointer
2015-06-29 11:12:45 +00:00
sevan
ccb9ef0bc3 MirBSD also has SHA1Init() in libc.
Pointed out by bsiegert@
2015-06-27 18:46:35 +00:00
sevan
b51b5910fc SHA1Init() is only present in the libc of NetBSD, OpenBSD & Bitrig.
Switch if statment from a *BSD wildcard to specifically listing these operating
systems so FreeBSD & DragonFlyBSD can then use security/nettle.

Reviewed by wiz@
2015-06-25 10:20:16 +00:00
richard
6de294ccdc update PLIST for modular-xorg-server with dtrace option 2015-06-09 05:05:37 +00:00
tnn
2195e048cb Fix DRI3 build on Linux 2015-04-29 15:11:02 +00:00
tnn
e5ae745c80 Update to modular-xorg-server-1.17.1.
Please note that the previous version is still available in
x11/modular-xorg-server112 in case this version does not work for you.
This is relevant for users who need DRI1 and/or XAA as those features have
been deprecated and removed by upstream since xorg-server-1.13.

Note also that this update breaks the driver ABI and that drivers will be need
to be rebuilt.

Summary of the important changes since 1.12:

xorg-server-1.17 (4 February 2015)
- Generic DRM/KMS driver xf86-video-modesetting

xorg-server-1.16 (17 July 2014)
- XWayland DDX
- GLAMOR acceleration
- non-PCI devices support
- systemd-logind support (rootless X)

xorg-server1.15 (27 December 2013)
- DRI3
- "present" extension

xorg-server-1.14 (5 March 2013)
- XInput 2.3

xorg-server1.13 (5 September 2012)
- New DDX driver API
- DRI2
- RandR 1.4
- OpenGL 3.x+ contexts
- XAA support removed
2015-04-25 11:47:03 +00:00
tnn
3748427735 drivers should have a full dependency on libpciaccess 2015-04-05 19:46:07 +00:00
tnn
d5175821a7 Ensure the xf86-* driver packages have their server ABI dependencies
correctly expressed depending on which server is in use.
2015-04-03 09:55:57 +00:00
tnn
ae83e8e8d2 modular-xorg-server-1.12 needs MesaLib<10. Bump revision. 2015-04-03 09:44:13 +00:00
tnn
cff9c5916f remove zero byte files (leftovers?) 2015-04-03 09:07:46 +00:00
khorben
c8af71fec5 Bump the ABI dependency as required
The ABI was changed in modular-xorg-server 1.12.4nb10, as required by
the latest version of the Intel driver (x11/xf86-video-intel 2.99.917).
2015-03-12 15:49:20 +00:00
tnn
60cde69d32 clean up whitespace 2015-03-09 21:24:40 +00:00
tnn
6ca987235a Force a full dependency on libpciaccess in situations where we definitely
need to link with it but might have included x11/xf86driproto's bl3.mk first,
because we have:
x11/xf86driproto/buildlink3.mk:BUILDLINK_DEPMETHOD.libpciaccess?=  build

(This issue appears only on non-x86 because on x86 we get libpciaccess
 through libdrm)

Bump PKGREVISION to get the dependency expressed.
2015-03-09 19:54:44 +00:00
khorben
ee84e5034d Imported a patch from xsrc to implement RRSetChanged()
With this I can build xf86-video-intel 2.99.917 with the same changes as
found in xsrc.
2015-03-03 00:55:58 +00:00
tnn
b889827510 fix segfault in DRI2CreateDrawable2 due to uninitialized variable 2015-02-22 11:08:45 +00:00
wiz
52fff24721 Fix http://www.x.org/wiki/Development/Security/Advisory-2015-02-10/
Bump PKGREVISION.
2015-02-11 09:43:39 +00:00
dholland
2337b318fb As a compromise on PR 39813, document the pkgpaths of the minimum set
of fonts required to run the X server.

AIUI we do not want the X server package to depend on these fonts
directly. (If this is not the case, or no longer is, they should be
added to DEPENDS.)
2014-12-29 07:55:23 +00:00
wiz
68331a1710 Fix CVE-2013-6424 using
http://lists.x.org/archives/xorg-devel/2013-October/037996.html

Bump PKGREVISION.
2014-12-21 16:14:05 +00:00
wiz
597965010a Fix a pkglint warning. 2014-12-21 16:13:42 +00:00
wiz
8fc1d945e8 Fix checksum. 2014-12-21 16:09:00 +00:00
wiz
9c3d50f794 Fix
X.Org Security Advisory:  Dec. 9, 2014
Protocol handling issues in X Window System servers
using the 1.16.x patches, backported to 1.12 by myself.
Review welcome.

Bump PKGREVISION.
2014-12-21 16:03:17 +00:00
ryoon
60806aa001 Recursive revbump from x11/pixman
Fix PR pkg/48777
2014-05-05 00:47:34 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00
wiz
3c6fde3907 Fix CVE-2013-4396.
From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Mon, 16 Sep 2013 21:47:16 -0700
Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText()

Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original.  If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.

Since one of the errors being checked for is whether the server was
able to malloc(c->nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.

Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.

Reported-by: Pedro Ribeiro <pedrib@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>


Bump PKGREVISION.
2013-10-08 20:33:54 +00:00
obache
7e3be9fc97 preprocessor is a tool. 2013-06-16 13:34:30 +00:00
joerg
d501b58eb1 Consistently use devel/tradcpp as preprocessor. 2013-06-13 22:30:41 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
joerg
cc7e6b2be2 Restore part of patch-sa to get correct syntax for in/out. 2013-05-21 18:38:03 +00:00
obache
b7545c9d1f TLS is not supported by NetBSD<6. 2013-05-19 09:28:51 +00:00
obache
dee6543534 regen distinfo 2013-05-19 01:30:24 +00:00