aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/desktop-file.diff13
-rw-r--r--debian/patches/man-section.diff10
-rw-r--r--debian/patches/series3
-rw-r--r--debian/patches/set-default-icon.patch25
4 files changed, 51 insertions, 0 deletions
diff --git a/debian/patches/desktop-file.diff b/debian/patches/desktop-file.diff
new file mode 100644
index 0000000..360960b
--- /dev/null
+++ b/debian/patches/desktop-file.diff
@@ -0,0 +1,13 @@
+diff --git a/src/krb5-auth-dialog.desktop.in b/src/krb5-auth-dialog.desktop.in
+index 223aaf9..911f12e 100644
+--- a/src/krb5-auth-dialog.desktop.in
++++ b/src/krb5-auth-dialog.desktop.in
+@@ -1,7 +1,6 @@
+ [Desktop Entry]
+ _Name=Network Authentication
+-_Comments=Kerberos Network Authentication Dialog
+-Exec=krb5-auth-dialog
++_Comment=Kerberos Network Authentication Dialog
+ Encoding=UTF-8
+ Exec=krb5-auth-dialog
+ Terminal=false
diff --git a/debian/patches/man-section.diff b/debian/patches/man-section.diff
new file mode 100644
index 0000000..635f6fc
--- /dev/null
+++ b/debian/patches/man-section.diff
@@ -0,0 +1,10 @@
+diff --git a/src/krb5-auth-dialog.1.in b/src/krb5-auth-dialog.1.in
+index 7f83138..b0e7b38 100644
+--- a/src/krb5-auth-dialog.1.in
++++ b/src/krb5-auth-dialog.1.in
+@@ -1,4 +1,4 @@
+-.TH krb5-auth-dialog 2005/11/02 "GNOME" "System Administrator's Manual"
++.TH krb5-auth-dialog 1 2005/11/02 "GNOME" "System Administrator's Manual"
+
+ .SH NAME
+ krb5-auth-dialog \- Kerberos 5 credential checking
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9ee5b50
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+desktop-file.diff
+man-section.diff
+set-default-icon.patch
diff --git a/debian/patches/set-default-icon.patch b/debian/patches/set-default-icon.patch
new file mode 100644
index 0000000..e2b1c91
--- /dev/null
+++ b/debian/patches/set-default-icon.patch
@@ -0,0 +1,25 @@
+From 99b47991b67281627cda341f5e4be2604d3a8a43 Mon Sep 17 00:00:00 2001
+From: Guido Guenther <agx@sigxcpu.org>
+Date: Mon, 21 Apr 2008 15:36:22 +0200
+Subject: [PATCH] set a default icon
+
+so it shows up in the wm list
+---
+ src/krb5-auth-dialog.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
+index 81f4f38..0bb2e6d 100644
+--- a/src/krb5-auth-dialog.c
++++ b/src/krb5-auth-dialog.c
+@@ -581,6 +581,7 @@ main (int argc, char *argv[])
+
+ xml = glade_xml_new (GLADEDIR "krb5-auth-dialog.glade", NULL, NULL);
+ dialog = glade_xml_get_widget (xml, "krb5_dialog");
++ gtk_window_set_default_icon_name ("gtk-dialog-authentication");
+
+ if (credentials_expiring (NULL))
+ g_timeout_add (CREDENTIAL_CHECK_INTERVAL * 1000, (GSourceFunc)credentials_expiring, NULL);
+--
+1.5.5
+
bgstack15