import system-config-printer-1.5.18-10.el10

c10-beta imports/c10-beta/system-config-printer-1.5.18-10.el10
MSVSphere Packaging Team 2 months ago
commit bd848d2481
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/system-config-printer-1.5.18.tar.xz

@ -0,0 +1 @@
ac248b688ab103da7f034bd0d913e4e299206f4b SOURCES/system-config-printer-1.5.18.tar.xz

@ -0,0 +1,26 @@
From 399b3334d6519639cfe7f1c0457e2475b8ee5230 Mon Sep 17 00:00:00 2001
From: Zdenek Dohnal <zdohnal@redhat.com>
Date: Thu, 13 Oct 2022 14:03:37 +0200
Subject: [PATCH] Fix debugprint() in options.py (fixes #291)
---
NEWS | 4 ++++
options.py | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/options.py b/options.py
index d756f98d..d7c236de 100644
--- a/options.py
+++ b/options.py
@@ -423,7 +423,7 @@ class OptionSelectOne(Option):
debugprint("Unknown value for %s: %s" % (name, value))
debugprint("Choices: %s" % (supported))
if len(supported) > 0:
- debugprint("Selecting from choices:", supported[0])
+ debugprint("Selecting from choices: %s" % supported[0])
self.selector.set_active(0)
self.selector.connect("changed", self.changed)
--
2.39.2

@ -0,0 +1,35 @@
From 77540d0cb539364bbf63e21cfa970e62d9a86ed3 Mon Sep 17 00:00:00 2001
From: Zdenek Dohnal <zdohnal@redhat.com>
Date: Tue, 12 Mar 2024 18:59:43 +0100
Subject: [PATCH] udev: Fix exit value when device is already handled
---
NEWS | 1 +
udev/udev-configure-printer.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/udev/udev-configure-printer.c b/udev/udev-configure-printer.c
index fd158b09..5703c1af 100644
--- a/udev/udev-configure-printer.c
+++ b/udev/udev-configure-printer.c
@@ -806,7 +806,7 @@ device_id_from_devpath (struct udev *udev, const char *devpath,
{
udev_device_unref (dev);
syslog (LOG_ERR, "unable to access %s", syspath);
- return NULL;
+ exit (1);
}
usb_device_devpath = strdup (udev_device_get_devpath (dev));
@@ -831,7 +831,7 @@ device_id_from_devpath (struct udev *udev, const char *devpath,
syslog (LOG_DEBUG, "Device already handled");
free (usb_device_devpath);
free (devicefilepath);
- return NULL;
+ exit (0);
}
serial = udev_device_get_sysattr_value (dev, "serial");
--
2.44.0

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save