Update 9wm to 1.4.0, now developed on GitHub. There are no release notes from upstream (short of commit logs), here is a partial list of changes: - no more manual window placement - color support - support for fullscreen and shaped windows - format string and memory fixes - compatibility fixes for some toolkits - window titles are UTF-8diff -r1.1 -r1.2 pkgsrc/wm/9wm/DESCR
(bsiegert)
@@ -1,19 +1,13 @@ | @@ -1,19 +1,13 @@ | |||
1 | 9wm Version 1.1 | |||
2 | Copyright 1994 David Hogan. | |||
3 | ||||
4 | What is 9wm? | |||
5 | ============ | |||
6 | ||||
7 | 9wm is an X window manager which attempts to emulate the Plan 9 window | 1 | 9wm is an X window manager which attempts to emulate the Plan 9 window | |
8 | manager 8-1/2 as far as possible within the constraints imposed by X. | 2 | manager 8-1/2 as far as possible within the constraints imposed by X. | |
9 | It provides a simple yet comfortable user interface, without garish | 3 | It provides a simple yet comfortable user interface, without garish | |
10 | decorations or title-bars. Or icons. And it's click-to-type. This | 4 | decorations or title-bars. Or icons. And it's click-to-type. This | |
11 | will not appeal to everybody, but if you're not put off yet then read | 5 | will not appeal to everybody, but if you're not put off yet then read | |
12 | on. (And don't knock it until you've tried it). | 6 | on. (And don't knock it until you've tried it). | |
13 | 7 | |||
14 | One major difference between 9wm and 8-1/2 is that the latter provides | 8 | One major difference between 9wm and 8-1/2 is that the latter provides | |
15 | windows of text with a typescript interface, and doesn't need to run a | 9 | windows of text with a typescript interface, and doesn't need to run a | |
16 | separate program to emulate a terminal. 9wm, as an X window manager, | 10 | separate program to emulate a terminal. 9wm, as an X window manager, | |
17 | does require a separate program. For better 8-1/2 emulation, you should | 11 | does require a separate program. For better 8-1/2 emulation, you should | |
18 | obtain Matthew Farrow's "9term" program (ftp://ftp.cs.su.oz.au/matty/unicode), | 12 | obtain Matthew Farrow's "9term" program (ftp://ftp.cs.su.oz.au/matty/unicode), | |
19 | version 1.6 or later (earlier versions don't cooperate with 9wm in | 13 | version 1.6 or later (earlier versions don't cooperate with 9wm in |
@@ -1,17 +1,23 @@ | @@ -1,17 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2012/10/23 10:24:13 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2017/05/16 21:10:02 bsiegert Exp $ | |
2 | 2 | |||
3 | DISTNAME= 9wm-1.1 | 3 | DISTNAME= 9wm-1.4.0 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= plan9 wm | 4 | CATEGORIES= plan9 wm | |
6 | MASTER_SITES= ftp://ftp.freefriends.org/arnold/Source/ | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=9wm/} | |
7 | EXTRACT_SUFX= .shar.gz | 6 | GITHUB_PROJECT= 9wm | |
7 | GITHUB_TAG= 1.4.0 | |||
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://dhog.g7.org/dhog/9wm.html | 10 | HOMEPAGE= https://github.com/9wm/9wm | |
11 | COMMENT= 8 1/2-like Window Manager for X | 11 | COMMENT= Rio-like Window Manager for X | |
12 | LICENSE= mit | |||
12 | 13 | |||
13 | WRKSRC= ${WRKDIR} | 14 | USE_TOOLS= gmake | |
14 | USE_IMAKE= yes | 15 | ||
16 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 | |||
17 | ||||
18 | do-install: | |||
19 | ${INSTALL_PROGRAM} ${WRKSRC}/9wm ${DESTDIR}${PREFIX}/bin | |||
20 | ${INSTALL_MAN} ${WRKSRC}/9wm.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/9wm.1 | |||
15 | 21 | |||
16 | .include "../../x11/libXext/buildlink3.mk" | 22 | .include "../../x11/libXext/buildlink3.mk" | |
17 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,3 +1,3 @@ | @@ -1,3 +1,3 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2003/03/03 03:32:32 jschauma Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2017/05/16 21:10:02 bsiegert Exp $ | |
2 | bin/9wm | 2 | bin/9wm | |
3 | ${IMAKE_MAN_DIR}/9wm.${IMAKE_MANNEWSUFFIX} | 3 | man/man1/9wm.man |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2015/11/02 23:42:50 agc Exp $ | 1 | $NetBSD: distinfo,v 1.5 2017/05/16 21:10:02 bsiegert Exp $ | |
2 | 2 | |||
3 | SHA1 (9wm-1.1.shar.gz) = 43a4e28a0665d54331d81d9691abae65927738ac | 3 | SHA1 (9wm-1.4.0.tar.gz) = 9cc1530cd324a76a1553f82fa585bfd7e457fd1b | |
4 | RMD160 (9wm-1.1.shar.gz) = d2daa96d1b8dec45d349e49406156629e4b2c50a | 4 | RMD160 (9wm-1.4.0.tar.gz) = 21960a25cc0dfc55e0a61ff1a4de34b56c681120 | |
5 | SHA512 (9wm-1.1.shar.gz) = 61114b96896bf16f66af7727d039e9d09d85971f6cffa10cfea1719697bc355d18f56d3813dfefe6cfb8b2bec16683fa541735debdca2dc25b2ddc11363a0714 | 5 | SHA512 (9wm-1.4.0.tar.gz) = dc78b28f146fbac0ca4e336c91cc8013b4af49889d8638b6b3f8c15d47c0801e22412eb9f840eb0b3d8888ef8455bf6fa68c0333b47fb212ee3d6ced1673d0a5 | |
6 | Size (9wm-1.1.shar.gz) = 19517 bytes | 6 | Size (9wm-1.4.0.tar.gz) = 21579 bytes | |
7 | SHA1 (patch-aa) = 3e0c11e450876ee882694fb653fa8222ee53340a | 7 | SHA1 (patch-Makefile) = 9290c1d1af46c17d7b0f1e83c78a7a915b40b3f8 |
$NetBSD: patch-Makefile,v 1.1 2017/05/16 21:10:02 bsiegert Exp $
Correctly install into $PREFIX, remove -Werror (which breaks with clang).
--- Makefile.orig 2017-05-12 22:39:16.000000000 +0000
+++ Makefile
@@ -1,8 +1,9 @@
-CFLAGS += -DSHAPE -DCOLOR -Wall -Werror -pedantic
+CFLAGS += -DSHAPE -DCOLOR -Wall -pedantic
LDLIBS = -lXext -lX11
-BIN = $(DESTDIR)/usr/bin/
+PREFIX ?= /usr
+BIN = $(DESTDIR)$(PREFIX)/bin/
-MANDIR = $(DESTDIR)/usr/share/man/man1
+MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
MANSUFFIX = 1
all: 9wm