Imported Debian patch 0.5-1
Michael Biebl
14 years ago
0 | policykit-gnome (0.5-1) experimental; urgency=low | |
1 | ||
2 | * Initial release. (Closes: #442254) | |
3 | ||
4 | -- Michael Biebl <biebl@debian.org> Fri, 14 Sep 2007 14:24:03 +0200 | |
5 |
0 | 5 |
0 | Source: policykit-gnome | |
1 | Section: gnome | |
2 | Priority: optional | |
3 | Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Michael Biebl <biebl@debian.org> | |
5 | Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libgtk2.0-dev (>= 2.6.0), libgnome2-dev (>= 2.14.0), libgnomeui-dev (>= 2.14.0), libdbus-glib-1-dev (>= 0.71), libpolkit-dbus-dev (>= 0.5), libpolkit-grant-dev (>= 0.5), gnome-doc-utils, libxml-parser-perl, policykit | |
6 | Standards-Version: 3.7.2 | |
7 | XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-utopia/packages/experimental/policykit-gnome | |
8 | XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/policykit-gnome | |
9 | ||
10 | Package: policykit-gnome | |
11 | Architecture: any | |
12 | Depends: ${shlibs:Depends}, ${misc:Depends}, policykit, dbus-x11 | |
13 | Description: GNOME dialogs for PolicyKit | |
14 | PolicyKit-gnome provides a D-Bus session bus service that is used to | |
15 | bring up authentication dialogs used for obtaining privileges. | |
16 | . | |
17 | Homepage: http://cgit.freedesktop.org/~david/PolicyKit-gnome/ |
0 | This package was debianized by Michael Biebl <biebl@debian.org> on | |
1 | Fri, 27 Jul 2007 06:37:19 +0200. | |
2 | ||
3 | It was downloaded from http://hal.freedesktop.org/releases/ | |
4 | ||
5 | Upstream Author: | |
6 | ||
7 | David Zeuthen, <david@fubar.dk> | |
8 | ||
9 | Copyright: | |
10 | ||
11 | Copyright (C) 2007 David Zeuthen, <david@fubar.dk> | |
12 | ||
13 | License: | |
14 | ||
15 | This package is free software; you can redistribute it and/or modify | |
16 | it under the terms of the GNU General Public License as published by | |
17 | the Free Software Foundation; either version 2 of the License, or | |
18 | (at your option) any later version. | |
19 | ||
20 | This package is distributed in the hope that it will be useful, | |
21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | GNU General Public License for more details. | |
24 | ||
25 | You should have received a copy of the GNU General Public License | |
26 | along with this package; if not, write to the Free Software | |
27 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
28 | ||
29 | On Debian systems, the complete text of the GNU General | |
30 | Public License can be found in `/usr/share/common-licenses/GPL'. | |
31 | ||
32 | The Debian packaging is (C) 2007, Michael Biebl <biebl@debian.org> and | |
33 | is licensed under the GPL, see above. | |
34 |
0 | diff --git a/examples/polkit-gnome-example.c b/examples/polkit-gnome-example.c | |
1 | index e4d7e47..60551ab 100644 | |
2 | --- a/examples/polkit-gnome-example.c | |
3 | +++ b/examples/polkit-gnome-example.c | |
4 | @@ -210,7 +210,7 @@ update_one_button (GtkWidget *button, const char *pk_action_id) | |
5 | case POLKIT_RESULT_NO: | |
6 | gtk_button_set_image (GTK_BUTTON (button), | |
7 | gtk_image_new_from_stock (GTK_STOCK_STOP, GTK_ICON_SIZE_SMALL_TOOLBAR)); | |
8 | - gtk_widget_set_tooltip_markup (button, _("This action is not permitted")); | |
9 | + //gtk_widget_set_tooltip_markup (button, _("This action is not permitted")); | |
10 | break; | |
11 | ||
12 | case POLKIT_RESULT_ONLY_VIA_ADMIN_AUTH: | |
13 | @@ -224,14 +224,14 @@ update_one_button (GtkWidget *button, const char *pk_action_id) | |
14 | ||
15 | s = g_strdup_printf (_("This action requires authentication (%s)"), | |
16 | polkit_result_to_string_representation (pk_result)); | |
17 | - gtk_widget_set_tooltip_markup (button, s); | |
18 | + //gtk_widget_set_tooltip_markup (button, s); | |
19 | g_free (s); | |
20 | break; | |
21 | ||
22 | case POLKIT_RESULT_YES: | |
23 | gtk_button_set_image (GTK_BUTTON (button), | |
24 | gtk_image_new_from_stock (GTK_STOCK_OK, GTK_ICON_SIZE_SMALL_TOOLBAR)); | |
25 | - gtk_widget_set_tooltip_markup (button, _("This action is permitted")); | |
26 | + //gtk_widget_set_tooltip_markup (button, _("This action is permitted")); | |
27 | break; | |
28 | } | |
29 |
0 | debian/tmp/usr/lib/policykit-gnome/polkit-gnome-manager | |
1 | debian/tmp/usr/share/dbus-1/services/org.gnome.PolicyKit.service | |
2 | debian/tmp/usr/share/locale/ |
0 | #!/usr/bin/make -f | |
1 | ||
2 | ||
3 | include /usr/share/cdbs/1/rules/debhelper.mk | |
4 | include /usr/share/cdbs/1/class/gnome.mk | |
5 | include /usr/share/cdbs/1/rules/utils.mk | |
6 | include /usr/share/cdbs/1/rules/simple-patchsys.mk | |
7 | ||
8 | DEB_DESTDIR := $(CURDIR)/debian/tmp | |
9 | ||
10 | DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed" | |
11 |