Commit Graph

2 Commits

Author SHA1 Message Date
tshiozak dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
jwise 1ca5c1b281 Import NetBSD System Package (syspkg) sypport for the base, comp, etc, games,
man, misc, and text sets (i.e. all non-X11 sets).

This support currently allows two make(1) targets to be executed from
src/distrib/syspkg/sets:

  a.) `make register' will register the existing system as packages.
      This willl allow the version of software on the current system
      to be queried with

	PKG_DBDIR=/var/db/syspkg pkg_info

      and individual packages to be deleted with

	PKG_DBDIR=/var/db/syspkg pkg_delete <pkgname>

  b.) `make package' will create binary packages from the existing
      system (or from the contents of ${DESTDIR}, if ${DESTDIR} is
      set).  These packages can be taken to another system, and
      installed with

	PKG_DBDIR=/var/db/syspkg pkg_add <pkgname>

      to update or install specific packages.

The need to explicitly specify the syspkg PKG_DBDIR will be replaced with a
flag for the various pkg tools in the next few days.
2002-01-21 15:45:36 +00:00