oweals/cde.git
6 years agott/lib: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:53:46 +0000 (15:53 -0600)]
tt/lib: remove register keyword

6 years agolib/pam: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:30:28 +0000 (15:30 -0600)]
lib/pam: remove register keyword

6 years agolib/pam/examples/login: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:26:28 +0000 (15:26 -0600)]
lib/pam/examples/login: remove register keyword

6 years agolib/csa: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:24:08 +0000 (15:24 -0600)]
lib/csa: remove register keyword

6 years agoDtWidget: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:15:59 +0000 (15:15 -0600)]
DtWidget: remove register keyword

6 years agoDtTerm/util: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:07:39 +0000 (15:07 -0600)]
DtTerm/util: remove register keyword

6 years agoDtSvc/DtUtil2: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:06:10 +0000 (15:06 -0600)]
DtSvc/DtUtil2: remove register keyword

6 years agoDtSvc/DtUtil1: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:03:37 +0000 (15:03 -0600)]
DtSvc/DtUtil1: remove register keyword

6 years agoDtSvc/DtEncap: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:55:20 +0000 (14:55 -0600)]
DtSvc/DtEncap: remove register keyword

6 years agoDtSvc/DtCodelibs: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:52:33 +0000 (14:52 -0600)]
DtSvc/DtCodelibs: remove register keyword

6 years agolib/DtSearch: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:48:29 +0000 (14:48 -0600)]
lib/DtSearch: remove register keyword

6 years agoDtSearch/raima: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:37:24 +0000 (14:37 -0600)]
DtSearch/raima: remove register keyword

6 years agolib/DtPrint: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:22:00 +0000 (14:22 -0600)]
lib/DtPrint: remove register keyword

6 years agolib/DtHelp: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:19:02 +0000 (14:19 -0600)]
lib/DtHelp: remove register keyword

6 years agolib/DtHelp/jpeg: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:18:31 +0000 (14:18 -0600)]
lib/DtHelp/jpeg: remove register keyword

6 years agolib/DtHelp/il: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:09:44 +0000 (14:09 -0600)]
lib/DtHelp/il: remove register keyword

6 years agoexamples/dtwsm: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:16:04 +0000 (13:16 -0600)]
examples/dtwsm: remove register keyword

6 years agoutil/dbtoman/instant: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:14:11 +0000 (13:14 -0600)]
util/dbtoman/instant: remove register keyword

6 years agoutil/mkshadow: delete ancient unused utility
Jon Trulson [Wed, 27 Jun 2018 19:10:34 +0000 (13:10 -0600)]
util/mkshadow: delete ancient unused utility

6 years agomakedepend: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:08:13 +0000 (13:08 -0600)]
makedepend: remove register keyword

6 years agolocalized/util: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:25:29 +0000 (04:25 +0100)]
localized/util: Change to ANSI function definitions

6 years agodttypes: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:58 +0000 (04:24 +0100)]
dttypes: Change to ANSI function definitions

6 years agodtsr: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:28 +0000 (04:24 +0100)]
dtsr: Change to ANSI function definitions

6 years agodtpad: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:03 +0000 (04:24 +0100)]
dtpad: Change to ANSI function definitions

6 years agodthelp: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:23:35 +0000 (04:23 +0100)]
dthelp: Change to ANSI function definitions

6 years agodtscreen: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:23:07 +0000 (04:23 +0100)]
dtscreen: Change to ANSI function definitions

6 years agodtterm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:22:06 +0000 (04:22 +0100)]
dtterm: Change to ANSI function definitions

6 years agodtstyle: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:21:25 +0000 (04:21 +0100)]
dtstyle: Change to ANSI function definitions

6 years agodtpdmd: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:20:53 +0000 (04:20 +0100)]
dtpdmd: Change to ANSI function definitions

6 years agodtpdm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:20:10 +0000 (04:20 +0100)]
dtpdm: Change to ANSI function definitions

