From patchwork Fri Jul 31 03:20:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kei Kebreau X-Patchwork-Id: 23462 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 CBC4627BBE3; Fri, 31 Jul 2020 04:21:09 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,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 40FD327BBE1 for ; Fri, 31 Jul 2020 04:21:09 +0100 (BST) Received: from localhost ([::1]:58374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1LbY-0008KT-Nk for patchwork@mira.cbaines.net; Thu, 30 Jul 2020 23:21:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1LbS-0008J5-PN for guix-patches@gnu.org; Thu, 30 Jul 2020 23:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1LbS-00012l-GE for guix-patches@gnu.org; Thu, 30 Jul 2020 23:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1LbS-0005wO-9t for guix-patches@gnu.org; Thu, 30 Jul 2020 23:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42625] [PATCH 1/2] gnu: wxmaxima: Update to 20.06.6. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 03:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42625@debbugs.gnu.org Cc: Kei Kebreau X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159616566022805 (code B ref -1); Fri, 31 Jul 2020 03:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 03:21:00 +0000 Received: from localhost ([127.0.0.1]:37074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1LbQ-0005vl-1F for submit@debbugs.gnu.org; Thu, 30 Jul 2020 23:21:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:60840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1LbO-0005vd-HD for submit@debbugs.gnu.org; Thu, 30 Jul 2020 23:20:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1LbO-0008Ik-4k for guix-patches@gnu.org; Thu, 30 Jul 2020 23:20:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:59311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1LbL-000124-Nq for guix-patches@gnu.org; Thu, 30 Jul 2020 23:20:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 475A82400FB for ; Fri, 31 Jul 2020 05:20:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596165651; bh=Mp+qV0jwpnOKLoo6bQw8mPMcZIUASppWxgX6Ep9sqKw=; h=From:To:Cc:Subject:Date:From; b=NotHpwAdJT1RAheBKHA2ZJoLMR4fXSwGXyY1Si4XhXYMB2QKGT6s0UB4e2VKaCYTM w3HAGhpdh44KYYg46wlq81yMyD/KCKMd8m5Lni4YGd91vmw1o5LLbgob1wNaanOcrb E4T0QSJFGYO8ZYd0IqUwm3OQblWpbZz9tdiIAUSMxL30K58+zP3AyUuxhXZnGRL44w KAUXx+AgZqqdsYSKvpldcS9vtVp0da44Fq91gvfku/dufrk91I88BXc0hvOc6B+0jh ng8LXwczLJJqvlNELOYxnXazmNeCJ55r3LsX3st6a4F2VAwLYKckIyS8xjZvLaWAS4 PZMhtLPzsjesw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BHsxF3znbz6tmH; Fri, 31 Jul 2020 05:20:49 +0200 (CEST) From: Kei Kebreau Date: Thu, 30 Jul 2020 23:20:38 -0400 Message-Id: <20200731032038.23036-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kkebreau@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/30 23:20:51 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/maths.scm (wxmaxima): Update to 20.06.6. [arguments]: Add 'patch-doc-path' phase. --- gnu/packages/maths.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 3991b2f88b..6f446d9118 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3263,7 +3263,7 @@ point numbers.") (define-public wxmaxima (package (name "wxmaxima") - (version "20.04.0") + (version "20.06.6") (source (origin (method git-fetch) @@ -3272,7 +3272,7 @@ point numbers.") (commit (string-append "Version-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0vrjxzfgmjdzm1rgl0crz4b4badl14jwh032y3xkcdvjl5j67lp3")))) + (base32 "054f7n5kx75ng5j20rd5q27n9xxk03mrd7sbxyym1lsswzimqh4w")))) (build-system cmake-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -3290,6 +3290,14 @@ point numbers.") `(#:test-target "test" #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-doc-path + (lambda _ + ;; Don't look in share/doc/wxmaxima-xx.xx.x for the + ;; documentation. Only licensing information is placed there by + ;; Guix. + (substitute* "src/Dirstructure.cpp" + (("/doc/wxmaxima-\\%s") "/doc/wxmaxima")) + #t)) (add-before 'check 'pre-check (lambda _ ;; Tests require a running X server. From patchwork Fri Jul 31 03:21:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kei Kebreau X-Patchwork-Id: 23463 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 C2CA527BBE3; Fri, 31 Jul 2020 04:23:09 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,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 592E527BBE1 for ; Fri, 31 Jul 2020 04:23:09 +0100 (BST) Received: from localhost ([::1]:59044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1LdU-0000I5-SE for patchwork@mira.cbaines.net; Thu, 30 Jul 2020 23:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1LdO-0000F5-PM for guix-patches@gnu.org; Thu, 30 Jul 2020 23:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1LdO-0001ap-EF for guix-patches@gnu.org; Thu, 30 Jul 2020 23:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1LdO-0005zz-Ai for guix-patches@gnu.org; Thu, 30 Jul 2020 23:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42625] [PATCH 2/2] gnu: wxwidgets: Fix MIME type loading. References: <20200731032038.23036-1-kkebreau@posteo.net> In-Reply-To: <20200731032038.23036-1-kkebreau@posteo.net> Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42625@debbugs.gnu.org Cc: Kei Kebreau Received: via spool by 42625-submit@debbugs.gnu.org id=B42625.159616572322975 (code B ref 42625); Fri, 31 Jul 2020 03:23:02 +0000 Received: (at 42625) by debbugs.gnu.org; 31 Jul 2020 03:22:03 +0000 Received: from localhost ([127.0.0.1]:37079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1LcR-0005yV-Ab for submit@debbugs.gnu.org; Thu, 30 Jul 2020 23:22:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1LcP-0005xr-La for 42625@debbugs.gnu.org; Thu, 30 Jul 2020 23:22:02 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BADBF16005C for <42625@debbugs.gnu.org>; Fri, 31 Jul 2020 05:21:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596165715; bh=DiC6aeVBFSvVq/6WODybUshuKsZ0+vnP29tjIvTlFnM=; h=From:To:Cc:Subject:Date:From; b=lwuD1KU2Y0S3wS1n47L5pr5MJFren5olNgaZL5qEFhfrGlhiFmgtvsGStKOscinaA TBgNUWH4TkKEwdAZccvR1gf5v1MT83Hyeif+yQbjQh1/4PhlNlyIYEAEKsbChsvnmu zJ12mT4K1O5d6B2rvRqgrYV+2caDeG6fDdvKylU1Ixk6xf8ylbgDeMUCgjXekOkBy/ i9RqBleHFTPw5JuKH32aU2Yk2+wG4cH3AeYci/2xBpP4W0SaYAx0CyIh1YhJCcUp7p JmjQZS/h2JU3cew04KsJZRFMYszP48qZR+awgp8yCKNVbDkN68jzgsp46E8oQ3+S6N b9V1B3/2RnCrg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BHsyT4Wvyz9rxW; Fri, 31 Jul 2020 05:21:53 +0200 (CEST) From: Kei Kebreau Date: Thu, 30 Jul 2020 23:21:45 -0400 Message-Id: <20200731032145.23092-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/wxwidgets.scm (wxwidgets)[inputs]: Add shared-mime-info. [arguments]: Update 'refer-to-inputs phase so wxWidgets looks in the correct directory for MIME type information. --- gnu/packages/wxwidgets.scm | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index 7141b2f4b8..f3a7fdd7a4 100644 --- a/gnu/packages/wxwidgets.scm +++ b/gnu/packages/wxwidgets.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) + #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages image) @@ -75,6 +76,7 @@ ("mesa" ,mesa) ("webkitgtk" ,webkitgtk) ("sdl" ,sdl) + ("shared-mime-info" ,shared-mime-info) ("xdg-utils" ,xdg-utils))) (native-inputs `(("pkg-config" ,pkg-config))) @@ -97,11 +99,15 @@ #:phases (modify-phases %standard-phases (add-after 'unpack 'refer-to-inputs - (lambda _ - (substitute* "src/unix/utilsx11.cpp" - (("wxExecute\\(xdg_open \\+") - (string-append "wxExecute(\"" (which "xdg-open") "\""))) - #t))))) + (lambda* (#:key inputs #:allow-other-keys) + (let* ((mime (string-append (assoc-ref inputs "shared-mime-info") + "/share/mime"))) + (substitute* "src/unix/utilsx11.cpp" + (("wxExecute\\(xdg_open \\+") + (string-append "wxExecute(\"" (which "xdg-open") "\""))) + (substitute* "src/unix/mimetype.cpp" + (("/usr(/local)?/share/mime") mime)) + #t)))))) (home-page "https://www.wxwidgets.org/") (synopsis "Widget toolkit for creating graphical user interfaces") (description