summaryrefslogtreecommitdiff
path: root/sysutils/policykit-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/policykit-gnome')
-rw-r--r--sysutils/policykit-gnome/Makefile4
-rw-r--r--sysutils/policykit-gnome/files/patch-Makefile.in6
-rw-r--r--sysutils/policykit-gnome/files/patch-configure58
-rw-r--r--sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c8
4 files changed, 66 insertions, 10 deletions
diff --git a/sysutils/policykit-gnome/Makefile b/sysutils/policykit-gnome/Makefile
index 31ed5b790ba3..96453a32b123 100644
--- a/sysutils/policykit-gnome/Makefile
+++ b/sysutils/policykit-gnome/Makefile
@@ -4,7 +4,7 @@
PORTNAME= policykit-gnome
PORTVERSION= 0.9.2
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/
DISTNAME= PolicyKit-gnome-${PORTVERSION}
@@ -15,7 +15,7 @@ COMMENT= GNOME frontend to the PolicyKit framework
LIB_DEPENDS= libpolkit.so:sysutils/policykit
USES= gettext gmake gnome libtool:keepla pathfix pkgconfig tar:bzip2
-USE_GNOME= gconf2 gnomedocutils intlhack
+USE_GNOME= gconf2 intlhack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-gtk-doc \
diff --git a/sysutils/policykit-gnome/files/patch-Makefile.in b/sysutils/policykit-gnome/files/patch-Makefile.in
index 866eefdceaf9..949d59926bba 100644
--- a/sysutils/policykit-gnome/files/patch-Makefile.in
+++ b/sysutils/policykit-gnome/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig 2008-07-23 21:40:50.000000000 -0400
-+++ Makefile.in 2008-07-23 21:41:41.000000000 -0400
-@@ -259,7 +259,7 @@ top_builddir = @top_builddir@
+--- Makefile.in.orig 2020-01-19 15:22:06 UTC
++++ Makefile.in
+@@ -257,7 +257,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# Need to build docs after examples because the docs include generated files
diff --git a/sysutils/policykit-gnome/files/patch-configure b/sysutils/policykit-gnome/files/patch-configure
new file mode 100644
index 000000000000..55bb8dde0586
--- /dev/null
+++ b/sysutils/policykit-gnome/files/patch-configure
@@ -0,0 +1,58 @@
+--- configure.orig 2020-01-19 15:33:42 UTC
++++ configure
+@@ -20405,29 +20405,9 @@ $as_echo "no" >&6; }
+
+ fi
+
+-gdu_cv_version_required=0.3.2
+
+-if test -n "$PKG_CONFIG" && \
+- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
+- ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
+- ac_status=$?
+- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; then
+- gdu_cv_have_gdu=yes
+-else
+- gdu_cv_have_gdu=no
+-fi
+
+-if test "$gdu_cv_have_gdu" = "yes"; then
+- :
+-else
+- { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
+-$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+
+-
+-
+ # Check whether --with-help-dir was given.
+ if test "${with_help_dir+set}" = set; then
+ withval=$with_help_dir;
+@@ -20467,25 +20447,15 @@ else
+ enable_scrollkeeper=yes
+ fi
+
+- if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
+- ENABLE_SK_TRUE=
+- ENABLE_SK_FALSE='#'
+-else
+ ENABLE_SK_TRUE='#'
+ ENABLE_SK_FALSE=
+-fi
+
+
+ DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
+
+
+- if test "$gdu_cv_have_gdu" = "yes"; then
+- HAVE_GNOME_DOC_UTILS_TRUE=
+- HAVE_GNOME_DOC_UTILS_FALSE='#'
+-else
+ HAVE_GNOME_DOC_UTILS_TRUE='#'
+ HAVE_GNOME_DOC_UTILS_FALSE=
+-fi
+
+
+
diff --git a/sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c b/sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c
index 32009984b2c4..7d34e2806235 100644
--- a/sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c
+++ b/sysutils/policykit-gnome/files/patch-polkit-gnome_polkit-gnome-action.c
@@ -1,6 +1,6 @@
---- polkit-gnome/polkit-gnome-action.c.old 2009-06-28 12:54:35.000000000 +0200
-+++ polkit-gnome/polkit-gnome-action.c 2009-06-28 12:55:07.000000000 +0200
-@@ -2062,6 +2062,8 @@
+--- polkit-gnome/polkit-gnome-action.c.orig 2008-07-22 17:00:53 UTC
++++ polkit-gnome/polkit-gnome-action.c
+@@ -2062,6 +2062,8 @@ _button_clicked (GtkButton *button, PolKitGnomeAction
case POLKIT_RESULT_ONLY_VIA_SELF_AUTH_KEEP_ALWAYS:
/* g_debug ("blocking clicked"); */
g_signal_stop_emission_by_name (button, "clicked");
@@ -9,5 +9,3 @@
break;
default:
-
-