Commit Graph

1216 Commits

Author SHA1 Message Date
Jon Trulson 7c81d9d19d programs/Makefile.am: add missing palettes/ dir 2019-12-04 16:36:09 -07:00
Jon Trulson 1b5d18f604 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.
2019-12-04 15:47:28 -07:00
Jon Trulson 25035724af 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.
2019-12-04 14:28:44 -07:00
Jon Trulson 65ce14c419 dtwm: don't install Dtwm.defs - that is processed/handled by localization 2019-12-04 13:43:18 -07:00
Jon Trulson 7364f62ce8 icons: install in proper C/ subdir 2019-12-04 13:22:11 -07:00
Jon Trulson 21cf53c0d0 Fix palette and backdrops installation in dt/shared with proper symlinks 2019-12-04 13:21:31 -07:00
Jon Trulson 15dfdf231a dtsession/SrvPalette.c: delete trailing whitespace 2019-12-03 17:14:32 -07:00
Jon Trulson eb986d8018 dtsession/SrvPalette.c: fix bogus error handling when selection is lost 2019-12-03 17:10:35 -07:00
Jon Trulson 48dd0a54f3 dtlogin/dtsession: fix up some script perms, add proper OS defines 2019-12-03 14:06:18 -07:00
Jon Trulson 005c328779 dtlogin: set correct OS defines for Xsession, fix linux maildir 2019-12-03 13:07:19 -07:00
Jon Trulson 0d69a14ab3 videoTypes.dt: remove duplicate LABEL in Print action 2019-12-03 13:06:21 -07:00
Jon Trulson 8c19b67032 dtsession: add missing dtsession_res script 2019-12-02 23:02:08 -07:00
Jon Trulson 6f27da77d9 dtwm: fix installation 2019-12-02 23:01:08 -07:00
Jon Trulson 751e85d877 dtlogin: fixup some of the options 2019-12-02 23:00:16 -07:00
Jon Trulson ce02cc49d6 dtlogin: install Xsession properly 2019-12-02 22:13:39 -07:00
Jon Trulson cdc9eae583 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.
2019-12-02 19:59:44 -07:00
Jon Trulson 0cc0766cbd Get the dt types installed properly on make install 2019-12-02 19:31:02 -07:00
Jon Trulson c6b31ebd5f Get the palettes installed properly on make install 2019-12-02 19:20:36 -07:00
Jon Trulson e479b2082b Get the message catalogs installed properly on make install 2019-12-02 19:06:31 -07:00
Jon Trulson c40f0c9f08 Get /usr/dt/config populated correctly on make install 2019-12-02 14:33:05 -07:00
Jon Trulson 5823e95e03 Install backdrops in proper location, install localization for them 2019-12-02 13:08:52 -07:00
Jon Trulson 435ca4553f app-defaults.am: tweak installation 2019-12-02 13:08:06 -07:00
Jon Trulson d7a734c171 Get app-defaults installing correctly 2019-12-01 22:37:59 -07:00
Jon Trulson e481f4cb93 Merge branch 'master' into autotools-conversion 2019-12-01 13:31:21 -07:00
Jon Trulson 081b6c8765 programs/dtimsstart/Makefile.am: fix typo 2019-11-30 22:21:48 -07:00
Jon Trulson ab393fbef1 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. :(
2019-11-30 20:49:10 -07:00
Jon Trulson d8e218c865 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.
2019-11-30 20:26:59 -07:00
Jon Trulson d9749f5c9c localized: temporarily disable dtinfo appdefaults 2019-11-30 20:04:06 -07:00
Jon Trulson 805d22c5a8 localized: make palettes build 2019-11-30 17:12:15 -07:00
Jon Trulson bfc5b2eef1 localized: make types build 2019-11-30 17:00:34 -07:00
Jon Trulson d89d47bded localized: make backdrops build 2019-11-30 17:00:00 -07:00
Jon Trulson 376f1e15ee localized: make configs build 2019-11-30 16:59:14 -07:00
Marcin Cieślak 5cebd7c4da 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.
2019-11-30 10:13:43 -07:00
Jon Trulson e42c0cc1be localization: make FR, DE, IT, and ES app-defaults/ build 2019-11-24 18:55:11 -07:00
Jon Trulson 3ee747ac6b localized/C/app-defaults: make it build 2019-11-24 17:54:52 -07:00
Jon Trulson 0aec3c159f merge, mkcatdefs: add missing includes, clean up trailing whitespace 2019-11-24 17:50:18 -07:00
Jon Trulson 0a62def9bd dthello: build the resource file Dthello 2019-11-24 17:01:57 -07:00
Jon Trulson a5a5d83cbd dtprintinfo: fix a mulit-core build race, for realz this time 2019-11-22 17:35:29 -07:00
Jon Trulson 56fb574793 dtopen: make it build
Also, move localized subdir to last in current list of programs/ SUBDIRS
2019-11-22 17:18:51 -07:00
Jon Trulson aa0bfe0471 dttypes: make it build 2019-11-22 17:07:34 -07:00
Jon Trulson ad2ad2b66b tttypes: make it build 2019-11-22 16:58:58 -07:00
Jon Trulson c8c1f986f8 types: make it build 2019-11-22 16:57:47 -07:00
Jon Trulson 264871cefb Fix up a couple issues with multi-core builds and 2 race conditions 2019-11-22 13:42:02 -07:00
Jon Trulson 89f91f0091 dtpdmd: make it build 2019-11-22 13:13:41 -07:00
Jon Trulson a63016758e dtsr: make it build; configure: fix cpu detection 2019-11-22 13:01:36 -07:00
Jon Trulson 53d3304ebe dtpdm: make it build 2019-11-22 12:12:23 -07:00
Jon Trulson bcc1ca537e dtimsstart: make it build 2019-11-21 20:06:29 -07:00
Jon Trulson 97b14a9efc programs: disable ttsnoop for now 2019-11-21 19:54:09 -07:00
Jon Trulson 2832a1eb6d dtdspmsg: make it build 2019-11-21 19:53:30 -07:00
Jon Trulson 70c07a7b68 fontaliases: make it build, and rework somewhat 2019-11-21 19:47:38 -07:00
Jon Trulson 5bb7b74efd 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.
2019-11-21 17:51:35 -07:00
Jon Trulson afabfd8bd7 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.
2019-11-21 14:14:59 -07:00
Jon Trulson b71a319133 dtmailpr: fix vla warning 2019-11-21 14:13:48 -07:00
Jon Trulson c329d5cfd7 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.
2019-11-20 18:52:29 -07:00
Jon Trulson 10eb9a6975 dtcreate: make it build 2019-11-20 17:54:12 -07:00
Jon Trulson 58505b904d dtconfig: make it build 2019-11-20 17:46:20 -07:00
Jon Trulson 660be1c5cc dtconfig: get rid of obsolete imb/ and hp/ configs 2019-11-20 17:37:34 -07:00
Jon Trulson 9c70437ee7 dtprintegrate: make it build 2019-11-20 17:31:53 -07:00
Jon Trulson a2c18db66b dtappintegrate: make it build 2019-11-20 17:31:53 -07:00
Jon Trulson e831b06896 dtsearchpath: make it build 2019-11-20 17:31:53 -07:00
Jon Trulson 444aa700c0 dtcm: make it build 2019-11-20 17:31:53 -07:00
Jon Trulson 763cac54e4 dtspcd/dtterm: use proper DT_INCDIR rather than hardcoding the location 2019-11-20 17:31:53 -07:00
Jon Trulson 427a0611cd dtscreen: make it build 2019-11-19 19:59:20 -07:00
Jon Trulson 9d6dbad63f dtscreen/Dtscreen.src: remove __hpux specialization 2019-11-19 19:58:55 -07:00
Jon Trulson e675e06dd1 dtspcd: make it build 2019-11-19 19:43:34 -07:00
Jon Trulson a8085dca9b dtaction: make it build 2019-11-19 19:30:20 -07:00
Jon Trulson 61506685a4 dtcalc: make it build 2019-11-19 19:27:47 -07:00
Jon Trulson 0e2dc55e9e dtterm/util: delete this non-used stuff 2019-11-19 19:15:17 -07:00
Jon Trulson c8329a4ead dtterm: make it build 2019-11-19 19:14:38 -07:00
Jon Trulson 427e455321 dticon: make it build 2019-11-19 18:38:51 -07:00
Jon Trulson a36ab9e796 dtdbcache: make it build 2019-11-19 18:31:36 -07:00
Jon Trulson 8684607c8c dtexec: make it build 2019-11-19 18:26:55 -07:00
Jon Trulson 1b8ef6a6c1 dtstyle: make it build 2019-11-19 18:17:34 -07:00
Jon Trulson a77d9259f9 dthello: make it build 2019-11-19 17:30:27 -07:00
Jon Trulson 11eafe767b dtsession: make it build, add check for the full path to xrdb 2019-11-19 17:19:14 -07:00
Jon Trulson 152f5c9a88 Merge branch 'master' into autotools-conversion after utf8-conversion 2019-11-19 11:44:33 -07:00
Jon Trulson de9d913b77 dtinfo: link proper localized (utf8) dirs 2019-11-17 15:07:14 -07:00
Jon Trulson 82059bf240 Merge branch 'master' into autotools-conversion after 2.3.1 release 2019-11-16 16:35:56 -07:00
Jon Trulson ba68ff0a17 Merge branch 'master' into utf8-conversion after 2.3.1 release 2019-11-16 16:34:48 -07:00
Nina Didenko f75ee32e72 sym2num: don't hardcode path to cpp 2019-11-05 18:49:17 -07:00
Nina Didenko de7fe55d6a merge: don't hardcode path to gencat 2019-11-05 18:49:10 -07:00
Nina Didenko b3f3997bd1 dtinfogen: don't override PATH 2019-11-05 18:48:00 -07:00
Jon Trulson eb1ded1dc6 dtfile: GENCPP, be consistent with SCRIPTFLAGS 2019-10-30 20:52:34 -06:00
Jon Trulson ae98872405 dtwm: fix quoting for SCRIPTFLAGS 2019-10-30 20:46:53 -06:00
Jon Trulson fb93f405c1 dtwm: use new GENCPP 2019-10-30 19:48:04 -06:00
Jon Trulson 25e98da92e dtfile: still working on cpp issues, a better solution is needed
I think it's time to try tradcpp.
2019-10-30 18:59:25 -06:00
Jon Trulson 3f8c84b752 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/
2019-10-30 17:53:37 -06:00
Jon Trulson e16ad8120f dtlogin:Makefile.am: fix autogen warnings. This one still needs work. 2019-10-30 13:28:55 -06:00
Jon Trulson 619402b739 dtwm: fixes to make it build
Removed PORT_NOFORK define in favor of autotools vfork availablility
checking. Use vfork if present.

Got rid of getenv/putenv definitions in favor of including correct
system headers.

Use FD_CLOEXEC in fcntl() call rather than hardcoded '1'.

Added -lm check to configure so dtwm will build.

Renamed internal round() function to wmround() to fix warning about
redefinition of builtin.

Fixed missing backslash in Makefile.am that prevented half the sources
from building.
2019-10-30 12:17:32 -06:00
Jon Trulson 62e6e5c58c dtfile: make it build 2019-10-30 10:59:45 -06:00
Jon Trulson c33e516445 dtpad: builds again using @DTCLIENTLIBS@ 2019-10-29 19:23:23 -06:00
Jon Trulson 77dfe92b3c dtmail: Make it build. There is more work to be done here.
Specifically, we should be able to have libDtMail subdir build all of
it's objects directly w/o intervening Makefile.am's and archive .a
libs.
2019-10-29 18:34:05 -06:00
Jon Trulson 6660a892c1 dsdm: make it build 2019-10-29 12:34:06 -06:00
Jon Trulson c33872257d programs: temporarily disable: dthelp dtksh dtappbuilder dtdocbook dtinfo nsgmls 2019-10-29 12:09:06 -06:00
Jon Trulson 8f40c924a5 dtpad: fix Makefile.am to use proper XTOOLLIB 2019-10-28 20:05:04 -06:00
Jon Trulson d674597f41 dtpad: get it to build 2019-10-28 19:26:40 -06:00
Jon Trulson 730da7747c Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS" 2019-10-28 18:54:17 -06:00
Jon Trulson 24171c3194 configure: add programs/ dthelp, dsdm, dtmail, dtpad, and dtfile
At this stage, these certainly won't actually build yet.

Just fix up the relevent Makefile.am files so that autogen does not
emit errors and warnings for them.

Removed AIX/HPUX support in Makefile.am files.  No point in
propogating that stuff when we've already removed much of that
unmaintained code from the codebase.

Commented out all of the Sun Pro stuff.  Someone whos using that will
need to go through and fix it.  This is mostly in dtmail and dthelp.

In fact, someone who does Solaris in general will need to go through
this stuff.

Next up, we'll replace any remaining 'if SUN' conditionals with 'if
SOLARIS' which is a more appropriate name and was already defined in
configure.ac.

Then we'll see about getting these new directories building.
2019-10-28 18:54:17 -06:00
Chase 8ed2ce2c26 programs/types: add automake file 2019-10-23 15:34:20 -06:00
Chase 3ab4c518d4 programs/tttypes: add automake file 2019-10-23 15:34:20 -06:00