Merge branch 'f23'
This commit is contained in:
commit
d78d378e3d
@ -1,35 +1,7 @@
|
|||||||
diff -up hplip-3.15.11/data/rules/56-hp_conf_usb.rules.udev-rules hplip-3.15.11/data/rules/56-hp_conf_usb.rules
|
|
||||||
--- hplip-3.15.11/data/rules/56-hp_conf_usb.rules.udev-rules 2015-11-18 13:41:08.003952433 +0100
|
|
||||||
+++ hplip-3.15.11/data/rules/56-hp_conf_usb.rules 2015-11-18 13:41:08.003952433 +0100
|
|
||||||
@@ -0,0 +1,4 @@
|
|
||||||
+# HPLIP udev rules file.
|
|
||||||
+
|
|
||||||
+# This rule will check the smart install feature, plugin status and firmware download for the required printers.
|
|
||||||
+ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service'"
|
|
||||||
diff -up hplip-3.15.11/data/rules/56-hpmud.rules.udev-rules hplip-3.15.11/data/rules/56-hpmud.rules
|
|
||||||
--- hplip-3.15.11/data/rules/56-hpmud.rules.udev-rules 2015-11-12 11:28:50.000000000 +0100
|
|
||||||
+++ hplip-3.15.11/data/rules/56-hpmud.rules 2015-11-18 13:41:08.003952433 +0100
|
|
||||||
@@ -12,7 +12,4 @@ ENV{ID_USB_INTERFACES}=="", IMPORT{built
|
|
||||||
# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
|
|
||||||
ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:08????:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
|
|
||||||
|
|
||||||
-# This rule will check the smart install feature, plugin status and firmware download for the required printers.
|
|
||||||
-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'"
|
|
||||||
-
|
|
||||||
LABEL="hpmud_rules_end"
|
|
||||||
diff -up hplip-3.15.11/data/rules/hplip-printer@.service.udev-rules hplip-3.15.11/data/rules/hplip-printer@.service
|
|
||||||
--- hplip-3.15.11/data/rules/hplip-printer@.service.udev-rules 2015-11-12 11:28:50.000000000 +0100
|
|
||||||
+++ hplip-3.15.11/data/rules/hplip-printer@.service 2015-11-18 13:41:08.003952433 +0100
|
|
||||||
@@ -2,4 +2,4 @@
|
|
||||||
Description=Configure HP Plugged-In Printer
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
-ExecStart=/usr/bin/python /usr/bin/hp-config_usb_printer "%i"
|
|
||||||
+ExecStart=/usr/bin/hp-config_usb_printer "%i"
|
|
||||||
diff -up hplip-3.15.11/Makefile.am.udev-rules hplip-3.15.11/Makefile.am
|
diff -up hplip-3.15.11/Makefile.am.udev-rules hplip-3.15.11/Makefile.am
|
||||||
--- hplip-3.15.11/Makefile.am.udev-rules 2015-11-12 11:29:04.000000000 +0100
|
--- hplip-3.15.11/Makefile.am.udev-rules 2015-11-12 11:29:04.000000000 +0100
|
||||||
+++ hplip-3.15.11/Makefile.am 2015-11-18 13:54:18.817431087 +0100
|
+++ hplip-3.15.11/Makefile.am 2015-12-10 12:43:11.518518146 +0100
|
||||||
@@ -118,11 +118,12 @@ rulessystemdir=/usr/lib/systemd/system
|
@@ -118,7 +118,7 @@ rulessystemdir=/usr/lib/systemd/system
|
||||||
dist_rulessystem_DATA =data/rules/hplip-printer@.service
|
dist_rulessystem_DATA =data/rules/hplip-printer@.service
|
||||||
|
|
||||||
# hpmud.rules
|
# hpmud.rules
|
||||||
@ -38,8 +10,3 @@ diff -up hplip-3.15.11/Makefile.am.udev-rules hplip-3.15.11/Makefile.am
|
|||||||
if UDEV_SYSFS_RULES
|
if UDEV_SYSFS_RULES
|
||||||
dist_rules_DATA = data/rules/56-hpmud_sysfs.rules
|
dist_rules_DATA = data/rules/56-hpmud_sysfs.rules
|
||||||
else
|
else
|
||||||
dist_rules_DATA = data/rules/56-hpmud.rules
|
|
||||||
+dist_rules_DATA += data/rules/56-hp_conf_usb.rules
|
|
||||||
endif
|
|
||||||
|
|
||||||
halpredir = /usr/share/hal/fdi/preprobe/10osvendor
|
|
||||||
|
18
hplip.spec
18
hplip.spec
@ -7,7 +7,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.15.11
|
Version: 3.15.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and MIT and BSD
|
License: GPLv2+ and MIT and BSD
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -43,6 +43,8 @@ Requires: cups
|
|||||||
Requires: wget
|
Requires: wget
|
||||||
Requires: python3-dbus
|
Requires: python3-dbus
|
||||||
Requires: gnupg
|
Requires: gnupg
|
||||||
|
# /usr/lib/udev/rules.d
|
||||||
|
Requires: systemd
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
@ -72,8 +74,6 @@ drivers for HP printers and multi-function peripherals.
|
|||||||
%package common
|
%package common
|
||||||
Summary: Files needed by the HPLIP printer and scanner drivers
|
Summary: Files needed by the HPLIP printer and scanner drivers
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
# /usr/lib/udev/rules.d
|
|
||||||
Requires: systemd
|
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
Files needed by the HPLIP printer and scanner drivers.
|
Files needed by the HPLIP printer and scanner drivers.
|
||||||
@ -137,8 +137,6 @@ mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs}
|
|||||||
prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs \
|
prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs \
|
||||||
> prnt/drv/hpijs.drv.in
|
> prnt/drv/hpijs.drv.in
|
||||||
|
|
||||||
# Move udev rule for calling hp-config_usb_printer into separate file.
|
|
||||||
# Don't specify python version in hplip-printer@.service.
|
|
||||||
# Move udev rules from /etc/ to /usr/lib/ (bug #748208).
|
# Move udev rules from /etc/ to /usr/lib/ (bug #748208).
|
||||||
%patch6 -p1 -b .udev-rules
|
%patch6 -p1 -b .udev-rules
|
||||||
|
|
||||||
@ -314,6 +312,7 @@ rm -f %{buildroot}%{_bindir}/hp-upgrade
|
|||||||
rm -f %{buildroot}%{_datadir}/hplip/hpijs.drv.in.template
|
rm -f %{buildroot}%{_datadir}/hplip/hpijs.drv.in.template
|
||||||
rm -f %{buildroot}%{_datadir}/cups/mime/pstotiff.types
|
rm -f %{buildroot}%{_datadir}/cups/mime/pstotiff.types
|
||||||
rm -f %{buildroot}%{_datadir}/hplip/fax/pstotiff*
|
rm -f %{buildroot}%{_datadir}/hplip/fax/pstotiff*
|
||||||
|
rm -f %{buildroot}%{_unitdir}/hplip-printer@.service
|
||||||
|
|
||||||
# The systray applet doesn't work properly (displays icon as a
|
# The systray applet doesn't work properly (displays icon as a
|
||||||
# window), so don't ship the launcher yet.
|
# window), so don't ship the launcher yet.
|
||||||
@ -411,12 +410,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%{_sharedstatedir}/hp
|
%{_sharedstatedir}/hp
|
||||||
%dir %attr(0775,root,lp) /run/hplip
|
%dir %attr(0775,root,lp) /run/hplip
|
||||||
%{_tmpfilesdir}/hplip.conf
|
%{_tmpfilesdir}/hplip.conf
|
||||||
%{_udevrulesdir}/56-hp_conf_usb.rules
|
%{_udevrulesdir}/56-hpmud.rules
|
||||||
%{_unitdir}/hplip-printer@.service
|
|
||||||
|
|
||||||
%files common
|
%files common
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%{_udevrulesdir}/56-hpmud.rules
|
|
||||||
%dir %{_sysconfdir}/hp
|
%dir %{_sysconfdir}/hp
|
||||||
%config(noreplace) %{_sysconfdir}/hp/hplip.conf
|
%config(noreplace) %{_sysconfdir}/hp/hplip.conf
|
||||||
%dir %{_datadir}/hplip
|
%dir %{_datadir}/hplip
|
||||||
@ -459,6 +456,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 10 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.11-3
|
||||||
|
- move 56-hpmud.rules into main package completely (bug #1033952)
|
||||||
|
|
||||||
* Wed Nov 18 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.11-2
|
* Wed Nov 18 2015 Jiri Popelka <jpopelka@redhat.com> - 3.15.11-2
|
||||||
- run autoreconf instead of patching libtool script to work-around rpath issues
|
- run autoreconf instead of patching libtool script to work-around rpath issues
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user