I used to develop these in my own repo, however many project simply include the 
debian packaging files, so I am moving them to the main repo. These will 
probably have to undergo major change when we switch to autotools. The package 
doesn't work fully due to the postinstall files not understanding the destdir 
attribute and failing to install /etc/dt and /var/dt in destdir.

Thank you for your time,
-Chase
From db5f0f0554fa81a5b58b64d4ce51645d81ff54a2 Mon Sep 17 00:00:00 2001
From: chase <ch...@localhost.com>
Date: Sat, 7 Jul 2018 12:21:17 -0500
Subject: [PATCH] Add debian packaging files

---
 cde/.gitignore                            |   5 +
 cde/debian/README.Debian                  |   8 +
 cde/debian/cde-desktop-docs.docs          |  30 ++
 cde/debian/cde-desktop.postinst.debhelper |   5 +
 cde/debian/cde-desktop.postrm.debhelper   |   3 +
 cde/debian/cde-desktop.substvars          |   3 +
 cde/debian/changelog                      |   5 +
 cde/debian/compat                         |   1 +
 cde/debian/control                        |  69 ++++
 cde/debian/copyright                      | 367 ++++++++++++++++++++++
 cde/debian/debhelper-build-stamp          |   1 +
 cde/debian/files                          |   3 +
 cde/debian/install                        |   1 +
 cde/debian/menu                           |   6 +
 cde/debian/rules                          |  19 ++
 cde/debian/source/format                  |   1 +
 cde/debian/source/lintian-overrides       |   0
 cde/debian/watch                          |   7 +
 18 files changed, 534 insertions(+)
 create mode 100644 cde/debian/README.Debian
 create mode 100644 cde/debian/cde-desktop-docs.docs
 create mode 100644 cde/debian/cde-desktop.postinst.debhelper
 create mode 100644 cde/debian/cde-desktop.postrm.debhelper
 create mode 100644 cde/debian/cde-desktop.substvars
 create mode 100644 cde/debian/changelog
 create mode 100644 cde/debian/compat
 create mode 100644 cde/debian/control
 create mode 100644 cde/debian/copyright
 create mode 100644 cde/debian/debhelper-build-stamp
 create mode 100644 cde/debian/files
 create mode 100644 cde/debian/install
 create mode 100644 cde/debian/menu
 create mode 100755 cde/debian/rules
 create mode 100644 cde/debian/source/format
 create mode 100644 cde/debian/source/lintian-overrides
 create mode 100644 cde/debian/watch

diff --git a/cde/.gitignore b/cde/.gitignore
index 261d6aca..e9744932 100644
--- a/cde/.gitignore
+++ b/cde/.gitignore
@@ -2433,3 +2433,8 @@ programs/util/dttypes/dttypes
 # util/scripts
 util/scripts/mergelib
 util/scripts/xmkmf
