Commit graph

792 commits

Author SHA1 Message Date
Jan Beich
4668408464 x11-servers/xwayland-devel: update to 1.20.0.655
Changes:	421ce458f1...4195e80356
2020-05-20 19:07:00 +00:00
Jan Beich
d08f2efbc4 x11-servers/xwayland-devel: update to 1.20.0.653
Changes:	0777cf46d...421ce458f1
2020-05-19 14:18:21 +00:00
Hiroki Tagato
be958b7d6a - Update to 1.10
- Pass maintainership to submitter
2020-05-18 08:18:13 +00:00
Jan Beich
dce99729d7 x11-toolkits/wlroots: add Xwayland HiDPI scaling support
See https://github.com/swaywm/wlroots/pull/2064#issuecomment-622647075
2020-05-13 19:55:50 +00:00
Jan Beich
994c160a6a x11-servers/xwayland-devel: update to 1.20.0.652
Changes:	785e59060c...0777cf46d
2020-05-13 19:55:38 +00:00
Jan Beich
c031fd115a Convert GitLab patches to simple diffs
GitLab unlike GitHub keeps the footer from git-format-patch(1) which
frequently changes on Git version upgrades. So, switch to git-diff(1)
which lacks header/footer.

Approved by:	x11 (zeising via Gitter)
MFH:		2020Q2 (avoid bustage over time due to upstream infra upgrades)
Differential Revision:	https://reviews.freebsd.org/D24810
2020-05-11 19:50:28 +00:00
Jan Beich
bfbaae441e x11-servers/xwayland-devel: regen patches (gitlab bug)
-2.24.1
+2.26.2

Reported by:	Grzegorz Junka (on ports@ list)
2020-05-07 22:05:42 +00:00
Niclas Zeising
827d3f086e xorg-server: Do not send spurious focus events
Apply an upstream patch to avoid sending focus evens when grab actually does
not change.  This fixes certain full screen applications. [1]

Ensure that we actually don't try to find and link against HAL even if it's
around on the system we're compiling on [2]

Add CPE information [3]

PR:		245854 [1] (with changes), 245604 [2], 197712 [3]
Submitted by:	naddy@ [1], mi@ [2], arrowd [3]
Reported by:	shun [3]
MFH:		2020Q2
2020-05-03 20:22:30 +00:00
Jan Beich
ce34ce1000 x11-servers/xwayland-devel: don't disable default font path
*.pcf fonts are rendered by X11 server but if font path is disabled
only built-in fonts are available by default. While users could still
amend font path via "xset fp" the discrepancy with xorg-server gave
a bad first impression.

Reported by:	jsm
2020-05-01 14:43:41 +00:00
Jan Beich
3d71a8bf02 x11-servers/xwayland-devel: drop advice obsoleted by r528071
MFH:		2020Q2 (confusing cruft removal)
2020-04-28 10:36:08 +00:00
Jan Beich
bb52fe47b6 x11-servers/xwayland-devel: update to 1.20.0.641
Changes:	5e91587302...785e59060c
MFH:		2020Q2 (fixes hang on abort)
2020-04-28 00:56:09 +00:00
Jan Beich
fb0f11442f x11-servers/xwayland: expose x11/nvidia-driver support
Disabled for now as runtime wasn't tested. EGLStreams is supported by
x11-wm/mutter and x11-wm/plasma5-kwin.

PR:		244242
Approved by:	zeising (x11)
2020-04-17 19:01:46 +00:00
Niclas Zeising
5f4b314629 x11-servers/xorg-server: Update to 1.20.8
Update x11-servers/xorg-server to 1.20.8
This is a maintenance release
Most notably, fixes some issues with displayport MST
improves glamor in oom situations

Add a patch to make us more compatible with the linux evdev headers
we're using (devel/evdev-proto).  This is needed for xf86-video-qxl.

complete changelog:
https://lists.x.org/archives/xorg-announce/2020-March/003041.html

Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20
2020-03-31 20:33:01 +00:00
Jan Beich
9170c0d06d x11-servers/xwayland-devel: update to 1.20.0.626
Changes:	3d6efc4aaf...5e91587302
2020-03-19 23:31:06 +00:00
Niclas Zeising
121ae90af1 graphics/mesa-libs: Change default to use DRI3
Change the default mesa configuration to use DRI3 rather than the older DRI2
interface.  This should improve performance somewhat, and alleviates the need
for the FIXDRM option in x11-servers/xorg-server.

