pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/9wm Update 9wm to 1.4.0, now developed on GitHub.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f839bff9079
branches:  trunk
changeset: 362495:0f839bff9079
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue May 16 21:10:02 2017 +0000

description:
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-8

diffstat:

 wm/9wm/DESCR                  |   6 ---
 wm/9wm/Makefile               |  24 ++++++++-----
 wm/9wm/PLIST                  |   4 +-
 wm/9wm/distinfo               |  12 +++---
 wm/9wm/patches/patch-Makefile |  19 +++++++++++
 wm/9wm/patches/patch-aa       |  73 -------------------------------------------
 6 files changed, 42 insertions(+), 96 deletions(-)

diffs (175 lines):

diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/DESCR
--- a/wm/9wm/DESCR      Tue May 16 17:53:33 2017 +0000
+++ b/wm/9wm/DESCR      Tue May 16 21:10:02 2017 +0000
@@ -1,9 +1,3 @@
-                        9wm Version 1.1
-                   Copyright 1994 David Hogan.
-
-What is 9wm?
-============
-
 9wm is an X window manager which attempts to emulate the Plan 9 window
 manager 8-1/2 as far as possible within the constraints imposed by X.
 It provides a simple yet comfortable user interface, without garish
diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/Makefile
--- a/wm/9wm/Makefile   Tue May 16 17:53:33 2017 +0000
+++ b/wm/9wm/Makefile   Tue May 16 21:10:02 2017 +0000
@@ -1,17 +1,23 @@
-# $NetBSD: Makefile,v 1.17 2012/10/23 10:24:13 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/05/16 21:10:02 bsiegert Exp $
 
-DISTNAME=              9wm-1.1
-PKGREVISION=           2
+DISTNAME=              9wm-1.4.0
 CATEGORIES=            plan9 wm
-MASTER_SITES=          ftp://ftp.freefriends.org/arnold/Source/
-EXTRACT_SUFX=          .shar.gz
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=9wm/}
+GITHUB_PROJECT=                9wm
+GITHUB_TAG=            1.4.0
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://dhog.g7.org/dhog/9wm.html
-COMMENT=               8 1/2-like Window Manager for X
+HOMEPAGE=              https://github.com/9wm/9wm
+COMMENT=               Rio-like Window Manager for X
+LICENSE=               mit
+
+USE_TOOLS=             gmake
 
-WRKSRC=                        ${WRKDIR}
-USE_IMAKE=             yes
+INSTALLATION_DIRS=      bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/9wm ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/9wm.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/9wm.1
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/PLIST
--- a/wm/9wm/PLIST      Tue May 16 17:53:33 2017 +0000
+++ b/wm/9wm/PLIST      Tue May 16 21:10:02 2017 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/03 03:32:32 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/05/16 21:10:02 bsiegert Exp $
 bin/9wm
-${IMAKE_MAN_DIR}/9wm.${IMAKE_MANNEWSUFFIX}
+man/man1/9wm.man
diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/distinfo
--- a/wm/9wm/distinfo   Tue May 16 17:53:33 2017 +0000
+++ b/wm/9wm/distinfo   Tue May 16 21:10:02 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/02 23:42:50 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/05/16 21:10:02 bsiegert Exp $
 
-SHA1 (9wm-1.1.shar.gz) = 43a4e28a0665d54331d81d9691abae65927738ac
-RMD160 (9wm-1.1.shar.gz) = d2daa96d1b8dec45d349e49406156629e4b2c50a
-SHA512 (9wm-1.1.shar.gz) = 61114b96896bf16f66af7727d039e9d09d85971f6cffa10cfea1719697bc355d18f56d3813dfefe6cfb8b2bec16683fa541735debdca2dc25b2ddc11363a0714
-Size (9wm-1.1.shar.gz) = 19517 bytes
-SHA1 (patch-aa) = 3e0c11e450876ee882694fb653fa8222ee53340a
+SHA1 (9wm-1.4.0.tar.gz) = 9cc1530cd324a76a1553f82fa585bfd7e457fd1b
+RMD160 (9wm-1.4.0.tar.gz) = 21960a25cc0dfc55e0a61ff1a4de34b56c681120
+SHA512 (9wm-1.4.0.tar.gz) = dc78b28f146fbac0ca4e336c91cc8013b4af49889d8638b6b3f8c15d47c0801e22412eb9f840eb0b3d8888ef8455bf6fa68c0333b47fb212ee3d6ced1673d0a5
+Size (9wm-1.4.0.tar.gz) = 21579 bytes
+SHA1 (patch-Makefile) = 9290c1d1af46c17d7b0f1e83c78a7a915b40b3f8
diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/9wm/patches/patch-Makefile     Tue May 16 21:10:02 2017 +0000
@@ -0,0 +1,19 @@
+$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
diff -r 10b85f30a347 -r 0f839bff9079 wm/9wm/patches/patch-aa
--- a/wm/9wm/patches/patch-aa   Tue May 16 17:53:33 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/12/12 13:05:02 wiz Exp $
-
---- 9wm.c~     Mon Oct 21 09:26:24 1996
-+++ 9wm.c      Mon Oct 21 09:27:19 1996
-@@ -471,7 +471,7 @@
-     case NormalState:
-         XMapRaised(dpy, c->parent);
-         XMapWindow(dpy, c->window);
--        setstate(c, NormalState);
-+        _setstate(c, NormalState);
-         if (c->trans != None && current && c->trans == current->window)
-                 active(c);
-         break;
---- fns.h~     Mon Oct 21 09:26:25 1996
-+++ fns.h      Mon Oct 21 09:27:31 1996
-@@ -31,7 +31,7 @@
- Window  getwprop();
- int     getiprop();
- int     getstate();
--void    setstate();
-+void    _setstate();
- void    setlabel();
- void    getproto();
- void    gettrans();
---- manage.c~  Mon Oct 21 09:26:24 1996
-+++ manage.c   Mon Oct 21 09:27:49 1996
-@@ -131,7 +131,7 @@
-             active(c);
-         else
-             setactive(c, 0);
--        setstate(c, NormalState);
-+        _setstate(c, NormalState);
-     }
-     if (current != c)
-         cmapfocus(current);
-@@ -161,7 +161,7 @@
-     XReparentWindow(dpy, c->window, root, c->x, c->y);
-     gravitate(c, 0);
-     XRemoveFromSaveSet(dpy, c->window);
--    setstate(c, WithdrawnState);
-+    _setstate(c, WithdrawnState);
- 
-     /* flush any errors */
-     ignore_badwindow = 1;
-@@ -417,7 +417,7 @@
- }
- 
- void
--setstate(c, state)
-+_setstate(c, state)
- Client *c;
- int state;
- {
---- menu.c~    Mon Oct 21 09:26:24 1996
-+++ menu.c     Mon Oct 21 09:27:45 1996
-@@ -179,7 +179,7 @@
-     }
-     XUnmapWindow(dpy, c->parent);
-     XUnmapWindow(dpy, c->window);
--    setstate(c, IconicState);
-+    _setstate(c, IconicState);
-     if (c == current)
-         nofocus();
-     hiddenc[numhidden] = c;
-@@ -210,7 +210,7 @@
-     if (map) {
-         XMapWindow(dpy, c->window);
-         XMapRaised(dpy, c->parent);
--        setstate(c, NormalState);
-+        _setstate(c, NormalState);
-         active(c);
-     }
- 



Home | Main Index | Thread Index | Old Index