xorg: simplify overrides now handled automatically, GL -> libGL
This commit is contained in:
@@ -1625,7 +1625,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
xdriinfo = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, libX11 }: stdenv.mkDerivation {
|
xdriinfo = callPackage ({ stdenv, pkgconfig, fetchurl, libGL, xorgproto, libX11 }: stdenv.mkDerivation {
|
||||||
name = "xdriinfo-1.0.6";
|
name = "xdriinfo-1.0.6";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@@ -1634,7 +1634,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
};
|
};
|
||||||
hardeningDisable = [ "bindnow" "relro" ];
|
hardeningDisable = [ "bindnow" "relro" ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ xorgproto libX11 ];
|
buildInputs = [ libGL xorgproto libX11 ];
|
||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ $pcMap{"dbus-1"} = "dbus";
|
|||||||
$pcMap{"uuid"} = "libuuid";
|
$pcMap{"uuid"} = "libuuid";
|
||||||
$pcMap{"libudev"} = "udev";
|
$pcMap{"libudev"} = "udev";
|
||||||
$pcMap{"gl"} = "libGL";
|
$pcMap{"gl"} = "libGL";
|
||||||
|
$pcMap{"GL"} = "libGL";
|
||||||
$pcMap{"gbm"} = "mesa_noglu";
|
$pcMap{"gbm"} = "mesa_noglu";
|
||||||
$pcMap{"\$PIXMAN"} = "pixman";
|
$pcMap{"\$PIXMAN"} = "pixman";
|
||||||
$pcMap{"\$RENDERPROTO"} = "xorgproto";
|
$pcMap{"\$RENDERPROTO"} = "xorgproto";
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ self: super:
|
|||||||
meta = attrs.meta // { license = lib.licenses.unfreeRedistributable; };
|
meta = attrs.meta // { license = lib.licenses.unfreeRedistributable; };
|
||||||
});
|
});
|
||||||
|
|
||||||
fontcursormisc = super.fontcursormisc.overrideAttrs (attrs: {
|
|
||||||
buildInputs = attrs.buildInputs ++ [ self.mkfontscale ];
|
|
||||||
});
|
|
||||||
|
|
||||||
fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: {
|
fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: {
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
@@ -291,10 +287,6 @@ self: super:
|
|||||||
meta = attrs.meta // { platforms = stdenv.lib.platforms.linux; };
|
meta = attrs.meta // { platforms = stdenv.lib.platforms.linux; };
|
||||||
});
|
});
|
||||||
|
|
||||||
oclock = super.oclock.overrideAttrs (attrs: {
|
|
||||||
buildInputs = attrs.buildInputs ++ [ self.libxkbfile ];
|
|
||||||
});
|
|
||||||
|
|
||||||
setxkbmap = super.setxkbmap.overrideAttrs (attrs: {
|
setxkbmap = super.setxkbmap.overrideAttrs (attrs: {
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
@@ -340,7 +332,6 @@ self: super:
|
|||||||
outputs = [ "out" "dev" ]; # to get rid of xorgserver.dev; man is tiny
|
outputs = [ "out" "dev" ]; # to get rid of xorgserver.dev; man is tiny
|
||||||
preBuild = "sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c";
|
preBuild = "sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c";
|
||||||
installFlags = "sdkdir=\${out}/include/xorg";
|
installFlags = "sdkdir=\${out}/include/xorg";
|
||||||
buildInputs = attrs.buildInputs ++ [ mtdev libevdev ];
|
|
||||||
});
|
});
|
||||||
|
|
||||||
xf86inputmouse = super.xf86inputmouse.overrideAttrs (attrs: {
|
xf86inputmouse = super.xf86inputmouse.overrideAttrs (attrs: {
|
||||||
@@ -353,7 +344,6 @@ self: super:
|
|||||||
|
|
||||||
xf86inputlibinput = super.xf86inputlibinput.overrideAttrs (attrs: rec {
|
xf86inputlibinput = super.xf86inputlibinput.overrideAttrs (attrs: rec {
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
buildInputs = attrs.buildInputs ++ [ libinput ];
|
|
||||||
installFlags = "sdkdir=\${dev}/include/xorg";
|
installFlags = "sdkdir=\${dev}/include/xorg";
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -692,7 +682,7 @@ self: super:
|
|||||||
});
|
});
|
||||||
|
|
||||||
xwd = super.xwd.overrideAttrs (attrs: {
|
xwd = super.xwd.overrideAttrs (attrs: {
|
||||||
buildInputs = with self; attrs.buildInputs ++ [libXt libxkbfile];
|
buildInputs = with self; attrs.buildInputs ++ [libXt];
|
||||||
});
|
});
|
||||||
|
|
||||||
xrdb = super.xrdb.overrideAttrs (attrs: {
|
xrdb = super.xrdb.overrideAttrs (attrs: {
|
||||||
|
|||||||
Reference in New Issue
Block a user