1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
Commit Graph

930 Commits

Author SHA1 Message Date
Jan Beich
a3fcbeb788 x11-servers/xwayland-devel: update to 1.20.0.748
Changes:	affc47452...7a7e55c5c
2020-11-07 00:47:56 +00:00
Jan Beich
4042bbcef2 x11-servers/xwayland-devel: update to 1.20.0.747
Changes:	1626e9fa7...affc47452
2020-10-31 00:50:55 +00:00
Jan Beich
a30f03817f x11-servers/xwayland-devel: update to 1.20.0.742
Changes:	96d19e898...1626e9fa7
2020-10-03 00:35:48 +00:00
Jan Beich
b70bc55c28 x11-servers/xwayland-devel: update to 1.20.0.741
Changes:	efb3abddd...96d19e898
2020-09-29 00:54:20 +00:00
Niclas Zeising
a8d9df7e30 Bump portrevision for devel/evdev-proto
Bump portrevision on everything with a build dependency on
devel/evdev-proto, to chace the update of evdev-proto in r550442.
2020-09-28 19:59:57 +00:00
Jan Beich
b0ee8a2a21 x11-servers/xwayland-devel: update to 1.20.0.738
Changes:	a5f439dcd...efb3abddd
2020-09-26 00:41:30 +00:00
Jan Beich
b4f09538ca x11-servers/xwayland-devel: update to 1.20.0.734
Changes:	239ebdc9e...a5f439dcd
2020-09-24 00:57:42 +00:00
Jan Beich
5f7c983121 x11-servers/xwayland-devel: update to 1.20.0.731
Changes:	428787907...239ebdc9e
2020-09-22 00:31:32 +00:00
Niclas Zeising
f2049865e3 x11-servers/xorg-server: Update to 1.20.9
Update x11-servers/xorg-server to 1.20.9
This is a maintenance release

Changelog and announcement:
https://lists.x.org/archives/xorg-announce/2020-August/003059.html
2020-09-13 17:03:35 +00:00
Fernando Apesteguía
fdf734090a x11-servers/Xfstt: Update to 1.11
ChangeLog: https://github.com/guillemj/xfstt/blob/master/NEWS

PR:	248690
Submitted by:	gspurki@gmail.com (maintainer)
2020-09-09 15:36:45 +00:00
Jan Beich
44b1db8ce8 x11-servers/xwayland-devel: update to 1.20.0.724
Changes:	727df0a74...428787907
2020-09-08 00:53:14 +00:00
Jan Beich
81428ea2f9 x11-servers/xwayland-devel: update to 1.20.0.719
Changes:	2902b7853...727df0a74
2020-09-03 00:54:26 +00:00
Jan Beich
b1e2007bdf x11-servers/xwayland-devel: update to 1.20.0.714
Changes:	1cccb486d...2902b7853
Security:	CVE-2020-14345, CVE-2020-14346, CVE-2020-14361, CVE-2020-14362
2020-08-25 20:05:45 +00:00
Niclas Zeising
773ea8038a x11-servers/xorg-server: Fix several security issues
Fix several security issues in x11-servers/xorg-server and slave ports which
ultimately can lead to local privilege escalations if xorg-server is running
privileged.

More info:
https://lists.x.org/archives/xorg-announce/2020-August/003058.html

MFH:		2020Q3 (implicit, security update)
Security:	ffa15b3b-e6f6-11ea-8cbf-54e1ad3d6335
2020-08-25 17:30:33 +00:00
Jan Beich
edc5473084 x11-servers/xwayland-devel: update to 1.20.0.710
Changes:	5c20e4b83...1cccb486d
2020-08-25 14:43:45 +00:00
Jan Beich
633e48d0d6 x11-servers/xwayland-devel: update to 1.20.0.704
Changes:	aac28e162...5c20e4b83
2020-08-08 00:48:56 +00:00
Niclas Zeising
cdbf3c2bb2 x11-servers/xorg-server: Fix CVE-2020-14347
Add upstream patch to fix CVE-2020-14347, Pixel Data Uninitialized Memory
Information Disclosure.
Announcement:
https://lists.x.org/archives/xorg-announce/2020-July/003051.html

