debian/0000755000000000000000000000000011732453365007177 5ustar debian/tinywm.menu0000644000000000000000000000015411732452502011404 0ustar ?package(tinywm): \ needs="wm" \ section="Window Managers" \ title="TinyWM" \ command="/usr/bin/tinywm" debian/tinywm.manpages0000644000000000000000000000002011640217310012215 0ustar debian/tinywm.1 debian/tinywm.prerm0000644000000000000000000000036511640217310011563 0ustar #!/bin/sh set -e Tinywm_entry="/usr/bin/tinywm" PACKAGE="tinywm" case "$1" in remove) #rm -rf /etc/X11/$PACKAGE update-alternatives --remove x-window-manager \ $Tinywm_entry ;; *) ;; esac #DEBHELPER# debian/copyright0000644000000000000000000000034311640217310011114 0ustar This package was debianized by Nobuhiro Iwamatsu on Sun, 16 Jan 2005 02:24:59 +0900. It was downloaded from Upstream Author: Nick Welch Copyright: Public Domain. debian/tinywm.postinst0000644000000000000000000000131511640217310012315 0ustar #!/bin/sh # # tinywm postinst # # Shamelessly ripped off of Marcelo Magallon's script # by Brent Fulgham # # # Ripped off blackbox's postinst, by Matt Hope # and ripped off once again by Nobuhoro Iwamatsu # set -e WMentry="/usr/bin/tinywm" add_wm_entry () { update-alternatives --install /usr/bin/x-window-manager \ x-window-manager $WMentry 20 \ --slave /usr/share/man/man1/x-window-manager.1.gz \ x-window-manager.1.gz /usr/share/man/man1/tinywm.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# debian/source/0000755000000000000000000000000011640217310010461 5ustar debian/source/format0000644000000000000000000000001411640217310011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211640220270010356 0ustar 7 debian/tinywm.sample-gdm-session0000644000000000000000000000017611640217310014145 0ustar #!/bin/sh # # /etc/gdm/Sessions/tinywm # # global tinywm session file -- used by gdm exec /etc/X11/Xsession /usr/bin/tinywm debian/tinywm.desktop0000644000000000000000000000026511640217310012106 0ustar [Desktop Entry] Encoding=UTF-8 Name=Tinywm Comment=Ridiculously tiny window manager Exec=tinywm Terminal=False TryExec=tinywm Type=Application [Window Manager] SessionManaged=true debian/README.Debian0000644000000000000000000000050511640217310011222 0ustar tinywm for Debian ----------------- TinyWM is a ridiculously tiny window manager implemented in nearly as few lines of C as possible, without being obfuscated or entirely useless. It allows you to move, resize, focus (sloppy), and raise windows. -- Nobuhiro Iwamatsu Mon, 14 Mar 2005 00:13:19 +0900 debian/control0000644000000000000000000000137411725555332010606 0ustar Source: tinywm Section: x11 Priority: optional Maintainer: Nobuhiro Iwamatsu Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), libx11-dev, libxext-dev, python-xlib, x11proto-core-dev Standards-Version: 3.9.3 Package: tinywm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Provides: x-window-manager Description: tiny window manager TinyWM is a small, simple window manager. It has a minimal memory footprint, which makes it useful in embedded systems. It features window move, resize, and raise operations, and supports "sloppy focus". . Due to its simplicity, its source code (in C and Python) can be used as a reference implementation for developers seeking to understand basic window manager programming. debian/changelog0000644000000000000000000000437711732453136011060 0ustar tinywm (1.3-9) unstable; urgency=low * Add debian menu entry. (Closes: #664687) debian/tinywm.menu. -- Nobuhiro Iwamatsu Thu, 22 Mar 2012 02:27:24 +0900 tinywm (1.3-8) unstable; urgency=low * Update debian/control. - Remove Dm-Upload-Allowed. - Update Standards-Version to 3.9.3. * Update patch format to DEP3. -- Nobuhiro Iwamatsu Wed, 07 Mar 2012 12:52:46 +0900 tinywm (1.3-7) unstable; urgency=low * Update debian/control. - Update email address. - Remove Dm-Upload-Allowed. - Update Standards-Version to 3.9.2. - Change build system from cdbs to debhelper. * Change format to 3.0 (quilt). Add source/format file. * Add patches/add_install_taget.patch. * Fix build with ld --as-needed. (Closes: #641397) Add patches/fix_ftbfs_ld_as_needed.patch. -- Nobuhiro Iwamatsu Tue, 27 Sep 2011 12:25:47 +0900 tinywm (1.3-6) unstable; urgency=low * Update Standards-Version. * Fix FTBFS with new dpkg-dev. (closes: #535312) -- Nobuhiro Iwamatsu Fri, 03 Jul 2009 23:29:07 +0900 tinywm (1.3-5) unstable; urgency=low * Change maintainer e-mail address. * Change use to CDBS. * Update Standards-Version. * Add "DM-Upload-Allowed: yes" to debian/control. * Now build-deps on x11proto-core-dev instead of obsolete x-dev. (closes: #515457) -- Nobuhiro Iwamatsu Wed, 25 Mar 2009 20:24:28 +0900 tinywm (1.3-4) unstable; urgency=low * Removing xlibs-dev and replacing with libx11-dev (closes: #347051) -- Nobuhiro Iwamatsu Mon, 9 Jan 2006 23:03:44 +0900 tinywm (1.3-3) unstable; urgency=low * Fixed does not remove alternatives (closes: #333302) -- Nobuhiro Iwamatsu Wed, 12 Oct 2005 21:32:09 +0900 tinywm (1.3-2) unstable; urgency=low * Fixes can't purge tinywm (closes: #306175) * Change discription of man and control file (closes: #306418, #306419) * /etc/gdm/Sessions/tinywm was not installed (closes: #311172) -- Nobuhiro Iwamatsu Sun, 1 May 2005 12:43:22 +0900 tinywm (1.3-1) unstable; urgency=low * Initial release, closes: #298195 -- Nobuhiro Iwamatsu Mon, 14 Mar 2005 00:13:19 +0900 debian/tinywm.10000644000000000000000000000144211640217310010573 0ustar .TH TINYWM "1" "March 2005" .SH NAME tinywm \- tiny window manager .SH SYNOPSIS .B tinywm .SH DESCRIPTION \fBTinyWM\fP is a small, simple window manager. It has a minimal memory footprint, which makes it useful in embedded systems. It features window move, resize, and raise operations, and supports "sloppy focus". . Due to its simplicity, its source code (in C and Python) can be used as a reference implementation for developers seeking to understand basic window manager programming. .SH USAGE .TP Focus follows pointer. .TP Alt+Button1, drag: interactive window move .TP Alt+Button3, drag: interactive window resize .TP Alt+F1: raise focused window .SH AUTHOR This manual page was written by Nobuhiro Iwamatsu , for the Debian GNU/Linux system (but may be used by others). debian/rules0000755000000000000000000000037611640223471010254 0ustar #!/usr/bin/make -f LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) LDFLAGS+=-Wl,-z,defs -Wl,--as-needed export LDFLAGS %: dh $@ --with quilt override_dh_install: install -m 644 debian/tinywm.desktop \ $(CURDIR)/debian/tinywm/usr/share/xsessions/ debian/tinywm.docs0000644000000000000000000000000711640217310011357 0ustar README debian/patches/0000755000000000000000000000000011725556177010635 5ustar debian/patches/fix_ftbfs_ld_as_needed.patch0000644000000000000000000000103011725556177016270 0ustar Description: Fix ftbfs with ld --as-needed Forwarded: no Origin: no Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641397 Author: Matthias Klose --- a/Makefile 2011-09-27 12:22:03.000000000 +0900 +++ b/Makefile 2011-09-27 12:22:13.000000000 +0900 @@ -3,7 +3,7 @@ CFLAGS?=-Os -pedantic -Wall all: - $(CC) $(CFLAGS) -I$(PREFIX)/include -L$(PREFIX)/lib -lX11 -o tinywm tinywm.c + $(CC) $(CFLAGS) -I$(PREFIX)/include tinywm.c -L$(PREFIX)/lib -lX11 -o tinywm install: install -d ${DESTDIR}${BINDIR} debian/patches/series0000644000000000000000000000006511640222566012037 0ustar add_install_taget.patch fix_ftbfs_ld_as_needed.patch debian/patches/add_install_taget.patch0000644000000000000000000000073311725556026015314 0ustar Description: Add install target to Makefile Forwarded: no Origin: no Bug-Debian: no Author: Nobuhiro Iwamatsu --- tinywm-1.3.orig/Makefile +++ tinywm-1.3/Makefile @@ -1,9 +1,14 @@ +BINDIR?=/usr/bin PREFIX?=/usr/X11R6 CFLAGS?=-Os -pedantic -Wall all: $(CC) $(CFLAGS) -I$(PREFIX)/include -L$(PREFIX)/lib -lX11 -o tinywm tinywm.c +install: + install -d ${DESTDIR}${BINDIR} + install -m 755 tinywm ${DESTDIR}${BINDIR} + clean: rm -f tinywm debian/tinywm.dirs0000644000000000000000000000006111640217310011370 0ustar usr/bin usr/share/doc/tinywm usr/share/xsessions