6 years agodtimsstart: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:19:15 +0000 (04:19 +0100)]
dtimsstart: Change to ANSI function definitions

6 years agodtsession: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:18:25 +0000 (04:18 +0100)]
dtsession: Change to ANSI function definitions

6 years agodtwm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:17:53 +0000 (04:17 +0100)]
dtwm: Change to ANSI function definitions

6 years agodtlogin: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:16:41 +0000 (04:16 +0100)]
dtlogin: Change to ANSI function definitions

6 years agodticon: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:15:59 +0000 (04:15 +0100)]
dticon: Change to ANSI function definitions

6 years agodtinfo: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:15:16 +0000 (04:15 +0100)]
dtinfo: Change to ANSI function definitions

6 years agodtfile/dtcopy: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:14:11 +0000 (04:14 +0100)]
dtfile/dtcopy: Change to ANSI function definitions

6 years agodtfile: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:13:21 +0000 (04:13 +0100)]
dtfile: Change to ANSI function definitions

6 years agodtdocbook: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:12:10 +0000 (04:12 +0100)]
dtdocbook: Change to ANSI function definitions

6 years agodtcreate: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:11:21 +0000 (04:11 +0100)]
dtcreate: Change to ANSI function definitions

6 years agodtcm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:10:42 +0000 (04:10 +0100)]
dtcm: Change to ANSI function definitions

6 years agodtcalc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:09:20 +0000 (04:09 +0100)]
dtcalc: Change to ANSI function definitions

6 years agodtappbuilder: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:08:35 +0000 (04:08 +0100)]
dtappbuilder: Change to ANSI function definitions

6 years agodsdm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:07:44 +0000 (04:07 +0100)]
dsdm: Change to ANSI function definitions

6 years agolibtt: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:06:47 +0000 (04:06 +0100)]
libtt: Change to ANSI function definitions

6 years agolibDtTerm: Change to ANSI function definition
Peter Howkins [Thu, 28 Jun 2018 03:01:19 +0000 (04:01 +0100)]
libDtTerm: Change to ANSI function definition

6 years agolibDtSvc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:58:49 +0000 (03:58 +0100)]
libDtSvc: Change to ANSI function definitions

6 years agolibDtMrm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:56:02 +0000 (03:56 +0100)]
libDtMrm: Change to ANSI function definitions

6 years agolibcsa: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:54:49 +0000 (03:54 +0100)]
libcsa: Change to ANSI function definitions

6 years agolibDtHelp: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:53:31 +0000 (03:53 +0100)]
libDtHelp: Change to ANSI function definitions

6 years agodbtoman: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:51:33 +0000 (03:51 +0100)]
dbtoman: Change to ANSI function definitions

6 years agoconfig/util: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:49:38 +0000 (03:49 +0100)]
config/util: Change to ANSI function definitions

6 years agodtfile: Remove define MULTIBYTE which is always on for CDE
Peter Howkins [Mon, 25 Jun 2018 00:24:31 +0000 (01:24 +0100)]
dtfile: Remove define MULTIBYTE which is always on for CDE

6 years agodtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only
Peter Howkins [Sun, 24 Jun 2018 23:20:55 +0000 (00:20 +0100)]
dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only

6 years agoRemove apollo support
chase [Sun, 24 Jun 2018 19:15:00 +0000 (14:15 -0500)]
Remove apollo support

6 years agoRemove macII support
chase [Sun, 24 Jun 2018 12:22:21 +0000 (07:22 -0500)]
Remove macII support

6 years agolinux.cf: Remove permissive flag
chase [Sun, 24 Jun 2018 19:23:57 +0000 (14:23 -0500)]
linux.cf: Remove permissive flag

6 years agoMerge branch 'master' into cde-next
Jon Trulson [Sun, 24 Jun 2018 21:46:55 +0000 (15:46 -0600)]
Merge branch 'master' into cde-next

