xorg.xserver: configure --with-xkb-path= (#21653)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, help2man, makeWrapper
|
||||
, glib, libbsd
|
||||
, libX11, libXext, xorgserver, xkbcomp, kmod, xkeyboard_config, xf86videonouveau
|
||||
, libX11, libXext, xorgserver, xkbcomp, kmod, xf86videonouveau
|
||||
, nvidia_x11, virtualgl, primusLib
|
||||
, automake111x, autoconf
|
||||
# The below should only be non-null in a x86_64 system. On a i686
|
||||
@@ -125,7 +125,6 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
CFLAGS = [
|
||||
"-DX_MODULE_APPENDS=\\\"${xmodules}\\\""
|
||||
"-DX_XKB_DIR=\\\"${xkeyboard_config}/etc/X11/xkb\\\""
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -49,12 +49,11 @@ index 71a6b73..a682d8a 100644
|
||||
char *x_argv[] = {
|
||||
XORG_BINARY,
|
||||
bb_config.x_display,
|
||||
@@ -153,24 +170,25 @@ bool start_secondary(bool need_secondary) {
|
||||
@@ -153,24 +170,24 @@ bool start_secondary(bool need_secondary) {
|
||||
"-sharevts",
|
||||
"-nolisten", "tcp",
|
||||
"-noreset",
|
||||
+ "-logfile", "/var/log/X.bumblebee.log",
|
||||
+ "-xkbdir", X_XKB_DIR,
|
||||
"-verbose", "3",
|
||||
"-isolateDevice", pci_id,
|
||||
- "-modulepath", bb_config.mod_path, // keep last
|
||||
|
||||
Reference in New Issue
Block a user