head 1.7; access; symbols pkgsrc-2015Q3:1.6.0.20 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.18 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.16 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.14 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.12 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.10 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.8 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.6 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.4 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.2 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.5.0.66 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.64 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.62 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.60 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.58 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.56 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.54 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.52 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.50 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.48 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.46 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.44 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.42 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.40 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.38 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.36 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.34 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.32 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.30 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.28 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.26 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.24 pkgsrc-2008Q1:1.5.0.22 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.20 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.18 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.16 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.14 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.12 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.10 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.10 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.8 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.6 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 buildlink2-base:1.2; locks; strict; comment @# @; 1.7 date 2015.10.16.10.42.23; author adam; state dead; branches; next 1.6; commitid vwvZEBSabLJvYjFy; 1.6 date 2013.05.21.14.38.40; author hans; state Exp; branches; next 1.5; commitid wEfr53DTVsRSvvQw; 1.5 date 2005.07.08.09.47.02; author adam; state Exp; branches; next 1.4; 1.4 date 2004.11.05.11.51.35; author adam; state Exp; branches; next 1.3; 1.3 date 2003.01.08.19.56.34; author jmmv; state Exp; branches; next 1.2; 1.2 date 2001.08.18.18.13.28; author tron; state dead; branches; next 1.1; 1.1 date 2001.07.15.08.46.00; author jlam; state Exp; branches; next ; desc @@ 1.7 log @Changes 0.95.7: * Window snapping * Dragging maximized windows * Mini-Previews instead of Apercus * Ignore Decoration Hints from GNOME applications * Cooperative Window Manager Replacement @ text @$NetBSD: patch-af,v 1.6 2013/05/21 14:38:40 hans Exp $ --- WindowMaker/Defaults/Makefile.in.orig 2013-01-09 21:43:07.000000000 +0000 +++ WindowMaker/Defaults/Makefile.in @@@@ -235,7 +235,7 @@@@ top_builddir = @@top_builddir@@ top_srcdir = @@top_srcdir@@ wprefs_bindir = @@wprefs_bindir@@ wprefs_datadir = @@wprefs_datadir@@ -defsdatadir = $(sysconfdir)/WindowMaker +defsdatadir = $(datadir)/examples/WindowMaker defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL wpexecbindir = @@wprefs_bindir@@ EXTRA_DIST = WMGLOBAL WMWindowAttributes.in WindowMaker.in WMState.in @ 1.6 log @Update WindowMaker to 0.95.4 Changes since 0.92.0: - Left Half / Right Half Maximize, tiled maximization - New mouse-resizing functionality - History and TAB completion in dialogs - Bouncing appicon effect - New applications (wmgenmenu and wmmenugen) to generate the root menu automatically by looking which applications you have on your $PATH - Automatic detection of configuration changes through inotify - Improved dockapp recognition - many trivial things which reduce little annoyances one might have - Added keyboard shortcut to uncover/cover the dock - Mac OS X-style window cycling - Preliminary XRandR support - lots of bug fixes @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.5 2005/07/08 09:47:02 adam Exp $ @ 1.5 log @Changes 0.92.0: * added support for X Input Methods * improved hiding/unhiding animations to be quicker and do less icon shuffling * fixed gcc and libxft complilation issues * fixed many bugs @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- WindowMaker/Defaults/Makefile.in.orig 2005-06-19 03:23:01.000000000 +0000 d5 2 a6 1 @@@@ -112,7 +112,7 @@@@ supported_locales = @@supported_locales@@ a8 1 a10 1 d12 2 a13 1 @ 1.4 log @Changes 0.91.0: * Alt-Tab Window Switching Changes 0.90.0: * NetWM / EWMH Support * Antialiased font support * Global Submenus * UTF-8 Support * Icon Panel for Alt-Tabbing @ text @d1 1 a1 1 $NetBSD: patch-af $ d3 5 a7 5 --- WindowMaker/Defaults/Makefile.in.orig 2004-10-26 14:10:46.000000000 +1000 +++ WindowMaker/Defaults/Makefile.in 2004-10-27 18:25:53.000000000 +1000 @@@@ -111,7 +111,7 @@@@ supported_locales = @@supported_locales@@ wprefsdir = @@wprefsdir@@ @ 1.3 log @Install configuration files under the examples hierarchy and use bsd.pkg.install.mk to copy them to PKG_SYSCONFDIR. Bump PKGREVISION to 1. This closes my own PR pkg/16966 (which proposed a different, wrong change). @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- WindowMaker/Defaults/Makefile.in.orig Tue Jul 2 02:37:45 2002 +++ WindowMaker/Defaults/Makefile.in @@@@ -95,7 +95,7 @@@@ X_LIBRARY_PATH = @@X_LIBRARY_PATH@@ @ 1.2 log @Update "windowmaker" package to version 0.65.1. The changes since version 0.65.0 are: - removed FocusFollowMouse from wmaker and WPrefs - fixed problem with alpha images showing a blue tint on big endian machines - fixed problem with WINGs based apps exiting with a "X_RotateProperties" related error when text was selected in a textfiled (including WPrefs.app and Window Maker itself). - fixed bug with maximization of windows with fixed resize increments - added None geometry display type - fixed window enumeration bug - removed GNUisms from wsetfont (Marcelo E. Magallon , Masahide -mac- NODA ) - added slovakian translations from (tomka@@oalevice.sk) - added WINGs i18n patch from tomka@@oalevice.sk - fixed wmsetbg.c to work in servers capable of multiple depths (overlay) - added HMaximizeKey (Ruda Moura ) - fixed bad SIGPIPE handling setup across forks (Philippe Troin ) - added workaround for bug in locale handling on font set creation (Seiichi SATO ) - Fixed some non-portable shell constructs used in installed scripts (Johnny C. Lam ) - Fixed crash with long titles in the window list menu (buffer overflow) (Alban Hertroys , reported by Robert Marshall ) - Replaced almost all sprintf() calls with snprintf() - fixed crash when removing menu entry for Window List or Workspace submenu @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2001/07/15 08:46:00 jlam Exp $ d3 5 a7 5 --- util/wmchlocale.in.orig Fri Feb 9 11:05:49 2001 +++ util/wmchlocale.in @@@@ -9,7 +9,7 @@@@ PROGRAM=`basename $0` VERSION="0.1" d9 2 a10 8 -if [ "x$GNUSTEP_USER_ROOT" == "x" ]; then +if [ "x$GNUSTEP_USER_ROOT" = "x" ]; then GSDIR="$HOME/GNUstep" else GSDIR="$GNUSTEP_USER_ROOT" @@@@ -33,7 +33,7 @@@@ exit 0 } d12 1 a12 4 -if (( $# == 0 )); then +if [ $# -eq 0 ]; then help_msg fi a13 41 @@@@ -52,7 +52,7 @@@@ fi;; esac done -if [ "$new_locale" == "default" ]; then +if [ "$new_locale" = "default" ]; then new_locale="" fi @@@@ -75,7 +75,7 @@@@ echo -n "Setting Window Maker root menu... " -if [ -z "$new_locale" ] || [ "$new_locale" == "en" ]; then +if [ -z "$new_locale" ] || [ "$new_locale" = "en" ]; then menu_list="plmenu menu" else menu_list="plmenu.$new_locale menu.$new_locale plmenu menu" @@@@ -88,7 +88,12 @@@@ else echo "fail (copying default)" fi - if [ "${new_menu:0:4}" == "menu" ]; then # plain + new_menu_tmp=$new_menu + # Set new_menu_tmp to first 4 letters of $new_menu. + while [ ${#new_menu_tmp} -gt 4 ]; do + new_menu_tmp=${new_menu_tmp%?} + done + if [ "${new_menu_tmp}" = "menu" ]; then # plain echo "\"$wm_dir/$new_menu\"" >"$GSDIR/Defaults/WMRootMenu" else # proplist cp -f "$wm_dir/$new_menu" "$GSDIR/Defaults/WMRootMenu" @@@@ -104,7 +109,7 @@@@ echo -n "Setting Window Maker fonts... " -if [ -z "$new_locale" ] || [ "$new_locale" == "en" ]; then +if [ -z "$new_locale" ] || [ "$new_locale" = "en" ]; then args="default $nodef" else args="--locale=$new_locale $nodef" @ 1.1 log @Fix several nonportable shell constructs: (1) [ doesn't understand ==; use = instead. (2) (( ... )) isn't valid /bin/sh; use [ ... ] instead. (3) ${foo:0:4} to get the first 4 letters of ${foo} isn't valid /bin/sh, so use a loop to remove letters off the end until only 4 letters remain. @ text @d1 1 a1 1 $NetBSD$ @