Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Jeff
On 08/08/17 21:46, Dave Platt wrote:
> Is it?  The Debian package pages seem to show only various cuts
> of a 1.0.25 version in the testing and unstable distributions
> at this time.  As far as I can tell, there hasn't yet been an

I apologise. I must have picked it up from experimental, instead, where
is really is:

https://packages.debian.org/source/experimental/sane-backends

But working fine here.

Regards

Jeff



signature.asc
Description: OpenPGP digital signature
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Dave Platt
On 08/08/2017 01:04 PM, Curtis Graham wrote:
> Dave
> 
> I really appreciate that you took the time to see if 1.0.27 was in
> testing. I don't know where to look for that.

What I did, was to go to www.debian.org, click on "Packages".

Then, go down to the "Search package directories" area, enter
"sane" in the search string and "testing" for distribution,
and do a search.  This brings up all of the packages in that
distribution with "sane" in the name.

What the SANE projects calls "sane-backends", is mostly in the
Debian package called "libsane" - it's the runtime libraries (which
is how the back-ends are packaged - they're dynamically-loadable
libraries).

The Debian "sane" package is mostly the front-ends.

> So I found this and it looks like it was written Today. Does this look
> like it will point me in the right direction? And do I need to do just
> the backends or both back and front ends? I don't know if that is just
> installing the frontend GUI programs or does that tie the frontends to
> the backends somehow...scratching head...

That's a reasonable place to start reading, although I don't know how
specific to any particular version of Linux their particular
instructions might be.

You should need to rebuild only the back-ends (that was my own
experience, at least).  The front-end GUI programs make use of the
back-end libraries, via the SANE APIs.  You should find that front-ends
built from 1.0.25, will work just fine with back-end libraries built
from the 1.0.27 sources.

I'd suggest downloading the 1.0.27 source tarball directly from the
main SANE archive site, rather than from a third-party site... no
telling what changes might have been made for various reasons in the
third-party version.  In this case it seems safe enough (the fossies
site gives the same MD5 checksum as the one at the main SANE project
archives, and the download matches the checksum, so it hasn't been
altered or tampered with) but it's usually best to go back to the
source.

What you would need to do:

(download the tarball)
md5sum sane-backends-1.0.27.tar.gz

(make sure this reports b10a08785f92a4c07ad961f4d843c934)

tar xfa sane-backends-1.0.27.tar.gz
cd sane-backends-1.0.27
sudo apt-get build-dep libsane
sudo apt-get install build-essentials
./configure

(this should tell you that it's going to install into
 /usr/local/ subdirectories)

make

(this should build all of the backends)

At this point you have a bunch of ways you can go about installing.

If you look in "./.libs/" you should find ./.libs/libsane-pixma.so
which is the newly-build version of the Pixma backend.

You can do a "sudo make install" which will install all of the SANE
libraries and back-ends into /usr/local/lib/sane/ and install a bunch
of new configuration files into /usr/local/etc/sane.d/.  That may work
although I can't guarantee that the loader will find those new
libraries since you've already got the standard Debian versions
installed.

Or, you can very selectively install just this one back-end:

sudo mv /usr/lib/sane/libsane-pixma.so /usr/lib/sane/libsane-pixma.so.backup
sudo cp ./.libs/libsane-pixma.so /usr/lib/sane/

That approach will leave you with your existing Debian SANE
installation unchanged _except_ for this one modified
back-end library.

Hope this helps you get started.  Use at your own risk.  No
warranty offered, express or implied.  If it breaks, you own
all the pieces.  :-)



-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Curtis Graham
Dave

I really appreciate that you took the time to see if 1.0.27 was in testing.
I don't know where to look for that.

Ok so that leaves learning how to build this myself. (I am not going back
to Ubuntu) Just to let you know why..I have started a new YouTube channel
and the video work I am doing is in Kdenlive. Which is horribly unstable in
Ubuntu. I looked around and found that Debian is known for being extremely
Stable and that is what I decided (knowing full well that I would have to
get better with Linux) and dove in with both feet.

So I found this and it looks like it was written Today. Does this look like
it will point me in the right direction? And do I need to do just the
backends or both back and front ends? I don't know if that is just
installing the frontend GUI programs or does that tie the frontends to the
backends somehow...scratching head...

