The NetBSD Project

CVS log for pkgsrc/devel/gettext-lib/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / gettext-lib

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jul 21 12:55:54 2026 UTC (3 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2 lines
gettext: updated to 1.0

Version 1.0 - January 2026

Improvements for maintainers and distributors:
* In a po/ directory, the PO files are now exactly those that the
  translators submitted or committed in version control, or a
  translation project's daemon committed on behalf of the translators.
  They are no longer regularly updated with respect to the POT file
  in the same directory.

  The advantage for maintainers is that the maintainer may commit the
  PO files in version control, without getting
    - lots of modified files shown by "git status",
    - frequent merge conflicts when merging between branches,
    - a voluminous version control history.

  The advantage for distributors is that the role of files in a
  release tarball are clearer: The PO files are source code, whereas
  the POT file and the *.gmo files are generated files.

  ATTENTION translators!
  Translators who work directly on a package's source code (without
  going through a translation project) now need to run "msginit"
  before starting work on a PO file.

* A new program 'po-fetch' is provided, that fetches the translated
  PO files from a translation project's site on the internet, and
  updates the LINGUAS file accordingly.

* In a po/ directory, a new script 'fetch-po' is now added by 'gettextize'.
  It provides the standard interface for fetching the translated PO files.
  It typically either invokes the 'po-fetch' program or does nothing.

Improvements for translators:
* msginit:
  - When the PO file already exists, 'msginit' now updates it w.r.t. the
    POT file, like 'msgmerge' would do. Previously, 'msginit' failed with
    an error message in this situation.

* Pretranslation:
  - Two new programs, 'msgpre' and 'spit', are provided, that implement
    machine translation through a locally installed Large Language Model
    (LLM).  'msgpre' applies to an entire PO file, 'spit' to a single
    message.
  - The documentation has a new chapter "Pretranslation".

Improvements for maintainers:
* xgettext:
  - The refactoring suggestion when a translatable string contains an URL
    or email address can now be inhibited through a command-line option
    '--no-check=url' or '--no-check=email', or through a comment in the
    source code of the form
        /* xgettext: no-url-check */
    or
        /* xgettext: no-email-check */

Programming languages support:
* OCaml:
  - xgettext now supports OCaml.
  - 'msgfmt -c' now verifies the syntax of translations of OCaml format
    strings.
  - A new example 'hello-ocaml' has been added.
* Rust:
  - xgettext now recognizes 'gettextrs::gettext' invocations, like 'gettext'
    invocations.

libgettextpo library:
* The function 'po_message_get_format' now supports distinguishing whether
  a negative format string mark, such as 'no-c-format', is set or not.
* The new functions
    po_message_has_workflow_flag
    po_message_set_workflow_flag
    po_message_workflow_flags_iterator, po_flag_next, po_flag_iterator_free
  can be used to manipulate or inspect the workflow flags of a message.
* The new functions
    po_message_has_sticky_flag
    po_message_set_sticky_flag
    po_message_sticky_flags_iterator, po_flag_next, po_flag_iterator_free
  can be used to manipulate or inspect the sticky flags of a messsage.

Emacs PO mode:
Restore syntax highlighting in Emacs version 30 or newer.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Aug 29 09:01:01 2012 UTC (14 years, 2 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Problem:

1) The libintl.h from gettext-lib renames the gettext functions so that
   they are prefixed with 'libintl_' (So that the functions named in
   libintl don't conflict with any that maybe in libc).

2) gettext-tools is _always_ built with gettext-lib.

3) The tools architecture may make gettext-tools a build dependence or
   someone may choose to install gettext-tools.

4) The OS has built in gettext.

5) For some reason ${PREFIX}/include is add to the compiler search path and
   libintl.h from gettext-lib is found before the system one.

The result is that all the gettext functions are renamed to have the
'libintl_' prefix but libintl is not linked with and the following happens:

${FILENAME}: undefined reference to `libintl_gettext'
${FILENAME}: undefined reference to `libintl_textdomain'
${FILENAME}: undefined reference to `libintl_bindtextdomain'
collect2: error: ld returned 1 exit status

Solution:
Hide libintl.h from gettext-lib in ${PREFIX}/include/gettext then add that
to the compiler search path when realy needed.

This should permanently fix PR's pkg/24326 pkg/36201 pkg/40153 pkg/43129
pkg/44009 and pkg/44016.

Bump PKGREVISION.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 14 17:48:45 2009 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2 lines
Remove @dirrm entries from PLISTs

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 19 22:30:01 2005 UTC (21 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
Install the locale.alias file into an example directory, and copy it
into place via REQD_FILES.  This fixes a CHECK_FILES error.  Bump the
PKGREVISION to 5.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Sep 22 08:09:25 2004 UTC (22 years, 1 month ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -5 lines
Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 27 17:41:07 2002 UTC (23 years, 11 months ago) by drochner
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4, netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
bite the bullet and upgrade to 0.11.5
There are too many changes to list in a sensible way.
The most visible change for me is that libintl requires libiconv now.
Also untangled the 3 sub-pkgs -- a common patch dir makes it too complex.

This pkg used to expose buildlink2 problems - the pkg libintl was
pulled in in cases where USE_GNU_GETTEXT was not set. There were
some improvements to libtool filtering, and x11/gtk builds now, so
I hope this is settled.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 1 01:23:41 2001 UTC (25 years ago) by zuntum
Branches: MAIN
CVS tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Move pkg/ files into package's toplevel directory

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>