system-config-printer
This commit is contained in:
parent
9c34b10dad
commit
7ca7fab098
|
@ -0,0 +1,31 @@
|
|||
From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <2766d74a98e44693f5e966d541a6303b966c088b.1518105780.git.jan.steffens@gmail.com>
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Thu, 8 Feb 2018 17:01:01 +0100
|
||||
Subject: [PATCH] Fix constructing the auth dialog
|
||||
|
||||
47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
|
||||
|
||||
Fixes https://bugs.archlinux.org/task/57364.
|
||||
---
|
||||
authconn.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/authconn.py b/authconn.py
|
||||
index 2a645dcc..0f3021cb 100644
|
||||
--- a/authconn.py
|
||||
+++ b/authconn.py
|
||||
@@ -78,11 +78,9 @@ class AuthDialog(Gtk.Dialog):
|
||||
field = auth_info_required[i]
|
||||
label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
|
||||
label.set_alignment (0, 0.5)
|
||||
- grid.attach (label, 0, 1, i, i + 1)
|
||||
grid.attach (label, 0, i, 1, 1)
|
||||
entry = Gtk.Entry ()
|
||||
entry.set_visibility (field != 'password')
|
||||
- grid.attach (entry, 1, 2, i, i + 1, 0, 0)
|
||||
grid.attach (entry, 1, i, 1, 1)
|
||||
self.field_entry.append (entry)
|
||||
|
||||
--
|
||||
2.16.1
|
|
@ -0,0 +1,23 @@
|
|||
# Tanım: Bir CUPS yazıcı yapılandırma aracı ve durum uygulaması
|
||||
# URL: https://github.com/zdohnal/system-config-printer
|
||||
# Packager: Cihan_Alkan
|
||||
# Gerekler: intltool xmlto docbook-xsl desktop-file-utils libsecret pycups pydbus pycurl libnotify pyrequests python3-gobject gtk3 python3-cairo
|
||||
# Grup: sistem
|
||||
|
||||
isim=system-config-printer
|
||||
surum=1.5.11
|
||||
devir=1
|
||||
kaynak=(https://github.com/zdohnal/system-config-printer/releases/download/$surum/system-config-printer-${surum}.tar.xz
|
||||
0001-Fix-constructing-the-auth-dialog.patch)
|
||||
|
||||
derle() {
|
||||
cd ${isim}-${surum}
|
||||
patch -Np1 -i ../0001-Fix-constructing-the-auth-dialog.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--with-udevdir=/usr/lib/udev --with-udev-rules
|
||||
make
|
||||
make DESTDIR="${PKG}" install
|
||||
}
|
Loading…
Reference in New Issue