<div dir="ltr"><div>I had create a PR in homebrew: <a href="https://github.com/Homebrew/homebrew-core/pull/16170">https://github.com/Homebrew/homebrew-core/pull/16170</a></div><div><span style="color:rgb(33,33,33)"><br></span></div><div><span style="color:rgb(33,33,33)">Thomas, Tom, please try to install formula from my branch by running:</span><br></div><div><span style="color:rgb(33,33,33)"><br></span></div>brew reinstall <a href="https://raw.githubusercontent.com/yurikoles/homebrew-core/sane-backends-1.0.27-1/Formula/sane-backends.rb">https://raw.githubusercontent.com/yurikoles/homebrew-core/sane-backends-1.0.27-1/Formula/sane-backends.rb</a><br></div><br><div class="gmail_quote"><div dir="ltr">чт, 27 лип. 2017 о 22:39 schmo-fu <<a href="mailto:schmo-fu@feinfug.org">schmo-fu@feinfug.org</a>> пише:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tom,<br>
<br>
you would have to install homebrew (see <a href="https://brew.sh/" rel="noreferrer" target="_blank">https://brew.sh/</a>)<br>
<br>
After that you simply type "brew install sane-backends" this will<br>
install a binary (called bottle). The binaries are installed to<br>
/usr/local/Cellar/... and symlinked /usr/local/bin/<br>
<br>
To compile your own brew (after changing something in the formula for<br>
example) you would enter "brew install --build-from-source sane-backends".<br>
<br>
The formula is a ruby-file found at:<br>
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sane-backends.rb<br>
<br>
You probably know how to test whether it finds any scanners, but anyway:<br>
you use "sane-find-scanner -v" and "scanimage -L".<br>
<br>
<br>
Gruß,<br>
Thomas.S<br>
(aka schmo-fu)<br>
<br>
Am 27.07.17 um 21:02 schrieb Tom Myers:<br>
> I have a 10000XL I can test with with if there is a 1.0.27 built for macintosh.  Just yell where I can download it.<br>
><br>
>> On Jul 27, 2017, at 12:14 PM, schmo-fu <<a href="mailto:schmo-fu@feinfug.org" target="_blank">schmo-fu@feinfug.org</a>> wrote:<br>
>><br>
>> Hey Olaf and Yurii,<br>
>><br>
>> thank you for your support, there is some progress:<br>
>> First i replaced usb-compat- with libusb-dependency in the formula.<br>
>> sane-backends compiled, but still no usb-support.<br>
>> Then i put »depends_on "pkg-config"« into the formula.<br>
>><br>
>> And here we go:<br>
>> [sanei_usb] sanei_usb_init: initializing libusb-1.0<br>
>> [sanei_usb] sanei_usb_scan_devices: marking existing devices<br>
>> [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices<br>
>> [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not<br>
>> configured<br>
>> [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)<br>
>> interface 0 at libusb:006:003<br>
>> [sanei_usb] store_device: add dn 0 with libusb:006:003<br>
>><br>
>> Wow! This looked so good, until i realized that the device 0x04a9 "is<br>
>> not configured" (and the other one is just the Bluetooth-USB-Controller).<br>
>> So »scanimage -L« tells me, that there is still no scanner.<br>
>> But this may be an unrelated issue, or isn't it?<br>
>> (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends<br>
>> 1.0.25 shows this:<br>
>> found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],<br>
>> chip=GL842) at libusb:038:002).<br>
>><br>
>> Ah, here is the log:<br>
>> <a href="https://gist.github.com/6875017d99847cd4bfa5613f61216306" rel="noreferrer" target="_blank">https://gist.github.com/6875017d99847cd4bfa5613f61216306</a><br>
>><br>
>><br>
>> Gruß,<br>
>> Thomas.S<br>
>> (aka schmo-fu)<br>
>><br>
>> Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:<br>
>>> Hi, Olaf, Thomas!<br>
>>><br>
>>> Having another round through the info in the various links you and Yurii<br>
>>>> provided I noticed<br>
>>>><br>
>>>>  checking for pkg-config... no<br>
>>>><br>
>>>> Is homebrew using pkgconfig instead?  If so, I'd suggest adding<br>
>>>> something like<br>
>>>><br>
>>>>  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"<br>
>>>><br>
>>> No need to do this, in brew this may be addressed by adding `depends_on<br>
>>> "pkg-config"`<br>
>>><br>
>>> *before* running configure to sane-backends.rb.  Adjust /usr/bin as<br>
>>>> necessary.  While at it, also drop the<br>
>>>><br>
>>>>  depends_on "libusb-compat"<br>
>>>><br>
>>>> or replace it with something like<br>
>>>><br>
>>>>  depends_on "libusb-1.0"<br>
>>>><br>
>>>> at least, do yourself a favour and build against libusb-1.0.<br>
>>>><br>
>>> Thomas, please try putting just `libusb` here, we have such formula:<br>
>>> <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb" rel="noreferrer" target="_blank">https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb</a><br>
>>><br>
>>> This formula Olaf?<br>
>>><br>
>><br>
>> --<br>
>> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
>> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>>             to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
><br>
<br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a></blockquote></div>