Jon Trulson
d880853113
tptregexp/regsub.c: use string.h
2021-10-23 14:13:33 -06:00
OBATA Akio
e0508b3130
dtcm: change to detect TZ offset way with configure
2021-10-23 18:29:04 +09:00
OBATA Akio
87bdee3d19
dtcm: change to use _XLocaltime
instead of localtime
consitently
2021-10-23 16:54:35 +09:00
OBATA Akio
fb91c9416d
dtcm: resolve mismatch between tm.tm_gmtoff
and global timezone
...
`timezone` and `tm.tm_gmtoff` represent reversed sign value each other.
Change `tm.tm_gmtoff` usage to be matched with `timezone`.
2021-10-23 16:54:35 +09:00
OBATA Akio
224f04cb29
dtcm: fix localtime()
usage
...
It is expexted the first argument is `*time_t`, not `time_t`.
2021-10-23 16:54:35 +09:00
Liang Chang
6ad08f9948
configure.ac: add AC_CHECK_LIB for libXpm.
2021-10-18 10:10:20 -06:00
Liang Chang
c47e290379
Remove DtXpm.
2021-10-18 10:10:20 -06:00
Liang Chang
6f30664428
dtappbuilder: use libXpm directly.
2021-10-18 10:10:20 -06:00
Liang Chang
f05a7b12c8
dtprintinfo: use libXpm directly.
2021-10-18 10:10:20 -06:00
Liang Chang
94cba197d5
dtudcfonted: use libXpm directly.
2021-10-18 10:10:20 -06:00
Liang Chang
0672e9e0cf
DtHelp: use libXpm directly.
2021-10-18 10:10:20 -06:00
Liang Chang
b2ff2704cf
dticon: use libXpm directly.
2021-10-18 10:10:20 -06:00
Liang Chang
6a0990615d
dticon: make sure min_x and min_y are within icon to avoid a
...
segfault.
2021-10-18 10:10:20 -06:00
OBATA Akio
16eb6092b0
dtcm: prevent to use NULL
as a Tick type
...
Tick (aka time_t) shall be an integer type, not a pointer.
Change to use `0` instead of `NULL`.
2021-10-16 17:07:37 +09:00
OBATA Akio
4316bb797d
libcsa: fix to use proper xdr function for time_t
2021-10-12 17:24:26 +09:00
OBATA Akio
2c9db8fe37
dtcm: include <iso8601.h> of libcsa to resolve type mismatch
2021-10-12 17:24:26 +09:00
OBATA Akio
008bcba766
libcsa: always use time_t for tick
2021-10-12 17:24:26 +09:00
OBATA Akio
194ae3639f
libcsa: remove duplicated function prototype
...
Just `_DtCm_clnt_call` is used anycase.
2021-10-12 17:24:13 +09:00
OBATA Akio
bbf4d451d9
Fix mismatch functionally for temporary file name
2021-10-08 17:30:48 +09:00
OBATA Akio
2390217a75
Fix to decide data and return type explicity
2021-10-08 17:25:17 +09:00
OBATA Akio
f7327e92d6
Change to use the standard signal handler signature unconditionally
...
Current condition is incomplete and it is already used on other codes.
2021-10-08 14:41:28 +09:00
OBATA Akio
16fe76ed65
Fix to include system header files for using functions
2021-10-08 14:40:56 +09:00
OBATA Akio
ed90eb7f45
Change to use POSIX confirmed select
argments unconditionally
...
Current condition is unsufficient, and It is already used unconditionally
in other sources.
2021-09-30 15:53:59 +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
be6bc0aa54
Remove some unused imake *.tmpl files
...
We still keep some of them for doc/ and dtinfo until those are
building properly.
2021-09-19 14:42:11 -06:00
b'Jon Trulson
d43e6bd6c2
Merge /u/obache/cdesktopenv/ branch fix/missing-version-bump into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/31/
2021-09-19 18:57:22 +00:00
OBATA Akio
692771fb07
Get rid of support of ancient signal handler return type int
...
Such environments are missing void type, older K&R C, and
such supports already had been removed in various places.
Furthermore, current hardcoded 'SIGNALRETURNSINT' is wrong.
2021-09-19 18:08:41 +09:00
OBATA Akio
483a4c314f
lib/tt: fix missing version bump
2021-09-14 18:40:29 +09:00
Jon Trulson
3e81d4c4de
csa: specify correct time_t type in _DtCm_print_tick() prototype
2021-08-07 18:32:33 -06:00
Jon Trulson
b876ab3932
dtinfo: use autotools endian detection instead of cpu-specific checks
...
This affects the definitions of OLIAS_BIG_ENDIAN and
OLIAS_LITTLE_ENDIAN when building mmdb.
2021-08-07 18:25:36 -06:00
Jon Trulson
b0af0a49aa
dtterm: fix problem introduced with 0e9b1140ea
, preventing install of dtterm
...
The tic command needs to be under the 'install-exec-hook:' target, not
the 'install:' target. Specifying the 'install:' target overrides
everything else, causing the dtterm binary to not be installed on a
'make install'
2021-08-07 17:31:27 -06:00
b'Jon Trulson
e12f1df79d
Merge /u/l-chang/cdesktopenv-autotools/ branch dtwm into master
...
https://sourceforge.net/p/cdesktopenv/code/merge-requests/30/
2021-08-07 23:18:00 +00:00
Liang Chang
3886c7d09c
dtwm: Respond to the following EWMH:
...
_NET_WM_FULLSCREEN_MONITORS
_NET_WM_STATE_FULLSCREEN
2021-08-07 16:19:25 +08:00
Liang Chang
78c8241738
dtwm: Support multi-monitor fullscreen.
2021-08-07 15:09:28 +08:00
Liang Chang
6a28507dbc
dtwm: Regenerate frame when decoration updated.
2021-08-07 14:31:04 +08:00
Liang Chang
1c310b8635
dtwm: Improve response for decoration hint from client.
...
Add a function: InitClientData.
2021-08-07 14:17:54 +08:00
Liang Chang
e648aab6b1
dtwm: Add EWMH related source code.
2021-08-07 13:14:34 +08:00
Liang Chang
50ea1705c7
dtwm: Relocate base window when regenerate its frame.
2021-08-06 08:36:05 +08:00
Liang Chang
bcf6e517d3
dtwm: Add a function: GetHeadInfoById.
2021-08-05 17:09:35 +08:00
Jon Trulson
93e280b05b
dtcm: install-exec-hook needs $(DESTDIR)
2021-07-22 19:50:18 -06: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
Jon Trulson
31c2e82eea
include: move dtinfo/DtMmdb/oliasdb/Mmdb.h -> include/Dt/Mmdb.h
2021-07-17 16:52:33 -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
10eb1ef8e0
autogen.sh: remove the bogus "-I admin" option to aclocal
...
In addition, remove some code we do not use or need.
2021-07-04 19:23:08 -06:00
Jon Trulson
1fda5afcc2
dtappbuilder: try to fix a dep error causeing every make to rebuild
...
With the addition of dtappbuilder to autotools, every make run
(including make install) causes src/ab to regenerate files that cause
the whole directory to be recompiled, even on a 'make install'.
This seems to be primarily caused by dtbuilder.msg (and possibly
dtbuilder.c) being modified after it is generated, which is apparently
normal behavior for dtcodegen.
This fix sets both dtbuilder.msg and dtbuilder.c as "order-dependant
prequisites" so that they are always generated first (there are
already rules to do generate them) and then subsequently the only
thing required is that they exist since we don't care if they are
modified after that point. If you need to make changes to them, edit
their respective .src files instead.
This seems to resolve the issue, but perhaps at the expense of adding
another requirement to use gmake.
We also need to disable parallel building in this module :(
2021-07-04 18:49:57 -06:00
Jon Trulson
72e6e90706
dtappbuilder: use /bin/sh rather than /bin/csh as default shell
2021-07-04 18:04:32 -06:00
Jon Trulson
fbf58acca7
appbuilder/ab: fix a typo on CLEANFILES line
2021-07-04 17:26:40 -06:00