Chris Bagwell | 1 Mar 2012 18:20

Re: Windows pthread issue

On Wed, Feb 29, 2012 at 1:00 PM, Michael Cronenworth <mike <at> cchtml.com> wrote:
> Hi All/Chris,
>
> Fedora (17) is moving away from mingw.org to the w64 MinGW environment.
>
> The w64 folks have a new pthreads implementation called "winpthreads" and I
> have encountered an issue with it when compiling sane-backends.
>
> For the Windows build you try to expand the pthread_t pointer. Under
> "winpthreads" a pthread_t is not defined as a struct. Could you read the
> following support thread on the w64 sourceforge page and make any comments
> or corrections?
>
> https://sourceforge.net/tracker/index.php?func=detail&aid=3495128&group_id=202880&atid=983355

Can you test a possible fix since you have access?  They appear to be
using an unsigned pointer so traditional "-1" can't be used.  In
sanei_thread.c, modify these three blocks:

#ifdef WIN32
        pid->p = 0;

[...]

#ifdef WIN32
        if (pid.p == 0)
            rc = SANE_TRUE;

[...]

(Continue reading)

Martin Dengler | 2 Mar 2012 17:31
Gravatar

[PATCH] scanbd: Makefile-001 ensure target dirs exist

Hi,

I am packaging scanbd for Fedora (someone stop me if it's done) and I
came across two things I would like to add to the Makefile:

1) 'make install' should not assume all its target dirs exist (it
   doesn't for two of the three dirs it targets but it assumes
   /etc/dbus-1/system.d exists)

and

2) 'make install' should respect $PREFIX and / or $DESTDIR if set,
   DESTDIR being the conventional one RPM will set when doing mock
   builds / installs for various purposes during the RPM packaging
   process.

Would you please consider these two patches and let me know if they
are acceptable or if I can improve them to make them so?  The patches
were created by 'svn diff' against SVN trunk (checked out a few
minutes ago).

The first patch follows and the second will be set as a reply (with
changed subject) to this mail.

Thanks,
Martin

Index: Makefile
===================================================================
--- Makefile	(revision 77)
(Continue reading)

Martin Dengler | 2 Mar 2012 17:38
Gravatar

Re: [PATCH] scanbd: Makefile-002 support DESTDIR and PREFIX envvars if set

> 2) 'make install' should respect $PREFIX and / or $DESTDIR if set,
>    DESTDIR being the conventional one RPM will set when doing mock
>    builds / installs for various purposes during the RPM packaging
>    process.
> 
> Would you please consider these two patches and let me know if they
> are acceptable or if I can improve them to make them so?  The patches
> were created by 'svn diff' against SVN trunk (checked out a few
> minutes ago).

Index: Makefile
===================================================================
--- Makefile	(revision 77)
+++ Makefile	(working copy)
 <at>  <at>  -29,14 +29,28  <at>  <at> 
 DBUS_INCLUDE=
 endif

+ifndef PREFIX
 PREFIX = /usr/local
+endif
+
+ifndef DESTDIR
 SCANBD_DIR = $(PREFIX)/etc/scanbd
+else
+PREFIX = $(DESTDIR)/usr
+SCANBD_DIR = $(DESTDIR)/etc/scanbd
+endif
+
 BIN_DIR = $(PREFIX)/bin
(Continue reading)

Michael Cronenworth | 2 Mar 2012 18:34

Re: Windows pthread issue

Chris Bagwell on 03/01/2012 11:20 AM wrote:
> Can you test a possible fix since you have access?  They appear to be
> using an unsigned pointer so traditional "-1" can't be used.  In
> sanei_thread.c, modify these three blocks:

Close. The attached patch fixes the compile issue and the resulting DLL 
works for me and my scanner on 7 64-bit.
--

-- 
sane-devel mailing list: sane-devel <at> 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-request <at> lists.alioth.debian.org
Rolf Bensch | 2 Mar 2012 20:01
Picon

German translations

Hi,

I am adding German translations for the new Pixma options to the German 
translation file:

#: ../backend/genesys.c:5957 ../backend/pixma_sane_options.c:293
#, no-c-format
msgid "Threshold curve"
msgstr "Schwellwertkurve"

#: ../backend/genesys.c:5958 ../backend/pixma_sane_options.c:294
#, no-c-format
msgid "Dynamic threshold curve, from light to dark, normally 50-65"
msgstr ""
"Dynamische Schwellwertkurve, von hell zu dunkel, nomalerweise 50-65"

#: ../backend/pixma_sane_options.c:143
#, no-c-format
msgid "Gamma function exponent"
msgstr "Gamma-Exponent"

#: ../backend/pixma_sane_options.c:144
#, no-c-format
msgid "Changes intensity of midtones"
msgstr "Verändert die Intensität der mittleren Farbtöne"

For other scanners there are many German translations missing. I need 
your help to add them, too.
Please add / correct the German translations below:

(Continue reading)

Wilhelm | 3 Mar 2012 11:33
Picon
Favicon

