debian/0000755000000000000000000000000011733141462007170 5ustar debian/docs0000644000000000000000000000001211733141462010034 0ustar notes.txt debian/pod2man.mk0000644000000000000000000000345311733141462011066 0ustar # pod2man.mk -- Makefile portion to convert *.pod files to manual pages # # Copyright information # # Copyright (C) 2008-2010 Jari Aalto # # License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Description # # Convert *.pod files to manual pages. Add this to Makefile: # # PACKAGE = package # # man: # make -f pod2man.mk PACKAGE=$(PACKAGE) makeman # # build: man ifneq (,) This makefile requires GNU Make. endif # This variable *must* be set when called PACKAGE ?= package # Optional variables to set MANSECT ?= 1 PODCENTER ?= User Commands PODDATE ?= $$(date "+%Y-%m-%d") # Directories MANSRC ?= MANDEST ?= $(MANSRC) MANPOD ?= $(MANSRC)$(PACKAGE).$(MANSECT).pod MANPAGE ?= $(MANDEST)$(PACKAGE).$(MANSECT) POD2MAN ?= pod2man POD2MAN_FLAGS ?= --utf8 makeman: $(MANPAGE) $(MANPAGE): $(MANPOD) # make target - create manual page from a *.pod page podchecker $(MANPOD) LC_ALL= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \ --center="$(PODCENTER)" \ --date="$(PODDATE)" \ --name="$(PACKAGE)" \ --section="$(MANSECT)" \ $(MANPOD) \ | sed 's,[Pp]erl v[0-9.]\+,$(PACKAGE),' \ > $(MANPAGE) && \ rm -f pod*.tmp # End of of Makefile part debian/clean0000644000000000000000000000002411733141462010171 0ustar debian/*.1 *.o miwm debian/source/0000755000000000000000000000000011733141462010470 5ustar debian/source/format0000644000000000000000000000001411733141462011676 0ustar 3.0 (quilt) debian/install0000644000000000000000000000012011733141462010552 0ustar miwm usr/bin debian/miwm-session usr/bin debian/*.desktop usr/share/xsessions debian/copyright-EPropertyList.mail0000644000000000000000000000567211733141462014641 0ustar Return-path: Envelope-to: jari.aalto@cante.net Delivery-date: Mon, 04 Jan 2010 14:14:57 +0200 Received: from mxout-192-iad.mailhop.org ([216.146.32.192] helo=mx1.mailhop.org) by picasso.cante.net with esmtp (Exim 4.69) (envelope-from ) id 1NRl87-0008RP-Tl for jari.aalto@cante.net; Mon, 04 Jan 2010 13:29:50 +0200 X-Mail-Handler: MailHop by DynDNS X-Originating-IP: 165.212.64.21 Received: from gateout01.mbox.net (gateout01.mbox.net [165.212.64.21]) by mx1.mailhop.org (Postfix) with ESMTP id 47DDA834E98 for ; Mon, 4 Jan 2010 11:29:43 +0000 (UTC) Received: from gateout01.mbox.net (gateout01-lo [127.0.0.1]) by gateout01.mbox.net (Postfix) with ESMTP id 6325CCCD55 for ; Mon, 4 Jan 2010 11:29:42 +0000 (GMT) Received: from s1hub2.EXCHPROD.USA.NET [165.212.120.254] by gateout01.mbox.net via smtad (C8.MAIN.3.59A) with ESMTPS id XID155oaDLdQ4406Xo1; Mon, 04 Jan 2010 11:29:42 -0000 X-USANET-Source: 165.212.120.254 IN rusty@fatspaniel.com s1hub2.EXCHPROD.USA.NET X-USANET-MsgId: XID155oaDLdQ4406Xo1 Received: from s1hub4.EXCHPROD.USA.NET (10.120.220.34) by s1hub2.EXCHPROD.USA.NET (10.120.220.32) with Microsoft SMTP Server (TLS) id 8.2.213.0; Mon, 4 Jan 2010 11:25:12 +0000 Received: from rlyeh.localnet (70.132.9.142) by exchange.postoffice.net (10.120.220.34) with Microsoft SMTP Server (TLS) id 8.2.213.0; Mon, 4 Jan 2010 11:25:11 +0000 From: Rusty Ballinger Organization: Fat Spaniel Technologies, Inc. To: Date: Mon, 4 Jan 2010 03:25:08 -0800 User-Agent: KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <201001040325.08495.rusty@fatspaniel.com> X-SA-Exim-Connect-IP: 216.146.32.192 X-SA-Exim-Mail-From: rusty@fatspaniel.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on picasso.cante.net X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,TW_IW autolearn=ham version=3.2.5 Subject: Re: miwm project: code EPropertyList.{cc,h} X-SA-Exim-Version: 4.2.1 (built Sat, 01 Aug 2009 12:09:26 +0000) X-SA-Exim-Scanned: Yes (on picasso.cante.net) > The miwm project lists file EPropertyList.cc and attributes to you: > > http://miwm.cvs.sourceforge.net/viewvc/miwm/miwm/miwm/EPropertyList.cc?rev > ision=1.3&view=markup > > 1 /** > 2 author: stephan@wanderinghorse.net > 3 based on code by Rusty Ballinger (bozo@users.sourceforge.net) > 4 license: GPL > 5 */ > I'm evaluating to package miwm for Debian, so would you confirm that > your code as used by the miwm project, is released under GPL (version 2 > or any later version). Wow, yeah, although I didn't look at that specific file just now, any code I wrote & shared with Stephan was indeed GPL. Thanks for asking! --Rusty debian/miwm.desktop0000644000000000000000000000031211733141462011530 0ustar [Desktop Entry] Name=Miwm Comment=Minimalist window manager with virtual workspaces Type=Application Terminal=False Exec=/usr/bin/miwm-session TryExec=miwm-session [Window Manager] SessionManaged=true debian/license.sh0000644000000000000000000000772111733141462011155 0ustar #!/bin/sh # # Copyright # # Copyright (C) 2009-2010 Jari Aalto # # License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # PRIMARY_AUTHOR="Kolivas" # A regexp TMP=${TEMPDIR:-/tmp}/${LOGNAME:-${USER:-foo}}.tmp REGEXP='copyright|@|license|author|\(C\).*[0-9]{4}' $file Help () { echo " SYNOPSIS PRIMARY_AUTHOR="name" sh debian/license.sh [] DESCRIPTION Examine project CODE files for Copyright and License from current directory not written by regexp: \$PRIMARY_AUTHOR" exit 0 } Find () { dir=${1:-.} shift # Exclude files find \ -L \ $dir \ -mount \ -type d \ '(' \ -name ".bzr" \ -o -name ".arch" \ -o -name ".git" \ -o -name ".hg" \ -o -name ".darcs" \ -o -name ".svn" \ -o -name ".mtn" \ -o -name "CVS" \ -o -name "RCS" \ -o -name "SCCS" \ -o -name "_MTN" \ -o -name ".inst" \ -o -name ".sinst" \ -o -name ".build" \ -o -name ".quilt" \ -o -name ".pc" \ -o -name "debian" \ ')' \ -prune \ -a ! -name ".arch" \ -a ! -name ".bzr" \ -a ! -name ".git" \ -a ! -name ".hg" \ -a ! -name ".darcs" \ -a ! -name ".svn" \ -a ! -name ".mtn" \ -a ! -name "CVS" \ -a ! -name "RCS" \ -a ! -name "SCCS" \ -a ! -name "_MTN" \ -a ! -name "*.tmp" \ -a ! -name "*[#]*" \ -a ! -name "*~" \ -a ! -name "*.orig" \ -a ! -name "*.rej" \ -a ! -name "*.bak" \ -a ! -name ".inst" \ -a ! -name ".sinst" \ -a ! -name ".build" \ -a ! -name ".quilt" \ -a ! -name ".pc" \ -a ! -name "debian" \ -o \ "$@" } Files () { LC_ALL=C Find ${1:-.} \ -name "*.cc" \ -o -name "*.cpp" \ -o -name "*.cxx" \ -o -name "*.pl" \ -o -name "*.py" \ -o -name "*.[cC]" \ -o -name "*.h" \ -o -name "*.hh" \ -o -name "*.hxx" \ -o -name "*README*" } AtExit () { rm -f $TMP* } Main () { case "$*" in -h | --help ) Help ;; esac files=$TMP.files-all Files > $files aFiles=$TMP.files-author grep -Ei "$PRIMARY_AUTHOR" --files-with-matches $(cat $files) > $aFiles for file in $(cat $files) do if ! grep --with-filename -Ei "$REGEXP" $file; then echo "$file: #WARN: NO INFORMATION (check manually)" fi done echo "---------------- files not by $PRIMARY_AUTHOR" grep --with-filename -Ei "$REGEXP" $files $(cat $files | grep -vFf $aFiles) } trap 'AtExit' 0 1 2 3 9 15 Main "$@" # End of file debian/changelog0000644000000000000000000000174511733141462011051 0ustar miwm (1.1-3) unstable; urgency=low * debian/control - (Build-Depends): Rm dpkg-dev; not needed with debhelper 9. - (Standards-Version): Update to 3.9.3.1. * debian/copyright - Update to format 1.0. * debian/rules - Enable all hardening flags. - Use DEB_*_MAINT_* variables. -- Jari Aalto Fri, 23 Mar 2012 14:10:22 -0400 miwm (1.1-2) unstable; urgency=low * debian/compat - Update to 9 * debian/control - (Build-Depends): update to debhelper 9, dpkg-dev 1.16.1. - (Standards-Version): update to 3.9.2. * debian/copyright - Update to latest DEP5 format. * debian/rules - Clean up unused rules. - Use hardened CFLAGS. http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags -- Jari Aalto Mon, 13 Feb 2012 07:17:45 -0500 miwm (1.1-1) unstable; urgency=low * Initial release (ITP; Closes: #364485). -- Jari Aalto Mon, 04 Jan 2010 15:25:34 +0200 debian/copyright0000644000000000000000000002373111733141462011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: miwm Upstream-Contact: Paul Wise Source: http://freshmeat.net/projects/miwm X-Bugs: https://sourceforge.net/tracker/?group_id=83675&atid=570257 X-Vcs: https://sourceforge.net/projects/miwm/develop X-Source: http://sourceforge.net/projects/miwm Files: debian/* Copyright: 2009-2012 Jari Aalto License: GPL-2+ Files: * Copyright: 2003 Ben Paul Wise License: GPL-2+ Files: EKeyValueParser.h EKeyValueParser.cc Copyright: 2003 Stephan Beal License: public-domain /** License: Public Domain Author: stephan@wanderinghorse.net */ Files: EPathFinder.cc Copyright: 2002 Stephan Beal X-Comment: ** Copyright (C) 2002 stephan beal (stephan@wanderinghorse.net). ** All rights reserved. ** ** This file may be distributed and/or modified under the terms of the ** See LICENSE file in this directory. version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. License: GPL-2+ Files: EPathFinder.h Copyright: 2003 Stephan Beal X-Comment: "License: See LICENSE file in this directory." License: GPL-2+ Files: EPropertyList.cc Copyright: 2003 Stephan Beal 2003 Rusty Ballinger X-Comment: /** author: stephan@wanderinghorse.net based on code by Rusty Ballinger (bozo@users.sourceforge.net) license: GPL */ . From: Rusty Ballinger Organization: Fat Spaniel Technologies, Inc. To: Date: Mon, 4 Jan 2010 03:25:08 -0800 Message-ID: <201001040325.08495.rusty@fatspaniel.com> . > I'm evaluating to package miwm for Debian, so would you confirm that > your code as used by the miwm project, is released under GPL (version 2 > or any later version). . Wow, yeah, although I didn't look at that specific file just now, any code I wrote & shared with Stephan was indeed GPL. Thanks for asking! License: GPL-2+ Files: EPropertyList.h Copyright: 2003 Stephan Beal 2003 Rusty Ballinger X-Comment: /** author: stephan@wanderinghorse.net based on code by Rusty Ballinger (bozo@users.sourceforge.net) license: GPL . EPropertyList is a class for holding arbitrary key/value pairs of numeric/string data. In includes save/load support. */ /** License: Public Domain Author: stephan . TODO: move many of the EKeyValueParser typedefs into this class and rename them to be consistent with the STL. */ . From: Rusty Ballinger Organization: Fat Spaniel Technologies, Inc. To: Date: Mon, 4 Jan 2010 03:25:08 -0800 Message-ID: <201001040325.08495.rusty@fatspaniel.com> . > I'm evaluating to package miwm for Debian, so would you confirm that > your code as used by the miwm project, is released under GPL (version 2 > or any later version). . Wow, yeah, although I didn't look at that specific file just now, any code I wrote & shared with Stephan was indeed GPL. Thanks for asking! License: GPL-2+ Files: EShellProcess.cc Copyright: 2003 Stephan Beal X-Comment: No explicit License reference, see EShellProcess.h License: GPL-2 Files: EShellProcess.h Copyright: 2003 Stephan Beal X-Comment: "See LICENSE file in this [source] directory." License: GPL-2+ Files: ESimpleCLParser.cc Copyright: 2002 Stephan Beal X-Comment: // Released under the GNU Lesser General Public License License: LGPL-2+ Files: ESimpleCLParser.h Copyright: 2002 Stephan Beal X-Comment: /** Copyright (C) 2002, stephan@wanderinghorse.net Released under the GNU Lesser General Public License . ESimpleCLParser is an object for handling command line options. Use it like this: [...] */ License: LGPL-2+ Files: EStdStringTokenizer.cc Copyright: 2003 Stephan Beal X-Comment: No explicit License in file, but see email correspondence with the author dated 2010-01-04 in file debian/copyright-E-class-files.mail License: public-domain From: Stephan Beal Subject: Re: miwm Window Manager: your copyright and license To: Jari Aalto Date: 2010-01-04 15:57 EET References: Message-ID: <6ac046011001040557n3e214197gbf617e87460aa53c@mail.gmail.com> . [...clip...] The classes named E* in that source tree were either written by myself or ported from other source trees. The two classes which i know to be historically "interesting" vis-a-vis licensing are: . EStdStringTokenizer.cc EStringTokenizer.cc . E*StringTokenizer is based off of code which was originally GPLd as part of KDE 1.x or 2.x (i don't remember which). At some point (around 2000? 2001?) i received permission per email from the original license holders to release it as Public Domain. [...clip...] Files: EStdStringTokenizer.h Copyright: 2003 Stephan Beal License: public-domain Based heavily off of work by: /** EStdStringTokenizer: . License: see the file LICENSE in this directory. Author: stephan@wanderinghorse.net . Based heavily off of work by: . Martin Jones (mjones@kde.org) Torben Weis (weis@kde.org) Waldo Bastian (bastian@kde.org) . which i originally found as StringTokenizer in the KDE 1.x source tree. i have received explicit permission from each of those gentlemen to release the StringTokenizer code into into the Public Domain. (Many thanks to them for that permission, without which this whole library would necessarily be released under the GNU GPL.) . This class is meant to be API- and behaviour-compatible with StringTokenizer. This implementation is, however, MUCH less efficient. . EStdStringTokenizer tokenizes strings in a way which is consistent with the way a Unix shell does. This makes it appropriate for use in parsing many types of arbitrary user input, from command-line arguments to comma-separated files. */ Files: EStringList.cc Copyright: 2003 Stephan Beal X-Comment: "EStringList.h // <-- see this file for license, etc." License: GPL-2 Files: EStringList.h Copyright: 2003 Stephan Beal X-Comment: "See LICENSE file in this [source] directory." License: GPL-2 Files: EStringTokenizer.cc Copyright: 2003 Stephan Beal License: public-domain "see EStringTokenizer.h for license details." Files: EStringTokenizer.h Copyright: 2000-2003 Stephan Beal 1997 Martin Jones 1997 Torben Weis 1998 Waldo Bastian License: public-domain // This file was part of the KDE libraries // Copyright (C) 1997 Martin Jones (mjones@kde.org) // (C) 1997 Torben Weis (weis@kde.org) // (C) 1998 Waldo Bastian (bastian@kde.org) // // This copy was then part of the QUB project. // Copyright (C) 2000-2003 stephan@wanderinghorse.net // // Since then i have received permission from Martin, Torben and Waldo // to release this code into the Public Domain, and that is the license // for this code. License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". License: LGPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/LGPL-2". debian/compat0000644000000000000000000000000211733141462010366 0ustar 9 debian/menu0000644000000000000000000000014011733141462010052 0ustar ?package(miwm):needs="wm" section="Window Managers" \ title="Miwm" \ command="/usr/bin/miwm" debian/control0000644000000000000000000000141711733141462010576 0ustar Source: miwm Section: x11 Priority: optional Maintainer: Jari Aalto Build-Depends: debhelper (>= 9), pkg-config, libx11-dev, libxpm-dev, x11proto-xext-dev, libxext-dev Standards-Version: 3.9.3.1 Vcs-Browser: http://git.debian.org/?p=collab-maint/miwm.git Vcs-Git: git://git.debian.org/git/collab-maint/miwm.git Homepage: http://freshmeat.net/projects/miwm Package: miwm Provides: x-window-manager Suggests: idesk, fbdesk, xinit, x11-apps Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: minimalist window manager with virtual workspaces MIWM is a minimalist window manager with virtual workspaces. It is designed to be used for low end PCs where low resource usage and minimal memory footprint is desired. MIWM is written in C++. debian/README.Debian0000644000000000000000000000112611733141462011231 0ustar miwm for Debian --------------- Miwm has no button or command to "exit" the window manager. Please use standard X server kill key sequence (C-A-Backspace), which may need to be enabled separately with: dpkg-reconfigure console-setup Also check section "ServerFlags" option "DontZap" in /etc/X11/xorg.conf If nothing else works, try: setxkbmap -option terminate:ctrl_alt_bksp For more information, see thread: 2009-04-04 ctrl-alt-backspace doesn't work http://forums.debian.net/viewtopic.php?f=10&t=38046 -- Jari Aalto , Wed, 30 Dec 2009 15:22:44 +0200 debian/miwm-session.1.pod0000644000000000000000000000470611733141462012474 0ustar # Copyright # # Copyright (C) 2009-2010 Jari Aalto # # License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Description # # To learn what TOP LEVEL section to use in manual pages, # see POSIX/Susv standard and "tility Description Defaults" at # http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11 # # This is manual page in Perl POD format. Read more at # http://perldoc.perl.org/perlpod.html or run command: # # perldoc perlpod | less # # To check the syntax: # # podchecker *.pod # # Create manual page with command: # # pod2man PAGE.N.pod > PAGE.N =pod =head1 NAME miwm-session - Start up the MIWM window Manager =head1 SYNOPSIS miwm-session [option] =head1 DESCRIPTION As MIWM does not have any meny by default to start external programs, this file starts by defalt one x-terminal-emulator(1) program with the window manager. See section FILES. This program is designed to be used by GDM (etc) from /usr/share/xsessions/miwm.desktop and therefore this program does not exit until Window Manager exists. =head1 OPTIONS =over 4 =item B<-h, --help> Display brief description. =item B<-V, --version> Display version information. =back =head1 ENVIRONMENT None. =head1 FILES =over 4 =item B<$HOME/.miwm/session> If file exists, it is executed using /bin/sh after the window manager starts. This file inhibits starting the default x-terminal-emulator(1). =back =head1 SEE ALSO aewm(1), idesk(1), fspanel(1), jwm(1), fvwm(1) =head1 AUTHORS Program was written by . This manual page was written by Jari Aalto for the Debian GNU system (but may be used by others). Released under license GNU GPL version 2 or (at your option) any later version. For more information about license, visit . =cut debian/rules0000755000000000000000000000065111733141462010252 0ustar #!/usr/bin/make -f PACKAGE = miwm export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed man: $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE)-session makeman override_dh_auto_install: # See debian/install override_dh_auto_build: man $(MAKE) CC="g++ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" %: dh $@ .PHONY: man # End of file debian/watch0000644000000000000000000000006011733141462010215 0ustar version=3 http://sf.net/miwm/miwm-(.+)\.tar\.gz debian/manpages0000644000000000000000000000001711733141462010704 0ustar *.1 debian/*.1 debian/miwm-session0000644000000000000000000000354611733141462011555 0ustar #!/bin/sh # # Copyright # # Copyright (C) 2009-2010 Jari Aalto # # License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . LICENSE="GNU GPL v2 or (at your option) any later" AUTHOR="jari.aalto@cante.net" VERSION="2009.1230.2335" CONF="$HOME/.miwm/session" Help () { echo "\ As MIWM does not have any meny by default to start external programs, this file starts one terminal with the window manager. This program is designed to be used by GDM (etc) from /usr/share/xsessions/miwm.desktop and therefore this program does not exit until Window Manager exists." exit 0 } Version () { echo "$VERSION Copyright (C) $AUTHOR $LICENSE" exit 0 } Warn () { echo "$*" >&2 } Term () { if [ -e /usr/bin/x-terminal-emulator ]; then x-terminal-emulator -display ${DISPLAY:-":0"} & else Warn "$0: No x-terminal-emulator to start" fi } Session () { if [ -f $CONF ]; then sh $CONF else Term fi } Main () { while : do case "$1" in -h|--help) Help ;; -V|--version) Version ;; *) break ;; esac done log=${TMPDIR:-/tmp}/${LOGNAME:-$USER}$$.miwm.log { sleep 4; Session ; } & miwm "$@" 2>&1 | tee $log } Main "$@" # End of file debian/copyright-E-class-files.mail0000644000000000000000000003656211733141462014445 0ustar From nobody Mon Jan 4 19:26:58 2010 Return-path: Envelope-to: jari.aalto@cante.net Delivery-date: Mon, 04 Jan 2010 09:04:41 +0200 Received: from [192.168.1.7] (helo=jondo.cante.net) by picasso.cante.net with esmtp (Exim 4.69) (envelope-from ) id 1NRgzZ-0007cy-5c; Mon, 04 Jan 2010 09:04:41 +0200 Received: from root by jondo.cante.net with local (Exim 4.71) (envelope-from ) id 1NRgzZ-0008A6-L0; Mon, 04 Jan 2010 09:04:41 +0200 From: Jari Aalto To: stephan@wanderinghorse.net Subject: miwm Window Manager: your copyright and license Date: Mon, 04 Jan 2010 09:04:41 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SA-Exim-Connect-IP: 192.168.1.7 X-SA-Exim-Mail-From: jari.aalto@cante.net X-SA-Exim-Scanned: No (on picasso.cante.net); SAEximRunCond expanded to false Hi, I'm preparing to package miwm for Debian: http://sourceforge.net/projects/miwm The sources of the "E*" files read: EKeyValueParser.cc: Author: stephan@wanderinghorse.net EPathFinder.cc: ** Copyright (C) 2002 stephan beal (stephan@wanderinghorse.net). EPropertyList.cc: author: stephan@wanderinghorse.net EShellProcess.cc: <<"Please contact the maintainer of this code with an example of how you're using it (stephan@wanderinghorse.net), " ESimpleCLParser.cc:// Copyright (C) 2002, stephan@wanderinghorse.net # NONE EStdStringTokenizer.cc # NONE EStringList.cc # NONE EStringTokenizer.cc EKeyValueParser.h: Author: stephan@wanderinghorse.net EPathFinder.h: ** Author: stephan beal (stephan@wanderinghorse.net). EPropertyList.h: author: stephan@wanderinghorse.net EShellProcess.h: Author: stephan@wanderinghorse.net ESimpleCLParser.h: Copyright (C) 2002, stephan@wanderinghorse.net EStdStringTokenizer.h: Author: stephan@wanderinghorse.net EStringList.h:Author: stephan@wanderinghorse.net EStringTokenizer.h:// Copyright (C) 2000-2003 stephan@wanderinghorse.net As "Public Domain" is not really a license: "Why the Public Domain Isn't a License" by Open Source attorney Lawrence Rosen. http://www.linuxjournal.com/article/6225 I'd like to ask for clarification. 1) some of the files marked "NONE" lack the author and license. Would you confirm that the above "# NONE E*" files are also written by you? You can read the source code at: http://miwm.cvs.sourceforge.net/viewvc/miwm/miwm/miwm/ 2) As the miwm itself (other files) is released under GPL, would you give your permission to relicense all of the "E*" files (including those marked "Public Domain") under GPL as well as in: "You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See ." Thank you, Jari From nobody Mon Jan 4 19:27:03 2010 Return-path: Envelope-to: jari.aalto@cante.net Delivery-date: Mon, 04 Jan 2010 16:14:13 +0200 Received: from mxout-067-iad.mailhop.org ([216.146.32.67] helo=mx1.mailhop.org) by picasso.cante.net with esmtp (Exim 4.69) (envelope-from ) id 1NRnRK-0000Tt-14 for jari.aalto@cante.net; Mon, 04 Jan 2010 15:58:02 +0200 X-Mail-Handler: MailHop by DynDNS X-Originating-IP: 72.14.220.155 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.mailhop.org (Postfix) with ESMTP id 537228339F1 for ; Mon, 4 Jan 2010 13:57:41 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so6620633fga.7 for ; Mon, 04 Jan 2010 05:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=1lLz3V3efu1x96oR+8ZjlqrV5sFpM3JDFkESNQUo8wg=; b=hqff6LFdInKDKVgFVx/mIEYfu68Q6jO6pq6kol6EbzDGiB/HHS8VaJdyInuQESVKGn 3psJDMc+lOxeNfROHE4OA3FkDVVnsw2JW7CC287xGNK3sCWypxbMgRoi+Sl2ZJCWRS9m kEPh7+xzxkF5TC6JyDCmBOg81eIj7RcvWNAGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=fWBI1T2BiGxOFcytCsV9pDDIr8Fu8+JusG55PssU83unqbgOC6sUtpvyoYQ9CQpqm1 ek+Aa+/5Cz/LxrMd0qmeU68PSqOhBYa0gCuYbp9xDrTsVr9a4r6fnDB312GISIAkiFQ0 qWlWZlBnV87YktooQifGwrlKQFBI9zo8kRtik= MIME-Version: 1.0 Sender: sgbeal@googlemail.com Received: by 10.102.246.9 with SMTP id t9mr717459muh.109.1262613459805; Mon, 04 Jan 2010 05:57:39 -0800 (PST) In-Reply-To: References: Date: Mon, 4 Jan 2010 14:57:39 +0100 X-Google-Sender-Auth: 4a8f02e4a5acd47f Message-ID: <6ac046011001040557n3e214197gbf617e87460aa53c@mail.gmail.com> From: Stephan Beal To: Jari Aalto Content-Type: multipart/alternative; boundary=0016364c7231c2a700047c571acf X-SA-Exim-Connect-IP: 216.146.32.67 X-SA-Exim-Mail-From: sgbeal@googlemail.com X-Spam-Flag: YES X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on picasso.cante.net X-Spam-Level: ****** X-Spam-Status: Yes, score=6.1 required=5.0 tests=BAYES_50,HTML_MESSAGE, MY_BODY_BASE64,MY_BODY_DSN_BASE64,MY_BODY_FOR_YOU,MY_BODY_W_LONGEST, MY_BODY_W_ORDER,SPF_NEUTRAL,TW_IW autolearn=no version=3.2.5 Subject: Re: miwm Window Manager: your copyright and license X-SA-Exim-Version: 4.2.1 (built Sat, 01 Aug 2009 12:09:26 +0000) X-SA-Exim-Scanned: Yes (on picasso.cante.net) --0016364c7231c2a700047c571acf Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jan 4, 2010 at 8:04 AM, Jari Aalto wrote: > I'm preparing to package miwm for Debian: > > http://sourceforge.net/projects/miwm > Hi! i wasn't aware that miwm was still actively maintained. i haven't personally touched it in many years. > EKeyValueParser.cc: Author: stephan@wanderinghorse.net > EPathFinder.cc: ** Copyright (C) 2002 stephan beal ( > stephan@wanderinghorse.net). > ... EStringTokenizer.h:// Copyright (C) 2000-2003 > stephan@wanderinghorse.net > > As "Public Domain" is not really a license: > > "Why the Public Domain Isn't a License" by Open Source attorney Lawrence > Rosen. > http://www.linuxjournal.com/article/6225 > It is, however, a license according to the sqlite team and its many commercial supporters. http://sqlite.org/copyright.html Thus the opinion of one lawyer has little weight for me. That said, i understand that Public Domain is not recognized in all jurisdictions (including Germany, where i live). But neither is copyright, for that matter, which means that there will always be jurisdictions where any given license (including the GPL) is not recognized. Since copyrighted works whos copyright expires then fall into the Public Domain, public domain must be recognized in order for copyright to be valid at all. > I'd like to ask for clarification. > > 1) some of the files marked "NONE" lack the author and license. Would > you confirm that the above "# NONE E*" files are also written by you? > > You can read the source code at: > http://miwm.cvs.sourceforge.net/viewvc/miwm/miwm/miwm/ The classes named E* in that source tree were either written by myself or ported from other source trees. The two classes which i know to be historically "interesting" vis-a-vis licensing are: NONE EStdStringTokenizer.cc # NONE EStringTokenizer.cc E*StringTokenizer is based off of code which was originally GPLd as part of KDE 1.x or 2.x (i don't remember which). At some point (around 2000? 2001?) i recieved permission per email from the original license holders to release it as Public Domain. i unfortunately no longer have those mails - they were sent to an account owned by my then-employer. > 2) As the miwm itself (other files) is released under GPL, would you > give your permission to relicense all of the "E*" files (including those > marked "Public Domain") under GPL as well as in: > Absolutely. One of the reasons for making them Public Domain is so that clients can re-license their copies however they want to without requiring persmission to do so. As a cancer patient, there is never a guaranty that i'll be around to grant re-licensing request, and i release it as Public Domain partially to avoid such problems. > "You can redistribute it and/or modify it under the terms of the GNU > General Public License as published by the Free Software Foundation; > either version 2 of the License, or (at your option) any later version. > See ." > IMO, that is implicit in Public Domain, but if it needs to be explicit then feel free to add it. Because of the on-going confusion about whether PD really is a license or not, what i've started doing with newer code is using license text similar to: "The code is released in the Public Domain except in jurisdictions which do not recognize Public Domain property, in which case it is released under the MIT license (which is about as close as Public Domain as a license can get). The MIT license is compatible for use with GPL'd and commercial software." which "should" please everyone except those living in countries which recognize neither PD nor copyrights. (But those people are doing what they want to with the code, anyway.) :) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ --0016364c7231c2a700047c571acf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Jan 4, 2010 at 8:04 AM, Jari Aalto <jari.aalto@cante.n= et> wrote:
I'm preparing to package miwm for Debian:

