Commit Graph

2170 Commits

Author SHA1 Message Date
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
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
Adam Sampson 67ef980644 DtSvc: fix error return from DtHelpReturnSelectedWidgetId
return(NULL) is correct for the other functions here but not for this
one, since it's meant to return a DtHELP_ error code. The man page also
says it should also set *widget to NULL on error.
2021-07-04 13:17:30 -06:00
Adam Sampson edf57b6db3 libAButil: remove lt- prefix from program name
When building a program foo in-tree, libtool 2.4.6 generates an
executable called lt-foo with a wrapper script called foo. This
means that argv[0] inside the program is lt-foo rather than foo.

This is a problem for dtcodegen, which uses the program name for various
purposes including the "generated by" banner and the logfile name.
Remove the lt- prefix if present to avoid this.
2021-07-04 13:17:09 -06:00
Adam Sampson d9769e4774 DtSvc: add missing #include (for malloc) 2021-07-04 13:15:33 -06:00
Jon Trulson ac8bd41373 Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"
This reverts commit 15a2032626.

This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
2021-07-04 13:00:51 -06:00
Jon Trulson 3bc4132f9a dthelp: parser/canon1/eltdef - disable parallel builds 2021-07-03 22:32:11 -06:00
Jon Trulson 2bc3052313 README.md: update and rename top level README to README.md 2021-07-03 20:36:36 -06:00
Jon Trulson 39d3a67701 Create a toplevel delete-later dir and put databases/ and admin/ into it 2021-07-03 19:30:22 -06:00
Jon Trulson 7961d9e2da Rename admin dir to admin-delete-later so it is clear this will also be removed eventually 2021-07-03 19:28:31 -06:00
Jon Trulson 51646fb06a programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
Jon Trulson 7aa24b086a programs/localized: delete Imakefiles and imake templates 2021-07-03 19:01:28 -06:00
Jon Trulson df0392fc25 dthelp/parser.ccdf: delete never used module 2021-07-03 18:34:31 -06:00
Jon Trulson 369b3e89d9 Begin removal of some Imakefiles, and other no longer useful cruft
This commit will not completely remove all Imake files, specifically
those for sections that have not been completed yet.

Also, the databases dir has been moved to databases-delete-later until
we have everything building and installed properly.
2021-07-03 18:23:40 -06:00
Jon Trulson 727baab329 Bump version to 2.4.0a for upcoming merge 2021-07-03 17:24:22 -06:00
Jon Trulson 5a03b6a5e8 Merge branch 'master' into autotools-conversion 2021-07-03 16:56:54 -06:00
Jon Trulson 8e4de15495 Bump version to 2.4.0 for release 2021-07-03 13:35:15 -06:00
Jon Trulson 512dabe2ad CONTRIBUTORS: update with git log 2021-07-03 13:34:24 -06:00
Jon Trulson 785bc4a512 HISTORY: update for 2.4.0 release 2021-07-03 13:22:02 -06:00
Jon Trulson 3b9d5b95ae README: fix clone instructions to no longer require --recursive 2021-07-03 13:01:53 -06:00
Jon Trulson ae70af254e dthelp: disable parallel builds in parser/canon1 too 2021-07-02 20:44:15 -06:00
Jon Trulson 4338ac2e2a Merge branch 'master' into autotools-conversion 2021-06-26 15:06:38 -06:00
Jon Trulson 0270f93a68 Removed .gitmodules 2021-06-26 14:53:02 -06:00
Jon Trulson 9c3002a06f Merge commit 'c9b86876044cdce95730ea2c6a2af65e06a86125' as 'cde/programs/dtksh/ksh93' 2021-06-26 14:53:01 -06:00
Jon Trulson 2e1f8ae435 Removed cde/programs/dtksh/ksh93 submodule at commit 66e1d44642 2021-06-26 14:53:01 -06:00
Jon Trulson c9b8687604 Squashed 'cde/programs/dtksh/ksh93/' content from commit 66e1d4464
git-subtree-dir: cde/programs/dtksh/ksh93
git-subtree-split: 66e1d44642
2021-06-26 14:53:01 -06:00
Jon Trulson 94691f462e Removed .gitmodules 2021-06-26 13:39:32 -06:00
Jon Trulson cd6da32f7f Merge commit '12bbb66931feaac778ef4e47b67375ec9b58e839' as 'cde/programs/dtksh/ksh93' 2021-06-26 13:39:31 -06:00
Jon Trulson 12bbb66931 Squashed 'cde/programs/dtksh/ksh93/' content from commit 66e1d4464
git-subtree-dir: cde/programs/dtksh/ksh93
git-subtree-split: 66e1d44642
2021-06-26 13:39:31 -06:00
Jon Trulson 456abe8415 Removed cde/programs/dtksh/ksh93 submodule at commit 66e1d44642 2021-06-26 13:39:26 -06:00
Jon Trulson c489af6b3b utils/merge: re-fix include issue 2021-06-02 20:43:06 -06:00
Jon Trulson f294ee03b8 bilP.h: re-fix include issue with bil_parser.h 2021-06-02 20:24:14 -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
Jon Trulson afbf39af01 dthelp/parser/pass2: disable parallel builds for this module 2021-06-02 19:57:23 -06:00
Jon Trulson 6f0d93678a dtpdmd: fixup for autotools and new MsgCat.c 2021-06-02 19:57:23 -06:00
Jon Trulson 75bf61c584 localized/util: fixup for autotools and new MsgCat.c 2021-06-02 19:57:23 -06:00
Jon Trulson ffa8c98d32 dtsr: fixup for autotools and new MsgCat.c 2021-06-02 19:57:23 -06:00
Jon Trulson 0bfa26f14f dtdspmsg: fixup for autotools and new MsgCat.c 2021-06-02 19:57:23 -06:00
Jon Trulson b5cc42e029 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-06-02 19:57:23 -06:00
Jon Trulson c7c054496b .gitignore: update for PAM changes 2021-06-02 19:57:23 -06:00
Jon Trulson 44307f85da debin/control: add libpam and libutempter 2021-06-02 19:56:30 -06:00
Liang Chang 4a346ea8f5 linux.cf: Enable PTS driver and libutempter. 2021-06-02 19:56:30 -06:00
Liang Chang 11da82df52 FreeBSD.cf: Enable PTS driver and libutempter. 2021-06-02 19:56:30 -06:00
Liang Chang d60bbdc251 databases: Install dtterm as an unprivileged program when PTS driver and
libutempter are available.
2021-06-02 19:56:30 -06:00
Liang Chang 5854cd8543 dtterm: Add libutempter support for utmp/wtmp updates. 2021-06-02 19:56:30 -06:00
Liang Chang ba1c6bf810 DtTerm: Add libutempter support for utmp/wtmp updates. 2021-06-02 19:56:30 -06:00
Liang Chang 82d4a8bb68 DtTerm: Add pts driver support. 2021-06-02 19:56:30 -06:00