6 years agolinux/site.def: use an if !defined() gaurd for DtLocalesToBuild
Jon Trulson [Sun, 24 Jun 2018 18:48:14 +0000 (12:48 -0600)]
linux/site.def: use an if !defined() gaurd for DtLocalesToBuild

Without this, you cannot use the command line to select the languages
to build, you would have to edit site.def directly.

With this fix, you can build a language on linux with something like:

make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"'

to build the DE (German) and es (Spanish) locales.

6 years agodthelp: Convert all K&R function definitions to ANSI (C90) standard
Peter Howkins [Sat, 23 Jun 2018 23:50:56 +0000 (00:50 +0100)]
dthelp: Convert all K&R function definitions to ANSI (C90) standard

6 years agodthelp: Remove spectaculaly obsolete MSDOS support
Peter Howkins [Sat, 23 Jun 2018 00:38:03 +0000 (01:38 +0100)]
dthelp: Remove spectaculaly obsolete MSDOS support

6 years agodthelp: Remove always on macro M_NOPAR which was just there to support ancient compil...
Peter Howkins [Fri, 22 Jun 2018 23:48:36 +0000 (00:48 +0100)]
dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void'

6 years agodthelp: Remove define M_PROTO that was always turned on (for all platforms) that...
Peter Howkins [Fri, 22 Jun 2018 19:40:47 +0000 (20:40 +0100)]
dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes

6 years agodtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete...
Peter Howkins [Thu, 21 Jun 2018 02:04:32 +0000 (03:04 +0100)]
dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support

6 years agolibtt: if local hostname lookup fails, default to localhost
Jon Trulson [Wed, 20 Jun 2018 22:59:34 +0000 (16:59 -0600)]
libtt: if local hostname lookup fails, default to localhost

A recurring problem, mainly on the BSD's, and also on some Linux
installations, is a failure for ttsession to start and any clients
trying to attach to it failing due to having a hostname that is not
associated with an IP address.

This is due to code which looks up the hostname, and if it does not
have a valid host record, then TT just fails.

This has required those users to add an alias for their host name in
their /etc/hosts file.

With this commit, this should no longer be necessary.  Now, if
_XGethostbyname() fails when looking up the local name, a default of
"localhost" is used, which should always exist.

This was run tested on Linux and FreeBSD 11.1.  It was compile tested
on OpenBSD 6.2.

6 years agoMinor corrections and cleanup to sun.cf
Matthew R. Trower [Tue, 12 Jun 2018 04:10:39 +0000 (23:10 -0500)]
Minor corrections and cleanup to sun.cf

6 years agoResolve inconsistent strcasestr availability on Sun
Matthew R. Trower [Tue, 19 Jun 2018 20:25:20 +0000 (15:25 -0500)]
Resolve inconsistent strcasestr availability on Sun

6 years agodtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE...
Peter Howkins [Wed, 20 Jun 2018 00:11:17 +0000 (01:11 +0100)]
dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1

6 years agodtwm: Remove WSM define, that is always on for CDE
Peter Howkins [Tue, 19 Jun 2018 23:46:58 +0000 (00:46 +0100)]
dtwm: Remove WSM define, that is always on for CDE

6 years agodtwm: remove define MINIMAL_DT which is always on for CDE
Peter Howkins [Tue, 19 Jun 2018 19:50:50 +0000 (20:50 +0100)]
dtwm: remove define MINIMAL_DT which is always on for CDE

6 years agodtwm: Remove id strings related to historic version control system used before CDE...
Peter Howkins [Tue, 19 Jun 2018 19:25:58 +0000 (20:25 +0100)]
dtwm: Remove id strings related to historic version control system used before CDE was opened.

6 years agodtwm: Remove the define PANELIST, it is always on for dtwm
Peter Howkins [Tue, 19 Jun 2018 18:57:29 +0000 (19:57 +0100)]
dtwm: Remove the define PANELIST, it is always on for dtwm

6 years agoAdd SMF service on Sun
Matthew R. Trower [Mon, 18 Jun 2018 09:20:43 +0000 (04:20 -0500)]
Add SMF service on Sun

