Commit Graph

164 Commits

Author SHA1 Message Date
Jon Trulson
a5da0c39db Apply a patch from Roger Brown for risc-v and other minor fixes
Summary:

cde/config/cf/DtInfo.tmpl - add RISCVArchitecture as little endian
cde/config/cf/Imake.cf    - add AArch64Architecture for NetBSD
cde/config/cf/Imake.cf    - add RISCVArchitecture for Linux
cde/config/cf/linux.cf    - add RISCVArchitecture bit order
cde/lib/DtHelp/Imakefile  - add -ljpeg for OpenBSD
2021-05-30 16:24:51 -06:00
Liang Chang
51a15d0b38 linux.cf: Enable PTS driver and libutempter. 2021-05-30 14:59:06 -06:00
Liang Chang
fad5b988c1 FreeBSD.cf: Enable PTS driver and libutempter. 2021-05-30 14:59:06 -06:00
Jon Trulson
0ffd6762d7 FreeBSD.cf,DragonFly.cf: disable PAM support by default
These system can support PAM, but it requires a port of the NetBSD
module to do so.  As a result, this support is disabled by default.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253073 for a
patch to add this support to the OS.  Then you can set HasPamLibrary
to YES in the respective .cf files, rebuild CDE, and try it out.
2021-05-22 12:50:25 -06:00
Jon Trulson
2634630dd6 NetBSD.cf: add a link comment to list package needed for PAM support 2021-05-22 12:49:36 -06:00
Liang Chang
4f2d356d31 Enable PAM support for dtlogin and dtsession. 2021-05-22 12:17:19 -06:00
Liang Chang
65e7a65d8b Add lib DtPamSvc. 2021-05-22 12:09:43 -06:00
Jon Trulson
a32227a55d Merge /u/low-power/cde-code/ branch remove-ar-l into master
https://sourceforge.net/p/cdesktopenv/code/merge-requests/25/
2021-02-23 03:15:37 +00:00
WHR
ec123a6c3f Remove uses of ar(1) option '-l' 2021-02-22 21:34:06 +08:00
WHR
2b0c66f77e Break building on subdirectories make(1) failed 2021-02-22 21:11:16 +08:00
Lev Kujawski
61436fbe97 Specify SPARC and SPARC64 as big endian platforms
config/cf/DtInfo.tmpl: Modify ByteOrderDefines define
2021-02-13 19:13:21 -07:00
Lev Kujawski
3685f61cfa Purge unused Freetype dependency from CDE
config/cf/{DragonFly,OpenBSD,darwin}.cf: Remove Freetype imake settings
config/cf/darwinLib.tmpl: Do not link against Freetype
debian/control: Remove Freetype and Xft dependencies
*/Imakefile: Purge Freetype includes

lib/DtWidget/ComboBoxP.h
lib/DtWidget/SpinBoxP.h
programs/dtfile/ChangeDirP.c
programs/dtlogin/vgcallback.c
    Undefine USE_XFT so Motif 2.3 doesn't pull in Freetype

CDE included Freetype and Xft solely to satisfy builds of Motif with
Xft support enabled. However, as CDE only supports bitmap fonts, this
dependency was entirely superfluous and unnecessarily broke backwards
compatibility with older systems.
2021-02-07 18:46:25 -07:00
Lev Kujawski
de23f29722 Avoid Global Offset Table (GOT) limits by enabling -fPIC on the BSDs.
config/cf/bsdLib.rules: Switch -fpic to -fPIC
lib/DtXinerama/Imakefile: Use $(PICFLAGS) instead of -fpic

Several tickets have been opened by users encountering the low 8KiB
GOT limit on SPARC systems running BSD. This change makes CDE builds
on BSD more consistent with those on Linux, where -fPIC has been the
default without any reported issues.
2021-02-02 19:08:28 -07:00
Lev Kujawski
c56f6320ae config/cf/Imake.cf: Define AArch64Architecture on the BSDs. 2021-01-31 16:15:51 -07:00
Lev Kujawski
21491c0e52 imake: fix warnings on PowerPC builds
Also correct a compile failure occurring within DtMmdb's
atoi_pearson.C by defining PowerPC as a big endian platform.
2021-01-30 17:20:59 -07:00
Peter Howkins
67f62e5a8a all: remove deprecated sys_errlist[] and replace with ANSI C strerror() 2020-11-02 05:30:08 +00:00
Jon Trulson
6c07a2ae69 linux.cf: always use bison
For some reason, whenever OSMajorVersion was >= 2 (this equates to a
2.x kernel or above), yacc would be used instead of bison.

