Index: head/devel/kf5-kdbusaddons/Makefile =================================================================== --- head/devel/kf5-kdbusaddons/Makefile (revision 516191) +++ head/devel/kf5-kdbusaddons/Makefile (revision 516192) @@ -1,18 +1,19 @@ # $FreeBSD$ PORTNAME= kdbusaddons DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 addons to QtDBus LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB USES= cmake compiler:c++11-lib kde:5 qt:5 tar:xz USE_KDE= ecm USE_QT= buildtools_build core dbus gui linguisttools \ qmake_build testlib x11extras .include Index: head/devel/kf5-kdbusaddons/files/patch-src_kdbusservice.cpp =================================================================== --- head/devel/kf5-kdbusaddons/files/patch-src_kdbusservice.cpp (nonexistent) +++ head/devel/kf5-kdbusaddons/files/patch-src_kdbusservice.cpp (revision 516192) @@ -0,0 +1,23 @@ +diff --git a/src/kdbusservice.cpp b/src/kdbusservice.cpp +--- src/kdbusservice.cpp ++++ src/kdbusservice.cpp +@@ -129,6 +130,18 @@ + } else { + d->serviceName += QLatin1Char('-') + QString::number(QCoreApplication::applicationPid()); + } ++ } else if (options & KDBusService::Unique) { ++ auto reply = bus->registeredServiceNames(); ++ if (!reply.isValid()) { ++ return; ++ } ++ ++ for (const auto& serviceName : reply.value()) { ++ if (serviceName.startsWith(d->serviceName)) { ++ d->serviceName = serviceName; ++ return; ++ } ++ } + } + } + + Property changes on: head/devel/kf5-kdbusaddons/files/patch-src_kdbusservice.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11/konsole/Makefile =================================================================== --- head/x11/konsole/Makefile (revision 516191) +++ head/x11/konsole/Makefile (revision 516192) @@ -1,27 +1,28 @@ # $FreeBSD$ PORTNAME= konsole DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-applications # kde kde-applications-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE terminal emulator BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml RUN_DEPENDS= keditbookmarks:deskutils/keditbookmarks USES= cmake compiler:c++11-lang gettext pkgconfig kde:5 \ qt:5 tar:xz USE_KDE= auth attica bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons ecm emoticons globalaccel guiaddons i18n \ iconthemes init itemmodels jobwidgets kdelibs4support kio \ newstuff notifications notifyconfig parts pty service sonnet \ textwidgets widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus gui network printsupport script scripttools sql \ widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS .include Index: head/x11/konsole/files/patch-src_main.cpp =================================================================== --- head/x11/konsole/files/patch-src_main.cpp (nonexistent) +++ head/x11/konsole/files/patch-src_main.cpp (revision 516192) @@ -0,0 +1,13 @@ +diff --git a/src/main.cpp b/src/main.cpp +index 06f3ce491dbf58270ab5df38794903dab002bf39..b477109fd1a6bf4315efe21dcaaf89570fbd392d 100644 +--- src/main.cpp ++++ src/main.cpp +@@ -167,6 +167,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[]) + if (!Konsole::KonsoleSettings::useSingleInstance() + && !parser->isSet(QStringLiteral("new-tab"))) { + startupOption = KDBusService::Multiple; ++ } else if (Konsole::KonsoleSettings::useSingleInstance()) { ++ startupOption = KDBusService::Unique; + } + + atexit(deleteQApplication); Property changes on: head/x11/konsole/files/patch-src_main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property