• Please help building static library for new version of portmidi

    From Andreas Tille@21:1/5 to All on Tue Jul 1 08:00:02 2025
    Hi,

    I've updated portmidi to the latest upstream version. The
    CMakeLists.txt file only creates the shared library. I'd be really
    happy if someone could provide a patch / MR to the Salsa repository[1]
    to create the static library in addition to provide the same
    functionality as the old portmidi devel package had.

    Thank you for any help
    Andreas.

    [1] https://salsa.debian.org/debian/portmidi

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Tue Jul 1 12:20:01 2025
    Hi Andrius,

    Am Tue, Jul 01, 2025 at 10:07:16AM +0300 schrieb Andrius Merkys:
    On 2025-07-01 08:55, Andreas Tille wrote:
    I've updated portmidi to the latest upstream version. The
    CMakeLists.txt file only creates the shared library. I'd be really
    happy if someone could provide a patch / MR to the Salsa repository[1]
    to create the static library in addition to provide the same
    functionality as the old portmidi devel package had.

    Just curious: why do you need the old devel package functionality? Are there many reverse dependencies relying on portmidi static library? If the
    upstream has switched to shared-only, maybe it would be better to transition the rdeps for trixie+1 instead.

    I try to

    1. follow Debian Library Packaging guide[2] (if it might be considered
    outdated we should probably review this guide

    2. try to not change to much on a package that is not actually my own
    and keep it as close as the original maintainer has designed the package

    Kind regards
    Andreas.

    [1] https://salsa.debian.org/debian/portmidi
    [2] https://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#id249952

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Andreas Tille on Tue Jul 1 13:00:01 2025
    On Tue, Jul 01, 2025 at 12:14:40PM +0200, Andreas Tille wrote:
    I've updated portmidi to the latest upstream version. The
    CMakeLists.txt file only creates the shared library. I'd be really
    happy if someone could provide a patch / MR to the Salsa repository[1]
    to create the static library in addition to provide the same
    functionality as the old portmidi devel package had.

    Just curious: why do you need the old devel package functionality? Are there >> many reverse dependencies relying on portmidi static library? If the
    upstream has switched to shared-only, maybe it would be better to transition >> the rdeps for trixie+1 instead.

    I try to

    1. follow Debian Library Packaging guide[2] (if it might be considered
    outdated we should probably review this guide

    It doesn't mean that the static library must be built. An overwhelming majority of our -dev packages don't contain a static library.
    But yeah, it's 19 years old.

    2. try to not change to much on a package that is not actually my own
    and keep it as close as the original maintainer has designed the package

    Catch-22.
    I guess that's one of the problems with updating someone else's packages
    to an upstream version that is 9 years newer.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmhjvZYtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh sOcP/A2vwiADn7tbEmT7t7UMOsxFI875p09bzhfb9kUDncJ6OYgb4V3HsPbnRJaG 4ZwkBuvMIRp+/Hzp/c8mzKdmF3Cy4FO1rHjQPAmF2zHcvkwLEHFAtMUqvc5D5Phz lNDMundMIk4KOBCBz6riU+AiJh7fx6L/BHVGAfwl+uDJPiVulx9coNvdrB2/dYcD 79b5i/6TYwxQRx4S9y2Kh6HPfTnkw8b0P0SIN80Mhe2IzGdsc3VSkOn3GlBOmUM7 9DsxGTj6uujcMhV7K4meIrCMG9PgZg0MP7K5ZzK+zaghZg1AeYqjs/sQEQs9uqRs hLYyYAlL8nDXH88t3jFOjDFErvd1TarOPTKDc1FXWZVRfX9DWyRRFlGIbfFxEYND bdgwQPfLhVKtrhZxZ42PeSatz5nvQyoZMHmi1vZE9rPfZtQ18nhGHPW7J15UdtIE Fm5VQAd3Q8LKe1HY3iSVGvrm2M/8KuOd/D+XHOzpMub+kvkvJcNselsQ1wK4wA9m s7G9Z0iZ67EqPhaJLmxs3Qv54ZNvr51pcaSFqIUso9R5RzZSz71Z0mmbLsVm44R5 +RPiFv735JphPMZKUtmoSkQwJm1hjTQ9P1IhQ4ljjYvRlmhlFWIbI4WOe8S5bAr2 +PpdMtL0hRPyNYesnknWq4+AqNT2AuOAG6qki9wVYHlN+/2r
    =uVcH
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ahmad Khalifa@21:1/5 to Andreas Tille on Tue Jul 1 18:10:01 2025
    On 01/07/2025 06:55, Andreas Tille wrote:
    Hi,

    I've updated portmidi to the latest upstream version. The
    CMakeLists.txt file only creates the shared library. I'd be really
    happy if someone could provide a patch / MR to the Salsa repository[1]
    to create the static library in addition to provide the same
    functionality as the old portmidi devel package had.

    I had a go at this and submitted MR !2.

    For "old devel" package, looked at this file list: https://packages.debian.org/bookworm/amd64/libportmidi-dev/filelist

    No libporttime.so seems to be intentional, so left out libporttime.a.


    --
    Regards,
    Ahmad

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