debian/0000755000000000000000000000000012114363116007164 5ustar debian/aewm.dirs0000644000000000000000000000005012114363116010773 0ustar usr/bin usr/share/man/man1 etc/X11/aewm debian/aewm.menu0000644000000000000000000000013512114363116011002 0ustar ?package(aewm):needs="wm" section="Window Managers" \ title="aewm" command="/usr/bin/aewm" debian/watch0000644000000000000000000000010712114363116010213 0ustar version=3 http://www.red-bean.com/decklin/aewm/aewm-([\d.]+)\.tar\.bz2 debian/rules0000755000000000000000000000063112114363116010244 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/aewm install cp $(CURDIR)/debian/aewm.clientsrc $(CURDIR)/debian/aewm/etc/X11/aewm/clientsrc override_dh_installchangelogs: dh_installchangelogs NEWS %: dh $@ # End of file debian/aewm.clientsrc0000644000000000000000000000013112114363116012020 0ustar # Debian system-wide config file for aewm clients include "/etc/X11/aewm/menudefs.hook" debian/aewm.prerm0000755000000000000000000000024312114363116011166 0ustar #!/bin/sh set -e if [ "$1" = "remove" ]; then update-alternatives --remove x-window-manager \ /usr/bin/aewm fi #DEBHELPER# debian/changelog0000644000000000000000000002420312114363116011037 0ustar aewm (1.3.12-3) unstable; urgency=low * QA upload. - Move to packaging format "3.0 (quilt)". - Use hardened build flags http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags * debian/aewm.{postrm,postinst,prerm} - Lintian fix maintainer-script-without-set-e. * debian/compat - Update to 9. * debian/control - (Breaks): rename from Conflicts. Lintian fix conflicts-with-version. - (Build-Depends): update to debhelper 9. - (Homepage): New field. - (Maintainer): Set to QA group. - (Standards-Version): Update to 3.9.4. * debian/copyright - Update to format 1.0. * debian/patches - (05): New. Contains changes to original sources. - (10): New. Do not strip binaries (Closes: #436379). - (20): New. Use hardened build flags. - (30): New. Fix hyphens in manual page. * debian/rules - Update to dh(1). * debian/source/format - New file. * debian/watch - New file. -- Jari Aalto Sat, 02 Mar 2013 13:39:50 +0200 aewm (1.3.12-2.1) unstable; urgency=low * Non-maintainer upload. * Makefile: Added "-lX11". Closes: #553631. * Fixed debhelper-but-no-misc-depends. * Fixed description-synopsis-starts-with-article. * Fixed menu-item-uses-windowmanagers-section. -- Bart Martens Sun, 16 Oct 2011 01:38:16 +0200 aewm (1.3.12-2) unstable; urgency=low * Remove aemenu and aepanel alternatives. aewm 2.0 will use only GTK; Xaw will return in 1.4. -- Decklin Foster Thu, 27 Dec 2007 20:50:02 -0500 aewm (1.3.12-1) unstable; urgency=low * New upstream release -- Decklin Foster Thu, 27 Dec 2007 13:16:24 -0500 aewm (1.3.11-1) unstable; urgency=low * New upstream release -- Decklin Foster Sat, 27 Oct 2007 23:35:02 -0400 aewm (1.3.10-1) unstable; urgency=low * New upstream release * Updated debian/copyright. -- Decklin Foster Mon, 11 Sep 2006 20:53:07 -0400 aewm (1.3.9-1) unstable; urgency=low * New upstream release * Remove kill menu item. * Update Standards-Version to 3.7.2. -- Decklin Foster Thu, 13 Jul 2006 15:42:47 -0400 aewm (1.3.8-1) unstable; urgency=low * New upstream release -- Decklin Foster Fri, 21 Apr 2006 18:15:04 -0400 aewm (1.3.7-1) unstable; urgency=low * New upstream release * Removed lesstif build-dep. * Upload to unstable. -- Decklin Foster Mon, 17 Apr 2006 23:05:12 -0400 aewm (1.3.6-1) experimental; urgency=low * New upstream release -- Decklin Foster Sun, 16 Apr 2006 16:03:28 -0400 aewm (1.3.5-1) experimental; urgency=low * New upstream release * Update build-deps for modular and Xft. -- Decklin Foster Sat, 15 Apr 2006 02:36:27 -0400 aewm (1.3.4-1) experimental; urgency=low * New upstream release -- Decklin Foster Tue, 14 Feb 2006 12:02:21 -0500 aewm (1.3.2-2) experimental; urgency=low * Build against libxaw7 instead of libxaw8. -- Decklin Foster Tue, 10 Jan 2006 14:29:23 -0500 aewm (1.3.2-1) experimental; urgency=low * New upstream release -- Decklin Foster Thu, 10 Nov 2005 11:13:07 -0500 aewm (1.2.6-1) unstable; urgency=low * New upstream release -- Decklin Foster Wed, 9 Nov 2005 12:46:16 -0500 aewm (1.2.5-5) unstable; urgency=low * /usr/sbin/install-menu -> /usr/bin/install-menu for menu transition. -- Decklin Foster Thu, 6 Oct 2005 16:52:32 -0400 aewm (1.2.5-4) unstable; urgency=low * Add all the applicable modular X.org -dev packages to build-depends. -- Decklin Foster Mon, 15 Aug 2005 11:33:27 -0400 aewm (1.2.5-3) unstable; urgency=low * Remove all alternatives that we install on purge, not just x-window-manager. (Closes: #319715) * Build with libxaw8 instead of libxaw7. * Bump Standards-Version to 3.6.2. -- Decklin Foster Sat, 6 Aug 2005 12:52:31 -0400 aewm (1.2.5-2) unstable; urgency=low * Only call update-alternatives in prerm if we are removing. -- Decklin Foster Mon, 22 Nov 2004 10:29:15 -0500 aewm (1.2.5-1) unstable; urgency=low * New upstream release -- Decklin Foster Mon, 15 Nov 2004 10:39:16 -0500 aewm (1.2.4-1) unstable; urgency=low * New upstream release - My own fix for the menu issues (Closes: #193966, #187082) - Rewrote the parser * Included Bill Allombert's new menu-method. Thanks for the NMU, Bill! (Closes: #251609) * Bumped Standards-Version to 3.6.1. -- Decklin Foster Sat, 2 Oct 2004 08:37:07 -0400 aewm (1.2.3-2.1) unstable; urgency=low * NMU * Apply patch by Erik de Castro Lopo and Ken Caldwell to fix aewm menus. (Closes: #193966, #187082). In particular this patch allows iconified windows to be deiconified. * debian/aewm.menu: Quote fields properly and capitalize title. * lib/parser.h: Fix the parser to treat \x as x for all x, not just ". This is necessary to allow to write a string ending by \. * debian/aewm.menu-method: use term(),title() and quote fields properly. -- Bill Allombert Fri, 7 May 2004 16:39:16 +0200 aewm (1.2.3-2) unstable; urgency=low * Use rm -f in postrm (Closes: #197973) * Output UTF-8 in menu method (Closes: #183689) * Drop menu wm support for now (Closes: #193728) -- Decklin Foster Fri, 18 Jul 2003 13:47:04 -0400 aewm (1.2.3-1) unstable; urgency=low * New upstream release * Build-Depend on gtk 2.0 instead of 1.2 -- Decklin Foster Thu, 27 Mar 2003 22:57:23 -0500 aewm (1.2.2-3) unstable; urgency=low * The "next time, test on the *build* machine" release * Fix typo in menu method and clean up functions - Prevent wm entries from killing X accidentally * Really use x-terminal-emulator instead of xterm -- Decklin Foster Thu, 2 Jan 2003 19:22:14 -0500 aewm (1.2.2-2) unstable; urgency=low * Edited menu method a bit - Removed superfluous "Debian" nesting level - Use pidof instead of skill, as procps is not Essential - Reduce alternatives priority to 40, wm doesn't really work right * Fix DEB_BUILD_OPTIONS support -- Decklin Foster Thu, 2 Jan 2003 00:58:06 -0500 aewm (1.2.2-1) unstable; urgency=low * New upstream release -- Decklin Foster Sun, 24 Nov 2002 19:27:04 -0500 aewm (1.2.1-1) unstable; urgency=low * New upstream release * Use debhelper v4 and policy 3.5.8 -- Decklin Foster Sat, 23 Nov 2002 19:13:27 -0500 aewm (1.2.0-1) unstable; urgency=low * New upstream release * Fixed menu method to use 'include', added Suggests: menu * Changed spelling in description (Closes: #124405) -- Decklin Foster Fri, 1 Feb 2002 15:20:29 -0500 aewm (1.1.5-1) unstable; urgency=low * New upstream release. * Removed comment cruft from menu method. * Added DESIGN to debian/aewm.docs. -- Decklin Foster Thu, 13 Dec 2001 13:25:40 -0500 aewm (1.1.4-1) unstable; urgency=low * New upstream release. * Fixed menu method treewalk order. * Increased alternatives priority again (we can restart now). -- Decklin Foster Wed, 12 Dec 2001 16:13:02 -0500 aewm (1.1.3-1) unstable; urgency=low * New upstream release * Cleaned out build log from .diff.gz * Included menu method; bumped alternatives priority accordingly. * aepanel/aemenu managed with alternatives. * Standards-Version 3.5.6 * Fixed debconf versioned build-dep (to >=3.0) -- Decklin Foster Tue, 11 Dec 2001 11:21:53 -0500 aewm (1.1.2-2) unstable; urgency=low * Add Build-Depends on libxaw7-dev (Closes: #104764) * Use debhelper v3 and policy 3.5.5. * Sorta support DEB_BUILD_OPTIONS. I need to make some upstream changes (there will be a new release soon) to get this to work properly. A menu method should be on the way as well. -- Decklin Foster Fri, 20 Jul 2001 12:51:27 -0400 aewm (1.1.2-1) unstable; urgency=low * New upstream release * Install files into locations compilant with the FHS instead of /usr/X11R6. -- Decklin Foster Wed, 10 Jan 2001 15:03:09 -0500 aewm (1.1.1-1) unstable; urgency=low * New upstream release -- Decklin Foster Tue, 2 Jan 2001 00:46:36 -0500 aewm (1.0.0-1) unstable; urgency=low * New upstream release. * Moved update-alternatives call from postrm to prerm. -- Decklin Foster Sun, 31 Dec 2000 12:12:46 -0500 aewm (0.9.19-1) unstable; urgency=low * New upstream release * Changed "xterm" to "x-terminal-emulator". I had made a note in the README about this but somehow I forgot to actually do it. * Updated debian/copyright * Fixed x-window-manager alternative handling to include man page. -- Decklin Foster Tue, 7 Nov 2000 12:36:56 -0500 aewm (0.9.18-1) unstable; urgency=low * New upstream version. * Added "Provides: x-window-manager" to control file, and updated Standards-Version as appropriate. * Updated debhelper rules to v2. -- Decklin Foster Tue, 31 Oct 2000 12:15:36 -0500 aewm (0.9.17-2) unstable; urgency=low * Fixed dependency on xf4. Yes, I am stupid. -- Decklin Foster Mon, 25 Sep 2000 20:52:38 -0400 aewm (0.9.17-1) unstable; urgency=low * New upstream release -- Decklin Foster Mon, 25 Sep 2000 11:43:00 -0400 aewm (0.9.16-2) unstable; urgency=low * fixed Build-Depends typo (Closes: #70922) -- Decklin Foster Tue, 5 Sep 2000 10:01:07 -0400 aewm (0.9.16-1) unstable; urgency=low * New upstream release * debian/control: added Build-Depends -- Decklin Foster Thu, 31 Aug 2000 16:51:25 -0400 aewm (0.9.15-1) unstable; urgency=low * Initial Release. -- Decklin Foster Fri, 28 Jul 2000 15:26:05 -0400 debian/aewm.postrm0000755000000000000000000000014212114363116011363 0ustar #!/bin/sh set -e if [ "$1" = "purge" ]; then rm -f /etc/X11/aewm/menudefs.hook fi #DEBHELPER# debian/aewm.menu-method0000644000000000000000000000120112114363116012253 0ustar #!/usr/bin/install-menu compat = "menu-1" !include menu.h outputencoding="UTF-8" genmenu = "menudefs.hook" rootprefix = "/etc/X11/aewm/" userprefix = ".aewm/" treewalk = "(M)" #mainmenutitle="Debian" #rootsection="/Debian" function pad() = nstring(sub(level(), "1"), " ") function cmd($t, $c) = pad() "cmd \"" esc($t,"\\\"") "\" \"" esc($c,"\\\"") "\"\n" preoutput = "# Automatically generated by update-menus\n\n" submenutitle = "" startmenu = ifneq(level(), "0", pad() "menu \"" esc(title(),"()") "\"\n") endmenu = ifneq(level(), "0", pad() "end\n") supported x11 = cmd(title(), $command) text = cmd(title(), term()) endsupported debian/aewm.postinst0000755000000000000000000000057412114363116011733 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then update-alternatives \ --install /usr/bin/x-window-manager \ x-window-manager \ /usr/bin/aewm \ 40 \ --slave /usr/share/man/man1/x-window-manager.1.gz \ x-window-manager.1.gz \ /usr/share/man/man1/aewm.1x.gz fi #DEBHELPER# debian/patches/0000755000000000000000000000000012114363116010613 5ustar debian/patches/10-makefile-no-strip.patch0000644000000000000000000000070712114363116015404 0ustar From: Jari Aalto Subject: Do not strip unconditionally; see debian/rules (Closes: #436379). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ install: all mkdir -p $(BINDIR) $(MANDIR) $(CFGDIR) - install -s $(ALLBIN) $(BINDIR) + install $(ALLBIN) $(BINDIR) for i in $(AEMAN); do \ install -m 644 doc/$$i $(MANDIR); \ gzip -9 $(MANDIR)/$$i; \ debian/patches/30-manpage.patch0000644000000000000000000000066212114363116013470 0ustar From: Jari Aalto Subject: Fix hyphen --- doc/aeclients.1x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/doc/aeclients.1x +++ b/doc/aeclients.1x @@ -75,7 +75,7 @@ .B aedesk changes to a new virtual desktop, specfied by .IR num , -or sets the number of available desktops, with -n. +or sets the number of available desktops, with \-n. .SH "FILES" .I $HOME/.aewm/clientsrc .SH "SEE ALSO" debian/patches/series0000644000000000000000000000013512114363116012027 0ustar 05-source-changes.patch 10-makefile-no-strip.patch 20-makefile-harden.patch 30-manpage.patch debian/patches/20-makefile-harden.patch0000644000000000000000000000266712114363116015102 0ustar From: Jari Aalto Subject: Add build flags support --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ #OPT_WMLIB += -lefence CC = gcc -CFLAGS = -g -O2 -Wall +# CFLAGS = -g -O2 -Wall BINDIR = $(DESTDIR)$(XROOT)/bin MANDIR = $(DESTDIR)$(XROOT)/share/man/man1 @@ -49,32 +49,32 @@ GTKFLAGS = `pkg-config --cflags gtk+-2.0` $(PLAINOBJ): %.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(X11OBJ): %.o: %.c - $(CC) $(CFLAGS) $(X11FLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(X11FLAGS) -c $< -o $@ $(WMOBJ): %.o: %.c - $(CC) $(CFLAGS) $(WMFLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(WMFLAGS) -c $< -o $@ $(GTKOBJ): %.o: %.c - $(CC) $(CFLAGS) $(GTKFLAGS) -c $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(GTKFLAGS) -c $< -o $@ X11LIB = -L$(XROOT)/lib -lX11 WMLIB = $(X11LIB) $(OPT_WMLIB) GTKLIB = `pkg-config --libs gtk+-2.0` -lX11 $(PLAINBIN): %: %.o - $(CC) $^ -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(X11BIN): %: %.o - $(CC) $^ $(X11LIB) -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(X11LIB) -o $@ $(WMBIN): %: - $(CC) $^ $(WMLIB) -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(WMLIB) -o $@ $(GTKBIN): %: %.o - $(CC) $^ $(GTKLIB) -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(GTKLIB) -o $@ AEMAN = aewm.1x aeclients.1x AERC = aewmrc clientsrc debian/patches/05-source-changes.patch0000644000000000000000000000330412114363116014764 0ustar From: Decklin Foster Subject: Changes to original sources --- Makefile | 14 +++++++------- aewm.h | 2 +- doc/aewmrc.ex | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) --- a/Makefile +++ b/Makefile @@ -3,15 +3,15 @@ # Set this to the location where you want to install DESTDIR = -XROOT = /usr/X11R6 +XROOT = /usr # Uncomment to enable Shape extension support -#OPT_WMFLAGS += -DSHAPE -#OPT_WMLIB += -lXext +OPT_WMFLAGS += -DSHAPE +OPT_WMLIB += -lXext # Uncomment to add Xft support -#OPT_WMFLAGS += -DXFT `pkg-config --cflags xft` -#OPT_WMLIB += `pkg-config --libs xft` -lXext +OPT_WMFLAGS += -DXFT `pkg-config --cflags xft` +OPT_WMLIB += `pkg-config --libs xft` -lXext # Uncomment for debugging (abandon all hope, ye who enter here) #OPT_WMFLAGS += -DDEBUG @@ -21,7 +21,7 @@ CFLAGS = -g -O2 -Wall BINDIR = $(DESTDIR)$(XROOT)/bin -MANDIR = $(DESTDIR)$(XROOT)/man/man1 +MANDIR = $(DESTDIR)$(XROOT)/share/man/man1 CFGDIR = $(DESTDIR)/etc/X11/aewm PLAINOBJ = aesession.o parser.o @@ -62,7 +62,7 @@ X11LIB = -L$(XROOT)/lib -lX11 WMLIB = $(X11LIB) $(OPT_WMLIB) -GTKLIB = `pkg-config --libs gtk+-2.0` +GTKLIB = `pkg-config --libs gtk+-2.0` -lX11 $(PLAINBIN): %: %.o $(CC) $^ -o $@ --- a/aewm.h +++ b/aewm.h @@ -29,7 +29,7 @@ #define DEF_IMAP 0 #define DEF_NEW1 "aemenu --switch" -#define DEF_NEW2 "xterm" +#define DEF_NEW2 "x-terminal-emulator" #define DEF_NEW3 "aemenu --launch" #define DEF_NEW4 "aedesk -1" #define DEF_NEW5 "aedesk +1" --- a/doc/aewmrc.ex +++ b/doc/aewmrc.ex @@ -19,5 +19,5 @@ # Clients to launch when the root window is clicked button1 "aemenu" -button2 "xterm" +button2 "x-terminal-emulator" button3 "aemenu --switch" debian/aewm.docs0000644000000000000000000000002212114363116010761 0ustar doc/DESIGN README debian/source/0000755000000000000000000000000012114363116010464 5ustar debian/source/format0000644000000000000000000000001412114363116011672 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212114363116010362 0ustar 9 debian/copyright0000644000000000000000000000410112114363116011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: aewm Upstream-Contact: Decklin Foster Source: http://freecode.com/projects/aewm X-Source: http://www.red-bean.com/~decklin/aewm Comment: Dead upstream. Files: * Copyright: 1998-2007 Decklin Foster . License: MIT Files: debian/* Copyright: 2013 Jari Aalto 2011 Bart Martens 2000-2007 Decklin Foster License: 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: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/control0000644000000000000000000000136712114363116010576 0ustar Source: aewm Section: x11 Priority: optional Maintainer: Debian QA Group Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), libx11-dev, libxext-dev, libxft-dev, libgtk2.0-dev Homepage: http://freecode.com/projects/aewm Package: aewm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: menu (>= 2.1.9) Breaks: menu (<< 2.1.9) Provides: x-window-manager Description: minimalist window manager for X11 aewm is a minimalist window manager for X11. It has no nifty features, but is light on resources and extremely simple in appearance. It should eventually make a good reference implementation of the ICCCM. A few separate programs are included to handle running programs, switching between windows, etc.