debian/0000755000000000000000000000000012151217516007167 5ustar debian/menu-stuff/0000755000000000000000000000000011612144443011257 5ustar debian/menu-stuff/flwm0000644000000000000000000000244511612144443012154 0ustar #!/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="" debian/patches/0000755000000000000000000000000012151217141010610 5ustar debian/patches/01-debian-menu.diff0000755000000000000000000000220511612144443014053 0ustar # Add Debian menu support. 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 debian/patches/02-nostrip.diff0000755000000000000000000000071111612144443013366 0ustar # Do not strip binaries for nostrip. diff -urNad flwm-1.02~/Makefile flwm-1.02/Makefile --- flwm-1.02~/Makefile 2007-08-12 18:37:59.000000000 +0200 +++ flwm-1.02/Makefile 2007-08-12 18:39:31.000000000 +0200 @@ -44,7 +44,7 @@ include makedepend install: $(PROGRAM) - $(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM) + $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM) $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) uninstall: debian/patches/03-parantheses-warnings.diff0000644000000000000000000000620011612144443016030 0ustar # This patch adds some parantheses in the code to avoid some compiler # warnings. diff -Naur flwm-1.02+cvs20080422.orig/Frame.C flwm-1.02+cvs20080422/Frame.C --- flwm-1.02+cvs20080422.orig/Frame.C 2008-05-14 14:40:28.000000000 +0200 +++ flwm-1.02+cvs20080422/Frame.C 2008-05-14 14:43:34.000000000 +0200 @@ -915,7 +915,7 @@ // preserving stacking order: for (p = &first; *p;) { Frame* f = *p; - if (f == this || f->is_transient_for(this) && f->state() != UNMAPPED) { + if (f == this || (f->is_transient_for(this) && f->state() != UNMAPPED)) { *p = f->next; // remove it from list if (previous) { XWindowChanges w; @@ -970,7 +970,7 @@ void Frame::iconize() { for (Frame* c = first; c; c = c->next) { - if (c == this || c->is_transient_for(this) && c->state() != UNMAPPED) + if (c == this || (c->is_transient_for(this) && c->state() != UNMAPPED)) c->state(ICONIC); } } @@ -1163,7 +1163,7 @@ #endif } if (min_h == max_h || flag(KEEP_ASPECT|NO_RESIZE) || - !max_h_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM) { + (!max_h_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM)) { max_h_button.hide(); } else { max_h_button.position(BUTTON_LEFT,by); @@ -1171,7 +1171,7 @@ by += BUTTON_H; } if (min_w == max_w || flag(KEEP_ASPECT|NO_RESIZE) || - !max_w_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM) { + (!max_w_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM)) { max_w_button.hide(); } else { max_w_button.position(BUTTON_LEFT,by); @@ -1646,8 +1646,8 @@ nh = iy+ih-(Fl::event_y_root()-dy); else {ny = y(); nh = h();} if (flag(KEEP_ASPECT)) { - if (nw-dwidth > nh-dwidth - && (what&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT)) + if ((nw-dwidth > nh-dwidth + && (what&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT))) || !(what&(FL_ALIGN_TOP|FL_ALIGN_BOTTOM))) nh = nw-dwidth+dheight; else diff -Naur flwm-1.02+cvs20080422.orig/Hotkeys.C flwm-1.02+cvs20080422/Hotkeys.C --- flwm-1.02+cvs20080422.orig/Hotkeys.C 2008-05-14 14:40:28.000000000 +0200 +++ flwm-1.02+cvs20080422/Hotkeys.C 2008-05-14 14:46:58.000000000 +0200 @@ -182,8 +182,8 @@ int Handle_Hotkey() { for (int i = 0; keybindings[i].key; i++) { if (Fl::test_shortcut(keybindings[i].key) || - (keybindings[i].key & 0xFFFF) == FL_Delete - && Fl::event_key() == FL_BackSpace// fltk bug? + ((keybindings[i].key & 0xFFFF) == FL_Delete + && Fl::event_key() == FL_BackSpace)// fltk bug? ) { keybindings[i].func(); return 1; diff -Naur flwm-1.02+cvs20080422.orig/Menu.C flwm-1.02+cvs20080422/Menu.C --- flwm-1.02+cvs20080422.orig/Menu.C 2008-05-14 14:40:28.000000000 +0200 +++ flwm-1.02+cvs20080422/Menu.C 2008-05-14 14:45:50.000000000 +0200 @@ -568,7 +568,7 @@ if (d == Desktop::current()) first_on_desk = menu+n; for (c = Frame::first; c; c = c->next) { if (c->state() == UNMAPPED || c->transient_for()) continue; - if (c->desktop() == d || !c->desktop() && d == Desktop::current()) { + if (c->desktop() == d || (!c->desktop() && d == Desktop::current())) { init(menu[n],(char*)c); #if FL_MAJOR_VERSION < 2 init(menu[n],(char*)c); debian/patches/04-manpage-fixes.diff0000644000000000000000000002024211612144443014414 0ustar # This patch fixes many format errors at the flwm.1 manpage. diff -Naur flwm-1.02+cvs20080422.orig/flwm.1 flwm-1.02+cvs20080422/flwm.1 --- flwm-1.02+cvs20080422.orig/flwm.1 2008-09-06 10:56:16.000000000 +0200 +++ flwm-1.02+cvs20080422/flwm.1 2008-09-06 10:56:35.000000000 +0200 @@ -1,11 +1,11 @@ .\"Man page for flwm, by Bill Spitzak. .TH flwm 1 "15 May 1999" .SH NAME -\fIflwm\fR - The Fast Light Window Manager +\fIflwm\fR \- The Fast Light Window Manager .SH SYNOPSIS .B flwm -[-d[isplay] host:n.n] [-g[eometry] WxH+X+Y] -[-fg color] [-bg color] [-bg2 color] +[\-d[isplay] host:n.n] [\-g[eometry] WxH+X+Y] +[\-fg color] [\-bg color] [\-bg2 color] .SH DESCRIPTION .I flwm is a very small and fast X window manager, featuring @@ -24,52 +24,52 @@ .nf #!/bin/sh -xsetroot -solid \\#006060 +xsetroot \-solid \\#006060 xrdb .Xresources # xset, xmodmap, other configuration programs flwm & WindowManager=$! -# xterm, other automatically-launched programs +# xterm, other automatically\-launched programs wait $WindowManager .fi .SH SWITCHES -.B -d[isplay] host:#.# +.B \-d[isplay] host:#.# Sets the display and screen for flwm to manage -.B -v[isual] # -Visual number to use (probably only works for non-color-mapped ones) +.B \-v[isual] # +Visual number to use (probably only works for non\-color\-mapped ones) -.B -g[eometry] WxH+X+Y +.B \-g[eometry] WxH+X+Y Flwm will act as though the screen is only the specified area. It will constrain initial window positions to this area and stop them at the edges when dragging them around. This can be used to surround the screen with fixed "toolbars" that are never covered by windows. These -toolbars must be created by a program using override-redirect so that +toolbars must be created by a program using override\-redirect so that flwm does not try to move them. -.B -m[aximum] WxH +.B \-m[aximum] WxH Set the size of windows when the maximize buttons are pushed. -Normally this is the size of the screen. This is useful for +Normally this is the size of the screen. This is useful for XFree86 servers that are run with a smaller screen than display memory. -.B -x +.B \-x The menu will say "Exit" instead of "Logout" and will not ask for -confirmation. This is a good idea if you are running flwm in some +confirmation. This is a good idea if you are running flwm in some other way than with exec at the end of .xinitrc, since it won't log you out then. -.B -fg color, -bg color +.B \-fg color, \-bg color Set the label color and the color of the window frames and the menu. -.B -c[ursor] # +.B \-c[ursor] # What cursor to use on the desktop (you will have to experiment to find out what each number means) -.B -cfg color, -cbg color +.B \-cfg color, \-cbg color Colors for the desktop and window resizing cursors In addition to these switches there is much customization that can be @@ -78,12 +78,12 @@ .SH MENU ITEMS -Flwm can launch programs from its menu. This is controlled by files +Flwm can launch programs from its menu. This is controlled by files in the directory .B ~/.wmx (this was chosen to be compatible with wmx and wm2). -Each executable file in ~/.wmx is a program to run. Usually these are +Each executable file in ~/.wmx is a program to run. Usually these are symbolic links to the real program or very short shell scripts. Each subdirectory creates a child menu so you can build a hierarchy @@ -94,43 +94,43 @@ .nf mkdir ~/.wmx -ln -s /usr/bin/gimp ~/.wmx/"The Gimp" +ln \-s /usr/bin/gimp ~/.wmx/"The Gimp" cat << EOF > ~/.wmx/"Terminal" #! /bin/sh -/usr/local/bin/rxvt -ut +/usr/bin/rxvt \-ut EOF chmod +x !* .fi -On Debian, flwm has been modified to support a system-wide menu +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)). +.BR update\-menus (1)). .SH MOUSE USAGE -.B Left-click +.B Left\-click on a window border raises window. -.B Left-drag +.B Left\-drag will move the window when in the title bar, and will resize it in the -edges. If the window cannot be resized then it will always move the -window. What it will do is indicated by the cursor shape. +edges. If the window cannot be resized then it will always move the +window. What it will do is indicated by the cursor shape. -.B Middle-click +.B Middle\-click on a window border lowers it to bottom. -.B Middle-drag +.B Middle\-drag anywhere on window border will move the window. When you move a window it will stop at the edges of the screen. Dragging about 150 pixels further will unstick it and let you drag it off the screen. -.B Right-click +.B Right\-click on a window border pops up the menu. .B Any button @@ -138,10 +138,10 @@ .SH BUTTONS -The empty button "iconizes" the window: it will completely vanish. To +The empty button "iconizes" the window: it will completely vanish. To get it back use the menu. -The vertical-bar button "shades" (or "Venetian blinds"?) the window. +The vertical\-bar button "shades" (or "Venetian blinds"?) the window. Click it again to restore the window. You can also resize the shaded window to a new height or "open" it by resizing horizontally. @@ -151,9 +151,9 @@ .SH MENU -.B Right-click +.B Right\-click on window border, or -.B any-click +.B any\-click on the desktop, or typing .B Alt+Esc or @@ -162,50 +162,50 @@ .B Alt+Shift+Tab will pop up the menu. -Releasing Alt will pick the current menu item. This makes flwm work +Releasing Alt will pick the current menu item. This makes flwm work very much (exactly?) like the Windows 95 shortcuts. -Each main window is a menu item. If the window is "iconized" the +Each main window is a menu item. If the window is "iconized" the little picture shows an open rectangle, otherwise it shows a filled rectangle. Picking a menu item deiconizes and raises that window and warps the pointer so it is current. .B New desktop -asks for a name of a new desktop and makes it current. The desktop +asks for a name of a new desktop and makes it current. The desktop will initially be empty (except for sticky items). To move windows to the current desktop, pop up the menu and pick windows off of other desktops (if using the keyboard, use left arrow to go to the desktop names, move up and down to the other -desktop, and use right arrow to enter that desktop). The window will +desktop, and use right arrow to enter that desktop). The window will be moved from the other desktop to the current one. To switch to another desktop, pick the title of the desktop (if using the keyboard, use left arrow to go to the desktop names, move up and down to the other desktop). -If a desktop is empty you can delete it. Its sub menu will show +If a desktop is empty you can delete it. Its sub menu will show .B delete this desktop. Pick that and the desktop is gone. .B Sticky -is a special "desktop": windows on it appear on all desktops. To make +is a special "desktop": windows on it appear on all desktops. To make a window "sticky" switch to the Sticky desktop and pick the window off -its current desktop (thus "moving" it to the Sticky desktop). To +its current desktop (thus "moving" it to the Sticky desktop). To "unstick" a window go to another desktop and pick the window off the sticky desktop menu. .B New xterm -will run a new xterm on the current desktop. Useful if -you accidentally close everything. This item does not appear if a +will run a new xterm on the current desktop. Useful if +you accidentally close everything. This item does not appear if a ~/.wmx directory exists. .B Logout will ask for confirmation and if so flwm will exit. .B Exit -will exit flwm without confirmation. This item will appear if flwm -was run with the -x switch. +will exit flwm without confirmation. This item will appear if flwm +was run with the \-x switch. .SH HOT KEYS @@ -272,7 +272,7 @@ You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307 USA. .SH AUTHORS debian/patches/05-remove-unneeded-linking.diff0000644000000000000000000000167611612144443016416 0ustar # Remove some extra libs from linking. flwm do not need them. diff -Naur flwm-1.02+cvs20080422.orig/configure.in flwm-1.02+cvs20080422/configure.in --- flwm-1.02+cvs20080422.orig/configure.in 2008-09-06 11:04:25.000000000 +0200 +++ flwm-1.02+cvs20080422/configure.in 2008-09-06 11:06:51.000000000 +0200 @@ -16,7 +16,7 @@ LIBS="-lfltk2 -lXft -lXinerama -lXi $LIBS" CXXFLAGS="$CXXFLAGS -I/usr/local/include/fltk/compat" else - LIBS="-lfltk -lXft -lXinerama $LIBS" + LIBS="-lfltk $LIBS" fi MAKEDEPEND="\$(CXX) -M" diff -Naur flwm-1.02+cvs20080422.orig/makeinclude.in flwm-1.02+cvs20080422/makeinclude.in --- flwm-1.02+cvs20080422.orig/makeinclude.in 2008-09-06 11:04:25.000000000 +0200 +++ flwm-1.02+cvs20080422/makeinclude.in 2008-09-06 11:05:02.000000000 +0200 @@ -19,6 +19,6 @@ CXXFLAGS =@CXXFLAGS@ # libraries to link with: -LIBS =@LIBS@ -lX11 -lXext @X_EXTRA_LIBS@ -lm +LIBS =@LIBS@ -lX11 @X_EXTRA_LIBS@ -lm INSTALL =@INSTALL@ debian/patches/06-create-dirs.diff0000644000000000000000000000121511612144443014073 0ustar # Let install also create the directorys if they are missing. diff -Naur flwm-1.02+cvs20080422.orig/Makefile flwm-1.02+cvs20080422/Makefile --- flwm-1.02+cvs20080422.orig/Makefile 2008-09-06 11:21:27.000000000 +0200 +++ flwm-1.02+cvs20080422/Makefile 2008-09-06 11:21:59.000000000 +0200 @@ -42,8 +42,8 @@ include makedepend install: $(PROGRAM) - $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM) - $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) + $(INSTALL) -D $(PROGRAM) $(bindir)/$(PROGRAM) + $(INSTALL) -D $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) uninstall: -@ rm -f $(bindir)/$(PROGRAM) debian/patches/06-fix-ftbfs-with-active-color.diff0000644000000000000000000000153312151217042017115 0ustar Description: Fixes FTBFS if ACTIVE_COLOR defined This is the case if the package is build with CLICK_TO_TYPE set to 1 in config.h, i.e. only happens with a modified source package. Debian-Bug: 698021 Author: Stephen Carrier Index: flwm/Frame.C =================================================================== --- flwm.orig/Frame.C 2013-05-28 23:02:47.501387305 +0200 +++ flwm/Frame.C 2013-05-28 23:04:22.181784128 +0200 @@ -796,7 +796,7 @@ XSetWindowAttributes a; a.background_pixel = fl_xpixel(FL_SELECTION_COLOR); XChangeWindowAttributes(fl_display, fl_xid(this), CWBackPixel, &a); - labelcolor(contrast(FL_FOREGROUND_COLOR, FL_SELECTION_COLOR)); + labelcolor(fl_contrast(FL_FOREGROUND_COLOR, FL_SELECTION_COLOR)); XClearArea(fl_display, fl_xid(this), 2, 2, w()-4, h()-4, 1); #else #ifdef SHOW_CLOCK debian/patches/series0000644000000000000000000000025712151217042012031 0ustar 01-debian-menu.diff 02-nostrip.diff 03-parantheses-warnings.diff 04-manpage-fixes.diff 05-remove-unneeded-linking.diff 06-create-dirs.diff 06-fix-ftbfs-with-active-color.diff debian/source/0000755000000000000000000000000011612145640010466 5ustar debian/source/format0000644000000000000000000000001411612144443011674 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147532160010365 0ustar 9 debian/control0000644000000000000000000000525712147540526010610 0ustar Source: flwm Section: x11 Priority: optional Homepage: http://flwm.sourceforge.net/ Maintainer: Axel Beckert Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9~), dh-autoreconf, dpkg-dev (>= 1.16.1~), libfltk1.1-dev, libxft-dev, libxinerama-dev Vcs-Git: git://anonscm.debian.org/collab-maint/flwm.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/flwm.git Package: flwm Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: 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 Windows. - 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 you 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. Package: flwm-dbg Section: debug Architecture: any Priority: extra Depends: flwm (= ${binary:Version}), ${misc:Depends} Description: Fast Light Window Manager (debugging symbols) 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 you 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. . This package contains the debugging symbols for flwm. debian/copyright0000644000000000000000000000310012147540526011121 0ustar 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-2'. The Debian packaging is © 2009, Patrick Matthäi and is licensed under the GPL, see above. debian/docs0000644000000000000000000000000711612144443010036 0ustar README debian/install0000644000000000000000000000012212151211005010536 0ustar debian/menu-stuff/flwm etc/menu-methods/ debian/flwm.desktop usr/share/xsessions/ debian/manpages0000644000000000000000000000000711612144443010701 0ustar flwm.1 debian/menu0000644000000000000000000000020711612144443010054 0ustar ?package(flwm):needs="wm" section="Window Managers" \ title="Flwm" command="/usr/bin/flwm" \ longtitle="Fast Light Window Manager" debian/postinst0000644000000000000000000000033111612144443010771 0ustar #!/bin/sh set -e # Remove (autogenerated) legacy menu files if [ -d /etc/X11/flwm/wmx ]; then rm -r /etc/X11/flwm/wmx fi inst=/etc/menu-methods/flwm if [ -f $inst ]; then chmod a+x $inst fi #DEBHELPER# exit 0 debian/postrm0000644000000000000000000000056211612144443010440 0ustar #!/bin/sh set -e case "$1" in remove) # Remove the files that install-menu created: if [ -d /var/lib/flwm/wmx ]; then rm -rf /var/lib/flwm/wmx fi inst=/etc/menu-methods/flwm if [ -f "$inst" ]; then chmod a-x $inst fi ;; purge|upgrade);; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 ;; esac #DEBHELPER# exit 0 debian/rules0000755000000000000000000000074412147536763010271 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk export CXXFLAGS:=$(CXXFLAGS) $(CPPFLAGS) %: dh $@ --with autoreconf override_dh_auto_clean: [ ! -f makeinclude ] || $(MAKE) clean rm -rf autom4te.cache override_dh_auto_install: dh_auto_install -- prefix=$(CURDIR)/debian/flwm/usr rm -f debian/flwm/usr/share/man/man1/flwm.1 override_dh_strip: dh_strip --dbg-package=flwm-dbg debian/watch0000644000000000000000000000013111612144443010212 0ustar version=3 opts=dversionmangle=s/\+cvs\d+// \ http://flwm.sourceforge.net/flwm-(.*)\.tgz debian/flwm.wm0000644000000000000000000000001612151212671010473 0ustar /usr/bin/flwm debian/clean0000644000000000000000000000007212147534216010177 0ustar config.log config.status configure makedepend makeinclude debian/flwm.lintian-overrides0000644000000000000000000000007512147540201013511 0ustar # There is no upstream changelog flwm: no-upstream-changelog debian/flwm-dbg.lintian-overrides0000644000000000000000000000010112147540220014232 0ustar # There is no upstream changelog flwm-dbg: no-upstream-changelog debian/flwm.desktop0000644000000000000000000000016412151207303011521 0ustar [Desktop Entry] Encoding=UTF-8 Type=XSession Exec=flwm TryExec=flwm Name=flwm Comment=The Fast Light Window Manager debian/dirs0000644000000000000000000000002412151211013010031 0ustar usr/share/xsessions debian/changelog0000644000000000000000000003375312151217042011046 0ustar flwm (1.02+cvs20080422-10) unstable; urgency=low * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency * Switch to a dh7 style debian/rules file: + Use dh_auto_{configure,build,install} and implicit dpkg-buildflags + Use dh_clean and debian/clean instead of manual "rm" where possible + Use debian/wm instead parameter to dh_installwm + Drop get-orig-source target * Use dh_autoreconf + Add build-dependency on dh-autoreconf * Pass CPPFLAGS inside CXXFLAGS to fix lintian warning hardening-no-fortify-functions. + Add build-dependency on dpkg-dev >= 1.16.1~ * Add flwm.desktop session file. Thanks Luca Capello! (Closes: #635044) * Add patch by Stephen Carrier to fix FTBFS if ACTIVE_COLOR is defined (i.e. with modified config.h; Closes: #698021) * Bump Standards-Version to 3.9.4 (no changes) * Add lintian-overrides for no-upstream-changelog * Apply wrap-and-sort -- Axel Beckert Tue, 28 May 2013 22:54:21 +0200 flwm (1.02+cvs20080422-9) unstable; urgency=low * New Maintainer (Closes: #622165) * Spell "Windows" correctly and neutral in the package description. * Fix lintian warning debian-rules-missing-recommended-target. * Add abort-on-upstream-changes and unapply-patches to debian/source/local-options as source format 3.0 stubbornly does not allow to put it into debian/source/options * Add Vcs-* headers. -- Axel Beckert Fri, 22 Jul 2011 02:38:26 +0200 flwm (1.02+cvs20080422-8) unstable; urgency=low * Bump Standards-Version to 3.9.2 (no changes needed). * Set the maintainer to the Debian QA Group. -- Patrick Matthäi Sun, 10 Apr 2011 18:15:09 +0200 flwm (1.02+cvs20080422-7) unstable; urgency=low * Bump Standards-Version to 3.9.1 (no changes needed). * Convert package to the 3.0 (quilt) format. -- Patrick Matthäi Sun, 06 Feb 2011 19:06:26 +0100 flwm (1.02+cvs20080422-6) unstable; urgency=low * Fix typo in get-orig-source target. * Refer in debian/copyright to the GPL-2 file instead of GPL. * Add my own copyright for the Debian packaging. * Update to compat 7. * Use the new dh_installwm for registering flwm as one. -- Patrick Matthäi Thu, 14 May 2009 12:12:25 +0200 flwm (1.02+cvs20080422-5) unstable; urgency=low * Add missing ${misc:Depends}. Thanks lintian. * Mangle cvs version tag in the Debian version. * Add get-orig-source target. * Bump Standards-Version to 3.8.1 (no changes needed). * Change section of flwm-dbg to debug. * Change my email address. * Remove DM-Upload-Allowed control field. * Fix lintian information using-first-person-in-description. -- Patrick Matthäi Mon, 20 Apr 2009 19:45:22 +0200 flwm (1.02+cvs20080422-4) unstable; urgency=low * Uploading to unstable. -- Patrick Matthäi Tue, 14 Oct 2008 20:33:47 +0200 flwm (1.02+cvs20080422-3) experimental; urgency=low * Uploading to experimental, because Lenny is frozen. * Do not call x-window-manager with path in postinst. Thanks lintian. * Bump Standards-Version to 3.8.0. - Added README.source. * Removed debian/flwm.1 and added patches/04-manpage-fixes.dpatch instead of the whole manpage. * Added 05-remove-unneeded-linking.dpatch which removes some useless linking. * Added 06-create-dirs.dpatch which also creates directorys at install time. - Drop debian/dirs. * Drop deprecated README.Debian. -- Patrick Matthäi Sat, 6 Sep 2008 10:06:19 +0200 flwm (1.02+cvs20080422-2) unstable; urgency=low * Added 03-parantheses-warnings.dpatch. It adds some parantheses in the code and avoids so on some warnings from the compiler. * Some minor header fixes for the 01 and 02 dpatch. -- Patrick Matthäi Wed, 14 May 2008 14:56:40 +0100 flwm (1.02+cvs20080422-1) unstable; urgency=low * New maintainer. Closes: #369933 * New CVS snapshot from the 22th April 2008. Closes: #458946, #272672, #316885, #316209 * Reworked the whole package with debhelper. This also fixes all lintian warnings. -- Patrick Matthäi Tue, 3 May 2008 20:32:21 +0100 flwm (1.02-3) unstable; urgency=low * debian/control: + Bump versioned build-dep on libfltk1.1-dev to 1.1.7-6. Closes: #450551. -- Bill Allombert Mon, 12 Nov 2007 13:14:50 +0100 flwm (1.02-2) unstable; urgency=low * Add patch 201_nostrip: + Remove -s from install so that nostrip actually works. Closes: #436844. Thanks Julien Danjou. * debian/menu: update menu section to "Window Managers". * debian/rules: Remove - before make clean * debian/control: Recommends menu. Closes: #406277. -- Bill Allombert Sun, 12 Aug 2007 09:55:42 +0200 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 versioned 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) unstable; 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