Re: [PATCH] scanbd: Makefile-001 ensure target dirs exist

Hi Martin,

Am 02.03.2012 17:31, schrieb Martin Dengler:
> Hi,
>
> I am packaging scanbd for Fedora (someone stop me if it's done) and I
> came across two things I would like to add to the Makefile:
>
> 1) 'make install' should not assume all its target dirs exist (it
>     doesn't for two of the three dirs it targets but it assumes
>     /etc/dbus-1/system.d exists)
>
> and
>
> 2) 'make install' should respect $PREFIX and / or $DESTDIR if set,
>     DESTDIR being the conventional one RPM will set when doing mock
>     builds / installs for various purposes during the RPM packaging
>     process.
>
> Would you please consider these two patches and let me know if they
> are acceptable or if I can improve them to make them so?

they are absolute acceptable for me! I will merge them asap and mail to 
this list when its done.

> The patches
> were created by 'svn diff' against SVN trunk (checked out a few
> minutes ago).
>
> The first patch follows and the second will be set as a reply (with
(Continue reading)

Wilhelm | 3 Mar 2012 12:10
Picon
Favicon

Re: [PATCH] scanbd: Makefile-001 ensure target dirs exist

Hi Martin,

thank you for the patches.
They are merged to trunk and into release/1.2.
Also make a file release scanbd-1.2.tgz on SF.

Thanks,

Wilhelm

Am 02.03.2012 17:31, schrieb Martin Dengler:
> Hi,
>
> I am packaging scanbd for Fedora (someone stop me if it's done) and I
> came across two things I would like to add to the Makefile:
>
> 1) 'make install' should not assume all its target dirs exist (it
>     doesn't for two of the three dirs it targets but it assumes
>     /etc/dbus-1/system.d exists)
>
> and
>
> 2) 'make install' should respect $PREFIX and / or $DESTDIR if set,
>     DESTDIR being the conventional one RPM will set when doing mock
>     builds / installs for various purposes during the RPM packaging
>     process.
>
> Would you please consider these two patches and let me know if they
> are acceptable or if I can improve them to make them so?  The patches
> were created by 'svn diff' against SVN trunk (checked out a few
(Continue reading)

Petrie, Glen | 5 Mar 2012 17:51

SANE in LSB 5.0

Hello All,

 

I work for Epson (in the US).  Epson Japan has requested that I champion the integration of SANE into LSB 5.0.

 

SANE integration in the LSB has been started before; but I hoping to see it through to completion this time.

 

I have already started a dialog with the LSB 5.0 team and I have reviewed the existing SANE material; however, I would like to get any comments, suggestion and help from the members of this mailing list since you have a greater involvement.

 

As I see it, the part of SANE that would become part of the LSB is basically the SANE library and APIs associated with the dll.c, etc code.

 

While there is a lot of vendor instantiated libraries for SANE-Backends and some related to SANE-Frontends; they would not become part of LSB 5.0 unless you can identify generic (non-vendor specific) API for the backend/frontend that need to be included in the LSB.

 

As I go forward the LSB integration process, I will make every attempt to keep this group (mail-list) informed.

 

Glen

 

--

-- 
sane-devel mailing list: sane-devel <at> 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-request <at> lists.alioth.debian.org
T.Kovács család | 5 Mar 2012 20:09
Picon

Mustek scanner

Dear SANE developers!
Y have a Mutek ScanExpress A3 USB 1200 Pro scanner.

It hase a driver on the Mustek official page, which I was able to use with Ubuntu 10.4.
http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.com.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/libsane_1.0.19-1_i386.deb&DRIVERFILEID=447

On Ubuntu 11.10 it can't be installed due to the late sane version (1.0.19). But it is possible to use the backend from it (libsane-mustek_usb2.so.1.0.19), installed manually. But unfortunatelly the SCANIMAGE finds the scanner just in sudo mode.
On the system in 64 bit, it is not possible to use in any configuration.

It should be possible to integrate this driver in Sane proiect, to be used automatically in the future?
Or maibe, it is just a case of settings?
There is a forum or a help-list for this scanner?

The output of sane-find-scanner is:
found USB scanner (vendor=0x055f, product=0x040b, chip=SQ113?) at libusb:002:004

Thank You for helping!
T.K.Aron (Arhitect)

--

-- 
sane-devel mailing list: sane-devel <at> 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-request <at> lists.alioth.debian.org
Martin Dengler | 7 Mar 2012 14:33
Gravatar

Re: [PATCH] scanbd: Makefile-001 ensure target dirs exist

Hi Wilhelm,

On Sat, Mar 03, 2012 at 12:10:13PM +0100, Wilhelm wrote:
> Hi Martin,
>
> thank you for the patches.
> They are merged to trunk and into release/1.2.
> Also make a file release scanbd-1.2.tgz on SF.

Thanks for merging so quickly -- that's excellent.

> Thanks,
> 
> Wilhelm

Martin
--

-- 
sane-devel mailing list: sane-devel <at> 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-request <at> lists.alioth.debian.org

Gmane