From 05fcb13e3a2392bef41ddc04766110ed5f55340d Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 5 Jul 2010 10:51:16 +0000 Subject: [PATCH] Re-import polkit-gnome-0.96. PolicyKit-gnome provides a GTK+/GNOME frontend for PolicyKit. Despites its name, this package is not GNOME specific, it can be used by other Gtk+2 Desktops. --- x11/polkit-gnome/Makefile | 51 ++++++++++++++++ x11/polkit-gnome/distinfo | 5 ++ ...gnome-authentication-agent-1_desktop_in_in | 9 +++ x11/polkit-gnome/pkg/DESCR | 1 + x11/polkit-gnome/pkg/PFRAG.shared | 2 + x11/polkit-gnome/pkg/PLIST | 60 +++++++++++++++++++ 6 files changed, 128 insertions(+) create mode 100644 x11/polkit-gnome/Makefile create mode 100644 x11/polkit-gnome/distinfo create mode 100644 x11/polkit-gnome/patches/patch-src_polkit-gnome-authentication-agent-1_desktop_in_in create mode 100644 x11/polkit-gnome/pkg/DESCR create mode 100644 x11/polkit-gnome/pkg/PFRAG.shared create mode 100644 x11/polkit-gnome/pkg/PLIST diff --git a/x11/polkit-gnome/Makefile b/x11/polkit-gnome/Makefile new file mode 100644 index 00000000000..e2985c02421 --- /dev/null +++ b/x11/polkit-gnome/Makefile @@ -0,0 +1,51 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/07/05 10:51:16 ajacoutot Exp $ + +COMMENT= PolicyKit integration for GNOME/GTK+2 + +DISTNAME= polkit-gnome-0.96 + +CATEGORIES= x11 sysutils + +EXTRACT_SUFX= .tar.bz2 + +SHARED_LIBS += polkit-gtk-1 0.0 # 0.0 + +HOMEPAGE= http://hal.freedesktop.org/docs/PolicyKit-gnome/ + +MAINTAINER= Antoine Jacoutot + +# LGPLv2+ +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes +WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1 dbus-glib-1 +WANTLIB += eggdbus-1 expat fontconfig freetype gio-2.0 glib-2.0 +WANTLIB += glitz gmodule-2.0 gobject-2.0 gthread-2.0 m pango-1.0 +WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread +WANTLIB += pthread-stubs xcb xcb-render xcb-render-util z + +MASTER_SITES= http://hal.freedesktop.org/releases/ + +MODULES= devel/gettext \ + textproc/intltool + +LIB_DEPENDS= polkit-agent-1,polkit-gobject-1::sysutils/polkit \ + gdk-x11-2.0.>=1403,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 + +USE_LIBTOOL= Yes +USE_GMAKE= Yes + +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --localstatedir=/var \ + --disable-introspection \ + --disable-gtk-doc + +FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/polkit-gnome + +.include diff --git a/x11/polkit-gnome/distinfo b/x11/polkit-gnome/distinfo new file mode 100644 index 00000000000..623b54f10de --- /dev/null +++ b/x11/polkit-gnome/distinfo @@ -0,0 +1,5 @@ +MD5 (polkit-gnome-0.96.tar.bz2) = YRzzn7opRTIPx6nsSQh+aQ== +RMD160 (polkit-gnome-0.96.tar.bz2) = fAOMNXpt89cyvvKPd0R2j7JBCSo= +SHA1 (polkit-gnome-0.96.tar.bz2) = tBifTgH2d1r+MFqzYaU1yG087/A= +SHA256 (polkit-gnome-0.96.tar.bz2) = DZbIAy1lii4e74rfvq//D1ae8M9os1kVQjrMAIc8ipI= +SIZE (polkit-gnome-0.96.tar.bz2) = 362723 diff --git a/x11/polkit-gnome/patches/patch-src_polkit-gnome-authentication-agent-1_desktop_in_in b/x11/polkit-gnome/patches/patch-src_polkit-gnome-authentication-agent-1_desktop_in_in new file mode 100644 index 00000000000..94c1a07cb35 --- /dev/null +++ b/x11/polkit-gnome/patches/patch-src_polkit-gnome-authentication-agent-1_desktop_in_in @@ -0,0 +1,9 @@ +$OpenBSD: patch-src_polkit-gnome-authentication-agent-1_desktop_in_in,v 1.1.1.1 2010/07/05 10:51:16 ajacoutot Exp $ +--- src/polkit-gnome-authentication-agent-1.desktop.in.in.orig Thu Jul 1 19:21:00 2010 ++++ src/polkit-gnome-authentication-agent-1.desktop.in.in Thu Jul 1 19:21:10 2010 +@@ -5,4 +5,4 @@ Exec=@FULL_LIBEXECDIR@/polkit-gnome-authentication-age + Terminal=false + Type=Application + Categories= +-OnlyShowIn=GNOME; ++NotShowIn=KDE; diff --git a/x11/polkit-gnome/pkg/DESCR b/x11/polkit-gnome/pkg/DESCR new file mode 100644 index 00000000000..37de5b43134 --- /dev/null +++ b/x11/polkit-gnome/pkg/DESCR @@ -0,0 +1 @@ +PolicyKit-gnome provides a GTK+/GNOME frontend for PolicyKit. diff --git a/x11/polkit-gnome/pkg/PFRAG.shared b/x11/polkit-gnome/pkg/PFRAG.shared new file mode 100644 index 00000000000..c594645a9ef --- /dev/null +++ b/x11/polkit-gnome/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/07/05 10:51:16 ajacoutot Exp $ +@lib lib/libpolkit-gtk-1.so.${LIBpolkit-gtk-1_VERSION} diff --git a/x11/polkit-gnome/pkg/PLIST b/x11/polkit-gnome/pkg/PLIST new file mode 100644 index 00000000000..92c720e48ce --- /dev/null +++ b/x11/polkit-gnome/pkg/PLIST @@ -0,0 +1,60 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/05 10:51:16 ajacoutot Exp $ +%%SHARED%% +include/polkit-gtk-1/ +include/polkit-gtk-1/polkitgtk/ +include/polkit-gtk-1/polkitgtk/polkitgtk.h +include/polkit-gtk-1/polkitgtk/polkitgtktypes.h +include/polkit-gtk-1/polkitgtk/polkitlockbutton.h +lib/libpolkit-gtk-1.a +lib/libpolkit-gtk-1.la +lib/pkgconfig/ +lib/pkgconfig/polkit-gtk-1.pc +@bin libexec/polkit-gnome-authentication-agent-1 +share/examples/polkit-gnome/ +share/examples/polkit-gnome/xdg/ +@sample ${SYSCONFDIR}/xdg/ +share/examples/polkit-gnome/xdg/autostart/ +@sample ${SYSCONFDIR}/xdg/autostart/ +share/examples/polkit-gnome/xdg/autostart/polkit-gnome-authentication-agent-1.desktop +@sample ${SYSCONFDIR}/xdg/autostart/polkit-gnome-authentication-agent-1.desktop +share/locale/ar/ +share/locale/ar/LC_MESSAGES/ +share/locale/ar/LC_MESSAGES/polkit-gnome-1.mo +share/locale/be/LC_MESSAGES/polkit-gnome-1.mo +share/locale/ca/LC_MESSAGES/polkit-gnome-1.mo +share/locale/cs/LC_MESSAGES/polkit-gnome-1.mo +share/locale/da/LC_MESSAGES/polkit-gnome-1.mo +share/locale/de/LC_MESSAGES/polkit-gnome-1.mo +share/locale/el/LC_MESSAGES/polkit-gnome-1.mo +share/locale/en_GB/ +share/locale/en_GB/LC_MESSAGES/ +share/locale/en_GB/LC_MESSAGES/polkit-gnome-1.mo +share/locale/es/LC_MESSAGES/polkit-gnome-1.mo +share/locale/eu/LC_MESSAGES/polkit-gnome-1.mo +share/locale/fi/LC_MESSAGES/polkit-gnome-1.mo +share/locale/fr/LC_MESSAGES/polkit-gnome-1.mo +share/locale/gl/LC_MESSAGES/polkit-gnome-1.mo +share/locale/gu/ +share/locale/gu/LC_MESSAGES/ +share/locale/gu/LC_MESSAGES/polkit-gnome-1.mo +share/locale/he/LC_MESSAGES/polkit-gnome-1.mo +share/locale/hu/LC_MESSAGES/polkit-gnome-1.mo +share/locale/it/LC_MESSAGES/polkit-gnome-1.mo +share/locale/ja/LC_MESSAGES/polkit-gnome-1.mo +share/locale/lt/ +share/locale/lt/LC_MESSAGES/ +share/locale/lt/LC_MESSAGES/polkit-gnome-1.mo +share/locale/nb/LC_MESSAGES/polkit-gnome-1.mo +share/locale/pa/ +share/locale/pa/LC_MESSAGES/ +share/locale/pa/LC_MESSAGES/polkit-gnome-1.mo +share/locale/pl/LC_MESSAGES/polkit-gnome-1.mo +share/locale/pt/LC_MESSAGES/polkit-gnome-1.mo +share/locale/pt_BR/LC_MESSAGES/polkit-gnome-1.mo +share/locale/ru/LC_MESSAGES/polkit-gnome-1.mo +share/locale/sk/LC_MESSAGES/polkit-gnome-1.mo +share/locale/sl/LC_MESSAGES/polkit-gnome-1.mo +share/locale/sv/LC_MESSAGES/polkit-gnome-1.mo +share/locale/zh_CN/LC_MESSAGES/polkit-gnome-1.mo +share/locale/zh_HK/LC_MESSAGES/polkit-gnome-1.mo +share/locale/zh_TW/LC_MESSAGES/polkit-gnome-1.mo