summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/debian/README.source49
-rw-r--r--package/debian/changelog149
-rw-r--r--package/debian/compat1
-rw-r--r--package/debian/control30
-rw-r--r--package/debian/copyright77
-rw-r--r--package/debian/patches/01_debian_system_twmrc.diff99
-rw-r--r--package/debian/patches/series1
-rwxr-xr-xpackage/debian/rules24
-rw-r--r--package/debian/twm.README.Debian20
-rw-r--r--package/debian/twm.desktop69
-rw-r--r--package/debian/twm.examples3
-rw-r--r--package/debian/twm.install4
-rw-r--r--package/debian/twm.links1
-rw-r--r--package/debian/twm.menu6
-rw-r--r--package/debian/twm.menu-method37
-rw-r--r--package/debian/twm.postinst18
-rw-r--r--package/debian/twm.postrm20
-rw-r--r--package/debian/twm.prerm18
-rw-r--r--package/debian/upstream/signing-key.asc60
-rw-r--r--package/debian/watch4
20 files changed, 690 insertions, 0 deletions
diff --git a/package/debian/README.source b/package/debian/README.source
new file mode 100644
index 0000000..4ecd5e6
--- /dev/null
+++ b/package/debian/README.source
@@ -0,0 +1,49 @@
+------------------------------------------------------
+Quick Guide To Patching This Package For The Impatient
+------------------------------------------------------
+
+1. Make sure you have quilt installed
+2. Unpack the package as usual with "dpkg-source -x"
+3. Run the "patch" target in debian/rules
+4. Create a new patch with "quilt new" (see quilt(1))
+5. Edit all the files you want to include in the patch with "quilt edit"
+ (see quilt(1)).
+6. Write the patch with "quilt refresh" (see quilt(1))
+7. Run the "clean" target in debian/rules
+
+Alternatively, instead of using quilt directly, you can drop the patch in to
+debian/patches and add the name of the patch to debian/patches/series.
+
+------------------------------------
+Guide To The X Strike Force Packages
+------------------------------------
+
+The X Strike Force team maintains X packages in git repositories on
+git.debian.org in the pkg-xorg subdirectory. Most upstream packages
+are actually maintained in git repositories as well, so they often
+just need to be pulled into git.debian.org in a "upstream-*" branch.
+Otherwise, the upstream sources are manually installed in the Debian
+git repository.
+
+The .orig.tar.gz upstream source file could be generated using this
+"upstream-*" branch in the Debian git repository but it is actually
+copied from upstream tarballs directly.
+
+Due to X.org being highly modular, packaging all X.org applications
+as their own independent packages would have created too many Debian
+packages. For this reason, some X.org applications have been grouped
+into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
+x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
+Most packages, including the X.org server itself and all libraries
+and drivers are, however maintained independently.
+
+The Debian packaging is added by creating the "debian-*" git branch
+which contains the aforementioned "upstream-*" branch plus the debian/
+repository files.
+When a patch has to be applied to the Debian package, two solutions
+are involved:
+* If the patch is available in one of the upstream branches, it
+ may be git'cherry-picked into the Debian repository. In this
+ case, it appears directly in the .diff.gz.
+* Otherwise, the patch is added to debian/patches/ which is managed
+ with quilt as documented in /usr/share/doc/quilt/README.source.
diff --git a/package/debian/changelog b/package/debian/changelog
new file mode 100644
index 0000000..46efb45
--- /dev/null
+++ b/package/debian/changelog
@@ -0,0 +1,149 @@
+twm (1:1.0.10-1) unstable; urgency=medium
+
+ * Team upload.
+ * Update Vcs-* control fields to point at salsa.
+ * Update www.gnu.org and xorg.freedesktop.org URLs in packaging to https.
+ * Delete XSFBS-related cruft from README.source.
+ * Update upstream git URL to point at gitlab.fdo.
+ * New upstream release
+
+ -- Julien Cristau <jcristau@debian.org> Thu, 06 Sep 2018 15:16:24 +0200
+
+twm (1:1.0.9-1) unstable; urgency=medium
+
+ * Let uscan verify tarball signatures.
+ * New upstream release.
+
+ -- Julien Cristau <jcristau@debian.org> Sun, 03 May 2015 15:48:37 +0200
+
+twm (1:1.0.8-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Fix Vcs-Browser control field (closes: #736408). Thanks, Mateusz Łukasik!
+ * Rewrite debian/rules using dh, bump compat to 9, drop xsfbs.
+ * Update 01_debian_system_twmrc.diff.
+ * Disable silent build rules.
+
+ -- Julien Cristau <jcristau@debian.org> Sun, 13 Jul 2014 11:13:12 +0200
+
+twm (1:1.0.6-1) unstable; urgency=low
+
+ * Kill obsolete svn $Id$ tags from packaging.
+ * postinst: drop obsolete cleanup for /usr/bin/X11/twm x-window-manager
+ alternative.
+ * Remove myself from Uploaders.
+ * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
+ good reason. Thanks, Colin Watson!
+ * New upstream release.
+ * Update debian/copyright from COPYING.
+ * Various debian/rules updates:
+ - use $(filter) instead of $(findstring) to parse DEB_BUILD_OPTIONS
+ - enable parallel builds
+ - fix rules dependencies
+ - drop useless --enable-man-pages=3 configure flag
+ * Add build-arch and (empty) build-indep targets.
+ * Drop Pre-Depends on x11-common.
+ * Remove David Nusinow and Brice Goglin from Uploaders. Thanks for your
+ work!
+ * Bump Standards-Version to 3.9.1.
+ * Run autoreconf at build time. Delete generated files on clean.
+ Build-depend on xutils-dev and automake.
+ * Refresh 01_debian_system_twmrc.diff.
+ * Don't call dh_makeshlibs [lintian].
+
+ -- Julien Cristau <jcristau@debian.org> Wed, 09 Feb 2011 17:42:27 +0100
+
+twm (1:1.0.4-2) unstable; urgency=low
+
+ * Update patches to not require -p0 and pull newest xsfbs, closes: #485267.
+ * Add myself to Uploaders.
+
+ -- Brice Goglin <bgoglin@debian.org> Sat, 14 Jun 2008 16:08:36 +0200
+
+twm (1:1.0.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Fixup patch 01_debian_system_twmrc.diff
+ * Remove -1 debian revisions from build-deps to please lintian.
+ * Add Vcs-* control fields.
+
+ -- Julien Cristau <jcristau@debian.org> Sat, 08 Mar 2008 03:59:33 +0100
+
+twm (1:1.0.3-3) unstable; urgency=low
+
+ [ Julien Cristau ]
+ * debian/twm.menu-method: add a "supported" entry for the wm menu, to make
+ it possible to switch to another window manager from twm, closes: #409111.
+ * Menu transition: "WindowManagers" renamed to "Window Managers".
+ * Add myself to Uploaders.
+ * Bump Standards-Version to 3.7.3.
+
+ [ Brice Goglin ]
+ * Add a /usr/share/xsessions/twm.desktop (stolen from kdm's private
+ database) so that twm appears in the list of possible sessions in
+ all *dm that support it, thanks Christopher Martin, closes: #335071.
+
+ -- Julien Cristau <jcristau@debian.org> Sat, 12 Jan 2008 17:31:20 +0100
+
+twm (1:1.0.3-2) unstable; urgency=low
+
+ * Generate the maintainer scripts properly (so the x-window-manager
+ alternative is installed), and remove old transition code from
+ the XFree86 4.x days.
+
+ -- Julien Cristau <jcristau@debian.org> Fri, 08 Jun 2007 14:35:30 +0200
+
+twm (1:1.0.3-1) unstable; urgency=low
+
+ [ Julien Cristau ]
+ * New upstream release.
+ * Install the manpage as twm.1 instead of twm.1x and update
+ update-alternatives parameters (closes: #396940).
+ * Use dh_install --list-missing.
+ * Make sure twm looks for system.twmrc in /etc/X11/twm, not
+ /usr/share/X11/twm.
+
+ [ Brice Goglin ]
+ * Drop useless -DLIBXCURSOR from debian/rules (closes: #384073).
+
+ -- Julien Cristau <jcristau@debian.org> Fri, 08 Jun 2007 01:03:48 +0200
+
+twm (1:1.0.1-4) unstable; urgency=low
+
+ * Run dh_install menu so that we actually install the menu method. Thanks
+ giacomo boffi for the report and Bill Allombert for the fix.
+ (closes: #364255)
+ * Add a pre-depends on x11-common so the upgrade from X11R6 goes smoothly.
+ Thanks Vasilis Vasaitis. (closes: #365913)
+ * Add outputencoding="ASCII"; to the menu-method the facilitate translations
+ of menus. Thanks Bill Allombert.
+ * Add quilt to build-depends
+ * Bump standards version to 3.7.2.0
+ * Bump debhelper compat to version 5
+ * Point the menu method at /usr/bin/install-menu rather than /usr/sbin. Also
+ bump the version of menu we depend on to >= 2.1.26, which implements this
+ change
+
+ -- David Nusinow <dnusinow@debian.org> Sun, 21 May 2006 19:14:42 -0400
+
+twm (1:1.0.1-3) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- David Nusinow <dnusinow@debian.org> Tue, 4 Apr 2006 18:44:37 -0400
+
+twm (1:1.0.1-2) experimental; urgency=low
+
+ [ David Nusinow ]
+ * Add versioned build-depends on the modular X libs. Thanks Frank
+ Lichtenheld. (closes: #354098)
+ * Port patches from trunk
+ + debian/903_debian_system.twmrc.diff
+
+ -- David Nusinow <dnusinow@debian.org> Sun, 26 Feb 2006 22:55:58 -0500
+
+twm (1:1.0.1-1) experimental; urgency=low
+
+ * First modular upload to Debian
+
+ -- David Nusinow <dnusinow@debian.org> Sun, 19 Feb 2006 19:58:38 -0500
diff --git a/package/debian/compat b/package/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/package/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/package/debian/control b/package/debian/control
new file mode 100644
index 0000000..9c51437
--- /dev/null
+++ b/package/debian/control
@@ -0,0 +1,30 @@
+Source: twm
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-autoreconf,
+ pkg-config,
+ libx11-dev (>= 2:1.0.0-2),
+ libxext-dev (>= 1:1.0.0),
+ libxt-dev (>= 1:1.0.0),
+ libxmu-dev (>= 1:1.0.1),
+ bison,
+ flex,
+ quilt,
+ xutils-dev (>= 1:7.5+4),
+ automake,
+Standards-Version: 3.9.1
+Vcs-Git: https://salsa.debian.org/xorg-team/app/twm.git
+Vcs-Browser: https://salsa.debian.org/xorg-team/app/twm
+
+Package: twm
+Architecture: any
+Depends: menu (>= 2.1.26), ${shlibs:Depends}, ${misc:Depends}
+Provides: x-window-manager
+Description: Tab window manager
+ twm is a window manager for the X Window System. It provides title bars,
+ shaped windows, several forms of icon management, user-defined macro
+ functions, click-to-type and pointer-driven keyboard focus, and
+ user-specified key and pointer button bindings.
diff --git a/package/debian/copyright b/package/debian/copyright
new file mode 100644
index 0000000..8055d76
--- /dev/null
+++ b/package/debian/copyright
@@ -0,0 +1,77 @@
+This package was downloaded from
+https://xorg.freedesktop.org/releases/individual/app/
+
+
+Copyright 1989, 1994, 1998 The Open Group
+Copyright 2005 Hitachi, Ltd.
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+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
+OPEN GROUP 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.
+
+Except as contained in this notice, the name of The Open Group shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from The Open Group.
+
+
+ Copyright 1988 by Evans & Sutherland Computer Corporation,
+ Salt Lake City, Utah
+ Cambridge, Massachusetts
+
+ All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and
+its documentation for any purpose and without fee is hereby
+granted, provided that the above copyright notice appear in all
+copies and that both that copyright notice and this permis-
+sion notice appear in supporting documentation, and that the
+name of Evans & Sutherland not be used in advertising
+in publicity pertaining to distribution of the software without
+specific, written prior permission.
+
+EVANS & SUTHERLAND DISCLAIMs ALL WARRANTIES WITH REGARD
+TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
+ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND
+BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM-
+AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
+OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
+OR PERFORMANCE OF THIS SOFTWARE.
+
+
+
+Copyright (C) 1998 The XFree86 Project, Inc. All Rights Reserved.
+
+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
+XFREE86 PROJECT 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.
+
+Except as contained in this notice, the name of the XFree86 Project shall
+not be used in advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization from the
+XFree86 Project.
diff --git a/package/debian/patches/01_debian_system_twmrc.diff b/package/debian/patches/01_debian_system_twmrc.diff
new file mode 100644
index 0000000..b7e3330
--- /dev/null
+++ b/package/debian/patches/01_debian_system_twmrc.diff
@@ -0,0 +1,99 @@
+From: Branden Robinson <branden@debian.org>
+
+Fix system.twmrc to actually be useful and tabbed right, as well as add
+the Debian menu.
+
+Index: twm/src/system.twmrc
+===================================================================
+--- twm.orig/src/system.twmrc
++++ twm/src/system.twmrc
+@@ -48,7 +48,8 @@ Function "move-or-iconify" { f.move f.de
+ #
+ # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
+ #
+-Button1 = : root : f.menu "defops"
++Button1 = : root : f.menu "main"
++Button2 = : root : f.menu "windowops"
+
+ Button1 = m : window|icon : f.function "move-or-lower"
+ Button2 = m : window|icon : f.iconify
+@@ -66,25 +67,39 @@ Button2 = : iconmgr : f.iconify
+ #
+ # And a menus with the usual things
+ #
+-menu "defops"
++menu "main"
+ {
+-"Twm" f.title
+-"Iconify" f.iconify
+-"Resize" f.resize
+-"Move" f.move
+-"Raise" f.raise
+-"Lower" f.lower
+-"" f.nop
+-"Focus" f.focus
+-"Unfocus" f.unfocus
+-"Show Iconmgr" f.showiconmgr
+-"Hide Iconmgr" f.hideiconmgr
+-"" f.nop
+-"Xterm" f.exec "exec xterm &"
+-"" f.nop
+-"Kill" f.destroy
+-"Delete" f.delete
+-"" f.nop
+-"Restart" f.restart
+-"Exit" f.quit
++ "Main Menu" f.title
++ "Debian" f.menu "/Debian"
++ "" f.nop
++ "Show Icon Manager" f.showiconmgr
++ "Hide Icon Manager" f.hideiconmgr
++ "" f.nop
++ "Exit" f.menu "Quit-Verify"
+ }
++
++menu "Quit-Verify"
++{
++ "Really quit twm?" f.title
++ "No, restart twm" f.restart
++ "Yes, really quit" f.quit
++}
++
++menu "windowops"
++{
++ "Window Ops" f.title
++ "" f.nop
++ "Iconify" f.iconify
++ "Resize" f.resize
++ "Move" f.move
++ "Raise" f.raise
++ "Lower" f.lower
++ "" f.nop
++ "Focus" f.focus
++ "Unfocus" f.unfocus
++ "" f.nop
++ "Delete" f.delete
++ "Destroy" f.destroy
++}
++
++include-menu-defs
+Index: twm/src/Makefile.am
+===================================================================
+--- twm.orig/src/Makefile.am
++++ twm/src/Makefile.am
+@@ -24,13 +24,13 @@ AM_YFLAGS = -d
+
+ bin_PROGRAMS = twm
+
+-rcdir = ${datadir}/X11/twm
++rcdir = ${sysconfdir}/X11/twm
+ dist_rc_DATA = system.twmrc
+
+ AM_CPPFLAGS = \
+ -DXVENDORNAME=\"The\ X.Org\ Foundation\" \
+ -DXORG_RELEASE=\"Release\ $(VERSION)\" \
+- -DSYSTEM_INIT_FILE=\"${datadir}/X11/twm/system.twmrc\"
++ -DSYSTEM_INIT_FILE=\"$(rcdir)/system.twmrc\"
+
+ AM_CFLAGS = $(TWM_CFLAGS)
+ twm_LDADD = $(TWM_LIBS)
diff --git a/package/debian/patches/series b/package/debian/patches/series
new file mode 100644
index 0000000..dfa3912
--- /dev/null
+++ b/package/debian/patches/series
@@ -0,0 +1 @@
+01_debian_system_twmrc.diff
diff --git a/package/debian/rules b/package/debian/rules
new file mode 100755
index 0000000..d755cc1
--- /dev/null
+++ b/package/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# debian/rules for the Debian twm package.
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
+# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
+# Copyright © 2005 David Nusinow <dnusinow@debian.org>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with quilt,autoreconf --builddirectory=build/ --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- --disable-silent-rules
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/tmp
+ install -d debian/tmp/etc/X11/twm
+ install -m 644 src/system.twmrc debian/tmp/etc/X11/twm/system.twmrc-menu
+ install -d debian/tmp/usr/share/xsessions
+ install -m 644 debian/twm.desktop debian/tmp/usr/share/xsessions/twm.desktop
+
+override_dh_install:
+ dh_install --list-missing
diff --git a/package/debian/twm.README.Debian b/package/debian/twm.README.Debian
new file mode 100644
index 0000000..df1bc30
--- /dev/null
+++ b/package/debian/twm.README.Debian
@@ -0,0 +1,20 @@
+Debian README for twm package
+=============================
+
+Newcomers to the X Window System should first read the Debian X FAQ
+(Frequently Asked Questions list): /usr/share/doc/x11-common/FAQ.gz.
+You can view this file with your favorite pager program after decompressing
+it. For example:
+ $ zcat /usr/share/doc/x11-common/FAQ.gz | pager
+
+For information on the /etc/X11/twm/system.twmrc file, see the twm(1)
+manual page. Note that /etc/X11/twm/system.twmrc is auto-generated from
+the /etc/X11/twm/system.twmrc-menu file, so as to be able to support the
+Debian menu system. You should therefore make your customizations to
+/etc/X11/twm/system.twmrc-menu. After the update-menu command is run, they
+will appear in /etc/X11/twm/system.twmrc and be used by the twm binary.
+
+Some examples of .twmrc files from days of yore are available in
+/usr/share/doc/twm/examples.
+
+vim:set ai et sts=4 sw=4 tw=80:
diff --git a/package/debian/twm.desktop b/package/debian/twm.desktop
new file mode 100644
index 0000000..6185545
--- /dev/null
+++ b/package/debian/twm.desktop
@@ -0,0 +1,69 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=twm
+TryExec=twm
+Name=TWM
+Name[eo]=TFA
+Name[hi]=टीडबल्यूएम
+Name[te]=టి డబ్ల్యు ఎం
+Comment=The Tab Window Manager
+Comment[af]=Die Tab venster bestuurder
+Comment[ar]=مدير النوافذ Tab
+Comment[be]=Кіраўнік вокнаў з укладкамі Tab Window Manager
+Comment[bn]=দি ট্যাব উইণ্ডো ম্যানেজার
+Comment[bs]=Tab Window Manager
+Comment[ca]=El gestor de finestres Tab
+Comment[csb]=Tab Window Manager
+Comment[cy]=Y Trefnydd Ffenestri Tab
+Comment[da]=Tab-vindueshåndtering
+Comment[de]=Der Tab-Fenstermanager
+Comment[el]=Ο διαχειριστής παραθύρων Tab
+Comment[eo]=Taba fenestroadministrilo
+Comment[es]=El Tab Window Manager
+Comment[et]=Kaartidega aknahaldur
+Comment[eu]=Tab leiho kudeatzailea
+Comment[fa]=مدیر پنجرۀ تب
+Comment[fi]=Välilehtiä tukeva ikkunaohjelma
+Comment[fy]=De Ljepper Finster Behearder
+Comment[gl]=O Xestor de Fiestras Tab
+Comment[hi]=टैब विंडो प्रबंधक
+Comment[hr]=Tab upravitelj prozora
+Comment[hu]=Tab Window Manager ablakkezelő
+Comment[is]=Tab gluggastjórinn
+Comment[it]=Il Tab Window Manager
+Comment[ja]=Tab 化ウィンドウマネージャ
+Comment[kk]=Tab терезе менеджері
+Comment[km]=កម្មវិធី​គ្រប់គ្រង​បង្អួច​ជា​ផ្ទាំង
+Comment[lt]=Kortelių langų tvarkyklė
+Comment[lv]=Tabu logu menedžeris
+Comment[mk]=Tab Window Manager
+Comment[mn]=Tab Цонхны удирдагч
+Comment[ms]=Pengurus Tetingkap Tab
+Comment[mt]=Tab Window Manager
+Comment[nb]=Tab Vindusbehandler
+Comment[nds]=De Tab-Finsterpleger
+Comment[ne]=ट्याब सञ्झ्याल प्रबन्धक
+Comment[nl]=De Tab Window Manager
+Comment[nn]=Tab Window Manager
+Comment[pa]=ਟੈਬ ਝਰੋਖਾ ਮੈਨੇਜਰ
+Comment[pl]=Tab Window Manager
+Comment[pt]=O Tab Window Manager
+Comment[pt_BR]=O Gerenciador de Janelas de Abas
+Comment[ro]=Tab Window Manager
+Comment[ru]=Традиционный оконный менеджер системы X11
+Comment[rw]=Mugenga Dirishya Agafishi
+Comment[se]=Tab-láse lásegieđahalli
+Comment[sk]=Správca okien s kartami
+Comment[sl]=Tab Window Manager, okenski upravitelj z zavihki
+Comment[sv]=Flikfönsterhanteraren
+Comment[ta]=டாப் சாளர மேலாளர்
+Comment[te]=టాబ్ విండొ అభికర్త
+Comment[tg]=Tab-и мудири тиреза
+Comment[th]=Tab Window Manager
+Comment[tr]=Tab Pencere Yöneticisi
+Comment[tt]=X11 sistemendäge kebek tabaqlı täräzä-idäräçe
+Comment[uk]=Tab Window Manager
+Comment[vi]=Trình Quản lý Cửa sổ Thẻ
+Comment[zh_CN]=标签式窗口管理器
+Comment[zh_TW]=Tab 視窗管理程式
diff --git a/package/debian/twm.examples b/package/debian/twm.examples
new file mode 100644
index 0000000..8a0d993
--- /dev/null
+++ b/package/debian/twm.examples
@@ -0,0 +1,3 @@
+sample-twmrc/jim.twmrc
+sample-twmrc/keith.twmrc
+sample-twmrc/lemke.twmrc
diff --git a/package/debian/twm.install b/package/debian/twm.install
new file mode 100644
index 0000000..cb49f98
--- /dev/null
+++ b/package/debian/twm.install
@@ -0,0 +1,4 @@
+etc/X11/twm/system.twmrc-menu
+usr/bin/twm
+usr/share/man/man1/twm.1
+usr/share/xsessions/twm.desktop
diff --git a/package/debian/twm.links b/package/debian/twm.links
new file mode 100644
index 0000000..26a7121
--- /dev/null
+++ b/package/debian/twm.links
@@ -0,0 +1 @@
+etc/X11/twm usr/lib/X11/twm
diff --git a/package/debian/twm.menu b/package/debian/twm.menu
new file mode 100644
index 0000000..8016dd5
--- /dev/null
+++ b/package/debian/twm.menu
@@ -0,0 +1,6 @@
+?package(twm):\
+ needs="wm"\
+ section="Window Managers"\
+ longtitle="Twm: Tab Window Manager"\
+ title="Twm"\
+ command="twm"
diff --git a/package/debian/twm.menu-method b/package/debian/twm.menu-method
new file mode 100644
index 0000000..d3dbaae
--- /dev/null
+++ b/package/debian/twm.menu-method
@@ -0,0 +1,37 @@
+#!/usr/bin/install-menu
+
+# -*- mode: shell-script; -*-
+#I need menu-1!
+#
+#NOTE: the first line of this script _must_ be
+# equal to "#!/usr/sbin/install-menu", otherwise update-menus
+# will feed this script old-compat-mode data.
+#
+#More info: /usr/doc/menu/html.
+#
+compat="menu-1"
+
+!include menu.h
+
+compat="menu-2"
+outputencoding="ASCII";
+
+function q($com)=esc($com,"\"");
+function f($com)=" \"" q(title()) "\" f.exec \"" q($com) " &\"\n";
+
+supported;
+ x11= f($command);
+ text=f(term());
+ wm=" \"" q(title()) "\" f.startwm \"" q($command) "\"\n";
+# x11 = " \"" $title "\" f.exec \""$command " &\"\n";
+# text= " \"" $title "\" f.exec \"xterm -title \\\""
+# $title "\\\" -e " esc($command,"\"") " &\"\n";
+endsupported;
+startmenu= "menu \"" q($section) "\"\n{\n";
+endmenu= "}\n";
+submenutitle=" \"" q(title()) "\" f.menu \"" q($section) "\"\n";
+genmenu= "menudefs.hook";
+rcfile= "system.twmrc";
+examplercfile="system.twmrc-menu";
+rootprefix= "/etc/X11/twm/";
+userprefix= "/.twm/";
diff --git a/package/debian/twm.postinst b/package/debian/twm.postinst
new file mode 100644
index 0000000..b0f51ec
--- /dev/null
+++ b/package/debian/twm.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Debian twm package post-installation script
+# Copyright 1998-2001, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <https://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+#DEBHELPER#
+
+update-alternatives --install /usr/bin/x-window-manager x-window-manager \
+ /usr/bin/twm 40 --slave /usr/share/man/man1/x-window-manager.1.gz \
+ x-window-manager.1.gz /usr/share/man/man1/twm.1.gz
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:
diff --git a/package/debian/twm.postrm b/package/debian/twm.postrm
new file mode 100644
index 0000000..98aa2aa
--- /dev/null
+++ b/package/debian/twm.postrm
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Debian twm package post-removal script
+# Copyright 1998-2001, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <https://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+ if [ -d /etc/X11/twm ]; then
+ rm -r /etc/X11/twm
+ fi
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:
diff --git a/package/debian/twm.prerm b/package/debian/twm.prerm
new file mode 100644
index 0000000..a92122a
--- /dev/null
+++ b/package/debian/twm.prerm
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Debian twm package pre-removal script
+# Copyright 1998-2001, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <https://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+ update-alternatives --remove x-window-manager /usr/bin/twm
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:
diff --git a/package/debian/upstream/signing-key.asc b/package/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..863981f
--- /dev/null
+++ b/package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ktxrxS6SBDhuIaAE9
+4ZHlbxqfyHfETI/La2Z/ALDAtYdhJR2gSkTHyKSW1QqYlulSfB//lnna44mmTuRO
+NbDNgb0FGSvtsBMZ80iHDqPgUfS60kxCfFrsSGfTFU+X4QAzpTtUJEcr+J4HULDe
+MfwOgghVfmKxFXWfud8xDaCXuywLTtVgMCZp4P7MAyuJlaxsFTu+c1Vly94grk4U
+MtALLMqCXSosA490gLTSdg3HSwxt2Q/LJdy427ZIMvjGXIruns8U/OmL9dVgWu3b
+JHsL68Skx8Ts63qTN9QXM/PB+8VwOaC7PJ+g6t40DleOmdsS8cN31yf5KB8rsL4u
+n4u1yrMJfpnSblPMu5wJi3kjoA+Dd5ZFqx9nTi4wBjfVYGCPsleq59K8kQCYx1Cn
+lZcq630ITy9dB/aHCQry2gCbBwZ2Rsf9kr05S8uLhlwW3vRSvRs=
+=tc6G
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/package/debian/watch b/package/debian/watch
new file mode 100644
index 0000000..251869c
--- /dev/null
+++ b/package/debian/watch
@@ -0,0 +1,4 @@
+#git=https://gitlab.freedesktop.org/xorg/app/twm
+version=3
+opts="pgpsigurlmangle=s/$/.sig/" \
+https://xorg.freedesktop.org/releases/individual/app/ twm-(.*)\.tar\.gz