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

1584 commits

Author SHA1 Message Date
Peter Howkins
bcb6aa9fa9 dtfile: Remove define MULTIBYTE which is always on for CDE 2018-06-25 01:24:31 +01:00
Peter Howkins
115c1a25d8 dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only 2018-06-25 00:20:55 +01:00
chase
6bf175ef2d Remove apollo support 2018-06-24 16:22:37 -06:00
chase
01c9b8889b Remove macII support 2018-06-24 16:05:18 -06:00
chase
63269240eb linux.cf: Remove permissive flag 2018-06-24 15:56:24 -06:00
Jon Trulson
c2cabbfa8b Merge branch 'master' into cde-next 2018-06-24 15:46:55 -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
Peter Howkins
5aa1fed48b dthelp: Convert all K&R function definitions to ANSI (C90) standard 2018-06-24 00:50:56 +01:00
Peter Howkins
f89139dd84 dthelp: Remove spectaculaly obsolete MSDOS support 2018-06-23 01:38:03 +01:00
Peter Howkins
757249c65b dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void' 2018-06-23 00:48:36 +01:00
Peter Howkins
725b02e6bf dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes 2018-06-22 20:40:47 +01:00
Peter Howkins
de7e0dfcdd dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01: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
Peter Howkins
d5273f121b dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1 2018-06-20 01:11:17 +01:00
Peter Howkins
9a551dd8a6 dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
Peter Howkins
5dc05eaeb4 dtwm: remove define MINIMAL_DT which is always on for CDE 2018-06-19 20:50:50 +01:00
Peter Howkins
7bece30a57 dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Peter Howkins
daba6ea7e7 dtwm: Remove the define PANELIST, it is always on for dtwm 2018-06-19 19:57:29 +01: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