Re: [DNG] sane-utils depends on libsystemd0

2017-05-10 Thread Olaf Meeuwissen
Hi,

Just chiming in wearing my SANE project janitor hat.

For the folks on sane-devel, Devuan is a Debian fork that is intent on
getting completely rid of anything that smacks of systemd.

Arnt Gulbrandsen writes:

> Hendrik Boom writes:
>> So... does sane need saned?  Do the scanners have to initiate communication
>> with the computer for which there always has to be a daemon running?
>
> That's not what sane does. Sane doesn't need saned to scan; I use devuan
> and a scanner without even having saned installed.
>
> Saned is what you need if you want to connect a USB scanner to host A and
> then run scanning software on host B. It makes A pretend to be a network
> scanner that B can use, rather like how my scanner (a Brother MFC-8880)
> offers its services to everyone on the net.

That's the original use case scenario for which saned was developed but
scanbd[1] now uses saned under the covers to enable device button push
initiated actions.

 [1] https://sourceforge.net/projects/scanbd/

That said, saned does not require the systemd stuff.  IIUC, the optional
dependency only makes saned play nice in systemd setups.

For Devuan there no need to play nice with something that isn't there,
so passing --without-systemd to ./configure is perfectly fine and will
skip any systemd checks.  Not specifying the option will check for
systemd but should disable the systemd support when not found.

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
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Hendrik Boom
On Tue, May 09, 2017 at 04:10:26PM +0300, Hleb Valoshka wrote:
> On 5/9/17, Hendrik Boom  wrote:
> >> > I thought Sane was a bare application. Does it involve also some
> >> > kind of
> >> > server to "need" socket-activation and logging?
> >> >
> >>
> >>   http://linuxcommand.org/man_pages/saned8.html
> >
> > So... does sane need saned?  Do the scanners have to initiate communication
> > with
> > the computer for which there always has to be a daemon running?
> 
> Hi Hendrik, could you build and test the package from
> https://github.com/375gnu/sane-backends ? I've cleaned it from
> systemd.

Not really.  I communicate with my scanner by carrying files across on 
a USB stick, completely bypassing SANE.  I wouldn't know how to test it 
in this context.

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Arnt Gulbrandsen

Hendrik Boom writes:

So... does sane need saned?  Do the scanners have to initiate communication
with the computer for which there always has to be a daemon running?


That's not what sane does. Sane doesn't need saned to scan; I use devuan 
and a scanner without even having saned installed.


Saned is what you need if you want to connect a USB scanner to host A and 
then run scanning software on host B. It makes A pretend to be a network 
scanner that B can use, rather like how my scanner (a Brother MFC-8880) 
offers its services to everyone on the net.


Arnt

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Arnt Karlsen
On Tue, 9 May 2017 08:57:47 -0400, Hendrik wrote in message 
<20170509125746.ga24...@topoi.pooq.com>:

> On Tue, May 09, 2017 at 11:01:45AM +0200, Tomasz Torcz wrote:
> > On Tue, May 09, 2017 at 10:47:08AM +0200, Didier Kryn wrote:
> > > Le 08/05/2017 10:42, Tomasz Torcz a écrit :
> > > > On Mon, May 08, 2017 at 09:41:06AM +0200, Joachim Fahrner wrote:
> > > > > I found another package that depends on libsystemd0:
> > > > > sane-utils. Would it be difficult to remove this dependency,
> > > > > or is there a valid reason for having this?
> > > >It easy to remove, there's a configure switch:
> > > > https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=c4ae327be5ccf762fe7bb3c1e7f12e13f6b6a1d1
> > > > 
> > > >The integration of logging and socket-activation in systemd
> > > > environments seem to be optional:
> > > > https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=39545b1b90dd9c9e12c20f02cf4ead3afac20de9
> > > > 
> > > 
> > > I thought Sane was a bare application. Does it involve also
> > > some kind of server to "need" socket-activation and logging?
> > > 
> > 
> >   http://linuxcommand.org/man_pages/saned8.html
> 
> So... does sane need saned?  Do the scanners have to initiate
> communication with the computer for which there always has to be a
> daemon running?
> 
> -- hendrik

..maybe if you bought a toll bridge from some Nigerian prince and try 
feed license plate numbers off surveillance cameras to the cops for 
laughing at you... ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Hleb Valoshka
On 5/9/17, Hendrik Boom  wrote:
>> > I thought Sane was a bare application. Does it involve also some
>> > kind of
>> > server to "need" socket-activation and logging?
>> >
>>
>>   http://linuxcommand.org/man_pages/saned8.html
>
> So... does sane need saned?  Do the scanners have to initiate communication
> with
> the computer for which there always has to be a daemon running?

Hi Hendrik, could you build and test the package from
https://github.com/375gnu/sane-backends ? I've cleaned it from
systemd.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Tomasz Torcz
On Tue, May 09, 2017 at 10:47:08AM +0200, Didier Kryn wrote:
> Le 08/05/2017 10:42, Tomasz Torcz a écrit :
> > On Mon, May 08, 2017 at 09:41:06AM +0200, Joachim Fahrner wrote:
> > > I found another package that depends on libsystemd0: sane-utils.
> > > Would it be difficult to remove this dependency, or is there a valid 
> > > reason
> > > for having this?
> >It easy to remove, there's a configure switch:
> > https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=c4ae327be5ccf762fe7bb3c1e7f12e13f6b6a1d1
> > 
> >The integration of logging and socket-activation in systemd environments
> > seem to be optional:
> > https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=39545b1b90dd9c9e12c20f02cf4ead3afac20de9
> > 
> 
> I thought Sane was a bare application. Does it involve also some kind of
> server to "need" socket-activation and logging?
> 

  http://linuxcommand.org/man_pages/saned8.html

-- 
Tomasz TorczThere exists no separation between gods and men:
xmpp: zdzich...@chrome.pl   one blends softly casual into the other.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-09 Thread Didier Kryn

Le 08/05/2017 10:42, Tomasz Torcz a écrit :

On Mon, May 08, 2017 at 09:41:06AM +0200, Joachim Fahrner wrote:

I found another package that depends on libsystemd0: sane-utils.
Would it be difficult to remove this dependency, or is there a valid reason
for having this?

   It easy to remove, there's a configure switch:
https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=c4ae327be5ccf762fe7bb3c1e7f12e13f6b6a1d1

   The integration of logging and socket-activation in systemd environments
seem to be optional:
https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=39545b1b90dd9c9e12c20f02cf4ead3afac20de9



I thought Sane was a bare application. Does it involve also some 
kind of server to "need" socket-activation and logging?


Didier

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] sane-utils depends on libsystemd0

2017-05-08 Thread Tomasz Torcz
On Mon, May 08, 2017 at 09:41:06AM +0200, Joachim Fahrner wrote:
> I found another package that depends on libsystemd0: sane-utils.
> Would it be difficult to remove this dependency, or is there a valid reason
> for having this?

  It easy to remove, there's a configure switch:
https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=c4ae327be5ccf762fe7bb3c1e7f12e13f6b6a1d1

  The integration of logging and socket-activation in systemd environments
seem to be optional:
https://anonscm.debian.org/cgit/sane/sane-backends.git/commit/?id=39545b1b90dd9c9e12c20f02cf4ead3afac20de9

-- 
Tomasz TorczThere exists no separation between gods and men:
xmpp: zdzich...@chrome.pl   one blends softly casual into the other.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng