[kde-freebsd] [PATCH] PolicyKit-kde

David Naylor naylor.b.david at gmail.com
Tue Feb 3 19:48:52 CET 2009


Hi,

I've ported PolicyKit-kde.  The pkg-desc is incomplete and I have a patch for 
the developers, except I cannot find them and bugzilla will not allow me to 
file a bug against it.  It would be very nice if it had a homepage (or any 
page for that matter).  

Anyway, see attached for the shar (and the patch intended for the developers).

Regards,

David
-------------- next part --------------
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	PolicyKit-kde
#	PolicyKit-kde/distinfo
#	PolicyKit-kde/pkg-descr
#	PolicyKit-kde/files
#	PolicyKit-kde/files/patch-CMakeLists.txt
#	PolicyKit-kde/Makefile
#	PolicyKit-kde/pkg-plist
#
echo c - PolicyKit-kde
mkdir -p PolicyKit-kde > /dev/null 2>&1
echo x - PolicyKit-kde/distinfo
sed 's/^X//' >PolicyKit-kde/distinfo << '7b4a7ea0ba7243864b965a7492d1cffd'
XMD5 (KDE/extragear/PolicyKit-kde-4.2.0.tar.bz2) = e3bc0669e5a61549d12a66af31dd81b6
XSHA256 (KDE/extragear/PolicyKit-kde-4.2.0.tar.bz2) = ded03e4f353df95a1f28c21344f99674ed1853560d0f9113f0f3c0a7a7f5524f
XSIZE (KDE/extragear/PolicyKit-kde-4.2.0.tar.bz2) = 86743
7b4a7ea0ba7243864b965a7492d1cffd
echo x - PolicyKit-kde/pkg-descr
sed 's/^X//' >PolicyKit-kde/pkg-descr << '329484802c2738d739b9c732434aa776'
XTODO
X
XWWW:	http://www.kde.org/
329484802c2738d739b9c732434aa776
echo c - PolicyKit-kde/files
mkdir -p PolicyKit-kde/files > /dev/null 2>&1
echo x - PolicyKit-kde/files/patch-CMakeLists.txt
sed 's/^X//' >PolicyKit-kde/files/patch-CMakeLists.txt << 'fa02796f6e8bf3c31e99808ad21c6f83'
X--- CMakeLists.txt~	2009-02-03 19:54:33.000000000 +0200
X+++ CMakeLists.txt	2009-02-03 19:53:40.000000000 +0200
X@@ -19,6 +19,8 @@
X       polkit-qt/
X     )
X 
X+  link_directories(${POLKIT_LIBRARY_DIR}  ${POLKITDBUS_LIBRARY_DIRS} ${POLKITGRANT_LIBRARY_DIRS})
X+
X   add_subdirectory(manager)
X   add_subdirectory(services)
X   add_subdirectory(authorization)
fa02796f6e8bf3c31e99808ad21c6f83
echo x - PolicyKit-kde/Makefile
sed 's/^X//' >PolicyKit-kde/Makefile << '665f8513cb276da79f36a583913eda9c'
X# New ports collection makefile for:	PolicyKit-kde
X# Date created:		2009-02-03
X# Whom:			David Naylor <dragonsa at highveldmail.co.za>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	PolicyKit-kde
XPORTVERSION=	${EXTRA_VER}
XCATEGORIES=	sysutils kde
XMASTER_SITES=	${MASTER_SITE_KDE}
XMASTER_SITE_SUBDIR=	stable/${EXTRA_VER}/src/extragear
XDIST_SUBDIR=	KDE/extragear
X
XMAINTAINER=	kde at FreeBSD.org
XCOMMENT=	PolicyKit manager for KDE
X
XLIB_DEPENDS=	polkit.2:${PORTSDIR}/sysutils/policykit
X
XUSE_BZIP2=	yes
XUSE_GETTEXT=	yes
XUSE_KDE4=	kdelibs kdeprefix automoc4
XUSE_LDCONFIG=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	corelib dbus gui network svg xml  \
X		qmake_build moc_build rcc_build uic_build
XUSE_CMAKE=	yes
X
XEXTRA_VER=	4.2.0
X
X.include <bsd.port.mk>
665f8513cb276da79f36a583913eda9c
echo x - PolicyKit-kde/pkg-plist
sed 's/^X//' >PolicyKit-kde/pkg-plist << 'c53210bf5b3f4209a38be06b4eebe7b3'
Xbin/polkit-kde-authorization
Xlib/kde4/libexec/polkit-kde-manager
Xlib/kde4/kcm_pkk_authorization.so
Xlib/libpolkitkdeprivate.so.5.0.1
Xlib/libpolkitkdeprivate.so.5
Xlib/libpolkitkdeprivate.so
Xlib/libpolkit_qt.so.5.0.1
Xlib/libpolkit_qt.so.5
Xlib/libpolkit_qt.so
Xshare/locale/ar/LC_MESSAGES/policykit-kde.mo
Xshare/locale/ar/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/cs/LC_MESSAGES/policykit-kde.mo
Xshare/locale/cs/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/de/LC_MESSAGES/policykit-kde.mo
Xshare/locale/de/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/el/LC_MESSAGES/policykit-kde.mo
Xshare/locale/el/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/es/LC_MESSAGES/policykit-kde.mo
Xshare/locale/es/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/et/LC_MESSAGES/policykit-kde.mo
Xshare/locale/fr/LC_MESSAGES/policykit-kde.mo
Xshare/locale/fr/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/ga/LC_MESSAGES/policykit-kde.mo
Xshare/locale/ga/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/gl/LC_MESSAGES/policykit-kde.mo
Xshare/locale/gl/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/ja/LC_MESSAGES/policykit-kde.mo
Xshare/locale/ja/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/lt/LC_MESSAGES/policykit-kde.mo
Xshare/locale/lt/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/lv/LC_MESSAGES/policykit-kde.mo
Xshare/locale/lv/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/nb/LC_MESSAGES/policykit-kde.mo
Xshare/locale/nb/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/nl/LC_MESSAGES/policykit-kde.mo
Xshare/locale/nl/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/nn/LC_MESSAGES/policykit-kde.mo
Xshare/locale/nn/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/pa/LC_MESSAGES/policykit-kde.mo
Xshare/locale/pa/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/pl/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/pt/LC_MESSAGES/policykit-kde.mo
Xshare/locale/pt/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/pt_BR/LC_MESSAGES/policykit-kde.mo
Xshare/locale/pt_BR/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/ro/LC_MESSAGES/policykit-kde.mo
Xshare/locale/ro/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/sr/LC_MESSAGES/policykit-kde.mo
Xshare/locale/sr/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/sv/LC_MESSAGES/policykit-kde.mo
Xshare/locale/sv/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/tr/LC_MESSAGES/policykit-kde.mo
Xshare/locale/tr/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/uk/LC_MESSAGES/policykit-kde.mo
Xshare/locale/uk/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/zh_TW/LC_MESSAGES/policykit-kde.mo
Xshare/locale/zh_TW/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/km/LC_MESSAGES/policykit-kde.mo
Xshare/locale/km/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/locale/ku/LC_MESSAGES/policykit-kde.mo
Xshare/locale/nds/LC_MESSAGES/policykit-kde.mo
Xshare/locale/nds/LC_MESSAGES/polkit-kde-authorization.mo
Xshare/dbus-1/services/org.kde.PolicyKit.service
Xshare/dbus-1/services/kde-org.freedesktop.PolicyKit.AuthenticationAgent.service
Xshare/kde4/services/kcm_pkk_authorization.desktop
c53210bf5b3f4209a38be06b4eebe7b3
exit

