Commit Graph

118 Commits

Author SHA1 Message Date
Jon Trulson
b24fd04619 dtinfo: get src/UAS building, finish msg and res building
Also, rework the way we build convenience libs for the classes to use
libtool.  This fixes some potential linking issues and dependency
checking.

Next up will be to see if we can link and install it, along with it's
message catalogs, resources, etc.
2021-12-05 11:57:50 -07:00
Jon Trulson
bdf9256ab2 dtinfo/dtinfo: initial stab at making it build 2021-12-05 11:57:50 -07:00
Jon Trulson
3021e01559 configure.ac: add m4 macros that can check for compiler option support
We now use this to set certain options, if supported by the compilers
(C/C++).  Currently we enable various options, like
-Wno-format-truncation.  We use this to ignore complaints about
possibly truncations due to the use of the snprintf() family of
functions - where forced truncation is the whole point.
2021-11-16 12:27:48 -07:00
Jon Trulson
20ef417e20 doc: get man pages building 2021-11-11 16:27:10 -07:00
Jon Trulson
d340e07794 Setup some missing files needed for help to build correctly 2021-11-10 11:04:10 -07:00
Jon Trulson
30bae57043 doc: get the German, Spanish, French, and Italian SDL help files building 2021-11-09 20:50:47 -07:00
Jon Trulson
b3309f59d3 doc: get the C SDL help files building 2021-11-09 19:46:17 -07:00
Jon Trulson
5f7eda2b33 doc: get utils to build 2021-11-09 15:39:49 -07:00
Jon Trulson
9ca0cf7545 configure: fix timezone/tm checks to work on Linux (time.h is needed) 2021-10-24 12:01:45 -06:00
Jon Trulson
18e6813b3c configure: add a check for AC_STRUCT_TIMEZONE 2021-10-23 22:10:56 -06:00
OBATA Akio
e0508b3130 dtcm: change to detect TZ offset way with configure 2021-10-23 18:29:04 +09:00
Liang Chang
6ad08f9948 configure.ac: add AC_CHECK_LIB for libXpm. 2021-10-18 10:10:20 -06:00
OBATA Akio
4316bb797d libcsa: fix to use proper xdr function for time_t 2021-10-12 17:24:26 +09:00
Jon Trulson
566afbd071 FreeBSD: use the LIBICONV_PLUG define to prevent link errors
This define should be used so that the libc implementation can work
(as opposed to using the libiconv library)
2021-09-26 15:28:56 -06:00
OBATA Akio
2c6e286d81 configure: stop to add /usr/local to EXTRA_INCS and _LIBS for BSD
It may result in unwanted 3rd party software picked up for CDE build.
2021-09-26 17:34:16 +09:00
OBATA Akio
20c1768a19 Change to detect iconv implementation with autoconf
Use iconv.m4 (and required macros) form gettext-0.21.
2021-09-21 14:04:40 +09:00
Jon Trulson
1f59b5150a includes: install them
This commit installs the required include files needed for CDE
development.  In pre-autotools CDE, these were installed in
/usr/dt/share/include/ and a symlink was created in /usr/dt/include to
point toward them.

This is no longer done, and all include files are just installed in
${prefix}/include/ like the rest of the planet.
2021-07-17 17:07:56 -06:00
Peter Howkins
0e9b1140ea dtterm: on install use 'tic' to install the terminfo definition for dtterm 2021-07-15 22:31:54 +01:00
Jon Trulson
cc60fb8241 configure: remove freetype checks, we do not need freetype anymore 2021-07-08 16:35:51 -06:00
Jon Trulson
2730367844 utempter: complete the implementation
Liang Chang added utempter support to the dtterm widget in
pre-autoconf CDE.  While the code itself was merged, it was still not
"turned on" for autoconf builds.

This commit completes the implementation allowing dtterm on Linux and
the BSDs to be installed without having to be setuid root -- as long
as the libutempter headers and libraries are installed.
2021-07-04 16:45:57 -06:00
Jon Trulson
727baab329 Bump version to 2.4.0a for upcoming merge 2021-07-03 17:24:22 -06:00
Jon Trulson
2a3e91383b autotools: get the PAM support from master working on linux and freebsd 2021-06-02 19:57:23 -06:00
Jon Trulson
a277fcb340 configure.ac: add AM_CONDITIONALS() for riscv and aarch64 2021-06-02 19:57:23 -06:00
Chase
58ccd05459 dtinfo: make auxillary libs and programs build 2021-02-28 20:32:46 -07:00
Chase
4b461f5627 dthelp/parser/pass2: make it build 2021-02-21 18:35:52 -07:00
Chase
434943913b dthelp/parser/canon1: get it to build 2021-02-21 18:35:43 -07:00
Chase
622496bdd6 ttsnoop: make it build under autotools 2021-02-13 18:51:36 -07:00
Chase
6807fbb75e dthelp/parser/helptag: build under autotools 2021-02-07 19:44:12 -07:00
Chase
4836c389f6 dtksh: specifically test for patch 2021-01-31 13:22:57 -07:00
Chase
6a62f10047 dtksh: make it build under autotools 2021-01-31 13:22:57 -07:00
Jon Trulson
d9a8325c8d Disable Japanese locale support since we do not currently support it
make distclean ignores the language definitions, as it should.

However, we had options that suggested that the Japanese locale was
supported.  Distclean would decend into that locale directory and
fail, since of course we do not actually support that locale and it is
not currently buildable.
2021-01-31 13:11:41 -07:00
Jon Trulson
cc12058502 dtdocbook: make it build under autotools
Remove a pile of old SGML stuff we no longer need in dtdocbook since
we use NSGMLS.

