• Bug#1013395: Bug #1013395: mpdecimal

    From Stefan Krah@21:1/5 to All on Tue Jan 2 22:30:01 2024
    Hi,

    I think the solution is pretty simple, same as for libgmp, which ships without documentation.

    The patch removes the documentation, adds a note similar to the libgmp note, fixes a couple of warnings.

    For ease of maintenance it also removes the C++ symbol list. libmpdec++
    is mostly a header library, so users will not have any heightened symbol stability expectations.

    The next mpdecimal release will have separate HTML documentation and
    include small man pages that point to the documentation.

    mpdecimal does not include the rst sources because new issues arise
    with new Sphinx releases, which would then again not pass dh_sphinxdoc.

    I might switch to man pages entirely in the future.


    Stefan Krah



    ================================================================================
    diff -Naur a/debian/README.Debian b/debian/README.Debian
    --- a/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100
    +++ b/debian/README.Debian 2023-11-06 16:50:21.472367979 +0100
    @@ -0,0 +1,4 @@
    +Due to the Debian policy for prebuilt HTML documentation the mpdecimal +documentation is no longer shipped in Debian.
    +
    +Please see https://www.bytereef.org/mpdecimal/ for the documentation.
    diff -Naur a/debian/control b/debian/control
    --- a/debian/control 2021-03-25 11:54:28.000000000 +0100
    +++ b/debian/control 2023-11-06 16:50:21.472367979 +0100
    @@ -2,7 +2,6 @@
    Priority: optional
    Maintainer: Matthias Klose <doko@debian.org>
    Build-Depends: debhelper (>= 12),
    -Build-Depends-Indep: python3-sphinx
    Standards-Version: 4.5.1
    Section: libs
    Homepage: https://www.bytereef.org/mpdecimal/index.html
    @@ -11,7 +10,7 @@
    Section: libdevel
    Architecture: any
    Multi-Arch: same
    -Depends: libmpdec3 (= ${binary:Version}), ${sphinxdoc:Depends}, ${misc:Depends}
    +Depends: libmpdec3 (= ${binary:Version}), ${misc:Depends}
    Su
  • From Matthias Klose@21:1/5 to Stefan Krah on Thu Jan 4 09:40:02 2024
    fyi, I have requested removal of mpdecimal, see #1056785.

    On 02.01.24 23:54, Stefan Krah wrote:

    The patch was slightly messed up. Attaching a new version.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)