debian/0000755000000000000000000000000012252032774007172 5ustar debian/icons/0000755000000000000000000000000011475007575010314 5ustar debian/icons/wmii.png0000644000000000000000000000045511475007575011773 0ustar PNG  IHDR w}YbKGDC pHYs B(xtIME ];IDATH1 @E߈XYX)Z)9!%l:مeLHfx03 *3SpX0Y0CpƐdnIJI^mH򄝁v| B Wed, 11 Dec 2013 10:51:15 +0100 wmii (3.10~20120413+hg2813-6) unstable; urgency=low * Set WMII_TERM to x-terminal-emulator, not xterm. * Fix building on m68k (and probably somewhere else). -- Andrew Shadura Wed, 04 Dec 2013 22:34:00 +0100 wmii (3.10~20120413+hg2813-5) unstable; urgency=low * Update wmiirc to use new bar file structure (fixes Notice command). * Patch witray to reposition tray when primary display changes. -- Andrew Shadura Mon, 02 Dec 2013 23:02:20 +0100 wmii (3.10~20120413+hg2813-4) unstable; urgency=low * Install libwmii_hack.so under a multiarchified private directory. * Link properly against libixp. -- Andrew Shadura Sat, 30 Nov 2013 20:55:07 +0100 wmii (3.10~20120413+hg2813-3ubuntu1) saucy; urgency=low * debian/patches/fix-ftbfs-with-binutils-gold: - Add -ldl to fix FTBFS with binutils-gold -- Angel Abad Fri, 12 Jul 2013 15:59:39 +0200 wmii (3.10~20120413+hg2813-3) unstable; urgency=low * Upload to unstable. * Drop a patch already applied upstream. -- Andrew Shadura Wed, 08 May 2013 10:20:21 +0200 wmii (3.10~20120413+hg2813-2) experimental; urgency=low * Provide HOST_NAME_MAX on systems not having it (fixes FTBFS on kFreeBSD and Hurd). -- Andrew Shadura Sat, 13 Apr 2013 09:37:36 +0200 wmii (3.10~20120413+hg2813-1) experimental; urgency=low * New maintainer (Closes: #606084). * New upstream release. * Fix the configuration files path in the manpage (Closes: #431942). * Removed autogenerated files. * Don't try to remove .hg* files. * Fix dpkg-shlibdeps warnings. * Bump Standards-Version to 3.9.4. * Suggest Python and Ruby. * Do a ldconfig call in postinst/postrm. * Add a manpage for wihack(1). * Fix the path in LD_PRELOAD for wihack. * Fix some markup in the manpages. * Build-depend on txt2tags to be able to regenerate manpages. * Added doc-base registration file. * Make the Unicode font default (Closes: #598630). * Remove an alternative dependency on dwm-tools. * Build-depend on python-all to ensure dh_python2 is available. -- Andrew Shadura Fri, 12 Apr 2013 21:43:51 +0200 wmii (3.9.2+debian-4) unstable; urgency=low * QA upload. * Fix crashes when additional displays are added (backported patch from upstream, closes: #628575). -- Andrew O. Shadura Mon, 16 Jul 2012 13:22:40 +0200 wmii (3.9.2+debian-3) unstable; urgency=low * QA upload. * Add patch ld-no-add-needed.patch: Fix build failure with ld --no-add-needed. Thanks to Matthias Klose for the patch! (closes: #606209) * Cosmetic changes in debian/rules; put additional files to clean into debian/clean. * Patch: manpage-actions-location.patch: fix location of global action directory in the manpage (closes: #431942) -- Ralf Treinen Wed, 06 Jul 2011 10:05:26 +0200 wmii (3.9.2+debian-2) unstable; urgency=low * QA upload * Added build-dependencies to fix FTBFS: libxft-dev, libfreetype6-dev, libxrandr-dev, libxinerama-dev. Thanks to Nobuhiro Iwamatsu for the patch! Closes: #606070. -- Ralf Treinen Mon, 06 Dec 2010 21:11:52 +0100 wmii (3.9.2+debian-1) unstable; urgency=low * Updating depends on suckless-tools, formerly dwm-tools. * Merging upstream version 3.9.2+debian. * Rediffing x-terminal-emulator.patch. * Rediffing cflags.patch. * Rediffing font.patch. * Removing manpage.patch, not required anymore. * Removing ixp-api.patch, not required anymore. * Updating rules file to remove useless files. * Removing another useless file through rules. * Updating standards version to 3.9.0. * Switching to source format 3.0 (quilt). * Updating to debhelper version 8. * Updating to standards version 3.9.1. * Removing version from libixp build-depends, not needed anymore. * Orphaning package. -- Daniel Baumann Mon, 29 Nov 2010 21:24:05 +0100 wmii (3.6+debian-8) unstable; urgency=low * Adding maintainer homepage field to control. * Marking maintainer homepage field to be also included in binary packages and changelog. * Adding README.source. * Adding explicit debian source version 1.0 until switch to 3.0. * Updating year in copyright file. * Updating to standards 3.8.4. * Sorting dh call in rules to more common order. * Updating README.source. * Making build-depends versioned where needed. * Moving maintainer homepage from control to copyright. * Removing mercurial files in clean target of rules. -- Daniel Baumann Thu, 08 Apr 2010 06:35:44 +0200 wmii (3.6+debian-7) unstable; urgency=low * Updating maintainer field. * Updating vcs fields. * Updating package to standards version 3.8.3. * Sorting depends. * Correcting desktop file location. -- Daniel Baumann Thu, 20 Aug 2009 20:31:37 +0200 wmii (3.6+debian-6) unstable; urgency=low * Updating package to standards version 3.8.2. * Using correct rfc-2822 date formats in changelog. * Prefixing debhelper files with package name. * Updating year in copyright file. * Adding description field in menu file. * Using quilt rather than dpatch. * Minimizing rules file. -- Daniel Baumann Tue, 04 Aug 2009 16:09:38 +0200 wmii (3.6+debian-5) unstable; urgency=low * Applying patch from James Westby to define IXP_NEEDAPI to 88, which is the required ixp API (Closes: #511954). -- Daniel Baumann Sun, 03 May 2009 10:01:00 +0200 wmii (3.6+debian-4) unstable; urgency=low * Bumped to new policy. * Updated menu file to new policy. * Removing empty directories. * Added patch to complete manpage headers. -- Daniel Baumann Sun, 23 Dec 2007 20:52:00 +0100 wmii (3.6+debian-3) unstable; urgency=low * Replaced not available fixed variant with plain 'fixed' font. -- Daniel Baumann Fri, 23 Nov 2007 13:51:00 +0100 wmii (3.6+debian-2) unstable; urgency=low * Removing -std=c99 from CFLAGS, thanks to Dann Frazier (Closes: #452015). -- Daniel Baumann Mon, 19 Nov 2007 21:25:00 +0100 wmii (3.6+debian-1) unstable; urgency=low * New upstream release. * Rebuild upstream tarball without conflicting debian directory. -- Daniel Baumann Sun, 18 Nov 2007 17:39:00 +0100 wmii (3.6~rc2+20070518-3) unstable; urgency=medium * Added libxext-dev to build-depends. -- Daniel Baumann Tue, 04 Sep 2007 23:23:00 +0200 wmii (3.6~rc2+20070518-2) unstable; urgency=medium [ Don Armstrong ] * Fix wmiirc and wmiiloop.sh to properly populate keys and the commands to handle them (Closes: #423521) -- Daniel Baumann Thu, 12 Jul 2007 11:37:00 +0200 wmii (3.6~rc2+20070518-1) unstable; urgency=low * New upstream snapshot. -- Daniel Baumann Fri, 18 May 2007 09:08:00 +0200 wmii (3.6~rc2+20070501-2) unstable; urgency=low * Added lintian override. * Do not compile wmiir statically. -- Daniel Baumann Tue, 15 May 2007 14:52:00 +0200 wmii (3.6~rc2+20070501-1) unstable; urgency=low * New upstream snapshot. * Minor cleanups. -- Daniel Baumann Tue, 01 May 2007 09:10:00 +0200 wmii (3.6~rc2+20070329-3) unstable; urgency=low * Rebuild against fixed debhelper, see #420158 (Closes: #420119, #420146). -- Daniel Baumann Sat, 21 Apr 2007 07:33:00 +0200 wmii (3.6~rc2+20070329-2) unstable; urgency=low * Fixed ETC in rules (Closes: #418003). -- Daniel Baumann Thu, 19 Apr 2007 10:28:00 +0200 wmii (3.6~rc2+20070329-1) unstable; urgency=low * New upstream snapshot: - Fixes problem with libixp (Closes: #416170). - Temporarily using and shipping embedded libixp for this snapshot only, this is not related to #416170. * Minor cleanups. -- Daniel Baumann Thu, 05 Apr 2007 17:01:00 +0200 wmii (3.6~rc2-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Wed, 07 Feb 2007 13:09:00 +0100 wmii (3.6~rc1-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Tue, 06 Feb 2007 16:47:00 +0100 wmii (3.5.1+20070202-1) unstable; urgency=low * New upstream snapshot. -- Daniel Baumann Sat, 03 Feb 2007 10:32:00 +0100 wmii (3.5.1+20070116-1) unstable; urgency=medium * New upstream snapshot: - fixes bug with tags. * Removed libxrand-dev build-depends, xrand patch was not ported to wmii 3.5. -- Daniel Baumann Thu, 18 Jan 2007 20:16:00 +0100 wmii (3.5.1-2) unstable; urgency=low * Triggering rebuild (Closes: #405647). -- Daniel Baumann Mon, 15 Jan 2007 18:46:00 +0100 wmii (3.5.1-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Tue, 02 Jan 2007 21:05:00 +0100 wmii (3.1-5) unstable; urgency=medium * Added patch from Evan Deaubl to add support for xrandr (Closes: #398900). -- Daniel Baumann Thu, 16 Nov 2006 17:04:00 +0100 wmii (3.1-4) unstable; urgency=medium * Updated upstream homepage (Closes: #395005). -- Daniel Baumann Sun, 29 Oct 2006 17:05:00 +0200 wmii (3.1-3) unstable; urgency=medium * Applied patch from Gonzalo Tornaria to fix fontset problem with UTF (Closes: #394781). -- Daniel Baumann Mon, 23 Oct 2006 18:12:00 +0200 wmii (3.1-2) unstable; urgency=low * New email address. -- Daniel Baumann Tue, 04 Jul 2006 23:45:00 +0200 wmii (3.1-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Sun, 18 Jun 2006 11:19:00 +0200 wmii (3.0-1) unstable; urgency=low * New upstream release. -- Daniel Baumann Fri, 19 May 2006 00:00:00 -0500 wmii (2.5.2-1) unstable; urgency=low * New upstream release. * Adjusted confdir path. * Adjusted 9base path in examples. -- Daniel Baumann Sat, 21 Jan 2006 01:14:00 +0100 wmii (2.5.1-1) unstable; urgency=low * New upstream release. * Removed now obsolete binary-package python2.3-libixp. * Removed conflict to wmifs, upstream did rename the binary accordingly. * Added icon and desktop entry for login-session managers (Closes: #345390). -- Daniel Baumann Sat, 14 Jan 2006 14:42:00 +0100 wmii (2-2) unstable; urgency=low * Added temporary conflict to wmifs (Closes: #335446, #338033). I will rename wmifs in the next revision, this conflict is just a quick fix. * Modifing default configuration: - using x-terminal-emulator instead of xterm (Closes: #334017). -- Daniel Baumann Thu, 03 Nov 2005 22:58:00 +0100 wmii (2-1) unstable; urgency=low * Initial release (Closes: #311567). -- Daniel Baumann Fri, 07 Oct 2005 11:26:13 +0200 debian/postrm0000644000000000000000000000007711570761716010454 0ustar if [ "$1" = "remove" ]; then ldconfig fi #DEBHELPER# exit 0 debian/wmii.wm0000644000000000000000000000001611475007575010510 0ustar /usr/bin/wmii debian/desktop/0000755000000000000000000000000011475007575010652 5ustar debian/desktop/wmii.desktop0000644000000000000000000000016111475007575013210 0ustar [Desktop Entry] Encoding=UTF-8 Name=Wmii Comment=Window manager improved 3 Exec=wmii Icon=wmii.png Type=XSession debian/copyright0000644000000000000000000000454112132051135011116 0ustar Files: * Copyright: (C) 2006-2007 Kris Maglione (C) 2003-2006 Anselm R. Garbe (C) 2005 Georg Neis License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 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. Files: debian/* Copyright: (C) 2005-2010 Daniel Baumann (C) 2011-2013 Andrew Shadura License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 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. debian/compat0000644000000000000000000000000212132051016010353 0ustar 9 debian/get-orig-source.sh0000755000000000000000000000133412132045000012524 0ustar #!/bin/sh -e TARBALLDIR=${1:-.} UPSTREAM_REPO=https://code.google.com/p/wmii/ PACKAGE=wmii SRC_VERSION=$(dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') SRC_REVISION=${SRC_VERSION##*hg} TARBALL=$(readlink -f "$TARBALLDIR/${PACKAGE}_${SRC_VERSION}.orig.tar.bz2") REPODIR="debian/orig-source/${PACKAGE}-${SRC_VERSION}.orig" if [ -e "$REPODIR" ] then echo "$REPODIR directory found, not removing. Aborted." exit 1 fi mkdir -p debian/orig-source echo "Cloning ${UPSTREAM_REPO}" hg clone "${UPSTREAM_REPO}" "$REPODIR" || exit 1 echo "Creating ${TARBALL} for revision $SRC_REVISION" cd "$REPODIR" hg archive -r "$SRC_REVISION" -X".hg*" "${TARBALL}" || exit 1 cd "$OLDPWD" rm -rf debian/orig-source debian/control0000644000000000000000000000227212252033256010574 0ustar Source: wmii Section: x11 Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Andrew Shadura Build-Depends: debhelper (>= 9), libx11-dev, libxext-dev, libixp-dev, libxt-dev, libxft-dev, libfreetype6-dev, libxrandr-dev, libxinerama-dev, txt2tags, python-all Standards-Version: 3.9.4 Homepage: http://www.suckless.org/ Vcs-Hg: http://anonscm.debian.org/hg/collab-maint/wmii Vcs-Browser: http://anonscm.debian.org/hg/collab-maint/wmii/summary Package: wmii Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, suckless-tools Suggests: ${python:Depends}, ruby Conflicts: wmii2 Replaces: wmii2 Recommends: wmii-doc Provides: x-window-manager Description: lightweight tabbed and tiled X11 window manager, version 3 wmii is a dynamic window manager for X11, which is highly customizable and usable with keyboard and mouse. It supports conventional, tabbed and tiled window management with low memory usage. It is highly modularized and uses an inter-process communication interface which is oriented on the 9p protocol of plan9. . This package contains version 3 of the window manager, wmii2 contains version 2. debian/patches/0000755000000000000000000000000012252032370010611 5ustar debian/patches/16-rc-fixes.patch0000644000000000000000000000061412247201343013601 0ustar Subject: Fix Notice command. --- a/rc/wmiirc.sh +++ b/rc/wmiirc.sh @@ -108,10 +108,10 @@ fi }& Event Notice - wmiir xwrite $noticebar $wi_arg + wmiir xwrite $noticebar "label $wi_arg" kill $xpid 2>/dev/null # Let's hope this isn't reused... - { sleep $noticetimeout; wmiir xwrite $noticebar ' '; }& + { sleep $noticetimeout; wmiir xwrite $noticebar 'label '; }& xpid = $! # Menus debian/patches/01-python.patch0000644000000000000000000000061512132061553013375 0ustar Subject: Install Python packages into the correct directories. --- a/mk/python.mk +++ b/mk/python.mk @@ -6,7 +6,7 @@ .py.install: echo PYTHON install $* $(PYPREFIX) DESTDIR=$(DESTDIR); \ - $(DEBUG) $(PYTHON) $< install -c --root=$${DESTDIR:-/} $(PYPREFIX) + $(DEBUG) $(PYTHON) $< install -c --root=$${DESTDIR:-/} --install-layout=deb $(PYPREFIX) pyclean: echo CLEAN build/ rm -rf build debian/patches/02-cflags.patch0000644000000000000000000000041711756300470013321 0ustar From: Andrew Shadura Subject: Remove debug flags from CFLAGS --- a/config.mk +++ b/config.mk @@ -18,7 +18,6 @@ # Flags include $(ROOT)/mk/gcc.mk -CFLAGS += -Os $(DEBUGCFLAGS) LDFLAGS += -g # Compiler, Linker. Linker should usually *not* be ld. debian/patches/09-wihack-ld-preload.patch0000644000000000000000000000066112132045402015347 0ustar Description: Fix the patch in LD_PRELOAD for wihack Author: Andrew Shadura --- a/cmd/wihack.sh +++ b/cmd/wihack.sh @@ -36,8 +36,7 @@ if [ ! -u "`which $1`" -a ! -g "`which $1`" ] then - export LD_PRELOAD=libwmii_hack.so - export LD_LIBRARY_PATH="@LIBDIR@${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}" + export LD_PRELOAD="@LIBDIR@/libwmii_hack.so" else unset WMII_HACK_TRANSIENT WMII_HACK_TYPE WMII_HACK_TAGS fi debian/patches/16-fix-confdir.patch0000644000000000000000000000041512132061616014270 0ustar Subject: Use the conventional configuration directory. --- a/mk/wmii.mk +++ b/mk/wmii.mk @@ -10,7 +10,7 @@ VERSION = $(WMII_HGVERSION) COPYRIGHT = ©2010 Kris Maglione -CONFDIR = wmii-hg +CONFDIR = wmii LOCALCONF = ~/.$(CONFDIR) GLOBALCONF = $(ETC)/$(CONFDIR) debian/patches/04-xterm.patch0000644000000000000000000000041712247615443013230 0ustar Use x-terminal-emulator, not xterm --- a/config.mk +++ b/config.mk @@ -14,7 +14,7 @@ INCLUDES = -I. -I$(ROOT)/include -I$(INCLUDE) -I/usr/include LIBS = -L$(ROOT)/lib -L/usr/lib -TERMINAL = xterm +TERMINAL = x-terminal-emulator # Flags include $(ROOT)/mk/gcc.mk debian/patches/03-font.patch0000644000000000000000000000372712247615406013044 0ustar Author: Daniel Baumann Description: Replaces not available fixed variant with plain 'fixed' font. --- a/alternative_wmiircs/plan9port/wmiirc +++ b/alternative_wmiircs/plan9port/wmiirc @@ -30,8 +30,8 @@ noticebar=/rbar/!notice # Theme -wmiifont='drift,-*-fixed-*-*-*-*-9-*-*-*-*-*-*-*' -wmiifont='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*' +wmiifont='-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-' +wmiifont='-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-' wmiinormcol=('#000000' '#c1c48b' '#81654f') wmiifocuscol=('#000000' '#81654f' '#000000') wmiibackground='#333333' --- a/alternative_wmiircs/python/wmiirc.py +++ b/alternative_wmiircs/python/wmiirc.py @@ -38,7 +38,7 @@ background = '#333333' floatbackground='#222222' -wmii['font'] = 'drift,-*-fixed-*-*-*-*-9-*-*-*-*-*-*-*' +wmii['font'] = '-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-*' wmii['normcolors'] = '#000000', '#c1c48b', '#81654f' wmii['focuscolors'] = '#000000', '#81654f', '#000000' wmii['grabmod'] = keys.defs['mod'] --- a/alternative_wmiircs/ruby/config.yaml +++ b/alternative_wmiircs/ruby/config.yaml @@ -36,7 +36,7 @@ ## # The font to use in all text drawn by wmii. # - font: -*-fixed-medium-r-*-*-13-*-*-*-*-*-*-* + font: -*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-* ## # Thickness of client border (measured in pixels). --- a/cmd/wmii/dat.h +++ b/cmd/wmii/dat.h @@ -18,7 +18,7 @@ #include #include "debug.h" -#define FONT "fixed" +#define FONT "-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-" #define FOCUSCOLORS "#000000 #81654f #000000" #define NORMCOLORS "#000000 #c1c48b #81654f" --- a/rc/wmiirc.sh +++ b/rc/wmiirc.sh @@ -20,7 +20,7 @@ export WMII_FOCUSCOLORS='#000000 #81654f #000000' export WMII_BACKGROUND='#333333' -export WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*' +export WMII_FONT='-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-*' set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS) export WMII_TERM="@TERMINAL@" debian/patches/17-witray-fix.patch0000644000000000000000000000205512247201241014163 0ustar From: Andrew Shadura Subject: Fix witray on multi-monitor setups As witray is displayed on primary screen only, every time primary screen changes, update the tray position. --- a/cmd/tray/tray.c +++ b/cmd/tray/tray.c @@ -77,7 +77,7 @@ sethandler(tray.win, &handlers); pushhandler(&scr.root, &root_handlers, nil); - selectinput(&scr.root, scr.root.eventmask | PropertyChangeMask); + selectinput(&scr.root, scr.root.eventmask | PropertyChangeMask | StructureNotifyMask); changeprop_string(tray.win, "_WMII_TAGS", tray.tags); @@ -409,6 +409,20 @@ }; static bool +root_config_event(Window *w, void *aux, XConfigureEvent *ev) { + + USED(aux); + int n; + Rectangle *rects; + + rects = xinerama_screens(&n); + + scr.rect = rects[0]; + tray_update(); + return false; +} + +static bool property_event(Window *w, void *aux, XPropertyEvent *ev) { if(ev->atom == NET("CURRENT_DESKTOP")) tray_resize(tray.r); @@ -418,6 +432,7 @@ } static Handlers root_handlers = { + .config = root_config_event, .property = property_event, }; debian/patches/21-fix-ftbfs-with-binutils-gold.patch0000644000000000000000000000032412252032370017464 0ustar --- a/cmd/x11/Makefile +++ b/cmd/x11/Makefile @@ -8,7 +8,7 @@ PACKAGES += $(X11PACKAGES) LIB = $(LIBS9) -LIBS += $(LIB) $(LIBIXP) +LIBS += $(LIB) $(LIBIXP) -ldl CFLAGS += $(INCX11) wiclick.out: wiclick.o debian/patches/series0000644000000000000000000000042212252032313012021 0ustar 01-python.patch 02-cflags.patch 02-no-silent.patch 03-font.patch 04-xterm.patch 09-wihack-ld-preload.patch 10-hostname.patch 13-fix-spelling-manpages.patch 16-fix-confdir.patch 16-rc-fixes.patch 17-witray-fix.patch 20-libixp-link.patch 21-fix-ftbfs-with-binutils-gold.patch debian/patches/02-no-silent.patch0000644000000000000000000000052412132046156013766 0ustar Description: No .SILENT. Author: Andrew Shadura --- a/mk/hdr.mk +++ b/mk/hdr.mk @@ -52,7 +52,7 @@ sinclude $(ROOT)/config.local.mk sinclude $(shell echo .)depend -.SILENT: +#.SILENT: .SUFFIXES: .$(SOEXT) .1 .3 .awk .build .c .clean .depend .install .man1 .man3 .o .o_pic .out .pdf .py .rc .sh .uninstall all: debian/patches/10-hostname.patch0000644000000000000000000000125112132206357013672 0ustar Subject: Provide a fake HOST_NAME_MAX on systems not having it. --- a/lib/libstuff/x11/windows/createwindow_visual.c +++ b/lib/libstuff/x11/windows/createwindow_visual.c @@ -5,6 +5,10 @@ #include #include +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + static char hostname[HOST_NAME_MAX + 1]; static long pid; --- a/cmd/wmii/dat.h +++ b/cmd/wmii/dat.h @@ -18,6 +18,10 @@ #include #include "debug.h" +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + #define FONT "-*-fixed-medium-r-*-*-*-120-75-75-c-60-iso10646-" #define FOCUSCOLORS "#000000 #81654f #000000" #define NORMCOLORS "#000000 #c1c48b #81654f" debian/patches/20-libixp-link.patch0000644000000000000000000000224012247714057014306 0ustar Subject: Link against system libixp wherever it is. --- a/config.mk +++ b/config.mk @@ -30,7 +30,7 @@ X11PACKAGES = x11 xinerama xrender xrandr INCX11 = $$(pkg-config --cflags $(X11PACKAGES)) -LIBIXP = $(LIBDIR)/libixp.a +LIBIXP = -lixp # Enable RTLD. Only necessary for Xft support. CFLAGS += -DHAVE_RTLD --- a/cmd/tray/Makefile +++ b/cmd/tray/Makefile @@ -9,8 +9,8 @@ PACKAGES += $(X11PACKAGES) -LIB = $(LIBS9) $(LIBIXP) -LIBS += -lm +LIB = $(LIBS9) +LIBS += -lm $(LIBIXP) OBJ = \ client \ ewmh \ --- a/cmd/wmii/Makefile +++ b/cmd/wmii/Makefile @@ -10,8 +10,8 @@ PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama -LIB = $(LIBIXP) $(LIBS9) -LIBS += -lm +LIB = $(LIBS9) +LIBS += -lm $(LIBIXP) OBJ = area \ bar \ --- a/cmd/x11/Makefile +++ b/cmd/x11/Makefile @@ -7,8 +7,8 @@ PACKAGES += $(X11PACKAGES) -LIB = $(LIBS9) $(LIBIXP) -LIBS += $(LIB) +LIB = $(LIBS9) +LIBS += $(LIB) $(LIBIXP) CFLAGS += $(INCX11) wiclick.out: wiclick.o --- a/cmd/menu/Makefile +++ b/cmd/menu/Makefile @@ -15,8 +15,8 @@ PACKAGES += $(X11PACKAGES) -LIB = $(LIBS9) $(LIBIXP) -LIBS += -lm +LIB = $(LIBS9) +LIBS += -lm $(LIBIXP) OBJ = main \ caret \ history \ debian/patches/13-fix-spelling-manpages.patch0000644000000000000000000000216712132060363016253 0ustar Description: Fix spelling in manpages. Author: Andrew Shadura --- a/man/wimenu.man1 +++ b/man/wimenu.man1 @@ -104,7 +104,7 @@ Move forward one word. : C-a - Move to the begining of the line. + Move to the beginning of the line. : C-e Move to the end of the line. @@ -172,13 +172,13 @@ the following script provides the appropriate completions: ``` -#!/bin/sh -f +#!/bin/sh \-f rm fifo mkfifo fifo # Open wimenu with a fifo as its stdin -wimenu -c ... debian/source/0000755000000000000000000000000011570756412010476 5ustar debian/source/include-binaries0000644000000000000000000000002611475007575013637 0ustar debian/icons/wmii.png debian/source/format0000644000000000000000000000001411475007575011707 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000005111475007575012113 0ustar compression = gzip compression-level = 9 debian/wmii.lintian-overrides0000644000000000000000000000011311570760576013524 0ustar wmii binary: shell-script-fails-syntax-check etc/X11/wmii/plan9port/wmiirc debian/wmii.install0000644000000000000000000000010711475007575011534 0ustar debian/desktop/* /usr/share/xsessions debian/icons/* /usr/share/icons debian/rules0000755000000000000000000000233112246434661010255 0ustar #!/usr/bin/make -f export CFLAGS := -Wall -W $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) ifeq "$(origin CC)" "default" export CC := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)-gcc endif export WMII_HGVERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\(hg.*\)\)-.*/\4/p') %: dh $@ --with python2 override_dh_auto_build: CFLAGS="$(CFLAGS)" $(MAKE) CC="$(CC) -c" PREFIX=/usr ETC=/etc/X11 STATIC="" LIBDIR="/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/wmii" override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/wmii PREFIX=/usr ETC=/etc/X11 LIBDIR="/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/wmii" install # Removing useless files rm -f debian/wmii/usr/share/doc/wmii/LICENSE rm -f debian/wmii/usr/share/doc/wmii/alternative_wmiircs/ruby/LICENSE override_dh_shlibdeps: dh_shlibdeps -Xlibwmii_hack override_dh_installchangelogs: dh_installchangelogs NEWS get-orig-source: @d=$$(readlink -e $(MAKEFILE_LIST)); \ cd $${d%/*}/..; \ debian/get-orig-source.sh $(CURDIR) .PHONY: override_dh_auto_build override_dh_auto_install override_dh_installchangelogs get-orig-source debian/wmii.menu0000644000000000000000000000040111475007575011027 0ustar ?package(wmii):needs="wm" section="Window Managers"\ title="Wmii" longtitle="Window manager improved 3"\ description="wmii is a dynamic window manager for X11, which is highly customizable and usable with keyboard and mouse."\ command="/usr/bin/wmii" debian/doc-base0000644000000000000000000000032311571404562010571 0ustar Document: wmii Title: The wmii User Guide Author: Kris Maglione Abstract: This manual describes what wmii is, and how it can be used. Section: Window Managers Format: PDF Files: /usr/share/doc/wmii/wmii.pdf.gz debian/clean0000644000000000000000000000011112132045566010170 0ustar man/*.1 include/ixp.h include/ixp_srvutil.h libixp/* cmd/menu/bindings.c debian/wmii.docs0000644000000000000000000000000711475007575011015 0ustar README debian/postinst0000644000000000000000000000010211570761732010776 0ustar if [ "$1" = "configure" ]; then ldconfig fi #DEBHELPER# exit 0