Commit graph

760 commits

Author SHA1 Message Date
Niclas Zeising
0ec2171cee x11-servers/xorg-server: Packport intel PCI IDs
Backport PCI IDs for various intel graphics cards, to enable MESA with these
graphics cards.  According to upstream, it is safe to backport PCI IDs,
worst case is MESA fails to initialize and fall back to software rendering,
which would be the case without this patch anyway.

PR:		233221
Tested by:	Yuri Pankov
2019-09-14 19:55:23 +00:00
Mathieu Arnold
467ad301e8 Convert to UCL & cleanup pkg-message (categories x) 2019-08-14 12:25:52 +00:00
Niclas Zeising
cad8743cbb Fix illegal instruction when running in kvm/qemu
Fix illegal instruction when running xserver in kvm or qemu (and possibly
others) virtualisation.  This is solved by disabling sse instructions while
compiling the xf86SlowBcopy (don't ask) function.

This fix was originally committed by dim as r396167 in 2015, and then most
likely accidentally removed in r433863 in 2017.

Bump portrevision

Original commit message:

> Disable use of SSE instructions in Xorg's xf86SlowBcopy() function.
>
> When such instructions are used to copy data from/to mapped video
> memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate
> SIGILL or SIGBUS exceptions, causing Xorg to crash.

PR:		202643
Reported by:	nogcjx@fastmail.fm
Requested by:	dim
Diagnose and fix by:	dim
MFH:		2019Q1
2019-01-09 07:25:55 +00:00
Rodrigo Osorio
e8aff9b116 Upgrade x11-servers/Xfstt from 1.9.2 to 1.9.3
Release note:
 Documentation:
 * Switch to https for hadrons.org URLs.
 Code cleanup
 * Check strSubFamily for emptiness when assigning it.
 * Use matching delete [] operator for new [].
 * Use std::string instead of static buffers.
 * Check error failures from socket() call.
 * Do no dereference TTFont variable before using it.
 * Use memcpy() instead of strncpy() to copy a fixed-length string.
 * Initialize structs that go over the wire to 0.
 * Remove pathname length check.
2018-12-27 21:34:42 +00:00
Niclas Zeising
ed898573cd x11-servers/xwayland: Fix portrevision
Fix portrevision, it accidentally went backwards when comitting r487789.
Bump it to 11 to ensure xwayland is rebuild after the evdev-proto changes.

Add a big note about this, so I might remember next time.

PR:		222905, 217248, 233787 (original commit), 234240 (fix)
Submitted by:	Stefan Ehmann (fix)
2018-12-23 09:57:29 +00:00
Niclas Zeising
248c6b5c09 Split out evdev headers from multimedia/v4l_compat
Split out evdev headers (input.h, input-event-codes.h, uinput.h) into their
own port, devel/evdev-proto, and update those to be current with the Linux
4.19 kernel.  This is done in order to be able to update the rest of the
FreeBSD input stack, which is forthcoming.

By splititng out the evdev headers we can update them independent of other
updates in v4l_compat, which makes it easier for the graphics team to keep
track of them and keep them updated as needed.

Update devel/libevdev from 1.4.4 to 1.5.9 instead of trying to make it work
with the updated headers.  This will be further updated.

Update devel/py-evdev from 0.5.0 to 0.8.1 instead of trying to make it work
with the updated evdev headers.

Update consumers to use devel/evdev-proto rather than multimedia/v4l_compat
as needed, and bump portrevisions.

This is the first step in getting the FreeBSD input stack (libevdev,
libinput and so on) updated to newer versions.

Many thanks to all who have helped out with testing, code and exp-runs.
Apologies if I've forgotten to add any names.

PR:		222905, 217248, (based on, in part), 233787 (exp-run)
Submitted by:	Greg V, wulf
Tested by:	tcberner, kde
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Obtained from:	FreeBSDDesktop development repo
		https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input
		https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports
2018-12-19 09:09:11 +00:00
Niclas Zeising
a40f7214fb Remove portrevision, it's inherited from master
Remove portrevision, it's inherited from master.  Adding it here made it go
backwards.

Reported by:	Matthew D. Fuller
2018-09-13 08:30:04 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Niclas Zeising
15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Yuri Victorovich
e0bfc16b9f x11-servers/x2x: Remove the unnecessary makefile patch by changing to gmake 2018-07-17 07:48:35 +00:00
Yuri Victorovich
3bea43c11b x11-servers/x2x: Update 1.27 -> 1.30.20180709
Port changes:
* Now it uses autoreconf/configure
* Add LICENSE_FILE
* Remove targets - no need for them
2018-07-15 09:01:40 +00:00
Dmitry Marakasov
82ac55cbf5 - Fix version
- Add LICENSE
- Remove unneeded flags
2018-07-07 22:41:39 +00:00
Niclas Zeising
151096d9f3 x11-servers/xorg-server: Enable SECURITY extension
Enabling the SECURITY extension will make ssh -X work in most cases.
This extension is enabled in many Linux distros.

PR:		221984
Submitted by:	Anton Yuzhaninov
2018-05-20 14:51:32 +00:00
Niclas Zeising
ea806daee2 x11-servers/xorg-server: Backport security fixes
Backport security fixes for CVE-2017-10971 and CVE-2017-10972 (yes, 2017).
For some reason this was not done when the vulnerabilities were documented
in VuXML, and a typo in the version range in VuXML meant that the entries
never matched.

This fixes a memory disclosure and a couple of buffer overruns.

PR:		220584
Reported by:	Vladimir Krstulja
MFH:		2018Q2
Security:	ab881a74-c016-4e6d-9f7d-68c8e7cedafb
2018-05-20 13:18:47 +00:00
Koichiro Iwao
1d4cdcc6ff net/xrdp{,-devel}: Update to 0.9.6
* mark -devel port as IGNORE since net/xrdp has been updated
* s/XRDP/xrdp/ in pkg-message, upstream usually spell it lowercase

x11-servers/x11rdp: remove port

This port is only required by net/xrdp 0.6.2. Since net/xrdp has been
updated to 0.9.6, it is no longer required any other port and not useful
with standalone at all. 0.9.1 or later uses x11-drivers/xorgxrdp instead.

Approved by:	hrs (mentor, via email)
Relnotes:	https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.1
		https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.2
		https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.3
		https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.4
		https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.5
		https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.6
Differential Revision:	https://reviews.freebsd.org/D15375
2018-05-13 07:25:24 +00:00
Koichiro Iwao
853c80c70a Update MAINTAINER to my new FreBSD.org account
also update my email address in "Created by:" field.

Approved by:	hrs (mentor)
2018-03-20 06:16:18 +00:00
Mark Linimon
bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00
Alexey Dokuchaev
4438a3336a x11-servers/xorg-server: Fix dashed/dotted line rendering with GLAMOR.
When drawing dashed lines with GLAMOR, they were drawn partially or as
a regular (solid) line, depending on the OpenGL backend.  It behaved
so because screen pixmap was bound as the dash and sampling its alpha,
which is usually just 1.0 (no dashing at all).

Upstream bug:	https://bugs.freedesktop.org/show_bug.cgi?id=99708
Fixed by:	Eric Anholt (it's a pity that anholt@ no longer works
		on FreeBSD)
Silence from:	x11@
2017-11-29 07:21:04 +00:00
Matthew Rezny
02a6064fc6 Drop POTREVISION form slaves so they go forward with xorg-server.
Adding PORTREVISION to explicitly bump them after the recent CVE patches
actually caused the revision to go backwards instead of forwards.

PR:		223049
Reported by:	mandree
2017-10-16 19:45:15 +00:00
Koop Mast
05d144d761 Fix security issues: CVE-2017-12176 through CVE-2017-12187 in xorg-server.
Bump all the slaves due to not being sure where the shared code is used.

MFH:		2017Q4
Security:	7274e0cc-575f-41bc-8619-14a41b3c2ad0
2017-10-13 19:14:53 +00:00
Koop Mast
22f6dd2eed Fix security issues: CVE-2017-13721 and CVE-2017-13723 in xorg-server.
Bump all the slaves due to not being sure where the shared code is used.
MFH:		2017Q4
Security:	4f8ffb9c-f388-4fbd-b90f-b3131559d888
2017-10-09 19:30:27 +00:00
Dmitry Marakasov
fe7dc24bc0 Update X.org WWWs
Approved by:	portmgr blanket
2017-07-14 12:44:57 +00:00
Jan Beich
49e8c0410b x11-servers/xorg-server: back out r445076
Requested by:	x11 (rezny)
2017-07-08 12:36:32 +00:00
Jan Beich
86dbaa26e4 x11-servers/xorg-server: close-on-exec for MIT-SHM (like Linux)
This is similar to what x11/libxshmfence already does.

MFH:		2017Q3
2017-07-05 12:41:57 +00:00
Jan Beich
fe62e6c2df x11-servers/xwayland: respect LOCALBASE 2017-07-05 12:41:43 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Mark Linimon
b5fc89bb28 Provide more descriptive error messages for ports failing on powerpc64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-04-30 04:35:10 +00:00
Dmitry Marakasov
386af00734 - Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
2017-03-17 09:01:54 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Matthew Rezny
42622059b2 Explicitly disable use of udev to fix build with libudev-devd present.
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9719
2017-02-22 18:52:53 +00:00
Baptiste Daroussin
d70b127b51 XWayland is an X Server running as a Wayland client, thus capable of displaying
native X11 client applications in a Wayland compositor environment.

WWW: https://wayland.freedesktop.org/xserver.html
2017-02-11 18:31:47 +00:00
Matthew Rezny
acdcc605d9 Remove post-patch cruft accidentally introduced into patch-configure files
with the previous commit. Thanks to tijl for noticing what I overlooked.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9544
2017-02-11 17:44:59 +00:00
Matthew Rezny
3f87b5cb51 Xorg-servers update to 1.18.4 with driver updates and revision bumps.
Update xf86-video-ati to 7.8.0
Update xf86-video-intel to 2.99.917.20170103
Update xf86-input-synaptics to 1.9.0
Update xf86-input-evdev to 2.10.5
Update xf86-video-r128 to 6.10.2
Update xf86-video-rendition to 4.2.6
New port: xf86-video-geode

PR:		214591,216269,214687,214593,214715,216276,216277,216278,216287,
		216288,216292,216298,214560,216299,216300,216301,216302
Approved by:	swills (mentor, portmgr)
Differential Revision:	https://reviews.freebsd.org/D9436
2017-02-11 14:17:58 +00:00
Baptiste Daroussin
7dc166606b Move wayland to a better location 2017-01-29 23:04:45 +00:00
Baptiste Daroussin
b5089c5725 Use localbase instead of prefix
Reported by:	mat
2017-01-25 12:12:40 +00:00
Baptiste Daroussin
d342237609 Import Wayland
This port was first created by kwm@ then updated and improved by Johannes
Lundberg

Wayland is intended as a simpler replacement for X, easier to develop and
maintain. GNOME and KDE are expected to be ported to it.

Wayland is a protocol for a compositor to talk to its clients as well as
a C library implementation of that protocol. The compositor can be a
standalone display server running on Linux kernel modesetting and evdev
input devices, an X application, or a wayland client itself. The clients can
be traditional applications, X servers (rootless or fullscreen) or other
display servers.

Please report bugs to the FreeBSD bugtracker!

WWW: http://wayland.freedesktop.org/
2017-01-24 23:44:12 +00:00
Baptiste Daroussin
fe48f8380a Update to 1.9.1 2017-01-14 10:19:33 +00:00
Baptiste Daroussin
a42c82645d Update to 1.9.1 2017-01-14 10:17:24 +00:00
Baptiste Daroussin
5bd1e953c8 Add missing run dependency on xkeyboardconfig
PR:		196653
Reported by:	rsimmons0@gmail.com
2017-01-13 22:49:27 +00:00
Baptiste Daroussin
f2455b6867 Add missing run dependency on xkeyboardconfig
PR:		196653
Reported by:	rsimmons0@gmail.com
2017-01-13 22:48:55 +00:00
Baptiste Daroussin
5e03a86234 Update to 1.19.0 2017-01-07 00:49:43 +00:00
Baptiste Daroussin
2e9aa14005 Update to 1.19.0 2017-01-07 00:47:42 +00:00
Rene Ladan
535b2cd3cf Reset ports per maintainer request.
PR:		215557
Submitted by:	A.J. "Fonz" van Werven (maintainer)
2016-12-26 11:59:12 +00:00
Alex Kozlov
13181857ec - Remove x11-servers/mga_hal: Support for MGA_HAL feature was removed from xf86-video-mga in 2011
PR:	214884
Submitted by:	matthew@reztek.cz
Approved by:	x11 (kwm)
2016-11-28 20:58:00 +00:00
Mark Linimon
bbc402e7d9 Mark as broken on various tier-2 archs.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2016-11-16 00:36:20 +00:00
Brad Davis
9f5f43fcf8 Fix xorg-server build on arm64.
Submitted by:	andrew
Approved by:	bapt, kwm (x11)
Differential Revision:	https://reviews.freebsd.org/D8465
2016-11-07 16:33:18 +00:00
Baptiste Daroussin
700675f6de Update to 1.18.4 2016-11-02 07:19:28 +00:00
Baptiste Daroussin
4b02f15b0f Update to 1.18.4 2016-11-02 07:16:50 +00:00
John Marino
af14198731 x11-servers/xorg-nestservdr: document SSL requirement
Approved by:	SSL blanket
2016-09-10 02:59:50 +00:00
John Marino
12e8d047ee x11-servers/xorg-vfbserver: document SSL requirement
Approved by:	SSL blanket
2016-09-10 02:00:21 +00:00