ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
124 stars 74 forks source link

Debian bookworm support #77

Closed whitpa closed 2 weeks ago

whitpa commented 1 year ago

There is no support for Debian/Ubuntu releases later than Bullseye/Focal.

I managed to hack together a debian-files/bookworm folder that did the job. Changes include:

FYI: No, I am not willing to submit a Git pull request. I am a consumer, not a producer, of this Git repository (i.e. tarballs only), and do not wish to host an Internet-accessible Git repo.

umaplehurst commented 7 months ago

The above isn't enough to fix the package so it's also multilib-compliant. This is necessary if you want to have other packages automatically depend on the nopoll package. I did the following to fix this:

a) change debian/rules to the following:

#!/usr/bin/make -f

%:
        dh $@ --with=autoreconf

override_dh_auto_test:
        true

b) change debian/libnopoll0-dev.install to:

usr/include/*
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*

c) change debian/libnopoll0.install to: usr/lib/*/lib*.so.* d) add Multi-Arch: same to libnopoll0 + libnopoll0-dev in debian/control e) bump debian/compat

francisbrosnan commented 2 weeks ago

Latest 0.4.9 adds support for these distributions. http://lists.aspl.es/pipermail/nopoll/2024-October/000251.html Thanks for reporting