1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 03:32:24 +00:00
Commit graph

2535 commits

Author SHA1 Message Date
Jon Trulson
459554b960 configure: bump version to 2.4.0c 2021-12-22 13:23:56 -07:00
Jon Trulson
3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson
1b67815df2 configure, libtt: add check for rpc_inline_t and define if not supported 2021-12-22 13:14:55 -07:00
Jon Trulson
931bcaa494 dtsr, DtSearch: finish removing need for BYTE_SWAP define 2021-12-21 16:42:29 -07:00
Jon Trulson
3a0c2ae879 Move DtXinerama.h and PamSvc.h into include/Dt/ 2021-12-21 16:42:29 -07:00
Jon Trulson
e10d06f210 configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson
8875a12366 configure: don't bother with dthelpdemo 2021-12-21 09:32:55 -07:00
Jon Trulson
71f46b5a56 backdrops: don't install Makefile.am as a backdrop. Ahem. 2021-12-20 15:14:07 -07:00
Jon Trulson
71132d8cab dthelp.dt.src: hack to make Dthelpview ACTION work
For reasons I have been unable to determine, running:

dtaction Dthelpview

or Selecting 'Help Manager' from the front panel fails trying to run
the appropriate EXEC_STRING.  It get's corrupted in some fashion and
you will usually see an error in ~/.dt/errorlog of the form:

/usr/dt/bin/t/bin/dthelpview: No such file or directory

or more commonly:

/bin/sh: /us: No such file or directory

It is not clear where this corruption is taking place, but it shows up
in 'dttypes' output as well.

This hack simply removes 10 spaces between the two commands that are
run:

 EXEC_STRING     /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; \
                           /usr/dt/bin/dthelpview -helpVolume browser
                           '

Which seems to solve (hide) the problem.  Finding the real cause of
this will be saved for a later date when more is known and in
particular whether this happens with other ACTIONS.
2021-12-20 15:06:07 -07:00
Liang Chang
1e9b4660ad doc2sdl: use POSIX regex functions. 2021-12-21 01:53:53 +08:00
Liang Chang
73078fb103 doc2sdl: install locale files to datadir. 2021-12-20 06:31:10 +08:00
Liang Chang
9e04623d4b doc2sdl: install tpt to datadir. 2021-12-20 04:39:37 +08:00
Jon Trulson
4029c5b813 dtcm/RFCMIME: fix a guaranteed buffer overflow 2021-12-19 12:25:50 -07:00
Jon Trulson
dddca18f9b dtbuilder.c.src: fix empty-body warnings 2021-12-19 12:02:40 -07:00
Jon Trulson
2559a96ee8 dtmail: fix vla warning 2021-12-19 11:48:35 -07:00
Jon Trulson
bbba562a22 dtsession: don't change perms of dtsession if HAS_PAM_LIBRARY 2021-12-19 11:30:36 -07:00
Liang Chang
024860dab6 doc2sdl: convert strings files to UTF-8. 2021-12-20 01:34:33 +08:00
Jon Trulson
c3c7d8303b autoconf: fix some "obsolete function" warnings with newer (2.7x) autoconfs
We also now require at least autoconf 2.69 - which should be fine as
it was released in 2012.
2021-12-18 14:27:22 -07:00
Jon Trulson
73cf4157b5 configure: don't try PAM support on anything other than Linux and NetBSD
It's not supported on OpenBSD and and FreeBSD, though maybe in the
future...?
2021-12-17 17:39:34 -07:00
Jon Trulson
3c95af9871 guides: disable building on NetBSD until it's fixed (NodeParser) 2021-12-17 15:32:33 -07:00
Jon Trulson
2e4029de70 dtcalc: remove matherr() extern due to reversion of a9175c89 2021-12-17 15:21:24 -07:00
Jon Trulson
35360f9900 Revert "dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings."
This reverts commit a9175c896d.

This is the wrong fix for matherr() troubles.
2021-12-17 15:19:07 -07:00
Jon Trulson
65d17786a1 dtmail: #118: don't fail install if mail group does not exist 2021-12-16 14:30:27 -07:00
Jon Trulson
17602b4d21 Library (.so) versioning: preserve previous library version
Ticket #120

Change libtool's shared library version info to 3:0:1 to preserve the
previous library version of 2.1.0.

See https://autotools.io/libtool/version.html for the details on how
libtool handles this versioning info.

