--- flwm-1.02.orig/Menu.C +++ flwm-1.02/Menu.C @@ -393,7 +393,11 @@ strcpy(path, home); if (path[strlen(path)-1] != '/') strcat(path, "/"); strcat(path, ".wmx/"); - struct stat st; if (stat(path, &st) < 0) return; + struct stat st; + if (stat(path, &st) < 0) { + strcpy(path, "/var/lib/flwm/wmx/"); + if (stat(path, &st) < 0) return; + } if (st.st_mtime == wmx_time) return; wmx_time = st.st_mtime; num_wmx = 0; --- flwm-1.02.orig/flwm.1 +++ flwm-1.02/flwm.1 @@ -102,10 +102,13 @@ chmod +x !* .fi -RedHat users can run the program -.B flwm_wmconfig -to read the /etc/X11/wmconfig directory and produce an initial set of -menu items. +On Debian, flwm has been modified to support a system-wide menu +.B /var/lib/flwm/wmx +when no +.B ~/.wmx +exists, and scripts were added to take advantage of the Debian menu system +(see +.BR update-menus (1)). .SH MOUSE USAGE --- flwm-1.02.orig/debian/menu +++ flwm-1.02/debian/menu @@ -0,0 +1,3 @@ +?package(flwm):needs="wm" section="WindowManagers" \ + title="Flwm" command="/usr/bin/flwm" \ + longtitle="Fast Light Window Manager" --- flwm-1.02.orig/debian/patches/200_Debian_menu.dpatch +++ flwm-1.02/debian/patches/200_Debian_menu.dpatch @@ -0,0 +1,44 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 200_Debian_menu.dpatch by Tommi Virtanen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add Debian menu support. + +@DPATCH@ +diff -urNad flwm-1.01~/Menu.C flwm-1.01/Menu.C +--- flwm-1.01~/Menu.C 2006-06-30 09:02:01.000000000 +0200 ++++ flwm-1.01/Menu.C 2006-06-30 09:02:05.000000000 +0200 +@@ -393,7 +393,11 @@ + strcpy(path, home); + if (path[strlen(path)-1] != '/') strcat(path, "/"); + strcat(path, ".wmx/"); +- struct stat st; if (stat(path, &st) < 0) return; ++ struct stat st; ++ if (stat(path, &st) < 0) { ++ strcpy(path, "/var/lib/flwm/wmx/"); ++ if (stat(path, &st) < 0) return; ++ } + if (st.st_mtime == wmx_time) return; + wmx_time = st.st_mtime; + num_wmx = 0; +diff -urNad flwm-1.01~/flwm.1 flwm-1.01/flwm.1 +--- flwm-1.01~/flwm.1 2006-06-30 09:02:01.000000000 +0200 ++++ flwm-1.01/flwm.1 2006-06-30 09:02:05.000000000 +0200 +@@ -102,10 +102,13 @@ + chmod +x !* + .fi + +-RedHat users can run the program +-.B flwm_wmconfig +-to read the /etc/X11/wmconfig directory and produce an initial set of +-menu items. ++On Debian, flwm has been modified to support a system-wide menu ++.B /var/lib/flwm/wmx ++when no ++.B ~/.wmx ++exists, and scripts were added to take advantage of the Debian menu system ++(see ++.BR update-menus (1)). + + .SH MOUSE USAGE + --- flwm-1.02.orig/debian/patches/00list +++ flwm-1.02/debian/patches/00list @@ -0,0 +1 @@ +200_Debian_menu --- flwm-1.02.orig/debian/README.debian +++ flwm-1.02/debian/README.debian @@ -0,0 +1,10 @@ +flwm for Debian +--------------- + +Need to make it not mess with gnome panel drawers. + +Need to make it gnome panel-aware. + +Need keyboard shortcuts and Meta-mouse1/Meta-mouse3 for moving/resizing. + +Tommi Virtanen , Tue, 9 Mar 1999 14:18:03 +0200 --- flwm-1.02.orig/debian/changelog +++ flwm-1.02/debian/changelog @@ -0,0 +1,276 @@ +flwm (1.02-1) unstable; urgency=low + + * New upstream release + + Remove 100_double_ampersand applied upstream. + + Otherwise this is identical to 1.01-1. + + -- Bill Allombert Wed, 13 Sep 2006 12:29:11 +0200 + +flwm (1.01-1) unstable; urgency=low + + * New upstream release + + This release catch the release of the Alt key again. Closes: #246089. + + The following patches were applied upstream (Thanks Bill Spitzak). + 100_fl_filename_name 101_visible_focus 102_charstruct 103_man_typo + 104_g++-4.1_warning 105_double_ampersand 201_background_color + + Add 100_double_ampersand to fix a typo in this release. + * debian/watch: added. + + -- Bill Allombert Fri, 30 Jun 2006 01:17:06 +0200 + +flwm (1.00-10) unstable; urgency=low + + * Add patch 104_g++-4.1_warning that fix five warnings. + * Add patch 105_double_ampersand that fix handling of '&' in window titles + in the windows list. Closes: #358337. Thanks Silas S. Brown. + * Rediff Debian patches to compensate. + * Bump Standards-Version to 3.7.2. + + -- Bill Allombert Sat, 10 Jun 2006 22:14:18 +0200 + +flwm (1.00-9) unstable; urgency=low + + * debian/menu-method: + - Add removemenu config option + - Use #! /usr/bin/install-menu + * debian/rules: Fix handling of nostrip. + * Use dpatch in pre-applied mode. + * Add patch 201_background_color that should fix the color options + Closes: #267983. Thanks Nils Krueger. + + -- Bill Allombert Tue, 28 Feb 2006 22:28:20 +0100 + +flwm (1.00-8) unstable; urgency=low + + * Rebuild with current g++/libfltk1.1. Closes: #328174. + * debian/control: + + Bump Standard-Version to 3.6.2. + + Remove menu versioned conflict since Sarge was released. + + Bump versionned build-dep on libfltk1.1-dev to 1.1.6-7. + * debian/rules: + + Move menu file to /usr/share/menu. + + No more install debian/README.debian. + * debian/copyright: Update FSF address. + * debian/flwm.1: Remove useless blurb about RedHat. + * debian/menu-method: Replace /usr/doc/menu by /usr/share/doc/menu. + * Move Debian menu to /var/lib/flwm/wmx. + * debian/postinst: + + Remove legacy register-window-manager logic. + + Remove old /etc/X11/flwm menu files. + + -- Bill Allombert Thu, 15 Sep 2005 14:57:50 +0200 + +flwm (1.00-7) unstable; urgency=low + + * Rebuild with g++ with correct ABI. + * Add Fl::visible_focus(0) in initialize(). This should fix + Alt-Enter with GNOME2 apps. Closes: #246090. Thanks Duncan Sargeant + * Ship the menu-method not executable in the tarball. + + -- Bill Allombert Fri, 8 Apr 2005 12:37:28 +0200 + +flwm (1.00-6) unstable; urgency=low + + * New maintainer + * debian/menu: + + Capitalize the title. + + Quote the needs. + + Add a longtitle. + * debian/postinst, debian/postrm: + + Remove spurious call to wm-menu-config. Closes: #296891. + + Clean up the code that handle the menu-methods permissions. + * debian/shlibs.local: obsolete, removed. + * debian/menumethod: quote treewalk + * debian/control: bump Standard-Version to 3.6.1 + * debian/copyright: mention the change of maintainer. + * debian/rules: implement DEB_BUILD_OPTIONS noopt and nostrip. + * Acknowledge previous NMU: + - Closes: #201205: Patch from BSP NMU + - Closes: #191982: flwm: Uninstallable in sid + - Closes: #196400: flwm: FTBFS: `fl_filename_name' undeclared + - Closes: #190389: flwm: Segmentation fault on startup + - Closes: #199435: flwm: Upstream location is outdated + + -- Bill Allombert Sat, 5 Mar 2005 15:35:49 +0100 + +flwm (1.00-5.1) unstable; urgency=low + + * NMU (playing at home the Debcamp BSP). + * debian/menu-method: + + prerun: Add -depth to ensure we delete the children before the + directory. + + Add outputencoding. + * debian/postinst, debian/prerm: remove /usr/share/doc transition code. + * debian/control: + + Conflicts with menu (<< 2.1.8-1) since menu-methods use $basesection. + + In fact Conflicts with menu (<< 2.1.9-1) since menu-methods use + outputencoding. + + Build-Depends: Remove '| libfltk-dev' since flwm does not build + with libfltk1-dev. Closes: #196400. + + Build-Depends: Add libfltk1.1-dev (>= 1.1.3-2.1) to force + linkage with libXft.so.2. Closes: #191982. + + Build-Depends: In fact, add libfltk1.1-dev (>= 1.1.3+1.1.4rc1-3) to + avoid libfltk version where fl_xfont is NULL. Closes: #190389. + Thanks Aaron Ucko. + * debian/copyright: + + Add new web site URL. Closes: #199435. Thanks Adrian Bunk. + + Change Author(s): to Author: to make lintian happy. + + -- Bill Allombert Fri, 20 Jun 2003 14:43:16 +0200 + +flwm (1.00-5) unstable; urgency=low + + * Finally, menu has the features needed to support slashes in menu entry + titles (see bug#136947). Closes: #120376. + * Get rid of the mesag-dev build-dependecy, it seems libfltk now works + even without explicit -lGL. Closes: #156336. + * Switch to using libfltk1.1, requiring a radical three-letter fix to + main.C + * Support fonts for which fontstruct->per_char is NULL. Used to segfault + when rotating such title fonts. + * Clean up description. Closes: #124621. + * Remove local variables from debian/changelog. + * Make menu-methods not fail when there is no ~/.wmx. Closes: #134900. + + -- Tommi Virtanen Sat, 19 Apr 2003 22:31:54 +0300 + +flwm (1.00-4) unstable; urgency=low + + * Added xutils to Build-Deps. Closes: #87825. + + -- Tommi Virtanen Thu, 1 Mar 2001 22:10:41 +0200 + +flwm (1.00-3) unstable; urgency=low + + * Build-depend on libfltk1-dev | libfltk-dev. Closes: #87315. + + -- Tommi Virtanen Sat, 24 Feb 2001 14:24:53 +0200 + +flwm (1.00-2) unstable; urgency=low + + * Moved out of /usr/X11R6. + * Postinst had an embarassing logic error that made it + not create the /usr/doc link if register-window-manager + was not found. + + -- Tommi Virtanen Fri, 23 Feb 2001 01:00:32 +0200 + +flwm (1.00-1) unstable; urgency=low + + * New upstream version. + * Use dpkg-gencontrol -isp. + * Upstream fixed i18n chars in title bars. Closes: #81839. + + -- Tommi Virtanen Sat, 27 Jan 2001 02:04:44 +0200 + +flwm (0.25-8) unstable; urgency=low + + * _Again_ recompile to get rid of bad libgl dependency. Duh. + * Changed -lMesaGL to -lGL. + * Added shlibs.local to make svgalib1g dependency also have + svgalib-dummyg1. + + -- Tommi Virtanen Sat, 15 Jan 2000 12:51:52 +0200 + +flwm (0.25-7) unstable; urgency=low + + * Remove libstdc++2.10-dev from build deps, as it is build-essential due + to g++ depending on it. Closes: #54020. + + -- Tommi Virtanen Tue, 4 Jan 2000 18:30:10 +0200 + +flwm (0.25-6) unstable; urgency=low + + * Recompile to get rid of the bad libgl dependency. + + -- Tommi Virtanen Sun, 2 Jan 2000 19:10:52 +0200 + +flwm (0.25-5) unstable; urgency=low + + * Change x-window-manager alternative priority to 40. + + -- Tommi Virtanen Tue, 28 Dec 1999 21:15:33 +0200 + +flwm (0.25-4) unstable; urgency=low + + * Seems like I forgot debhelper from builddeps. + Fixed this by rewriting rules not to use debhelper ;) + + -- Tommi Virtanen Sat, 4 Dec 1999 14:23:15 +0200 + +flwm (0.25-3) unstable; urgency=low + + * Use LIBS="-lfltk -lMesaGL" in debian/rules. Closes: #51690. + * FHS. + * Build-deps. + * Provide x-window-manager, use update-alternatives, + don't use dh_installwm. Make sure we remove all traces + of register-window-manager. + * Remove /etc/X11/flwm on purge. Closes: #49210. + * Let debhelper take care of the maintainer scripts. + + -- Tommi Virtanen Sat, 4 Dec 1999 00:48:39 +0200 + +flwm (0.25-2) unstable; urgency=low + + * Incorporated JHM's patches; menu support and miscellanous fixes. + Thanks JHM. Closes: #43686. + + -- Tommi Virtanen Sun, 29 Aug 1999 14:49:59 +0300 + +flwm (0.25-1.1) local; urgency=low + + * Added menu support: + * Menu.C: use a global menu /etc/X11/flwm/wmx if there is no ~/.wmx . + * Wrote /etc/menu-methods/flwm . + * Updated flwm.1 . + * Added postinst and postrm; added Suggests: menu (>=1.5). + * Build -g. + * Minor description update. + + -- J.H.M. Dassen (Ray) Sun, 29 Aug 1999 08:42:47 +0200 + +flwm (0.25-1) unstable; urgency=low + + * New upstream source + + -- Tommi Virtanen Wed, 25 Aug 1999 00:05:40 +0300 + +flwm (0.24-2) unstable; urgency=low + + * Added flwm to /etc/X11/window-managers. Closes bug #37117. + + -- Tommi Virtanen Sun, 30 May 1999 21:47:41 +0300 + +flwm (0.24-1) unstable; urgency=low + + * New upstream source + + -- Tommi Virtanen Sun, 16 May 1999 20:40:02 +0300 + +flwm (0.23-1) unstable; urgency=low + + * New upstream release + + -- Tommi Virtanen Tue, 27 Apr 1999 13:59:21 +0300 + +flwm (0.22-1) unstable; urgency=low + + * New upstream release + * Moved to /usr/X11R6 + + -- Tommi Virtanen Tue, 20 Apr 1999 01:06:13 +0300 + +flwm (0.19-2) unstable; urgency=low + + * Cleaned the .diff.gz by removing extra files in clean + * Added a menu file + + -- Tommi Virtanen Tue, 9 Mar 1999 18:47:19 +0200 + +flwm (0.19-1) unstable; urgency=low + + * Initial Release. + + -- Tommi Virtanen Tue, 9 Mar 1999 14:18:03 +0200 + --- flwm-1.02.orig/debian/rules +++ flwm-1.02/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +CXXFLAGS = -g -Wall -Wno-return-type -I/usr/X11R6/include + +include /usr/share/dpatch/dpatch.make + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CXXFLAGS += -O0 +else +CXXFLAGS += -O2 +endif + + +build: build-stamp +build-stamp: patch-stamp + test -e debian/control + env CXX="g++" ./configure --prefix=/usr --mandir=/usr/share/man + # Add here commands to compile the package. + $(MAKE) "CXXFLAGS=$(CXXFLAGS)" + touch build-stamp + +clean: patch + test -e debian/control + test root = "`whoami`" || (echo need root priviledges; exit 1) + rm -f build-stamp install-stamp + # Add here commands to clean up after the build process. + -$(MAKE) clean + rm -f makeinclude config.status config.cache config.log + rm -rf debian/files debian/substvars debian/tmp + +install: install-stamp +install-stamp: build-stamp + test -e debian/control + test root = "`whoami`" || (echo need root priviledges; exit 1) + rm -rf debian/substvars debian/tmp + install -d -m0755 debian/tmp/usr/bin \ + debian/tmp/usr/share/man/man1 + # Add here commands to install the package into debian/tmp. + $(MAKE) install \ + prefix=`pwd`/debian/tmp/usr \ + mandir=`pwd`/debian/tmp/usr/share/man + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +DOCDIR:=debian/tmp/usr/share/doc/flwm +# Build architecture-dependent files here. +binary-arch: build install + test -e debian/control + test root = "`whoami`" || (echo need root priviledges; exit 1) + install -d -m0755 $(DOCDIR) + install -m0644 README $(DOCDIR)/README + #install -m0644 debian/README.debian $(DOCDIR)/README.Debian + install -m0644 debian/copyright $(DOCDIR)/copyright + install -m0644 debian/changelog $(DOCDIR)/changelog.Debian + chmod 0644 debian/tmp/usr/share/man/man1/flwm.1 + gzip -9 $(DOCDIR)/README* $(DOCDIR)/changelog.Debian \ + debian/tmp/usr/share/man/man1/flwm.1 + install -d -m0755 debian/tmp/usr/share/menu + install -m0644 debian/menu debian/tmp/usr/share/menu/flwm + install -d -m0755 debian/tmp/etc/menu-methods + install -m0644 debian/menu-method debian/tmp/etc/menu-methods/flwm +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + strip --remove-section=.comment --remove-section=.note \ + debian/tmp/usr/bin/flwm +endif + install -d -m0755 debian/tmp/DEBIAN + install -m0644 debian/conffiles debian/tmp/DEBIAN + install -m0755 debian/postinst debian/postrm debian/prerm \ + debian/tmp/DEBIAN + dpkg-shlibdeps debian/tmp/usr/bin/flwm + dpkg-gencontrol -isp + dpkg --build debian/tmp .. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary patch --- flwm-1.02.orig/debian/menu-method +++ flwm-1.02/debian/menu-method @@ -0,0 +1,39 @@ +#!/usr/bin/install-menu +# Generates flwm menus for all registered applications. +compat="menu-1" + +!include menu.h + +outputencoding="ISO-8859-1" + +# Make menus into directories and entries into files; deal with entries that +# contain slashes like "Communicator (static/461) Browser" +genmenu=$basesection "/" replacewith($title, "/", "_") \ + ifelse($command, "", "/") + +rootprefix="/var/lib/flwm/wmx/" +userprefix=".wmx/" +treewalk="(M)" +rootsection="/Debian" + +preoutput= "#! /bin/sh\n# This file was automatically generated (see /usr/share/doc/menu).\n# DO NOT EDIT!\n" + +# Clean-up files we may have generated in an earlier run first. +prerun="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )" + +removemenu="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )" + +# And make the generated scripts executable afterwards. +postrun="find " prefix() " -type f -print0 | xargs -0 chmod a+x" + +supported +x11= $command "\n" +text= term() "\n" +# TODO: we should support "wm" as well +endsupported + +mainmenutitle="" +submenutitle= "" + +startmenu="" +endmenu="" --- flwm-1.02.orig/debian/postinst +++ flwm-1.02/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +# remove (autogenerated) legacy menu files +if [ -d /etc/X11/flwm/wmx ]; then + rm -r /etc/X11/flwm/wmx +fi + +update-alternatives --install \ + /usr/bin/x-window-manager x-window-manager /usr/bin/flwm 40 \ + --slave /usr/share/man/man1/x-window-manager.1.gz x-window-manager.1.gz \ + /usr/share/man/man1/flwm.1.gz + +inst=/etc/menu-methods/flwm +if [ -f $inst ]; then + chmod a+x $inst + if [ -x /usr/bin/update-menus ]; then + update-menus + fi +fi --- flwm-1.02.orig/debian/control +++ flwm-1.02/debian/control @@ -0,0 +1,33 @@ +Source: flwm +Section: x11 +Priority: optional +Maintainer: Bill Allombert +Standards-Version: 3.7.2 +Build-Depends: libfltk1.1-dev (>= 1.1.6-7), xutils, dpatch + +Package: flwm +Architecture: any +Depends: ${shlibs:Depends} +Suggests: menu +Provides: x-window-manager +Description: Fast Light Window Manager + Flwm is an attempt to combine the best ideas from several + window managers. The primary influence and code base is from + wm2 by Chris Cannam. Primary features copied from wm2 are: + . + - Does not look like Windoze. + - Nifty sideways title bars. + - No icons. You deiconify by picking off a pop-up menu. + This means no space is wasted by icons. + - Really small and fast code. + . + It is enhanced by the author's own further nutty ideas: + . + - Does not use shape extension, more standard resize handles. + - Occupies as little screen space as possible. The border and titles + are as thin as I could possibly make them. And maximized + windows waste only 15 pixels horizontally and zero (count'em) + pixels vertically! + - Independent maximize buttons for width & height, close button. + - Understands Motif, KDE, and Gnome window manager hints. + - Multiple desktops, controlled from the same menu as the icons. --- flwm-1.02.orig/debian/README.sources +++ flwm-1.02/debian/README.sources @@ -0,0 +1,16 @@ +flwm patch system +---------------------- + +flwm use dpatch for managing the patches applied to the upstream +sources. However all the patches are already applied in the .diff.gz +so you can modify the source directly, just as before. + +debian/check-pristine: a shell script to check if unpatched source +is pristine. + +Patches zone: +100-199: Debian patch, non Debian specific (should be forwarded upstream). +200-299: Debian specific patch. + +-- +Bill Allombert Wed, 1 Mar 2006 00:03:42 +0100 --- flwm-1.02.orig/debian/copyright +++ flwm-1.02/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Tommi Virtanen on +Tue, 9 Mar 1999 14:18:03 +0200. +It is now maintained by Bill Allombert since +Sun, 6 Mar 2005 11:07:46 +0100 + +It was downloaded from http://www.cinenet.net/users/spitzak/flwm/ +The current web site is http://flwm.sourceforge.net/ + +Upstream Author: Bill Spitzak + +Copyright: + +---------------------------------------------------------------- +Copyright (C) 1998-1999 Bill Spitzak +---------------------------------------------------------------- +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 library; if not, write to the Free Software +Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +MA 02110-1301, USA. + + +Written by Bill Spitzak spitzak@d2.com +---------------------------------------------------------------- + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in '/usr/share/common-licenses/GPL'. --- flwm-1.02.orig/debian/postrm +++ flwm-1.02/debian/postrm @@ -0,0 +1,19 @@ +#!/bin/sh +set -e +case "$1" in + remove) + # remove the files that install-menu created: + if [ -d /var/lib/flwm/wmx ]; then + rm -r /var/lib/flwm/wmx + fi + inst=/etc/menu-methods/flwm + if [ -f "$inst" ]; then chmod a-x $inst ; fi + if test -x /usr/bin/update-menus ; then update-menus; fi + ;; + purge);; + upgrade);; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- flwm-1.02.orig/debian/check-pristine +++ flwm-1.02/debian/check-pristine @@ -0,0 +1,14 @@ +#! /bin/sh +if test ! -d debian; then + echo "cannot find debian dir" >&2 + exit 2 +fi +set -e +fakeroot debian/rules clean +debian/rules unpatch +cd .. +tar zxf flwm_1.00.orig.tar.gz +cd flwm-1.00.orig +find . -path debian -prune -o -exec diff -u '{}' '../flwm-1.00/{}' ';' +cd .. +rm -r flwm-1.00.orig --- flwm-1.02.orig/debian/conffiles +++ flwm-1.02/debian/conffiles @@ -0,0 +1 @@ +/etc/menu-methods/flwm --- flwm-1.02.orig/debian/watch +++ flwm-1.02/debian/watch @@ -0,0 +1,3 @@ +# Site Directory Pattern Version Script +version=2 +http://flwm.sourceforge.net/flwm-(.*)\.tgz debian uupdate --- flwm-1.02.orig/debian/prerm +++ flwm-1.02/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +case "$1" in + upgrade) ;; + remove|failed-upgrade|deconfigure) + update-alternatives --remove x-window-manager /usr/bin/flwm + ;; +esac --- flwm-1.02.orig/debian/patched/200_Debian_menu.dpatch +++ flwm-1.02/debian/patched/200_Debian_menu.dpatch @@ -0,0 +1,2 @@ +patching file Menu.C +patching file flwm.1 --- flwm-1.02.orig/patch-stamp +++ flwm-1.02/patch-stamp @@ -0,0 +1,5 @@ +Patches applied in the Debian version of : + +debian/patches/200_Debian_menu.dpatch (Tommi Virtanen ): + Add Debian menu support. +