6 years agoimake: Refactor and fix get_sun_compiler_versions()
Matthew R. Trower [Wed, 13 Jun 2018 10:15:01 +0000 (05:15 -0500)]
imake: Refactor and fix get_sun_compiler_versions()

* Improve maintainability
* Improve robustness
* Correct gcc version detection
* Correct gcc include path detection

6 years agoOpenBSD: tone down compiler warnings a bit
Jon Trulson [Fri, 15 Jun 2018 20:52:21 +0000 (13:52 -0700)]
OpenBSD: tone down compiler warnings a bit

So many of these are just noise.  Someday maybe we can eliminate
these, but for now they just obscure real problems.

6 years agoCDE-ICONS: create compatibility symlinks as relative rather than absolute
Jon Trulson [Fri, 15 Jun 2018 19:42:52 +0000 (12:42 -0700)]
CDE-ICONS: create compatibility symlinks as relative rather than absolute

Some icons are actually symlinks to other icons, presumably for
compatibility with older systems.  These were absolute symlinks.  This
commit makes them relative symlinks instead.

6 years agonsgml: Resolve symbol collision when building with SunStudio 12.1
Matthew R. Trower [Thu, 14 Jun 2018 03:16:14 +0000 (22:16 -0500)]
nsgml: Resolve symbol collision when building with SunStudio 12.1

6 years agoFreeBSD: turn off some warnings
Jon Trulson [Fri, 15 Jun 2018 01:05:40 +0000 (01:05 +0000)]
FreeBSD: turn off some warnings

Someday these can be addressed, but for now they are just noise.

6 years agoFreeBSD 11: Fix clang (v6) builds
Jon Trulson [Fri, 15 Jun 2018 00:00:46 +0000 (00:00 +0000)]
FreeBSD 11: Fix clang (v6) builds

While CDE builds fine with gcc6 on FreeBSD 11, the default clang build
was broken in a few places.  This commit allows CDE to build now using
the default clang 6 system compiler.

6 years agoXPM: Replace calls to XmeXpm*() with regular Xpm*()
Jon Trulson [Sat, 9 Jun 2018 00:28:23 +0000 (18:28 -0600)]
XPM: Replace calls to XmeXpm*() with regular Xpm*()

This is no longer needed on modern Motif's.

6 years agoOpenBSD 6+: use installed X11 and Motif
Jon Trulson [Thu, 14 Jun 2018 18:59:21 +0000 (12:59 -0600)]
OpenBSD 6+: use installed X11 and Motif

This commit removes the need to setup X11 and motif import symlinks
before building CDE.  With OpenBSD v6+, the installed versions of X11 and
Motif will be used.

This may work with earlier versions of OpenBSD as well, but I don't
have access to those older versions.  If you try it, and it works,
send a patch to the CDE mailing list.

This was tested on OpenBSD 6.2

6 years agobuilding_release_archive: omit '-src' in archive filename
Jon Trulson [Thu, 14 Jun 2018 19:08:20 +0000 (13:08 -0600)]
building_release_archive: omit '-src' in archive filename

6 years agoFreeBSD 11: Don't use imported x11/motif, use installed versions for build
Jon Trulson [Thu, 14 Jun 2018 00:59:38 +0000 (00:59 +0000)]
FreeBSD 11: Don't use imported x11/motif, use installed versions for build

With this patch, the import symlinks for x11 and motif do not need to
be created.  The build will use the installed headers in
/usr/local/include/{X11, Xm}.

This will work for FreeBSD 11 only ATM as I don't have older systems
to test with.

It may work for FreeBSD 10 or earlier versions as well.  If so, edit
config/cf/FreeBSD.cf and change the OSMajorVersion check for
UseInstalledX11 appropriately.  And send a patch to the CDE mailing
list :)

6 years agodtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
Jon Trulson [Wed, 13 Jun 2018 23:10:35 +0000 (23:10 +0000)]
dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C

