[pkg-remote-commits] [nx-libs] 01/01: debian/patches: Cherry-pick upstream commit 0001_default-dpi-96.patch. Follow X.org with setting default DPI to 96 (not 75).

Mike Gabriel sunweaver at debian.org
Thu Mar 1 07:39:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository nx-libs.

commit 63093620561fe35b6fe4cf57808495f24a63ea50
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Mar 1 08:38:39 2018 +0100

    debian/patches: Cherry-pick upstream commit 0001_default-dpi-96.patch. Follow X.org with setting default DPI to 96 (not 75).
---
 debian/patches/0001_default-dpi-96.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0001_default-dpi-96.patch b/debian/patches/0001_default-dpi-96.patch
new file mode 100644
index 0000000..6887ebf
--- /dev/null
+++ b/debian/patches/0001_default-dpi-96.patch
@@ -0,0 +1,25 @@
+From a5a0a5c29bf7c1d1e346b5813e6696a5f0522136 Mon Sep 17 00:00:00 2001
+From: Simon Matter <simon.matter at invoca.ch>
+Date: Thu, 1 Mar 2018 08:31:23 +0100
+Subject: [PATCH] hw/nxagent/Screen.c: Settle down with 96 DPI as the default
+ resolution, if nothing better can be detected.
+
+Fixes ArcticaProject/nx-libs#668.
+---
+ nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+index d4a083a1b3..628bf990a4 100644
+--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
++++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+@@ -209,7 +209,7 @@ void nxagentShadowAdaptDepth(unsigned int, unsigned int, unsigned int, char **);
+ 
+ RegionRec nxagentShadowUpdateRegion;
+ 
+-#define NXAGENT_DEFAULT_DPI 75
++#define NXAGENT_DEFAULT_DPI 96
+ #define NXAGENT_AUTO_DPI -1
+ 
+ extern Bool nxagentAutoDPI;
+
diff --git a/debian/patches/series b/debian/patches/series
index 79df365..80ac554 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 2001_nx-X11_install-location.debian.patch
 2002_xserver-xext_set-securitypolicy-path.debian.patch
+0001_default-dpi-96.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/nx-libs.git



More information about the pkg-remote-commits mailing list