Use some TCL macros from m4/tcl.m4 to loacate and use information in
the tclConfig.sh script installed with TCL.  I had to modify it to
export TCL_INCLUDE_SPEC, which was present but not imported.
2020-09-07 17:43:01 -06:00
Jon Trulson
43bda68f69 configure.ac: Add TCL detection 2020-09-07 14:31:00 -06:00
Chase
65d2062518 dtappbuilder: make it build under autotools 2020-09-05 15:49:46 -06:00
Jon Trulson
6da55905ec dthelp/parser/pass1: get it to build
So this is going to be tricky/painful getting this parser fully
operational.  It's pretty hairy with various interdependencies and
generated code.

It's rather complicated how each sub dir depends on the previous one.
Also, the parser subdir has dependencies on the helptag subdir, and
vice-versa, so some hackery was needed to get that to work.

Due to the wierd interdepencencies between helptag and parser,
we disable parallel builds there.

This is some really horrible code and design - not surprising since it
dates to 1989.

I think it should just be removed -- who can maintain or refactor this
code?

Also, dthelp_htag1 is now built in pass1/parser/, not in
pass1/helptag/ as it used to be.
2020-04-21 15:40:05 -06:00
Jon Trulson
349802ddd3 dthelpprint: make it build. 2020-04-13 16:21:27 -06:00
Jon Trulson
255b399760 appmanager action files: create and populate them
The appmanager action files (/usr/dt/appconfig/appmanager/*) are now
created properly for the main 4 languages supported.  As usual, the
en_US.UTF-8 locale is a symlink to C.

These files were previously created via the UDB database files via
imake.  Obviously we aren't going to be using those in autotools.

So, each language now has an appmanager/ dir in
programs/localized/$LANG/ that will create them properly on a make and
make install.  It uses a new appmgr.am template in localized/templates
to do this.

This also means all of these languages now can use the new actions
added by Antonis, even though they are not translated, they are at
least usable in those languages now.
2020-03-24 18:41:55 -06:00
Jon Trulson
b649ef98b1 configure: enable building of nsgmls and parts of dthelp
Patch by Peter G.
2020-03-23 13:27:06 -06:00
Peter Howkins
2dd656b919 Support pkg-config for detecting freetype2 includes and libs. Fixes Ubuntu 19.10 missing the freetype-config binary. 2020-02-07 02:26:02 +00:00
Jon Trulson
7f4889f348 freetype: redo the way we detect and use
We (configure) relies on freetype-config existing and telling us what
the proper includes and libs are.
2020-01-05 18:11:52 -07:00
Jon Trulson
4d12673147 configure: detect and use jpeg library 2020-01-05 16:27:17 -07:00
Jon Trulson
00dcd9c63d FreeBSD 12: get CDE to build and run
With this patch, CDE (autotools) builds and runs on fbsd 12 now.
fbsd11 should work too, but not yet tested.

You must use gmake - ie:

./configure MAKE=gmake
gmake

Seems all of the BSD's will need to use gmake for now.
2020-01-04 16:26:46 -07:00
Jon Trulson
da6f570381 configure: get the language enable options working 2020-01-02 22:14:23 -07:00
Jon Trulson
f246e25e55 configure: fix some bsd issues
1. On OpenBSD, and check is made for only bison or byacc.  yacc is
present, but not usable apparently.  So - need to install bison on the
BSD's.

2. the libjpeg.h check fails as it is located in a non-standard
location (/usr/local) on BSD systems.  Just remove the check for now
until we have a better way to check that stuff (like X11 and Xm
headers too).
2020-01-02 19:20:53 -07:00
Jon Trulson
3b1a54ca81 configure: add some more error checking/reporting for required programs
A list of major things like ksh, cpp, etc are saved in a list if they
are not found.  If this list is non-empty when configure is nearly
done, an error message is displayed listing the missing programs.
This is less annoying than stopping after every missing programs.

Also, removed the X11/Xm header checks for now.  Those need to take
into account X_CFLAGS in some way since these files are located in
dirfferent areas on different OS's (obsd puts them in
/usr/X11R6/include for example).
2020-01-02 18:35:36 -07:00
Jon Trulson
f634c682df configure: make sure X_EXTRA_LIBS and X_PRE_LIBS are accounted for 2020-01-02 18:35:36 -07:00
Peter Howkins
8ae6933a15 Add a few configure checks to make sure various programs and headers
needed for build are available.
2020-01-02 23:59:53 +00:00
Jon Trulson
6c0c619df3 configure: set a compiler search option
... and move the PROG_CC and PROG_CXX checks toward the beginning.
Without the move the compiler search arguments are ignored.  We search
for 'cc gcc clang' and 'c++ g++ clang++', in that order for CC and CXX
respectively.

This means there should be no need to override the CC
and CXX variables on the configure command line for BSD systems.

On OpenBSD for example, cc links to clang.  On Linux, cc links to
gcc.  You can still override these if you like with CC=... and
CXX=... on the configure command line.

gmake (MAKE=gmake) still needs to be used on the BSD's though.

With these and previous changes, CDE builds, installs, and runs
correctly on OpenBSD 6.5 now.
2019-12-15 12:47:57 -07:00
Jon Trulson
c0a6f6c6e3 configure: fix another bsd related typo 2019-12-14 19:04:22 -07:00
Jon Trulson
c0da389d46 configure: first stab at a BSD (openbsd 6.5) build 2019-12-14 14:17:07 -07:00