xf86-video-vesa: refactor, move to pkgs/by-name & rename from xorg.xf86videovesa
relevant changes: - switch to GitLab source instead of release tarball - mark broken on aarch64 (missing I/O port functions https://stackoverflow.com/a/70538833)
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
util-macros,
|
||||
xorg-server,
|
||||
xorgproto,
|
||||
libpciaccess,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-vesa";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
group = "xorg";
|
||||
owner = "driver";
|
||||
repo = "xf86-video-vesa";
|
||||
tag = "xf86-video-vesa-${finalAttrs.version}";
|
||||
hash = "sha256-M8/mSgD398wBswOp0oEXvlcgVsYdWcTIw3ah5e1uHV8=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
util-macros
|
||||
xorg-server # for some autoconf macros
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg-server
|
||||
xorgproto
|
||||
libpciaccess
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version-regex=xf86-video-vesa-(.*)" ]; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Generic VESA video driver for the Xorg X server";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-vesa";
|
||||
license = lib.licenses.x11;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isAarch64;
|
||||
};
|
||||
})
|
||||
@@ -138,6 +138,7 @@
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xf86-video-vbox,
|
||||
xf86-video-vesa,
|
||||
xfd,
|
||||
xfontsel,
|
||||
xfs,
|
||||
@@ -354,6 +355,7 @@ self: with self; {
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xf86videovboxvideo = xf86-video-vbox;
|
||||
xf86videovesa = xf86-video-vesa;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
xorgcffiles = xorg-cf-files;
|
||||
xorgdocs = xorg-docs;
|
||||
@@ -1640,44 +1642,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videovesa = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
xorgproto,
|
||||
libpciaccess,
|
||||
xorgserver,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-vesa";
|
||||
version = "2.6.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/driver/xf86-video-vesa-2.6.0.tar.xz";
|
||||
sha256 = "1ccvaigb1f1kz8nxxjmkfn598nabd92p16rx1g35kxm8n5qjf20h";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
libpciaccess
|
||||
xorgserver
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videovmware = callPackage (
|
||||
{
|
||||
|
||||
@@ -470,6 +470,7 @@ print OUT <<EOF;
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xf86-video-vbox,
|
||||
xf86-video-vesa,
|
||||
xfd,
|
||||
xfontsel,
|
||||
xfs,
|
||||
@@ -686,6 +687,7 @@ self: with self; {
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xf86videovboxvideo = xf86-video-vbox;
|
||||
xf86videovesa = xf86-video-vesa;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
xorgcffiles = xorg-cf-files;
|
||||
xorgdocs = xorg-docs;
|
||||
|
||||
@@ -34,7 +34,6 @@ mirror://xorg/individual/driver/xf86-video-sunffb-1.2.3.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-sunleo-1.2.3.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-tdfx-1.5.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-trident-1.4.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-vesa-2.6.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-vmware-13.4.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-voodoo-1.2.6.tar.xz
|
||||
mirror://xorg/individual/lib/libXTrap-1.0.1.tar.bz2
|
||||
|
||||
Reference in New Issue
Block a user