Commit Graph

1886 Commits

Author SHA1 Message Date
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 af20bc2b57 changing_version_number.txt: change tooltalk.tmpl to tooltalk.inc 2019-11-19 18:15:26 -07:00
Jon Trulson 31e69340ce 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.
2019-11-19 18:09:21 -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 0d70d8b120 Set version to 2.3.1a (devel) for current master 2019-11-18 13:03:52 -07:00
Jon Trulson 372e74a524 gitignore: add infolib/etc UTF-8 locales 2019-11-18 12:52:17 -07:00
Jon Trulson a719c004b2 site.def: add define guards around DtLocalesToBuild 2019-11-17 15:08:20 -07:00
Jon Trulson de9d913b77 dtinfo: link proper localized (utf8) dirs 2019-11-17 15:07:14 -07:00
Jon Trulson e363fee432 autogen.sh: make it executable 2019-11-16 16:40:58 -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
Jon Trulson 9753b63dab HISTORY: update for 2.3.1 release 2019-11-15 19:06:11 -07:00
Jon Trulson 5fe7ee5b67 Change CDE version info for 2.3.1 release 2019-11-15 18:04:01 -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 52caa8b8e6 udbToAny.ksh: don't hardcode path to awk 2019-11-05 18:49:02 -07:00
Nina Didenko b3f3997bd1 dtinfogen: don't override PATH 2019-11-05 18:48:00 -07:00
Chase 88b46c6a28 il: remove various deprecated files 2019-11-01 17:23:48 -06:00
Chase 0f36a57eff remove more internal jpeg headers 2019-11-01 17:23:24 -06:00
Jon Trulson 371bc9aa07 tradcpp: remove test makefiles 2019-10-30 22:14:04 -06: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 6debd5996e Delete cppfile.inc, don't need it anymore 2019-10-30 19:48:04 -06:00
Jon Trulson 1fc3284829 libtt, DtWidget: use new GENCPP 2019-10-30 19:48:04 -06:00
Jon Trulson fb93f405c1 dtwm: use new GENCPP 2019-10-30 19:48:04 -06:00
Jon Trulson 3f5d7027f2 gitignore: ignore built tradcpp binary 2019-10-30 19:48:04 -06:00
Jon Trulson 67ee2216f5 configure: use tradcpp as GENCPP 2019-10-30 19:19:49 -06:00
Jon Trulson 215be15f16 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.
2019-10-30 19:19:21 -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 8b065d9110 configure: use AC_PATH_PROG to find ksh 2019-10-30 18:53:16 -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 2b8803a8fb configure: Several changes related to locating cpp and ksh
For ksh, we need a full pathname.  AC_CHECK_PROGS only sets the name,
so we can't use that (think of a "#!" in a shell script.

We use some shell scripting to locate the ksh pathname.

While on that subject, the current use of CPP (gcc -E) as a general
preprocessor does not work very well.  I messes up whitespace,
adds/translates random whitespace, and complains bitterly about single
quotes (') in various places like comments.  It's not usable for what
CDE needs.

So, now we use GENCPP.  Using shell scripting like that used for ksh,
we locate the cpp program, and set GENCPP to "/full/path/to/cpp
-traditional -nostdinc".  This is what Linux uses now in an Imake
build, and it works fine.  We'll have to see what the BSD/Solari do.

We might need to just include BSD's "tradcpp" into the build and use
that.  It too works well in limited testing, but eats blank lines.  We
can live with that if we have to.
2019-10-30 17:42:31 -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 47d691e8ca configure: check for -lcrypt, add dtlogin/Makefile.am 2019-10-30 13:28:14 -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 9bc595a0a6 configure: Add -lm and vfork checks. Add dtwm to AC_OUTPUT. 2019-10-30 12:10:30 -06:00
Jon Trulson 62e6e5c58c dtfile: make it build 2019-10-30 10:59:45 -06:00
Jon Trulson 89914f6168 configure: Add -DANSICPP -DMULTIBYTE -DNLS16 to SOURCE_CPP_DEFINES 2019-10-30 10:59:22 -06:00
Jon Trulson c33e516445 dtpad: builds again using @DTCLIENTLIBS@ 2019-10-29 19:23:23 -06:00
Jon Trulson c7a5f55d8a gitignore: add .dirstamp 2019-10-29 19:18:47 -06:00
Jon Trulson 3ce0527e52 DtSvc: vastly simplify building this library
We take advantage of subdir-object and just build the subdir source
files directly as normal dependencies of libDtSvc in the top level
Makefile.am.

This means the intevening subdirectory Makefiles are no longer needed,
and no need to replicate flags and the like between the
subdirectory Makefile.am files.

Also, no need to build fake .a libs we can't really use.

configure: remove AC_OUTPUT_FILES related the the lib/DtSvc/*
subdirectories.  They are no longer needed.
2019-10-29 19:17:52 -06:00
Jon Trulson 4f8a2e34e5 configure: Add -lDtXinerama to DTCLIENTLIBS and set USE_XINERAMA in CFLAGS
So that means Xinerama support is required now, but then it always has
been anyway.

In time, this can be made configurable if needed.
2019-10-29 18:43:10 -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 d183ade8b3 DtSvc: we can't use archive .a libs in building libDtSvc.so
We were building subsets of this library as archive.a objects, then
trying to combine them into a shared object.  This warnings, and link
failures due to the lack of 0fPIC when building the archive libraries.

Now, we do not buld archive libraries, and the main libDtSvc.so
library is build by adding all of the .lo file in the component
subdirectories.

In a future commit, we could just remove the SUBDIR builds (DtUtil1,
etc) and build the sub objects directly.
2019-10-29 18:11:42 -06:00