... as required by GNU coding standards.
https://bugs.freedesktop.org/show_bug.cgi?id=29936
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59c)
-AC_INIT([polkit], [0.111], [http://lists.freedesktop.org/mailman/listinfo/polkit-devel])
+AC_INIT([polkit], [0.111], [http://lists.freedesktop.org/mailman/listinfo/polkit-devel], , [http://www.freedesktop.org/wiki/Software/polkit])
AM_INIT_AUTOMAKE([])
AC_CONFIG_HEADERS(config.h)
AM_MAINTAINER_MODE
{
guint ret;
gchar *opt_action_id;
+ gchar *s;
gboolean opt_show_version;
gboolean opt_verbose;
GOptionEntry options[] =
error = NULL;
context = g_option_context_new (N_("[--action-id ACTION]"));
+ s = g_strdup_printf (_("Report bugs to: %s\n"
+ "%s home page: <%s>"), PACKAGE_BUGREPORT,
+ PACKAGE_NAME, PACKAGE_URL);
+ g_option_context_set_description (context, s);
+ g_free (s);
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
if (!g_option_context_parse (context, &argc, &argv, &error))
{
" --revoke-temp Revoke all temporary authorizations for current session\n"
" -s, --system-bus-name=BUS_NAME Check authorization of owner of BUS_NAME\n"
" --version Show version\n"
- "\n"));
+ "\n"
+ "Report bugs to: %s\n"
+ "%s home page: <%s>\n"), PACKAGE_BUGREPORT, PACKAGE_NAME,
+ PACKAGE_URL);
}
static gchar *
" --disable-internal-agent |\n"
" [--user username] PROGRAM [ARGUMENTS...]\n"
"\n"
- "See the pkexec manual page for more details.\n");
+ "See the pkexec manual page for more details.\n"
+ "\n"
+ "Report bugs to: %s\n"
+ "%s home page: <%s>\n", PACKAGE_BUGREPORT, PACKAGE_NAME,
+ PACKAGE_URL);
}
/* ---------------------------------------------------------------------------------------------------- */
{ NULL, 0, 0, 0, NULL, NULL, NULL }
};
GOptionContext *context;
+ gchar *s;
PolkitAuthority *authority = NULL;
PolkitSubject *subject = NULL;
gpointer local_agent_handle = NULL;
error = NULL;
context = g_option_context_new ("");
+ s = g_strdup_printf (_("Report bugs to: %s\n"
+ "%s home page: <%s>"), PACKAGE_BUGREPORT,
+ PACKAGE_NAME, PACKAGE_URL);
+ g_option_context_set_description (context, s);
+ g_free (s);
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
if (!g_option_context_parse (context, &argc, &argv, &error))
{