xorg.xserver: configure --with-xkb-path= (#21653)

This commit is contained in:
volth
2017-01-18 02:57:15 +03:00
committed by Nikolay Amiantov
parent 9fc3ce73d1
commit 69ed58d88f
8 changed files with 10 additions and 15 deletions
+1 -2
View File
@@ -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 = ''
+1 -2
View File
@@ -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