Hi Lev,

On 5/3/20 6:32 PM, Lev Lamberov wrote:
Hi Jan and Jonas,

Чт 30 апр 2020 @ 20:36 Lev Lamberov <dogs...@debian.org>:

So, my proposal is to have to following packages:

1. swi-prolog-core (with Core_system)

2. swi-prolog-core-packages (with Core_packages), depends on
swi-prolog-core

3. swi-prolog-nox (original swi-prolog-nox, but without
swi-prolog-{core,core-packages}), depends on
swi-prolog-{core,core-packages}

4. swi-prolog-x (without changes at the moment)

5. swi-prolog-java (without changes at the moment)

6. swi-prolog-bdb (without changes at the moment)

7. swi-prolog-odbc (without changes at the moment)

8. swi-prolog-doc (without changes at the moment)

9. swi-prolog-test (without changes at the moment)

10. swi-prolog, depends on swi-prolog-{nox,x} as we have now

11. swi-prolog-full, depends on swi-prolog and
swi-prolog-{java,odbc,bdb}, that is all swi-prolog packages (maybe
except swi-prolog-test)

I've just uploaded 8.1.30 to experimental. swi-prolog source package
builds 11 packages as in the quotation above. swi-prolog-core provides
virtual package swi-prolog-abi-$(swi-prolog:ABI), the value of
$(swi-prolog:ABI) is based on the output of swipl --abi_version and
massaged as follows:

$(shell LD_LIBRARY_PATH=debian/swi-prolog-core/usr/lib 
debian/swi-prolog-core/usr/bin/swipl --abi-version | sed 's/swipl-abi//' | tr 
-d '-')

I suggest 's/.*-abi-//' as the first part is basically flexible and may vary with the name of SWI-Prolog. Personally I'd also be in favor of
not deleting the '-'.  Jonas doesn't see the need for that either.
There is a logical structure in that.  If you do it really correctly
you actually would have four virtual packages.  eye, not relying on
foreign extensions (except bundled with SWI-Prolog) could than drop
dependency on this part.   This is mostly theory though as this is
the most stable of the binary interfaces.

        Cheers --- Jan


That is, for 8.1.30+dfsg-1 it gives 267792e14f8de23899e, since the
output of swipl --abi_version is swipl-abi-2-67-792e14f8-de23899e. So,
other packages may depend on swi-prolog-abi-267792e14f8de23899e in case
they need this particular version of ABI.

Jonas, I did some tweaks to dependencies, so this part should be cleaner
now.

Also, I looked into the eye package. It need pcre swi-prolog package,
which is in swi-prolog-nox (as before), so you still need to at least
Build-Depend on it.

Cheers!
Lev Lamberov


Reply via email to