Update to simple-scan-3.34.6.
This commit is contained in:
parent
3ff3f2aede
commit
35a953b15c
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.60 2020/02/16 07:59:31 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.61 2020/04/29 05:13:46 ajacoutot Exp $
|
||||
|
||||
COMMENT= simple scanning utility
|
||||
|
||||
GNOME_PROJECT= simple-scan
|
||||
GNOME_VERSION= 3.34.4
|
||||
GNOME_VERSION= 3.34.6
|
||||
|
||||
CATEGORIES= graphics
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (simple-scan-3.34.4.tar.xz) = fzQb7r1J6gp0d9xcKEWaqWusBLNI1W5p09JQ/8Uxfnc=
|
||||
SIZE (simple-scan-3.34.4.tar.xz) = 795228
|
||||
SHA256 (simple-scan-3.34.6.tar.xz) = AZstTWWJnvtBK3pGrKfqAbRsVmPb+hwMliOuxRQd6Vs=
|
||||
SIZE (simple-scan-3.34.6.tar.xz) = 801064
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_simple-scan_vala,v 1.9 2019/10/19 09:20:13 ajacoutot Exp $
|
||||
$OpenBSD: patch-src_simple-scan_vala,v 1.10 2020/04/29 05:13:46 ajacoutot Exp $
|
||||
|
||||
No gusb on OpenBSD.
|
||||
|
||||
@ -39,7 +39,7 @@ Index: src/simple-scan.vala
|
||||
scanner.free ();
|
||||
}
|
||||
|
||||
@@ -184,34 +171,8 @@ public class SimpleScan : Gtk.Application
|
||||
@@ -1265,33 +1252,7 @@ public class SimpleScan : Gtk.Application
|
||||
|
||||
public string? suggest_driver ()
|
||||
{
|
||||
@ -53,7 +53,7 @@ Index: src/simple-scan.vala
|
||||
- add_devices (driver_map, brscan4_devices, "brscan4");
|
||||
- add_devices (driver_map, samsung_devices, "samsung");
|
||||
- add_devices (driver_map, hpaio_devices, "hpaio");
|
||||
- add_devices (driver_map, epkowa_devices, "epkowa");
|
||||
- add_devices (driver_map, epkowa_devices, "epkowa");
|
||||
- var devices = usb_context.get_devices ();
|
||||
- for (var i = 0; i < devices.length; i++)
|
||||
- {
|
||||
@ -64,13 +64,12 @@ Index: src/simple-scan.vala
|
||||
- }
|
||||
-
|
||||
return null;
|
||||
}
|
||||
- }
|
||||
-
|
||||
- private void add_devices (HashTable<uint32, string> map, uint32[] devices, string driver)
|
||||
- {
|
||||
- for (var i = 0; i < devices.length; i++)
|
||||
- map.insert (devices[i], driver);
|
||||
- }
|
||||
}
|
||||
|
||||
private void authorize_cb (Scanner scanner, string resource)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user