PR:		248410 (based on)
Submitted by:	VVD
MFH:		2020Q3 (implicit, security update)
Security:	3c7ba82a-d3fb-11ea-9aba-0c9d925bbbc0
2020-08-01 14:17:09 +00:00
Jan Beich
e77f053eab x11-servers/xwayland-devel: update to 1.20.0.703
Changes:	591916ea9...aac28e162
2020-08-01 00:35:44 +00:00
Jan Beich
65713b476f x11-servers/xwayland-devel: update to 1.20.0.697
Changes:	495bf63a7...591916ea9
2020-07-28 00:28:34 +00:00
Jan Beich
c2e73c3fbb x11-servers/xwayland-devel: update to 1.20.0.691
Changes:	ddb86e94c...495bf63a7
2020-07-23 01:00:25 +00:00
Jan Beich
dff3830b3e x11-servers/xwayland-devel: update to 1.20.0.687
Changes:	ba0e789b9...ddb86e94c
2020-07-21 00:44:35 +00:00
Jan Beich
0d38498c5b x11-servers/xwayland-devel: update to 1.20.0.685
Changes:	85a6fd11c...ba0e789b9
2020-07-18 00:54:40 +00:00
Jan Beich
f49a425e24 x11-servers/xwayland-devel: update to 1.20.0.684
Changes:	b0413b6e9...85a6fd11c
2020-07-16 20:04:28 +00:00
Jan Beich
b778c3a197 x11-servers/xwayland-devel: update to 1.20.0.673
Changes:	b670527429...b0413b6e9
MFH:		2020Q3 (bug fixes)
2020-07-03 20:29:33 +00:00
Jan Beich
7131dd3e07 UCLify pkg-message in my ports 2020-07-01 22:22:38 +00:00
Jan Beich
de23aec0f3 x11-servers/xwayland-devel: switch to GitHub mirror
- GL_COMMIT is not supported by "portedit set-version"
- GL_COMMIT is no longer necessary (bug 242329)
- GitLab distfiles don't carry ordinal version in filename
- GitLab .patch links have volatile footer (Git version)
2020-06-26 22:00:44 +00:00
Jan Beich
574955f15b x11-servers/xwayland-devel: update to 1.20.0.669
Changes:	d6558477d7...b670527429
2020-06-26 22:00:29 +00:00
Jan Beich
58247639e1 x11-servers/xwayland-devel: update to 1.20.0.663
Changes:	fc4f248544...d6558477d7
2020-06-20 01:02:26 +00:00
Michael Gmelin
0d797c2b7a Add information for users of devices that don't support evdev to pkg-message
(e.g., serial mice).

PR:		246956
Approved by:	zeising (x11)
2020-06-19 15:30:44 +00:00
Piotr Kubaj
f023270679 x11-servers/Xfstt: fix build on GCC architectures
Use C++11 compiler:
encoding.cc:34: error: 'nullptr' was not declared in this scope
2020-06-06 18:36:24 +00:00
Jan Beich
b740b43b19 x11-servers/xwayland-devel: update to 1.20.0.660
Changes:	4195e80356...fc4f248544
2020-06-06 00:40:46 +00:00
Niclas Zeising
b3c1dc5172 xserver: default to libinput if no driver is found
Make xorg-server default to try the xf86-input-libinput driver if a
configured driver can't be found.  This only applies if a specific driver
for an input device has been configured manually in xorg, but that driver
can't be found when starting xorg.

