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

1075 commits

Author SHA1 Message Date
Jon Trulson
cf86199b19 Stable release: 2.3.0 2018-07-06 12:05:20 -06:00
Jon Trulson
a7ec1c6182 dwtm/WmResource.c: Stop printing garbage when XmeRenderTableGetDefaultFont() fails. 2018-07-02 14:44:58 -06:00
Jon Trulson
dc7807b13b slib/mp_rpc_server: TIRPC: force a listen() call on the server socket
With earlier versions of RPC and TIRPC it seems that svctcp_create()
calles listen() on the socket (as seen by debugger and strace).
Tooltalk expects this behavior.

However, with newer systems (ArchLinux 5/18+ and similar bleeding edge
versions of SuSE's equivalent: Tumbleweed), this behavior seems to
have changed.

ttsession goes into an infinite loop trying to accept() a connection
in the TIRPC library (via svc_getreqset()).

It appears listen() is no longer called on the socket when it is
created via svctcp_create().  The hack in this commit, always causes
listen() to be called on the socket, and seems to resolve the problem.

But it is a hack I think.  I don't know if this is the correct
behavior of svctcp_create() or we were just lucky before.
2018-07-01 19:45:09 -06:00
Ulrich Wilkens
eb811f26f8 Use installed X11 includes and libs 2018-06-27 20:51:58 -06:00
Matthew R. Trower
cd52651a3a Fix DtMail compilation on Sun with GCC 2018-06-27 11:34:00 -06:00
Ulrich Wilkens
32eefa310a Reenable gcc support on FreeBSD and OpenBSD 2018-06-27 11:13:06 -06:00
Matthew R. Trower
a166c36592 Enable building against an arbitrary Motif installation
* Give MotifProjectRoot priority over system libs
* Switch to UseInstalledMotif (but retain necessary imports)
2018-06-26 16:53:00 -06:00
Jon Trulson
aaa9305653 linux/site.def: use an if !defined() gaurd for DtLocalesToBuild
Without this, you cannot use the command line to select the languages
to build, you would have to edit site.def directly.

With this fix, you can build a language on linux with something like:

make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"'

to build the DE (German) and es (Spanish) locales.
2018-06-24 12:48:14 -06:00
Jon Trulson
8c1ad2d3a8 libtt: if local hostname lookup fails, default to localhost
A recurring problem, mainly on the BSD's, and also on some Linux
installations, is a failure for ttsession to start and any clients
trying to attach to it failing due to having a hostname that is not
associated with an IP address.

This is due to code which looks up the hostname, and if it does not
have a valid host record, then TT just fails.

This has required those users to add an alias for their host name in
their /etc/hosts file.

With this commit, this should no longer be necessary.  Now, if
_XGethostbyname() fails when looking up the local name, a default of
"localhost" is used, which should always exist.

This was run tested on Linux and FreeBSD 11.1.  It was compile tested
on OpenBSD 6.2.
2018-06-20 16:59:34 -06:00
Matthew R. Trower
b2540645a3 Minor corrections and cleanup to sun.cf 2018-06-20 12:15:00 -06:00
Matthew R. Trower
408f8256cd Resolve inconsistent strcasestr availability on Sun 2018-06-20 12:14:53 -06:00
Matthew R. Trower
db6de6284f Add SMF service on Sun 2018-06-18 12:18:17 -06:00
Matthew R. Trower
ad1f104bbd imake: Refactor and fix get_sun_compiler_versions()
* Improve maintainability
* Improve robustness
* Correct gcc version detection
* Correct gcc include path detection
2018-06-15 16:20:09 -06:00
Jon Trulson
f840359778 OpenBSD: tone down compiler warnings a bit
So many of these are just noise.  Someday maybe we can eliminate
these, but for now they just obscure real problems.
2018-06-15 14:59:04 -06:00
Jon Trulson
c63acbc91a CDE-ICONS: create compatibility symlinks as relative rather than absolute
Some icons are actually symlinks to other icons, presumably for
compatibility with older systems.  These were absolute symlinks.  This
commit makes them relative symlinks instead.
2018-06-15 13:58:54 -06:00
Matthew R. Trower
6715300820 nsgml: Resolve symbol collision when building with SunStudio 12.1 2018-06-15 11:21:41 -06:00
Jon Trulson
55b4e2f240 FreeBSD: turn off some warnings
Someday these can be addressed, but for now they are just noise.
2018-06-14 19:08:49 -06:00
Jon Trulson
ac883b6972 FreeBSD 11: Fix clang (v6) builds
While CDE builds fine with gcc6 on FreeBSD 11, the default clang build
was broken in a few places.  This commit allows CDE to build now using
the default clang 6 system compiler.
2018-06-14 18:32:35 -06:00
Jon Trulson
825a504a11 XPM: Replace calls to XmeXpm*() with regular Xpm*()
This is no longer needed on modern Motif's.
2018-06-14 16:50:57 -06:00
Jon Trulson
59b83865ef OpenBSD 6+: use installed X11 and Motif
This commit removes the need to setup X11 and motif import symlinks
before building CDE.  With OpenBSD v6+, the installed versions of X11 and
Motif will be used.

This may work with earlier versions of OpenBSD as well, but I don't
have access to those older versions.  If you try it, and it works,
send a patch to the CDE mailing list.

This was tested on OpenBSD 6.2
2018-06-14 14:20:02 -06:00
Jon Trulson
f598ed2358 building_release_archive: omit '-src' in archive filename 2018-06-14 13:08:20 -06:00
Jon Trulson
396eff69f7 FreeBSD 11: Don't use imported x11/motif, use installed versions for build
With this patch, the import symlinks for x11 and motif do not need to
be created.  The build will use the installed headers in
/usr/local/include/{X11, Xm}.

This will work for FreeBSD 11 only ATM as I don't have older systems
to test with.

It may work for FreeBSD 10 or earlier versions as well.  If so, edit
config/cf/FreeBSD.cf and change the OSMajorVersion check for
UseInstalledX11 appropriately.  And send a patch to the CDE mailing
list :)
2018-06-13 19:26:55 -06:00
Jon Trulson
0554f2335f dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.
2018-06-13 17:57:46 -06:00
Jon Trulson
c1bef9e8d6 libDtTerm: Fix for a coredump seen on OpenBSD 2018-06-13 13:27:46 -06:00
chase
a35a7685b4 docnook.tcl: Add shebang 2018-06-12 17:11:22 -06:00
Ulrich Wilkens
9cfc0c2b40 create .depend files for Solaris+Illumos 2018-06-11 18:08:16 -06:00
chase
a14e0991ce installCDE.src: remove duplicate code 2018-06-10 16:33:47 -06:00
chase
4172308892 Remove reallyoldsun defines 2018-06-09 18:32:42 -06:00
Jon Trulson
0ec25848e9 cde: change version to 2.2.4a, for a development release 2018-06-08 13:03:39 -06:00
Matthew R. Trower
650ce0768f Fix imake segfault on OpenIndiana
Version string changed in distributed GCC6, confusing
get_sun_compiler_versions().
2018-06-04 18:44:35 -06:00
Jon Trulson
fd9e74ae42 installCDE: Only install locales that were built
We pass the DtLocalesToBuild to installCDE.src, which can then check
to see what locales were built.  We then only install packages for
those locales.
2018-06-01 21:20:18 -06:00
Jon Trulson
ad10797184 site.def: Only build C/en_US locales by default for Linux 2018-06-01 19:47:19 -06:00
Jon Trulson
c26dfea26d linux.cf: disable stripping of installed binaries
The build system should not generally strip binaries - that's up to
the packaging systems (for creating 'release' vs. 'debug' packages for
example).
2018-06-01 15:40:50 -06:00
Jon Trulson
c7a8cfe18c installCDE: unset FIGNORE to workaround potential ksh bug 2018-06-01 11:32:39 -06:00
Jon Trulson
d2cb2b3659 configTT: remove inetd support 2018-05-31 22:23:19 -06:00
Jon Trulson
9a6bd5d35c configMin: remove inetd support, 'pam' support
I'm not sure what the pam stuff wanted to do, but it was disabled
anyway and we do not need it.  Someday, we will want to integrate with
PAM properly, but this wasn't it.
2018-05-31 22:23:19 -06:00
Jon Trulson
2413f0d33f configRun: remove inetd support
I don't believe anyone uses inetd anymore.  If you do, you are on your
own.
2018-05-31 22:23:19 -06:00
Jon Trulson
ff4a9e6a60 configRun: leave dtmail alone, UDB handles it's perms correctly 2018-05-31 22:23:19 -06:00
chase
4bcb47a238 cde.desktop: add xpm icon 2018-05-31 22:23:19 -06:00
chase
a447f12493 fix files not registering as scripts 2018-05-31 22:23:19 -06:00
Jon Trulson
20cad57cd4 dtsession: fix screen saver/locking on linux
The POSIX __linux__ commit broke the special detection on linux used
to determine whether a secure system was in use or not.

