[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem between priorities of libisofs6 and libjte1



Hi,

> That depends, I guess - what are people going to be building with
> libisofs-dev?

Known to me are two GUI applications:
  https://tracker.debian.org/media/packages/x/xfburn/control-0.5.4-1
  https://tracker.debian.org/media/packages/b/brasero/control-3.12.1-1

and libisoburn, which also produces xorriso
  https://tracker.debian.org/media/packages/libi/libisoburn/control-1.4.0-3

I did not find a global search tool for reverse build dependencies.
  apt-rdepends -b --reverse  libisofs-dev
would be nice, but says
  E: Reverse build-dependencies are not supported

The GUI applications will hardly want to produce Jigdo.
But i begin to doubt whether any of the -dev packages is
appropriate as Dependency of libisofs-dev.


The dependencies on libjte, zlib, libacl, libattr get compiled
into libisofs6.so by the presence of their -dev packages when
the source package gets compiled by buildd.
The header file libisofs.h in libisofs-dev does not refer to
anything from libjte-dev, zlib1g-dev, libacl1-dev, libattr1-dev.
All those references are encapsulated in libisofs6.so.
Applications can use the related libisofs API calls regardless
whether the functionality is actually enabled.

The presence of -dev headers would enable the according
capabilities when compiling libisoburn and xorriso.
But this is a peculiarity of libisoburn, not of other users of
libisofs-dev.
 

> I'd be tempted to just add it as a Recommends: if so.

  https://www.debian.org/doc/manuals/maint-guide/dreq.en.html
says this would make the installation depend on the package
management tool. Quite arbitrary, therefore.


How about this diff ?

In libisofs/control:

 Package: libisofs-dev
 ...
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          libisofs6 (= ${binary:Version}),
-         zlib1g-dev,
-         libacl1-dev,
-         libattr1-dev
 Suggests: libisofs-doc (= ${source:Version})

Which would then cause a need in libisoburn/control

 Source: libisoburn
 ...
 Build-Depends: dh-autoreconf,
                pkg-config,
                debhelper (>= 9),
                libburn-dev (>= 1.4.0),
                libisofs-dev (>= 1.4.0),
+               zlib1g-dev,
+               libacl1-dev,
+               libattr1-dev
                libreadline-dev,
                libjte-dev
 Standards-Version: 3.9.6
 
This would put the dependency only where it is needed by the
configuration automat of libisoburn.

I believe xfburn and brasero do not make use of any of those
capabilities. But it would be nice to know whether there are
other customers of libisofs-dev.

So: Is there a possibility to find all reverse Build-Depends
    of libisofs-dev ?


Have a nice day :)

Thomas


Reply to: