Re: [sane-devel] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-09-26 Thread Tom Myers
Testing in 10.12.6 
brew reinstall 
https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb
 100.0%
Error: /Library/Caches/Homebrew/Formula/sane-backends.rb:7: syntax error, 
unexpected '<'

 ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:8: syntax error, unexpected 
'<'

 ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:9: syntax error, unexpected 
'<'
  
   ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected 
'<'
  https://assets-cdn.github.com;>
   ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected 
tIDENTIFIER, expecting end-of-input
  https://assets-cdn.github.com;>
   ^
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/formulary.rb:22:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:22:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:79:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:134:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:70:in `klass'
/usr/local/Library/Homebrew/formulary.rb:66:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:176:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:29:in `block in resolved_formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:27:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:27:in `resolved_formulae'
/usr/local/Library/Homebrew/cmd/reinstall.rb:7:in `reinstall'
/usr/local/Library/brew.rb:127:in `'

-
Testing in 10.13
brew reinstall 
https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb
 100.0%
Error: /Library/Caches/Homebrew/Formula/sane-backends.rb:7: syntax error, 
unexpected '<'

 ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:8: syntax error, unexpected 
'<'

 ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:9: syntax error, unexpected 
'<'
  
   ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected 
'<'
  https://assets-cdn.github.com;>
   ^
/Library/Caches/Homebrew/Formula/sane-backends.rb:11: syntax error, unexpected 
tIDENTIFIER, expecting end-of-input
  https://assets-cdn.github.com;>
   ^
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/formulary.rb:22:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:22:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:79:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:134:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:70:in `klass'
/usr/local/Library/Homebrew/formulary.rb:66:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:176:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:29:in `block in resolved_formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:27:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:27:in `resolved_formulae'
/usr/local/Library/Homebrew/cmd/reinstall.rb:7:in `reinstall'
/usr/local/Library/brew.rb:127:in `'
ITALex15:/ tmyers$ 




















> On Aug 12, 2017, at 8:39 AM, Yurii Kolesnykov  wrote:
> 
> сб, 12 серп. 2017 о 09:05 Olaf Meeuwissen  > пише:
> They don't get deleted later.  The files to be installed don't get
> created to begin with.  This is arguably a bug in the sane-backends
> build system but you can easily work around it by running a `make`
> before doing a `make install`.
> 
> It looks like the homebrew stuff assumes that `make install` will be
> smart enough to also trigger builds for everything that needs to be
> installed.  A bit overly optimistic, if you ask me ;-)
> 
> Below is the Makefile.am snippet that installs the configuration files.
> The first line after the @list, checks for a readable configuration but
> because all these files are generated they don't exist unless you run a
> `make install` first.
> 
>   install-becfg:
>   @# Libtool has a bug where it will sometimes symlink the last
>   @# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*.
>   @# Having two libsane's can cause issues so get rid of it.
>   -rm -f $(DESTDIR)$(sanelibdir)/libsane.*
>   test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)"
>   test -z "$(configdir)/dll.d" || $(MKDIR_P) 
> "$(DESTDIR)$(configdir)/dll.d"
>   @list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in 
> $$list; do \
> if test ! -r $${cfg}; then continue; fi; \
> if test -f $(DESTDIR)$(configdir)/$${cfg}; then \
> echo NOT overwriting $${cfg} in $(configdir)...; \
> else \
> echo installing $${cfg} in $(configdir)/$${cfg}...; \
> $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
> 

Re: [sane-devel] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-08-12 Thread Yurii Kolesnykov
сб, 12 серп. 2017 о 09:05 Olaf Meeuwissen  пише:

> They don't get deleted later.  The files to be installed don't get
> created to begin with.  This is arguably a bug in the sane-backends
> build system but you can easily work around it by running a `make`
> before doing a `make install`.
>
> It looks like the homebrew stuff assumes that `make install` will be
> smart enough to also trigger builds for everything that needs to be
> installed.  A bit overly optimistic, if you ask me ;-)
>
> Below is the Makefile.am snippet that installs the configuration files.
> The first line after the @list, checks for a readable configuration but
> because all these files are generated they don't exist unless you run a
> `make install` first.
>
>   install-becfg:
>   @# Libtool has a bug where it will sometimes symlink the last
>   @# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*.
>   @# Having two libsane's can cause issues so get rid of it.
>   -rm -f $(DESTDIR)$(sanelibdir)/libsane.*
>   test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)"
>   test -z "$(configdir)/dll.d" || $(MKDIR_P)
> "$(DESTDIR)$(configdir)/dll.d"
>   @list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in
> $$list; do \
> if test ! -r $${cfg}; then continue; fi; \
> if test -f $(DESTDIR)$(configdir)/$${cfg}; then \
> echo NOT overwriting $${cfg} in $(configdir)...; \
> else \
> echo installing $${cfg} in $(configdir)/$${cfg}...; \
> $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
> || exit 1; \
> fi; \
> done
>
> I pushed a fix for this in 519ff57.
>
> Hope this helps,
>

