Commit Graph

153 Commits

Author SHA1 Message Date
Lev Kujawski
356ac2f327 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-06-02 19:56:26 -06:00
Lev Kujawski
1f52f5ca81 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-06-02 19:56:26 -06:00
Lev Kujawski
fc1d29be81 config/cf/Imake.cf: Define AArch64Architecture on the BSDs. 2021-06-02 19:51:24 -06: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
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
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
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
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
Ulrich Wilkens
9cfc0c2b40 create .depend files for Solaris+Illumos 2018-06-11 18:08:16 -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
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
8d2fe2486c Imake.tmpl: don't delete logfiles (make.log MakeOut) 2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
Ulrich Wilkens
885b65a09a Fixes for OpenBSD 2018-05-31 21:48:07 -06:00