GNU bug report logs - #62728
[PATCH] gnu: openmw-openscenegraph: Update to Nov 2022 commit

Previous Next

Package: guix-patches;

Reported by: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>

Date: Sat, 8 Apr 2023 19:23:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.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 62728 in the body.
You can then email your comments to 62728 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#62728; Package guix-patches. (Sat, 08 Apr 2023 19:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kaelyn Takata <kaelyn.alexi <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 08 Apr 2023 19:23:02 GMT) Full text and rfc822 format available.

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

From: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
Subject: [PATCH 0/2] Update and fix the build of openmw-openscenegraph.
Date: Sat, 08 Apr 2023 19:22:18 +0000
Hi,

I decided to try out OpenMW after recently learning how far along the project
is. To my joy, the latest version was already packaged. To my dismay the
version of openscenegraph it depended on no longer built (I believe commit
98b9f3a4bdwhich added a separate output for plugins was what broke the child
package, as the error was with the mkdir in the new phase).

I have fixed the build by removing the new output and phase from
openmw-openscenegraph. I have also updated the package to the latest commit
from https://github.com/OpenMW/osg. Two points to note about the changes:

  1) Simply updating the package to the (much) newer commit fixes the build in
  the presence of the separate plugin output, but I kept the plugins in the
  main output since they are needed by OpenMW and I worry that the separate
  output will cause problems with OpenMW being able to find them.

  2) The existing openmw-openscenegraph package appears to be at a commit from
  2018 that does not seem to be a commit in https://github.com/OpenMW/osg.
  https://github.com/OpenMW/osg/commit/36a962845a2c87a6671fd822157e0729d164e940
  has a banner saying the commit does not belong to any branch and may belong
  to a fork outside of the repository. In a local checkout of the repository,
  `git log 36a962845a2c87a6671fd822157e0729d164e940` says the hash is not a
  valid object.

Also, feel free to adjust the commit messages as necessary. I wasn't certain
on the appropriate format or wording for either of the commits' messages.

Cheers,
Kaelyn



Kaelyn Takata (2):
  gnu: openmw-openscenegraph: Fix build.
  gnu: openmw-openscenegraph: Update to Nov 2022 commit.

 gnu/packages/graphics.scm | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)


base-commit: b08cdfc6d363e9ca63118303b4628542c54a612d
--
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#62728; Package guix-patches. (Sat, 08 Apr 2023 19:28:02 GMT) Full text and rfc822 format available.

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

