Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Samuel Thibault
Michael Biebl, le jeu. 25 avril 2019 01:02:44 +0200, a ecrit:
> Am 25.04.19 um 00:54 schrieb Samuel Thibault:
> > Michael Biebl, le jeu. 25 avril 2019 00:27:58 +0200, a ecrit:
> 
> >> Keep in mind that I only proposed to change policykit-1 to linux-any.
> >> The libpolkit-*-dev packages would still be any.
> > 
> > Ah!  I thought you meant the whole source package...
> 
> source packages can't be linux-any, only binary packages (but I guess
> you know that).

Yes, but people very often just mark all binary packages of a source
package as linux-any, to just avoid having to care about !linux.

Samuel



Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Michael Biebl
Am 25.04.19 um 00:54 schrieb Samuel Thibault:
> Michael Biebl, le jeu. 25 avril 2019 00:27:58 +0200, a ecrit:

>> Keep in mind that I only proposed to change policykit-1 to linux-any.
>> The libpolkit-*-dev packages would still be any.
> 
> Ah!  I thought you meant the whole source package...

source packages can't be linux-any, only binary packages (but I guess
you know that).



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Samuel Thibault
Michael Biebl, le jeu. 25 avril 2019 00:27:58 +0200, a ecrit:
> Am 25.04.19 um 00:06 schrieb Samuel Thibault:
> > Michael Biebl, le mer. 24 avril 2019 23:44:57 +0200, a ecrit:
> >> It's quite simple really: If policykit-1 is not functional on !linux,
> >> there should be no policykit-1 package on !linux.
> > 
> > That's a principle I can understand, yes.  But then the principle meets
> > the rest of what Debian is: a clench of dependencies, policykit-1 being
> > relatively central in it. Having to spend time to disable almost a
> > hundred of dependencies is really not a good use of volunteer time.
> 
> You don't have to disable almost a hundred of dependencies, you just
> need to acknowledge that some packages are not fully functional on !linux.

Sure, I completely agree with that, cf the rest of my previous mail.

> Keep in mind that I only proposed to change policykit-1 to linux-any.
> The libpolkit-*-dev packages would still be any.

Ah!  I thought you meant the whole source package...

> The effect would be, that packages which declare a hard Depends on
> policykit-1 would be not installable on !linux. And I think that's a
> good thing. If they really need policykit-1, we should not pretend
> that a functional policykit-1 exists when it doesn't.

That part looks good enough to me indeed.

Samuel



Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Michael Biebl
Am 25.04.19 um 00:06 schrieb Samuel Thibault:
> Michael Biebl, le mer. 24 avril 2019 23:44:57 +0200, a ecrit:
>> It's quite simple really: If policykit-1 is not functional on !linux,
>> there should be no policykit-1 package on !linux.
> 
> That's a principle I can understand, yes.  But then the principle meets
> the rest of what Debian is: a clench of dependencies, policykit-1 being
> relatively central in it. Having to spend time to disable almost a
> hundred of dependencies is really not a good use of volunteer time.

You don't have to disable almost a hundred of dependencies, you just
need to acknowledge that some packages are not fully functional on !linux.

Keep in mind that I only proposed to change policykit-1 to linux-any.
The libpolkit-*-dev packages would still be any.
The effect would be, that packages which declare a hard Depends on
policykit-1 would be not installable on !linux. And I think that's a
good thing. If they really need policykit-1, we should not pretend that
a functional policykit-1 exists when it doesn't.

Regards,
Michael




signature.asc
Description: OpenPGP digital signature


Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Samuel Thibault
Michael Biebl, le mer. 24 avril 2019 23:44:57 +0200, a ecrit:
> It's quite simple really: If policykit-1 is not functional on !linux,
> there should be no policykit-1 package on !linux.

That's a principle I can understand, yes.  But then the principle meets
the rest of what Debian is: a clench of dependencies, policykit-1 being
relatively central in it. Having to spend time to disable almost a
hundred of dependencies is really not a good use of volunteer time.

Really, this has been discussed several times in the past for various
packages: for all people's use of time, it's really better to just leave
an implementation that just returns errors, than having to bug each
and every of a hundred of maintainers just to disable the dependency
because the non-functional implementation was removed. Only to bug them
_*again*_ once the implementation has been made to work, to re-enable
the features that would probably just have been disabled automatically
on getting the error from the non-functional implementation! This is
really exactly the case for the package I know about, brltty.

Samuel



Bug#927896: [Pkg-utopia-maintainers] Bug#927896: Bug#927896: Bug#927896: policykit-1: Please drop consolekit dependency on !linux

2019-04-24 Thread Michael Biebl
Am 24.04.19 um 23:37 schrieb Samuel Thibault:
> Michael Biebl, le mer. 24 avril 2019 22:56:11 +0200, a ecrit:
>> Am 24.04.19 um 22:31 schrieb Samuel Thibault:
>>> Michael Biebl, le mer. 24 avril 2019 22:21:03 +0200, a ecrit:
 Am 24.04.19 um 21:58 schrieb Samuel Thibault:
> Michael Biebl, le mer. 24 avril 2019 21:40:04 +0200, a ecrit:
>> Am 24.04.19 um 21:24 schrieb Samuel Thibault:
>>> consolekit has been removed, please drop the dependency from the
>>> policykit-1 package, as the attached patch does.
>>
>> I guess we should make policykit-1 linux-any, given that we don't have a
>> working backend on !linux.
>
> That'd notably mean having to make the libpolkit-gobject-1-dev
> dependency [linux-any] on apparently 69 packages.

 How so? It would just mean those packages become unbuildable on !linux
>>>
>>> Yes, while a lot of them would just build and work fine on !linux
>>> without any change anywhere but keep policykit-1 build find on
>>> !linux.
>>>
>>> For instance brltty's dependency on policykit is just a convenience, it
>>> can fully work without it. That's probably the same for a lot of these
>>> 69 packages. I don't personally plan to take the time to have a look at
>>> these 69 packages. I don't think anybody will happily plan to.
>>
>> Well, I don't think the alternative is better, i.e. pretend policykit-1
>> is workable on !linux, even if that means it is less convenient.
> 
> What do you mean by "better" exactly?
> 
> Providing a -dev package doesn't mean pretending that it'll work. A lot
> of packages only have a Recommends: policykit-1, i.e. AIUI they don't
> expect the library to be always working.
> 
> Really, is that really a lot of work to just drop that line and be done
> with the discussion?
> 
> I'm not even asking to do it for Buster, since there won't be any !linux
> released arch.

It's quite simple really: If policykit-1 is not functional on !linux,
there should be no policykit-1 package on !linux.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature