Re: [Upgrade to FreeBSD10] hplip issue

2014-02-03 Thread Scot Hetzel
 On Mon, Feb 3, 2014 at 12:54 AM, David Marec  wrote:
> On 03.02.2014 01:18, Scot Hetzel wrote:
>>
>> On Sat, Feb 1, 2014 at 4:14 AM, David Marec 
> wrote:
>>>
>>> I don't know why this file was not updated during the hplip installation.
>>>
>> [...]
>>
>>   if there were any changes to hplip.conf file, it doesn't get removed
>> when the port is uninstalled.  And if the file exists, it won't
>> overwrite your changes.
>>
>> Did you customize this file before you re-installed?
>
>
> No. But I guess this file wasn't removed when I requested the deletion of
> all the ports using 'pkg delete', once FreeBSD was upgraded.
> But, at that time, the scanning switch was enabled in the file.
>
>
>>
>> Does the hplip.conf.sample file have scanner-build=yes?
>>
>
> The only difference is the line I set up to fix the issue, after the
> (re)installation:
> david:/<1>local/etc/hp>diff hplip.conf hplip.conf.sample
> 25c25
> < scanner-build=yes
> ---
>> scanner-build=no
>
>
I checked the work/hplip-3.14.1/hplip.conf file that was generated
during the 'make configure' phase and it shows that scanner-build is
set to yes when the SCAN option is selected.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-03 Thread David Marec

On 03.02.2014 01:18, Scot Hetzel wrote:

On Sat, Feb 1, 2014 at 4:14 AM, David Marec  wrote:

I don't know why this file was not updated during the hplip installation.


[...]
  if there were any changes to hplip.conf file, it doesn't get removed
when the port is uninstalled.  And if the file exists, it won't
overwrite your changes.

Did you customize this file before you re-installed?


No. But I guess this file wasn't removed when I requested the deletion 
of all the ports using 'pkg delete', once FreeBSD was upgraded.

But, at that time, the scanning switch was enabled in the file.



Does the hplip.conf.sample file have scanner-build=yes?



The only difference is the line I set up to fix the issue, after the 
(re)installation:

david:/<1>local/etc/hp>diff hplip.conf hplip.conf.sample
25c25
< scanner-build=yes
---
> scanner-build=no

--
David Marec
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-02 Thread Scot Hetzel
On Sat, Feb 1, 2014 at 4:14 AM, David Marec  wrote:
> On 01.02.2014 10:39, David Marec wrote:
>>
>> First, I had to rebuild the port to switch on the 'scanning feature',
>> which is not available by the binary package, but scanning still fails.
>
>
> Finally, while checking in the hplip configuration files, I found that the
> scanning feature was still disabled in the file
> /usr/local/etc/hp/hplip.conf
> So, I changed the entry line :
> scanner-build=yes
>
> and now, the scanner can be used.
>
> I don't know why this file was not updated during the hplip installation.
>

According to the pkg-plist:

@unexec if cmp -s %D/etc/hp/hplip.conf.sample %D/etc/hp/hplip.conf;
then rm -f %D/etc/hp/hplip.conf; fi
etc/hp/hplip.conf.sample
@exec if [ ! -f %B/hplip.conf ]; then cp -p %D/%F %B/hplip.conf; fi

 if there were any changes to hplip.conf file, it doesn't get removed
when the port is uninstalled.  And if the file exists, it won't
overwrite your changes.

Did you customize this file before you re-installed?

Does the hplip.conf.sample file have scanner-build=yes?

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-01 Thread David Marec

On 01.02.2014 10:39, David Marec wrote:
First, I had to rebuild the port to switch on the 'scanning feature', 
which is not available by the binary package, but scanning still fails.


Finally, while checking in the hplip configuration files, I found that 
the scanning feature was still disabled in the file

/usr/local/etc/hp/hplip.conf
So, I changed the entry line :
scanner-build=yes

and now, the scanner can be used.

I don't know why this file was not updated during the hplip installation.

--
David Marec
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"