+
+# debian packaging
+debian/cde-desktop
+debian/patches
+debian/.debhelper
diff --git a/cde/debian/README.Debian b/cde/debian/README.Debian
new file mode 100644
index 00000000..be65479b
--- /dev/null
+++ b/cde/debian/README.Debian
@@ -0,0 +1,8 @@
+cde-desktop for Debian
+---------------------
+
+To make this package, I had to run make World on it because clean couldn't
+find xmakefile which is generated by the makefile, or more specifically, the
+Imakefile.
+
+ -- TheSelousScout <nicetry...@protonmail.ch>  Tue, 10 Apr 2018 22:23:02 -0700
diff --git a/cde/debian/cde-desktop-docs.docs b/cde/debian/cde-desktop-docs.docs
new file mode 100644
index 00000000..ee4add8c
--- /dev/null
+++ b/cde/debian/cde-desktop-docs.docs
@@ -0,0 +1,30 @@
+README.source
+README.Debian
+doc/C/pdf/DtKsh.pdf
+doc/C/pdf/AppBuilder.pdf
+doc/C/pdf/ProgOverview.pdf
+doc/C/pdf/UsersGuide.pdf
+doc/C/pdf/StyleGuide.pdf
+doc/C/pdf/HelpGuide.pdf
+doc/C/pdf/Glossary.pdf
+doc/C/pdf/I18nGuide.pdf
+doc/C/pdf/ToolTalk.pdf
+doc/C/pdf/SysAdminGuide.pdf
+doc/C/pdf/ProgrammersGuide.pdf
+programs/nsgmls/doc/sgmldecl.htm
+programs/nsgmls/doc/archform.htm
+programs/nsgmls/doc/sgmlnorm.htm
+programs/nsgmls/doc/catalog.htm
+programs/nsgmls/doc/sysid.htm
+programs/nsgmls/doc/winntu.htm
+programs/nsgmls/doc/index.htm
+programs/nsgmls/doc/ideas.htm
+programs/nsgmls/doc/generic.htm
+programs/nsgmls/doc/build.htm
+programs/nsgmls/doc/spam.htm
+programs/nsgmls/doc/features.htm
+programs/nsgmls/doc/sysdecl.htm
+programs/nsgmls/doc/new.htm
+programs/nsgmls/doc/nsgmls.htm
+programs/nsgmls/doc/sgmlsout.htm
+programs/nsgmls/doc/spent.htm
\ No newline at end of file
diff --git a/cde/debian/cde-desktop.postinst.debhelper b/cde/debian/cde-desktop.postinst.debhelper
new file mode 100644
index 00000000..e01392cb
--- /dev/null
+++ b/cde/debian/cde-desktop.postinst.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmenu/11.1.6ubuntu1
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+	update-menus
+fi
+# End automatically added section
diff --git a/cde/debian/cde-desktop.postrm.debhelper b/cde/debian/cde-desktop.postrm.debhelper
new file mode 100644
index 00000000..bbcd7070
--- /dev/null
+++ b/cde/debian/cde-desktop.postrm.debhelper
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu/11.1.6ubuntu1
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section
diff --git a/cde/debian/cde-desktop.substvars b/cde/debian/cde-desktop.substvars
new file mode 100644
index 00000000..138f1da9
--- /dev/null
+++ b/cde/debian/cde-desktop.substvars
@@ -0,0 +1,3 @@
+shlibs:Depends=cde-desktop, libc6 (>= 2.16), libgcc1 (>= 1:3.0), libice6 (>= 1:1.0.0), libjpeg62 (>= 6b1), libsm6, libstdc++6 (>= 5.2), libtirpc1, libuil4 (>= 2.3.4), libx11-6, libxau6, libxdmcp6, libxext6, libxinerama1, libxm4 (>= 2.3.4), libxmu6, libxss1, libxt6
+misc:Depends=
+misc:Pre-Depends=
diff --git a/cde/debian/changelog b/cde/debian/changelog
new file mode 100644
index 00000000..8d6433b9
--- /dev/null
+++ b/cde/debian/changelog
@@ -0,0 +1,5 @@
+cde-desktop (2.3.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #689098)
+
+ -- TheSelousScout <nicetry...@protonmail.ch>  Tue, 10 Apr 2018 22:23:02 -0700
diff --git a/cde/debian/compat b/cde/debian/compat
new file mode 100644
index 00000000..f599e28b
--- /dev/null
+++ b/cde/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/cde/debian/control b/cde/debian/control
new file mode 100644
index 00000000..7c5b19f5
--- /dev/null
+++ b/cde/debian/control
@@ -0,0 +1,69 @@
+Source: cde-desktop
+Section: x11
+Priority: optional
+Maintainer: TheSelousScout <nicetry...@protonmail.ch>
+Build-Depends: debhelper (>= 10),
+               automake,
+               libxt-dev,
+               libxmu-dev,
+               libxft-dev,
+               libxinerama-dev,
+               libxpm-dev,
+               libmrm4,
+               libmotif-dev,
+               libxaw7-dev,
+               libx11-dev,
+               libxss-dev,
+               libtirpc-dev,
+               x11-xserver-utils,
+               libjpeg62-dev,
+               libfreetype6-dev,
+               libssl-dev,
+               tcl8.6-dev,
+               ksh,
+               m4,
+               ncompress,
+               xfonts-100dpi,
+               xfonts-100dpi-transcoded,
+               rpcbind,
+               bison,
+               libbison-dev,
+               xbitmaps,
+               chrpath
+Standards-Version: 4.1.2
+Homepage: https://sourceforge.net/projects/cdesktopenv/
+#Vcs-Git: https://anonscm.debian.org/git/collab-maint/cde-desktop.git
+#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/cde-desktop.git
+
+Package: cde-desktop
+Architecture: any
+Depends: libxt6,
+         libxmu6,
+         libxft2,
+         libxinerama1,
+         libxpm4,
+         libmrm4,
+         libxaw7,
+         libx11-6,
+         libxss1,
+         libtirpc1,
+         x11-xserver-utils,
+         libjpeg62,
+         libfreetype6,
+         libuil4,
+         tcl8.6,
+         ksh,
+         m4,
+         ncompress,
+         rpcbind,
+         bison,
+         xbitmaps,
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: xfonts-100dpi,
+            xfonts-100dpi-transcoded
+Description: CDE - Common Desktop Environment
+ The Common Desktop Environment, the classic UNIX desktop. The Common Desktop
+ Environment was created by a collaboration of Sun, HP, IBM, DEC, SCO, Fujitsu
+ and Hitachi. Used on a selection of commercial UNIXs, it is now available as
+ open-source software.
diff --git a/cde/debian/copyright b/cde/debian/copyright
new file mode 100644
index 00000000..b884b9cc
--- /dev/null
+++ b/cde/debian/copyright
@@ -0,0 +1,367 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cdesktopenv
+Upstream-Contact: Jon Trulson <j...@radscan.com>
+Source: https://sourceforge.net/projects/cdesktopenv/
+
+Files: *
+Copyright: 1993 - 1999 Hewlett-Packard Company
+           1993 - 1999 International Business Machines Corp.
+           1993 - 1999 Sun Microsystems, Inc.
+           1993 - 1999 Santa Cruz Organization, Inc.
+           1995 - 1999 Digital Equipment Corp.
+           1995 - 1996 Fujitsu Limited
+           1995 - 1996 Hitachi, Ltd.
+           1993 - 2012 The Open Group
+           2012 - 2016 Aaron W. Hsu <arcf...@sacrideo.us>
+           2012 - 2016 Adam Robinson <adamrobin...@comcast.net>
+           2012 - 2016 alx <a...@fastestcode.org>
+           2012 - 2016 Anthony Perkins <anth...@muzz.co.uk>
+           2012 - 2016 Chris Wareham <ch...@chriswareham.net>
+           2012 - 2016 Christopher Turkel <turkelch...@aol.com>
+           2012 - 2016 David Cantrell <david.l.cantr...@gmail.com>
+           2012 - 2016 David J.McBrayer <d9j0m....@gmail.com>
+           2012 - 2016 Douglas Mencken <dougmenc...@gmail.com>
+           2012 - 2016 Ecmel Ercan <ecmel.er...@gmail.com>
+           2012 - 2016 Frederic Koehler <f.koehler...@gmail.com>
+           2012 - 2016 ibid...@lavabit.com <ibid...@lavabit.com>
+           2012 - 2016 James Woodcock <james_woodc...@yahoo.co.uk>
+           2012 - 2016 Jelle Hermsen <je...@jellehermsen.nl>
+           2012 - 2018 Jon Trulson <j...@radscan.com>
+           2012 - 2016 Karsten Pedersen <kpeder...@hotmail.co.uk>
+           2012 - 2016 Marc Balmer <m...@msys.ch>
+           2012 - 2018 Marcin Cieslak <sa...@saper.info>
+           2012 - 2016 Matthew Howkins
+           2012 - 2016 Mike Stroyan <m...@stroyan.net>
+           2012 - 2016 Pascal Stumpf <pascal.stu...@cubes.de>
+           2012 - 2018 Peter Howkins <peter.howk...@marutan.net>
+           2012 - 2016 Robert Tomsick <rob...@tomsick.net>
+           2012 - 2018 Ulrich Wilkens <m...@uwilkens.de>
+           2012 - 2016 William Schaub <wsch...@genesi-tech.com>
+License: LGPL-2+
+
+Files: programs/dtdocbook/sgmls/sgml-mode.el
+Copyright: 1992 James Clark <j...@jclark.com>
+           1992 Free Software Foundation, Inc.
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 1 can be found in the
+ /usr/share/common-licenses/GPL-1 file.
+
+Files: programs/dtinfo/DtMmdb/btree_berkeley/*.h
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_close.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_conv.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_debug.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_delete.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_get.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_overflow.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_page.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_put.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_search.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_seq.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_split.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_stack.c
+       programs/dtinfo/DtMmdb/btree_berkeley/bt_utils.c
+       programs/dtinfo/DtMmdb/btree_berkeley/db.c
+       programs/dtinfo/DtMmdb/btree_berkeley/memmove.c
+       programs/dtinfo/DtMmdb/btree_berkeley/mktemp.c
+       programs/dtinfo/DtMmdb/btree_berkeley/mpool.c
+Copyright: 1991, 1993 The Regents of the University of California
+           1993 - 2012 The Open Group
+License: BSD-4-clause and LGPL-2+
+
+Files: contrib/desktop2dt/desktop2dt
+       programs/dtwm/WmMultiHead.c
+       programs/dtwm/WmMultiHead.h
+       programs/nsgmls/COPYING
+Copyright: 1994, 1995, 1996 James Clark
+           2013 Isaac Dunham
+           2016 Matthew R. Trowler
+License: Expat
+
+Files: doc/util/dbtoman/dbtoman
+Copyright: 1996 X Consortium
+           1996 Dalrymple Consulting
+License: X11
+
+Files: lib/DtHelp/XbmUtils.c
+       programs/dtlogin/chooser.c
+       programs/dtlogin/netaddr.c
+       programs/dtsession/SmAuth.c
+       programs/dtsession/SmAuth.h
+       programs/dtsession/SmProp.h
+       programs/dtsession/SmWatch.c
+       programs/dtsession/SmWatch.h
+       programs/dtudcfonted/libfal/_fallcWrap.c
+       programs/dtudcfonted/libfal/_fallcint.h
+       programs/dtudcfonted/libfal/_fallibint.h
+       programs/dtudcfonted/libfal/_fallocking.h
+       programs/dtudcfonted/libfal/_falrmI.h
+       programs/dtudcfonted/libfal/_falutil.h
+       programs/dtudcfonted/libfal/_falutilbitmap.c
+       programs/dtudcfonted/libfal/_falvarargs.h
+Copyright: 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
+           X Consortium
+           1993 - 2012 The Open Group
+           1990, 1991 OMRON Corporation
+           1990, 1991 NTT Software Corporation
+           1990, 1991 Nippon Telegraph and Telephone Corporation
+           1991 Open Software Foundation
+           1993 TOSHIBA Corp.
+           1993, 1994 Sony Corporation
+           1993, 1994, 1995 Hewlett-Packard Company
+           1993, 1994, 1995 International Business Machines Corp.
+           1993, 1994, 1995 Sun Microsystems Inc.
+           1993, 1994, 1995 Novell Inc.
+           1987, 1995 Digital Equiptment Corporation
+           1995 FUJITSU LIMITED
+           1995 Hitachi
+License: LGPL-2+ or X11
+
+Files: programs/dtlogin/protocol
+       util/scripts/mergelib.cpp
+       programs/dtdocbook/instant/README
+       programs/dtdocbook/instant/TODO
+       programs/dtdocbook/lib/tptregexp/README
+       programs/dthelp/parser/dtds/helptag.dtd
+       programs/dthelp/parser/dtds/sdl.dtd
+Copyright: 1989 Massachusettes Institute of Technology
+           1993, 1994 Hewlett-Packard Company
+           1993, 1994 International Business Machines Corp.
+           1993, 1994 Sun Microsystem, Inc.
+           1993, 1994 Novell Inc.
+           1993, 1994 Unix System Labs, Inc.
+           1994 Open Software Foundation Inc.
+License: NTP
+
+Files: config/makedepend/ifparser.c
+       config/makedepend/ifparser.h
+       lib/DtHelp/GifUtils.c
+       lib/DtHelp/bufio.c
+       programs/dticon/event.c
+       programs/dticon/fileIO.c
+       programs/dticon/graphics.c
+       programs/dticon/help.c
+       programs/dticon/image.c
+       programs/dtlogin/access.c
+       programs/dtlogin/choose.c
+       programs/dtlogin/daemon.c
+       programs/dtlogin/dm.c
+       programs/dtlogin/dm.h
+       programs/dtlogin/dpylist.c
+       programs/dtlogin/error.c
+       programs/dtlogin/file.c
+       programs/dtlogin/policy.c
+       programs/dtlogin/protocol
+       programs/dtlogin/protodpy.c
+       programs/dtlogin/reset.c
+       programs/dtlogin/resource.c
+       programs/dtlogin/server.c
+       programs/dtlogin/session.c
+       programs/dtlogin/util.c
+       programs/dtlogin/verify.c
+       programs/dtdocbook/instant/*.c
+       programs/dtdocbook/instant/*.h
+       programs/dtlogin/bls/bls.h
+       programs/dtlogin/bls/debug.c
+       programs/dtudcfonted/libfal/_falSetLocale.c
+       programs/dtudcfonted/libfal/_fallcCT.c
+       programs/dtudcfonted/libfal/_fallcCharSet.c
+       programs/dtudcfonted/libfal/_fallcConv.c
+       programs/dtudcfonted/libfal/_fallcDefConv.c
+       programs/dtudcfonted/libfal/_fallcEuc.c
+       programs/dtudcfonted/libfal/_fallcGenConv.c
+       programs/dtudcfonted/libfal/_fallcGeneric.c
+       programs/dtudcfonted/libfal/_fallcGeneric.h
+       programs/dtudcfonted/libfal/_fallcInit.c
+       programs/dtudcfonted/libfal/_fallcPrTxt.c
+       programs/dtudcfonted/libfal/_fallcPubI.h
+       programs/dtudcfonted/libfal/_fallcPubWrap.c
+       programs/dtudcfonted/libfal/_fallcPublic.c
+       programs/dtudcfonted/libfal/_fallcPublic.h
+       programs/dtudcfonted/libfal/_fallcRM.c
+       programs/dtudcfonted/libfal/_fallcSjis.c
+       programs/dtudcfonted/libfal/_fallcStd.c
+       programs/dtudcfonted/libfal/_fallcTxtPr.c
+       programs/dtudcfonted/libfal/_fallcUTF.c
+       programs/dtudcfonted/libfal/_fallcUTF.h
+       programs/dtudcfonted/libfal/_fallcUtil.c
+       programs/dtudcfonted/libfal/_falomGeneric.c
+       programs/dtudcfonted/libfal/_falomGeneric.h
+       programs/dtudcfonted/libfal/include/pcf.h
+       lib/tt/demo/CoEd/CoEd/CoEdTextBuffer.h
+       lib/tt/demo/CoEd/libCoEd/CoEd.h
+       lib/tt/demo/CoEd/libCoEd/CoEdChangeHistory.h
+       lib/tt/demo/CoEd/libCoEd/CoEdChangeQueue.h
+       lib/tt/demo/CoEd/libCoEd/CoEdFile.h
+       lib/tt/demo/CoEd/libCoEd/CoEdGlobals.h
+       lib/tt/demo/CoEd/libCoEd/CoEdSiteID.h
+       lib/tt/demo/CoEd/libCoEd/CoEdTextChange.h
+       lib/tt/demo/CoEd/libCoEd/CoEdTextVersion.h
+       lib/tt/demo/CoEd/libCoEd/SiteChange.h
+       programs/dtinfo/dtinfo/src/Widgets/Panner.c
+       programs/dtinfo/dtinfo/src/Widgets/Porthole.c
+       programs/dtinfo/dtinfo/src/Widgets/XawInitFake.c
+       programs/dtinfo/dtinfo/wwl/include/WWL/WCallback.h
+       programs/dtinfo/dtinfo/wwl/include/WWL/WTimeOut.h
+Copyright: 1987 X Consortium
+           1990 David Koblas
+           1990, 1991 Jean-Daniel Fekete
+           1990, 1991 LRI, Universitee de Paris-Sud (France)
+           1990, 1991 OMRON Corporation
+           1990, 1991 NTT Software Corporation
+           1990, 1991 Nippon Telegraph and Telephone Corporation
+           1988, 1989, 1990, 1991 Massachusettes Institute of Technology
+           1992 Networking Computing Devices, Inc.
+           1992, 1993, 1995 TOSHIBA Corp.
+           1992, 1993, 1995 FUJITSU LIMITED
+           1993 Fujitsu Open Systems Solutions, Inc.
+           1993, 1994 Open Software Foundation, Inc.
+           1991, 1993 HAL Computer Systems International, Ltd.
+           1990, 1991, 1992, 1993, 1994 Hewlett-Packard Company
+           1993, 1994 International Business Machines Corp.
+           1991, 1993, 1994, 1995 Sun Microsystems, Inc.
+           1993, 1994 Unix System Labs, Inc.
+           1993 - 2012 The Open Group
+           1993 SunSoft, Inc.
+           1994 Sony Corporation
+License: LGPL-2+ and NTP
+
+Files: doc/util/dbtoman/instant/*.c
+       doc/util/dbtoman/instant/*.h
+Copyright: 1993 - 2012 The Open Group
+           1993, 1994 Open Software Foundation Inc.
+           1995, 1996 Dalrymple Consulting
+           1996 X Consortium
+License: LGPL-2+ or X11, and NTP
+
+Files: debian/*
+Copyright: 2018 TheSelousScout <nicetry...@protonmail.ch>
+License: LGPL-2+ or Expat
+
+License: LGPL-2+
+ These libraries and programs are free software; you can
+ redistribute them and/or modify them under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option)
+ any later version.
+ .
+ These libraries and programs are distributed in the hope that
+ they will be useful, but WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU Lesser General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with these librararies and programs; if not, write
+ to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in the
+ /usr/share/common-licenses/LGPL-2 file.
+
+License: NTP
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose with or without fee is hereby granted,
+ provided that the above copyright notice appears in all copies and that
+ both the copyright notice and this permission notice appear in supporting
+ documentation, and that the name M.I.T., Open Software Foundation, Inc.
+ ("OSF"), Hewlett-Packard Company, International Business Machines Corp., Sun
+ Microsystems, Inc., Unix System Labs, Inc., Network Computing Devices, Inc.,
+ HAL Computer Systems International, Ltd., OMRON, NTT Software, NTT,
+ FUJITSU LIMITED, Fujitsu Open Systems Solutions, Inc., Universitee de Paris-Sud,
+ SunSoft, Inc., Sony Corporation and TOSHIBA Corp., not be used in advertising
+ or publicity pertaining to distribution of the software without specific,
+ written prior permission. M.I.T., OSF, Hewlett-Packard Company, IBM, Sun
+ Microsystems, Unix System Labs, Inc., Network Computing Devices, Inc., HAL
+ Computer Systems International, Ltd., OMRON, NTT Software, NTT, FUJITSU
+ LIMITED, Fujitsu Open Systems Solutions Inc., Universitee de Paris-Sud,
+ SunSoft Inc., Sony Corporation, and TOSHIBA Corp., makes no representations
+ about the suitability this software for any purpose. It is provided "as is"
+ without express or implied warranty.
+
+License: BSD-4-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. All advertising materials mentioning features or use of this software
+ must display the following acknowledgement:
+ This product includes software developed by the University of
+ California, Berkeley and its contributors.
+ 4. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+License: Expat
+ 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.
+
+License: X11
+ 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 X
+ CONSORTIUM 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 X Consortium 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 X Consortium.
+ .
+ X Window System is a trademark of X Consortium, Inc.
diff --git a/cde/debian/debhelper-build-stamp b/cde/debian/debhelper-build-stamp
new file mode 100644
index 00000000..c8fba75c
--- /dev/null
+++ b/cde/debian/debhelper-build-stamp
@@ -0,0 +1 @@
+cde-desktop
diff --git a/cde/debian/files b/cde/debian/files
new file mode 100644
index 00000000..c021a9a1
--- /dev/null
+++ b/cde/debian/files
@@ -0,0 +1,3 @@
+cde-desktop-dbgsym_2.2.4-1_amd64.ddeb debug optional
+cde-desktop_2.2.4-1_amd64.buildinfo x11 optional
+cde-desktop_2.2.4-1_amd64.deb x11 optional
diff --git a/cde/debian/install b/cde/debian/install
new file mode 100644
index 00000000..8ad0408f
--- /dev/null
+++ b/cde/debian/install
@@ -0,0 +1 @@
+contrib/desktopentry/cde.desktop /usr/share/xsessions/
\ No newline at end of file
diff --git a/cde/debian/menu b/cde/debian/menu
new file mode 100644
index 00000000..58278600
--- /dev/null
+++ b/cde/debian/menu
@@ -0,0 +1,6 @@
+?package(cde-desktop): \
+  needs="wm" \
+  hints="Standard, Unix, Desktop" \
+  section="Window Managers" \
+  title="Common Desktop Environment" \
+  command="/usr/dt/bin/dtlogin"
diff --git a/cde/debian/rules b/cde/debian/rules
new file mode 100755
index 00000000..5146b515
--- /dev/null
+++ b/cde/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+%:
+	dh $@
+
+#make clean cleans everything except the doc directory for some reason
+override_dh_auto_clean:
+	$(MAKE) clean
+	$(MAKE) clean.doc
+
+#make World needs to be called, not just make
+override_dh_auto_build:
+	$(MAKE) World
+
+#make install is broken, so we use the install script instead
+override_dh_auto_install:
+	sudo ./admin/IntegTools/dbTools/installCDE -s . -destdir \
+	./debian/cde-desktop
diff --git a/cde/debian/source/format b/cde/debian/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/cde/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/cde/debian/source/lintian-overrides b/cde/debian/source/lintian-overrides
new file mode 100644
index 00000000..e69de29b
diff --git a/cde/debian/watch b/cde/debian/watch
new file mode 100644
index 00000000..8a665b56
--- /dev/null
+++ b/cde/debian/watch
@@ -0,0 +1,7 @@
+version=4
+
+# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
+#opts="pgpsigurlmangle=s%$%.sig%"
+
+# SourceForge hosted projects
+http://sf.net/cdesktopenv/ cde-src-(.*)\.tar\.gz debian uupdate
-- 
2.17.1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to