GNU bug report logs - #27318
[PATCH 1/2] gnu: stellarium: Fix build with Qt 5.9.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sat, 10 Jun 2017 22:24:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27318 in the body.
You can then email your comments to 27318 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27318; Package guix-patches. (Sat, 10 Jun 2017 22:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 10 Jun 2017 22:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: guix-patches <at> gnu.org
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>
Subject: [PATCH 1/2] gnu: stellarium: Fix build with Qt 5.9.
Date: Sun, 11 Jun 2017 00:23:17 +0200
* gnu/packages/astronomy.scm (stellarium)[arguments]:
Add phase "patch-version-check".
---
 gnu/packages/astronomy.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 2aa65d588..6c486469d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -141,6 +141,14 @@ programs for the manipulation and analysis of astronomical data.")
     (arguments
       `(#:test-target "tests"
         #:phases (modify-phases %standard-phases
+                   (add-after 'unpack 'patch-version-check
+                     (lambda _
+                       ;; Previously-deprecated cmake variable vanished in
+                       ;; Qt 5.9.
+                       ;; See <https://bugreports.qt.io/browse/QTBUG-60936>.
+                       (substitute* "CMakeLists.txt"
+                         (("Qt5Core_VERSION_STRING") "Qt5Core_VERSION"))
+                       #t))
                    (add-before 'check 'set-offscreen-display
                      (lambda _
                        ;; make Qt render "offscreen", required for tests




Information forwarded to guix-patches <at> gnu.org:
bug#27318; Package guix-patches. (Sun, 11 Jun 2017 17:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 27318 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 27318 <at> debbugs.gnu.org
Subject: Re: bug#27318: [PATCH 1/2] gnu: stellarium: Fix build with Qt 5.9.
Date: Sun, 11 Jun 2017 13:28:21 -0400
[Message part 1 (text/plain, inline)]
Danny Milosavljevic <dannym <at> scratchpost.org> writes:

> * gnu/packages/astronomy.scm (stellarium)[arguments]:
> Add phase "patch-version-check".
> ---
>  gnu/packages/astronomy.scm | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
> index 2aa65d588..6c486469d 100644
> --- a/gnu/packages/astronomy.scm
> +++ b/gnu/packages/astronomy.scm
> @@ -141,6 +141,14 @@ programs for the manipulation and analysis of astronomical data.")
>      (arguments
>        `(#:test-target "tests"
>          #:phases (modify-phases %standard-phases
> +                   (add-after 'unpack 'patch-version-check
> +                     (lambda _
> +                       ;; Previously-deprecated cmake variable vanished in
> +                       ;; Qt 5.9.
> +                       ;; See <https://bugreports.qt.io/browse/QTBUG-60936>.
> +                       (substitute* "CMakeLists.txt"
> +                         (("Qt5Core_VERSION_STRING") "Qt5Core_VERSION"))
> +                       #t))
>                     (add-before 'check 'set-offscreen-display
>                       (lambda _
>                         ;; make Qt render "offscreen", required for tests

LGTM.
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 27318 <at> debbugs.gnu.org and Danny Milosavljevic <dannym <at> scratchpost.org> Request was from Danny Milosavljevic <dannym <at> scratchpost.org> to control <at> debbugs.gnu.org. (Mon, 12 Jun 2017 05:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.