Discussed with:	manu, jbeich
MFH:		2020Q2
2020-06-05 19:14:40 +00:00
Jan Beich
ee0f2d4d51 x11-servers/xwayland-devel: document DRI3 quirk
Wayland clients (unlike server/compositor) are not supposed to require
special privileges. Something in drm-kmod fails to authorize access to
/dev/dri/* even if user is under "video" group.

Not a port option because Xwayland doesn't know how to drop priveleges.
2020-06-02 21:37:36 +00:00
Jan Beich
4bdb3aa74e x11-servers/xwayland-devel: simplify r536952 again 2020-05-29 10:40:38 +00:00
Jan Beich
8772438207 x11-servers/xwayland-devel: simplify r536952 2020-05-29 10:14:51 +00:00
Jan Beich
1c76ca5124 x11-servers/xwayland-devel: work around missing GLX_EXT_libglvnd
$ pkg install nvidia-driver
$ glxinfo
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40
2020-05-29 08:40:01 +00:00
Jan Beich
e35312bc7a x11-servers/xwayland-devel: unbreak with libglvnd
"pkg-config --cflags gl" no longer contains -I/usr/local/include/libdrm

In file included from ../glx/glxdriswrast.c:39:
/usr/local/include/GL/internal/dri_interface.h:43:10: fatal error: 'drm.h' file not found
 #include <drm.h>
          ^~~~~~~
2020-05-27 07:24:32 +00:00
Jan Beich
64c25a7c48 Chase GitLab redirect in PATCH_SITES
https://about.gitlab.com/releases/2020/05/06/gitlab-com-13-0-breaking-changes/#removal-of-deprecated-project-paths
2020-05-24 10:23:24 +00:00
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
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
Baptiste Daroussin
e629e9048b Update to 1.18.3
Use INSTALL_WRKSRC instead of home made equivalent
2016-07-06 21:49:59 +00:00
Baptiste Daroussin
b6876340ee Use INSTALL_WRKSRC instead of home made equivalent 2016-07-06 21:49:28 +00:00
Baptiste Daroussin
12f5f23eeb Update to 1.18.3 2016-07-06 21:45:54 +00:00
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Steve Wills
86cd4fbe5a many ports: mark broken on powerpc64 2016-04-21 16:43:14 +00:00
Mathieu Arnold
72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00
Raphael Kubo da Costa
382f2da52a Add another MASTER_SITE, and a clarifying comment.
The comment explains the difference between net/xrdp and x11-servers/x11rdp to
avoid confusion because of their similar names.

PR:		207323
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
2016-03-05 16:40:41 +00:00
Raphael Kubo da Costa
2ad13f33ec Fix build with clang 3.8.0.
During a recent exp-run for bug 206074, it was found that x11-servers/x11rdp
gives errors with clang 3.8.0:

/wrkdirs/usr/ports/x11-servers/x11rdp/work/x11rdp_xorg71/build_dir/include/X11/Xtrans/Xtranssock.c:1027:50: error: reference to 'in6addr_any' is ambiguous
        ((struct sockaddr_in6 *)&sockname)->sin6_addr = in6addr_any;
                                                                ^

This is because Xtranssock.c attempts to redefine in6addr_any as a weak symbol,
which does not work with clang 3.8.0. As a fix, place the customized
in6addr_any definition between #ifdef __FreeBSD__ guards.

PR:		207192
Submitted by:	dim
Reviewed by:	Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
2016-03-03 17:17:52 +00:00
Baptiste Daroussin
379ce5b305 Update to 1.18.0 2015-12-27 22:31:46 +00:00
Baptiste Daroussin
013b8cdd3c Update to 1.18.0 2015-12-27 22:29:37 +00:00
Koop Mast
52f474c7cb Update xorg-server to 1.17.4. 2015-10-29 23:03:33 +00:00
Koop Mast
76da779716 Unbreak the build of xorg-server 1.17.2 on arm. Apparently the 1.17 update
broke this.

Submitted by:	sbruno@
2015-10-21 21:14:39 +00:00
Mathieu Arnold
9b6e71d993 Fix build on 9.
PR:		203766
Submitted by:	maintainer
Sponsored by:	Absolight
2015-10-16 14:19:08 +00:00
Koop Mast
4c670c9a31 Add missing dependancies so xephyr can be build again. [1]
Reported by:	Piotr Kubaj <pkubaj@riseup.net>
2015-10-13 11:31:40 +00:00
Koop Mast
dbcb36987b unbreak index. 2015-10-13 10:08:30 +00:00
Antoine Brodin
3ad2ea6e69 Unbreak INDEX 2015-10-13 09:26:46 +00:00
Koop Mast
1742c4fbee Xorg-server update to 1.17.2 with related driver updates and bumps.
Update fontproto to 2.1.3.
Update libXfont to 1.5.1.
Update xf86-input-keyboard 1.8.1.
Update xf86-input-vmmouse to 13.1.0.
Update xf86-input-void to 1.4.1.
Update xf86-video-chips to 1.2.6.
Update xf86-video-cirrus to 1.5.3.
Update xf86-video-mach64 to 6.9.5.
Update xf86-video-neomagic to 1.2.9.
Update xf86-video-r128 to 6.10.0.
Update xf86-video-s3virge to 1.10.7.
Update xf86-video-savage to 2.3.8.
Update xf86-video-siliconmotion to 1.7.8.
Update xf86-video-sis to 0.10.8.
Update xf86-video-trident to 1.3.7.
Update xf86-video-vesa to 2.3.4.

* All other xf86-* drivers where bump and/or patched to allow them to
  compile and work with the new xorg-server.
* The ATI-ums driver is removed because the API it depends on was
  removed from the xorg-server.
* Add patch to sunffb to make the lack of XAA non-fatal
  (not build/run tested due to lack of hardware).
* Remove the extra patches in xorg-server for arm. The code seems to
  support it now natively. Please file a bug if this is not the case.
* Update the xorg-server support in virtualbox-ose-additions for vboxmouse. [1]

Submitted by:	jkim@ [1]
Obtained from:	Graphics devel repo
2015-10-13 07:45:08 +00:00
Ruslan Makhmatkhanov
f271f72f19 x11-servers/Xfstt: update to 1.9.2
- update to 1.9.2
- pass maintainership to submitter
- add new maintainer's distfile mirror to MASTER_SITES
- specify a LICENSE
- sort USES alphabetically
- regenerate patches with make makepatch
- remove absolute path from pkg-message
- add PROVIDE, REQUIRE and KEYWORD to the rc script

PR:		202267
Submitted by:	A.J. "Fonz" van Werven <freebsd@skysmurf.nl>
2015-09-28 19:15:47 +00:00
Dimitry Andric
6edde2ba50 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.

Reported by:	nogcjx@fastmail.fm
Approved by:	x11 (bapt)
PR:		202643
MFH:		2015Q3
2015-09-05 11:57:51 +00:00
Jung-uk Kim
6fce017bdf Automatically load mouse integration support for VirtualBox guest. 2015-05-19 20:04:12 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Antoine Brodin
e2c9e4fad3 Do not include bsd.port.pre.mk twice 2015-05-06 17:27:48 +00:00
Sean Bruno
03d3126212 Duplicate svn revision 368293 and fix compilation on armv6.
PR:	197092
Submitted by:	mikael.urankar@gmail.com
2015-05-06 17:10:37 +00:00
Baptiste Daroussin
66d439f626 Disable fontpath.d support as it overwrites the default fontrootdir making non
fontconfig application like xcalc not to find their fonts

Reported by:	Jakub Lach <jakub_lach@mailplus.pl>, Stefan Thurner <stthur@gmail.com>
2015-03-22 19:49:09 +00:00
Baptiste Daroussin
a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00
Dmitry Marakasov
6d4b3ed0c9 - Remove useless MASTER_SITE_SUBDIR
- Drop @dirrm* from plist
- Add empty directory to plist
2015-03-03 02:55:08 +00:00
Koop Mast
e8e22ed74d Fix CVE-2015-0255.
Information leak in the XkbSetGeometry request of X servers.

Submitted by:	http://lists.freedesktop.org/archives/xorg/2015-February/057158.html
Obtained from:	upstream
MFH:		2015Q1
2015-02-12 19:58:41 +00:00
Baptiste Daroussin
67d3ddc0ee Cleanup plist 2015-02-05 16:03:32 +00:00
Alex Kozlov
b7088112c0 - Fix AutoAddDevices option when config/devd backend is used
Reported by:	Jonathan Chen <jonc@chen.org.nz>, lightside@gmx.com, many others
Approved by:	x11 (dumbbell, kwm)
2014-12-23 20:40:58 +00:00
Jean-Sébastien Pédron
3c9a1d11c2 Final removal of WITH_NEW_XORG
This knob was turned on for all version of FreeBSD in r369875
(2014-10-03) and officially deprecated. Since then, it was gradually
removed from many ports when they needed an update.

x11-servers/xorg-server was the last major user of this knob. The port
was updated to xserver 1.14 in r374982 (2014-12-19). The update got rid
of the knob, clearing the path to the final removal.

This commit changes ports who were checking for WITH_NEW_XORG and remove
its handling from bsd.port.mk.

While here, two sanity checks are added to warn user about WITH_KMS and
WITH_NEW_XORG which have no effect now.

Differential Revision:	https://reviews.freebsd.org/D1351
Reviewed by:	antoine, bapt, kwm
Approved by:	portmgr (antoine, bapt), kwm
2014-12-22 23:04:17 +00:00