From 1fafcbf8a507f0d81b9c4671fc399e92ccacc305 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 18 Nov 2025 16:38:23 +0100 Subject: print/hplip(-plugin): Update to 3.25.8 --- print/hplip/files/patch-ui5_setupdialog.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 print/hplip/files/patch-ui5_setupdialog.py (limited to 'print/hplip/files/patch-ui5_setupdialog.py') diff --git a/print/hplip/files/patch-ui5_setupdialog.py b/print/hplip/files/patch-ui5_setupdialog.py new file mode 100644 index 000000000000..0316e92145ff --- /dev/null +++ b/print/hplip/files/patch-ui5_setupdialog.py @@ -0,0 +1,20 @@ +--- ui5/setupdialog.py.orig 2025-11-18 10:32:03 UTC ++++ ui5/setupdialog.py +@@ -790,7 +790,7 @@ class SetupDialog(QDialog, Ui_Dialog): + sys_ppd_path = config.get("dirs", "ppd") + except Exception as e: + log.error("Error reading config file: %s" % e) +- sys_ppd_path = "/usr/share/ppd/HP" ++ sys_ppd_path = "/usr/local/share/ppd/HP" + + try: + ppdName = cups.getPpdName(self.model).strip() +@@ -1039,7 +1039,7 @@ class SetupDialog(QDialog, Ui_Dialog): + this is for driverless usb printer held by ippusbxd service on ubuntu 20 and above. + For network devices follow the old code. + ''' +- if(self.bus == "usb" and not os.path.isdir('/usr/share/ipp-usb/quirks')): ++ if(self.bus == "usb" and not os.path.isdir('/usr/local/share/ipp-usb/quirks')): + from base import local + from base.local import detectLocalDevices + try: -- cgit v1.2.3