Commit Graph

5826 Commits

Author SHA1 Message Date
jsg
339adf1110 Implement an OpenBSD specific codepath for drmGetDevice
The existing code walks all of /dev looking for different types of drm
nodes.  We just have primary nodes and can directly map the minor number
to a path.

ok kettenis@
2016-11-25 23:58:13 +00:00
jsg
06724bcd2a Implement drmParsePciBusInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:52:06 +00:00
jsg
68ce36bfe8 Implement drmParsePciDeviceInfo for OpenBSD by using the new
DRM_IOCTL_GET_PCIINFO ioctl.

ok kettenis@
2016-11-25 23:48:50 +00:00
jsg
ed28609b08 Implement drmParseSubsystemType for OpenBSD.
Always return DRM_BUS_PCI for now.  No non-pci drm drivers are in the
kernel and this is unlikely to change anytime soon as the existing ones
aren't permissively licensed.

ok kettenis@
2016-11-25 23:44:40 +00:00
jsg
038e48492e Implement drmGetMinorNameForFD for systems without sysfs by adapting
drm_get_device_name_for_fd() from the Mesa loader.

ok kettenis@
2016-11-25 23:41:29 +00:00
deraadt
840635d04f sync 2016-11-23 18:40:00 +00:00
tb
01003b6707 Enable builds with a dedicated user for xenocara as well.
"push forward" deraadt; no objections matthieu; testing, input & ok rpe
2016-11-19 14:22:05 +00:00
tb
07352edf5d Set permissions of mandoc.db and xetcsum explicitly, so they don't
depend on the umask.

push forward deraadt; no objections matthieu
2016-11-19 08:56:27 +00:00
tb
750df2fcc6 Fix a copy-paste error that resulted in the parent directory being
chowned instead of only the symlink.

no objections matthieu
2016-11-19 08:45:51 +00:00
tb
b142ca47dd Set permissions of fonts.dir and fonts.scale explicitly, so they don't
depend on the umask.  For historical reasons, ${BINGRP}=wheel here, so
use 'bin' instead of ${BINGRP} to set the group of /etc/fonts/conf.d

push forward deraadt; no objections matthieu
2016-11-19 08:43:19 +00:00
tb
d1cd881611 Set permissions of fontconfig cache files, fonts.dir and fons.scale
explicitly, so they don't depend on the umask.

push forward deraadt; no objections matthieu
2016-11-19 08:38:15 +00:00
tb
014a2c67d0 Set permissions of xorg.db and xetc.tgz explicitly, so they don't
depend on the umask.

push forward deraadt; no objections matthieu
2016-11-19 08:36:48 +00:00
jsg
a76f791a27 update 2016-11-19 05:50:39 +00:00
jsg
05dc4b63d0 sync 2016-11-19 05:47:39 +00:00
jsg
b2fcf88635 Merge libdrm 2.4.73 2016-11-19 05:45:00 +00:00
jsg
90bdad6ae7 Import libdrm 2.4.73 2016-11-19 05:36:14 +00:00
okan
5c15bd8953 Use an additional check with lstat(2) when d_type is unknown.
from James McDonald via portable.
2016-11-15 18:43:09 +00:00
okan
c33b352974 revert previous; upcoming changes will hopefully deal with these more
naturally.
2016-11-15 00:22:02 +00:00
okan
706ee11014 Add a wrapper based upon xevent handlers around client move/resize for key and
mouse bindings.
2016-11-15 00:07:03 +00:00
okan
d18539103e Define callbacks, then default bindings. 2016-11-14 21:25:59 +00:00
okan
a78a724512 Reorganize for upcoming changes. 2016-11-14 19:56:05 +00:00
okan
f5f2a608ff Remove the (8) default bindings for pointer move since they conflict with
default bindings for emacs, which wins; the feature remains and can be bound to
whatever users wish with cwmrc(5).

from mpi@
2016-11-14 13:52:33 +00:00
matthieu
8d7fd55416 update 2016-11-13 14:42:48 +00:00
matthieu
03c23f9bed Update to xf86-video-ati 7.7.1
Tested by jsg@,  Rafael Sadowski and myself on various hardware.
2016-11-13 14:42:27 +00:00
matthieu
8dbc1a3a1a regen 2016-11-11 16:22:02 +00:00
matthieu
a525e5d33f SU is not needed without xdmcp support 2016-11-11 16:21:50 +00:00
matthieu
da72443d3d regen 2016-11-11 15:58:47 +00:00
matthieu
12abc80a8d Xsession cleanup:
- remove mkstemp conditional it's always there
- remove USE_XPM conditional
- remove SCO and Unixware bits that survived so far
2016-11-11 15:58:35 +00:00
matthieu
d5119169fa regen 2016-11-11 15:25:34 +00:00
matthieu
0a3295ecef Keep only on Xservers file.
The Xservers.fs file makes no sense in xenodm.
2016-11-11 15:25:17 +00:00
czarkoff
7b0a63b485 Fix X11 property retrieval code
Just stop when reaching the end of property list instead of reading
forever past its end.

Issue was introduced in my previous commit and reported by deraadt@
2016-11-08 13:22:55 +00:00
jasper
82d2f016de sync 2016-11-07 19:34:11 +00:00
jasper
861ac30127 track xcb-util-xrm 2016-11-07 19:32:28 +00:00
jasper
617afc97af enter xcb-util-xrm/ 2016-11-07 19:31:57 +00:00
jasper
86496c1007 add generated autoconf bits 2016-11-07 19:25:35 +00:00
jasper
1a446edaa5 remove unneeded bits 2016-11-07 19:22:59 +00:00
jasper
44c5a3cdf0 add xcb-util-xrm-1.0
ok matthieu@
2016-11-07 19:20:35 +00:00
matthieu
cf398e78cf More unused code, when xdm-authorization is not used. 2016-11-06 14:00:37 +00:00
matthieu
4289726dad Remove a number of unused prototypes 2016-11-06 13:48:48 +00:00
matthieu
4ebe34eee0 The SIGFUNC type definition is unused now 2016-11-06 13:40:33 +00:00
matthieu
eb59d7033d Good bye <setjmp.h> and associated definitions. 2016-11-06 13:37:28 +00:00
matthieu
4a2df54825 Use explicit_bzero(). With BSD auth these data have already been
wiped when we reach those points but just in case.
2016-11-06 13:30:15 +00:00
matthieu
cdddca9b4f Rework the Xservers parsing code to correctly reject
non local display types.
2016-11-06 12:56:30 +00:00
matthieu
abef35bfcd GreetUser() doen't need to return the X display pointer. 2016-11-06 12:41:24 +00:00
matthieu
6ba2835960 Check strdup return value 2016-11-06 10:21:29 +00:00
matthieu
5f2163b431 Remove useless endpwent() calls 2016-11-06 10:17:38 +00:00
matthieu
cc885e4714 Remove a server reset that was there for compatilibity with "old" servers 2016-11-06 10:07:40 +00:00
matthieu
5b32b31147 Remove display class from Xserver examples.
They are of little interest in xenodm.
2016-11-06 09:45:34 +00:00
matthieu
036f33eb6e Remove special handling of Kerberos auth that will never happen. 2016-11-06 09:32:15 +00:00
matthieu
33973f7a55 Add an autologin mode to xenodm. 2016-11-06 09:26:47 +00:00