diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /print/hplip/files/patch-ui5_setupdialog.py | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'print/hplip/files/patch-ui5_setupdialog.py')
| -rw-r--r-- | print/hplip/files/patch-ui5_setupdialog.py | 20 |
1 files changed, 20 insertions, 0 deletions
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: |
