oweals/cde.git
4 years agodtsession: do not hardcode -lcrypt on link
Jon Trulson [Sun, 15 Dec 2019 02:14:52 +0000 (19:14 -0700)]
dtsession: do not hardcode -lcrypt on link

4 years agogencat: get rid of -o option, not needed and not supported on some systems
Jon Trulson [Sun, 15 Dec 2019 02:05:35 +0000 (19:05 -0700)]
gencat: get rid of -o option, not needed and not supported on some systems

4 years agoconfigure: fix another bsd related typo
Jon Trulson [Sun, 15 Dec 2019 02:04:22 +0000 (19:04 -0700)]
configure: fix another bsd related typo

4 years agodtlogin: build on openbsd
Jon Trulson [Sun, 15 Dec 2019 01:22:49 +0000 (18:22 -0700)]
dtlogin: build on openbsd

4 years agodtopen/Makefile.am: fix typo in link for pdf handler
Jon Trulson [Sat, 14 Dec 2019 21:21:41 +0000 (14:21 -0700)]
dtopen/Makefile.am: fix typo in link for pdf handler

4 years agoconfigure: first stab at a BSD (openbsd 6.5) build
Jon Trulson [Sat, 14 Dec 2019 02:01:21 +0000 (19:01 -0700)]
configure: first stab at a BSD (openbsd 6.5) build

4 years agodtopen: install symlinked helpers
Jon Trulson [Thu, 5 Dec 2019 01:24:04 +0000 (18:24 -0700)]
dtopen: install symlinked helpers

With this commit, CDE can install and run now.  There are still some
programs/ that are not yet built:

dthelp dtksh dtappbuilder dtdocbook dtinfo nsgmls ttsnoop

and of course documentation (doc/).  But this is a great start.  For
the first time, things build, install, AND run correctly :)

4 years agolibrary versioning: use proper format and specify for ALL libraries
Jon Trulson [Thu, 5 Dec 2019 01:09:22 +0000 (18:09 -0700)]
library versioning: use proper format and specify for ALL libraries

4 years agoprograms/Makefile.am: add missing palettes/ dir
Jon Trulson [Wed, 4 Dec 2019 23:36:09 +0000 (16:36 -0700)]
programs/Makefile.am: add missing palettes/ dir

4 years agofontaliases: redo the way these are built, and actually install them
Jon Trulson [Wed, 4 Dec 2019 22:47:28 +0000 (15:47 -0700)]
fontaliases: redo the way these are built, and actually install them

Use a common make include file to do most of the work and set the
appropriate LANG from localized/templates/ .  This should simplify it
quite a bit and reduce duplication.

Also we were not even installing them, so now we are.

4 years agocpp revisited: look for a cpp binary in various locations for use at runtime
Jon Trulson [Wed, 4 Dec 2019 21:28:44 +0000 (14:28 -0700)]
cpp revisited: look for a cpp binary in various locations for use at runtime

Certain programs like dtlogin and tt_type_comp need access to the
system's cpp command to process certain files at runtime.  tradcpp is
not installed on most systems, and is intended for use as a imake-cpp
replacement which is all we are using it for.  We still need an
honest cpp for the CDE components to use.

Now, we look in various places for a 'cpp' command and set CPP_COMMAND
to it's value.  This way tt_type_comp and other CDE programs can do
required processing at runtime.

4 years agodtwm: don't install Dtwm.defs - that is processed/handled by localization
Jon Trulson [Wed, 4 Dec 2019 20:43:18 +0000 (13:43 -0700)]
dtwm: don't install Dtwm.defs - that is processed/handled by localization

4 years agoicons: install in proper C/ subdir
Jon Trulson [Wed, 4 Dec 2019 20:22:11 +0000 (13:22 -0700)]
icons: install in proper C/ subdir

4 years agoFix palette and backdrops installation in dt/shared with proper symlinks
Jon Trulson [Wed, 4 Dec 2019 20:21:31 +0000 (13:21 -0700)]
Fix palette and backdrops installation in dt/shared with proper symlinks

