Page 1 of 1

Sane package from Sane Git repository

Posted: 1. Jun 2017, 08:26
by gatons
Hello, guys.

I have some trouble with Canon LiDE 120 scanner - system sees scanner, but can't scan. After searching on internet, i create package for x86_64 platform and solve problem. For creating i use Sane slackbuild file from official Slackware repo with corrections from my side (diffs, there used in slackware pack, not used in new). You can download this package from https://www.dropbox.com/sh/0qz7z1ud9gzl ... b-Iga?dl=0.

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 09:58
by djemos
Did you have xsane installed also?
Sane need xsane to work. Or can use xsane only. so run xsane and then run sane. It will see scanner and scan also.
Also another package is skanlite.
Maybe you did not have to compile a new package.
In next Salix versions i suggest to include xsane also in packages included in iso image.
I will do it in Slackel.

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 10:35
by DidierSpaier
Hello gatons,

Thanks for providing this.

However, there are a few issues with your package:
  • /install/slack-desc is empty. Consider including the one from the genuine Slackware package, possibly edited.
  • The documentation is in /usr/share/doc/sane-backends. To follow the Slackware way it should be in /usr/doc/sane-$VERSION.
  • It is good practice to provide a SlackBuild and either the source archive or a link to it. Many of us will stay away from a package if this is not provided.
Last, as this seems to be a recent release, you could draw attention to the Slackware team about it posting in http://www.linuxquestions.org/questions ... 175561577/. But I see that this has been done already, cf. http://www.linuxquestions.org/questions ... ost5714107 so forget it this time.

Have a good day,
Didier

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 13:09
by gatons
djemos wrote:Did you have xsane installed also?
Sane need xsane to work. Or can use xsane only. so run xsane and then run sane. It will see scanner and scan also.
Also another package is skanlite.
Maybe you did not have to compile a new package.
In next Salix versions i suggest to include xsane also in packages included in iso image.
I will do it in Slackel.
Sane package provide backends for various scanner models. I use Simple-scan or VueScan (commercial soft) for scanning. But you can use xsane, if you want :)

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 13:10
by gatons
DidierSpaier wrote:Hello gatons,

Thanks for providing this.

However, there are a few issues with your package:
  • /install/slack-desc is empty. Consider including the one from the genuine Slackware package, possibly edited.
  • The documentation is in /usr/share/doc/sane-backends. To follow the Slackware way it should be in /usr/doc/sane-$VERSION.
  • It is good practice to provide a SlackBuild and either the source archive or a link to it. Many of us will stay away from a package if this is not provided.
Last, as this seems to be a recent release, you could draw attention to the Slackware team about it posting in http://www.linuxquestions.org/questions ... 175561577/. But I see that this has been done already, cf. http://www.linuxquestions.org/questions ... ost5714107 so forget it this time.

Have a good day,
Didier
Ok. Will check. This is my first package after few years :)

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 13:58
by djemos
Sane package provide backends for various scanner models. I use Simple-scan or VueScan (commercial soft) for scanning. But you can use xsane, if you want
To be more detailed. Recently i bought a HP envy 4520 all-in-one wifi printer, scanner and copier. What i found was that even if simple-scan and sane was installed, it was not able to find scanner and work. When i installed xsane and i had to run it first, then scanner was working fine. Of course i could just use xsane.
Then i run simple-scan and also could scan with it. I tested this for many times. This is from experience. I did not have the time or willing to look in depth why this happened.
The skanlite from the other hand was fully working. Scanner was found and i could scan a document.

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 14:26
by gatons
Not sure, but maby you need use hplip? https://sourceforge.net/projects/hplip/ few years ago i use HP printer with scanner, then i use hplip. VueScan also provide driver for your device https://www.hamrick.com/vuescan/hp.html#scanner-drivers, but - that is commercial software.

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 17:56
by gatons
  • /install/slack-desc is empty. Consider including the one from the genuine Slackware package, possibly edited.
  • The documentation is in /usr/share/doc/sane-backends. To follow the Slackware way it should be in /usr/doc/sane-$VERSION.
  • It is good practice to provide a SlackBuild and either the source archive or a link to it. Many of us will stay away from a package if this is not provided.
Bugs fixed. Source files and .slackbuild file provide on the same link. :)

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 19:31
by djemos
Not sure, but maby you need use hplip? https://sourceforge.net/projects/hplip/ few years ago i use HP printer with scanner, then i use hplip. VueScan also provide driver for your device https://www.hamrick.com/vuescan/hp.html#scanner-drivers, but - that is commercial software.
Of course i use hplip where the drivers exist for hp envy 4520.

Re: Sane package from Sane Git repository

Posted: 1. Jun 2017, 22:58
by DidierSpaier
gatons wrote:Bugs fixed. Source files and .slackbuild file provide on the same link. :)
Thanks :)