--- fluxbox-1.0.0.orig/debian/patches/10_default_style_patch +++ fluxbox-1.0.0/debian/patches/10_default_style_patch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_default_style_patch.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch for using another default style. + +@DPATCH@ + +--- fluxbox-1.0.0.orig/configure ++++ fluxbox-1.0.0/configure +@@ -1362,7 +1362,7 @@ + --with-imlib2-prefix=PFX Prefix where imlib2 is installed (optional) + --with-imlib2-exec-prefix=PFX Exec prefix where imlib2 is installed (optional) + --with-menu=path location menu file (PREFIX/share/fluxbox/menu) +- --with-style=path style by default (PREFIX/share/fluxbox/styles/Meta) ++ --with-style=path style by default (PREFIX/share/fluxbox/styles/Bloe) + --with-keys=path location keys file (PREFIX/share/fluxbox/keys) + --with-init=path location init file (PREFIX/share/fluxbox/init) + --with-locale=path location for nls files (PREFIX/share/fluxbox/nls) +--- fluxbox-1.0.0.orig/src/Makefile.in ++++ fluxbox-1.0.0/src/Makefile.in +@@ -194,7 +194,7 @@ + DEFAULT_INIT = @DEFAULT_INIT@ + DEFAULT_KEYS = @DEFAULT_KEYS@ + DEFAULT_MENU = @DEFAULT_MENU@ +-DEFAULT_STYLE = $(pkgdatadir)/styles/Clean ++DEFAULT_STYLE = @DEFAULT_STYLE@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ + ECHO_C = @ECHO_C@ --- fluxbox-1.0.0.orig/debian/patches/00list +++ fluxbox-1.0.0/debian/patches/00list @@ -0,0 +1 @@ +10_default_style_patch --- fluxbox-1.0.0.orig/debian/control.in +++ fluxbox-1.0.0/debian/control.in @@ -0,0 +1,20 @@ +Source: fluxbox +Section: x11 +Priority: optional +Maintainer: Dmitry E. Oboukhov +Uploaders: martin f. krafft +Build-Depends: @cdbs@, libx11-dev, libxft-dev, libxinerama-dev, libxpm-dev, libxrandr-dev, x-dev, libxt-dev, debhelper (>=5.0), libxext-dev, libimlib2-dev, libgtk2.0-dev +Standards-Version: 3.7.2 + +Package: fluxbox +Architecture: any +Provides: x-window-manager +Suggests: fluxconf, fbpager, fbdesk +Depends: menu (>=2.1.19), ${shlibs:Depends} +Description: Highly configurable and low resource X11 Window manager + Fairly similar to blackbox, from which it is derived, but has been + extended with features such as pwm-style window tabs, configurable + key bindings, toolbar, and an iconbar. It also includes some cosmetic + fixes over blackbox. + . + This package contains support for Gnome and KDE. --- fluxbox-1.0.0.orig/debian/control +++ fluxbox-1.0.0/debian/control @@ -0,0 +1,20 @@ +Source: fluxbox +Section: x11 +Priority: optional +Maintainer: Dmitry E. Oboukhov +Uploaders: martin f. krafft +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), dpatch, libx11-dev, libxft-dev, libxinerama-dev, libxpm-dev, libxrandr-dev, x-dev, libxt-dev, debhelper (>=5.0), libxext-dev, libimlib2-dev, libgtk2.0-dev +Standards-Version: 3.7.2 + +Package: fluxbox +Architecture: any +Provides: x-window-manager +Suggests: fluxconf, fbpager, fbdesk +Depends: menu (>=2.1.19), ${shlibs:Depends} +Description: Highly configurable and low resource X11 Window manager + Fairly similar to blackbox, from which it is derived, but has been + extended with features such as pwm-style window tabs, configurable + key bindings, toolbar, and an iconbar. It also includes some cosmetic + fixes over blackbox. + . + This package contains support for Gnome and KDE. --- fluxbox-1.0.0.orig/debian/changelog +++ fluxbox-1.0.0/debian/changelog @@ -0,0 +1,521 @@ +fluxbox (1.0.0-3) unstable; urgency=low + + * Move menuitem from 'WindowManagers' to 'Window Managers' (close lintian + warning). + * Patch for using another default style. + * Management by debian/control generated by cdbs system is used here. + * Upload sponsored by Al Nikolov + + -- Dmitry E. Oboukhov Wed, 05 Dec 2007 13:14:50 +0300 + +fluxbox (1.0.0-2) unstable; urgency=low + + * Enable support of the XShape extension, closes: #450684. + + -- Dmitry E. Oboukhov Fri, 09 Nov 2007 21:25:58 +0300 + +fluxbox (1.0.0-1) unstable; urgency=low + + * New upstream version. + * Unreproducible bug 'crash when trying to start applications while using a + locale that isnt found in the fluxbox-package', closes: #438468. + * Removed Matt Hope from uploaders (he is Missing In Action). + * Upload sponsored by Al Nikolov . + + -- Dmitry E. Oboukhov Tue, 09 Oct 2007 00:21:25 +0400 + +fluxbox (1.0~rc3-5) unstable; urgency=low + + * Removed 'xfonts-artwiz' from Suggests, closes: #439649. + * Patch for russian language, closes: #438095. + * Upload sponsored by Al Nikolov . + + -- Dmitry E. Oboukhov Sat, 01 Sep 2007 14:20:09 +0400 + +fluxbox (1.0~rc3-4) unstable; urgency=low + + * Patch for fix bug: 'no fullscreen with openoffice.org', closes: #436807. + * Unreproducible in current version (1.0~rc3): + Xawtv flips out on fluxbox, closes: #269683. + + -- Dmitry E. Oboukhov Thu, 09 Aug 2007 23:14:53 +0400 + +fluxbox (1.0~rc3-3) unstable; urgency=low + + * Patch for fix bug: 'window placement screwed up with xinerama/fluxbox', + closes: #261114, #416251. + * Patch for fix bug: 'fluxbox locks up when using skype', closes: #432493. + * Patch for fix bug: 'no longer interprets mod5 modifier', closes: #432073. + * Returned fluxbox.desktop to /usr/share/xsessions/, + closes: #130282, #433184. + * Change maintainer record. + * Upload sponsored by Al Nikolov . + + -- Dmitry E. Oboukhov Tue, 10 Jul 2007 14:43:27 +0400 + +fluxbox (1.0~rc3-2) unstable; urgency=low + + * Fixed building with gcc 4.3 (closes: #417188). + * Fixed (or unreproducible) in current version (1.0rc3): + * Time in fluxbox taskbar does not get updated when timezone changed + (closes: #250738). + * Menu not updated (closes: #324280). + * Put gsetroot in suggest for fluxbox (closes: #360306). + * Clicking window with MouseFocus should also focus (closes: #370328). + * Wrong OOo opt window sizing (closes: #420484). + * Doesn't work properly with a borderless Eterm (closes: #386098). + * Maximized window conceals desktop (closes: #263415). + * Leaves display manager info file to /var/lib/menu-xdg/xsessions after + purge (closes: #407372). + * Old style tabs (closes: #263330). + * Debian menu system works with fluxbox (closes: #251105, #293755). + * Missing and non-free lucida fonts in default styles are replaced to dejavu, + closes: #405115). + * Patch to set background image in style applied (closes: #355378). + * Upload sponsored by Al Nikolov . + + -- Dmitry E. Oboukhov Fri, 29 Jun 2007 19:25:49 +0400 + +fluxbox (1.0~rc3-1) unstable; urgency=low + + * New record in control::Uploaders: Dmitry E. Oboukhov . + * Fixed (or unreproducible) in current version (1.0rc3): + * alt-tab is cycling out of order and skipping windows (closes: #263883). + * misterously disappearing menu (closes: #312808). + * hangs at start up if stderr is a terminal (closes: #392460). + * starts with empty menu (closes: #412857). + * Minimal window width of some applications too high (closes: #176310). + * /usr/bin/bsetroot: xsetroot does *not* honour multiple screens at all + (closes: #230800). + * Xine's main UI panel doesn't reappear after hiding it (closes: #268905). + * Homedir config files don't override defaults (closes: #271208). + * fluxbox produce zombies (closes: #281208). + * artwiz fonts don't display anymore (closes: #292554). + * javascript msgbox at firefox "suspend" xscreensaver lock + (closes: #298801). + * Fluxbox decoraciĆ³n y xmms (closes: #311669). + * firefox loses focus gained previously with Alt+Tab (closes: #319640). + * fbsetbg(1) manual refers to non-existing command bsetroot + (closes: #335218). + * fluxbox menu workspaces->someworkspace->app operations affect wrong app + (closes: #343838). + * Closing tabbed xterms moves windows down (closes: #357153). + * autogrouping tabs with ~/.fluxbox/groups broken (closes: #357690). + * Toolbar alpha settings discarded on log (closes: #375435). + * fluxbox 0.9.11 crash my system (closes: #292682). + * Update of fluxbox causes menu to show too many items (closes: #188124). + * fluxbox 0.1.14-2: strange char in time string (closes: #224761). + * session.keyFile in ~/.fluxbox/.init points to /etc/X11/fluxbox/keys + (closes: #297274). + * x-cursor for resize handles (closes: #310900). + * Missing locale directory (closes: #312104). + * Menu title texture does not always update (closes: #319608). + * relies on existence of $HOME/.fluxbox (closes: #348321). + * failure to override global textColor for unfocused window titles + (closes: #353387). + * [fbsetroot] Warning: Failed to open file + (/usr/share/fluxbox/nls/en_US/fluxbox.cat) (closes: #365867). + * FTBFS with G++ 4.1: namespace and extra qualification errors + (closes: #357490). + * key shortcut binding on latest fluxbox (closes: #260550). + * fonts and remeber workspace not working on ppc (closes: #292974). + * Anti aliasing is not activated by default. (closes: #302167). + * Patch from svn for fix bug: + 'error start fluxbox if directory ~/.fluxbox does not exists' + (closes: #430673). + * Removed old 'alternatives' from 'fluxbox' (closes: #430675). + + -- Dmitry E. Oboukhov Tue, 26 Jun 2007 16:39:32 +0400 + +fluxbox (1.0~rc3-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream release 1.0rc3. + * UTF-8 is now maintained in upstream. Closes: #397482. + * Patch from svn fixing clock width calculation applied. Closes: #410304. + * Removed diverts for bsetroot/bsetbg. Closes: #427044. + * Removed duplicates in Build-Depends. Closes: #421226. + * Added recursive change 'bsetroot' to 'fbsetroot' in + all style files. + * Instead of manual file moves and other hacks, just passing proper flags + to ./configure call. + * Removed incorrect debian/watch. + * Changed update-alternatives target from /usr/bin/fluxbox to + /usr/bin/startfluxbox. + * Removed the files no longer used for packaging. + * Fixed debhelper/cdbs using issues. + * Used dpatch to manage patches. + * Upload sponsored by Al Nikolov . + + -- Dmitry E. Oboukhov Fri, 22 Jun 2007 00:58:01 +0400 + +fluxbox (0.9.15.1+1.0rc2-1) experimental; urgency=low + + * New upstream release 1.0rc2 + + -- Matt Hope Tue, 4 Jul 2006 19:30:11 +1000 + +fluxbox (0.9.15.1+1.0rc0-1) experimental; urgency=low + + * New upstream release - 1.0rc + + -- Matt Hope Wed, 14 Jun 2006 17:37:24 +1000 + +fluxbox (0.9.14-1.2) unstable; urgency=low + + * NMU as part of the GCC 4.1 transition. + * Declare the namespace + (Closes: Bug#357490) + + -- Martin Michlmayr Fri, 26 May 2006 16:08:18 +0200 + +fluxbox (0.9.14-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove Build-Dependency on xlibs-dev (Closes: #346659). + * Credit and Big Thanks to Justin Pryzby + for the patch and testing. + + -- Amaya Rodrigo Sastre Wed, 18 Jan 2006 16:24:27 +0100 + +fluxbox (0.9.14-1) unstable; urgency=low + + * New version from upstream + - Renames 'bsetroot' to 'fbsetroot' + (Closes: Bug#308052, Bug#309958, Bug#319094) + - Fixes to font handling + (Closes: Bug#262305, Bug#300531, Bug#295941) + * Updated fluxbox.desktop to use startfluxbox + (Closes: Bug#314644) + + -- Matt Hope Sat, 1 Oct 2005 15:48:02 +1000 + +fluxbox (0.9.13-1) unstable; urgency=low + + * New upstream release + + -- Matt Hope Fri, 8 Jul 2005 01:43:30 +1000 + +fluxbox (0.9.12-1) unstable; urgency=low + + * New upstream release + + -- Matt Hope Tue, 18 Jan 2005 10:53:59 +1100 + +fluxbox (0.9.11-1sarge0) testing-proposed-updates; urgency=high + + * Fix for Severity=critical bug (Closes: Bug#310050) + - Cleans up old divert for bsetbg (See: Bug#263512) + - Patch from 'martin f krafft' + + -- Matt Hope Sat, 21 May 2005 22:02:22 +1000 + +fluxbox (0.9.11-1) unstable; urgency=low + + * New upstream release + (Closes: Bug#285999) + - Fixes FTBFS + (Closes: Bug#285956) + - Fixes possible DOS (CAN-2004-1204) + (Closes: Bug#285819) + + * Added martin f. krafft to "Uploaders:" + * 'bsetbg' references + - Removed diverts (Closes: Bug#263512) + - Removed manpage (Closes: Bug#252872) + * Finally put 'fluxbox-kde' to rest (removed from ./debian/control) + * Replaced ./debian/watch entry [sourceforge urls changing] + (Closes: Bug#276646) + * Updated 'menu' depends + (Closes: Bug#266217) + * Added details about some keybinding changes to NEWS.Debian + (Closes: 269404) (Thanks for madduck for examples) + * Added 'fbpager' and 'fbdesk' to "Suggests:" + + -- Matt Hope Mon, 20 Dec 2004 17:26:09 +1100 + +fluxbox (0.9.9-1) unstable; urgency=low + + * New upstream release + - Was going to upload to "experimental", but convinced otherwise. + + -- Matt Hope Fri, 30 Apr 2004 10:04:06 +1000 + +fluxbox (0.1.14-4) unstable; urgency=low + + * Using new gdm session, however leaving old file in place for time being + (Closes: Bug#240976) + * Okay, so Build-Conflicts: libxft2 wasn't the best solution... + Fixed the Build-{Depends,Conflicts} + (Closes: Bug#237686) + * Fixed up menu-escaping + (Closes: Bug#197266) + + -- Matt Hope Tue, 27 Apr 2004 23:04:01 +1000 + +fluxbox (0.1.14-3) unstable; urgency=low + + * strftime fixes from upstream authors. (Thanks Simon!) + (Closes: Bug#218431, Bug#217282) + * removed {postinst,prerm} call to 'wm-menu-config' + This is not needed, as the functionality is provided by debhelper + (Closes: Bug#197596) + * Added libxft2 to Build-Conflicts + (Closes: Bug#237008) + * Changed 'outputencoding' in menu-method, as Bill Allombert suggested + (Closes: Bug#234578) + * Included 'fbrun' manpage from Brian Boucheron + (Closes: Bug#233841) + + -- Matt Hope Tue, 9 Dec 2003 12:21:37 +1100 + +fluxbox (0.1.14-2) unstable; urgency=low + + * Applied patch from upstream to fix gcc3.3 compile errors + (Closes: Bug#196249) + + * debian/fluxbox.menu-method + Added [ outputencoding="ISO-8859-1" ] as suggested + by Bill Allombert in debian-devel-announce <20030704185541.GZ1545@seventeen> + (Closes: Bug#200141) + + * debian/fluxbox.postrm; + Applied patch from Yves Junqueira to debian/fluxbox.postrm + (Closes: Bug#195705) + + * Applied (modified) patch from #208814 to fix error processing translations + (Closes: Bug#209144, Bug#205974) + + -- Matt Hope Fri, 10 Oct 2003 17:03:01 +1000 + +fluxbox (0.1.14-1) unstable; urgency=low + + ``Lets hack on the laptop during linux.conf.au 2003!'' + -- Greetings from Perth, Australia. + http://conf.linux.org.au/ + + * New upstream release + * Tab on restart fixed + * New workspace names fixed (Closes: Bug#172564) + + * Package now includes ``fluxbox-generate_menu'' + * Changed `menu' suggest->depend. + * Removed 'Provides: fluxbox-kde' as kde support was pulled in *ages* ago. + * Removed 'Provides: blackbox' because it was an ugly hack. + Packages which work with fluxbox should have an alternate depends. + + -- Matt Hope Wed, 22 Jan 2003 15:24:15 +0800 + +fluxbox (0.1.13-1) unstable; urgency=low + + ``dopey's sleep deprivation experiment'' + + * New upstream release + - Fixes max-window-size bug + (Closes: Bug#159709) + - Fixes FTFBS: hppa + (Closes: Bug#164540) + - Fixes Window Menu for pt_BR + (Closes: Bug#168921, Bug#168929) + - Vertical tabs in Multi-head/xinerama setups fixed. + (Closes: Bug#158601) + * Applied upstream bugfix1 + (Closes: Bug#171655) + + -- Matt Hope Tue, 19 Nov 2002 23:51:14 +1100 + +fluxbox (0.1.12-2) unstable; urgency=low + + * Fixes FTBFS on HPPA. (-ffunction-sections) + (Closes: Bug#164540) + * Opps, should have closed this last time (New version 0.1.12) + (Closes: Bug#162021) + + -- Matt Hope Sat, 2 Nov 2002 16:12:08 +1100 + +fluxbox (0.1.12-1) unstable; urgency=low + + * New upstream release + - Problems with fluxbox not returning focus fixed. + (Closes: Bug#158806, Bug#159701) + - Maximizes to incorrect tab height fixed + (Closes: Bug#159109) + - Shaded windows with multiple tabs no longer + unshade when changing themes + (Closes: Bug#159222) + - Restart no longer re-iconizes windows + (Closes: Bug#159761) + + * Replaced the menu system. + (Closes: Bug#158600) + + -- Matt Hope Fri, 13 Sep 2002 11:33:30 +1000 + +fluxbox (0.1.10-2) unstable; urgency=low + + * Much self-flagellation over leaving accidental cruft in + debian/fluxbox.menu-method + (Closes: Bug#157876) + + * Applied patch from Simon Bowden to fix + ``fluxbox does not send windows to new workspaces'' + (Closes: Bug#150213) + + * Destroyed reminants of fluxbox-kde + + -- Matt Hope Sat, 24 Aug 2002 22:25:12 +1000 + +fluxbox (0.1.10-1) unstable; urgency=low + + * I finally give in to popular pressure... + * New upstream release + * Yup, new version (Closes: Bug#154752) + + -- Matt Hope Wed, 21 Aug 2002 21:51:43 +1000 + +fluxbox (0.1.9-2) unstable; urgency=low + + * Applied change from Michael Beattie to fix slit support in + Xinerama. + + -- Matt Hope Thu, 20 Jun 2002 23:37:22 +1000 + +fluxbox (0.1.9-1) unstable; urgency=low + + * New upstream release + * Applied patch to enable NLS from kita@kitaj.no-ip.com + * Applied upstream bugfix 2 + + -- Matt Hope Sat, 25 May 2002 23:53:06 +1000 + +fluxbox (0.1.8-1) unstable; urgency=low + + * New upstream release. + * Now includes xinerama support. + * Included menu-method patch from Grant Hollingworth + [ menu file should not escape '(' ] + (Closes: Bug#143096) + * Applied upstream bugfix 1 and 2. + * Applied font-fix patch from Sang-Hoon RHEE + (Closes: Bug#145709) + * Fixed debian/control, two `Provides' lines. + (Closes: Bug#147659) + + -- Matt Hope Wed, 22 May 2002 10:46:53 +1000 + +fluxbox (0.1.7-3) unstable; urgency=medium + + * Fixes previous idiocy trying to combine `fluxbox' and `fluxbox-kde' + back together, removes the `fluxbox-kde' virtual package. + + -- Matt Hope Fri, 12 Apr 2002 22:08:52 +1000 + +fluxbox (0.1.7-2) unstable; urgency=medium + + * Updated postinst call to ``kde-update-menu'' + (Closes: Bug#139439) + * Changed fonts in the following themes: + Makro, MerleyKay, Clean, CleanColor, Rampage + to not use `iso8859-1', rather `iso8859-*'. I believe this will + fix the `euro locales' problem. + (Closes: Bug#137349) + + -- Matt Hope Wed, 3 Apr 2002 22:34:18 +1000 + +fluxbox (0.1.7-1) unstable; urgency=medium + + * New upstream release. + (Closes: Bug#135984) + * urgency=medium - prevents upgrade of gdm. + * Conflicts with gdm (<< 2.2.5.4) as older versions had session + files in /etc/X11/gdm/Sessions .. newer versions are /etc/gdm/Sessions + * Moved session file back to /etc/gdm/Sessions + (Closes: Bug#136336) + * Corrected typo in package description. + (Closes: Bug#136855) + * Now ``Provides: blackbox'' [suggested: overridex@punkass.com] to allow + some of the blackbox applications, such as bbmail, bbpager, bblaunch. + * Included patch from Tommi Komulainen + * Upstream 0.1.7-bugfix1 + - Fixes problems with withdrawn applications + * Now KDE support is in the main binary. + - fluxbox-kde a [temp] virtual package to help move users over. + + -- Matt Hope Sat, 9 Mar 2002 11:04:57 +1100 + +fluxbox (0.1.6-2) unstable; urgency=medium + + * urgency=medium as 0.1.6-1 can be unusable in some conditions. + * Upstream 0.1.6-bugfix1 + - Fixes some problems with title-less windows such as xmms or + Sylpheed. + * Upstream 0.1.6-bugfix2 + - Fixes problems with a tilde (~) in menu. + * Includes text-ised FAQ from web-site, closes: Bug#129231 + * Included 'convertkeys' (see Bug#129230), closes: Bug#129230 + * Moved gdm session from /etc/gdm/Sessions to /etc/X11/gdm/Sessions + previously this caused problems, causing gdm not to work properly + if installed after fluxbox. + + -- Matt Hope Tue, 12 Feb 2002 20:36:31 +1100 + +fluxbox (0.1.6-1) unstable; urgency=low + + * New upstream release + * Updated config.{guess,sub} to 2002-01-02 (see: Bug#127540) + * Fixed broken postinst for fluxbox-kde, closes: Bug#128112. + * Fixed menu system for fluxbox-kde, closes: Bug#128295. + * Upstream has updated manpage, closes: Bug#128478 + + -- Matt Hope Sat, 12 Jan 2002 13:12:42 +1100 + +fluxbox (0.1.5-3) unstable; urgency=low + + * _Another_ new config.guess, dated 2002-01-02 which replaces a previous + config.guess (2001-12-13) which was broken on mips. + (Closes: #127540) + + -- Matt Hope Sat, 5 Jan 2002 01:10:40 +1100 + +fluxbox (0.1.5-2) unstable; urgency=medium + + * Applied upstream bbtools patch. (from http://fluxbox.sf.net/news.php?page=1) + * Updated config.{guess,sub}. (closes: #126828) + * Removed KDE dependencies. + * Fixed the fluxbox-kde menu support. + + -- Matt Hope Tue, 1 Jan 2002 18:30:27 +1100 + +fluxbox (0.1.5-1) unstable; urgency=low + + * Split fluxbox-kde into a separate binary package. + * Put upstream installation information into /usr/share/doc/fluxbox/ + (closes: #122508) + * New upstream release + * Marked extra files as conffiles + + -- Matt Hope Sun, 16 Dec 2001 14:35:00 +1100 + +fluxbox (0.1.4-3) unstable; urgency=low + + * Replaced package description (closes: #121178) + * Removed surplus "examples" directory in debian/dirs and restored + README.Debian (closes: #121259) + * Fixed errors in preinst. (closes: #121260, #121264) + * Modified GDM session script to use /etc/X11/Xsession (closes: #121261) + * Included /etc/gdm/Sessions/fluxbox as a conffile. + + -- Matt Hope Thu, 29 Nov 2001 01:55:19 +1100 + +fluxbox (0.1.4-2) unstable; urgency=low + + * Updated config.{guess,sub}, closes: #120773 + + -- Matt Hope (Dopey) Sat, 24 Nov 2001 12:38:20 +1100 + +fluxbox (0.1.4-1) unstable; urgency=low + + * Initial release, closes: #118738 + * Integrated with debian menu system + + -- Matt Hope (Dopey) Wed, 7 Nov 2001 22:38:54 +1100 --- fluxbox-1.0.0.orig/debian/fluxbox.postinst +++ fluxbox-1.0.0/debian/fluxbox.postinst @@ -0,0 +1,35 @@ +#!/bin/sh +# +# fluxbox postinst +# +# Shamelessly ripped off of Marcelo Magallon's script +# by Brent Fulgham +# +# +# Ripped off blackbox's postinst, by Matt Hope +# +set -e + +add_wm_entry () +{ + update-alternatives --install /usr/bin/x-window-manager \ + x-window-manager /usr/bin/startfluxbox 50 \ + --slave /usr/share/man/man1/x-window-manager.1.gz \ + x-window-manager.1.gz /usr/share/man/man1/fluxbox.1.gz +} + +case "$1" in + configure) + add_wm_entry + ;; + + abort-*) + # how did we get here? Force a non-zero exit code + exit 1 + ;; + + *) + ;; +esac + +#DEBHELPER# --- fluxbox-1.0.0.orig/debian/rules +++ fluxbox-1.0.0/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/dpatch.mk + + +DEB_CONFIGURE_SYSCONFDIR := /etc/X11/fluxbox + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-xinerama --enable-nls \ + --with-menu=/etc/X11/fluxbox/fluxbox.menu-user \ + --with-style=/usr/share/fluxbox/styles/BlueNight \ + --with-keys=/etc/X11/fluxbox/keys \ + --with-init=/etc/X11/fluxbox/init \ + --with-locale=/usr/share/fluxbox/nls \ + --enable-shape + +CXXFLAGS := -O2 -ffunction-sections + +clean:: + rm -f src/defaults.cc + +install/fluxbox:: + # We use menu file generated by the 'menu' package. + rm -f ./debian/fluxbox/usr/bin/fluxbox-generate_menu + # replace lucida font to dejavu + find ./debian/fluxbox/usr/share/fluxbox/styles/ -type f | \ + grep -v 'xpm$$' | xargs \ + perl -pi -e 's#\sbsetroot# fbsetroot#g; \ + s#\slucida# dejavu#g; \ + s#\s-\S+?-lucida-# -*-dejavu-#g; \ + s#\slucidasans# dejavusans#g; \ + s#-lucidatypewriter-#-dejavu-#g' --- fluxbox-1.0.0.orig/debian/compat +++ fluxbox-1.0.0/debian/compat @@ -0,0 +1 @@ +5 --- fluxbox-1.0.0.orig/debian/system.fluxbox-menu +++ fluxbox-1.0.0/debian/system.fluxbox-menu @@ -0,0 +1,21 @@ +# This is an automatically generated file. +# Please see for information. + +# to use your own menu, copy this to ~/.fluxbox/menu, then edit +# ~/.fluxbox/init and change the session.menuFile path to ~/.fluxbox/menu + +[begin] (Fluxbox) + +include-menu-defs + + [config] (Configuration) + [submenu] (Styles) {} + [stylesdir] (/usr/share/fluxbox/styles) + [stylesdir] (~/.fluxbox/styles) + [end] + [workspaces] (Workspaces) + [reconfig] (Reconfigure) + [restart] (Restart) + [exit] (Exit) + +[end] --- fluxbox-1.0.0.orig/debian/create_svn_package.sh +++ fluxbox-1.0.0/debian/create_svn_package.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +set -e + +repository='svn://svn.berlios.de/fluxbox/trunk' +current_version=`dpkg-parsechangelog|grep ^Version|\ + head -n 1|awk -- '{ print $2 }'|sed 's/-[0-9]\+$//'| \ + sed 's/+.*//'` +package=fluxbox + +fakeroot debian/rules clean + +test -d $package-$current_version && rm -fr $package-$current_version +svn checkout $repository $package-$current_version +cd $package-$current_version +svn_revision=svn`svn info|grep ^Revision|head -n 1|awk -- '{ print $2 }'` +cd .. +mv -v $package-$current_version $package-$current_version+$svn_revision +find $package-$current_version+$svn_revision -type d -name .svn \ + -exec rm -fr '{}' + +find $package-$current_version+$svn_revision -type f -name '.cvs*' \ + -exec rm -f {} + + +cd $package-$current_version+$svn_revision +./autogen.sh +cd .. +tar -czf ../${package}_$current_version+$svn_revision.orig.tar.gz \ + $package-$current_version+$svn_revision + +cp -ar debian $package-$current_version+$svn_revision +rm -f $package-$current_version+$svn_revision/debian/patches/00list +touch $package-$current_version+$svn_revision/debian/patches/00list + +rm -fr ../$package-$current_version+$svn_revision + +mv $package-$current_version+$svn_revision .. +cd ../$package-$current_version+$svn_revision +dch --newversion $current_version+$svn_revision-1 \ + --distribution experimental "New revision from svn." +cd .. +dpkg-source -b $package-$current_version+$svn_revision --- fluxbox-1.0.0.orig/debian/copyright +++ fluxbox-1.0.0/debian/copyright @@ -0,0 +1,48 @@ +This package was debianized by dopey@debian.org +Wed, 7 Nov 2001 22:38:54 +1100. + +It was downloaded from http://fluxbox.org/download.php + +Copyright: + +Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org) + +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 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. + +--- Copyright for the blackbox partions of the code: + +Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) + +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 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. --- fluxbox-1.0.0.orig/debian/README.Debian +++ fluxbox-1.0.0/debian/README.Debian @@ -0,0 +1,25 @@ +fluxbox for Debian +-------------------------------- + +Fluxbox is a window manager, that forked from ``blackbox'' after a long +period of blackbox inactivity. + +Currently, fluxbox supports the debian menu system, -however-, to use +user-menus, you need to alter the ~/.fluxbox/init file. + + +For using debian-menu You should set in Your ~/.fluxbox/init the +session.menuFile option into value: + +session.menuFile: ~/.fluxbox/fluxbox-menu + - if You want to manage the menu by starting update-menus by user + +session.menuFile: /etc/X11/fluxbox/fluxbox-menu + - if You want to see the menu that is refreshed automatically as + soon as programs are installed/deleted. + +You may also copy the file /etc/X11/fluxbox/fluxbox.menu-user +into Your directory ~/.fluxbox and edit it additionally. + +-- +Dmitry E. Oboukhov --- fluxbox-1.0.0.orig/debian/fluxbox.menu +++ fluxbox-1.0.0/debian/fluxbox.menu @@ -0,0 +1 @@ +?package(fluxbox):needs="wm" section="Window Managers" title="FluxBox" command="/usr/bin/startfluxbox" --- fluxbox-1.0.0.orig/debian/fluxbox.menu-method +++ fluxbox-1.0.0/debian/fluxbox.menu-method @@ -0,0 +1,32 @@ +#!/usr/bin/install-menu +# +# Generates fluxbox menus for all registered applications. +# (taken from Blackbox) +compat="menu-1" +outputencoding="LOCALE" + +!include menu.h + +genmenu="menudefs.hook" +examplercfile="system.fluxbox-menu" +rcfile="fluxbox-menu" +rootprefix="/etc/X11/fluxbox/" +userprefix=".fluxbox/" +treewalk=M) + +supported + x11= nstring(level(), " ") "[exec] (" esc($title, ")") ") {" esc($command, "()") "} <" esc($icon, "<>") ">\n" + wm= nstring(level(), " ") "[restart] (" esc($title, ")") ") {" esc($command, "()") "}\n" + text= nstring(level(), " ") "[exec] (" esc($title, ")") ") { x-terminal-emulator -T \"" $title "\" -e " esc($command, "()") "} <" esc($icon, "<>") ">\n" + fluxbox= nstring(level(), " ") "[" esc($command, "()") "] (" esc($title, ")") ")\n" +endsupported + +#preoutput= \ +# "# Automatically generated file. Please do not edit (see /usr/share/doc/menu/README)\n\n\n\nDebian MENU\n\n[begin] (Debian)\n" +#postoutput= \ +# "\nDebian END\n" + +startmenu= "" +submenutitle= nstring(level(), " ") "[submenu] (" esc($title,"()") ") {" esc($longtitle,"()") "}\n" +endmenu= ifneq( level(), "0", nstring(level(), " ") "[end]\n" ) + --- fluxbox-1.0.0.orig/debian/fluxbox.preinst +++ fluxbox-1.0.0/debian/fluxbox.preinst @@ -0,0 +1,21 @@ +#!/bin/sh + +# Remove old diverts +if [ "$1" = "upgrade" ]; then + if dpkg-divert --list | grep -q fluxbox; then + dpkg-divert --package fluxbox --remove --rename --divert \ + /usr/bin/bsetroot.blackbox /usr/bin/bsetroot + + dpkg-divert --package fluxbox --remove --rename --divert \ + /usr/share/man/man1/bsetroot.blackbox.1.gz \ + /usr/share/man/man1/bsetroot.1.gz + fi + + # old version contain 'fluxbox' current - 'startfluxbox' + if test -x /usr/sbin/update-alternatives; then + update-alternatives --remove x-window-manager /usr/bin/fluxbox + fi + +fi + +#DEBHELPER# --- fluxbox-1.0.0.orig/debian/fluxbox.menu-user +++ fluxbox-1.0.0/debian/fluxbox.menu-user @@ -0,0 +1,3 @@ +[begin] (fluxbox) +[include] (/etc/X11/fluxbox/fluxbox-menu) +[end] --- fluxbox-1.0.0.orig/debian/fluxbox.desktop +++ fluxbox-1.0.0/debian/fluxbox.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Fluxbox +Comment=Highly configurable and low resource X11 Window manager +Exec=/usr/bin/startfluxbox +Terminal=False +TryExec=/usr/bin/startfluxbox +Type=Application + +[Window Manager] +SessionManaged=true --- fluxbox-1.0.0.orig/debian/fluxbox.links +++ fluxbox-1.0.0/debian/fluxbox.links @@ -0,0 +1,2 @@ +/usr/share/man/man7/undocumented.7.gz /usr/share/man/man1/fluxbox-update_configs.1.gz +/usr/share/man/man7/undocumented.7.gz /usr/share/man/man1/fluxbox-remote.1.gz --- fluxbox-1.0.0.orig/debian/fluxbox.prerm +++ fluxbox-1.0.0/debian/fluxbox.prerm @@ -0,0 +1,16 @@ +#!/bin/sh +set -e + +case "$1" in + remove) + + if test -x /usr/sbin/update-alternatives; then + update-alternatives --remove x-window-manager /usr/bin/startfluxbox + fi + ;; + + *) + ;; +esac + +#DEBHELPER# --- fluxbox-1.0.0.orig/debian/fluxbox.install +++ fluxbox-1.0.0/debian/fluxbox.install @@ -0,0 +1,3 @@ +debian/system.fluxbox-menu /etc/X11/fluxbox/ +debian/fluxbox.menu-user /etc/X11/fluxbox/ +debian/fluxbox.desktop /usr/share/xsessions/ --- fluxbox-1.0.0.orig/debian/fluxbox.postrm +++ fluxbox-1.0.0/debian/fluxbox.postrm @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +Fluxbox_entry="/usr/bin/fluxbox" + +case "$1" in + purge) + test -d /etc/X11/fluxbox && rm -rf /etc/X11/fluxbox + ;; + remove) + ;; + *) + ;; +esac + + +#DEBHELPER#