4 years agotradcpp: upgrade to 0.5.3
Jon Trulson [Wed, 4 Dec 2019 01:12:22 +0000 (18:12 -0700)]
tradcpp: upgrade to 0.5.3

4 years agodtsession/SrvPalette.c: delete trailing whitespace
Jon Trulson [Wed, 4 Dec 2019 00:14:32 +0000 (17:14 -0700)]
dtsession/SrvPalette.c: delete trailing whitespace

4 years agodtsession/SrvPalette.c: fix bogus error handling when selection is lost
Jon Trulson [Wed, 4 Dec 2019 00:10:35 +0000 (17:10 -0700)]
dtsession/SrvPalette.c: fix bogus error handling when selection is lost

4 years agodtlogin/dtsession: fix up some script perms, add proper OS defines
Jon Trulson [Tue, 3 Dec 2019 21:06:18 +0000 (14:06 -0700)]
dtlogin/dtsession: fix up some script perms, add proper OS defines

4 years agodtlogin: set correct OS defines for Xsession, fix linux maildir
Jon Trulson [Tue, 3 Dec 2019 20:07:19 +0000 (13:07 -0700)]
dtlogin: set correct OS defines for Xsession, fix linux maildir

4 years agovideoTypes.dt: remove duplicate LABEL in Print action
Jon Trulson [Tue, 3 Dec 2019 20:06:21 +0000 (13:06 -0700)]
videoTypes.dt: remove duplicate LABEL in Print action

4 years agodtsession: add missing dtsession_res script
Jon Trulson [Tue, 3 Dec 2019 06:01:28 +0000 (23:01 -0700)]
dtsession: add missing dtsession_res script

4 years agodtwm: fix installation
Jon Trulson [Tue, 3 Dec 2019 06:01:08 +0000 (23:01 -0700)]
dtwm: fix installation

4 years agodtlogin: fixup some of the options
Jon Trulson [Tue, 3 Dec 2019 06:00:16 +0000 (23:00 -0700)]
dtlogin: fixup some of the options

4 years agodtlogin: install Xsession properly
Jon Trulson [Tue, 3 Dec 2019 05:13:39 +0000 (22:13 -0700)]
dtlogin: install Xsession properly

4 years agoGet tttypes installed correctly.
Jon Trulson [Tue, 3 Dec 2019 02:59:44 +0000 (19:59 -0700)]
Get tttypes installed correctly.

There is a problem with CPP_PROGRAM - using $CPP or $GENCPP (tradcpp)
always fails in tt_type_comp with the error:

"nclude ", line 8: syntax error

If I define it to /lib/cpp (previous hardcoded value) then it seems to
work fine.  Only the dtinfo and dtinfo_start ptypes use #include, and
therefore show this error.  Needs investigation.

4 years agoGet the dt types installed properly on make install
Jon Trulson [Tue, 3 Dec 2019 02:31:02 +0000 (19:31 -0700)]
Get the dt types installed properly on make install

4 years agoGet the palettes installed properly on make install
Jon Trulson [Tue, 3 Dec 2019 02:20:36 +0000 (19:20 -0700)]
Get the palettes installed properly on make install

4 years agoGet the message catalogs installed properly on make install
Jon Trulson [Tue, 3 Dec 2019 02:06:31 +0000 (19:06 -0700)]
Get the message catalogs installed properly on make install

4 years agoGet /usr/dt/config populated correctly on make install
Jon Trulson [Mon, 2 Dec 2019 21:33:05 +0000 (14:33 -0700)]
Get /usr/dt/config populated correctly on make install

4 years agoInstall backdrops in proper location, install localization for them
Jon Trulson [Mon, 2 Dec 2019 20:08:52 +0000 (13:08 -0700)]
Install backdrops in proper location, install localization for them

4 years agoapp-defaults.am: tweak installation
Jon Trulson [Mon, 2 Dec 2019 20:08:06 +0000 (13:08 -0700)]
app-defaults.am: tweak installation

4 years agoGet app-defaults installing correctly
Jon Trulson [Mon, 2 Dec 2019 05:26:47 +0000 (22:26 -0700)]
Get app-defaults installing correctly