Remove the FIXDRM option from x11-servers/xorg-server.

Add an UPDATING entry for the change.

For users of graphics/drm-legacy-kmod or the base graphics drivers, this might
cause regressions.  If you experience problems when running OpenGL applications
please force the use of the DRI2 backend by setting the LIBGL_DRI3_DISABLE
environment variable to 1 before starting any OpenGL application.  This is
easiest done by adding it to your shell startup file or .xinitrc.

Add UPDATING entry for xorg-server, detailing the change of device
configuration backend.

PR:		196678, 244306 (for tracking)
2020-03-08 19:27:27 +00:00
Jan Beich
b782a00656 x11-servers/xwayland-devel: update to 1.20.0.623
Changes:	d4faab8708...3d6efc4aaf
2020-03-07 00:47:32 +00:00
Joseph Mingrone
e8888f06e2 x11-servers/xorg-server: Restore FIXDRM as an off-by-default knob
This is a workaround for a problem with certain systems [1] after
x11-servers/xorg-server was upgraded to 1.20.7.  Other workarounds are
described in PR 244306.

[1]
These systems have been reported to have problems:
Sandy Bridge
Ivy Bridge
Broadwell
Kaby Lake
Whiskey Lake

PR:	244306
Submitted by:	wulf
Reported by:	philippe.michel7@free.fr
Approved by:	x11 (zeising)
Differential Revision:	https://reviews.freebsd.org/D23834
2020-02-25 17:32:03 +00:00
Piotr Kubaj
fc9e4ce57f x11-servers/xorg-server: fix build on GCC architectures
Use C11 compiler:
In file included from glxserver.h:70,
                 from singlepix.c:35:
../include/glx_extinit.h:33: error: redefinition of typedef '__GLXscreen'
glxscreens.h:119: error: previous declaration of '__GLXscreen' was here
2020-02-25 10:45:51 +00:00
Jan Beich
4f329b28d2 x11-servers/xwayland-devel: update to 1.20.0.620
Changes:	4709d24f8e...d4faab8708
2020-02-24 17:25:12 +00:00
Niclas Zeising
4b9c697c26 Update xorg x11 servers to 1.20.7
Update xorg x11 servers to 1.20.7.  This updates x11-servers/xorg-server,
xephyr, xorg-dmx, xorg-nestserver, xorg-vbserver and xwayland.

Enable the UDEV backend by default, instead of the DEVD backend, for
autoconfiguration of input devices on FreeBSD 12 and later.
FreeBSD 11 lacks the needed support in base and will keep on using the DEVD
backend.
Support for the HAL backend is dropped completely, it has been deprecated
for a long time.
Update and improve the DEVD backend.
Add a pkg message about sysctl configuration that might be needed when using
UDEV.

Use the upstream fix for glamour issues.

Use evdev xkb rules by default in xwayland [2]

Add x11-drivers/xf86-input-libinput to the list installed by default by
x11-drivers/xorg-drivers.

Fix net/tigervnc-server and emulators/virtualbox-ose

Bump portrevision of all x11 drivers, as well as other ports dependent on
xorg-server.

This represents work by many people over a long period.  These include
wulf, ak, dumbbell, hselasky pete AT nomadlogic DOT org, jbeich, manu,
myself and possibly others (I tried to look through history, but might have
missed people. If so, I am sorry.)

PR:             196678 [1], 244129 [2]
Submitted by:   hselasky, wulf [1], jbeich [2]
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 (in part)
2020-02-20 21:15:44 +00:00
Jan Beich
ce5b46462f x11-servers/xwayland-devel: update to 1.20.0.604
- Document DRI3 requirement as downstream patches in mesa-libs
  disabled it by default due to a bug with drm-legacy-kmod.
  However, Wayland is not supported on drm-legacy-kmod.