=A0 =A0= http://sourceforge.net/projects/miwm

Hi! i was= n't aware that miwm was still actively maintained. i haven't person= ally touched it in many years.
=A0
=A0 =A0EKeyValueParser.cc: =A0 Author: stephan@wanderinghorse.net
=A0 =A0EPathFinder.cc: ** Copyright (C) 2002 stephan beal (stephan@wanderinghorse.net).
... =A0 EStringTokenizer.h:// =A0 =A0Copyright (C) 2000-2003 stephan@wanderinghorse.net

As "Public Domain" is not really a license:

=A0 =A0"Why the Public Domain Isn't a License" by Open Sourc= e attorney Lawrence Rosen.
=A0 =A0http://www.linuxjournal.com/article/6225

I= t is, however, a license according to the sqlite team and its many commerci= al supporters.

http://sqlite.org/copyrigh= t.html

Thus the opinion of one lawyer has little weight for me. = That said, i understand that Public Domain is not recognized in all jurisdictions (inclu= ding Germany, where i live). But neither is copyright, for that matter, which means that there will alwa= ys be jurisdictions where any given license (including the GPL) is not reco= gnized.

Since copyrighted works whos copyright expires then fall int= o the Public Domain, public domain must be recognized in order for copyrigh= t to be valid at all.
=A0
I'd like to ask for clarification.

