diff options
author | avilla <avilla@FreeBSD.org> | 2011-10-17 07:03:50 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2011-10-17 07:03:50 +0800 |
commit | e66d056226da7b2455e969424f80bbc8db1cab2b (patch) | |
tree | 72295bf6f66fa2949f84c5fc59a3e48c3f3b3877 /sysutils/polkit-kde | |
parent | 0896da0060e84ed41f80cd40cb347ba38be3dd62 (diff) | |
download | freebsd-ports-gnome-e66d056226da7b2455e969424f80bbc8db1cab2b.tar.gz freebsd-ports-gnome-e66d056226da7b2455e969424f80bbc8db1cab2b.tar.zst freebsd-ports-gnome-e66d056226da7b2455e969424f80bbc8db1cab2b.zip |
- Add kde category.
- Force polkit dialog to be on top. [1]
- Bump PORTREVISION.
Obtained from: KUbuntu [1]
Diffstat (limited to 'sysutils/polkit-kde')
-rw-r--r-- | sysutils/polkit-kde/Makefile | 10 | ||||
-rw-r--r-- | sysutils/polkit-kde/files/patch-policykitlistener.cpp | 18 |
2 files changed, 23 insertions, 5 deletions
diff --git a/sysutils/polkit-kde/Makefile b/sysutils/polkit-kde/Makefile index af812646f0d1..1726b9dfb672 100644 --- a/sysutils/polkit-kde/Makefile +++ b/sysutils/polkit-kde/Makefile @@ -7,7 +7,8 @@ PORTNAME= polkit-kde PORTVERSION= 0.99.0 -CATEGORIES= sysutils +PORTREVISION= 1 +CATEGORIES= sysutils kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/apps/KDE4.x/admin/ DISTNAME= ${PORTNAME}-agent-1-${PORTVERSION} @@ -22,12 +23,11 @@ LIB_DEPENDS= polkit-qt-agent-1.1:${PORTSDIR}/sysutils/polkit-qt USE_BZIP2= yes USE_GETTEXT= yes -USE_LDCONFIG= yes -USE_KDE4= kdelibs kdeprefix automoc4 +USE_KDE4= kdehier kdelibs kdeprefix automoc4 USE_QT_VER= 4 -QT_COMPONENTS= corelib dbus gui network svg xml \ - qmake_build moc_build rcc_build uic_build +QT_COMPONENTS= moc_build qmake_build rcc_build uic_build USE_CMAKE= yes +USE_LDCONFIG= yes post-extract: ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \ diff --git a/sysutils/polkit-kde/files/patch-policykitlistener.cpp b/sysutils/polkit-kde/files/patch-policykitlistener.cpp new file mode 100644 index 000000000000..454acdad556b --- /dev/null +++ b/sysutils/polkit-kde/files/patch-policykitlistener.cpp @@ -0,0 +1,18 @@ +--- ./policykitlistener.cpp.orig 2011-08-10 09:25:19.903011898 +0200 ++++ ./policykitlistener.cpp 2011-08-10 09:27:15.332896437 +0200 +@@ -22,6 +22,7 @@ + #include "AuthDialog.h" + + #include <KDebug> ++#include <KWindowSystem> + + #include <PolkitQt1/Agent/Listener> + #include <PolkitQt1/Agent/Session> +@@ -100,6 +101,7 @@ + kDebug() << "WinId of the dialog is " << m_dialog.data()->winId() << m_dialog.data()->effectiveWinId(); + m_dialog.data()->setOptions(); + m_dialog.data()->show(); ++ KWindowSystem::forceActiveWindow(m_dialog.data()->winId()); + kDebug() << "WinId of the shown dialog is " << m_dialog.data()->winId() << m_dialog.data()->effectiveWinId(); + + m_numTries = 0; |