git.iko.soy/typeable/nixpkgs
on master help sign in
xpra: use xf86videodummy from xorg
commitaf418c43569ec527a1f58834204d0b9b2f1ba0d4 authorJaka Hudoklin <jaka@x-truder.net> dateTue 31 Mar 2020, 13:29 (7 years ago) parent1504df5
5 files changed+9−33
pkgs/tools/X11/xpra/xf86videodummy/0002-Constant-DPI.patch → pkgs/tools/X11/xpra/0002-Constant-DPI.patch pkgs/tools/X11/xpra/xf86videodummy/0003-fix-pointer-limits.patch → pkgs/tools/X11/xpra/0003-fix-pointer-limits.patch pkgs/tools/X11/xpra/xf86videodummy/0005-support-for-30-bit-depth-in-dummy-driver.patch → pkgs/tools/X11/xpra/0005-support-for-30-bit-depth-in-dummy-driver.patch pkgs/tools/X11/xpra/default.nix+9−2 pkgs/tools/X11/xpra/xf86videodummy/default.nix−31
pkgs/tools/X11/xpra/xf86videodummy/0002-Constant-DPI.patch → pkgs/tools/X11/xpra/0002-Constant-DPI.patchrenamed

The content is the same.

pkgs/tools/X11/xpra/xf86videodummy/0003-fix-pointer-limits.patch → pkgs/tools/X11/xpra/0003-fix-pointer-limits.patchrenamed

The content is the same.

pkgs/tools/X11/xpra/xf86videodummy/0005-support-for-30-bit-depth-in-dummy-driver.patch → pkgs/tools/X11/xpra/0005-support-for-30-bit-depth-in-dummy-driver.patchrenamed

The content is the same.

pkgs/tools/X11/xpra/default.nix+9−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchurl, callPackage, substituteAll, python3, pkgconfig
1+{ stdenv, lib, fetchurl, callPackage, substituteAll, python3, pkgconfig, writeText
22, xorg, gtk3, glib, pango, cairo, gdk-pixbuf, atk
33, wrapGAppsHook, xorgserver, getopt, xauth, utillinux, which
44, ffmpeg_4, x264, libvpx, libwebp, x265
@@ -11,7 +11,14 @@ with lib;
1111let
1212 inherit (python3.pkgs) cython buildPythonApplication;
1313
14− xf86videodummy = callPackage ./xf86videodummy { };
14+ xf86videodummy = xorg.xf86videodummy.overrideDerivation (p: {
15+ patches = [
16+ ./0002-Constant-DPI.patch
17+ ./0003-fix-pointer-limits.patch
18+ ./0005-support-for-30-bit-depth-in-dummy-driver.patch
19+ ];
20+ });
21+
1522in buildPythonApplication rec {
1623 pname = "xpra";
1724 version = "3.0.7";
pkgs/tools/X11/xpra/xf86videodummy/default.nixdeleted−31
@@ -1,31 +0,0 @@
1−{ stdenv, lib, fetchurl
2−, xorgproto, xorgserver
3−, pkgconfig }:
4−
5−with lib;
6−
7−stdenv.mkDerivation rec {
8− version = "0.3.8";
9− suffix = "1";
10− name = "xpra-xf86videodummy-${version}-${suffix}";
11− builder = ../../../../servers/x11/xorg/builder.sh;
12− src = fetchurl {
13− url = "mirror://xorg/individual/driver/xf86-video-dummy-${version}.tar.bz2";
14− sha256 = "1fcm9vwgv8wnffbvkzddk4yxrh3kc0np6w65wj8k88q7jf3bn4ip";
15− };
16− patches = [
17− ./0002-Constant-DPI.patch
18− ./0003-fix-pointer-limits.patch
19− ./0005-support-for-30-bit-depth-in-dummy-driver.patch
20− ];
21− nativeBuildInputs = [ pkgconfig ];
22− buildInputs = [ xorgproto xorgserver ];
23−
24− meta = {
25− description = "Dummy driver for Xorg with xpra patches";
26− homepage = https://xpra.org/trac/wiki/Xdummy;
27− license = licenses.gpl2;
28− platforms = platforms.unix;
29− maintainers = with maintainers; [ numinit ];
30− };
31−}