3.16.5 (gui moves from Qt4 to Qt5)

This commit is contained in:
Jiri Popelka 2016-05-19 14:03:03 +02:00
parent 0efe9fef20
commit 78217e937c
4 changed files with 22 additions and 17 deletions

1
.gitignore vendored
View File

@ -74,3 +74,4 @@ hplip-3.10.6.tar.gz
/hplip-3.15.11.tar.gz
/hplip-3.16.2.tar.gz
/hplip-3.16.3.tar.gz
/hplip-3.16.5.tar.gz

View File

@ -1,7 +1,7 @@
diff -up hplip-3.12.11/base/utils.py.ui-optional hplip-3.12.11/base/utils.py
--- hplip-3.12.11/base/utils.py.ui-optional 2012-11-20 10:55:15.000000000 +0100
+++ hplip-3.12.11/base/utils.py 2012-11-27 10:03:21.909512264 +0100
@@ -667,6 +667,13 @@ def checkPyQtImport(): # qt3
diff -up hplip-3.16.5/base/utils.py.ui-optional hplip-3.16.5/base/utils.py
--- hplip-3.16.5/base/utils.py.ui-optional 2016-05-04 07:23:22.000000000 +0200
+++ hplip-3.16.5/base/utils.py 2016-05-19 13:52:28.773907101 +0200
@@ -733,6 +733,13 @@ def checkPyQtImport(): # qt3
if os.getenv('DISPLAY') and os.getenv('STARTED_FROM_MENU'):
no_qt_message_gtk()
@ -15,13 +15,13 @@ diff -up hplip-3.12.11/base/utils.py.ui-optional hplip-3.12.11/base/utils.py
log.error("PyQt not installed. GUI not available. Exiting.")
return False
@@ -712,7 +719,8 @@ def checkPyQtImport4():
import PyQt4
import ui4
except ImportError:
- log.error("HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP")
+ # hplip-gui sub-package (Fedora) requires PyQt4
@@ -783,7 +790,8 @@ def checkPyQtImport4():
import PyQt5
import ui5
else:
- log.debug("HPLIP is not installed properly or is installed without graphical support. Please reinstall HPLIP again")
+ # hplip-gui sub-package (Fedora) requires python3-qt5
+ log.error("Install the hplip-gui package for graphical support.")
return False
else:
return True
return True

View File

@ -6,7 +6,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.16.3
Version: 3.16.5
Release: 1%{?dist}
License: GPLv2+ and MIT and BSD
@ -91,7 +91,7 @@ Libraries needed by HPLIP.
%package gui
Summary: HPLIP graphical tools
License: BSD
Requires: python3-PyQt4
Requires: python3-qt5
Requires: python3-reportlab
# hpssd.py
Requires: python3-gobject
@ -229,7 +229,8 @@ autoreconf --verbose --force --install
%configure \
--enable-scan-build --enable-gui-build --enable-fax-build \
--disable-foomatic-rip-hplip-install --enable-pp-build \
--enable-qt4 --enable-hpcups-install --enable-cups-drv-install \
--disable-qt4 --enable-qt5 \
--enable-hpcups-install --enable-cups-drv-install \
--enable-foomatic-drv-install \
--enable-hpijs-install \
--disable-policykit --with-mimedir=%{_datadir}/cups/mime PYTHON=%{__python3}
@ -443,7 +444,7 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%{_datadir}/hplip/toolbox.py*
# Directories
%{_datadir}/hplip/data/images
%{_datadir}/hplip/ui4
%{_datadir}/hplip/ui5
%files -n libsane-hpaio
%{_libdir}/sane/libsane-*.so*
@ -457,6 +458,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%postun libs -p /sbin/ldconfig
%changelog
* Thu May 19 2016 Jiri Popelka <jpopelka@redhat.com> - 3.16.5-1
- 3.16.5 (gui moves from Qt4 to Qt5)
* Fri Mar 18 2016 zdohnal <zdohnal@redhat.com> - 3.16.3-1
- 3.16.3

View File

@ -1 +1 @@
43379bb4790fa7252254094c294f8930 hplip-3.16.3.tar.gz
3f50c45c52b2adaee8d9ff32db8c4e6e hplip-3.16.5.tar.gz