Commit Graph

54 Commits

Author SHA1 Message Date
Chase 45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Liang Chang 79b8d6ecb4 localized: build dtprintinfo.cat. 2022-02-07 09:48:22 +08:00
Liang Chang 75280cc25b localized: update templates. 2022-01-26 19:50:37 +08:00
Liang Chang 6482ae5392 localized: add Japanese template. 2022-01-26 19:50:37 +08:00
Jon Trulson 93a3d73ef7 dtinfo: install required stuff, also in localized/ 2021-12-06 11:59:00 -07:00
Jon Trulson b3309f59d3 doc: get the C SDL help files building 2021-11-09 19:46:17 -07:00
Jon Trulson 7aa24b086a programs/localized: delete Imakefiles and imake templates 2021-07-03 19:01:28 -06:00
Jon Trulson b64d91d5a9 app-defaults, config, types: re-enable parallel builds
With a fixed merge utility, we can run these builds in parallel now
without random corruption of the message files.
2020-03-24 18:44:40 -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 e4e8b323c7 localized: use proper mkcatdefs for the Motif catalogs 2019-12-15 11:20:36 -07:00
Jon Trulson 617865da94 gencat: get rid of -o option, not needed and not supported on some systems 2019-12-14 19:05:35 -07:00
Jon Trulson 1b5d18f604 fontaliases: redo the way these are built, and actually install them
Use a common make include file to do most of the work and set the
appropriate LANG from localized/templates/ .  This should simplify it
quite a bit and reduce duplication.

