pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

progman: Use non-high DPI mode



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By:	sjmulder
Date:		Fri Nov 19 12:51:23 2021 +0100
Changeset:	2c157ac19a823c26eeffa4c41d1fe9e8221f4e61

Modified Files:
	progman/distinfo
Added Files:
	progman/patches/patch-Makefile
	progman/patches/patch-progman.ini

Log Message:
progman: Use non-high DPI mode

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c157ac19a823c26eeffa4c41d1fe9e8221f4e61

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 progman/distinfo                  |  2 ++
 progman/patches/patch-Makefile    | 15 +++++++++++
 progman/patches/patch-progman.ini | 54 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+)

diffs:
diff --git a/progman/distinfo b/progman/distinfo
index 5ec1615008..9c70c70a6f 100644
--- a/progman/distinfo
+++ b/progman/distinfo
@@ -3,3 +3,5 @@ $NetBSD$
 BLAKE2s (progman-1.0.tar.gz) = 2b10d1b755eda1883f4906dd0df5e95e8ef3c36df25f82dc0d7dc7a0d533a403
 SHA512 (progman-1.0.tar.gz) = bfc329277b39b500ae829a2e97e2c4d6058b2c6a8fdb2c453073c32b526c582c6e6a4632ec4df1f98ae3d7b072c8744370e1017f2bc5e757c9bd9f78e5add5dd
 Size (progman-1.0.tar.gz) = 44214 bytes
+SHA1 (patch-Makefile) = 4da84f934ed6a4f03b5a3a3eac1f0cfe2cc59a4d
+SHA1 (patch-progman.ini) = be2de652e956f5794be41afcc2041a4eb6f92da1
diff --git a/progman/patches/patch-Makefile b/progman/patches/patch-Makefile
new file mode 100644
index 0000000000..8e0444cba3
--- /dev/null
+++ b/progman/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+- Disable high DPI mode.
+
+--- Makefile.orig	2021-01-27 19:30:24.000000000 +0000
++++ Makefile
+@@ -41,7 +41,7 @@ CFLAGS+=	-DUSE_GDK_PIXBUF
+ #CFLAGS+=	-g -DDEBUG=1
+ 
+ # use 2x icons, borders, fonts for HiDPI displays; optional
+-CFLAGS+=	-DHIDPI=1
++#CFLAGS+=	-DHIDPI=1
+ 
+ BINDIR=		$(PREFIX)/bin
+ 
diff --git a/progman/patches/patch-progman.ini b/progman/patches/patch-progman.ini
new file mode 100644
index 0000000000..ec5e1718fa
--- /dev/null
+++ b/progman/patches/patch-progman.ini
@@ -0,0 +1,54 @@
+$NetBSD$
+
+- Comment out defaults, some of which override built in high DPI logic.
+
+--- progman.ini.orig	2021-11-19 11:40:19.553382841 +0000
++++ progman.ini
+@@ -6,33 +6,33 @@
+ #
+ 
+ [progman]
+-font = Microsoft Sans Serif:bold:size=14
+-iconfont = Microsoft Sans Serif:size=11
++#font = Microsoft Sans Serif:bold:size=14
++#iconfont = Microsoft Sans Serif:size=11
+ 
+ # Focused windows
+-fgcolor = white
+-bgcolor = #0000a8
++#fgcolor = white
++#bgcolor = #0000a8
+ 
+ # Unfocused windows
+-unfocused_fgcolor = black
+-unfocused_bgcolor = white
++#unfocused_fgcolor = black
++#unfocused_bgcolor = white
+ 
+ # Borders
+-border_fgcolor = black
+-border_bgcolor = #c0c7c8
+-border_width = 6
+-button_bgcolor = #c0c7c8
+-title_padding = 6
++#border_fgcolor = black
++#border_bgcolor = #c0c7c8
++#border_width = 6
++#button_bgcolor = #c0c7c8
++#title_padding = 6
+ 
+ # Launcher
+-launcher_fgcolor = black
+-launcher_bgcolor = #c0c7c8
++#launcher_fgcolor = black
++#launcher_bgcolor = #c0c7c8
+ 
+ # When not specified, the root color is not changed
+ #root_bgcolor = #c0c7c8
+ 
+ # When moving windows, how hard to resist going off-screen
+-edgeresist = 80
++#edgeresist = 80
+ 
+ # Custom key bindings can be specified as "Modifier+Key = action".
+ [keyboard]


Home | Main Index | Thread Index | Old Index