--- aewm-1.3.12.orig/debian/control +++ aewm-1.3.12/debian/control @@ -0,0 +1,19 @@ +Source: aewm +Section: x11 +Priority: optional +Maintainer: Decklin Foster +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.0.0), libx11-dev, libxext-dev, libxft-dev, libgtk2.0-dev + +Package: aewm +Architecture: any +Depends: ${shlibs:Depends} +Suggests: menu (>= 2.1.9) +Conflicts: menu (<< 2.1.9) +Provides: x-window-manager +Description: a 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. --- aewm-1.3.12.orig/debian/aewm.menu-method +++ aewm-1.3.12/debian/aewm.menu-method @@ -0,0 +1,26 @@ +#!/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 --- aewm-1.3.12.orig/debian/compat +++ aewm-1.3.12/debian/compat @@ -0,0 +1 @@ +4 --- aewm-1.3.12.orig/debian/aewm.menu +++ aewm-1.3.12/debian/aewm.menu @@ -0,0 +1,2 @@ +?package(aewm):needs="wm" section="WindowManagers" \ + title="aewm" command="/usr/bin/aewm" --- aewm-1.3.12.orig/debian/aewm.postinst +++ aewm-1.3.12/debian/aewm.postinst @@ -0,0 +1,14 @@ +#!/bin/sh -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# --- aewm-1.3.12.orig/debian/aewm.dirs +++ aewm-1.3.12/debian/aewm.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +etc/X11/aewm --- aewm-1.3.12.orig/debian/changelog +++ aewm-1.3.12/debian/changelog @@ -0,0 +1,308 @@ +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 + +Local variables: +mode: debian-changelog +End: --- aewm-1.3.12.orig/debian/rules +++ aewm-1.3.12/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +DEB_CFLAGS += -O0 +else +DEB_CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + $(MAKE) CFLAGS='$(DEB_CFLAGS)' + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/aewm install + cp $(CURDIR)/debian/aewm.clientsrc $(CURDIR)/debian/aewm/etc/X11/aewm/clientsrc + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs NEWS + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installwm + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- aewm-1.3.12.orig/debian/aewm.prerm +++ aewm-1.3.12/debian/aewm.prerm @@ -0,0 +1,8 @@ +#!/bin/sh -e + +if [ "$1" = "remove" ]; then + update-alternatives --remove x-window-manager \ + /usr/bin/aewm +fi + +#DEBHELPER# --- aewm-1.3.12.orig/debian/aewm.postrm +++ aewm-1.3.12/debian/aewm.postrm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "purge" ]; then + rm -f /etc/X11/aewm/menudefs.hook +fi + +#DEBHELPER# --- aewm-1.3.12.orig/debian/copyright +++ aewm-1.3.12/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Decklin Foster on +Fri, 28 Jul 2000 15:26:05 -0400. + +Upstream Author: Decklin Foster +It was downloaded from http://www.red-bean.com/~decklin/aewm/ + +---------------------------------------------------------------------- + +Copyright 1998-2007 Decklin Foster . + +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, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions 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 AUTHOR 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. --- aewm-1.3.12.orig/debian/aewm.clientsrc +++ aewm-1.3.12/debian/aewm.clientsrc @@ -0,0 +1,3 @@ +# Debian system-wide config file for aewm clients + +include "/etc/X11/aewm/menudefs.hook" --- aewm-1.3.12.orig/debian/aewm.docs +++ aewm-1.3.12/debian/aewm.docs @@ -0,0 +1,2 @@ +doc/DESIGN +README --- aewm-1.3.12.orig/doc/aewmrc.ex +++ aewm-1.3.12/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" --- aewm-1.3.12.orig/aewm.h +++ aewm-1.3.12/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" --- aewm-1.3.12.orig/Makefile +++ aewm-1.3.12/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