• Bug#1067582: gnuplot: please provide a profile to break B-D cycle

    From Thorsten Glaser@21:1/5 to All on Sun Mar 24 05:50:01 2024
    Source: gnuplot
    Version: 6.0.0+dfsg1-2
    Severity: important
    Justification: t64 transition roadblock
    X-Debbugs-Cc: tg@mirbsd.de

    There’s this cyclic Build-Depends chain:

    ffmpeg < tesseract < leptonlib < gnuplot < wxwidgets3.2 < opencv < ffmpeg

    Asides from that, gnuplot also depends on Qt5, which is another
    heavy thing to tackle.

    Please provide a profile with which the wxwidgets and Qt GUIs
    are elided.

    leptonlib B-D on gnuplot-nox so that should help already.

    Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Thu Mar 28 06:30:01 2024
    this would help a lot with the t64 transition,
    as Qt is proving difficult on some architectures

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dima Kogan@21:1/5 to All on Sat Mar 30 23:10:01 2024
    Hi.

    I might be misunderstanding what you're asking specifically, but two
    notes:

    - Today leptonlib Build-Depends on gnuplot-nox only if !nocheck. So if
    you build leptonlib with testing disabled, there's no dependency on
    gnuplot

    - Today the gnuplot source package has a hard Build-Depends on wxt and
    qt. Removing either of those (even in a specific profile) would make
    it impossible to build gnuplot-qt and gnuplot-x11 packages with the
    same set of functionality they normally have. If a profile was added
    to loosen either of these dependencies, but that dramatically changed
    the end product, would that be useful?

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thorsten Glaser@21:1/5 to All on Sun Mar 31 07:10:01 2024
    Hi Dima,

    - Today leptonlib Build-Depends on gnuplot-nox only if !nocheck. So if
    you build leptonlib with testing disabled, there's no dependency on
    gnuplot

    oh, that is maybe new? But I see other packages depending on
    gnuplot-nox, so this would still be very helpful.

    - Today the gnuplot source package has a hard Build-Depends on wxt and
    qt. Removing either of those (even in a specific profile) would make
    it impossible to build gnuplot-qt and gnuplot-x11 packages with the
    same set of functionality they normally have.

    Yes, I just hacked the package to just not build these two packages,
    basically by commenting lines from d/rules and removing the paragraphs
    from d/control (although the -N flag for dh would also do) and I got
    the expected gnuplot-nox and no -qt/-x11. (m68k only, the other arches
    will need this as well, so… still needed.)

    If a profile was added
    to loosen either of these dependencies, but that dramatically changed
    the end product, would that be useful?

    Build profiles are allowed to remove packages from the result, as long
    as the other packages are not drastically changed.

    Since gnuplot builds x11, qt and nox separately anyway (and arch:all is
    also built separately), that would work.

    It may be best to look at another package where a build profile is used
    to elide a binary package to have an example of how this can go. If you
    want, I can search one for you, I’ve worked with several of them during
    the last few weeks.

    Thanks,
    //mirabilos
    --
    15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dima Kogan@21:1/5 to All on Sun Mar 31 22:10:01 2024
    OK. I see what you're saying. I can do this today or tomorrow. Anton:
    are you good with that? I'd make a profile "nox-only" that elides the gnuplot-x11 and gnuplot-qt packages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dima Kogan@21:1/5 to All on Mon Apr 1 00:50:01 2024
    I added the requested profile, and fixed a few build bugs I encountered
    in the process. The patch series is here:

    https://salsa.debian.org/science-team/gnuplot/-/commits/bug-1067582

    Anton: can you please review and upload, if it looks good? Or let me
    know, and I'll make a Team upload.

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