-------------- next part --------------
--- CMakeLists.txt~	2009-02-03 19:52:16.000000000 +0200
+++ CMakeLists.txt	2009-02-03 19:50:51.000000000 +0200
@@ -6,24 +6,28 @@
 include (KDE4Defaults)
 include (FindPkgConfig)
 
-pkg_check_modules (POLKIT polkit>=0.8)
-pkg_check_modules (POLKITDBUS polkit-dbus>=0.8)
-pkg_check_modules (POLKITGRANT polkit-grant>=0.8)
+pkg_check_modules (POLKIT REQUIRED polkit>=0.8)
+pkg_check_modules (POLKITDBUS REQUIRED polkit-dbus>=0.8)
+pkg_check_modules (POLKITGRANT REQUIRED polkit-grant>=0.8)
 
-MESSAGE(STATUS " ${POLKIT_INCLUDE_DIRS} ===========")
-if (POLKIT_FOUND AND POLKITDBUS_FOUND AND POLKITGRANT_FOUND)
-   include_directories(
-      ${KDE4_INCLUDES}
-      ${POLKIT_INCLUDE_DIRS}
-      ${POLKITDBUS_INCLUDE_DIRS}
-      polkit-qt/
-    )
+include_directories(
+  ${KDE4_INCLUDES}
+  ${POLKIT_INCLUDE_DIRS}
+  ${POLKITDBUS_INCLUDE_DIRS}
+  polkit-qt/
+)
+
+link_directories(
+  ${POLKIT_LIBRARY_DIR}
+  ${POLKITDBUS_LIBRARY_DIRS}
+  ${POLKITGRANT_LIBRARY_DIRS}
+)
+
+add_subdirectory(manager)
+add_subdirectory(services)
+add_subdirectory(authorization)
+add_subdirectory(polkit-qt)
 
-  add_subdirectory(manager)
-  add_subdirectory(services)
-  add_subdirectory(authorization)
-  add_subdirectory(polkit-qt)
-endif (POLKIT_FOUND AND POLKITDBUS_FOUND AND POLKITGRANT_FOUND)
 find_package(Msgfmt REQUIRED)
 find_package(Gettext REQUIRED)
 add_subdirectory( po )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20090203/6ae2b57d/attachment.sig 


More information about the kde-freebsd mailing list