From owner-freebsd-x11@freebsd.org Sat Mar 21 14:10:03 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0B2C263998 for ; Sat, 21 Mar 2020 14:10:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48l2bF0zWfz4KNQ for ; Sat, 21 Mar 2020 14:10:01 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: by mailman.nyi.freebsd.org (Postfix) id 87E12263997; Sat, 21 Mar 2020 14:10:00 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85C36263996 for ; Sat, 21 Mar 2020 14:10:00 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48l2bB097gz4KJG; Sat, 21 Mar 2020 14:09:56 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 02LE9gVX099843 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 21 Mar 2020 14:09:44 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: jbeich@FreeBSD.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id 02LE9XkT033619 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 21 Mar 2020 21:09:33 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: users of xorg, in particular on FreeBSD 11.3 To: Jan Beich References: Cc: x11@FreeBSD.org From: Eugene Grosbein Message-ID: <12c44173-6e52-b3f6-d0ef-f03b4849ad88@grosbein.net> Date: Sat, 21 Mar 2020 21:09:23 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 48l2bB097gz4KJG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.978,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.86)[ip: (-5.15), ipnet: 2a01:4f8::/29(-2.57), asn: 24940(-1.55), country: DE(-0.02)]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2020 14:10:03 -0000 21.03.2020 12:36, Jan Beich wrote: >>> On FreeBSD 11.3, the default configuration still requires the legacy ruleset. >>> >>> If you are using FreeBSD 11.3, or if you are using >>> xf86-input-keyboard on FreeBSD 12 or later, you need to change the >>> ruleset used by x11/libxkbcommon. >>> >>> If you have issues with your keyboard, most notably arrow keys, and >>> if /var/log/Xorg.*.log shows that the "kbd" or "keyboard" driver is >>> being used, you need to switch to legacy rules by setting the >>> environment variable XKB_DEFAULT_RULES to xorg. >>> >>> The easiest way to accomplish this is by adding it to your shell startup file. >>> >>> As an example, for users of [t]csh, put >>> setenv XKB_DEFAULT_RULES xorg >>> in ~/.login >>> >>> For users of bourne type shells (sh, bash, ksh, zsh, ...) instead put >>> export XKB_DEFAULT_RULES=xorg >>> in ~/.profile >> >> Please consider improving x11/libxkbcommon so that it uses -Ddefault-rules=xorg > > x11/libxkbcommon is also used by Wayland e.g., in x11-toolkits/gtk30. > libinput as used by Wayland doesn't support anything but evdev. > If one enabled evdev(4) on FreeBSD 11.* then Wayland may work after applying > https://github.com/FreeBSDDesktop/kms-drm/pull/213 > >> if OSVERSION notes 11.x at build time, so there would be no breakage for us building xorg from ports. > > Did you mean from binary packages? If someone builds xorg-server from > ports it's probably due to non-default options. Or because one builds some other application due to its non-default options and xorg is built as dependency. Or any other reason field practice may impose, one can't guess beforehand. > However, the ports framework doesn't support checking ports options set in other ports > e.g., dependencies. Yes, and that's sad. So we may need another flavour or even distinct port to depend on for distinct branches to avoid breakage. This is the whole idea of Ports Collection existence, isn't it?