From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 685E5138334 for ; Thu, 13 Dec 2018 11:01:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2108CE0D05; Thu, 13 Dec 2018 11:01:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5A2BE0D05 for ; Thu, 13 Dec 2018 11:01:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 37190335C31 for ; Thu, 13 Dec 2018 11:01:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0CF643A for ; Thu, 13 Dec 2018 11:01:20 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1544698870.62efa8c1c4d870cfa0dfe7f4fe7af87ffe65a380.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice/, app-office/libreoffice/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/libreoffice/files/libreoffice-6.1.4.1-gtk3_kde5-fix.patch app-office/libreoffice/libreoffice-6.1.4.2.ebuild X-VCS-Directories: app-office/libreoffice/ app-office/libreoffice/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 62efa8c1c4d870cfa0dfe7f4fe7af87ffe65a380 X-VCS-Branch: master Date: Thu, 13 Dec 2018 11:01:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 330c81a3-69ad-4d73-b7cc-7c3803ccb8c0 X-Archives-Hash: 9147e13b2335d1b86b875129ffbfe55f commit: 62efa8c1c4d870cfa0dfe7f4fe7af87ffe65a380 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 13 10:59:13 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Dec 13 11:01:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62efa8c1 app-office/libreoffice: Drop upstreamed patch Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/libreoffice-6.1.4.1-gtk3_kde5-fix.patch | 47 ---------------------- app-office/libreoffice/libreoffice-6.1.4.2.ebuild | 3 -- 2 files changed, 50 deletions(-) diff --git a/app-office/libreoffice/files/libreoffice-6.1.4.1-gtk3_kde5-fix.patch b/app-office/libreoffice/files/libreoffice-6.1.4.1-gtk3_kde5-fix.patch deleted file mode 100644 index 5f970b058f4..00000000000 --- a/app-office/libreoffice/files/libreoffice-6.1.4.1-gtk3_kde5-fix.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 8e395b1c1476122963082861c02adaa976d91e9b Mon Sep 17 00:00:00 2001 -From: Michael Weghorn -Date: Tue, 04 Dec 2018 14:42:31 +0100 -Subject: [PATCH] tdf#121399 Join cmd reading thread in gtk3_kde5 - -Stop reading commands from the pipe on kde5 side once -the "Quit" command has been sent, in order to have -the thread that is reading commands from stdin finish -properly. - -Join the thread in the 'FilePickerIpc' destructor, rather than -just deleting it while it may still be running, which -resulted in 'terminate()' being called. - -Change-Id: Ia184987e7994cc1de0208ff2757a3cf06c8b7194 ---- - -diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx -index 550e1d8..a2ea6b7 100644 ---- a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx -+++ b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx -@@ -192,6 +192,12 @@ - readCommandArgs(command, args); - - emit ipc->commandReceived(messageId, command, args); -+ -+ // stop processing once 'Quit' command has been sent -+ if (command == Commands::Quit) -+ { -+ return; -+ } - } - } - -@@ -211,7 +217,11 @@ - m_ipcReaderThread = std::unique_ptr{ new std::thread(readCommands, this) }; - } - --FilePickerIpc::~FilePickerIpc() = default; -+FilePickerIpc::~FilePickerIpc() -+{ -+ // join thread that reads commands -+ m_ipcReaderThread->join(); -+}; - - bool FilePickerIpc::handleCommand(uint64_t messageId, Commands command, QList args) - { diff --git a/app-office/libreoffice/libreoffice-6.1.4.2.ebuild b/app-office/libreoffice/libreoffice-6.1.4.2.ebuild index f297a839ea8..6070b09e9e5 100644 --- a/app-office/libreoffice/libreoffice-6.1.4.2.ebuild +++ b/app-office/libreoffice/libreoffice-6.1.4.2.ebuild @@ -249,9 +249,6 @@ PATCHES=( "${FILESDIR}/${PN}-5.4-system-pyuno.patch" "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch" "${FILESDIR}/${PN}-6.1-nomancompress.patch" - - # pending upstream review - "${FILESDIR}/${P}-gtk3_kde5-fix.patch" # tdf#121399 ) S="${WORKDIR}/${PN}-${MY_PV}"