diff options
7 files changed, 434 insertions, 0 deletions
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0001-Select-the-current-user-to-authenticate-with-by-defa.patch b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0001-Select-the-current-user-to-authenticate-with-by-defa.patch new file mode 100644 index 0000000000..91f67bbc8a --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0001-Select-the-current-user-to-authenticate-with-by-defa.patch | |||
@@ -0,0 +1,78 @@ | |||
1 | From: Utopia Maintenance Team | ||
2 | <pkg-utopia-maintainers@lists.alioth.debian.org> | ||
3 | Date: Mon, 30 Apr 2018 17:56:52 +0000 | ||
4 | Subject: Select the current user to authenticate with by default | ||
5 | |||
6 | Bug: http://bugzilla.gnome.org/show_bug.cgi?id=596188 | ||
7 | Bug-Ubuntu: https://launchpad.net/bugs/435227 | ||
8 | --- | ||
9 | src/polkitgnomeauthenticationdialog.c | 23 ++++++++++++++--------- | ||
10 | 1 file changed, 14 insertions(+), 9 deletions(-) | ||
11 | |||
12 | diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c | ||
13 | index 743cc96..d307516 100644 | ||
14 | --- a/src/polkitgnomeauthenticationdialog.c | ||
15 | +++ b/src/polkitgnomeauthenticationdialog.c | ||
16 | @@ -138,7 +138,7 @@ user_combobox_changed (GtkComboBox *widget, | ||
17 | static void | ||
18 | create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
19 | { | ||
20 | - int n; | ||
21 | + int n, i, selected_index = 0; | ||
22 | GtkComboBox *combo; | ||
23 | GtkTreeIter iter; | ||
24 | GtkCellRenderer *renderer; | ||
25 | @@ -162,7 +162,7 @@ create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
26 | |||
27 | |||
28 | /* For each user */ | ||
29 | - for (n = 0; dialog->priv->users[n] != NULL; n++) | ||
30 | + for (i = 0, n = 0; dialog->priv->users[n] != NULL; n++) | ||
31 | { | ||
32 | gchar *gecos; | ||
33 | gchar *real_name; | ||
34 | @@ -224,6 +224,14 @@ create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
35 | USERNAME_COL, dialog->priv->users[n], | ||
36 | -1); | ||
37 | |||
38 | + i++; | ||
39 | + if (passwd->pw_uid == getuid ()) | ||
40 | + { | ||
41 | + selected_index = i; | ||
42 | + g_free (dialog->priv->selected_user); | ||
43 | + dialog->priv->selected_user = g_strdup (dialog->priv->users[n]); | ||
44 | + } | ||
45 | + | ||
46 | g_free (real_name); | ||
47 | g_object_unref (pixbuf); | ||
48 | } | ||
49 | @@ -252,8 +260,8 @@ create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
50 | user_combobox_set_sensitive, | ||
51 | NULL, NULL); | ||
52 | |||
53 | - /* Initially select the "Select user..." ... */ | ||
54 | - gtk_combo_box_set_active (GTK_COMBO_BOX (combo), 0); | ||
55 | + /* Select the default user */ | ||
56 | + gtk_combo_box_set_active (GTK_COMBO_BOX (combo), selected_index); | ||
57 | |||
58 | /* Listen when a new user is selected */ | ||
59 | g_signal_connect (GTK_WIDGET (combo), | ||
60 | @@ -719,16 +727,13 @@ polkit_gnome_authentication_dialog_constructed (GObject *object) | ||
61 | gtk_widget_set_tooltip_markup (label, s); | ||
62 | g_free (s); | ||
63 | |||
64 | - if (have_user_combobox) | ||
65 | + /* Disable password entry and authenticate until have a user selected */ | ||
66 | + if (have_user_combobox && gtk_combo_box_get_active (GTK_COMBO_BOX (dialog->priv->user_combobox)) == 0) | ||
67 | { | ||
68 | - /* ... and make the password entry and "Authenticate" button insensitive */ | ||
69 | gtk_widget_set_sensitive (dialog->priv->prompt_label, FALSE); | ||
70 | gtk_widget_set_sensitive (dialog->priv->password_entry, FALSE); | ||
71 | gtk_widget_set_sensitive (dialog->priv->auth_button, FALSE); | ||
72 | } | ||
73 | - else | ||
74 | - { | ||
75 | - } | ||
76 | |||
77 | gtk_widget_realize (GTK_WIDGET (dialog)); | ||
78 | |||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch new file mode 100644 index 0000000000..76b96f47de --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From: Lars Uebernickel <lars@uebernic.de> | ||
2 | Date: Fri, 17 Oct 2014 15:35:25 +0200 | ||
3 | Subject: Auth dialog: Make the label wrap at 70 chars | ||
4 | |||
5 | Because GtkWindow doesn't have a default width anymore. | ||
6 | |||
7 | Bug: https://bugzilla.gnome.org/show_bug.cgi?id=738688 | ||
8 | Bug-Ubuntu: https://launchpad.net/bugs/1382566 | ||
9 | --- | ||
10 | src/polkitgnomeauthenticationdialog.c | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c | ||
14 | index d307516..efd4185 100644 | ||
15 | --- a/src/polkitgnomeauthenticationdialog.c | ||
16 | +++ b/src/polkitgnomeauthenticationdialog.c | ||
17 | @@ -574,6 +574,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object) | ||
18 | g_free (s); | ||
19 | gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); | ||
20 | gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); | ||
21 | + gtk_label_set_max_width_chars (GTK_LABEL (label), 70); | ||
22 | gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0); | ||
23 | |||
24 | /* secondary message */ | ||
25 | @@ -601,6 +602,7 @@ polkit_gnome_authentication_dialog_constructed (GObject *object) | ||
26 | } | ||
27 | gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); | ||
28 | gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); | ||
29 | + gtk_label_set_max_width_chars (GTK_LABEL (label), 70); | ||
30 | gtk_box_pack_start (GTK_BOX (main_vbox), label, FALSE, FALSE, 0); | ||
31 | |||
32 | /* user combobox */ | ||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0003-Get-user-icon-from-accountsservice-instead-of-lookin.patch b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0003-Get-user-icon-from-accountsservice-instead-of-lookin.patch new file mode 100644 index 0000000000..4314939061 --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0003-Get-user-icon-from-accountsservice-instead-of-lookin.patch | |||
@@ -0,0 +1,135 @@ | |||
1 | From: Marc Deslauriers <marc.deslauriers@canonical.com> | ||
2 | Date: Mon, 30 Apr 2018 18:03:22 +0000 | ||
3 | Subject: Get user icon from accountsservice instead of looking in ~/.face | ||
4 | |||
5 | Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669857 | ||
6 | Bug-Ubuntu: https://launchpad.net/bugs/928249 | ||
7 | --- | ||
8 | src/polkitgnomeauthenticationdialog.c | 107 ++++++++++++++++++++++++++++++---- | ||
9 | 1 file changed, 97 insertions(+), 10 deletions(-) | ||
10 | |||
11 | diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c | ||
12 | index efd4185..565da87 100644 | ||
13 | --- a/src/polkitgnomeauthenticationdialog.c | ||
14 | +++ b/src/polkitgnomeauthenticationdialog.c | ||
15 | @@ -135,6 +135,102 @@ user_combobox_changed (GtkComboBox *widget, | ||
16 | } | ||
17 | } | ||
18 | |||
19 | +static GdkPixbuf * | ||
20 | +get_user_icon (char *username) | ||
21 | +{ | ||
22 | + GError *error; | ||
23 | + GDBusConnection *connection; | ||
24 | + GVariant *find_user_result; | ||
25 | + GVariant *get_icon_result; | ||
26 | + GVariant *icon_result_variant; | ||
27 | + const gchar *user_path; | ||
28 | + const gchar *icon_filename; | ||
29 | + GdkPixbuf *pixbuf; | ||
30 | + | ||
31 | + error = NULL; | ||
32 | + connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error); | ||
33 | + | ||
34 | + if (connection == NULL) | ||
35 | + { | ||
36 | + g_warning ("Unable to connect to system bus: %s", error->message); | ||
37 | + g_error_free (error); | ||
38 | + return NULL; | ||
39 | + } | ||
40 | + | ||
41 | + find_user_result = g_dbus_connection_call_sync (connection, | ||
42 | + "org.freedesktop.Accounts", | ||
43 | + "/org/freedesktop/Accounts", | ||
44 | + "org.freedesktop.Accounts", | ||
45 | + "FindUserByName", | ||
46 | + g_variant_new ("(s)", | ||
47 | + username), | ||
48 | + G_VARIANT_TYPE ("(o)"), | ||
49 | + G_DBUS_CALL_FLAGS_NONE, | ||
50 | + -1, | ||
51 | + NULL, | ||
52 | + &error); | ||
53 | + | ||
54 | + if (find_user_result == NULL) | ||
55 | + { | ||
56 | + g_warning ("Accounts couldn't find user: %s", error->message); | ||
57 | + g_error_free (error); | ||
58 | + return NULL; | ||
59 | + } | ||
60 | + | ||
61 | + user_path = g_variant_get_string (g_variant_get_child_value (find_user_result, 0), | ||
62 | + NULL); | ||
63 | + | ||
64 | + get_icon_result = g_dbus_connection_call_sync (connection, | ||
65 | + "org.freedesktop.Accounts", | ||
66 | + user_path, | ||
67 | + "org.freedesktop.DBus.Properties", | ||
68 | + "Get", | ||
69 | + g_variant_new ("(ss)", | ||
70 | + "org.freedesktop.Accounts.User", | ||
71 | + "IconFile"), | ||
72 | + G_VARIANT_TYPE ("(v)"), | ||
73 | + G_DBUS_CALL_FLAGS_NONE, | ||
74 | + -1, | ||
75 | + NULL, | ||
76 | + &error); | ||
77 | + | ||
78 | + g_variant_unref (find_user_result); | ||
79 | + | ||
80 | + if (get_icon_result == NULL) | ||
81 | + { | ||
82 | + g_warning ("Accounts couldn't find user icon: %s", error->message); | ||
83 | + g_error_free (error); | ||
84 | + return NULL; | ||
85 | + } | ||
86 | + | ||
87 | + g_variant_get_child (get_icon_result, 0, "v", &icon_result_variant); | ||
88 | + icon_filename = g_variant_get_string (icon_result_variant, NULL); | ||
89 | + | ||
90 | + if (icon_filename == NULL) | ||
91 | + { | ||
92 | + g_warning ("Accounts didn't return a valid filename for user icon"); | ||
93 | + pixbuf = NULL; | ||
94 | + } | ||
95 | + else | ||
96 | + { | ||
97 | + /* TODO: we probably shouldn't hard-code the size to 16x16 */ | ||
98 | + pixbuf = gdk_pixbuf_new_from_file_at_size (icon_filename, | ||
99 | + 16, | ||
100 | + 16, | ||
101 | + &error); | ||
102 | + if (pixbuf == NULL) | ||
103 | + { | ||
104 | + g_warning ("Couldn't open user icon: %s", error->message); | ||
105 | + g_error_free (error); | ||
106 | + } | ||
107 | + } | ||
108 | + | ||
109 | + g_variant_unref (icon_result_variant); | ||
110 | + g_variant_unref (get_icon_result); | ||
111 | + | ||
112 | + return pixbuf; | ||
113 | +} | ||
114 | + | ||
115 | static void | ||
116 | create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
117 | { | ||
118 | @@ -197,16 +293,7 @@ create_user_combobox (PolkitGnomeAuthenticationDialog *dialog) | ||
119 | g_free (gecos); | ||
120 | |||
121 | /* Load users face */ | ||
122 | - pixbuf = NULL; | ||
123 | - if (passwd->pw_dir != NULL) | ||
124 | - { | ||
125 | - gchar *path; | ||
126 | - path = g_strdup_printf ("%s/.face", passwd->pw_dir); | ||
127 | - /* TODO: we probably shouldn't hard-code the size to 16x16 */ | ||
128 | - pixbuf = gdk_pixbuf_new_from_file_at_scale (path, 16, 16, TRUE, NULL); | ||
129 | - g_free (path); | ||
130 | - } | ||
131 | - | ||
132 | + pixbuf = get_user_icon (dialog->priv->users[n]); | ||
133 | /* fall back to avatar-default icon */ | ||
134 | if (pixbuf == NULL) | ||
135 | { | ||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch new file mode 100644 index 0000000000..83ad38d833 --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From: Jeffrey Knockel <jeff250@gmail.com> | ||
2 | Date: Mon, 30 Apr 2018 18:05:20 +0000 | ||
3 | Subject: Use fresh X11 timestamps when displaying authentication dialog | ||
4 | |||
5 | This circumvents focus-stealing prevention. | ||
6 | |||
7 | Bug: https://bugzilla.gnome.org/show_bug.cgi?id=676076 | ||
8 | Bug-Debian: https://bugs.debian.org/684300 | ||
9 | Bug-Ubuntu: https://launchpad.net/bugs/946171 | ||
10 | --- | ||
11 | src/polkitgnomeauthenticator.c | 4 +++- | ||
12 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/polkitgnomeauthenticator.c b/src/polkitgnomeauthenticator.c | ||
15 | index 23163b4..e57d76e 100644 | ||
16 | --- a/src/polkitgnomeauthenticator.c | ||
17 | +++ b/src/polkitgnomeauthenticator.c | ||
18 | @@ -26,6 +26,7 @@ | ||
19 | #include <sys/types.h> | ||
20 | #include <pwd.h> | ||
21 | #include <glib/gi18n.h> | ||
22 | +#include <gdk/gdkx.h> | ||
23 | |||
24 | #include <polkit/polkit.h> | ||
25 | #include <polkitagent/polkitagent.h> | ||
26 | @@ -306,7 +307,17 @@ session_request (PolkitAgentSession *session, | ||
27 | } | ||
28 | |||
29 | gtk_widget_show_all (GTK_WIDGET (authenticator->dialog)); | ||
30 | - gtk_window_present (GTK_WINDOW (authenticator->dialog)); | ||
31 | + GdkWindow *window = gtk_widget_get_window (GTK_WIDGET (authenticator->dialog)); | ||
32 | + | ||
33 | + if (GDK_IS_X11_WINDOW (window)) | ||
34 | + { | ||
35 | + gtk_window_present_with_time (GTK_WINDOW (authenticator->dialog), gdk_x11_get_server_time (window)); | ||
36 | + } | ||
37 | + else | ||
38 | + { | ||
39 | + gtk_window_present (GTK_WINDOW (authenticator->dialog)); | ||
40 | + } | ||
41 | + | ||
42 | password = polkit_gnome_authentication_dialog_run_until_response_for_prompt (POLKIT_GNOME_AUTHENTICATION_DIALOG (authenticator->dialog), | ||
43 | modified_request, | ||
44 | echo_on, | ||
45 | |||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0005-configure.ac-disable-gnome-tools-that-are-not-provid.patch b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0005-configure.ac-disable-gnome-tools-that-are-not-provid.patch new file mode 100644 index 0000000000..153cca25e1 --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/0005-configure.ac-disable-gnome-tools-that-are-not-provid.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 334abb04ff953dabec63a91094de43e3cf064d7d Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Fri, 24 Feb 2023 17:29:24 +0100 | ||
4 | Subject: [PATCH] configure.ac: disable gnome-tools that are not provided | ||
5 | |||
6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
7 | --- | ||
8 | configure.ac | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/configure.ac b/configure.ac | ||
12 | index 24eb724..02fccbd 100644 | ||
13 | --- a/configure.ac | ||
14 | +++ b/configure.ac | ||
15 | @@ -33,8 +33,8 @@ LT_INIT | ||
16 | # GNOME | ||
17 | # ***** | ||
18 | |||
19 | -GNOME_DEBUG_CHECK | ||
20 | -GNOME_COMPILE_WARNINGS([maximum]) | ||
21 | +#GNOME_DEBUG_CHECK | ||
22 | +#GNOME_COMPILE_WARNINGS([maximum]) | ||
23 | |||
24 | #### gcc warning flags | ||
25 | |||
26 | -- | ||
27 | 2.34.1 | ||
28 | |||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/polkit-gnome-authentication-agent-1.desktop b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/polkit-gnome-authentication-agent-1.desktop new file mode 100644 index 0000000000..c45acfa543 --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome/polkit-gnome-authentication-agent-1.desktop | |||
@@ -0,0 +1,87 @@ | |||
1 | [Desktop Entry] | ||
2 | Name=PolicyKit Authentication Agent | ||
3 | Name[ar]=مدير الاستيثاق PolicyKit | ||
4 | Name[be]=PolicyKit - аґент аўтэнтыфікацыі | ||
5 | Name[bn_IN]=PolicyKit অনুমোদনের এজেন্ট | ||
6 | Name[ca]=Agent d'autenticació del PolicyKit | ||
7 | Name[cs]=Ověřovací agent PolicyKit | ||
8 | Name[da]=Godkendelsesprogrammet PolicyKit | ||
9 | Name[de]=Legitimationsdienst von PolicyKit | ||
10 | Name[el]=Πράκτορας πιστοποίησης PolicyKit | ||
11 | Name[en_GB]=PolicyKit Authentication Agent | ||
12 | Name[es]=Agente de autenticación de PolicyKit | ||
13 | Name[eu]=PolicyKit autentifikatzeko agentea | ||
14 | Name[fi]=PolicytKit-tunnistautumisohjelma | ||
15 | Name[fr]=Agent d'authentification de PolicyKit | ||
16 | Name[gl]=Axente de autenticación PolicyKit | ||
17 | Name[gu]=PolicyKit સત્તાધિકરણ એજન્ટ | ||
18 | Name[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि | ||
19 | Name[hu]=PolicyKit hitelesítési ügynök | ||
20 | Name[it]=Agente di autenticazione per PolicyKit | ||
21 | Name[ja]=PolicyKit 認証エージェント | ||
22 | Name[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ | ||
23 | Name[lt]=PolicyKit tapatybės nustatymo agentas | ||
24 | Name[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ് | ||
25 | Name[mr]=PolicyKit ऑथेंटीकेशन एजेंट | ||
26 | Name[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ | ||
27 | Name[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ | ||
28 | Name[pl]=Agent uwierzytelniania PolicyKit | ||
29 | Name[pt]=Agente de Autenticação PolicyKit | ||
30 | Name[pt_BR]=Agente de autenticação PolicyKit | ||
31 | Name[ro]=Agent de autentificare PolicyKit | ||
32 | Name[sk]=Agent PolicyKit na overovanie totožnosti | ||
33 | Name[sl]=PolicyKit program overjanja | ||
34 | Name[sv]=Autentiseringsagent för PolicyKit | ||
35 | Name[ta]=PolicyKit அங்கீகார முகவர் | ||
36 | Name[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి | ||
37 | Name[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit | ||
38 | Name[uk]=Агент автентифікації PolicyKit | ||
39 | Name[zh_CN]=PolicyKit 认证代理 | ||
40 | Name[zh_HK]=PolicyKit 驗證代理程式 | ||
41 | Name[zh_TW]=PolicyKit 驗證代理程式 | ||
42 | Comment=PolicyKit Authentication Agent | ||
43 | Comment[ar]=مدير الاستيثاق PolicyKit | ||
44 | Comment[be]=PolicyKit - аґент аўтэнтыфікацыі | ||
45 | Comment[bn_IN]=PolicyKit অনুমোদনের এজেন্ট | ||
46 | Comment[ca]=Agent d'autenticació del PolicyKit | ||
47 | Comment[cs]=Ověřovací agent PolicyKit | ||
48 | Comment[da]=Godkendelsesprogrammet PolicyKit | ||
49 | Comment[de]=Legitimationsdienst von PolicyKit | ||
50 | Comment[el]=Πράκτορας πιστοποίησης PolicyKit | ||
51 | Comment[en_GB]=PolicyKit Authentication Agent | ||
52 | Comment[es]=Agente de autenticación de PolicyKit | ||
53 | Comment[eu]=PolicyKit autentifikatzeko agentea | ||
54 | Comment[fi]=PolicytKit-tunnistautumisohjelma | ||
55 | Comment[fr]=Agent d'authentification de PolicyKit | ||
56 | Comment[gl]=Axente de autenticación PolicyKit | ||
57 | Comment[gu]=PolicyKit સત્તાધિકરણ એજન્ટ | ||
58 | Comment[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि | ||
59 | Comment[hu]=PolicyKit hitelesítési ügynök | ||
60 | Comment[it]=Agente di autenticazione per PolicyKit | ||
61 | Comment[ja]=PolicyKit 認証エージェント | ||
62 | Comment[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ | ||
63 | Comment[lt]=PolicyKit tapatybės nustatymo agentas | ||
64 | Comment[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ് | ||
65 | Comment[mr]=PolicyKit ऑथेंटीकेशन एजेंट | ||
66 | Comment[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ | ||
67 | Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ | ||
68 | Comment[pl]=Agent uwierzytelniania PolicyKit | ||
69 | Comment[pt]=Agente de Autenticação PolicyKit | ||
70 | Comment[pt_BR]=Agente de autenticação PolicyKit | ||
71 | Comment[ro]=Agent de autentificare PolicyKit | ||
72 | Comment[sk]=Agent PolicyKit na overovanie totožnosti | ||
73 | Comment[sl]=PolicyKit program overjanja | ||
74 | Comment[sv]=Autentiseringsagent för PolicyKit | ||
75 | Comment[ta]=PolicyKit அங்கீகார முகவர் | ||
76 | Comment[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి | ||
77 | Comment[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit | ||
78 | Comment[uk]=Агент автентифікації PolicyKit | ||
79 | Comment[zh_CN]=PolicyKit 认证代理 | ||
80 | Comment[zh_HK]=PolicyKit 驗證代理程式 | ||
81 | Comment[zh_TW]=PolicyKit 驗證代理程式 | ||
82 | Exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 | ||
83 | Terminal=false | ||
84 | Type=Application | ||
85 | Categories= | ||
86 | NoDisplay=true | ||
87 | OnlyShowIn=GNOME; | ||
diff --git a/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome_0.105.bb b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome_0.105.bb new file mode 100644 index 0000000000..e0e4a59d24 --- /dev/null +++ b/meta-gnome/recipes-extended/polkit-gnome/polkit-gnome_0.105.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "PolicyKit-gnome provides an Authentication Agent for PolicyKit" | ||
2 | HOMEPAGE = "https://gitlab.gnome.org/Archive/policykit-gnome" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec" | ||
5 | |||
6 | DEPENDS = "glib-2.0-native glib-2.0 gtk+3 polkit intltool-native" | ||
7 | |||
8 | inherit autotools pkgconfig features_check | ||
9 | |||
10 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
11 | |||
12 | SRC_URI = " \ | ||
13 | git://gitlab.gnome.org/Archive/policykit-gnome.git;protocol=https;branch=master \ | ||
14 | file://0001-Select-the-current-user-to-authenticate-with-by-defa.patch \ | ||
15 | file://0002-Auth-dialog-Make-the-label-wrap-at-70-chars.patch \ | ||
16 | file://0003-Get-user-icon-from-accountsservice-instead-of-lookin.patch \ | ||
17 | file://0004-Use-fresh-X11-timestamps-when-displaying-authenticat.patch \ | ||
18 | file://0005-configure.ac-disable-gnome-tools-that-are-not-provid.patch \ | ||
19 | file://polkit-gnome-authentication-agent-1.desktop \ | ||
20 | " | ||
21 | SRCREV = "a0763a246a81188f60b0f9810143e49224dc752f" | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | |||
25 | do_install:append() { | ||
26 | install -d ${D}${datadir}/applications | ||
27 | install -m644 ${WORKDIR}/polkit-gnome-authentication-agent-1.desktop \ | ||
28 | ${D}${datadir}/applications | ||
29 | } | ||