pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/progman wm/progman: Import progman-1.0 from wip/pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26cb617ebee4
branches:  trunk
changeset: 769779:26cb617ebee4
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Fri Nov 19 18:59:09 2021 +0000

description:
wm/progman: Import progman-1.0 from wip/progman

Simple, configurable X11 window manager and launcher modeled after
Program Manager from the Windows 3 era.

diffstat:

 wm/progman/DESCR                     |   2 +
 wm/progman/Makefile                  |  29 +++++++++++++++++++
 wm/progman/PLIST                     |   2 +
 wm/progman/distinfo                  |   7 ++++
 wm/progman/patches/patch-Makefile    |  15 ++++++++++
 wm/progman/patches/patch-progman.ini |  54 ++++++++++++++++++++++++++++++++++++
 6 files changed, 109 insertions(+), 0 deletions(-)

diffs (133 lines):

diff -r 6792479f4f32 -r 26cb617ebee4 wm/progman/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/DESCR  Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,2 @@
+Simple, configurable X11 window manager and launcher modeled after
+Program Manager from the Windows 3 era.
diff -r 6792479f4f32 -r 26cb617ebee4 wm/progman/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/Makefile       Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/11/19 18:59:09 sjmulder Exp $
+
+DISTNAME=      progman-1.0
+CATEGORIES=    wm
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jcs/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    sjmulder%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jcs/progman
+COMMENT=       Window manager resembling Windows 3's Program Manager
+LICENSE=       mit
+
+USE_TOOLS+=    pkg-config
+
+# Supplies xxd utility
+TOOL_DEPENDS+= vim-share-[0-9]*:../../editors/vim-share
+
+CFLAGS+=       -DINFTIM=-1
+LDFLAGS+=      -lXext
+
+MAKE_FLAGS+=   PREFIX=${DESTDIR:Q}${PREFIX:Q}
+MAKE_FLAGS+=   MANDIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6792479f4f32 -r 26cb617ebee4 wm/progman/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/PLIST  Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/19 18:59:09 sjmulder Exp $
+bin/progman
diff -r 6792479f4f32 -r 26cb617ebee4 wm/progman/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/distinfo       Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/11/19 18:59:09 sjmulder Exp $
+
+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 -r 6792479f4f32 -r 26cb617ebee4 wm/progman/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/patches/patch-Makefile Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/11/19 18:59:09 sjmulder Exp $
+
+- 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 -r 6792479f4f32 -r 26cb617ebee4 wm/progman/patches/patch-progman.ini
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/progman/patches/patch-progman.ini      Fri Nov 19 18:59:09 2021 +0000
@@ -0,0 +1,54 @@
+$NetBSD: patch-progman.ini,v 1.1 2021/11/19 18:59:09 sjmulder Exp $
+
+- 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