diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fa0b132 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +policykit-gnome (0.5-1) experimental; urgency=low + + * Initial release. (Closes: #442254) + + -- Michael Biebl Fri, 14 Sep 2007 14:24:03 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..bd26231 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: policykit-gnome +Section: gnome +Priority: optional +Maintainer: Utopia Maintenance Team +Uploaders: Michael Biebl +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 +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-utopia/packages/experimental/policykit-gnome +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-utopia/packages/experimental/policykit-gnome + +Package: policykit-gnome +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, policykit, dbus-x11 +Description: GNOME dialogs for PolicyKit + PolicyKit-gnome provides a D-Bus session bus service that is used to + bring up authentication dialogs used for obtaining privileges. + . + Homepage: http://cgit.freedesktop.org/~david/PolicyKit-gnome/ diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..181260c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Michael Biebl on +Fri, 27 Jul 2007 06:37:19 +0200. + +It was downloaded from http://hal.freedesktop.org/releases/ + +Upstream Author: + + David Zeuthen, + +Copyright: + + Copyright (C) 2007 David Zeuthen, + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Michael Biebl and +is licensed under the GPL, see above. + diff --git a/debian/patches/01_no_tooltip.patch b/debian/patches/01_no_tooltip.patch new file mode 100644 index 0000000..09af439 --- /dev/null +++ b/debian/patches/01_no_tooltip.patch @@ -0,0 +1,30 @@ +diff --git a/examples/polkit-gnome-example.c b/examples/polkit-gnome-example.c +index e4d7e47..60551ab 100644 +--- a/examples/polkit-gnome-example.c ++++ b/examples/polkit-gnome-example.c +@@ -210,7 +210,7 @@ update_one_button (GtkWidget *button, const char *pk_action_id) + case POLKIT_RESULT_NO: + gtk_button_set_image (GTK_BUTTON (button), + gtk_image_new_from_stock (GTK_STOCK_STOP, GTK_ICON_SIZE_SMALL_TOOLBAR)); +- gtk_widget_set_tooltip_markup (button, _("This action is not permitted")); ++ //gtk_widget_set_tooltip_markup (button, _("This action is not permitted")); + break; + + case POLKIT_RESULT_ONLY_VIA_ADMIN_AUTH: +@@ -224,14 +224,14 @@ update_one_button (GtkWidget *button, const char *pk_action_id) + + s = g_strdup_printf (_("This action requires authentication (%s)"), + polkit_result_to_string_representation (pk_result)); +- gtk_widget_set_tooltip_markup (button, s); ++ //gtk_widget_set_tooltip_markup (button, s); + g_free (s); + break; + + case POLKIT_RESULT_YES: + gtk_button_set_image (GTK_BUTTON (button), + gtk_image_new_from_stock (GTK_STOCK_OK, GTK_ICON_SIZE_SMALL_TOOLBAR)); +- gtk_widget_set_tooltip_markup (button, _("This action is permitted")); ++ //gtk_widget_set_tooltip_markup (button, _("This action is permitted")); + break; + } + diff --git a/debian/policykit-gnome.install b/debian/policykit-gnome.install new file mode 100644 index 0000000..ed41131 --- /dev/null +++ b/debian/policykit-gnome.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/policykit-gnome/polkit-gnome-manager +debian/tmp/usr/share/dbus-1/services/org.gnome.PolicyKit.service +debian/tmp/usr/share/locale/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d315c1f --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_DESTDIR := $(CURDIR)/debian/tmp + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed" + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..626bca1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://hal.freedesktop.org/releases/PolicyKit-gnome-(.*)\.tar\.gz