pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/wmii wmii: update to 3.9.2, use builtin libixp.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c6efafb2dbfa
branches: trunk
changeset: 380255:c6efafb2dbfa
user: maya <maya%pkgsrc.org@localhost>
date: Mon May 14 10:20:57 2018 +0000
description:
wmii: update to 3.9.2, use builtin libixp.
Requested in PR pkg/43459, also using some changes from
pkgsrc-wip's wmii-devel.
Seems to work as expected in NetBSD, although I didn't
test the alternative wmiircs.
Some of the changelog (might omit some parts)
3.9.2:
* Work around mawk bug that broke wmiirc.
3.9.1:
* Workaround a dash 0.5.6 bug that broke wmiirc.
* Noticably speed-up python wmiirc startup.
* Disable static linking which breaks wmiir in glibc 2.12.
* Add PKGBUILD.
3.9:
* wmii9menu is now Xinerama aware.
* Install READMEs to $(PREFIX)/share/doc/wmii/.
* Documentation updates. Add wmiir.1, wmii9menu.1.
* Allow dragging floating clients from anywhere in their titlebars.
* Allow specifying screen in area specs.
* Change default $MODKEY to Mod4.
* Minor changes to pygmi.events API.
* Allow client to follow tag change in python wmiirc.
* Update /tag/*/index to be more useful on Xinerama.
* Add showkeys action to shell and python wmiirc.
* Restore windows from floating layer to their original Xinerama screen.
* Hide bar on non-primary Xinerama screens.
* Allow resizing of rightmost and leftmost column dividers.
3.9a2:
* Add Suraj's Rumai-based wmiirc.
* Move rc.wmii to alternative_wmiircs/plan9port/wmiirc.
* Install wmii.pdf to $(PREFIX)/share/doc/.
* Focus windows regardless of whether they form a new group.
* Update selection and execution of wmiirc: no more magic.
* Update wmii.1
* Add alternative_wmiircs READMEs.
3.9a1:
* Add new wmii guide. See doc/wmii.pdf
* Allow for programmable completion in wimenu.
* Use pkg-config globally.
* Add Xft (antialiased font) support.
* Add python wmiirc/9P client library
* Allow bindings to work regardless of caps lock.
* Add M-f fullscreen toggle key binding.
* Augment /client/*/ctl Fullscreen command.
* Allow setting of increment display from /ctl.
* Show a client's extra tags in its titlebar.
* Darken background when floating area selected.
* Allow bar on top or bottom.
* Allow for wmiirc_local.
* Add grow and nudge commands to /tag/*/ctl.
* Cascade windows when the floating layer fills.
* Support alpha-transparant windows.
* Add regex tag support.
* It is now possible to float/unfloat windows with the mouse.
* Make the bar Xdnd aware; DND between views is now possible. Fixed some window raising/moving bugs.
* Add a notification bar.
* Improved floating mouse resizing.
* Improved mouse move/resize support for managed mode.
* Better return from floating/fullscreen to managed mode.
* Allow comments (#.*\n) in rules and ctl files.
* Add /client/*/ctl ?slay? command.
* Detect unresponsive clients on ?kill?.
* Draw titlebars of floating clients differently.
* Add wihack: LD_PRELOAD hack to set window properties of programs:
* Respect window groups
* Add ?Kill? to client right-click menu
* wmii9menu now takes similar args to wimenu
* Document grow/nudge commands.
* Add wimenu with history and caret support
* Add wistrut. Undocumented, not built by default.
* EWMH strut support.
* Basic EWMH support.
* Better fullscreen support.
* XRandR support.
* Xinerama support.
2008-08-25:
* libixp version 97 now required
* Stack and max modes now affect floating clients:
- max: Collapsed clients disappear, all clients disappear
when managed layer is selected.
- stack: All clients but selected are collapsed.
* Adobe's Flash plugin's fullscreen mode now works.
* Some annoying focus bugs are fixed.
diffstat:
wm/wmii/Makefile | 44 ++++++++++++++++++++--------
wm/wmii/PLIST | 48 ++++++++++++++++++++++++++-----
wm/wmii/distinfo | 18 ++++++------
wm/wmii/patches/patch-aa | 52 ++++++++--------------------------
wm/wmii/patches/patch-ab | 16 +++++-----
wm/wmii/patches/patch-ac | 28 ------------------
wm/wmii/patches/patch-cmd_wmii_main.c | 15 ++++++++++
wm/wmii/patches/patch-util_compile | 36 ++++++++++++++---------
8 files changed, 138 insertions(+), 119 deletions(-)
diffs (truncated from 357 to 300 lines):
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/Makefile
--- a/wm/wmii/Makefile Mon May 14 10:08:00 2018 +0000
+++ b/wm/wmii/Makefile Mon May 14 10:20:57 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2017/09/06 11:30:41 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2018/05/14 10:20:57 maya Exp $
-DISTNAME= wmii-3.6
-PKGREVISION= 4
+PKGNAME= wmii-3.9.2
+DISTNAME= wmii+ixp-3.9.2
CATEGORIES= wm
MASTER_SITES= http://dl.suckless.org/wmii/
@@ -9,6 +9,7 @@
HOMEPAGE= https://github.com/0intro/wmii
COMMENT= Modular and keyboard-friendly window manager
LICENSE= mit
+EXTRACT_SUFX= .tbz
DEPENDS+= dmenu>=3.7:../../x11/dmenu
@@ -22,16 +23,29 @@
MAKE_JOBS_SAFE= no
# see ${WRKSRC}/mk/wmii.mk
-CONFVERSION= 3.5
-PLIST_SUBST+= CONFVERSION=${CONFVERSION}
+CONFVERSION= 3.9.2
-PKG_SYSCONFSUBDIR= wmii-${CONFVERSION}
-EGDIR= ${PREFIX}/share/examples/${PKG_SYSCONFSUBDIR}
-EGFILES= rc.wmii welcome wmiirc
+EGDIR= ${PREFIX}/share/examples/wmii
+EGSUBDIR.top=
+EGFILES.top+= wmiirc welcome
+EGSUBDIR.pygmi= python/pygmi
+EGFILES.pygmi+= __init__.py event.py fs.py menu.py monitor.py
+EGFILES.pygmi+= util.py
+EGSUBDIR.pyxp= python/pyxp
+EGFILES.pyxp+= __init__.py asyncclient.py client.py dial.py
+EGFILES.pyxp+= fcall.py fields.py messages.py mux.py types.py
+EGSUBDIR.python= python
+EGFILES.python+= wmiirc wmiirc.py
+EGSUBDIR.ruby= ruby
+EGFILES.ruby+= wmiirc config.rb config.yaml
CONF_FILES_MODE= 0755
-.for f in ${EGFILES}
-CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.for subdir in top pygmi pyxp python ruby
+THING+= ${subdir}
+. for file in ${EGFILES.${subdir}}
+CONF_FILES+= ${EGDIR}/${EGSUBDIR.${subdir}}/${file} \
+ ${PKG_SYSCONFDIR}/wmii-${CONFVERSION}/${EGSUBDIR.${subdir}}${file}
+. endfor
.endfor
LDFLAGS.SunOS+= -lsocket -lnsl -liconv
@@ -39,15 +53,19 @@
SUBST_CLASSES+= vars
SUBST_STAGE.vars= pre-build
SUBST_FILES.vars= util/compile
-SUBST_VARS.vars= EGREP SED SH
+SUBST_VARS.vars= EGREP SED SH AWK
post-build:
mv ${WRKSRC}/man/wmii.1 ${WRKSRC}/man/wmii.tbl
${TBL} ${WRKSRC}/man/wmii.tbl > ${WRKSRC}/man/wmii.1
.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/libixp/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
+# bundles it's own libixp, which is needed until a new stable release is out.
+#.include "../../devel/libixp/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/PLIST
--- a/wm/wmii/PLIST Mon May 14 10:08:00 2018 +0000
+++ b/wm/wmii/PLIST Mon May 14 10:20:57 2018 +0000
@@ -1,13 +1,45 @@
-@comment $NetBSD: PLIST,v 1.7 2009/06/14 18:19:03 joerg Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/05/14 10:20:57 maya Exp $
+bin/wihack
+bin/wimenu
bin/wmii
+bin/wmii.rc
+bin/wmii.sh
bin/wmii9menu
-bin/wmii9rc
-bin/wmiiloop
bin/wmiir
-bin/wmiistartrc
+lib/libwmii_hack.so
+man/man1/wimenu.1
man/man1/wmii.1
-man/man1/wmiiloop.1
+man/man1/wmii9menu.1
man/man1/wmiir.1
-share/examples/wmii-${CONFVERSION}/rc.wmii
-share/examples/wmii-${CONFVERSION}/welcome
-share/examples/wmii-${CONFVERSION}/wmiirc
+share/doc/wmii/LICENSE
+share/doc/wmii/README
+share/doc/wmii/alternative_wmiircs/README
+share/doc/wmii/alternative_wmiircs/plan9port/README
+share/doc/wmii/alternative_wmiircs/python/README
+share/doc/wmii/alternative_wmiircs/ruby/HISTORY
+share/doc/wmii/alternative_wmiircs/ruby/LICENSE
+share/doc/wmii/alternative_wmiircs/ruby/README
+share/doc/wmii/wmii.pdf
+share/examples/wmii/plan9port/wmiirc
+share/examples/wmii/python/pygmi/__init__.py
+share/examples/wmii/python/pygmi/event.py
+share/examples/wmii/python/pygmi/fs.py
+share/examples/wmii/python/pygmi/menu.py
+share/examples/wmii/python/pygmi/monitor.py
+share/examples/wmii/python/pygmi/util.py
+share/examples/wmii/python/pyxp/__init__.py
+share/examples/wmii/python/pyxp/asyncclient.py
+share/examples/wmii/python/pyxp/client.py
+share/examples/wmii/python/pyxp/dial.py
+share/examples/wmii/python/pyxp/fcall.py
+share/examples/wmii/python/pyxp/fields.py
+share/examples/wmii/python/pyxp/messages.py
+share/examples/wmii/python/pyxp/mux.py
+share/examples/wmii/python/pyxp/types.py
+share/examples/wmii/python/wmiirc
+share/examples/wmii/python/wmiirc.py
+share/examples/wmii/ruby/config.rb
+share/examples/wmii/ruby/config.yaml
+share/examples/wmii/ruby/wmiirc
+share/examples/wmii/welcome
+share/examples/wmii/wmiirc
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/distinfo
--- a/wm/wmii/distinfo Mon May 14 10:08:00 2018 +0000
+++ b/wm/wmii/distinfo Mon May 14 10:20:57 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.14 2015/11/02 23:42:56 agc Exp $
+$NetBSD: distinfo,v 1.15 2018/05/14 10:20:57 maya Exp $
-SHA1 (wmii-3.6.tar.gz) = 48e24f84f60b9c6ce37f715a46bc32e35d2086f3
-RMD160 (wmii-3.6.tar.gz) = 29462b9ecc7d68e8e00e5f3eec82c2a46e268a52
-SHA512 (wmii-3.6.tar.gz) = 153ba298bf4353579dfe57c568ce6799e00241b8e5fa6bf0bdfd62972d428b4761dd13a2991204633d58757536ba35a0316df5c390097beaa5b84250fd349762
-Size (wmii-3.6.tar.gz) = 208249 bytes
-SHA1 (patch-aa) = a02c6e62e2cd47424fb6591f7991ef1d90159dcf
-SHA1 (patch-ab) = 5e208344ea8bde06ec4cc8084eef0e3ba2f165f7
-SHA1 (patch-ac) = 8e4712bd308caeba9ca5dad023e32db8b27f3b31
-SHA1 (patch-util_compile) = f6435bfa38bed3a8d897289ef2e0afeb793c5640
+SHA1 (wmii+ixp-3.9.2.tbz) = e85a2979a0bd0a1db7ed486fc709afe72bafd8b0
+RMD160 (wmii+ixp-3.9.2.tbz) = 8a401a5d0a033c0da254d15e7fe415ec40e7a332
+SHA512 (wmii+ixp-3.9.2.tbz) = c75d6d3f80e2b263c8d7b9eb6d0e700a1ad642209fc0984908e9399d22372c6c0572f47ab61881d5d56c4cc4eeb2914a545f6af1bbb936b65848764577d75761
+Size (wmii+ixp-3.9.2.tbz) = 432032 bytes
+SHA1 (patch-aa) = ba9598bf6d9313a800ee8de8588a6192c294e697
+SHA1 (patch-ab) = cdb5ae1f02497852a5c965bdfb106e1b3a77853e
+SHA1 (patch-cmd_wmii_main.c) = 2e52a5861b197b9ffa8b7df83230e7bc74059256
+SHA1 (patch-util_compile) = 0474964a1e2491a28a17cc1f37c7a3cadd3b598a
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/patches/patch-aa
--- a/wm/wmii/patches/patch-aa Mon May 14 10:08:00 2018 +0000
+++ b/wm/wmii/patches/patch-aa Mon May 14 10:20:57 2018 +0000
@@ -1,45 +1,19 @@
-$NetBSD: patch-aa,v 1.10 2013/05/21 14:59:25 jperkin Exp $
+$NetBSD: patch-aa,v 1.11 2018/05/14 10:20:57 maya Exp $
---- config.mk.orig 2007-11-16 13:59:15.000000000 +0000
+--- config.mk.orig 2010-06-10 07:24:04.000000000 +0000
+++ config.mk
-@@ -1,12 +1,11 @@
+@@ -1,11 +1,11 @@
# Customize below to fit your system
- # paths
+ # Paths
-PREFIX = /usr/local
--BIN = ${PREFIX}/bin
--MAN = ${PREFIX}/share/man
--ETC = ${PREFIX}/etc
--LIBDIR = ${PREFIX}/lib
--INCLUDE = ${PREFIX}/include
-+BIN = ${DESTDIR}${PREFIX}/bin
-+MAN = ${DESTDIR}${PREFIX}/${PKGMANDIR}
-+ETC = ${DESTDIR}${PKG_SYSCONFBASE}
-+LIBDIR = ${DESTDIR}${PREFIX}/lib
-+INCLUDE = ${DESTDIR}${PREFIX}/include
-
- # Includes and libs
- INCPATH = .:${ROOT}/include:${INCLUDE}:/usr/include
-@@ -14,9 +13,9 @@ LIBS = -L/usr/lib -lc -L${ROOT}/lib
++PREFIX ?= /usr/local
+ BIN = $(PREFIX)/bin
+- MAN = $(PREFIX)/share/man
++ MAN = $(PREFIX)/$(PKGMANDIR)
+ DOC = $(PREFIX)/share/doc/wmii
+- ETC = $(PREFIX)/etc
++ ETC = $(PREFIX)/share/examples
+ LIBDIR = $(PREFIX)/lib
+ INCLUDE = $(PREFIX)/include
- # Flags
- include ${ROOT}/mk/gcc.mk
--CFLAGS += -g -O0 -DIXPlint
--LDFLAGS += -g ${LIBS}
--STATIC = -static
-+CFLAGS += -DIXPlint
-+LDFLAGS += ${LIBS}
-+#STATIC = -static
- MKDEP = cpp -M
-
- # Compiler
-@@ -32,8 +31,7 @@ P9PATHS = ${PLAN9}:"'$${HOME}/plan9'":/u
- INCX11 = -I/usr/X11R6/include
- LIBX11 = -L/usr/X11R6/lib -lX11
- LIBICONV = # Leave blank if your libc includes iconv (glibc does)
--LIBIXP = ${ROOT}/libixp/libixp.a
--LIBIXP = ${LIBDIR}/libixp.a
-+LIBIXP = ${PREFIX}/lib/libixp.a
-
- # Solaris
- #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/patches/patch-ab
--- a/wm/wmii/patches/patch-ab Mon May 14 10:08:00 2018 +0000
+++ b/wm/wmii/patches/patch-ab Mon May 14 10:20:57 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.6 2010/02/12 20:42:33 joerg Exp $
+$NetBSD: patch-ab,v 1.7 2018/05/14 10:20:57 maya Exp $
---- rc/Makefile.orig 2007-11-16 14:59:15.000000000 +0100
+--- rc/Makefile.orig 2010-06-10 07:24:04.000000000 +0000
+++ rc/Makefile
@@ -2,7 +2,7 @@ ROOT=..
- include ${ROOT}/mk/hdr.mk
- include ${ROOT}/mk/wmii.mk
+ include $(ROOT)/mk/hdr.mk
+ include $(ROOT)/mk/wmii.mk
--BIN = ${ETC}/wmii-${CONFVERSION}
-+BIN = ${DESTDIR}${PREFIX}/share/examples/wmii-${CONFVERSION}
- TARG = rc.wmii \
- wmiirc \
+-BIN = $(ETC)/wmii$(CONFVERSION)
++BIN = $(PREFIX)/share/examples/wmii$(CONFVERSION)
+ TARG = wmiirc \
welcome
+
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/patches/patch-ac
--- a/wm/wmii/patches/patch-ac Mon May 14 10:08:00 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/01/07 09:54:26 ghen Exp $
-
-http://www.suckless.org/hg.rc/wmii/rev/3749896cf02c
-
---- cmd/wmii/utf.c.orig 2007-11-16 14:59:15.000000000 +0100
-+++ cmd/wmii/utf.c
-@@ -2,6 +2,7 @@
- #include "dat.h"
- #include <errno.h>
- #include <iconv.h>
-+#include <langinfo.h>
- #include <string.h>
- #include "fns.h"
-
-@@ -11,8 +12,11 @@ toutf8n(char *str, size_t nstr) {
- char *buf, *pos;
- size_t nbuf, bsize;
-
-- if(cd == nil)
-- cd = iconv_open("UTF-8", "");
-+ if(cd == nil) {
-+ cd = iconv_open("UTF-8", nl_langinfo(CODESET));
-+ if(cd == (iconv_t)-1)
-+ fatal("Can't convert from native codeset to UTF-8");
-+ }
- iconv(cd, nil, nil, nil, nil);
-
- bsize = nstr * 1.25 + 4;
diff -r af940ba588f7 -r c6efafb2dbfa wm/wmii/patches/patch-cmd_wmii_main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/wmii/patches/patch-cmd_wmii_main.c Mon May 14 10:20:57 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmd_wmii_main.c,v 1.1 2018/05/14 10:20:57 maya Exp $
+
+signal.h for sigaction, otherwise it dumps core on netbsd/amd64
+due to a reference to compat sigaction.
+
+--- cmd/wmii/main.c.orig 2010-06-10 07:24:02.000000000 +0000
++++ cmd/wmii/main.c
+@@ -10,6 +10,7 @@
+ #include <fcntl.h>
+ #include <locale.h>
+ #include <pwd.h>
++#include <signal.h>
+ #include <sys/signal.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index