Add introspection support (needed for on-going GNOME 3 work).
This commit is contained in:
parent
9730fbe455
commit
73a989d170
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2011/04/02 16:56:42 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
|
||||
COMMENT= framework for granting privileged operations to users
|
||||
|
||||
DISTNAME= polkit-0.97
|
||||
REVISION= 5
|
||||
REVISION= 6
|
||||
|
||||
SHARED_LIBS += polkit-gobject-1 0.0 # .0.0
|
||||
SHARED_LIBS += polkit-backend-1 0.0 # .0.0
|
||||
@ -31,7 +31,9 @@ MODULES= textproc/intltool \
|
||||
devel/gettext
|
||||
|
||||
BUILD_DEPENDS= ${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${MODGNU_AUTOCONF_DEPENDS}
|
||||
${MODGNU_AUTOCONF_DEPENDS} \
|
||||
devel/gobject-introspection
|
||||
|
||||
# needs libtoolize
|
||||
BUILD_DEPENDS+= devel/libtool
|
||||
|
||||
@ -56,13 +58,16 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-verbose-mode \
|
||||
--enable-examples \
|
||||
--disable-gtk-doc \
|
||||
--disable-introspection \
|
||||
--enable-introspection \
|
||||
--with-os-type=openbsd \
|
||||
--with-authfw=bsdauth
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
USE_GROFF = Yes
|
||||
USE_GROFF= Yes
|
||||
|
||||
# XXX: the libtool wrapper script is passed as argument to g-ir-scanner,
|
||||
# instead of the actual library
|
||||
USE_LIBTOOL= gnu
|
||||
|
||||
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/polkit
|
||||
|
||||
|
12
sysutils/polkit/patches/patch-src_polkit_Makefile_am
Normal file
12
sysutils/polkit/patches/patch-src_polkit_Makefile_am
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_polkit_Makefile_am,v 1.1 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
--- src/polkit/Makefile.am.orig Thu Apr 7 11:42:24 2011
|
||||
+++ src/polkit/Makefile.am Thu Apr 7 11:42:52 2011
|
||||
@@ -154,7 +154,7 @@ Polkit-1.0.gir: libpolkit-gobject-1.la $(G_IR_SCANNER)
|
||||
$(srcdir)/polkitauthorizationresult.h \
|
||||
$(srcdir)/polkitcheckauthorizationflags.h \
|
||||
$(srcdir)/polkitdetails.h \
|
||||
- $(builddir)/polkitenumtypes.h \
|
||||
+ $(srcdir)/polkitenumtypes.h \
|
||||
$(srcdir)/polkiterror.h \
|
||||
$(srcdir)/polkitidentity.h \
|
||||
$(srcdir)/polkitimplicitauthorization.h \
|
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-src_polkit_polkitcheckauthorizationflags_h,v 1.1 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
|
||||
From 920c40ef079fd2907f6c08d965d6d87eaf58f52a Mon Sep 17 00:00:00 2001
|
||||
From: Colin Walters <walters@verbum.org>
|
||||
Date: Fri, 10 Sep 2010 18:42:51 +0000
|
||||
Subject: Remove duplicate definitions of enumeration types
|
||||
|
||||
--- src/polkit/polkitcheckauthorizationflags.h.orig Wed Mar 10 18:46:19 2010
|
||||
+++ src/polkit/polkitcheckauthorizationflags.h Thu Apr 7 12:21:48 2011
|
||||
@@ -30,10 +30,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
-GType polkit_check_authorization_flags_get_type (void) G_GNUC_CONST;
|
||||
-
|
||||
-#define POLKIT_TYPE_CHECK_AUTHORIZATION_FLAGS (polkit_check_authorization_flags_get_type ())
|
||||
-
|
||||
/**
|
||||
* PolkitCheckAuthorizationFlags:
|
||||
* @POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE: No flags set.
|
20
sysutils/polkit/patches/patch-src_polkit_polkiterror_h
Normal file
20
sysutils/polkit/patches/patch-src_polkit_polkiterror_h
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-src_polkit_polkiterror_h,v 1.1 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
|
||||
From 920c40ef079fd2907f6c08d965d6d87eaf58f52a Mon Sep 17 00:00:00 2001
|
||||
From: Colin Walters <walters@verbum.org>
|
||||
Date: Fri, 10 Sep 2010 18:42:51 +0000
|
||||
Subject: Remove duplicate definitions of enumeration types
|
||||
|
||||
--- src/polkit/polkiterror.h.orig Wed Mar 10 18:46:19 2010
|
||||
+++ src/polkit/polkiterror.h Thu Apr 7 12:21:48 2011
|
||||
@@ -40,10 +40,6 @@ G_BEGIN_DECLS
|
||||
|
||||
GQuark polkit_error_quark (void);
|
||||
|
||||
-GType polkit_error_get_type (void) G_GNUC_CONST;
|
||||
-
|
||||
-#define POLKIT_TYPE_ERROR (polkit_error_get_type ())
|
||||
-
|
||||
/**
|
||||
* PolkitError:
|
||||
* @POLKIT_ERROR_FAILED: The operation failed.
|
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-src_polkit_polkitimplicitauthorization_h,v 1.1 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
|
||||
From 920c40ef079fd2907f6c08d965d6d87eaf58f52a Mon Sep 17 00:00:00 2001
|
||||
From: Colin Walters <walters@verbum.org>
|
||||
Date: Fri, 10 Sep 2010 18:42:51 +0000
|
||||
Subject: Remove duplicate definitions of enumeration types
|
||||
|
||||
--- src/polkit/polkitimplicitauthorization.h.orig Wed Mar 10 18:46:19 2010
|
||||
+++ src/polkit/polkitimplicitauthorization.h Thu Apr 7 12:21:48 2011
|
||||
@@ -30,10 +30,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
-GType polkit_implicit_authorization_get_type (void) G_GNUC_CONST;
|
||||
-
|
||||
-#define POLKIT_TYPE_IMPLICIT_AUTHORIZATION (polkit_implicit_authorization_get_type ())
|
||||
-
|
||||
/**
|
||||
* PolkitImplicitAuthorization:
|
||||
* @POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN: Unknown whether the subject is authorized, never returned in any public API.
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2010/10/23 17:04:52 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2011/04/07 11:12:12 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/pk-example-frobnicate
|
||||
@bin bin/pkaction
|
||||
@ -46,6 +46,8 @@ include/polkit-1/polkitbackend/polkitbackendlocalauthority.h
|
||||
include/polkit-1/polkitbackend/polkitbackendlocalauthorizationstore.h
|
||||
include/polkit-1/polkitbackend/polkitbackendsessionmonitor.h
|
||||
include/polkit-1/polkitbackend/polkitbackendtypes.h
|
||||
lib/girepository-1.0/
|
||||
lib/girepository-1.0/Polkit-1.0.typelib
|
||||
lib/libpolkit-agent-1.a
|
||||
lib/libpolkit-agent-1.la
|
||||
lib/libpolkit-backend-1.a
|
||||
@ -104,6 +106,8 @@ share/examples/polkit/var/db/polkit-1/
|
||||
share/examples/polkit/var/db/polkit-1/localauthority/
|
||||
share/examples/polkit/var/db/polkit-1/localauthority/10-vendor.d/
|
||||
share/examples/polkit/var/db/polkit-1/localauthority/10-vendor.d/10-desktop-policy.pkla
|
||||
share/gir-1.0/
|
||||
share/gir-1.0/Polkit-1.0.gir
|
||||
share/locale/da/LC_MESSAGES/polkit-1.mo
|
||||
share/polkit-1/
|
||||
share/polkit-1/actions/
|
||||
|
Loading…
Reference in New Issue
Block a user