Jon Trulson [Fri, 22 Nov 2019 02:47:38 +0000 (19:47 -0700)]
fontaliases: make it build, and rework somewhat
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.
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.
Jon Trulson [Thu, 21 Nov 2019 21:13:48 +0000 (14:13 -0700)]
dtmailpr: fix vla warning
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.
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.
Jon Trulson [Thu, 21 Nov 2019 00:54:12 +0000 (17:54 -0700)]
dtcreate: make it build
Jon Trulson [Thu, 21 Nov 2019 00:46:20 +0000 (17:46 -0700)]
dtconfig: make it build
Jon Trulson [Thu, 21 Nov 2019 00:37:34 +0000 (17:37 -0700)]
dtconfig: get rid of obsolete imb/ and hp/ configs
Jon Trulson [Thu, 21 Nov 2019 00:09:46 +0000 (17:09 -0700)]
dtprintegrate: make it build
Jon Trulson [Wed, 20 Nov 2019 23:32:42 +0000 (16:32 -0700)]
dtappintegrate: make it build
Jon Trulson [Wed, 20 Nov 2019 23:09:46 +0000 (16:09 -0700)]
dtsearchpath: make it build
Jon Trulson [Wed, 20 Nov 2019 22:33:17 +0000 (15:33 -0700)]
dtcm: make it build
Jon Trulson [Wed, 20 Nov 2019 20:19:44 +0000 (13:19 -0700)]
dtspcd/dtterm: use proper DT_INCDIR rather than hardcoding the location
Jon Trulson [Wed, 20 Nov 2019 02:59:20 +0000 (19:59 -0700)]
dtscreen: make it build
Jon Trulson [Wed, 20 Nov 2019 02:58:55 +0000 (19:58 -0700)]
dtscreen/Dtscreen.src: remove __hpux specialization
Jon Trulson [Wed, 20 Nov 2019 02:43:34 +0000 (19:43 -0700)]
dtspcd: make it build
Jon Trulson [Wed, 20 Nov 2019 02:30:20 +0000 (19:30 -0700)]
dtaction: make it build
Jon Trulson [Wed, 20 Nov 2019 02:27:47 +0000 (19:27 -0700)]
dtcalc: make it build
Jon Trulson [Wed, 20 Nov 2019 02:15:17 +0000 (19:15 -0700)]
dtterm/util: delete this non-used stuff
Jon Trulson [Wed, 20 Nov 2019 02:14:38 +0000 (19:14 -0700)]
dtterm: make it build
Jon Trulson [Wed, 20 Nov 2019 01:38:51 +0000 (18:38 -0700)]
dticon: make it build
Jon Trulson [Wed, 20 Nov 2019 01:31:36 +0000 (18:31 -0700)]
dtdbcache: make it build
Jon Trulson [Wed, 20 Nov 2019 01:26:55 +0000 (18:26 -0700)]
dtexec: make it build
Jon Trulson [Wed, 20 Nov 2019 01:17:34 +0000 (18:17 -0700)]
dtstyle: make it build
Jon Trulson [Wed, 20 Nov 2019 01:15:26 +0000 (18:15 -0700)]
changing_version_number.txt: change tooltalk.tmpl to tooltalk.inc
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.
Jon Trulson [Wed, 20 Nov 2019 00:30:27 +0000 (17:30 -0700)]
dthello: make it build
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
Jon Trulson [Tue, 19 Nov 2019 18:44:33 +0000 (11:44 -0700)]
Merge branch 'master' into autotools-conversion after utf8-conversion
Jon Trulson [Mon, 18 Nov 2019 20:03:52 +0000 (13:03 -0700)]
Set version to 2.3.1a (devel) for current master
Jon Trulson [Mon, 18 Nov 2019 19:52:17 +0000 (12:52 -0700)]
gitignore: add infolib/etc UTF-8 locales
Jon Trulson [Sun, 17 Nov 2019 22:08:20 +0000 (15:08 -0700)]
site.def: add define guards around DtLocalesToBuild
Jon Trulson [Sun, 17 Nov 2019 22:07:14 +0000 (15:07 -0700)]
dtinfo: link proper localized (utf8) dirs
Jon Trulson [Sat, 16 Nov 2019 23:40:58 +0000 (16:40 -0700)]
autogen.sh: make it executable
Jon Trulson [Sat, 16 Nov 2019 23:35:56 +0000 (16:35 -0700)]
Merge branch 'master' into autotools-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
Jon Trulson [Sat, 16 Nov 2019 02:06:01 +0000 (19:06 -0700)]
HISTORY: update 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
Nina Didenko [Tue, 5 Nov 2019 17:45:44 +0000 (20:45 +0300)]
sym2num: don't hardcode path to cpp
Nina Didenko [Tue, 5 Nov 2019 17:45:43 +0000 (20:45 +0300)]
merge: don't hardcode path to gencat
Nina Didenko [Tue, 5 Nov 2019 17:45:42 +0000 (20:45 +0300)]
udbToAny.ksh: don't hardcode path to awk
Nina Didenko [Tue, 5 Nov 2019 17:45:41 +0000 (20:45 +0300)]
dtinfogen: don't override PATH
Chase [Tue, 29 Oct 2019 02:23:47 +0000 (21:23 -0500)]
il: remove various deprecated files
Chase [Tue, 29 Oct 2019 01:27:35 +0000 (20:27 -0500)]
remove more internal jpeg headers
Jon Trulson [Thu, 31 Oct 2019 04:14:04 +0000 (22:14 -0600)]
tradcpp: remove test makefiles
Jon Trulson [Thu, 31 Oct 2019 02:52:34 +0000 (20:52 -0600)]
dtfile: GENCPP, be consistent with SCRIPTFLAGS
Jon Trulson [Thu, 31 Oct 2019 02:46:53 +0000 (20:46 -0600)]
dtwm: fix quoting for SCRIPTFLAGS
Jon Trulson [Thu, 31 Oct 2019 01:39:27 +0000 (19:39 -0600)]
Delete cppfile.inc, don't need it anymore
Jon Trulson [Thu, 31 Oct 2019 01:38:20 +0000 (19:38 -0600)]
libtt, DtWidget: use new GENCPP
Jon Trulson [Thu, 31 Oct 2019 01:33:01 +0000 (19:33 -0600)]
dtwm: use new GENCPP
Jon Trulson [Thu, 31 Oct 2019 01:24:39 +0000 (19:24 -0600)]
gitignore: ignore built tradcpp binary
Jon Trulson [Thu, 31 Oct 2019 01:19:49 +0000 (19:19 -0600)]
configure: use tradcpp as GENCPP
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.
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.
Jon Trulson [Thu, 31 Oct 2019 00:53:16 +0000 (18:53 -0600)]
configure: use AC_PATH_PROG to find ksh
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/
Jon Trulson [Wed, 30 Oct 2019 23:42:31 +0000 (17:42 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 19:28:55 +0000 (13:28 -0600)]
dtlogin:Makefile.am: fix autogen warnings. This one still needs work.
Jon Trulson [Wed, 30 Oct 2019 19:28:14 +0000 (13:28 -0600)]
configure: check for -lcrypt, add dtlogin/Makefile.am
Jon Trulson [Wed, 30 Oct 2019 18:17:32 +0000 (12:17 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 18:10:30 +0000 (12:10 -0600)]
configure: Add -lm and vfork checks. Add dtwm to AC_OUTPUT.
Jon Trulson [Wed, 30 Oct 2019 16:59:45 +0000 (10:59 -0600)]
dtfile: make it build
Jon Trulson [Wed, 30 Oct 2019 16:59:22 +0000 (10:59 -0600)]
configure: Add -DANSICPP -DMULTIBYTE -DNLS16 to SOURCE_CPP_DEFINES
Jon Trulson [Wed, 30 Oct 2019 01:23:23 +0000 (19:23 -0600)]
dtpad: builds again using @DTCLIENTLIBS@
Jon Trulson [Wed, 30 Oct 2019 01:18:47 +0000 (19:18 -0600)]
gitignore: add .dirstamp
Jon Trulson [Wed, 30 Oct 2019 01:14:17 +0000 (19:14 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 00:35:54 +0000 (18:35 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 00:30:19 +0000 (18:30 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 00:11:42 +0000 (18:11 -0600)]
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.
Jon Trulson [Wed, 30 Oct 2019 00:07:58 +0000 (18:07 -0600)]
DtXinerama: build as shared lib, all dep on libXinerama
Jon Trulson [Wed, 30 Oct 2019 00:02:29 +0000 (18:02 -0600)]
configure: Several changes, disable static builds, etc
Static builds are disabled - there is no reason to build both shared
and static versions of everything.
MAJOR/MINOR/MICRO variables changed to CDE_VERSION_MAJOR/MINOR/MICRO.
Make DtXinerama a shared (la) library.
Add DTCLIENTLIBS SUBST to replace the role of Imake DtClientLibs, DT
libs needed to link most CDE programs.
Add AC_PROG_RANDLIB.
Jon Trulson [Tue, 29 Oct 2019 18:34:06 +0000 (12:34 -0600)]
dsdm: make it build
Jon Trulson [Tue, 29 Oct 2019 18:33:38 +0000 (12:33 -0600)]
configure: add icons and backdrops to AC_CONFIG_FILES
Jon Trulson [Tue, 29 Oct 2019 18:09:06 +0000 (12:09 -0600)]
programs: temporarily disable: dthelp dtksh dtappbuilder dtdocbook dtinfo nsgmls
Jon Trulson [Tue, 29 Oct 2019 02:05:04 +0000 (20:05 -0600)]
dtpad: fix Makefile.am to use proper XTOOLLIB
Jon Trulson [Tue, 29 Oct 2019 02:04:10 +0000 (20:04 -0600)]
configure: rework how $XTOOLLIB works
Jon Trulson [Tue, 29 Oct 2019 01:26:40 +0000 (19:26 -0600)]
dtpad: get it to build
Jon Trulson [Tue, 29 Oct 2019 00:53:22 +0000 (18:53 -0600)]
Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS"
Jon Trulson [Tue, 29 Oct 2019 00:39:21 +0000 (18:39 -0600)]
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.
Jon Trulson [Mon, 28 Oct 2019 23:17:38 +0000 (17:17 -0600)]
Get rid of ancient, useless logs/ subdir
Jon Trulson [Mon, 28 Oct 2019 23:11:45 +0000 (17:11 -0600)]
configure: enable C99
Jon Trulson [Mon, 28 Oct 2019 22:47:29 +0000 (16:47 -0600)]
configure/m4: add ax_pthread.m4 for pthread checks
Jon Trulson [Mon, 28 Oct 2019 21:01:02 +0000 (15:01 -0600)]
Protect inclusions of autotools_config.h with HAVE_CONFIG_H
Jon Trulson [Mon, 28 Oct 2019 20:26:41 +0000 (14:26 -0600)]
configure: various fixes regarding compiler flags
First attempt at setting certain -Defines and compiler flags (like
-fno-strict-aliasing). Only linux for now.
Add CSRG_BASED to CPP_SOURCE_FLAGS rather than directly at CFLAGS.
This will be added to CFLAGS later on in the script along with other
gathered flags and options.
Set CFLAGS, CXXFLAGS, and CPPFLAGS at the end, composed of other env
variables we set earlier on.
Jon Trulson [Mon, 28 Oct 2019 19:27:47 +0000 (13:27 -0600)]
DtSvc/DtUtil2: fix implicit function declarations
Jon Trulson [Mon, 28 Oct 2019 19:22:09 +0000 (13:22 -0600)]
DtSvc/DtUtil1: fix implicit function declarations
Jon Trulson [Mon, 28 Oct 2019 19:27:47 +0000 (13:27 -0600)]
DtSvc/DtUtil2: fix implicit function declarations
Jon Trulson [Mon, 28 Oct 2019 19:22:09 +0000 (13:22 -0600)]
DtSvc/DtUtil1: fix implicit function declarations
Jon Trulson [Sat, 26 Oct 2019 23:39:48 +0000 (17:39 -0600)]
gitignore: add a few more files from csa/
Jon Trulson [Sat, 26 Oct 2019 23:18:30 +0000 (17:18 -0600)]
csa: add dep for reparser.h to fix multicore build
Also rework a bit to make sure reparser.o is actually linked into the
lib. Ahem.
Jon Trulson [Sat, 26 Oct 2019 23:17:55 +0000 (17:17 -0600)]
configure: only build lib/* for now
Jon Trulson [Sat, 26 Oct 2019 23:10:39 +0000 (17:10 -0600)]
gitignore: add a few more files
Jon Trulson [Sat, 26 Oct 2019 23:08:41 +0000 (17:08 -0600)]
csa: make it build
Jon Trulson [Sat, 26 Oct 2019 23:08:20 +0000 (17:08 -0600)]
configure: check for rpcgen, add new CSA_INCDIR and SPC_INCDIR
Jon Trulson [Sat, 26 Oct 2019 22:36:37 +0000 (16:36 -0600)]
DtMrm: make it build
Jon Trulson [Sat, 26 Oct 2019 22:34:29 +0000 (16:34 -0600)]
DtTerm: make it build
Jon Trulson [Sat, 26 Oct 2019 22:09:18 +0000 (16:09 -0600)]
DtPrint: make it build
Jon Trulson [Sat, 26 Oct 2019 22:05:48 +0000 (16:05 -0600)]
DtHelp: make it build
Use configure's endian checks to determine whether to set LSB in il/.
Add locale.h check, include to Helpos.c
Both via including autotools_config.h.
Jon Trulson [Sat, 26 Oct 2019 22:04:27 +0000 (16:04 -0600)]
configure: add compiler checks, determine endianess, look for locale.h