This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.

6 years agolibDtTerm: Fix for a coredump seen on OpenBSD
Jon Trulson [Wed, 13 Jun 2018 19:27:46 +0000 (13:27 -0600)]
libDtTerm: Fix for a coredump seen on OpenBSD

6 years agodocnook.tcl: Add shebang
chase [Tue, 12 Jun 2018 11:46:08 +0000 (06:46 -0500)]
docnook.tcl: Add shebang

6 years agocreate .depend files for Solaris+Illumos
Ulrich Wilkens [Mon, 11 Jun 2018 21:00:41 +0000 (23:00 +0200)]
create .depend files for Solaris+Illumos

6 years agoinstallCDE.src: remove duplicate code
chase [Sun, 10 Jun 2018 16:02:07 +0000 (11:02 -0500)]
installCDE.src: remove duplicate code

6 years agoRemove reallyoldsun defines
chase [Sat, 9 Jun 2018 02:01:54 +0000 (21:01 -0500)]
Remove reallyoldsun defines

6 years agocde: change version to 2.2.4a, for a development release 2.2.4a
Jon Trulson [Fri, 8 Jun 2018 19:03:39 +0000 (13:03 -0600)]
cde: change version to 2.2.4a, for a development release

6 years agoFix imake segfault on OpenIndiana
Matthew R. Trower [Mon, 4 Jun 2018 05:34:52 +0000 (00:34 -0500)]
Fix imake segfault on OpenIndiana

Version string changed in distributed GCC6, confusing
get_sun_compiler_versions().

6 years agoinstallCDE: Only install locales that were built
Jon Trulson [Sat, 2 Jun 2018 01:47:41 +0000 (19:47 -0600)]
installCDE: Only install locales that were built

We pass the DtLocalesToBuild to installCDE.src, which can then check
to see what locales were built.  We then only install packages for
those locales.

6 years agosite.def: Only build C/en_US locales by default for Linux
Jon Trulson [Fri, 1 Jun 2018 23:11:15 +0000 (17:11 -0600)]
site.def: Only build C/en_US locales by default for Linux

6 years agolinux.cf: disable stripping of installed binaries
Jon Trulson [Fri, 1 Jun 2018 19:53:41 +0000 (13:53 -0600)]
linux.cf: disable stripping of installed binaries

The build system should not generally strip binaries - that's up to
the packaging systems (for creating 'release' vs. 'debug' packages for
example).

6 years agoinstallCDE: unset FIGNORE to workaround potential ksh bug
Jon Trulson [Fri, 1 Jun 2018 17:32:39 +0000 (11:32 -0600)]
installCDE: unset FIGNORE to workaround potential ksh bug

6 years agoconfigTT: remove inetd support
Jon Trulson [Thu, 31 May 2018 23:29:14 +0000 (17:29 -0600)]
configTT: remove inetd support

6 years agoconfigMin: remove inetd support, 'pam' support
Jon Trulson [Thu, 31 May 2018 23:23:42 +0000 (17:23 -0600)]
configMin: remove inetd support, 'pam' support

I'm not sure what the pam stuff wanted to do, but it was disabled
anyway and we do not need it.  Someday, we will want to integrate with
PAM properly, but this wasn't it.

6 years agoconfigRun: remove inetd support
Jon Trulson [Thu, 31 May 2018 23:17:56 +0000 (17:17 -0600)]
configRun: remove inetd support

I don't believe anyone uses inetd anymore.  If you do, you are on your
own.

6 years agoconfigRun: leave dtmail alone, UDB handles it's perms correctly
Jon Trulson [Thu, 31 May 2018 22:54:51 +0000 (16:54 -0600)]
configRun: leave dtmail alone, UDB handles it's perms correctly

6 years agocde.desktop: add xpm icon
chase [Sun, 27 May 2018 18:13:41 +0000 (13:13 -0500)]
cde.desktop: add xpm icon