diff options
author | salo <salo@pkgsrc.org> | 2003-06-01 16:16:59 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-06-01 16:16:59 +0000 |
commit | 333e9cbd59ec2b89152f612b89b4def2f38d8b51 (patch) | |
tree | 37dcb4a3bfa142d760115d6ade72e0770e61592f /wm/pwm/patches | |
parent | 4e4f1de680d674503a6644917503bd840b4dee9a (diff) | |
download | pkgsrc-333e9cbd59ec2b89152f612b89b4def2f38d8b51.tar.gz |
Updated to 20030528 snapshot.
Thanks to Jon Olsson for notification.
Changes:
- take over maintainership
- whitespace
- DESCR has 80 columns
- simplify
1.0.20030528:
=============
- License model changed to Artistic/GPL dual license.
- Fixed lockup when a window's title ends in its only colon
(and spaces) but even just the three dots and instance
number are too long to fit in the tab.
- Applied an (old) tab_switch_and_raise patch.
- Some #includes added.
- Phantom-window fix.
- Allow windows to move themselves
- Phantom dockapp fix
- "dock" configuration option changes: "hidden" option,
direction 1/0 replaced with "vertical" option.
- Added 'gotodir' function (move to frame in given direction).
- Makefile/path setting changes
- Built-in 'ws_menu' and 'movetows_menu'.
- Added keybindings to the man page.
- Added 'PWM manual' entry in the default root menu.
- Don't kill client on close if it does not support
WM_DELETE_WINDOW.
- Titles were not drawn correctly when toggling decorations
on if a window was closed when the associated frame was in
undecorated state.
- Don't change active window visual indication when displaying
a 'contextual menu'.
- Added 'goto_previous'.
- Windows with same name are numbered now
- Added pack_move
- Changed the order to which window in a frame to go when
the current is destroyed
- Added "detach" function
- Added attach/detach to window menu
- Added WM_COLORMAP_WINDOWS support
Diffstat (limited to 'wm/pwm/patches')
-rw-r--r-- | wm/pwm/patches/patch-aa | 85 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ab | 12 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ac | 8 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ad | 13 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ae | 13 | ||||
-rw-r--r-- | wm/pwm/patches/patch-af | 31 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ag | 36 | ||||
-rw-r--r-- | wm/pwm/patches/patch-ah | 20 |
8 files changed, 98 insertions, 120 deletions
diff --git a/wm/pwm/patches/patch-aa b/wm/pwm/patches/patch-aa index 3f4646a4903..91658416ea0 100644 --- a/wm/pwm/patches/patch-aa +++ b/wm/pwm/patches/patch-aa @@ -1,52 +1,45 @@ -$NetBSD: patch-aa,v 1.4 2002/01/31 04:08:00 jlam Exp $ +$NetBSD: patch-aa,v 1.5 2003/06/01 16:17:00 salo Exp $ ---- Makefile.orig Sat Jul 1 11:48:50 2000 -+++ Makefile -@@ -10,9 +10,9 @@ - SUBDIRS=libtu - LIBS += -L./libtu -ltu -lm $(X11_LIBS) -lX11 - INCLUDES += -I./libtu/include $(X11_INCLUDES) --DEFINES += -DPREFIX=\"$(PREFIX)\" -+DEFINES += -DSYSCONFDIR=\"$(SYSCONFDIR)\" - CFLAGS += $(XOPEN_SOURCE) --TO_REALCLEAN += pwm.1x -+TO_REALCLEAN += pwm.1 - - OBJS= main.o draw.o font.o frame.o event.o clientwin.o thing.o \ - property.o pointer.o key.o moveres.o cursor.o function.o \ -@@ -21,9 +21,9 @@ - binding.o winlist.o mwmhints.o signal.o winprops.o - - BINDIR=$(PREFIX)/bin --ETCDIR=$(PREFIX)/etc -+ETCDIR=$(PREFIX)/share/examples - MANDIR=$(PREFIX)/man/man1 --DOCDIR=$(PREFIX)/doc -+DOCDIR=$(PREFIX)/share/doc - - TARGETS=pwm - -@@ -33,11 +33,11 @@ - - ###################################### - --pwm: $(OBJS) pwm.1x -+pwm: $(OBJS) pwm.1 +--- Makefile.orig 2003-05-28 23:58:16.000000000 +0200 ++++ Makefile 2003-06-01 17:56:52.000000000 +0200 +@@ -32,32 +32,16 @@ $(CC) $(OBJS) $(LDFLAGS) -o $@ --pwm.1x: pwm.1x.in + pwm.1x: pwm.1x.in - sed 's#PREFIX#$(PREFIX)#g' pwm.1x.in > pwm.1x -+pwm.1: pwm.1x.in -+ sed 's#PREFIX#$(PREFIX)#g' pwm.1x.in > pwm.1 ++ sed -e 's#PREFIX#$(PREFIX)#g' -e 's#PKG_SYSCONFDIR#$(PKG_SYSCONFDIR)#g' pwm.1x.in > pwm.1x _install: - $(INSTALL) -d $(BINDIR) -@@ -45,7 +45,7 @@ - $(STRIP) $(BINDIR)/pwm - - $(INSTALL) -d $(MANDIR) -- $(INSTALL) -m $(DATA_MODE) pwm.1x $(MANDIR) -+ $(INSTALL) -m $(DATA_MODE) pwm.1 $(MANDIR) - - $(INSTALL) -d $(DOCDIR) - $(INSTALL) -d $(DOCDIR)/pwm +- $(INSTALLDIR) $(BINDIR) +- $(INSTALL) -m $(BIN_MODE) pwm $(BINDIR) +- $(STRIP) $(BINDIR)/pwm +- +- $(INSTALLDIR) $(MANDIR)/man1 +- $(INSTALL) -m $(DATA_MODE) pwm.1x $(MANDIR)/man1 +- +- $(INSTALLDIR) $(DOCDIR) +- $(INSTALLDIR) $(DOCDIR)/pwm +- $(INSTALL) -m $(DATA_MODE) config.txt $(DOCDIR)/pwm +- $(INSTALL) -m $(DATA_MODE) LICENSE $(DOCDIR)/pwm +- +- $(INSTALLDIR) $(ETCDIR) +- $(INSTALLDIR) $(ETCDIR)/pwm +- for i in etc/pwm/*.conf; do \ +- $(INSTALL) -m $(DATA_MODE) $$i $(ETCDIR)/pwm; \ +- done +- @ if test -f $(ETCDIR)/pwm/pwm.conf ; then \ +- echo "$(ETCDIR)/pwm/pwm.conf already exists. Not installing one."; \ +- else \ +- echo "Installing sample configuration file $(ETCDIR)/pwm/pwm.conf"; \ +- $(INSTALL) -m $(DATA_MODE) etc/pwm/sample.conf $(ETCDIR)/pwm/pwm.conf; \ +- fi ++ $(BSD_INSTALL_PROGRAM) pwm $(BINDIR) ++ $(BSD_INSTALL_MAN) pwm.1x $(MANDIR)/man1/pwm.1 ++ $(BSD_INSTALL_DATA_DIR) $(DOCDIR)/pwm ++ $(BSD_INSTALL_DATA) config.txt LICENSE $(DOCDIR)/pwm ++ $(BSD_INSTALL_DATA_DIR) $(ETCDIR)/pwm ++ $(BSD_INSTALL_DATA) etc/pwm/*-*.conf $(ETCDIR)/pwm ++ $(BSD_INSTALL_DATA) etc/pwm/sample.conf $(ETCDIR)/pwm/pwm.conf.default + + + # Disclaimer: I don't have either Gnome or KDE. diff --git a/wm/pwm/patches/patch-ab b/wm/pwm/patches/patch-ab deleted file mode 100644 index ddf55741906..00000000000 --- a/wm/pwm/patches/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2001/08/21 08:17:40 abs Exp $ - ---- event.c.orig Sat Jul 1 12:37:50 2000 -+++ event.c -@@ -6,6 +6,7 @@ - */ - - #include <stdlib.h> -+#include <string.h> - #include <unistd.h> - #include <sys/time.h> - diff --git a/wm/pwm/patches/patch-ac b/wm/pwm/patches/patch-ac index 14e726cc26a..dd05d60921a 100644 --- a/wm/pwm/patches/patch-ac +++ b/wm/pwm/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.3 2001/08/21 08:17:40 abs Exp $ +$NetBSD: patch-ac,v 1.4 2003/06/01 16:17:01 salo Exp $ ---- libtu/numparser2.h.orig Mon Aug 20 22:19:29 2001 -+++ libtu/numparser2.h -@@ -27,7 +27,7 @@ +--- libtu/numparser2.h.orig 2003-05-28 23:48:15.000000000 +0200 ++++ libtu/numparser2.h 2003-06-01 17:30:54.000000000 +0200 +@@ -29,7 +29,7 @@ static int npnum_mulbase_add(NPNum *num, long base, long v) { diff --git a/wm/pwm/patches/patch-ad b/wm/pwm/patches/patch-ad deleted file mode 100644 index bd6133119b7..00000000000 --- a/wm/pwm/patches/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2001/08/21 08:17:40 abs Exp $ - ---- libtu/tester.c.orig Mon Aug 20 22:05:33 2001 -+++ libtu/tester.c -@@ -18,7 +18,7 @@ - - libtu_init(argv[0]); - -- if(!(tokz=tokz_open_file(stdin))) -+ if(!(tokz=tokz_open_file(stdin, NULL))) - return EXIT_FAILURE; - - while(tokz_get_token(tokz, &tok)){ diff --git a/wm/pwm/patches/patch-ae b/wm/pwm/patches/patch-ae deleted file mode 100644 index ef17f59946b..00000000000 --- a/wm/pwm/patches/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2001/08/21 08:17:40 abs Exp $ - ---- libtu/tester2.c.orig Mon Aug 20 22:07:00 2001 -+++ libtu/tester2.c -@@ -59,7 +59,7 @@ - - int main(int argc, char *argv[]) - { -- libtu_init_argv0(argv[0], NULL); -+ libtu_init(argv[0]); - parse_config_file(stdin, opts, TOKZ_ERROR_TOLERANT); - - return EXIT_SUCCESS; diff --git a/wm/pwm/patches/patch-af b/wm/pwm/patches/patch-af index eff7c92b11c..6cabc3379b6 100644 --- a/wm/pwm/patches/patch-af +++ b/wm/pwm/patches/patch-af @@ -1,10 +1,31 @@ -$NetBSD: patch-af,v 1.1 2001/08/21 08:17:41 abs Exp $ +$NetBSD: patch-af,v 1.2 2003/06/01 16:17:02 salo Exp $ ---- pwm.1x.in.orig Sat Jul 1 14:11:03 2000 -+++ pwm.1x.in -@@ -48,7 +48,7 @@ +--- pwm.1x.in.orig 2003-05-28 23:55:08.000000000 +0200 ++++ pwm.1x.in 2003-06-01 17:42:00.000000000 +0200 +@@ -168,16 +168,16 @@ + + .SH FILES + .TP +-.B /usr/local/etc/pwm/pwm.conf ++.B PKG_SYSCONFDIR/pwm.conf + System default configuration file + .TP +-.B /usr/local/etc/pwm/look-*.conf ++.B PKG_SYSCONFDIR/look-*.conf + Color scheme configuration files + .TP +-.B /usr/local/etc/pwm/keys-*.conf ++.B PKG_SYSCONFDIR/keys-*.conf + Key binding configuration files + .TP +-.B /usr/local/etc/pwm/buttons-*.conf ++.B PKG_SYSCONFDIR/buttons-*.conf + Pointer (mouse) button binding configuration files + .TP + .B ~/.pwm/pwm.conf +@@ -186,7 +186,7 @@ .SH SEE ALSO - The PWM home page, http://www.students.tut.fi/~tuomov/pwm/ + The PWM home page, http://iki.fi/tuomov/pwm/ .PP -.BR PREFIX/doc/pwm/config.txt +.BR PREFIX/share/doc/pwm/config.txt diff --git a/wm/pwm/patches/patch-ag b/wm/pwm/patches/patch-ag index 5bec063fb62..17ef16cb45e 100644 --- a/wm/pwm/patches/patch-ag +++ b/wm/pwm/patches/patch-ag @@ -1,26 +1,34 @@ -$NetBSD: patch-ag,v 1.3 2002/08/25 21:51:36 jlam Exp $ +$NetBSD: patch-ag,v 1.4 2003/06/01 16:17:02 salo Exp $ ---- system.mk.orig Sat Jul 1 12:37:50 2000 -+++ system.mk -@@ -7,7 +7,7 @@ - ## Installation directory prefix +--- system.mk.orig 2000-12-28 15:08:05.000000000 +0100 ++++ system.mk 2003-06-01 17:34:51.000000000 +0200 +@@ -7,13 +7,13 @@ + ## Installation paths ## -PREFIX=/usr/local +#PREFIX=/usr/local - #EXTRA_INCLUDES = -I$(PREFIX)/include - #EXTRA_LIBS = -L$(PREFIX)/lib -@@ -17,7 +17,7 @@ + # No need to modify these usually + BINDIR=$(PREFIX)/bin +-ETCDIR=$(PREFIX)/etc ++ETCDIR=$(PREFIX)/share/examples + MANDIR=$(PREFIX)/man +-DOCDIR=$(PREFIX)/doc ++DOCDIR=$(PREFIX)/share/doc + # Not used + INCDIR=$(PREFIX)/include + LIBDIR=$(PREFIX)/lib +@@ -23,7 +23,7 @@ ## X libraries, includes and options ## -X11_PREFIX=/usr/X11R6 -+X11_PREFIX=${X11BASE} ++X11_PREFIX=$(X11BASE) # SunOS/Solaris #X11_PREFIX=/usr/openwin -@@ -31,7 +31,7 @@ +@@ -40,7 +40,7 @@ ## C compiler ## @@ -29,14 +37,14 @@ $NetBSD: patch-ag,v 1.3 2002/08/25 21:51:36 jlam Exp $ # The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary, # they're mainly for development use. So, if they cause trouble (not -@@ -57,8 +57,8 @@ - -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \ - -Wparentheses -pedantic-errors +@@ -67,8 +67,8 @@ + -Wparentheses -pedantic-errors -Wuninitialized + -CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -LDFLAGS=-g $(LIBS) $(EXTRA_LIBS) +CFLAGS+=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -+LDFLAGS+=$(LIBS) ++LDFLAGS+=-g $(LIBS) $(EXTRA_LIBS) ## diff --git a/wm/pwm/patches/patch-ah b/wm/pwm/patches/patch-ah index 3606496f115..68438cf2acc 100644 --- a/wm/pwm/patches/patch-ah +++ b/wm/pwm/patches/patch-ah @@ -1,19 +1,13 @@ -$NetBSD: patch-ah,v 1.1 2002/01/31 04:08:00 jlam Exp $ +$NetBSD: patch-ah,v 1.2 2003/06/01 16:17:02 salo Exp $ ---- config.h.orig Sat Jun 3 18:12:54 2000 -+++ config.h -@@ -60,11 +60,11 @@ - #define PWM_VERSION "" +--- config.h.orig 2003-05-28 23:55:08.000000000 +0200 ++++ config.h 2003-06-01 17:44:22.000000000 +0200 +@@ -79,7 +79,7 @@ + #define ETCDIR "/etc" #endif --#ifndef PREFIX --#define PREFIX "" -+#ifndef SYSCONFDIR -+#define SYSCONFDIR "/etc/pwm" - #endif - --#define CF_SYS_CONFIG_LOCATION PREFIX"/etc/pwm/" -+#define CF_SYS_CONFIG_LOCATION SYSCONFDIR"/" +-#define CF_SYS_CONFIG_LOCATION ETCDIR"/pwm/" ++#define CF_SYS_CONFIG_LOCATION PKG_SYSCONFDIR"/pwm/" #define CF_GLOBAL_CFGFILE CF_SYS_CONFIG_LOCATION"pwm.conf" #define CF_USER_CONFIG_LOCATION ".pwm/" #define CF_USER_CFGFILE CF_USER_CONFIG_LOCATION"pwm.conf" |