http://www.linuxfromscratch.org/blfs/view/svn/pst/sane.html


Thank You

Curtis

On Tue, Aug 8, 2017, 12:47 PM Dave Platt  wrote:

> Jeff  wrote:
>
> > Sure. sane-backends 1.0.27 is in Debian unstable and testing.
>
> Is it?  The Debian package pages seem to show only various cuts
> of a 1.0.25 version in the testing and unstable distributions
> at this time.  As far as I can tell, there hasn't yet been an
> effort to pick up 1.0.27 for Debian.  Unless Debian has done
> something horrid with version numbers (picking up 1.0.27 and
> still calling it 1.0.25-something-or-other) I don't think that
> it's there yet.
>
> Unfortunately, this may leave Curtis with only two choices:
> go back to Ubuntu, or struggle through the blood, sweat, toil,
> and tears of learning how to actually build the sane-backends code
> from source.
>
> Curtis wrote:
>
> > If you have a great source for a walk through so I can learn how
> > to build this specifically for libsane and Debian, I would definitely
> > give it a try, but I have found that if I don't have a good resource
> > to fall back on, it is probably a bad idea for me to try, I tend to
> > break things, lol.
>
> So do we all, at first.  "Experience gained is directly proportional to
> equipment destroyed" (or "smoke released" or "glassware broken" or
> "days in the clinic getting the fumes washed out of our lungs" or
> like that).  :-)
>
> All I can offer is what's up on the developer-information pages at
> the sane-project.org web site.  That's where I started when I needed to
> fix a few broken things in the Avision back-end last year.
>
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Dave Platt
Jeff  wrote:

> Sure. sane-backends 1.0.27 is in Debian unstable and testing.

Is it?  The Debian package pages seem to show only various cuts
of a 1.0.25 version in the testing and unstable distributions
at this time.  As far as I can tell, there hasn't yet been an
effort to pick up 1.0.27 for Debian.  Unless Debian has done
something horrid with version numbers (picking up 1.0.27 and
still calling it 1.0.25-something-or-other) I don't think that
it's there yet.

Unfortunately, this may leave Curtis with only two choices:
go back to Ubuntu, or struggle through the blood, sweat, toil,
and tears of learning how to actually build the sane-backends code
from source.

Curtis wrote:

> If you have a great source for a walk through so I can learn how
> to build this specifically for libsane and Debian, I would definitely
> give it a try, but I have found that if I don't have a good resource
> to fall back on, it is probably a bad idea for me to try, I tend to
> break things, lol.

So do we all, at first.  "Experience gained is directly proportional to
equipment destroyed" (or "smoke released" or "glassware broken" or
"days in the clinic getting the fumes washed out of our lungs" or
like that).  :-)

All I can offer is what's up on the developer-information pages at
the sane-project.org web site.  That's where I started when I needed to
fix a few broken things in the Avision back-end last year.


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Curtis Graham
This sounds like a great way to go, except for being a newb and nothing
ever seems to work right for me when trying to build it myself, then I'm
stuck with half a build sitting on my PC and no idea how to remove
it...case in point one such program sits on my PC right now, the build
instructions I used were for Ubuntu and of coarse Debian doesn't use all
the same libraries so a few folders we're not found and items not built
correctly.

If you have a great source for a walk through so I can learn how to build
this specifically for libsane and Debian, I would definitely give it a try,
but I have found that if I don't have a good resource to fall back on, it
is probably a bad idea for me to try, I tend to break things, lol.

On Tue, Aug 8, 2017, 7:12 AM Dave Platt  wrote:

>
>
>
> >I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
> >it is really easy to get carried away with reading websites and trying
> >different things and messing up things I know nothing about.
>
> Another option is to download the 1.0.27 SANE backends source code,
> and build it yourself.
>
> "apt-get build-deps libsane" should download the development libraries
> on which the backend depends (these are the development files which
> correspond to the runtime libraries currently in your Debian distribution).
> This should also get you the required software told (e.g. gcc and
> make and so forth) if you don't have them already.
>
> You would then download the sources for 1.0.27, unpack, configure, and
> build.  You would end up with a new set of backends which were built
> against
> your current Debian "stable" library set, so there would be no need to
> update
> your system with libraries from Debian "testing", Ubuntu, or elsewhere.
> Then,
> "make install".
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Dave Platt