Also we were not even installing them, so now we are.
2019-12-04 15:47:28 -07:00
Jon Trulson 21cf53c0d0 Fix palette and backdrops installation in dt/shared with proper symlinks 2019-12-04 13:21:31 -07:00
Jon Trulson 0cc0766cbd Get the dt types installed properly on make install 2019-12-02 19:31:02 -07:00
Jon Trulson c6b31ebd5f Get the palettes installed properly on make install 2019-12-02 19:20:36 -07:00
Jon Trulson e479b2082b Get the message catalogs installed properly on make install 2019-12-02 19:06:31 -07:00
Jon Trulson c40f0c9f08 Get /usr/dt/config populated correctly on make install 2019-12-02 14:33:05 -07:00
Jon Trulson 5823e95e03 Install backdrops in proper location, install localization for them 2019-12-02 13:08:52 -07:00
Jon Trulson 435ca4553f app-defaults.am: tweak installation 2019-12-02 13:08:06 -07:00
Jon Trulson d7a734c171 Get app-defaults installing correctly 2019-12-01 22:37:59 -07:00
Jon Trulson ab393fbef1 localization: disable parallel builds for app-defaults, types, and config
These use the 'merge' utility which hardcodes temp files and the like
- it cannot be run with other instances without generating bogus
errors and occasionally coredumping. :(
2019-11-30 20:49:10 -07:00
Jon Trulson d8e218c865 localization: finish up with getting message catalogs building
There are still some issues here - specifically with the C
dtbuilder/dtcodegen catalogs.  They may be broken due to dtbuilder not
being built yet.

Also, once dtinfo can be built, the msgs and app-defaults for it
should be re-enabled.

I also see gencat coredumping in localization/ while doing a multicore
(-jX) make.  Regular single core builds seem to work fine.
2019-11-30 20:26:59 -07:00
Jon Trulson d9749f5c9c localized: temporarily disable dtinfo appdefaults 2019-11-30 20:04:06 -07:00
Jon Trulson 805d22c5a8 localized: make palettes build 2019-11-30 17:12:15 -07:00
Jon Trulson bfc5b2eef1 localized: make types build 2019-11-30 17:00:34 -07:00
Jon Trulson d89d47bded localized: make backdrops build 2019-11-30 17:00:00 -07:00
Jon Trulson 376f1e15ee localized: make configs build 2019-11-30 16:59:14 -07:00
Jon Trulson e42c0cc1be localization: make FR, DE, IT, and ES app-defaults/ build 2019-11-24 18:55:11 -07:00
Jon Trulson 3ee747ac6b localized/C/app-defaults: make it build 2019-11-24 17:54:52 -07:00
Jon Trulson ba68ff0a17 Merge branch 'master' into utf8-conversion after 2.3.1 release 2019-11-16 16:34:48 -07:00
Nina Didenko f75ee32e72 sym2num: don't hardcode path to cpp 2019-11-05 18:49:17 -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 63ad725508 UTF-8 conversion: programs/localized/sv_SE 2018-11-04 18:35:54 -07:00
chase 6b713f12b5 Revert "dtudcfonted, dtudcexch: delete from repository"
This reverts commit e0036e6167.
2018-08-18 16:37:36 -06:00
Jon Trulson ba611cbde6 templates/types.tmpl: make sure to clean up new .dt's on a make clean 2018-07-20 14:15:28 -06:00
Jon Trulson 2f6f1d2afb Finish integrating Antonis's desktop_approots work
In addition:

- moved video type detection into a separate file: videoTypes.dt out
  of datatypes.dt.  Also, removed all actions from Antonis' dt files,
  as these are handled by the new actions (listed below).

  Image, postscript, and PDF types definitions are still located in
  datatypes.dt.src

- supports most image files, PDFs, postscript files, and video files
  via dtapp now.

- Added new actions:

  - DisplayImage
  - DisplayVideo
  - DisplayPDF
  - DisplayPS

  All of these call the dtapp_* helpers to locate an appropriate
  program to handle the task.

- Added a camera icon

- standardized the icons used to display the various types - all
  images use the Dtimage icon now, as an example.

- moved the new *.dt files to their proper place in programs/types,
  rather than programs/localized/C/types (my bad).

Please add any further video types into videoTypes.dt, and everything
else (for now) into datatypes.dt.

In the future, we should probably separate these out into
type-specific .dt files.  Also, something should be done about playing
audio files too (maybe DisplayVideo.dt can handle all those too?)
2018-07-19 19:52:40 -06:00
Jon Trulson e0036e6167 dtudcfonted, dtudcexch: delete from repository 2018-06-27 22:20:34 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
Ulrich Wilkens 42e891d9e7 Resolve many build warnings
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Ulrich Wilkens c3f74eec17 FreeBSD 10 clang port 2014-07-27 12:32:35 -06:00
Jon Trulson 6b0d0cd71e Updated Greek (el_GR.UTF-8) translations from Antonis Tsolomitis. 2014-03-22 17:37:50 -06:00
Ulrich Wilkens 2712d5f787 NetBSD port 2014-02-22 19:12:19 -07:00
Ulrich Wilkens 6b0da8f335 Introduction of BSDArchitecture 2013-10-20 16:23:40 -06:00
Ulrich Wilkens 219474c9c8 dtinfo activation 2013-08-29 19:50:02 -06:00
Pascal Stumpf 7ee2f3e80d Fix localized build on OpenBSD.
Use the same set of langs as on Linux and FreeBSD (no Japanese), don't
redefine a needed macro as no-op, and unset LC_CTYPE in the environment
when building cat files.
2012-08-20 19:56:15 -06:00
Marcin Cieslak 3e2f89956f Build missing Xm.cat Mrm.cat Uil.cat for LANG=C
We need to use mkcatdefs to build those.

mkcatdefs needs to be built from the open motif
source tree (localized/util/mkcatdefs.c)
and installed as:

cde/imports/motif/localized/util/mkcatdefs
2012-08-17 19:50:44 -06:00
Marcin Cieslak 2562c2cbeb Deal with *.tmp.msg after mkcatdefs failure
BSD make interrupts shell pipeline after
if it cannot run the command:

rm -f Mrm.msg
ln -s ../../../../imports/motif/localized/de_DE.ISO8859-1/msg/Mrm.msg Mrm.msg
Running mkcatdefs for Mrm.cat with LANG set to de_DE.ISO8859-1
(  rm -f Mrm.cat Mrm.tmp.msg;  LANG=de_DE.ISO8859-1;  export LANG;  ../../../../imports/motif/localized/util/mkcatdefs Mrm Mrm.msg -h > Mrm.tmp.msg;  gencat  Mrm.cat Mrm.tmp.msg;  rm -f Mrm.tmp.msg  )
../../../../imports/motif/localized/util/mkcatdefs: not found
*** Error code 127

After this, an empty Mrm.tmp.msg is left.
2012-08-14 20:37:03 -06:00
Marcin Cieslak d6b6353f95 Use $(SHELL) and $(KORNSHELL) for shell scripts
Introduce KORNSHELL make variable to point
to the implementation of the Korn Shell.

Use $(SHELL) or $(KORNSHELL) explicitly for
make programs that do not automatically call
shell scripts from the current directory.
2012-08-14 12:34:41 -06:00
Pascal Stumpf d418376944 OpenBSD #ifdefs for imake templates for localisations. 2012-08-11 20:06:44 -06:00