sane-backends: import from oldpackages (v2) #1799
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes since oldpackages:
cups dependency was completely removed(upstream now)This also happened in sane trunk version musl patchadded detection of inb,outb (link error with musl)(upstream now)this also removes hack 020-non-i386-qcam.patchfix for segfault when using sane-test backendadded format-security fix(upstream now)individual packages for each backend:
Now it is possible to use SANE with much less FS space (KB
instead of MB).
Signed-off-by: Luiz Angelo Daros de Luca luizluca@gmail.com
This is the second try of #1724, which was reverted (#1778) because it failed when parsed with gnu make <4 (#1777). I did some refactoring in order to isolate the problem. In the end, this works fine in Package/xxx/config with make v4:
While it fails (silently) with v3. I needed to add a backslash after eval to be compatible with v3:
And some more similar problems. It seems that gnu make v3 and v4 parser are different beasts. And I think that this is not intentional as these type of breakage is not mentioned in NEWS but maybe it is related to this.
This PR version should be compatible with make v3.81 (ubuntu 14.04) and make v4.0 (ubuntu 15.04). At least, the feeds/packages.tmp/.packageinfo is fine now.
@plntyk, @love4taylor, @sbyx, @hnyman, thanks for the help and sorry for the trouble.