From cd93b66a0dadf1fc39b684eeec7bac577ab4a663 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 5 May 2025 19:08:55 +0200 Subject: [PATCH] PACKAGING: Revisit intl-d and intl-modula2 packaging. * PACKAGING: Suggest packaging libintl_d and libintl_m2 each in a separate package. --- PACKAGING | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/PACKAGING b/PACKAGING index a646725d6..1ae8fe827 100644 --- a/PACKAGING +++ b/PACKAGING @@ -3,12 +3,24 @@ Packaging hints for binary package distributors Although the source of the gettext package comes as a single package, I recommend that in distributions of binary packages the installed files -be split into three packages: +be split into five packages: gettext-runtime Contents: Runtime libraries and programs. Audience: Anyone who wants to run internationalized programs. + gettext-runtime-d + Contents: Runtime libraries specifically for the D programming + language. + Audience: Anyone who wants to run internationalized D programs. + Dependencies: requires gettext-runtime. + + gettext-runtime-m2 + Contents: Runtime libraries specifically for the Modula-2 programming + language. + Audience: Anyone who wants to run internationalized Modula-2 programs. + Dependencies: requires gettext-runtime. + libtextstyle Contents: Text styling library. Audience: Anyone who wants to run or develop programs that produce @@ -25,7 +37,7 @@ binary package (420 KB versus 5.5 MB). I recommend to include it in the default installation list, like GNU 'coreutils'; in fact, the runtime programs are utilities for sh programs. -The 'gettext-runtime' binary package can be installed by doing +The three 'gettext-runtime*' binary packages can be installed by doing cd gettext-runtime ./configure @@ -47,15 +59,16 @@ The 'gettext-tools' binary package can be installed by building make make install -If you want to install all three at the same time, you simply do at the +If you want to install all five at the same time, you simply do at the top-level directory: ./configure make make install -The precise split between gettext-runtime, libtextstyle, and gettext-tools -is according to the following file list. +The precise split between gettext-runtime, gettext-runtime-d, +gettext-runtime-m2, libtextstyle, and gettext-tools is according to +the following file list. gettext-runtime @@ -85,19 +98,23 @@ is according to the following file list. $prefix/lib/gettext/GNU.Gettext.dll $prefix/share/doc/gettext/csharpdoc/* + $prefix/lib/libasprintf.* + $prefix/include/autosprintf.h + $prefix/share/doc/libasprintf/autosprintf*.html + $prefix/share/info/autosprintf.info + + gettext-runtime-d + $prefix/lib/libintl_d.a $prefix/include/d/gnu/libintl/package.d $prefix/include/d/gnu/libintl/libintl.d $prefix/include/d/gnu/libintl/internal/low.d + gettext-runtime-m2 + $prefix/lib/libintl_m2.* $prefix/include/m2/Libintl.def - $prefix/lib/libasprintf.* - $prefix/include/autosprintf.h - $prefix/share/doc/libasprintf/autosprintf*.html - $prefix/share/info/autosprintf.info - libtextstyle $prefix/lib/libtextstyle.* -- 2.47.3