>I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
>it is really easy to get carried away with reading websites and trying
>different things and messing up things I know nothing about.

Another option is to download the 1.0.27 SANE backends source code,
and build it yourself.  

"apt-get build-deps libsane" should download the development libraries
on which the backend depends (these are the development files which
correspond to the runtime libraries currently in your Debian distribution).
This should also get you the required software told (e.g. gcc and
make and so forth) if you don't have them already.

You would then download the sources for 1.0.27, unpack, configure, and
build.  You would end up with a new set of backends which were built against
your current Debian "stable" library set, so there would be no need to update
your system with libraries from Debian "testing", Ubuntu, or elsewhere.  Then,
"make install".


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Curtis Graham
I do agree that only installing the one file libjpeg8 would make more
sense, but then again I don't know what problems that may cause and I would
be the only one trying to figure it out. At least the other way, there are
many people smarter than me working on "testing" and I would have more of a
resource for help.

Below taken from Debian Testing Wiki

How Debian Testing Works

Packages from Debian Unstable enter the next-stable testing distribution
automatically, when a list of requirements is fulfilled:

The package has been in "unstable" at least for 2-10 days (depending on the
urgency of the upload).
The package has been built for all the architectures which the present
version in testing was built for.
Installing the package into testing will not make the distribution more
uninstallable.
The package does not introduce new release critical bugs.

On Tue, Aug 8, 2017, 6:38 AM Joel Mathew  wrote:

> If you change your sources, that's more likely to create incompatible
> dependencies. If libjpeg8 is the only one creating problem, installing it
> shouldn't create issues for Debian. However the proper way is to do package
> pinning for apt. Check the Debian documentation on how to do that.
>
> On Aug 8, 2017 6:47 PM, "Curtis Graham" 
> wrote:
>
>> Joel,
>>
>> I'm trying really hard not to destroy Debian Stable. I am a Linux newb
>> and it is really easy to get carried away with reading websites and trying
>> different things and messing up things I know nothing about.
>> Package Manager said "uninstallable" so I'm guessing libjpeg8 doesn't
>> play nice.
>> Right now I'm reading up on adding Debian Testing to sources.list and
>> only updating the packages I need to update libsane.
>> I think this may be the more appropriate option with Debian.
>>
>> Thanks
>> Curtis
>>
>> On Tue, Aug 8, 2017, 6:02 AM Joel Mathew  wrote:
>>
>>> Why don't you just download the deb from
>>> https://packages.debian.org/sid/libjpeg8
>>>
>>> On Aug 8, 2017 6:17 PM, "Curtis Graham" 
>>> wrote:
>>>
 Thanks Olaf,

 So how do I install 1.0.27. I'm back to the problem that libsane won't
 install because of the "dependency libjpeg8 is uninstallable" because
 Debian 9 KDE is using libjpeg62-turbo.
 Can I change what dependency libsane needs?
 Or instead of using Rolf's repo, maybe there is a more appropriate one
 to use for Debian?

 Thank you
 Curtis

 On Tue, Aug 8, 2017, 3:13 AM Olaf Meeuwissen 
 wrote:

> Hi Curtis,
>
> Curtis Graham writes:
>
> > I still can't seem to get my scanner to work with debian 1.0.25-4.1.
> I'm
> > guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
> imageclass
> > MF244dw. Here is the output:
> >
> > sudo sane-find-scanner
> > [...]
> > found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
> [Language Error]) at libusb:007:004
>
> > I think it is
> > usb 0x04a9 0x27d2
>
> You think correctly.  This device was added on 2017-04-26, so, yes,
> you'll need 1.0.27.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since
> 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Software
> https://my.fsf.org/donate
>  Join the Free Software Foundation
> https://my.fsf.org/join
>

 --
 sane-devel mailing list: sane-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject "unsubscribe your_password"
  to sane-devel-requ...@lists.alioth.debian.org

>>>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Curtis Graham
Joel,