See https://verbump.de/ for a handy 'version calculator' using
libtools rules.
2021-12-16 12:40:15 -07:00
Jon Trulson
05fa4044f4 Look over the install rules and adjust where appropriate
These are just minor tweaks to make sure the 'make install' part does
what it is supposed to do.  I also removed some commented code in the
dtmail Makefile related to SunOS, as that is not currently suppoerted
anyway.
2021-12-15 15:41:53 -07:00
Liang Chang
38eb7b43d3 DtMmdb: install spec files to datadir. 2021-12-15 00:21:08 +08:00
Jon Trulson
b55897489f Fix up a few more implicit-function-declaration warnings on the BSDs 2021-12-13 16:46:02 -07:00
Jon Trulson
5f02c65da0 dthelpdemo: disable it
No one is going to want to build and use this example in the
forseeable future, so just disable it.
2021-12-13 16:46:02 -07:00
Jon Trulson
e7d657c376 libtt: remove hardcoded -lstdc++ used to build TT library
Hardcoding a -lstdc++ is wrong, since not all OSs are likely to handle
C++ in the same way.

The issue is that libtt needs to be built as a C++ library, so we use
a fake dummy.cxx file to convince libtool to do so instead, rather
than trying to force the issue by linking a (possibly missing)
libstdc++.
2021-12-13 16:44:01 -07:00
Jon Trulson
a5a2d937cb Automate versioning for CDE, set current version to 2.4.0b
Previously in the imake world, changing the CDE version required hand
editing a handful of files.

This commit makes these files into ".in" files.  configure.ac now
holds CDE version information -- both in the AC_INIT() call and in the
CDE_VERSION_* variables a few lines down.

Changing the CDE version now involves editing those two locations in
configure.ac only.

Thereafter, a configure run will replace version information in the
following files with the current CDE version:

copyright
doc/common/help/HELPEnt.sgm
include/Dt/Dt.h
lib/tt/bin/ttauth/ttauth.man

This also causes a catch-22 problem with ToolTalk.  So the
tooltalk.inc file is gone and the relevant TT Makefiles have been
modified to set and define the TT version in those Makefiles that
actually use it.
2021-12-13 16:43:42 -07:00
Jon Trulson
a2d3491150 dtmailpr/Makefile.am: remove unsupported defines 2021-12-12 16:45:48 -07:00
Jon Trulson
4a0f9701ab DtHelp: remove unused forced bit order depending on OS type 2021-12-12 15:23:28 -07:00
Jon Trulson
a77253f9ce Fix a Wself-assign-field clang warning
The arg that should be on the rhs seems to be commented out for some
reason, and assigning a variable to itself is pointless, so just
comment it out with a comment explaining why.
2021-12-12 13:43:44 -07:00
Jon Trulson
ab409095d6 Fix a couple of unused-comparison clang warnings 2021-12-12 12:52:14 -07:00
Jon Trulson
75ea7be520 DtSearch/raima: use autodetected byte endianness rather than forcing based on OS 2021-12-12 12:29:48 -07:00
Liang Chang
0007043d25 Merge branch 'master' into dtdocbook 2021-12-12 20:13:16 +08:00
Liang Chang
16e67fec81 Merge branch 'master' into dtdocbook 2021-12-12 20:01:35 +08:00
Liang Chang
3c59e7a98f configure.ac: add makefiles. 2021-12-12 09:48:51 +08:00
Liang Chang
a0ac8c06bf dtdocbook: remove hardcoded /usr/dt. 2021-12-12 09:38:16 +08:00
Jon Trulson
c479fe7b9e Fix some logical-not-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson
24a2f05138 Fix some shift-op-parentheses warnings 2021-12-11 17:39:35 -07:00
Jon Trulson
d470302354 Fix several pointer-bool-conversion warnings that could cause cores 2021-12-11 17:39:35 -07:00
Jon Trulson
adc056eb83 MIMEBodyPart.C: fix a couple sizeof-pointer-memaccess warnings 2021-12-11 17:39:35 -07:00
Jon Trulson
dda11f0e38 Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like:

if (cond);
   do_something

etc...

Others were just cosmetic - like placing the ';' on a separate line to
make the intention clear.
2021-12-11 13:10:24 -07:00
Liang Chang
3acbed6bc9 dtdocbook: install SGML DTDs to datadir. 2021-12-11 23:58:55 +08:00
Liang Chang
e85356165f dtinfogen: update include directives. 2021-12-11 10:46:31 +08:00
Liang Chang
26818c2a22 dtinfogen: update prefix for lex source. 2021-12-11 09:07:23 +08:00
Jon Trulson
18e25ce273 dtsession/SmUI.c: fix a build issue on OpenBSD 7 2021-12-10 17:24:40 -07:00
Liang Chang
3212d19a78 dtinfogen: replace Xt-related functions. 2021-12-11 06:07:37 +08:00
Liang Chang
ad58dca2aa DtMmdb: repair lex source in schema dir. 2021-12-11 05:40:20 +08:00