--- openmotif-2.2.3.orig/Makefile +++ openmotif-2.2.3/Makefile @@ -0,0 +1,58 @@ + +PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') +VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*:\|\)//p') +DEBARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +DSC := $(PACKAGE)_$(VERSION).dsc +CHANGES := $(PACKAGE)_$(VERSION)_$(DEBARCH).changes + +# config +PRESULT := /work/pbuilder/result + + +########################################################## +# normal devel builds + +default: build lintian + +build: + rm -f .ok + (time dpkg-buildpackage -nc -us -uc -rfakeroot && touch .ok) \ + 2>&1 | tee build.log + test -f .ok + +lintian: + lintian ../$(CHANGES) | tee lintian.log + +clean: + fakeroot debian/rules clean + rm -f build.log lintian.log .ok + + +########################################################## +# build releases + +source ../$(DSC): clean + dpkg-buildpackage -S -us -uc -rfakeroot + +pbuild: ../$(DSC) + (time sudo /usr/sbin/pbuilder build ../$(DSC) && touch .ok) \ + 2>&1 | tee build.log + test -f .ok + -lintian -i $(PRESULT)/$(CHANGES) | tee lintian.log + +release: ../$(DSC) + #sudo /usr/sbin/pbuilder --debbuildopts '-si' build ../$(DSC) + sudo /usr/sbin/pbuilder build ../$(DSC) + debsign $(PRESULT)/$(CHANGES) + + +########################################################## +# misc + +work unpack: clean + debian/rules work + +.PHONY: default build pbuild lintian clean release port +.PHONY: source work unpack + --- openmotif-2.2.3.orig/conf/xmbind.add +++ openmotif-2.2.3/conf/xmbind.add @@ -0,0 +1 @@ +"The XFree86 Project, Inc" pc --- openmotif-2.2.3.orig/conf/system.mwmrc-menu +++ openmotif-2.2.3/conf/system.mwmrc-menu @@ -0,0 +1,162 @@ +! +! @OPENGROUP_COPYRIGHT@ +! COPYRIGHT NOTICE +! Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. +! Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group +! ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for +! the full copyright text. +! +! This software is subject to an open license. It may only be +! used on, with or for operating systems which are themselves open +! source systems. You must contact The Open Group for a license +! allowing distribution and sublicensing of this software on, with, +! or for operating systems which are not Open Source programs. +! +! See http://www.opengroup.org/openmotif/license for full +! details of the license agreement. Any use, reproduction, or +! distribution of the program constitutes recipient's acceptance of +! this agreement. +! +! EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +! PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +! KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY +! WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +! OR FITNESS FOR A PARTICULAR PURPOSE +! +! EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +! NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, +! INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +! DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE +! EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +! POSSIBILITY OF SUCH DAMAGES. +! +! $XConsortium: system.mwmrc /main/9 1996/10/25 11:45:42 drk $ +! +! HISTORY +! + +!! +!! DEFAULT Mwm 1.2 RESOURCE DESCRIPTION FILE (system.mwmrc) +!! +!! NOTE: To personalize this file, copy this file before editing it. +!! Personalize copies of the Mwm resource file typically +!! reside as: +!! +!! $HOME/.mwmrc +!! + +!! +!! Root Menu Description (this menu must be explicitly posted via f.menu) +!! + +Menu DefaultRootMenu +{ + "Root Menu" f.title + "New Window" f.exec "xterm &" + "Debian" f.menu "/Debian" + "Shuffle Up" f.circle_up + "Shuffle Down" f.circle_down + "Refresh" f.refresh + "Pack Icons" f.pack_icons +! "Toggle Behavior..." f.set_behavior + no-label f.separator + "Restart..." f.restart +! "Quit..." f.quit_mwm + +} + +Menu RootMenu_1.1 +{ + "Root Menu" f.title + "New Window" f.exec "xterm &" + "Shuffle Up" f.circle_up + "Shuffle Down" f.circle_down + "Refresh" f.refresh +! "Pack Icons" f.pack_icons +! "Toggle Behavior" f.set_behavior + no-label f.separator + "Restart..." f.restart +} + +!! +!! Default Window Menu Description +!! + +Menu DefaultWindowMenu +{ + Restore _R AltF5 f.restore + Move _M AltF7 f.move + Size _S AltF8 f.resize + Minimize _n AltF9 f.minimize + Maximize _x AltF10 f.maximize + Lower _L AltF3 f.lower + no-label f.separator + Close _C AltF4 f.kill +} + + +!! +!! Key Binding Description +!! + +Keys DefaultKeyBindings +{ + ShiftEscape window|icon f.post_wmenu + Altspace window|icon f.post_wmenu + AltTab root|icon|window f.next_key + Alt ShiftTab root|icon|window f.prev_key + AltEscape root|icon|window f.circle_down + Alt ShiftEscape root|icon|window f.circle_up + Alt Shift Ctrlexclam root|icon|window f.set_behavior + AltF6 window f.next_key transient + Alt ShiftF6 window f.prev_key transient + ShiftF10 icon f.post_wmenu +! Alt ShiftDelete root|icon|window f.restart +} + +!! +!! Button Binding Description(s) +!! + +Buttons DefaultButtonBindings +{ + icon|frame f.raise + icon|frame f.post_wmenu + root f.menu DefaultRootMenu +} + +Buttons ExplicitButtonBindings +{ + frame|icon f.raise + frame|icon f.post_wmenu + root f.menu DefaultRootMenu +! icon f.restore + Alt window|icon f.lower +! Alt window|icon f.resize +! Alt window|icon f.move + +} + +Buttons PointerButtonBindings +{ + frame|icon f.raise + frame|icon f.post_wmenu + root f.menu DefaultRootMenu + window f.raise +! icon f.restore + Alt window|icon f.lower +! Alt window|icon f.resize +! Alt window|icon f.move +} + +!! +!! END OF mwm RESOURCE DESCRIPTION FILE +!! + +! debian menu +!include-menu-defs +include-menu-defs + --- openmotif-2.2.3.orig/debian/motif-clients.postinst.off +++ openmotif-2.2.3/debian/motif-clients.postinst.off @@ -0,0 +1,3 @@ +#!/bin/sh +test -x /usr/bin/update-menus && /usr/bin/update-menus +#DEBHELPER# --- openmotif-2.2.3.orig/debian/motif-clients.menu-method +++ openmotif-2.2.3/debian/motif-clients.menu-method @@ -0,0 +1,30 @@ +#!/usr/sbin/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/share/doc/menu/README. +# +compat="menu-1" + +!include menu.h + +function mwmcommon($c)=\ + "\t\"" title() "\"\tf.exec \"" replacewith($c,"\"","'") " &\"\n" + +supported + x11 =mwmcommon($command) + text=mwmcommon(term()) +endsupported +startmenu= "Menu \"" $section "\"\n{\n\t\"" \ + ifelse(title(),title(),"Debian") "\"\tf.title\n" +endmenu= "}\n" +submenutitle=" \"" title() "\" f.menu \"" $section "\"\n" +genmenu= "menudefs.hook" +rcfile= "system.mwmrc" +examplercfile="system.mwmrc-menu" +rootprefix= "/etc/X11/mwm/" +userprefix= "/.mwm/" --- openmotif-2.2.3.orig/debian/fix-libtool +++ openmotif-2.2.3/debian/fix-libtool @@ -0,0 +1,26 @@ +#!/bin/bash + +# fix broken libtool +# +# Can someone please LART the one who over-designed it? +# Thank you. + +workdir="$1" + +tmpfile="/tmp/tmpfile-$$" +trap "rm -f $tmpfile" EXIT + +# disable -rpath +file=`find $workdir -name libtool` +sed -e 's|\(hardcode_into_libs\)=.*|\1=no|' \ + < $file > $tmpfile +mv $tmpfile $file +chmod 755 $file + +# disable relinking +find $workdir -name \*.la -type f -print |\ +while read file; do + grep -v relink $file > $tmpfile + mv $tmpfile $file +done + --- openmotif-2.2.3.orig/debian/copyright +++ openmotif-2.2.3/debian/copyright @@ -0,0 +1,104 @@ +$TOG: COPYRIGHT.MOTIF /main/5 2000/04/10 12:00:00 $ + + MOTIF 2.1.30 + Source Code + MASTER COPYRIGHT NOTICE + +(c) Copyright 1989 - 1994, 1996 - 1999 The Open Group +(c) Copyright 1987 - 1999 Hewlett-Packard Company +(c) Copyright 1987 - 1999 Digital Equipment Corporation, Maynard, Mass. +(c) Copyright 1988 Massachusetts Institute of Technology +(c) Copyright 1988 Microsoft Corporation +(c) Copyright 1990 Motorola Inc. +(c) Copyright 1989 - 1994 Groupe Bull +(c) Copyright 1991 Joseph Friedman +(c) Copyright 1995 - 1999 International Business Machines Corp. +(c) Copyright 1995 - 1999 Sun Microsystems, Inc. +(c) Copyright 1995 - 1999 Santa Cruz Organization, Inc. +(c) Copyright 1995, 1996 Fujitsu Limited +(c) Copyright 1995, 1996 Hitachi, Ltd. + + +ALL RIGHTS RESERVED + +This software is furnished under a license and may be used +and copied only in accordance with the terms of such license and +with the inclusion of this copyright notice. No title to and ownership +of the software is hereby transferred. + +This software is subject to an open license. It may only be +used on, with or for operating systems which are themselves open +source systems. You must contact The Open Group for a license allowing +distribution and sublicensing of this software on, with, or for +operating systems which are not Open Source programs. + +See http://www.opengroup.org/openmotif/license for full +details of the license agreement. Any use, reproduction, or +distribution of the program constitutes recipient's acceptance of +this agreement. + +THE OPEN GROUP AND ITS THIRD PARTY SUPPLIERS, ASSUME NO RESPONSIBILITY +FOR THE USE OR INABILITY TO USE ANY OF ITS SOFTWARE. + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS +PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY +WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY +OR FITNESS FOR A PARTICULAR PURPOSE. + +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT +NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE +EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +The information in this software is subject to change without +notice and should not be construed as a commitment by The Open Group +or its third party suppliers. + +Notice: Notwithstanding any other lease or license that may pertain to, +or accompany the delivery of, this computer software, the rights of the +Government regarding its use, reproduction and disclosure are as set +forth in Section 52.227-19 of the FARS Computer Software-Restricted +Rights clause. + +(c) Copyright 1990, 1991, 1992, 1993, 1994, 1996 Open Software +Foundation, Inc. +(c) Copyright 1996, 1997, 1998, 1999, 2000 The Open Group. +Unpublished - all rights reserved under the Copyright laws of the United +States. + +RESTRICTED RIGHTS NOTICE: Use, duplication, or disclosure by the +Government is subject to the restrictions as set forth in subparagraph +(c)(1)(ii) of the Rights in Technical Data and Computer Software clause +at DFARS 52.227-7013. + +The Open Group LLC +Apex Plaza, Forbury Road +Reading, Berkshire, +RG1 1AX, UK. + +RESTRICTED RIGHTS LEGEND: This computer software is submitted with +"restricted rights." Use, duplication or disclosure is subject to the +restrictions as set forth in NASA FAR SUP 18-52.227-79 (April 1985) +"Commercial Computer Software- Restricted Rights (April 1985)." The +Open Group, Apex Plaza, Forbury Road, Reading, Berkshire, RG1 1AX, UK. +If the contract contains the Clause at 18-52.227-74 "Rights in Data +General" then the "Alternate III" clause applies. + +(c) Copyright 1990, 1991, 1992, 1993, 1994, 1996 Open Software +Foundation,Inc. ALL RIGHTS RESERVED +(c) Copyright 1996, 1997, 1998, 1999, 2000 The Open Group. ALL RIGHTS +RESERVED + +The Open Group, Open Software Foundation, OSF, OSF/Motif, and Motif are +Trademarks of The Open Group +DEC and DIGITAL are registered trademarks of Digital Equipment +Corporation +HP is a trademark of Hewlett-Packard Company +X Window System is a trademark of the Massachusetts Institute of +Technology --- openmotif-2.2.3.orig/debian/motif-clients.files +++ openmotif-2.2.3/debian/motif-clients.files @@ -0,0 +1,7 @@ +/etc/X11/mwm +/usr/X11R6/bin/mwm +/usr/X11R6/bin/xmbind +/usr/X11R6/man/man1/mwm* +/usr/X11R6/man/man1/xmbind* +/usr/X11R6/man/man4 +/usr/X11R6/lib/X11/system.mwmrc --- openmotif-2.2.3.orig/debian/libmotif3.files +++ openmotif-2.2.3/debian/libmotif3.files @@ -0,0 +1,3 @@ +/usr/X11R6/lib/lib*.so.* +/usr/X11R6/lib/X11/bindings +/usr/X11R6/include/X11/bitmaps --- openmotif-2.2.3.orig/debian/motif-clients.conffiles.off +++ openmotif-2.2.3/debian/motif-clients.conffiles.off @@ -0,0 +1,2 @@ +/etc/menu-methods/mwm +/etc/X11/mwm/system.mwmrc-menu --- openmotif-2.2.3.orig/debian/README.Debian +++ openmotif-2.2.3/debian/README.Debian @@ -0,0 +1,7 @@ + +There are plans to make openmotif opensource, see the licence +faq at http://www.opengroup.org/openmotif/faq.html + +For now it has to go to non-free. + +available for download from http://www.openmotif.org/ --- openmotif-2.2.3.orig/debian/libmotif-dev.files +++ openmotif-2.2.3/debian/libmotif-dev.files @@ -0,0 +1,11 @@ +/usr/X11R6/lib/libMrm.a +/usr/X11R6/lib/libUil.a +/usr/X11R6/lib/libXm.a +/usr/X11R6/lib/lib*.so +/usr/X11R6/include/Xm +/usr/X11R6/include/Mrm +/usr/X11R6/include/uil +/usr/X11R6/bin/uil +/usr/X11R6/man/man1/uil* +/usr/X11R6/man/man3 +/usr/X11R6/man/man5 --- openmotif-2.2.3.orig/debian/control +++ openmotif-2.2.3/debian/control @@ -0,0 +1,37 @@ +Source: openmotif +Section: non-free/devel +Priority: extra +Build-depends: debhelper (>= 4), libx11-dev, libxaw7-dev, byacc, flex, xbitmaps +Maintainer: Gerd Knorr +Standards-Version: 3.6.1 + +Package: libmotif3 +Architecture: any +Section: non-free/libs +Depends: ${shlibs:Depends} +Conflicts: libmotif +Replaces: libmotif +Description: Open Motif - shared libraries + This package includes all files you need to run Motif + applications which are linked against Open Motif, which + are the shared libraries for the most part. + +Package: libmotif-dev +Architecture: any +Section: non-free/devel +Depends: libmotif3, libx11-dev +Conflicts: lesstif-dev, lesstif2-dev, lesstif-bin +Description: Open Motif - development files + Everything you need to build Motif applications with + Open Motif. This includes header files, static libraries, + the manual pages for the Motif API and uil (user interface + language compiler) + +Package: motif-clients +Architecture: any +Section: non-free/x11 +Depends: menu, ${shlibs:Depends} +Conflicts: lesstif-bin +Description: Open Motif - X11 clients (mwm, xmbind) + The Motif Window Manager. + --- openmotif-2.2.3.orig/debian/changelog +++ openmotif-2.2.3/debian/changelog @@ -0,0 +1,121 @@ +openmotif (2.2.3-3) unstable; urgency=low + + * add build dependency for xbitmaps + * remove dependency on xlibs-dev for x11-dev + + -- Russ W. Knize Wed, 21 May 2008 17:40:51 -0500 + +openmotif (2.2.3-2) unstable; urgency=low + + * override x11-common conflict + + -- Roman Mainer Tue, 6 Mar 2007 20:38:30 +0100 + +openmotif (2.2.3-1) unstable; urgency=low + + * new upstream release (closes: #231751). + * add patch for _XGetpwnam parameter change (closes: #194466). + + -- Gerd Knorr Wed, 26 May 2004 14:15:13 +0200 + +openmotif (2.2.2-6) unstable; urgency=low + + * fixed permission problems. + + -- Gerd Knorr Mon, 9 Dec 2002 13:49:33 +0100 + +openmotif (2.2.2-5) unstable; urgency=low + + * splitted stuff into orig.tar.gz and .diff (closes: #171888). + * added conflict with lesstif2-dev (closes: #171219). + + -- Gerd Knorr Sat, 7 Dec 2002 17:27:31 +0100 + +openmotif (2.2.2-4.1) unstable; urgency=low + + * NMU + * libmotif-dev: Added dependency on xlibs-dev (closes: #160726). + + -- Stefan Schwandter Wed, 18 Sep 2002 08:35:58 +0200 + +openmotif (2.2.2-4) unstable; urgency=low + + * more dependency fixes (closes: #154237). + + -- Gerd Knorr Tue, 6 Aug 2002 12:30:23 +0200 + +openmotif (2.2.2-3) unstable; urgency=low + + * fixed dependences + + -- Gerd Knorr Tue, 23 Jul 2002 16:11:16 +0200 + +openmotif (2.2.2-2) unstable; urgency=low + + * renamed shared library package (closes: #150635). + + -- Gerd Knorr Mon, 24 Jun 2002 13:13:36 +0200 + +openmotif (2.2.2-1) unstable; urgency=low + + * new upstream release. + * added xmbind entry for XFree86 (closes: #146384). + + -- Gerd Knorr Thu, 13 Jun 2002 12:07:57 +0200 + +openmotif (2.2.1-2) unstable; urgency=low + + * fixed build dependences (closes: #136279). + * fight with libtool to stop its -rpath abuse. + * dropped motif-doc package (closes: #138152). + + -- Gerd Knorr Thu, 14 Mar 2002 19:07:45 +0100 + +openmotif (2.2.1-1) unstable; urgency=low + + * new upstream release. + + -- Gerd Knorr Tue, 5 Feb 2002 10:04:52 +0100 + +openmotif (2.1.30-5) unstable; urgency=low + + * s/bison/byacc/. (closes: #106314). + + -- Gerd Knorr Thu, 26 Jul 2001 09:57:57 +0200 + +openmotif (2.1.30-4) unstable; urgency=low + + * made motif-clients depend on menu (closes: #92158). + * updated standards-version, fixed some lintian warnings. + + -- Gerd Knorr Sat, 23 Jun 2001 09:32:39 +0200 + +openmotif (2.1.30-3) unstable; urgency=low + + * shipping some imake config files with the package instead of + copying them from the local xfree installation to avoid subtile + dependences and build breakages (closes: #89647). + * added lesstif-bin to conflicts for libmotif-dev (closes: #90039). + * added bison to the build dependences (closes: #89925). + * fixed lintian error. + + -- Gerd Knorr Thu, 22 Mar 2001 15:11:03 +0100 + +openmotif (2.1.30-2) unstable; urgency=low + + * updated the sections according to the overrides of the + initial upload. + * fixed alpha build problems (closes: #85814). + * fixed makedepend getline name clash. + + -- Gerd Knorr Fri, 16 Feb 2001 20:29:14 +0100 + +openmotif (2.1.30-1) unstable; urgency=low + + * Initial Release + + -- Gerd Knorr Sun, 17 Dec 2000 11:07:25 +0100 + +Local variables: +mode: debian-changelog +End: --- openmotif-2.2.3.orig/debian/rules +++ openmotif-2.2.3/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f + +HERE := $(shell pwd) +WORK := $(HERE)/work +DIR := openMotif-2.2.3 +DEST := $(HERE)/debian/tmp +TARS := $(wildcard $(HERE)/dist/*.tar.gz) +DIFF := $(wildcard $(HERE)/patches/*.patch) + +# This is the debhelper compatibility version to use. +#export DH_VERBOSE=1 +export DH_COMPAT=4 +export LANG=POSIX + +build: work build-stamp + +work: + # unpack distribution tarballs into tmp dir + @mkdir -p work.tmp + @echo "###" + @(cd work.tmp; set -e; \ + for tar in $(TARS); do \ + echo "### unpacking $$tar"; \ + tar xzf $$tar; \ + done) + @echo "###" + @(cd work.tmp; set -e; \ + for patch in $(DIFF); do \ + echo "### apply $$patch"; \ + patch -b -s -p0 < $$patch; \ + done) + @echo "###" + @mv work.tmp work + +build-stamp: + dh_testdir + (cd $(WORK)/$(DIR); set -ex; \ + ./configure \ + --prefix=/usr/X11R6 \ + --mandir=/usr/X11R6/man; \ + make) +# sh $(HERE)/debian/fix-libtool $(WORK); \ +# make; \ +# sh $(HERE)/debian/fix-libtool $(WORK)) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -rf work work.tmp + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # install motif libs + clients +# cd $(WORK)/$(DIR); make DESTDIR=$(DEST) install + for dir in doc lib clients bitmaps bindings; do \ + cd $(WORK)/$(DIR)/$$dir; \ + make DESTDIR=$(DEST) install; \ + done +# cp -a $(WORK)/$(DIR)/doc/man $(DEST)/usr/X11R6/man +# rm -f $(DEST)/usr/X11R6/man/man*/Makefile* + + # fixup some minor stuff / take care about menus + mkdir -p debian/tmp/etc/X11/mwm + mkdir -p debian/tmp/usr/X11R6/lib/X11 +# rm -f debian/tmp/etc/X11/system.mwmrc + rm -f debian/tmp/usr/X11R6/lib/X11/system.mwmrc + ln -s /etc/X11/mwm/system.mwmrc debian/tmp/usr/X11R6/lib/X11/system.mwmrc + cat conf/xmbind.add >> debian/tmp/usr/X11R6/lib/X11/bindings/xmbind.alias + + # splitup packages + dh_movefiles + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs -p libmotif3 dist/[CLR]* + dh_installdocs -p libmotif-dev dist/[CLR]* + dh_installdocs -p motif-clients dist/[CLR]* +# dh_installdocs -p motif-doc dist/[CLR]* \ +# work/motif-doc-ps/* +# dh_installmanpages + dh_installwm -p motif-clients /usr/X11R6/bin/mwm + dh_installmenu + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + --- openmotif-2.2.3.orig/debian/motif-clients.postrm.off +++ openmotif-2.2.3/debian/motif-clients.postrm.off @@ -0,0 +1,3 @@ +#!/bin/sh +test -x /usr/bin/update-menus && /usr/bin/update-menus +#DEBHELPER# --- openmotif-2.2.3.orig/workaround-_XGetpwnam-API-breakage.patch +++ openmotif-2.2.3/workaround-_XGetpwnam-API-breakage.patch @@ -0,0 +1,42 @@ +--- openMotif-2.2.3/lib/Xm/Xmos.c.orig 2003-08-19 20:38:24.000000000 +0200 ++++ openMotif-2.2.3/lib/Xm/Xmos.c 2004-04-21 11:19:18.000000000 +0200 +@@ -272,7 +272,7 @@ + } + *destPtr = '\0'; + +- pwd_value = _XGetpwnam(nameBuf, pwd_buf); ++ pwd_value = _XGetpwnam(nameBuf, pwd_buf, &pwd_value); + if (pwd_value != NULL) + { + userDirLen = strlen(pwd_value->pw_dir); +@@ -1030,11 +1030,11 @@ + if ((ptr = (char *)getenv("HOME")) == NULL) + { + if ((ptr = (char *)getenv(USER_VAR)) != NULL) +- pwd_value = _XGetpwnam(ptr, pwd_buf); ++ pwd_value = _XGetpwnam(ptr, pwd_buf, &pwd_value); + else + { + uid = getuid(); +- pwd_value = _XGetpwuid(uid, pwd_buf); ++ pwd_value = _XGetpwuid(uid, pwd_buf, &pwd_value); + } + + if (pwd_value != NULL) +--- openMotif-2.2.3/clients/uil/UilDB.c.orig 2004-04-21 11:20:07.000000000 +0200 ++++ openMotif-2.2.3/clients/uil/UilDB.c 2004-04-21 11:15:45.000000000 +0200 +@@ -911,12 +911,12 @@ + { + if((ptr = (char *)getenv(USER_VAR)) != NULL) + { +- pwd_value = _XGetpwnam(ptr, pwd_buf); ++ pwd_value = _XGetpwnam(ptr, pwd_buf, &pwd_value); + } + else + { + uid = getuid(); +- pwd_value = _XGetpwuid(uid, pwd_buf); ++ pwd_value = _XGetpwuid(uid, pwd_buf, &pwd_value); + } + if (pwd_value != NULL) + {