Olaf, I had created PR for this
https://github.com/Homebrew/homebrew-core/pull/16722 It can be installed
via:
 `brew reinstall
https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb`

Thomas, please check it.
-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-08-12 Thread Yurii Kolesnykov
сб, 12 серп. 2017 о 09:05 Olaf Meeuwissen  пише:

> They don't get deleted later.  The files to be installed don't get
> created to begin with.  This is arguably a bug in the sane-backends
> build system but you can easily work around it by running a `make`
> before doing a `make install`.
>
> It looks like the homebrew stuff assumes that `make install` will be
> smart enough to also trigger builds for everything that needs to be
> installed.  A bit overly optimistic, if you ask me ;-)
>
> Below is the Makefile.am snippet that installs the configuration files.
> The first line after the @list, checks for a readable configuration but
> because all these files are generated they don't exist unless you run a
> `make install` first.
>
>   install-becfg:
>   @# Libtool has a bug where it will sometimes symlink the last
>   @# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*.
>   @# Having two libsane's can cause issues so get rid of it.
>   -rm -f $(DESTDIR)$(sanelibdir)/libsane.*
>   test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)"
>   test -z "$(configdir)/dll.d" || $(MKDIR_P)
> "$(DESTDIR)$(configdir)/dll.d"
>   @list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in
> $$list; do \
> if test ! -r $${cfg}; then continue; fi; \
> if test -f $(DESTDIR)$(configdir)/$${cfg}; then \
> echo NOT overwriting $${cfg} in $(configdir)...; \
> else \
> echo installing $${cfg} in $(configdir)/$${cfg}...; \
> $(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
> || exit 1; \
> fi; \
> done
>
> I pushed a fix for this in 519ff57.
>
> Hope this helps,
>

Olaf, I had created PR for this
https://github.com/Homebrew/homebrew-core/pull/16722 It can be installed
via:
 `brew reinstall
https://github.com/yurikoles/homebrew-core/blob/sane-backends-1.0.27-3/Formula/sane-backends.rb`


Thomas, please check it.
-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-08-12 Thread Olaf Meeuwissen
Hi Thomas,

schmo-fu writes:

> Okay, here i go again ...
>
> i can confirm, that it is not a permission problem. It's just that there
> are no files, where they should be.
>
> The scanner is recognized by sane-find-scanner now. But scanimage -L
> doesn't find it, because the sane-backends .conf files are supposed to
> be at:
> /usr/local/Cellar/sane-backends/1.0.27_1/etc/sane.d/
> but there is no etc/ (and there also is no doc/; both are present under
> 1.0.25_1; (»officially« there should also be a tools/, but this isn't
> present neither in 25 nor in 27).
>
> Looking at
> https://gist.github.com/anonymous/5e324f6e1c7c8b9ea4172a72e0352255
> [[see note]]
> the make-log shows, that the backends are all build with
> "-DPATH_SANE_CONFIG_DIR=usr/local/Cellar/sane-backends/1.0.27_2/etc/sane.d"
> which seems alright.
>
> Maybe they get deleted later? I don't know enough about this process, to
> know where to look for answers.

[ ... looking through the log ... ]

They don't get deleted later.  The files to be installed don't get
created to begin with.  This is arguably a bug in the sane-backends
build system but you can easily work around it by running a `make`
before doing a `make install`.

It looks like the homebrew stuff assumes that `make install` will be
smart enough to also trigger builds for everything that needs to be
installed.  A bit overly optimistic, if you ask me ;-)

Below is the Makefile.am snippet that installs the configuration files.
The first line after the @list, checks for a readable configuration but
because all these files are generated they don't exist unless you run a
`make install` first.

  install-becfg:
  @# Libtool has a bug where it will sometimes symlink the last
  @# installed library in $(sanelibdir) to $(sanelibdir)/libsane.*.
  @# Having two libsane's can cause issues so get rid of it.
  -rm -f $(DESTDIR)$(sanelibdir)/libsane.*
  test -z "$(configdir)" || $(MKDIR_P) "$(DESTDIR)$(configdir)"
  test -z "$(configdir)/dll.d" || $(MKDIR_P) 
"$(DESTDIR)$(configdir)/dll.d"
  @list="$(BACKEND_CONFS_ENABLED) saned.conf dll.conf"; for cfg in 
$$list; do \
if test ! -r $${cfg}; then continue; fi; \
if test -f $(DESTDIR)$(configdir)/$${cfg}; then \
echo NOT overwriting $${cfg} in $(configdir)...; \
else \
echo installing $${cfg} in $(configdir)/$${cfg}...; \
$(INSTALL_DATA) $${cfg} $(DESTDIR)$(configdir)/$${cfg} \
|| exit 1; \
fi; \
done

I pushed a fix for this in 519ff57.

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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-08-07 Thread schmo-fu
Okay, here i go again ...

i can confirm, that it is not a permission problem. It's just that there
are no files, where they should be.

The scanner is recognized by sane-find-scanner now. But scanimage -L
doesn't find it, because the sane-backends .conf files are supposed to
be at:
/usr/local/Cellar/sane-backends/1.0.27_1/etc/sane.d/
but there is no etc/ (and there also is no doc/; both are present under
1.0.25_1; (»officially« there should also be a tools/, but this isn't
present neither in 25 nor in 27).

Looking at
https://gist.github.com/anonymous/5e324f6e1c7c8b9ea4172a72e0352255
[[see note]]
the make-log shows, that the backends are all build with
"-DPATH_SANE_CONFIG_DIR=usr/local/Cellar/sane-backends/1.0.27_2/etc/sane.d"
which seems alright.

Maybe they get deleted later? I don't know enough about this process, to
know where to look for answers.
@Yurii can you help with this?


Greetings,
Thomas.S

[[ Note:
I corrected and reintroduced the patch from 1.0.25, that fixes some
header files, and thus made a version 1.0.27_2. ]]



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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-30 Thread Thomas.S
FYI: I'll be traveling until Thursday. So there will be no more input from my 
side until then. 
Liebe Grüße, Thomas.S 

---
ohne Signatur, sent from the phone. 

> Am 29.07.2017 um 10:06 schrieb Olaf Meeuwissen :
> 
> Hi,
> 
> Yurii Kolesnykov writes:
> 
>> Hi, Olaf, Thomas!
>> 
>> Having another round through the info in the various links you and Yurii
>>> provided I noticed
>>> 
>>> checking for pkg-config... no
>>> 
>>> Is homebrew using pkgconfig instead?  If so, I'd suggest adding
>>> something like
>>> 
>>> system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
>> No need to do this, in brew this may be addressed by adding `depends_on
>> "pkg-config"`
> 
> That should work as well and probably even better.  I'm not up-to-date
> on the (in)compatibility of pkg-config and pkgconfig.
> 
>> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
>>> necessary.  While at it, also drop the
>>> 
>>> depends_on "libusb-compat"
>>> 
>>> or replace it with something like
>>> 
>>> depends_on "libusb-1.0"
>>> 
>>> at least, do yourself a favour and build against libusb-1.0.
>> Thomas, please try putting just `libusb` here, we have such formula:
>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
>> 
>> This formula Olaf?
> 
> I know *nothing* about how homebrew works, but that formula seems to use
> libusb-1.0.21 so that should be fine.
> 
> With those two changes to the homebrew formula for sane-backends you
> should be all set to build with USB support.
> 
> 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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-28 Thread schmo-fu
Yuri,

that's only part of the solution.

I tried
» brew reinstall
https://raw.githubusercontent.com/yurikoles/homebrew-core/sane-backends-1.0.27-1/Formula/sane-backends.rb
«

but it leads to error:
  curl: (22) The requested URL returned error: 401 Unauthorized
  Error: Failed to download resource "sane-backends"
  Download failed:
https://homebrew.bintray.com/bottles/sane-backends-1.0.27_1.sierra.bottle.tar.gz

»brew reinstall --build-from-source https://raw.github... « went fine.

I then also edited fxcouderts changes into my own Formula, but:
while »depends_on "pkg-config"« helps (as i wrote before)
but the added »=> :run« or »=> :build« don't make it any better.

The build-log shows »checking for USB... yes« now in any of the three
cases, but the scanner is still not detected.

This is a big step into the right direction, but not the whole way.


Greetings and Gruß,
Thomas.S
(aka schmo-fu)

Am 28.07.17 um 20:31 schrieb Yurii Kolesnykov:
> I had create a PR in homebrew:
> https://github.com/Homebrew/homebrew-core/pull/16170
> 
> Thomas, Tom, please try to install formula from my branch by running:
> 
> brew reinstall
> https://raw.githubusercontent.com/yurikoles/homebrew-core/sane-backends-1.0.27-1/Formula/sane-backends.rb
> 
> чт, 27 лип. 2017 о 22:39 schmo-fu  пише:
> 
>> Hi Tom,
>>
>> you would have to install homebrew (see https://brew.sh/)
>>
>> After that you simply type "brew install sane-backends" this will
>> install a binary (called bottle). The binaries are installed to
>> /usr/local/Cellar/... and symlinked /usr/local/bin/
>>
>> To compile your own brew (after changing something in the formula for
>> example) you would enter "brew install --build-from-source sane-backends".
>>
>> The formula is a ruby-file found at:
>>
>> /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sane-backends.rb
>>
>> You probably know how to test whether it finds any scanners, but anyway:
>> you use "sane-find-scanner -v" and "scanimage -L".
>>
>>
>> Gruß,
>> Thomas.S
>> (aka schmo-fu)
>>
>> Am 27.07.17 um 21:02 schrieb Tom Myers:
>>> I have a 1XL I can test with with if there is a 1.0.27 built for
>> macintosh.  Just yell where I can download it.
>>>
 On Jul 27, 2017, at 12:14 PM, schmo-fu  wrote:

 Hey Olaf and Yurii,

 thank you for your support, there is some progress:
 First i replaced usb-compat- with libusb-dependency in the formula.
 sane-backends compiled, but still no usb-support.
 Then i put »depends_on "pkg-config"« into the formula.

 And here we go:
 [sanei_usb] sanei_usb_init: initializing libusb-1.0
 [sanei_usb] sanei_usb_scan_devices: marking existing devices
 [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices
 [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not
 configured
 [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)
 interface 0 at libusb:006:003
 [sanei_usb] store_device: add dn 0 with libusb:006:003

 Wow! This looked so good, until i realized that the device 0x04a9 "is
 not configured" (and the other one is just the
>> Bluetooth-USB-Controller).
 So »scanimage -L« tells me, that there is still no scanner.
 But this may be an unrelated issue, or isn't it?
 (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends
 1.0.25 shows this:
 found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
 chip=GL842) at libusb:038:002).

 Ah, here is the log:
 https://gist.github.com/6875017d99847cd4bfa5613f61216306


 Gruß,
 Thomas.S
 (aka schmo-fu)

 Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:
> Hi, Olaf, Thomas!
>
> Having another round through the info in the various links you and
>> Yurii
>> provided I noticed
>>
>>  checking for pkg-config... no
>>
>> Is homebrew using pkgconfig instead?  If so, I'd suggest adding
>> something like
>>
>>  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
>>
> No need to do this, in brew this may be addressed by adding `depends_on
> "pkg-config"`
>
> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
>> necessary.  While at it, also drop the
>>
>>  depends_on "libusb-compat"
>>
>> or replace it with something like
>>
>>  depends_on "libusb-1.0"
>>
>> at least, do yourself a favour and build against libusb-1.0.
>>
> Thomas, please try putting just `libusb` here, we have such formula:
>
>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
>
> This formula Olaf?
>

 --
 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 

Re: [sane-devel] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-28 Thread Yurii Kolesnykov
I had create a PR in homebrew:
https://github.com/Homebrew/homebrew-core/pull/16170

Thomas, Tom, please try to install formula from my branch by running:

brew reinstall
https://raw.githubusercontent.com/yurikoles/homebrew-core/sane-backends-1.0.27-1/Formula/sane-backends.rb

чт, 27 лип. 2017 о 22:39 schmo-fu  пише:

> Hi Tom,
>
> you would have to install homebrew (see https://brew.sh/)
>
> After that you simply type "brew install sane-backends" this will
> install a binary (called bottle). The binaries are installed to
> /usr/local/Cellar/... and symlinked /usr/local/bin/
>
> To compile your own brew (after changing something in the formula for
> example) you would enter "brew install --build-from-source sane-backends".
>
> The formula is a ruby-file found at:
>
> /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sane-backends.rb
>
> You probably know how to test whether it finds any scanners, but anyway:
> you use "sane-find-scanner -v" and "scanimage -L".
>
>
> Gruß,
> Thomas.S
> (aka schmo-fu)
>
> Am 27.07.17 um 21:02 schrieb Tom Myers:
> > I have a 1XL I can test with with if there is a 1.0.27 built for
> macintosh.  Just yell where I can download it.
> >
> >> On Jul 27, 2017, at 12:14 PM, schmo-fu  wrote:
> >>
> >> Hey Olaf and Yurii,
> >>
> >> thank you for your support, there is some progress:
> >> First i replaced usb-compat- with libusb-dependency in the formula.
> >> sane-backends compiled, but still no usb-support.
> >> Then i put »depends_on "pkg-config"« into the formula.
> >>
> >> And here we go:
> >> [sanei_usb] sanei_usb_init: initializing libusb-1.0
> >> [sanei_usb] sanei_usb_scan_devices: marking existing devices
> >> [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices
> >> [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not
> >> configured
> >> [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)
> >> interface 0 at libusb:006:003
> >> [sanei_usb] store_device: add dn 0 with libusb:006:003
> >>
> >> Wow! This looked so good, until i realized that the device 0x04a9 "is
> >> not configured" (and the other one is just the
> Bluetooth-USB-Controller).
> >> So »scanimage -L« tells me, that there is still no scanner.
> >> But this may be an unrelated issue, or isn't it?
> >> (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends
> >> 1.0.25 shows this:
> >> found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
> >> chip=GL842) at libusb:038:002).
> >>
> >> Ah, here is the log:
> >> https://gist.github.com/6875017d99847cd4bfa5613f61216306
> >>
> >>
> >> Gruß,
> >> Thomas.S
> >> (aka schmo-fu)
> >>
> >> Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:
> >>> Hi, Olaf, Thomas!
> >>>
> >>> Having another round through the info in the various links you and
> Yurii
>  provided I noticed
> 
>   checking for pkg-config... no
> 
>  Is homebrew using pkgconfig instead?  If so, I'd suggest adding
>  something like
> 
>   system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
> 
> >>> No need to do this, in brew this may be addressed by adding `depends_on
> >>> "pkg-config"`
> >>>
> >>> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
>  necessary.  While at it, also drop the
> 
>   depends_on "libusb-compat"
> 
>  or replace it with something like
> 
>   depends_on "libusb-1.0"
> 
>  at least, do yourself a favour and build against libusb-1.0.
> 
> >>> Thomas, please try putting just `libusb` here, we have such formula:
> >>>
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
> >>>
> >>> This formula Olaf?
> >>>
> >>
> >> --
> >> 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
-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread schmo-fu
Hi Tom,

you would have to install homebrew (see https://brew.sh/)

After that you simply type "brew install sane-backends" this will
install a binary (called bottle). The binaries are installed to
/usr/local/Cellar/... and symlinked /usr/local/bin/

To compile your own brew (after changing something in the formula for
example) you would enter "brew install --build-from-source sane-backends".

The formula is a ruby-file found at:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sane-backends.rb

You probably know how to test whether it finds any scanners, but anyway:
you use "sane-find-scanner -v" and "scanimage -L".


Gruß,
Thomas.S
(aka schmo-fu)

Am 27.07.17 um 21:02 schrieb Tom Myers:
> I have a 1XL I can test with with if there is a 1.0.27 built for 
> macintosh.  Just yell where I can download it.
> 
>> On Jul 27, 2017, at 12:14 PM, schmo-fu  wrote:
>>
>> Hey Olaf and Yurii,
>>
>> thank you for your support, there is some progress:
>> First i replaced usb-compat- with libusb-dependency in the formula.
>> sane-backends compiled, but still no usb-support.
>> Then i put »depends_on "pkg-config"« into the formula.
>>
>> And here we go:
>> [sanei_usb] sanei_usb_init: initializing libusb-1.0
>> [sanei_usb] sanei_usb_scan_devices: marking existing devices
>> [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices
>> [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not
>> configured
>> [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)
>> interface 0 at libusb:006:003
>> [sanei_usb] store_device: add dn 0 with libusb:006:003
>>
>> Wow! This looked so good, until i realized that the device 0x04a9 "is
>> not configured" (and the other one is just the Bluetooth-USB-Controller).
>> So »scanimage -L« tells me, that there is still no scanner.
>> But this may be an unrelated issue, or isn't it?
>> (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends
>> 1.0.25 shows this:
>> found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
>> chip=GL842) at libusb:038:002).
>>
>> Ah, here is the log:
>> https://gist.github.com/6875017d99847cd4bfa5613f61216306
>>
>>
>> Gruß,
>> Thomas.S
>> (aka schmo-fu)
>>
>> Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:
>>> Hi, Olaf, Thomas!
>>>
>>> Having another round through the info in the various links you and Yurii
 provided I noticed

  checking for pkg-config... no

 Is homebrew using pkgconfig instead?  If so, I'd suggest adding
 something like

  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"

>>> No need to do this, in brew this may be addressed by adding `depends_on
>>> "pkg-config"`
>>>
>>> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
 necessary.  While at it, also drop the

  depends_on "libusb-compat"

 or replace it with something like

  depends_on "libusb-1.0"

 at least, do yourself a favour and build against libusb-1.0.

>>> Thomas, please try putting just `libusb` here, we have such formula:
>>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
>>>
>>> This formula Olaf?
>>>
>>
>> -- 
>> 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
> 
> 



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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread Tom Myers
I have a 1XL I can test with with if there is a 1.0.27 built for macintosh. 
 Just yell where I can download it.

> On Jul 27, 2017, at 12:14 PM, schmo-fu  wrote:
> 
> Hey Olaf and Yurii,
> 
> thank you for your support, there is some progress:
> First i replaced usb-compat- with libusb-dependency in the formula.
> sane-backends compiled, but still no usb-support.
> Then i put »depends_on "pkg-config"« into the formula.
> 
> And here we go:
> [sanei_usb] sanei_usb_init: initializing libusb-1.0
> [sanei_usb] sanei_usb_scan_devices: marking existing devices
> [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices
> [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not
> configured
> [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)
> interface 0 at libusb:006:003
> [sanei_usb] store_device: add dn 0 with libusb:006:003
> 
> Wow! This looked so good, until i realized that the device 0x04a9 "is
> not configured" (and the other one is just the Bluetooth-USB-Controller).
> So »scanimage -L« tells me, that there is still no scanner.
> But this may be an unrelated issue, or isn't it?
> (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends
> 1.0.25 shows this:
> found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
> chip=GL842) at libusb:038:002).
> 
> Ah, here is the log:
> https://gist.github.com/6875017d99847cd4bfa5613f61216306
> 
> 
> Gruß,
> Thomas.S
> (aka schmo-fu)
> 
> Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:
>> Hi, Olaf, Thomas!
>> 
>> Having another round through the info in the various links you and Yurii
>>> provided I noticed
>>> 
>>>  checking for pkg-config... no
>>> 
>>> Is homebrew using pkgconfig instead?  If so, I'd suggest adding
>>> something like
>>> 
>>>  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
>>> 
>> No need to do this, in brew this may be addressed by adding `depends_on
>> "pkg-config"`
>> 
>> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
>>> necessary.  While at it, also drop the
>>> 
>>>  depends_on "libusb-compat"
>>> 
>>> or replace it with something like
>>> 
>>>  depends_on "libusb-1.0"
>>> 
>>> at least, do yourself a favour and build against libusb-1.0.
>>> 
>> Thomas, please try putting just `libusb` here, we have such formula:
>> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
>> 
>> This formula Olaf?
>> 
> 
> -- 
> 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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread schmo-fu
Hey Olaf and Yurii,

thank you for your support, there is some progress:
First i replaced usb-compat- with libusb-dependency in the formula.
sane-backends compiled, but still no usb-support.
Then i put »depends_on "pkg-config"« into the formula.

And here we go:
[sanei_usb] sanei_usb_init: initializing libusb-1.0
[sanei_usb] sanei_usb_scan_devices: marking existing devices
[sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices
[sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not
configured
[sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215)
interface 0 at libusb:006:003
[sanei_usb] store_device: add dn 0 with libusb:006:003

Wow! This looked so good, until i realized that the device 0x04a9 "is
not configured" (and the other one is just the Bluetooth-USB-Controller).
So »scanimage -L« tells me, that there is still no scanner.
But this may be an unrelated issue, or isn't it?
(The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends
1.0.25 shows this:
found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan],
chip=GL842) at libusb:038:002).

Ah, here is the log:
https://gist.github.com/6875017d99847cd4bfa5613f61216306


Gruß,
Thomas.S
(aka schmo-fu)

Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov:
> Hi, Olaf, Thomas!
> 
> Having another round through the info in the various links you and Yurii
>> provided I noticed
>>
>>   checking for pkg-config... no
>>
>> Is homebrew using pkgconfig instead?  If so, I'd suggest adding
>> something like
>>
>>   system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
>>
> No need to do this, in brew this may be addressed by adding `depends_on
> "pkg-config"`
> 
> *before* running configure to sane-backends.rb.  Adjust /usr/bin as
>> necessary.  While at it, also drop the
>>
>>   depends_on "libusb-compat"
>>
>> or replace it with something like
>>
>>   depends_on "libusb-1.0"
>>
>> at least, do yourself a favour and build against libusb-1.0.
>>
> Thomas, please try putting just `libusb` here, we have such formula:
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb
> 
> This formula Olaf?
> 

-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread Yurii Kolesnykov
Hi, Olaf, Thomas!

Having another round through the info in the various links you and Yurii
> provided I noticed
>
>   checking for pkg-config... no
>
> Is homebrew using pkgconfig instead?  If so, I'd suggest adding
> something like
>
>   system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"
>
No need to do this, in brew this may be addressed by adding `depends_on
"pkg-config"`

*before* running configure to sane-backends.rb.  Adjust /usr/bin as
> necessary.  While at it, also drop the
>
>   depends_on "libusb-compat"
>
> or replace it with something like
>
>   depends_on "libusb-1.0"
>
> at least, do yourself a favour and build against libusb-1.0.
>
Thomas, please try putting just `libusb` here, we have such formula:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb

This formula Olaf?
-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread Olaf Meeuwissen
Hi Thomas,

schmo-fu writes:

> Hi Olaf,
>
> sorry for the long wait, but now i'm back at the machine with the scanner.

No problem.  I've been swamped with Real Work the last three days
anyways ;-)

> Am 24.07.17 um 14:09 schrieb Olaf Meeuwissen:
>>
>> Try --with-usb=yes.  That really *should* bomb.
>>
> I put '--with-usb=yes' into the formula, but that didn't stop the
> compilation. You find the log here:
> https://gist.github.com/anonymous/5ea27bd1a4c1f0baffebffe7aec0caf3

That has:

  checking for USB... no
  checking for USB... no
  checking usb.h usability... yes
  checking usb.h presence... yes
  checking for usb.h... yes
  checking for usb_interrupt_read in -lusb... yes
  checking lusb0_usb.h usability... no
  checking lusb0_usb.h presence... no
  checking for lusb0_usb.h... no

So it *does* find some usable USB support and hence won't bomb.  From
the comment in configure.ac, that first `yes` hints at a 10+ years old
libusb (or Windows version).  I *think* it found something from that
libusb-compat package.

>> From the config.log I see that there's probably a libusb-compat
>> installed somewhere.  I'd suggest to get rid of that (as far as SANE is
>> concerned) because libusb-1.x should be okay.
>>
>> From that same file, I also gather there should be libusb*.pc files (or
>> similar) in
>>
>>   /usr/local/opt/libusb/lib/pkgconfig
>>
>> and
>>
>>   /usr/local/opt/libusb-compat/lib/pkgconfig
>>
>> Curious about what those have to say about libusb because, AFAIU, the
>> configure script should be looking at those before it decides there's
>> no USB support.
>
> i copied the contents of the two pc-files to this pad:
> https://codicill.us/pad/p/gist

I have zero idea about homebrew works but the paths of the *.pc files
themselves and the prefixes they list look highly suspicious.  That is,
the files live below /usr/local/opt/ but their prefix point below
/usr/local/Cellar/.  There may be some symlinks to make this all work,
magically, but to me it looks fishy.

If those *.pc files are found when running ./configure, that excerpt of
the ./configure output quoted above should reduce to just

  checking for USB... yes

and USB should work.  The ./configure script makes sure that pkg-config
(which deals with these *.pc files) is set up correctly for your build
environment before it tries to find the *.pc files.  From the initial
./configure output excerpt it very much looks like they are *not* found
at all.

> Then i force uninstalled libusb-compat.
> That stopped sane-find-scanner from working (See error-message at the
> end of the pad). So this looks more like sane-find-scanner is actually
> build with usb-support?

Yup.  And if I am not mistaken, that came from libusb-compat which you
subsequently nuked.  The error message is interesting though (in light
of those *.pc files you pasted).

  dyld: Library not loaded: /usr/local/opt/libusb-compat/lib/libusb-0.1.4.dylib

The libusb.pc mentions a version of 0.1.5_1 (emulated_by=libusb-1.0 ??)
and libusb-1.0.pc mentions 1.0.21.

Hmm, libusb is 0.1.5?  Seriously?  The latest version is 0.1.12 and that
was released years ago.  How does that jive with a 0.1.4.dylib?

# I'm not expecting you to answer this.  I am just thinking "out loud".

> So i reinstalled (build-from-source) sane-backends (after deactivating
> the dependency for libusb-compat) and it bombed (of course).
> Logs from that: https://gist.github.com/dfbe878620c1ae20f1bcbda44dbe37e3
>
> So i reinstalled libusb-compat and now i'm back to where i started.

Based on the above, I would drop the 10+ year old duct tape that goes by
the name of libusb-compat and look at fixing whatever thwarts pkg-config
finding one of those *.pc files, preferably libusb-1.0.pc.

Hmm, ...

Having another round through the info in the various links you and Yurii
provided I noticed

  checking for pkg-config... no

Is homebrew using pkgconfig instead?  If so, I'd suggest adding
something like

  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"

*before* running configure to sane-backends.rb.  Adjust /usr/bin as
necessary.  While at it, also drop the

  depends_on "libusb-compat"

or replace it with something like

  depends_on "libusb-1.0"

at least, do yourself a favour and build against libusb-1.0.

So far for tonight's debugging session ;-)  If you still have trouble,
don't hesitate to "bother" me (and the list ;-)

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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-27 Thread Olaf Meeuwissen
Hi Yurii,

Yurii Kolesnykov writes:

> Hi Thomas, Olaf!
>
>> It'd make more sense if you can tell me where these homebrew-commits can
>> be found.
>> # I've been on GNU+Linux and just about nothing else for two decades ;-)
>>
> Here is the brew formulae file. You can see history of commits.
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/sane-backends.rb

Thanks!  I'll follow up with more info in Thomas' follow up.
--
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-25 Thread schmo-fu
Hi Olaf,

sorry for the long wait, but now i'm back at the machine with the scanner.

Am 24.07.17 um 14:09 schrieb Olaf Meeuwissen:
> 
> Try --with-usb=yes.  That really *should* bomb.
> 
I put '--with-usb=yes' into the formula, but that didn't stop the
compilation. You find the log here:
https://gist.github.com/anonymous/5ea27bd1a4c1f0baffebffe7aec0caf3

> From the config.log I see that there's probably a libusb-compat
> installed somewhere.  I'd suggest to get rid of that (as far as SANE is
> concerned) because libusb-1.x should be okay.
> 
> From that same file, I also gather there should be libusb*.pc files (or
> similar) in
> 
>   /usr/local/opt/libusb/lib/pkgconfig
> 
> and
> 
>   /usr/local/opt/libusb-compat/lib/pkgconfig
> 
> Curious about what those have to say about libusb because, AFAIU, the
> configure script should be looking at those before it decides there's
> no USB support.

i copied the contents of the two pc-files to this pad:
https://codicill.us/pad/p/gist

Then i force uninstalled libusb-compat.
That stopped sane-find-scanner from working (See error-message at the
end of the pad). So this looks more like sane-find-scanner is actually
build with usb-support?

So i reinstalled (build-from-source) sane-backends (after deactivating
the dependency for libusb-compat) and it bombed (of course).
Logs from that: https://gist.github.com/dfbe878620c1ae20f1bcbda44dbe37e3

So i reinstalled libusb-compat and now i'm back to where i started.


Greetings,
Thomas.S

-- 
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] sane-backend 1.0.27 USB broken on Mac with Homebrew

2017-07-24 Thread schmo-fu
Hi,

i want to report a problem with sane-backends 1.0.27 on MacOS
installation via homebrew package management.
I wrote to one of the maintainers (Yurii on Cc:) of the homebrew-formula
first. He send me here, because it's not a compilation problem.
The formula installed fine, but the resulting sane-backend is built
without usb support.


Here is how and what i found out:
xsane suddenly didn't find my USB-Scanner anymore. I checked the scanner
with another computer and it's fine. I looked into the debug-output and
... long story short:
Debug information from sane-find-scanner says:
"sanei_usb_init: SANE is built without support for libusb"

Since i "brew upgrade"d since my last use of the scanner, i switched
back to 1.0.25_1 and this fixed the problem.
Reinstalling 1.0.27 with --build-from-source reproduced the problem.

The strange thing is, that the sane-backends.rb-file (the homebrew
automatic installation instruction) clearly states
"--enable-libusb" in both versions. But config-warnings for 1.0.27 say
"unrecognized options: --enable-libusb" which is in accordance with the
NEWS note 2, that libusb is now the default, but something seems to be
broken here.
I changed the formula so that it states "--with-usb" but that didn't
help. (No warning anymore, but still no USB)

The last 1.0.25-homebrew-commit contained a patch (concerning some
missing headers) that later commits are missing. (What this patch did
exactly and whether this is related to the usb-problem is beyond me.)

Finally i can say that homebrew-commit
7aaf1e3a14b75a715eed34f3bb4c57e79f417e96 works, while the next commit
60b1305361d0ef61405014b37164b1daaf77d207 doesn't.


I hope all of this makes sense to you and someone has time to look
into this problem.



Greetings from germany,
Thomas.S
(aka schmo-fu)


PS: I made some brew gist-logs for you, maybe they help.

1.0.27 latest commit:
https://gist.github.com/anonymous/df5ad14abeca4ad0348d39693c92747a

1.0.27 manually changed --enable-usb to --with-usb:
https://gist.github.com/anonymous/5960a98614bed2b89a85fd726eddcece

1.0.25 last working commit:
https://gist.github.com/anonymous/c47dd22ff09318c0151cc5771173f97b




Gruß,
Thomas.S
(aka schmo-fu)

-- 
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