Overview

Request 1078729 accepted

- Drop n_no-compress-on-sle.patch and set XPM_PATH_COMPRESS instead

Loading...

Stefan Dirsch's avatar

So did you try what happens when /usr/bin/compress is tried to be executed, but not availabe? What happens?


Fabian Vogt's avatar
author source maintainer

I didn't try it, but the xpmPipeThrough function returns NULL, so the behaviour is identical to the patch.


Stefan Dirsch's avatar

Hmm. Doesn't this bail out with _exit(1) in xpmPipeThrough?


Fabian Vogt's avatar
author source maintainer

Yes, but in the forked child process


Stefan Dirsch's avatar

Fair enough. But then we can also require ncompress - at least on openSUSE. Will add this.


Fabian Vogt's avatar
author source maintainer

Please no - that's just bloat. Making it conditional is also broken by design because "Requires" implies that it does not work without it but in SLE it does.

I'd just declare that support for writing (!!!) .Z pixmaps is "opt-in", like it's been the decades before. Using X pixmaps is rare, using .Z pixmaps is even rarer and then writing those is pretty much never going to be used.


Stefan Dirsch's avatar

Well, it was "opt-in" since decades, because we weren't aware of that this program uses 'compress' at all. :-( What about using Recommends or Suggests instead?


Fabian Vogt's avatar
author source maintainer

Suggests sounds good to me.


Fabian Vogt's avatar
author source maintainer

Note that I made https://build.opensuse.org/request/show/1078456 separately to get the trivial part accepted and forwarded quicker to fix the build failure.

Request History
Fabian Vogt's avatar

favogt created request

- Drop n_no-compress-on-sle.patch and set XPM_PATH_COMPRESS instead


Stefan Dirsch's avatar

sndirsch accepted request

Thanks!

openSUSE Build Service is sponsored by