Changes:	ee9f6e20de...4709d24f8e
2020-02-15 00:32:56 +00:00
Jan Beich
87762c1bbc x11-servers/xwayland-devel: expose x11/nvidia-driver support
Disabled for now as runtime wasn't tested. EGLStreams is supported by
x11-wm/mutter and x11-wm/plasma5-kwin.
2020-02-13 04:12:32 +00:00
Jan Beich
7423aac118 x11-servers/xwayland-devel: update to 1.20.0.603
Changes:	1cfdd1a965...ee9f6e20de
2020-02-13 00:43:42 +00:00
Niclas Zeising
cd7a5f6447 graphics/wayland-protocols: Update to 1.18
Update graphics/wayland-protocols to 1.18
Remove the -devel version, it's not needed.  Adjust dependencies for this.

PR:		244010
Submitted by:	jbeich
Tested by:	manu
2020-02-10 19:32:43 +00:00
Jan Beich
e6753d04be x11-servers/xwayland-devel: add missing runtime dependencies
sh: /usr/local/bin/xkbcomp: not found
sh: /usr/local/bin/xkbcomp: not found
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
2020-02-10 15:36:48 +00:00
Jan Beich
00721a79ad x11-servers/xwayland-devel: unbreak on GCC architectures
In file included from ../glx/glxserver.h:70,
                 from ../glx/indirect_dispatch.c:29:
../include/glx_extinit.h:33: error: redefinition of typedef '__GLXscreen'
../glx/glxscreens.h:119: error: previous declaration of '__GLXscreen' was here
2020-02-09 23:50:09 +00:00
Jan Beich
d17bee46cc x11-servers/xwayland-devel: unbreak due to x11@ being slow
===>   xwayland-devel-1.20.0.592 depends on package: wayland-protocols>=1.18 - not found
[...]
Dependency wayland-protocols found: NO found 1.17 but need: '>= 1.18'
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
[...]
install   -m 555 /usr/ports/default/x11-servers/xwayland-devel/work/xserver-1cfdd1a96580733df3625bcea3384ffee3dc92df-1cfdd1a96580733df3625bcea3384ffee3dc92df/_build/hw/xwayland/Xwayland  /usr/ports/default/x11-servers/xwayland-devel/work/stage/usr/local/bin
install: /usr/ports/default/x11-servers/xwayland-devel/work/xserver-1cfdd1a96580733df3625bcea3384ffee3dc92df-1cfdd1a96580733df3625bcea3384ffee3dc92df/_build/hw/xwayland/Xwayland: No such file or directory
*** Error code 71
2020-02-09 22:21:51 +00:00
Jan Beich
b9b1ea82cf x11-servers/xwayland-devel: add new port
Current version in the tree is very old and buggy. Divorce from Xorg
server to simplify QA and avoid numerious non-upstreamed patches.
2020-02-09 22:21:40 +00:00
Jan Beich
78328a9895 x11-servers/xorg-server: expose UDEV support for evdev hotplug
UDEV builds Xorg against libudev-devd, allowing automatic detection of
/dev/input/* (evdev) devices with xf86-input-libinput or xf86-input-evdev.

PR:		222609
Submitted by:	Greg V <greg@unrelenting.technology>
Tested by:	Ivan <bsd@abinet.ru>, manu
Approved by:	x11 (bapt via IRC)
2020-01-25 16:26:41 +00:00
Hiroki Sato
3593478fde Add etc/X11/fontpath.d as a catalogue fontpath by default.
This allows a port/package to install a symlink pointing
the real font directory managed by core XLFD (aka fonts.dir).
Adding a new entry of "FontPath" into the system-wide
xorg.conf or "xset fp" by users manually is no longer needed.

When both USES=fonts and ${FONTPATHSPEC} are defined,
the post-install target will install ${FONTPATHSPEC} into
${FONTPATHD} directory as a symlink to ${FONTSDIR}.
The symlink name has the following syntax:

  <identifier>:[attribute:]pri=<priority>

Details can be found in xorg.conf(5).  A typical example
for a bitmap font is as follows:

  FONTPATHSPEC=	${PORTNAME}:unscaled:pri=60

No objection on:	x11
2019-12-30 00:11:05 +00:00
Niclas Zeising
4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00
Niclas Zeising
c32f72e68d Switch all ports to use USES=xorg-cat
Change all ports to use USES=xorg-cat instead of the old XORG_CAT
Add USES=xorg and USES=gl as needed to x11@ ports
2019-11-03 21:56:37 +00:00
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