From patchwork Thu Apr 16 14:27:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21292 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3423427BBE4; Thu, 16 Apr 2020 15:28:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id AFFD127BBE1 for ; Thu, 16 Apr 2020 15:28:26 +0100 (BST) Received: from localhost ([::1]:35024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP5VC-0003FP-46 for patchwork@mira.cbaines.net; Thu, 16 Apr 2020 10:28:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41526) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP5Ur-0002wc-Jt for guix-patches@gnu.org; Thu, 16 Apr 2020 10:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP5Up-0002GQ-BL for guix-patches@gnu.org; Thu, 16 Apr 2020 10:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP5Uo-0002GK-Ux for guix-patches@gnu.org; Thu, 16 Apr 2020 10:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP5Uo-0001Rv-Rv for guix-patches@gnu.org; Thu, 16 Apr 2020 10:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40660] gnu: Add linphoneqt. (v2) References: <20200416102419.763ee4e9.raghavgururajan@disroot.org> In-Reply-To: <20200416102419.763ee4e9.raghavgururajan@disroot.org> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Apr 2020 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40660 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40660@debbugs.gnu.org Received: via spool by 40660-submit@debbugs.gnu.org id=B40660.15870472815557 (code B ref 40660); Thu, 16 Apr 2020 14:28:02 +0000 Received: (at 40660) by debbugs.gnu.org; 16 Apr 2020 14:28:01 +0000 Received: from localhost ([127.0.0.1]:39060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP5Um-0001RY-Ua for submit@debbugs.gnu.org; Thu, 16 Apr 2020 10:28:01 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP5Uk-0001RQ-Su for 40660@debbugs.gnu.org; Thu, 16 Apr 2020 10:27:59 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8E6D523807 for <40660@debbugs.gnu.org>; Thu, 16 Apr 2020 16:27:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rPzO8-R_1dlu for <40660@debbugs.gnu.org>; Thu, 16 Apr 2020 16:27:56 +0200 (CEST) Date: Thu, 16 Apr 2020 10:27:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587047276; bh=xGXOcE8JyHkKlJ4P1q9So+pYDVVCzRFFXWG5hVrrM3w=; h=Date:From:To:Subject; b=b9DbCMLyPTgktx1x50EM/j3au48Ux3jkW2NT04cvTCzq5H+V2nS+VQDQWcf7JWtcy MkXeIpX9JyQLiY30aIZnJ3OEXPg70Pf6qg3NIGfklmjT3DOMExJnnQj1PgUpbgBYsI H3rSGz9BleWQg1fUCOwfrPRgcBrka6PqnLR/o/qhJGirU03ZUGthizZlcvBQRRbSX0 cER6J9tC2KAYKAzIntf2pkGNTm2TgfL252DnSEF+nFwFf8XU79neOQSRSAbTPXWnSK l4piCcRGtxZYjULGNKeqVjR1Dksgg8sRq084JuMgpJsx3eogHTds+foFLzmXZSUQQT Je1Rl7oePf54Q== From: Raghav Gururajan Message-ID: <20200416102749.4607d34c.raghavgururajan@disroot.org> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 6e018522c30cb2a9732ccde98df32118c7699d7f Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 16 Apr 2020 10:26:11 -0400 Subject: [PATCH] gnu: Add linphoneqt. * gnu/packages/linphone.scm (linphoneqt): New variable. --- .../patches/linphoneqt-tabbutton.patch | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 gnu/packages/patches/linphoneqt-tabbutton.patch diff --git a/gnu/packages/patches/linphoneqt-tabbutton.patch b/gnu/packages/patches/linphoneqt-tabbutton.patch new file mode 100644 index 0000000000..6b3214026e --- /dev/null +++ b/gnu/packages/patches/linphoneqt-tabbutton.patch @@ -0,0 +1,96 @@ +From ecaab0f73d0b74bbfbf150286305fa6e12970037 Mon Sep 17 00:00:00 2001 +From: Ronan Abhamon +Date: Fri, 19 Jan 2018 14:42:01 +0100 +Subject: [PATCH] fix(SettingsWindow): rename icon property of TabButton to + iconName (issue with Qt 5.10 and new icon property) + +--- + ui/modules/Common/Form/Tab/TabButton.qml | 8 ++++---- + ui/views/App/Settings/SettingsWindow.qml | 14 +++++++------- + 2 files changed, 11 insertions(+), 11 deletions(-) + +diff --git a/ui/modules/Common/Form/Tab/TabButton.qml b/ui/modules/Common/Form/Tab/TabButton.qml +index ad220ab2..a47bb20b 100644 +--- a/ui/modules/Common/Form/Tab/TabButton.qml ++++ b/ui/modules/Common/Form/Tab/TabButton.qml +@@ -12,8 +12,8 @@ Controls.TabButton { + + // --------------------------------------------------------------------------- + +- property string icon + property int iconSize: TabButtonStyle.icon.size ++ property string iconName + + readonly property bool _isSelected: parent.parent.currentItem === button + +@@ -66,9 +66,9 @@ Controls.TabButton { + Layout.leftMargin: TabButtonStyle.text.leftPadding + + icon: { +- var icon = button.icon +- return icon.length +- ? (icon + '_' + (button._isSelected ? 'selected' : 'normal')) ++ var iconName = button.iconName ++ return iconName.length ++ ? (iconName + '_' + (button._isSelected ? 'selected' : 'normal')) + : '' + } + iconSize: button.iconSize +diff --git a/ui/views/App/Settings/SettingsWindow.qml b/ui/views/App/Settings/SettingsWindow.qml +index b8f5a80f..58909544 100644 +--- a/ui/views/App/Settings/SettingsWindow.qml ++++ b/ui/views/App/Settings/SettingsWindow.qml +@@ -48,43 +48,43 @@ ApplicationWindow { + id: tabBar + + TabButton { +- icon: 'settings_sip_accounts' ++ iconName: 'settings_sip_accounts' + text: qsTr('sipAccountsTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_audio' ++ iconName: 'settings_audio' + text: qsTr('audioTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_video' ++ iconName: 'settings_video' + text: qsTr('videoTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_call' ++ iconName: 'settings_call' + text: qsTr('callsAndChatTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_network' ++ iconName: 'settings_network' + text: qsTr('networkTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_advanced' ++ iconName: 'settings_advanced' + text: qsTr('uiTab') + width: implicitWidth + } + + TabButton { +- icon: 'settings_advanced' ++ iconName: 'settings_advanced' + text: qsTr('uiAdvanced') + width: implicitWidth + } +-- +2.21.0 + -- 2.26.0