void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

sane: fix PDF-producing eSCL scanners failing with `Invalid argument`

Open ElementW opened this issue 2 years ago • 14 comments

eSCL-speaking scanners that produce PDF-formatted output scan properly, but completion is only met with sane_start: Invalid argument expressed in various forms depending on front-end.

This is due to SANE being built without PDF support, provided by poppler-glib; this commit enables that as a default-on option, fixing support for those scanners.

Testing the changes

  • I tested the changes in this PR: YES (using an EPSON XP-325)

ElementW avatar Mar 03 '23 17:03 ElementW

how can i get at least a test-version of the new package? i think my scanner (Canon PIXMA TS3450) delivers PDF, too...

riddicc avatar Apr 13 '23 06:04 riddicc

yesterday's sane-1.1.1_2.x86_64 still does not scan with my TS3450... cry

riddicc avatar Apr 19 '23 10:04 riddicc

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Jul 19 '23 02:07 github-actions[bot]

bump

riddicc avatar Jul 19 '23 03:07 riddicc

Gave up trying to understand precisely why the test fails. Not surprising it would really be broken upstream considering its sorry state on 32 bit for 4 years now. So I just disabled tests when poppler is enabled too.

ElementW avatar Jul 19 '23 17:07 ElementW

sane-1.2.1_1 still does not work...

riddicc avatar Jul 30 '23 11:07 riddicc

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Nov 04 '23 01:11 github-actions[bot]

bump?

riddicc avatar Nov 04 '23 06:11 riddicc

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar Feb 06 '24 01:02 github-actions[bot]

Again, this is still current, and SANE's test situation has not improved since 90 days.

ElementW avatar Feb 06 '24 09:02 ElementW

why cant we just do it? i mean: make a new package? when i compile&install it myself, it works fine...

riddicc avatar Feb 06 '24 09:02 riddicc

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar May 07 '24 01:05 github-actions[bot]

what is wrong here? lol

riddicc avatar May 07 '24 04:05 riddicc

More than a year later, it seems this has not been looked at by any maintainer. I'll ping @Piraty since they were the one to touch this file through a PR merge that updated sane to the current 1.2.1.

ElementW avatar May 18 '24 20:05 ElementW

a gentle ping usually works best ;) (template mentions me as maintainer= , so pinging me would have been wise from the start)

thanks for this patch!

  • commit title is too verbose, something like `sane: enable pdf support' will work just fine.
  • since poppler build option is not part of common/options.description, you should declare desc_option_poppler= like texstudio's template does

Piraty avatar May 26 '24 20:05 Piraty

@Piraty Oooh thanks a lot for these suggestions; I had noticed that options have their common description file back then but wasn't sure if I should touch it, and I found no documentation on whether one could create a per-package option, thanks again for the tip.

I've also shortened the commit name, as you suggested.

ElementW avatar May 26 '24 21:05 ElementW

https://github.com/void-linux/void-packages/issues/50541 :(

Piraty avatar Jun 03 '24 08:06 Piraty

just upgraded... works fine now...

riddicc avatar Jun 03 '24 09:06 riddicc