4 years agott_type_comp: incorporate master CPP_PROGRAM fix into Makefile.am
Jon Trulson [Sun, 1 Dec 2019 20:44:02 +0000 (13:44 -0700)]
tt_type_comp: incorporate master CPP_PROGRAM fix into Makefile.am

4 years agoMerge branch 'master' into autotools-conversion
Jon Trulson [Sun, 1 Dec 2019 20:31:21 +0000 (13:31 -0700)]
Merge branch 'master' into autotools-conversion

4 years agoprograms/dtimsstart/Makefile.am: fix typo
Jon Trulson [Sun, 1 Dec 2019 05:21:48 +0000 (22:21 -0700)]
programs/dtimsstart/Makefile.am: fix typo

4 years agolocalization: disable parallel builds for app-defaults, types, and config
Jon Trulson [Sun, 1 Dec 2019 03:45:50 +0000 (20:45 -0700)]
localization: disable parallel builds for app-defaults, types, and config

These use the 'merge' utility which hardcodes temp files and the like
- it cannot be run with other instances without generating bogus
errors and occasionally coredumping. :(

4 years agolocalization: finish up with getting message catalogs building
Jon Trulson [Sun, 1 Dec 2019 03:08:11 +0000 (20:08 -0700)]
localization: finish up with getting message catalogs building

There are still some issues here - specifically with the C
dtbuilder/dtcodegen catalogs.  They may be broken due to dtbuilder not
being built yet.

Also, once dtinfo can be built, the msgs and app-defaults for it
should be re-enabled.

I also see gencat coredumping in localization/ while doing a multicore
(-jX) make.  Regular single core builds seem to work fine.

4 years agoroot Makefile.am: disable doc/ for now
Jon Trulson [Sun, 1 Dec 2019 03:06:58 +0000 (20:06 -0700)]
root Makefile.am: disable doc/ for now

4 years agolocalized: temporarily disable dtinfo appdefaults
Jon Trulson [Sun, 1 Dec 2019 03:04:06 +0000 (20:04 -0700)]
localized: temporarily disable dtinfo appdefaults

4 years agolocalized: make palettes build
Jon Trulson [Sun, 1 Dec 2019 00:12:15 +0000 (17:12 -0700)]
localized: make palettes build

4 years agolocalized: make types build
Jon Trulson [Sun, 1 Dec 2019 00:00:34 +0000 (17:00 -0700)]
localized: make types build

4 years agolocalized: make backdrops build
Jon Trulson [Sun, 1 Dec 2019 00:00:00 +0000 (17:00 -0700)]
localized: make backdrops build

4 years agolocalized: make configs build
Jon Trulson [Sat, 30 Nov 2019 23:18:45 +0000 (16:18 -0700)]
localized: make configs build

4 years agodtdocbook/instant: fix buffer overlow on German umlaut in latin-1
Marcin Cieślak [Sat, 30 Nov 2019 03:51:40 +0000 (03:51 +0000)]
dtdocbook/instant: fix buffer overlow on German umlaut in latin-1

One-off error:

Old buffer length was 6 for one character (3 * 1 + 3)
We need one more byte par character in the buffer for
the hex representation of it.

+0 '"'
+1 '\\'
+2 'x'
+3 'f'
+4 'c'
+5 '"'
+6 0x0 << overflow

tcl combined with RCHECK will abort because memory blocks
are allocated contiguously and we overwrite the magic marker
of the next block.

4 years agott_type_comp: use CppCmd definition
Nina Didenko [Sun, 24 Nov 2019 07:42:05 +0000 (10:42 +0300)]
tt_type_comp: use CppCmd definition

Hi.

This patch makes tt_type_comp respect CppCmd

Thanks!

4 years agolocalization: make FR, DE, IT, and ES app-defaults/ build
Jon Trulson [Mon, 25 Nov 2019 01:53:41 +0000 (18:53 -0700)]
localization: make FR, DE, IT, and ES app-defaults/ build

4 years agolocalized/C/app-defaults: make it build
Jon Trulson [Mon, 25 Nov 2019 00:52:29 +0000 (17:52 -0700)]
localized/C/app-defaults: make it build

4 years agomerge, mkcatdefs: add missing includes, clean up trailing whitespace
Jon Trulson [Mon, 25 Nov 2019 00:43:50 +0000 (17:43 -0700)]
merge, mkcatdefs: add missing includes, clean up trailing whitespace

4 years agodthello: build the resource file Dthello
Jon Trulson [Mon, 25 Nov 2019 00:01:57 +0000 (17:01 -0700)]
dthello: build the resource file Dthello

4 years agodtprintinfo: fix a mulit-core build race, for realz this time
Jon Trulson [Sat, 23 Nov 2019 00:35:21 +0000 (17:35 -0700)]
dtprintinfo: fix a mulit-core build race, for realz this time

4 years agodtopen: make it build
Jon Trulson [Sat, 23 Nov 2019 00:14:27 +0000 (17:14 -0700)]
dtopen: make it build

Also, move localized subdir to last in current list of programs/ SUBDIRS

4 years agodttypes: make it build
Jon Trulson [Sat, 23 Nov 2019 00:07:34 +0000 (17:07 -0700)]
dttypes: make it build

4 years agotttypes: make it build
Jon Trulson [Fri, 22 Nov 2019 23:58:58 +0000 (16:58 -0700)]
tttypes: make it build

4 years agotypes: make it build
Jon Trulson [Fri, 22 Nov 2019 21:33:34 +0000 (14:33 -0700)]
types: make it build

4 years agoFix up a couple issues with multi-core builds and 2 race conditions
Jon Trulson [Fri, 22 Nov 2019 20:42:02 +0000 (13:42 -0700)]
Fix up a couple issues with multi-core builds and 2 race conditions

4 years agodtpdmd: make it build
Jon Trulson [Fri, 22 Nov 2019 20:13:41 +0000 (13:13 -0700)]
dtpdmd: make it build

4 years agodtsr: make it build; configure: fix cpu detection
Jon Trulson [Fri, 22 Nov 2019 20:01:36 +0000 (13:01 -0700)]
dtsr: make it build; configure: fix cpu detection

4 years agodtpdm: make it build
Jon Trulson [Fri, 22 Nov 2019 19:09:55 +0000 (12:09 -0700)]
dtpdm: make it build

4 years agodtimsstart: make it build
Jon Trulson [Fri, 22 Nov 2019 03:06:29 +0000 (20:06 -0700)]
dtimsstart: make it build

4 years agoprograms: disable ttsnoop for now
Jon Trulson [Fri, 22 Nov 2019 02:54:09 +0000 (19:54 -0700)]
programs: disable ttsnoop for now

4 years agodtdspmsg: make it build
Jon Trulson [Fri, 22 Nov 2019 02:53:30 +0000 (19:53 -0700)]
dtdspmsg: make it build

4 years agofontaliases: make it build, and rework somewhat
Jon Trulson [Fri, 22 Nov 2019 02:47:38 +0000 (19:47 -0700)]
fontaliases: make it build, and rework somewhat

4 years agodtprintinfo: make it build
Jon Trulson [Fri, 22 Nov 2019 00:43:27 +0000 (17:43 -0700)]
dtprintinfo: make it build

Also, it was easier just to use a single Makefile.am rather than one for
every subdir, so thats what we did here.

4 years agoconfigure: rework libXinerama detection a bit, remove hardcoded -lXinerama's
Jon Trulson [Thu, 21 Nov 2019 21:14:59 +0000 (14:14 -0700)]
configure: rework libXinerama detection a bit, remove hardcoded -lXinerama's

Make -lXinerama a dep on libDtXinerama so it doen't need to be
specified in Makefile.am files or in LIBS as it was being done
previously.

This still needs a little work, ideally Xinerama should be completely
optional and only enabled if present.  But we can save that for
later.

4 years agodtmailpr: fix vla warning
Jon Trulson [Thu, 21 Nov 2019 21:13:48 +0000 (14:13 -0700)]
dtmailpr: fix vla warning

4 years agoinstallCDE: don't hardcode path to whoami
Nina Didenko [Wed, 20 Nov 2019 19:50:06 +0000 (22:50 +0300)]
installCDE: don't hardcode path to whoami

Hi.

Patch removes hardcoded paths to echo and whoami in installation scripts.

Thanks.

4 years agoRemove $(TIRPCINC) from all Makefile.am files - it no longer exists
Jon Trulson [Thu, 21 Nov 2019 01:35:03 +0000 (18:35 -0700)]
Remove $(TIRPCINC) from all Makefile.am files - it no longer exists

Also, restructure some of the dependencies in the lib/tt binaries.  We
will link with libtt (which will include libtirpc as a dependency),
and XTOOLLIB - all the right X11 stuff without needing to add it to
every OS.  Removed several uneeded OS specializations ("if LINUX",
etc) as a result.

4 years agoconfigure: rework the way TIRPC is detected and handled
Jon Trulson [Thu, 21 Nov 2019 01:26:59 +0000 (18:26 -0700)]
configure: rework the way TIRPC is detected and handled

Previously we would detect whether TIRPC is installed or not, and set
TIRPCINC to the include directory with the -DOPT_TIRPC macro defined.
Then, pretty much every Makefile.am needs to be sure that $(TIRPCINC) is
specified in the cpp/c/cxx flags.

Since we can never be sure that an RPC header file might be indirectly
included, a better approach is to simply add TIRPCINC to the global
list of CXXFLAGS and CFLAGS in configure.ac for everybody.  This way,
it is always specified properly on tirpc systems, and we don't need to
always add it to every individual Makefile.am since everyone will get
it by default.

TIRPCLIB is still marked as a dep in libtt, so as long as libtt is
linked, you should automatically get the tirpc library too.  This is
still unchanged.

4 years agodtcreate: make it build
Jon Trulson [Thu, 21 Nov 2019 00:54:12 +0000 (17:54 -0700)]
dtcreate: make it build

4 years agodtconfig: make it build
Jon Trulson [Thu, 21 Nov 2019 00:46:20 +0000 (17:46 -0700)]
dtconfig: make it build

4 years agodtconfig: get rid of obsolete imb/ and hp/ configs
Jon Trulson [Thu, 21 Nov 2019 00:37:34 +0000 (17:37 -0700)]
dtconfig: get rid of obsolete imb/ and hp/ configs

4 years agodtprintegrate: make it build
Jon Trulson [Thu, 21 Nov 2019 00:09:46 +0000 (17:09 -0700)]
dtprintegrate: make it build

4 years agodtappintegrate: make it build
Jon Trulson [Wed, 20 Nov 2019 23:32:42 +0000 (16:32 -0700)]
dtappintegrate: make it build

4 years agodtsearchpath: make it build
Jon Trulson [Wed, 20 Nov 2019 23:09:46 +0000 (16:09 -0700)]
dtsearchpath: make it build

4 years agodtcm: make it build
Jon Trulson [Wed, 20 Nov 2019 22:33:17 +0000 (15:33 -0700)]
dtcm: make it build

4 years agodtspcd/dtterm: use proper DT_INCDIR rather than hardcoding the location
Jon Trulson [Wed, 20 Nov 2019 20:19:44 +0000 (13:19 -0700)]
dtspcd/dtterm: use proper DT_INCDIR rather than hardcoding the location

4 years agodtscreen: make it build
Jon Trulson [Wed, 20 Nov 2019 02:59:20 +0000 (19:59 -0700)]
dtscreen: make it build

4 years agodtscreen/Dtscreen.src: remove __hpux specialization
Jon Trulson [Wed, 20 Nov 2019 02:58:55 +0000 (19:58 -0700)]
dtscreen/Dtscreen.src: remove __hpux specialization

4 years agodtspcd: make it build
Jon Trulson [Wed, 20 Nov 2019 02:43:34 +0000 (19:43 -0700)]
dtspcd: make it build

4 years agodtaction: make it build
Jon Trulson [Wed, 20 Nov 2019 02:30:20 +0000 (19:30 -0700)]
dtaction: make it build

4 years agodtcalc: make it build
Jon Trulson [Wed, 20 Nov 2019 02:27:47 +0000 (19:27 -0700)]
dtcalc: make it build

4 years agodtterm/util: delete this non-used stuff
Jon Trulson [Wed, 20 Nov 2019 02:15:17 +0000 (19:15 -0700)]
dtterm/util: delete this non-used stuff

4 years agodtterm: make it build
Jon Trulson [Wed, 20 Nov 2019 02:14:38 +0000 (19:14 -0700)]
dtterm: make it build

4 years agodticon: make it build
Jon Trulson [Wed, 20 Nov 2019 01:38:51 +0000 (18:38 -0700)]
dticon: make it build

4 years agodtdbcache: make it build
Jon Trulson [Wed, 20 Nov 2019 01:31:36 +0000 (18:31 -0700)]
dtdbcache: make it build

4 years agodtexec: make it build
Jon Trulson [Wed, 20 Nov 2019 01:26:55 +0000 (18:26 -0700)]
dtexec: make it build

4 years agodtstyle: make it build
Jon Trulson [Wed, 20 Nov 2019 01:17:34 +0000 (18:17 -0700)]
dtstyle: make it build

4 years agochanging_version_number.txt: change tooltalk.tmpl to tooltalk.inc
Jon Trulson [Wed, 20 Nov 2019 01:15:26 +0000 (18:15 -0700)]
changing_version_number.txt: change tooltalk.tmpl to tooltalk.inc

4 years agolibtt: add -ltirpc as a dependency if we are using it
Jon Trulson [Wed, 20 Nov 2019 01:09:14 +0000 (18:09 -0700)]
libtt: add -ltirpc as a dependency if we are using it

This means that when linking against libtt, libtirpc should also
automatically be linked in if we determined that we are using tirpc.

This avoids having to link every program that uses libtt (almost all
of them) from having to have a $(TIRPCLIB) added to their link
commands.

4 years agodthello: make it build
Jon Trulson [Wed, 20 Nov 2019 00:30:27 +0000 (17:30 -0700)]
dthello: make it build

4 years agodtsession: make it build, add check for the full path to xrdb
Jon Trulson [Wed, 20 Nov 2019 00:18:04 +0000 (17:18 -0700)]
dtsession: make it build, add check for the full path to xrdb

4 years agoMerge branch 'master' into autotools-conversion after utf8-conversion
Jon Trulson [Tue, 19 Nov 2019 18:44:33 +0000 (11:44 -0700)]
Merge branch 'master' into autotools-conversion after utf8-conversion

4 years agoSet version to 2.3.1a (devel) for current master
Jon Trulson [Mon, 18 Nov 2019 20:03:52 +0000 (13:03 -0700)]
Set version to 2.3.1a (devel) for current master

4 years agogitignore: add infolib/etc UTF-8 locales
Jon Trulson [Mon, 18 Nov 2019 19:52:17 +0000 (12:52 -0700)]
gitignore: add infolib/etc UTF-8 locales

4 years agosite.def: add define guards around DtLocalesToBuild
Jon Trulson [Sun, 17 Nov 2019 22:08:20 +0000 (15:08 -0700)]
site.def: add define guards around DtLocalesToBuild

4 years agodtinfo: link proper localized (utf8) dirs
Jon Trulson [Sun, 17 Nov 2019 22:07:14 +0000 (15:07 -0700)]
dtinfo: link proper localized (utf8) dirs

4 years agoautogen.sh: make it executable
Jon Trulson [Sat, 16 Nov 2019 23:40:58 +0000 (16:40 -0700)]
autogen.sh: make it executable

4 years agoMerge branch 'master' into autotools-conversion after 2.3.1 release
Jon Trulson [Sat, 16 Nov 2019 23:35:56 +0000 (16:35 -0700)]
Merge branch 'master' into autotools-conversion after 2.3.1 release

4 years agoMerge branch 'master' into utf8-conversion after 2.3.1 release
Jon Trulson [Sat, 16 Nov 2019 23:34:48 +0000 (16:34 -0700)]
Merge branch 'master' into utf8-conversion after 2.3.1 release

4 years agoHISTORY: update for 2.3.1 release 2.3.1
Jon Trulson [Sat, 16 Nov 2019 02:06:01 +0000 (19:06 -0700)]
HISTORY: update for 2.3.1 release