Re: ${xviddriver:Provides} broken?
On 2011-02-23 19:54 +0100, Harald Dunkel wrote:
> On 02/23/11 17:06, Sven Joachim wrote:
>> On 2011-02-23 16:39 +0100, Harald Dunkel wrote:
>>
>>
>> Sorry, I got confused myself. That should have read
>> xserver-driver-video, not xserver-xorg-video.
>>
>
> Sorry, but this doesn't seem right. xserver-xorg says it
> depends upon
>
> xserver-xorg-video-all | xorg-driver-video
Yes, so you should provide the latter. That's what I wanted to say.
> AFAICS dh_xfs_substvars is not integrated in cdbs,
Don't expect this to happen. None of the X Strike Force packages uses
cdbs, AFAIK.
> nor is it documented at all,
That's true. I don't know if its API is stable yet (I suppose not).
> so I kept
>
> VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)
> INPUTDEP = $(shell cat /usr/share/xserver-xorg/xinputdep 2>/dev/null)
> :
> :
> .PHONY: serverabi
> serverabi:
> echo "xviddriver:Depends=$(VIDEODEP)" >> debian/$(PKG_driver).substvars
> echo "xinpdriver:Depends=$(INPUTDEP)" >> debian/$(PKG_driver).substvars
> # the following is there for compatibility...
> echo "xserver:Depends=$(VIDEODEP), $(INPUTDEP)" >> debian/$(PKG_driver).substvars
>
>
> Do you think this is OK?
Well, if you don't want to support xserver-xorg-core versions with a
different ABI in the same binary package, then that's probably okay.
> You can find my repository at http://afaics.de/debian/
Not really, it gives me a 403 error.
Cheers,
Sven
Reply to: