Sane package from Sane Git repository

General talk about packaging procedures and packages.

Sane package from Sane Git repository

Postby gatons » 1. Jun 2017, 08:26

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/0qz7z1ud9gzlfvn/AAA3rdSCHzNTZMf-DuAyb-Iga?dl=0.
gatons
 
Posts: 6
Joined: 20. Jul 2016, 10:03
Location: Latvia

Re: Sane package from Sane Git repository

Postby djemos » 1. Jun 2017, 09:58

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

Re: Sane package from Sane Git repository

Postby DidierSpaier » 1. Jun 2017, 10:35

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

Re: Sane package from Sane Git repository

Postby gatons » 1. Jun 2017, 13:09

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

Re: Sane package from Sane Git repository

Postby gatons » 1. Jun 2017, 13:10

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

Re: Sane package from Sane Git repository

Postby djemos » 1. Jun 2017, 13:58

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

Re: Sane package from Sane Git repository

Postby gatons » 1. Jun 2017, 14:26

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

Re: Sane package from Sane Git repository

Postby gatons » 1. Jun 2017, 17:56

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

Re: Sane package from Sane Git repository

Postby djemos » 1. Jun 2017, 19:31

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

Re: Sane package from Sane Git repository

Postby DidierSpaier » 1. Jun 2017, 22:58

gatons wrote:Bugs fixed. Source files and .slackbuild file provide on the same link. :)
Thanks :)
DidierSpaier
 
Posts: 201
Joined: 20. Jun 2016, 20:15


Return to General