1) some of the files marked "NONE" lack the author and license. W= ould
you confirm that the above "# NONE E*" files are also written by = you?

=A0 =A0You can read the source code at:
=A0 =A0http://miwm.cvs.sourceforge.net/viewvc/miwm/miwm/miwm/
2) As the miwm itself (other files) is released under GPL, would you
give your permission to relicense all of the "E*" files (includin= g those
marked "Public Domain") under GPL as well as in:
=

Absolutely. One of the reasons for making them Public Domain is so= that clients can re-license their copies however they want to without requ= iring persmission to do so. As a cancer patient, there is never a guaranty = that i'll be around to grant re-licensing request, and i release it as = Public Domain partially to avoid such problems.
=A0
=A0"You can redistribute it and/or modify it under the terms of the GN= U
=A0General Public License as published by the Free Software Foundation;
=A0either version 2 of the License, or (at your option) any later version.<= br> =A0See <
http:= //www.gnu.org/licenses/>."

IMO, that i= s implicit in Public Domain, but if it needs to be explicit then feel free = to add it.

Because of the on-going confusion about whether PD really i= s a license or not, what i've started doing with newer code is using li= cense text similar to:

"The code is released in the Public Doma= in except in jurisdictions which do not recognize Public Domain property, i= n which case it is released under the MIT license (which is about as close = as Public Domain as a license can get). The MIT license is compatible for u= se with GPL'd and commercial software."

