oweals/cde.git
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

4 years agoChange CDE version info for 2.3.1 release
Jon Trulson [Sat, 16 Nov 2019 01:04:01 +0000 (18:04 -0700)]
Change CDE version info for 2.3.1 release

5 years agosym2num: don't hardcode path to cpp
Nina Didenko [Tue, 5 Nov 2019 17:45:44 +0000 (20:45 +0300)]
sym2num: don't hardcode path to cpp

5 years agomerge: don't hardcode path to gencat
Nina Didenko [Tue, 5 Nov 2019 17:45:43 +0000 (20:45 +0300)]
merge: don't hardcode path to gencat

5 years agoudbToAny.ksh: don't hardcode path to awk
Nina Didenko [Tue, 5 Nov 2019 17:45:42 +0000 (20:45 +0300)]
udbToAny.ksh: don't hardcode path to awk

5 years agodtinfogen: don't override PATH
Nina Didenko [Tue, 5 Nov 2019 17:45:41 +0000 (20:45 +0300)]
dtinfogen: don't override PATH

5 years agoil: remove various deprecated files
Chase [Tue, 29 Oct 2019 02:23:47 +0000 (21:23 -0500)]
il: remove various deprecated files

5 years agoremove more internal jpeg headers
Chase [Tue, 29 Oct 2019 01:27:35 +0000 (20:27 -0500)]
remove more internal jpeg headers

5 years agotradcpp: remove test makefiles
Jon Trulson [Thu, 31 Oct 2019 04:14:04 +0000 (22:14 -0600)]
tradcpp: remove test makefiles

5 years agodtfile: GENCPP, be consistent with SCRIPTFLAGS
Jon Trulson [Thu, 31 Oct 2019 02:52:34 +0000 (20:52 -0600)]
dtfile: GENCPP, be consistent with SCRIPTFLAGS

5 years agodtwm: fix quoting for SCRIPTFLAGS
Jon Trulson [Thu, 31 Oct 2019 02:46:53 +0000 (20:46 -0600)]
dtwm: fix quoting for SCRIPTFLAGS

5 years agoDelete cppfile.inc, don't need it anymore
Jon Trulson [Thu, 31 Oct 2019 01:39:27 +0000 (19:39 -0600)]
Delete cppfile.inc, don't need it anymore

5 years agolibtt, DtWidget: use new GENCPP
Jon Trulson [Thu, 31 Oct 2019 01:38:20 +0000 (19:38 -0600)]
libtt, DtWidget: use new GENCPP

5 years agodtwm: use new GENCPP
Jon Trulson [Thu, 31 Oct 2019 01:33:01 +0000 (19:33 -0600)]
dtwm: use new GENCPP

5 years agogitignore: ignore built tradcpp binary
Jon Trulson [Thu, 31 Oct 2019 01:24:39 +0000 (19:24 -0600)]
gitignore: ignore built tradcpp binary

5 years agoconfigure: use tradcpp as GENCPP
Jon Trulson [Thu, 31 Oct 2019 01:19:49 +0000 (19:19 -0600)]
configure: use tradcpp as GENCPP

5 years agoAdd tradcpp to the repository, and use it as GENCPP (generic preprocessor)
Jon Trulson [Thu, 31 Oct 2019 01:17:24 +0000 (19:17 -0600)]
Add tradcpp to the repository, and use it as GENCPP (generic preprocessor)

With lots of experimenting, tradcpp (0.4) seems to work way better
than gcc, and it's output is actually valid. We'll go with that for
now.

5 years agodtfile: still working on cpp issues, a better solution is needed
Jon Trulson [Thu, 31 Oct 2019 00:59:25 +0000 (18:59 -0600)]
dtfile: still working on cpp issues, a better solution is needed

I think it's time to try tradcpp.

5 years agoconfigure: use AC_PATH_PROG to find ksh
Jon Trulson [Thu, 31 Oct 2019 00:53:16 +0000 (18:53 -0600)]
configure: use AC_PATH_PROG to find ksh

5 years agodtlogin/dtgreet/dtchooser: get them to build
Jon Trulson [Wed, 30 Oct 2019 23:53:37 +0000 (17:53 -0600)]
dtlogin/dtgreet/dtchooser: get them to build

That was not fun.  There were a variety of issues.  It's needs
testing.

We use the new GENCPP for preprocessing the various scripts and config
files in config/