This commit reworks the logic a little bit to avoid special casing
linux in main().

It also reworks the logic in CanReAuthenticate() to fix up some issues
"fixed" to correct converity warnings.  The logic in this case was
mostly ok, but still didn't account for the proper usage of this
function.  Error detection improved somewhat as a result.
2018-05-31 22:23:19 -06:00
chase
ad219d40c3 cde.desktop:Add keywords to desktop entry 2018-05-31 22:23:19 -06:00
Jon Trulson
76b72bc6ec dtcm: NULL is not 0 2018-05-31 22:23:19 -06:00
Jon Trulson
2a77e84e87 libDtCmP: use TIRPC on linux, fix some warnings 2018-05-31 22:23:19 -06:00
Jon Trulson
2bcd57ce33 dtcm/graphics: NULL is not 0 2018-05-31 22:23:19 -06:00
Jon Trulson
ee4a0a37ea rpc.cmsd: use TIRPC on Linux 2018-05-31 22:23:19 -06:00
Jon Trulson
a05ab67e12 XlationSvc: remove a "'" added in previous spelling commit that causes warnings 2018-05-31 22:23:19 -06:00
chase
809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Jon Trulson
8d2fe2486c Imake.tmpl: don't delete logfiles (make.log MakeOut) 2018-05-31 22:23:19 -06:00
Jon Trulson
d6d055c981 installCDE.src: Add a -destdir <dir> option
Using this option, all files are installed under <dir> rather than
root '/'.
2018-05-31 22:23:19 -06:00