which "should" please everyone except those living in countri= es which recognize neither PD nor copyrights. (But those people are doing w= hat they want to with the code, anyway.)

:)

-- =
----- stephan beal
h= ttp://wanderinghorse.net/home/stephan/
--0016364c7231c2a700047c571acf-- debian/patches/0000755000000000000000000000000011733141462010617 5ustar debian/patches/50-Makefile-etags.patch0000644000000000000000000000666211733141462014712 0ustar From 10728295a23ca067a94562101faf791740d83c3f Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Thu, 31 Dec 2009 01:47:40 +0200 Subject: [PATCH] Makefile: (all): remove ETAGS target Signed-off-by: Jari Aalto --- Makefile | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 203a399..3b671fd 100644 --- a/Makefile +++ b/Makefile @@ -9,17 +9,17 @@ # ---------------------------------------------------------------- # Copyright Ben Paul Wise. # ---------------------------------------------------------------- -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. @@ -45,7 +45,7 @@ CFLAGS = $(DBGFLAGS) -D_POSIX_SOURCE -DSHAPE TARGET = all -OBJS = miwm.o manage.o mouse.o client.o cursor.o error.o \ +OBJS = miwm.o manage.o mouse.o client.o cursor.o error.o \ disp.o shape.o resource.o wspace.o wm.o menu.o \ null.o ops.o mipix.o \ alpha.o nodes.o rng.o mlchckr.o \ @@ -60,12 +60,12 @@ HEADERS = client.h miwm.h struct.h mimenu.h null.h ws.h mipix.h \ SRCS = $(OBJS:.o=.cc) -INCS = -I. -I/usr/X11R6/include -I/include \ +INCS = -I. -I/usr/X11R6/include -I/include \ -I$(INSTALLDIR)/include/beta # -I/usr/include/g++ \ # -I$(HOME)/lib/beta/include -all: TAGS $(DEPS_FILE) miwm +all: $(DEPS_FILE) miwm # $(MAKE) TAGS # $(MAKE) depend # $(MAKE) miwm @@ -77,8 +77,8 @@ miwm: $(OBJS) $(HEADERS) # compile CC files .cc.o : - @echo " compiling $*.cc" - @$(CC) -c $(CFLAGS) $(INCS) $*.cc -o $*.o + @echo " compiling $*.cc" + @$(CC) -c $(CFLAGS) $(INCS) $*.cc -o $*.o @@ -112,7 +112,7 @@ cleanly: # make sure, on install, that we are actually installing # the most recent executable. also move a basic man page. # NB: you probably have to be root to do this. -install: +install: $(MAKE) miwm cp miwm $(INSTALLDIR)/bin/miwm cp miwm.1 $(INSTALLDIR)/man/man1 @@ -125,7 +125,7 @@ zdistrib: MANIFEST cd ..; tar -czvf miwm`date +%Y%m%d`.tgz miwm # make uncompressed archive -distrib: +distrib: @$(MAKE) distclean @$(MAKE) MANIFEST @echo making compressed archive @@ -135,8 +135,8 @@ distrib: # (no need to compress twice) signed_zdistrib: MANIFEST make distrib - cd .. ; gpg --armor --output miwm`date +%Y%m%d`.tar.sig --detach-sign miwm`date +%Y%m%d`.tar - cd .. ; tar -zcf miwm`date +%Y%m%d`.tgz miwm`date +%Y%m%d`.tar.sig miwm`date +%Y%m%d`.tar + cd .. ; gpg --armor --output miwm`date +%Y%m%d`.tar.sig --detach-sign miwm`date +%Y%m%d`.tar + cd .. ; tar -zcf miwm`date +%Y%m%d`.tgz miwm`date +%Y%m%d`.tar.sig miwm`date +%Y%m%d`.tar cd .. ; rm -f miwm`date +%Y%m%d`.tar.sig miwm`date +%Y%m%d`.tar # ---------------------------------------------------------------- -- 1.6.5 debian/patches/00-miwm.1-description.patch0000644000000000000000000000132211733141462015504 0ustar From 4e0cbf5640f3f2967d85ef7f43831954b2d6256f Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Fri, 1 Jan 2010 19:34:53 +0200 Subject: [PATCH] miwm.1: fix DESCRIPTION Signed-off-by: Jari Aalto --- miwm.1 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/miwm.1 b/miwm.1 index ef7f102..7a4adc5 100644 --- a/miwm.1 +++ b/miwm.1 @@ -5,11 +5,11 @@ .TH MIWM 1 "06 May 2003" "Ben Paul Wise" .ds Ben Paul Wise .SH NAME -miwm \- a minimal appearence, full-function window manager +miwm \- a minimal appearance, full-function window manager .SH SYNOPSIS .B miwm -.PP -.DESCRIPTION +.SH +DESCRIPTION .I MIWM is Ben Wise's \fIMI\fRnimal -- 1.6.5 debian/patches/10-compile-include.patch0000644000000000000000000000170611733141462015133 0ustar From b8eca6597031b599c7c8c46627a9383fc307ebcf Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 29 Dec 2009 18:41:23 +0200 Subject: [PATCH] Add missing includes Signed-off-by: Jari Aalto --- ESimpleCLParser.cc | 3 ++- mlchckr.cc | 1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ESimpleCLParser.cc b/ESimpleCLParser.cc index 80da933..3de6d86 100644 --- a/ESimpleCLParser.cc +++ b/ESimpleCLParser.cc @@ -2,7 +2,8 @@ // Released under the GNU Lesser General Public License #include -#include +#include +#include #include "EStringTokenizer.h" #include "ESimpleCLParser.h" diff --git a/mlchckr.cc b/mlchckr.cc index d4a931a..a9d5712 100644 --- a/mlchckr.cc +++ b/mlchckr.cc @@ -29,6 +29,7 @@ #include "mlchckr.h" #include +#include typedef list< MemoryHolderBlock * > MemoryList, *pMemoryList; -- 1.6.5 debian/patches/40-change-bash-to-sh.patch0000644000000000000000000000211511733141462015250 0ustar From ddb4193d88fb23e5f7e7416cd403be33875583b0 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 29 Dec 2009 19:31:10 +0200 Subject: [PATCH] Use /bin/sh Signed-off-by: Jari Aalto --- ops.cc | 3 ++- wm.cc | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ops.cc b/ops.cc index 2989b80..0b8b723 100644 --- a/ops.cc +++ b/ops.cc @@ -253,8 +253,9 @@ void retileWS() { void restartWM() { char* sh = ((char*) getenv("SHELL")); + char default_sh[] = "/bin/sh"; if (sh == 0) - sh = "/bin/bash"; + sh = default_sh; int rslt = fork(); switch (rslt) { case 0: // child diff --git a/wm.cc b/wm.cc index fdcacd5..fc02045 100644 --- a/wm.cc +++ b/wm.cc @@ -376,9 +376,11 @@ WindowManager::undoFullPreview(Client *pc) { void WindowManager::spawn(char *command) { char* sh = ((char*) getenv("SHELL")); + char default_sh[] = "/bin/sh"; + // char *displayName = DisplayString(dpy); if (sh == 0) - sh = "/bin/bash"; + sh = default_sh; // cout << "SHELL is " << sh << endl; -- 1.6.5 debian/patches/30-miAbort-fix-argdef.patch0000644000000000000000000000163611733141462015475 0ustar From 67b4b321c544d3c181262ec8d17e4e057690c18f Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 29 Dec 2009 19:18:27 +0200 Subject: [PATCH] miAbort: char* => const char* Signed-off-by: Jari Aalto --- error.cc | 2 +- miwm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/error.cc b/error.cc index f21b069..0b26cb0 100644 --- a/error.cc +++ b/error.cc @@ -37,7 +37,7 @@ int ignore_badwindow; void -miAbort(char *s) +miAbort(const char *s) { fprintf(stderr, "%s: %s\n", argv0, s); cout << endl; diff --git a/miwm.h b/miwm.h index 16ea062..9444ee7 100644 --- a/miwm.h +++ b/miwm.h @@ -150,7 +150,7 @@ extern void dispatch(XEvent *); extern int ignore_badwindow; extern int ErrorHandler(Display *, XErrorEvent *); -extern void miAbort(char*); +extern void miAbort(const char*); extern void getWindowName(Client *); -- 1.6.5 debian/patches/01-miwm.1-mouse.patch0000644000000000000000000000362311733141462014320 0ustar From f5837bd1786a56aa1f56ddad7cad41c4f2e06293 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 30 Dec 2009 13:21:32 +0200 Subject: [PATCH] miwm.1: Adjust Mouse use, remove OPTIONS Signed-off-by: Jari Aalto --- miwm.1 | 31 ++++++++++--------------------- 1 files changed, 10 insertions(+), 21 deletions(-) diff --git a/miwm.1 b/miwm.1 index ef7f102..a7972cc 100644 --- a/miwm.1 +++ b/miwm.1 @@ -24,16 +24,18 @@ This man page is \fBVERY MUCH\fR under construction. It is not complete, and blatantly contains leftover pieces of the man page I used as a template. Do not rely on anything you find here. .SH COMMANDS -The notation for describing commands is that \fIB1-f\fR means 'button 1 click -on frame', \fIcB3-r\fR means 'control button 3 click on root', +The notation for describing commands is that \fIMouse\-1\-frame\fR means 'button 1 click +on frame', \fIC\-Mouse\-3\-root\fR means 'control button 3 click on root', .TP -.B B1-f +.B Mouse\-1\-frame Raise. .TP -.B B2-f +.B Mouse\-2\-frame Move. +.B Mouse\-2\-root +Select virtual workspace. .TP -.B B3-f +.B Mouse\-3\-frame Hide. .TP .PP @@ -67,23 +69,10 @@ prompt without any shell interference (which is the main reason there is an interactive mode). .SH OPTIONS .I Miwm -accepts no command-line options. But I include -the following to demonstrat how to format things. -.TP -.B \-r -If a specified file is a directory, the directory and all of its -children are restored recursively. -.TP -.B \-i -The user is prompted for confirmation before each file or directory is -restored. This is not the same as the interactive file name entry -mode which is automatically activated when no files are specified on -the command line. - +No command-line options. .SH "KNOWN BUGS" -Too complicated -.PP -No icons. +The code is too complicated. +No icon support. .SH "SEE ALSO" 9wm(1), aewm(1) .SH AUTHOR -- 1.6.5.4 debian/patches/17-EStringTokenizer.cc-const-char.patch0000644000000000000000000000156611733141462017766 0ustar From fffcce001eb07733d0c0eb850b2cdcd901ad634a Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Wed, 30 Dec 2009 11:29:29 +0200 Subject: [PATCH] EStringTokenizer.cc:49: error: invalid conversion from 'const char*' to 'char*' Signed-off-by: Jari Aalto --- EStringTokenizer.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/EStringTokenizer.cc b/EStringTokenizer.cc index bb27899..e70f53d 100644 --- a/EStringTokenizer.cc +++ b/EStringTokenizer.cc @@ -46,7 +46,7 @@ void EStringTokenizer::tokenize( const char *str, const char *_separators ) for ( ; *src != '\0'; src++ ) { - char *x = strchr( _separators, *src ); + const char *x = strchr( _separators, *src ); if (( *src == '\"' ) && !quoted) quoted = DOUBLE_QUOTE; else if (( *src == '\'') && !quoted) -- 1.6.5.4 debian/patches/20-xpm.patch0000644000000000000000000000533411733141462012670 0ustar From a2d46616f1f046cddb75797753ffe9e42d5e9909 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 29 Dec 2009 19:14:32 +0200 Subject: [PATCH] Fix: deprecated conversion from string constant Signed-off-by: Jari Aalto --- BlueSwirls.xpm | 2 +- back.xpm | 2 +- fern2.xpm | 2 +- greenstucco.xpm | 2 +- sunflower.xpm | 2 +- wm.cc | 6 +++--- wood.xpm | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/BlueSwirls.xpm b/BlueSwirls.xpm index acfe72c..c5f9ee5 100644 --- a/BlueSwirls.xpm +++ b/BlueSwirls.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *BlueSwirls[] = { +static const char *BlueSwirls[] = { /* width height num_colors chars_per_pixel */ " 128 128 41 1", /* colors */ diff --git a/back.xpm b/back.xpm index 7bd35f3..ae1f888 100644 --- a/back.xpm +++ b/back.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *magick[] = { +static const char *magick[] = { /* columns rows colors chars-per-pixel */ "64 64 10 1", " c #4e4e4c", diff --git a/fern2.xpm b/fern2.xpm index b1514d6..277f37e 100644 --- a/fern2.xpm +++ b/fern2.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *fern2[] = { +static const char *fern2[] = { /* width height num_colors chars_per_pixel */ " 267 199 2 1", /* colors */ diff --git a/greenstucco.xpm b/greenstucco.xpm index b6a8957..c0818e5 100644 --- a/greenstucco.xpm +++ b/greenstucco.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *greenstucco[] = { +static const char *greenstucco[] = { /* width height num_colors chars_per_pixel */ " 80 80 58 1", /* colors */ diff --git a/sunflower.xpm b/sunflower.xpm index 2d0ba40..f5e6530 100644 --- a/sunflower.xpm +++ b/sunflower.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char *Sunflower[] = { +static const char *Sunflower[] = { /* width height num_colors chars_per_pixel */ " 255 278 233 2", /* colors */ diff --git a/wm.cc b/wm.cc index fdcacd5..4ae90fe 100644 --- a/wm.cc +++ b/wm.cc @@ -72,9 +72,9 @@ WindowManager::WindowManager() { #ifdef USE_PIXMAPS // loadPixmap(wood_xpm, &popupBgd); // loadPixmap(greenstucco, &popupBgd); - loadPixmap(Sunflower, &popupBgd); - loadPixmap(wood_xpm, &inactiveBgd); - loadPixmap(magick, &activeBgd); + loadPixmap((char **)Sunflower, &popupBgd); + loadPixmap((char **)wood_xpm, &inactiveBgd); + loadPixmap((char **)magick, &activeBgd); #endif // this works under everything but Solaris diff --git a/wood.xpm b/wood.xpm index edb3c19..fd9b8c3 100644 --- a/wood.xpm +++ b/wood.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * wood_xpm[] = { +static const char * wood_xpm[] = { "100 100 4 1", " c #FFFFBABA5959", ". c #FFFFC3C36565", -- 1.6.5 debian/patches/series0000644000000000000000000000034611733141462012037 0ustar 00-miwm.1-description.patch 01-miwm.1-mouse.patch 10-compile-include.patch 15-compile-brace.patch 17-EStringTokenizer.cc-const-char.patch 20-xpm.patch 30-miAbort-fix-argdef.patch 40-change-bash-to-sh.patch 50-Makefile-etags.patch debian/patches/15-compile-brace.patch0000644000000000000000000000201711733141462014565 0ustar From f06283a57183e26caf94eb90f20b8bd921a774be Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 29 Dec 2009 18:45:55 +0200 Subject: [PATCH] wspace.cc: add explicit braces to avoid ambiguous else Signed-off-by: Jari Aalto --- wspace.cc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/wspace.cc b/wspace.cc index 3f580d7..de468a4 100644 --- a/wspace.cc +++ b/wspace.cc @@ -99,9 +99,10 @@ WindowManager::changeWorkSpace(WorkSpace* ws1, WorkSpace* ws2) { if (c->workSpace == ws1) { - // I marked the following 'if' as suspicious, + // I marked the following 'if' as suspicious,a // but now I don't recall why if (False == c->hidden) + { if (c->sticky == 0) { if (c == current) { setactive(current , 0 , 0L); @@ -112,6 +113,7 @@ WindowManager::changeWorkSpace(WorkSpace* ws1, WorkSpace* ws2) { else { // c->sticky == 1 c->workSpace = ws2; } + } } if (c->workSpace == ws2) { -- 1.6.5