Sane package from Sane Git repository

General talk about packaging procedures and packages.
Post Reply
gatons
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia
Contact:

Sane package from Sane Git repository

Post 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.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Sane package from Sane Git repository

Post 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.
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: Sane package from Sane Git repository

Post 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
gatons
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia
Contact:

Re: Sane package from Sane Git repository

Post 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 :)
gatons
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia
Contact:

Re: Sane package from Sane Git repository

Post 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 :)
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Sane package from Sane Git repository

Post 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.
gatons
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia
Contact:

Re: Sane package from Sane Git repository

Post 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.
gatons
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia
Contact:

Re: Sane package from Sane Git repository

Post 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. :)
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Sane package from Sane Git repository

Post 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.
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: Sane package from Sane Git repository

Post by DidierSpaier »

gatons wrote:Bugs fixed. Source files and .slackbuild file provide on the same link. :)
Thanks :)
Post Reply