On Ubuntu, and probably other linux systems, yacc is just a shell
wrapper around bison, so let's just use that directly.
2019-12-01 19:18:00 -07:00
Jon Trulson
a719c004b2 site.def: add define guards around DtLocalesToBuild 2019-11-17 15:08:20 -07:00
Jon Trulson
ba68ff0a17 Merge branch 'master' into utf8-conversion after 2.3.1 release 2019-11-16 16:34:48 -07:00
wmoxam
14e385d175 Remove all optional compile flags from dtwm that are not referenced anywhere, and are unlikely to ever be used 2019-10-17 20:34:14 -06:00
Jon Trulson
f2d52e35d6 linux: build all languages by default again
Someday we should be able to detect which languages are installed and
only build support for those.  Until then, build them all.
2019-10-13 22:24:38 -06:00
Jon Trulson
2e4deb41c0 Merge branch 'master' into utf8-conversion, after 2.3.0a release 2019-10-12 19:17:42 -06:00
Jose Rubio
707cc1256f Fix openbsd compile build errors due to dependency on libiconv
The path to libiconv is selected in config/cf/OpenBSD.cf reusing the
same trick  as FreeBSD does.
2019-09-27 21:54:06 +02:00
Jon Trulson
ddc3c8857b Merge branch 'master' into utf8-conversion 2019-09-16 13:24:18 -06:00
Jose Rubio
507665352f Link TCL libraries and restrict tcl8.6 to SuSE only. 2019-09-16 14:58:21 +02:00
Jose Rubio
a49aedc946 FIX: Define Aarch64 as little endian so DtInfo compiles. 2019-08-29 11:12:26 +02:00
Jose Rubio
0d115796c2 Added linux/aarch64 as valid target. 2019-08-19 16:55:11 +02:00
Jon Trulson
8ba629fcd1 Merge branch 'master' into utf8-conversion 2019-01-15 12:02:49 -07:00
Alex Ivanov
b9f352df59 define M4Cmd 2019-01-08 19:48:47 -07:00
Jon Trulson
c876a76f4f utf8 conversion: fix up seperation of locale and doc building
Docs (help and the dtinfo guides) are now always built using the
ISO8859-1 locale.  To support UTF-8, our docbook needs to be updated
to something from this century, ideally this decade.  In addition, a
conversion to XML would also be required as a result.  So, until that
happens, use ISO8859-1 for docs.

However, other locale information, like message catalogs, resource
files, and the like are now converted to UTF-8.

All supported languages are now built by default on linux again.
2018-11-04 19:25:57 -07:00
Jon Trulson
6a5dc63f3b UTF-8 conversion: fixup database Imakefiles, config and gitignore 2018-11-04 18:36:07 -07:00
Matthew R. Trower
a94c997e8f Clean up UseInstalledX11 logic 2018-10-25 12:15:03 -06:00
chase
90a2b2848a remove ultrix support 2018-09-30 17:27:04 -06:00
chase
d12ad886c1 Remove old windows support 2018-08-25 15:47:54 -06:00
chase
1610ff3415 Remove amoeba support 2018-08-25 15:47:36 -06:00
chase
c4cb994175 Add upstream config files 2018-07-29 16:51:53 -06:00
Jon Trulson
a4a5413cd5 Merge branch 'master' into cde-next 2018-06-28 16:55:04 -06:00
Jon Trulson
6b919c82d2 FreeBSD.cf, OpenBSD.cf: remove -Wno-deprecated-register, no longer needed 2018-06-27 22:30:28 -06:00
Jon Trulson
4aa9392e98 util/mkshadow: delete ancient unused utility 2018-06-27 21:58:04 -06:00
Jon Trulson
29ea5f794d makedepend: remove register keyword 2018-06-27 21:58:04 -06:00
Ulrich Wilkens
eb811f26f8 Use installed X11 includes and libs 2018-06-27 20:51:58 -06:00
Peter Howkins
b286be89d0 config/util: Change to ANSI function definitions 2018-06-28 03:49:38 +01: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
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
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
Matthew R. Trower
b2540645a3 Minor corrections and cleanup to sun.cf 2018-06-20 12:15:00 -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