I'm trying really hard not to destroy Debian Stable. I am a Linux newb and
it is really easy to get carried away with reading websites and trying
different things and messing up things I know nothing about.
Package Manager said "uninstallable" so I'm guessing libjpeg8 doesn't play
nice.
Right now I'm reading up on adding Debian Testing to sources.list and only
updating the packages I need to update libsane.
I think this may be the more appropriate option with Debian.

Thanks
Curtis

On Tue, Aug 8, 2017, 6:02 AM Joel Mathew  wrote:

> Why don't you just download the deb from
> https://packages.debian.org/sid/libjpeg8
>
> On Aug 8, 2017 6:17 PM, "Curtis Graham" 
> wrote:
>
>> Thanks Olaf,
>>
>> So how do I install 1.0.27. I'm back to the problem that libsane won't
>> install because of the "dependency libjpeg8 is uninstallable" because
>> Debian 9 KDE is using libjpeg62-turbo.
>> Can I change what dependency libsane needs?
>> Or instead of using Rolf's repo, maybe there is a more appropriate one to
>> use for Debian?
>>
>> Thank you
>> Curtis
>>
>> On Tue, Aug 8, 2017, 3:13 AM Olaf Meeuwissen 
>> wrote:
>>
>>> Hi Curtis,
>>>
>>> Curtis Graham writes:
>>>
>>> > I still can't seem to get my scanner to work with debian 1.0.25-4.1.
>>> I'm
>>> > guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
>>> imageclass
>>> > MF244dw. Here is the output:
>>> >
>>> > sudo sane-find-scanner
>>> > [...]
>>> > found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
>>> [Language Error]) at libusb:007:004
>>>
>>> > I think it is
>>> > usb 0x04a9 0x27d2
>>>
>>> You think correctly.  This device was added on 2017-04-26, so, yes,
>>> you'll need 1.0.27.
>>>
>>> Hope this helps,
>>> --
>>> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>>>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>>>  Support Free Softwarehttps://my.fsf.org/donate
>>>  Join the Free Software Foundation  https://my.fsf.org/join
>>>
>>
>> --
>> sane-devel mailing list: sane-devel@lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>  to sane-devel-requ...@lists.alioth.debian.org
>>
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Jeff
On 08/08/17 14:46, Curtis Graham wrote:
> Or instead of using Rolf's repo, maybe there is a more appropriate one
> to use for Debian?

Sure. sane-backends 1.0.27 is in Debian unstable and testing.

Regards

Jeff



signature.asc
Description: OpenPGP digital signature
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Curtis Graham
Thanks Olaf,

So how do I install 1.0.27. I'm back to the problem that libsane won't
install because of the "dependency libjpeg8 is uninstallable" because
Debian 9 KDE is using libjpeg62-turbo.
Can I change what dependency libsane needs?
Or instead of using Rolf's repo, maybe there is a more appropriate one to
use for Debian?

Thank you
Curtis

On Tue, Aug 8, 2017, 3:13 AM Olaf Meeuwissen 
wrote:

> Hi Curtis,
>
> Curtis Graham writes:
>
> > I still can't seem to get my scanner to work with debian 1.0.25-4.1. I'm
> > guessing I need to get up to 1.0.27. My Multi Scanner is a Canon
> imageclass
> > MF244dw. Here is the output:
> >
> > sudo sane-find-scanner
> > [...]
> > found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2
> [Language Error]) at libusb:007:004
>
> > I think it is
> > usb 0x04a9 0x27d2
>
> You think correctly.  This device was added on 2017-04-26, so, yes,
> you'll need 1.0.27.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Need Help getting Canon ImageClass MF244dw working

2017-08-08 Thread Olaf Meeuwissen
Hi Curtis,

Curtis Graham writes:

> I still can't seem to get my scanner to work with debian 1.0.25-4.1. I'm
> guessing I need to get up to 1.0.27. My Multi Scanner is a Canon imageclass
> MF244dw. Here is the output:
>
> sudo sane-find-scanner
> [...]
> found USB scanner (vendor=0x04a9 [Language Error], product=0x27d2 [Language 
> Error]) at libusb:007:004

> I think it is
> usb 0x04a9 0x27d2

You think correctly.  This device was added on 2017-04-26, so, yes,
you'll need 1.0.27.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org