From: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
To: 62728 <at> debbugs.gnu.org
Cc: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
Subject: [PATCH 2/2] gnu: openmw-openscenegraph: Update to Nov 2022 commit.
Date: Sat, 08 Apr 2023 19:27:43 +0000
* gnu/packages/graphics.scm (openmw-openscenegraph): Update to Nov 2022 commit.
[arguments]: Sync the plugin flags with the mentioned wiki page.
---
 gnu/packages/graphics.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 09c7c4b6d2..dff1ec86c9 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1474,11 +1474,11 @@ (define-public gr-framework
 (define-public openmw-openscenegraph
   ;; OpenMW prefers its own fork of openscenegraph:
   ;; https://wiki.openmw.org/index.php?title=Development_Environment_Setup#OpenSceneGraph.
-  (let ((commit "36a962845a2c87a6671fd822157e0729d164e940"))
+  (let ((commit "69cfecebfb6dc703b42e8de39eed750a84a87489"))
     (hidden-package
      (package
        (inherit openscenegraph)
-       (version (git-version "3.6" "1" commit))
+       (version (git-version "3.6" "2" commit))
        (source
         (origin
           (method git-fetch)
@@ -1488,7 +1488,7 @@ (define-public openmw-openscenegraph
           (file-name (git-file-name (package-name openscenegraph) version))
           (sha256
            (base32
-            "05yhgq3qm5q277y32n5sf36vx5nv5qd3zlhz4csgd3a6190jrnia"))))
+            "1qayk2gklm8zvss90dcjfxv6717rvcmwmgmgyy1qzkli67a0zbw2"))))
        (outputs (list "out"))
        (arguments
         (substitute-keyword-arguments (package-arguments openscenegraph)
@@ -1497,14 +1497,14 @@ (define-public openmw-openscenegraph
            #~(append
               '("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
                 "-DBUILD_OSG_PLUGIN_OSG=1"
+                "-DBUILD_OSG_PLUGIN_DAE=1"
                 "-DBUILD_OSG_PLUGIN_DDS=1"
                 "-DBUILD_OSG_PLUGIN_TGA=1"
                 "-DBUILD_OSG_PLUGIN_BMP=1"
                 "-DBUILD_OSG_PLUGIN_JPEG=1"
                 "-DBUILD_OSG_PLUGIN_PNG=1"
-                "-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
-                ;; The jpeg plugin requires conversion between integers and booleans
-                "-DCMAKE_CXX_FLAGS=-fpermissive")
+                "-DBUILD_OSG_PLUGIN_FREETYPE=1"
+                "-DBUILD_OSG_DEPRECATED_SERIALIZERS=0")
               #$flags))
           ((#:phases _)
            #~%standard-phases)))))))
--
2.39.2






Information forwarded to guix-patches <at> gnu.org:
bug#62728; Package guix-patches. (Sat, 08 Apr 2023 19:28:02 GMT) Full text and rfc822 format available.

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

From: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
To: 62728 <at> debbugs.gnu.org
Cc: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
Subject: [PATCH 1/2] gnu: openmw-openscenegraph: Fix build.
Date: Sat, 08 Apr 2023 19:27:37 +0000
* gnu/packages/graphics.scm (openmw-openscenegraph): Fix build.
---
 gnu/packages/graphics.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index bcc27cc3bf..09c7c4b6d2 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2023 David Thompson <dthompson2 <at> worcester.edu>
 ;;; Copyright © 2023 Eric Bavier <bavier <at> posteo.net>
+;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1488,6 +1489,7 @@ (define-public openmw-openscenegraph
           (sha256
            (base32
             "05yhgq3qm5q277y32n5sf36vx5nv5qd3zlhz4csgd3a6190jrnia"))))
+       (outputs (list "out"))
        (arguments
         (substitute-keyword-arguments (package-arguments openscenegraph)
           ((#:configure-flags flags)
@@ -1503,7 +1505,9 @@ (define-public openmw-openscenegraph
                 "-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
                 ;; The jpeg plugin requires conversion between integers and booleans
                 "-DCMAKE_CXX_FLAGS=-fpermissive")
-              #$flags))))))))
+              #$flags))
+          ((#:phases _)
+           #~%standard-phases)))))))

 (define-public povray
   (package
--
2.39.2






Information forwarded to guix-patches <at> gnu.org:
bug#62728; Package guix-patches. (Thu, 27 Apr 2023 15:55:02 GMT) Full text and rfc822 format available.

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

From: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
To: 62728 <at> debbugs.gnu.org
Cc: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
Subject: [PATCH v2] gnu: openmw-openscenegraph: Update to Nov 2022 commit.
Date: Thu, 27 Apr 2023 15:54:33 +0000
* gnu/packages/graphics.scm (openmw-openscenegraph): Update to Nov 2022 commit.
[arguments]: Sync the plugin flags with the mentioned wiki page.
---
 gnu/packages/graphics.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 261fcf9547..a7b1024185 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1448,11 +1448,11 @@ (define-public gr-framework
 (define-public openmw-openscenegraph
   ;; OpenMW prefers its own fork of openscenegraph:
   ;; https://wiki.openmw.org/index.php?title=Development_Environment_Setup#OpenSceneGraph.
-  (let ((commit "36a962845a2c87a6671fd822157e0729d164e940"))
+  (let ((commit "69cfecebfb6dc703b42e8de39eed750a84a87489"))
     (hidden-package
      (package
        (inherit openscenegraph)
-       (version (git-version "3.6" "1" commit))
+       (version (git-version "3.6" "2" commit))
        (outputs (list "out"))
        (source
         (origin
@@ -1463,7 +1463,7 @@ (define-public openmw-openscenegraph
           (file-name (git-file-name (package-name openscenegraph) version))
           (sha256
            (base32
-            "05yhgq3qm5q277y32n5sf36vx5nv5qd3zlhz4csgd3a6190jrnia"))))
+            "1qayk2gklm8zvss90dcjfxv6717rvcmwmgmgyy1qzkli67a0zbw2"))))
        (arguments
         (substitute-keyword-arguments (package-arguments openscenegraph)
           ((#:configure-flags flags)
@@ -1471,14 +1471,14 @@ (define-public openmw-openscenegraph
            #~(append
               '("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
                 "-DBUILD_OSG_PLUGIN_OSG=1"
+                "-DBUILD_OSG_PLUGIN_DAE=1"
                 "-DBUILD_OSG_PLUGIN_DDS=1"
                 "-DBUILD_OSG_PLUGIN_TGA=1"
                 "-DBUILD_OSG_PLUGIN_BMP=1"
                 "-DBUILD_OSG_PLUGIN_JPEG=1"
                 "-DBUILD_OSG_PLUGIN_PNG=1"
-                "-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
-                ;; The jpeg plugin requires conversion between integers and booleans
-                "-DCMAKE_CXX_FLAGS=-fpermissive")
+                "-DBUILD_OSG_PLUGIN_FREETYPE=1"
+                "-DBUILD_OSG_DEPRECATED_SERIALIZERS=0")
               #$flags))
           ((#:phases phases)
            #~(modify-phases #$phases
@@ -2589,4 +2589,3 @@ (define-public gpaint
 It features cut-and-paste for irregular regions or polygons.")
     (home-page "https://www.gnu.org/software/gpaint/")
     (license license:gpl3+)))
-

base-commit: 297805b1f83aa58ba9fc775c203373338aafd5ac
--
2.39.2






Information forwarded to guix-patches <at> gnu.org:
bug#62728; Package guix-patches. (Thu, 27 Apr 2023 16:02:02 GMT) Full text and rfc822 format available.

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

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "62728 <at> debbugs.gnu.org" <62728 <at> debbugs.gnu.org>
Subject: Re: [PATCH v2] gnu: openmw-openscenegraph: Update to Nov 2022 commit.
Date: Thu, 27 Apr 2023 16:00:39 +0000
I've rebased the patch against current master, and dropped the build fix since Efraim independently applied the same fix on April 18th.

I feel the package update is still worthwhile since the current commit is extremely old and, according to GitHub, is not a commit in the repo at https://github.com/OpenMW/osg/ (GitHub suggests it may be from a fork of the repo).

Cheers,
Kaelyn




Information forwarded to guix-patches <at> gnu.org:
bug#62728; Package guix-patches. (Thu, 27 Apr 2023 16:03:01 GMT) Full text and rfc822 format available.

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

From: Kaelyn <kaelyn.alexi <at> protonmail.com>
To: "62728 <at> debbugs.gnu.org" <62728 <at> debbugs.gnu.org>
Subject: (No Subject)
Date: Thu, 27 Apr 2023 16:02:39 +0000
retitle 62728 [PATCH] gnu: openmw-openscenegraph: Update to Nov 2022 commit.




Changed bug title to '[PATCH] gnu: openmw-openscenegraph: Update to Nov 2022 commit' from '[PATCH 0/2] Update and fix the build of openmw-openscenegraph.' Request was from Kaelyn <kaelyn.alexi <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 18 Jun 2023 16:17:01 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 18 Jun 2023 21:29:02 GMT) Full text and rfc822 format available.

Notification sent to Kaelyn Takata <kaelyn.alexi <at> protonmail.com>:
bug acknowledged by developer. (Sun, 18 Jun 2023 21:29:02 GMT) Full text and rfc822 format available.

Message #27 received at 62728-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Kaelyn Takata <kaelyn.alexi <at> protonmail.com>
Cc: 62728-done <at> debbugs.gnu.org
Subject: Re: bug#62728: [PATCH 0/2] Update and fix the build of
 openmw-openscenegraph.
Date: Sun, 18 Jun 2023 23:28:08 +0200
Hi,

Kaelyn Takata <kaelyn.alexi <at> protonmail.com> skribis:

> * gnu/packages/graphics.scm (openmw-openscenegraph): Update to Nov 2022 commit.
> [arguments]: Sync the plugin flags with the mentioned wiki page.

Finally applied, thanks!

Ludo’.




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

This bug report was last modified 284 days ago.

Previous Next


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