unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72596] [PATCH] gnu: mrg: Fix the build.
@ 2024-08-12 21:45 Artyom V. Poptsov
  2024-08-17  6:05 ` Zheng Junjie
  2024-08-31 16:41 ` bug#72596: " Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Artyom V. Poptsov @ 2024-08-12 21:45 UTC (permalink / raw)
  To: 72596; +Cc: Artyom V. Poptsov

* gnu/packages/graphics.scm (mrg): Fix the build.
[arguments]: Add "patch-meson-build" phase.
[home-page]: Fix the URL.

Change-Id: If6f1a255e864669a10c646ee0d991e6fabdcb6b9
---
 gnu/packages/graphics.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 8eae1ed89d..1d5fc1e4da 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -162,6 +162,16 @@ (define-public mmm
        (sha256
         (base32 "1xmcv6rwinqsbr863rgl9005h2jlmd7k2qrwsc1h4fb8r61ykpjl"))))
     (build-system meson-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        ;; XXX: Meson build fails due to a misspelling of
+                        ;; "description" keyword in the configuration.  This phase
+                        ;; fixes that.
+                        (add-after 'unpack 'patch-meson-build
+                          (lambda _
+                            (substitute* "meson.build"
+                              (("not stable, Description:")
+                               "not stable, description:")))))))
     (native-inputs
      (list luajit pkg-config))
     (inputs
@@ -169,7 +179,7 @@ (define-public mmm
     (synopsis "Memory Mapped Machine")
     (description "MMM is a shared memory protocol for virtualising access to
 framebuffer graphics, audio output and input event.")
-    (home-page "https://github.com/hodefoting/mrg")
+    (home-page "https://github.com/hodefoting/mmm")
     (license license:isc)))
 
 (define-public directfb

base-commit: 487dd0077fed2ef7a91bd71af0e23421ab715710
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#72596] [PATCH] gnu: mrg: Fix the build.
  2024-08-12 21:45 [bug#72596] [PATCH] gnu: mrg: Fix the build Artyom V. Poptsov
@ 2024-08-17  6:05 ` Zheng Junjie
  2024-08-31 16:44   ` Ludovic Courtès
  2024-08-31 16:41 ` bug#72596: " Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Zheng Junjie @ 2024-08-17  6:05 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 72596

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:

> * gnu/packages/graphics.scm (mrg): Fix the build.
> [arguments]: Add "patch-meson-build" phase.
> [home-page]: Fix the URL.
>
> Change-Id: If6f1a255e864669a10c646ee0d991e6fabdcb6b9
> ---
>  gnu/packages/graphics.scm | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
> index 8eae1ed89d..1d5fc1e4da 100644
> --- a/gnu/packages/graphics.scm
> +++ b/gnu/packages/graphics.scm
> @@ -162,6 +162,16 @@ (define-public mmm
>         (sha256
>          (base32 "1xmcv6rwinqsbr863rgl9005h2jlmd7k2qrwsc1h4fb8r61ykpjl"))))
>      (build-system meson-build-system)
> +    (arguments
> +     (list #:phases #~(modify-phases %standard-phases
> +                        ;; XXX: Meson build fails due to a misspelling of
> +                        ;; "description" keyword in the configuration.  This phase
> +                        ;; fixes that.
> +                        (add-after 'unpack 'patch-meson-build
> +                          (lambda _
> +                            (substitute* "meson.build"
> +                              (("not stable, Description:")
> +                               "not stable, description:")))))))

see https://github.com/hodefoting/mrg/blob/master/README.md
Microraptor gui is discontinued

maybe we should drop this package.


>      (native-inputs
>       (list luajit pkg-config))
>      (inputs
> @@ -169,7 +179,7 @@ (define-public mmm
>      (synopsis "Memory Mapped Machine")
>      (description "MMM is a shared memory protocol for virtualising access to
>  framebuffer graphics, audio output and input event.")
> -    (home-page "https://github.com/hodefoting/mrg")
> +    (home-page "https://github.com/hodefoting/mmm")

should new patch.

>      (license license:isc)))
>  
>  (define-public directfb
>
> base-commit: 487dd0077fed2ef7a91bd71af0e23421ab715710

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#72596: [PATCH] gnu: mrg: Fix the build.
  2024-08-12 21:45 [bug#72596] [PATCH] gnu: mrg: Fix the build Artyom V. Poptsov
  2024-08-17  6:05 ` Zheng Junjie
@ 2024-08-31 16:41 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-08-31 16:41 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 72596-done

"Artyom V. Poptsov" <poptsov.artyom@gmail.com> skribis:

> * gnu/packages/graphics.scm (mrg): Fix the build.
> [arguments]: Add "patch-meson-build" phase.
> [home-page]: Fix the URL.
>
> Change-Id: If6f1a255e864669a10c646ee0d991e6fabdcb6b9

Finally applied, thanks!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#72596] [PATCH] gnu: mrg: Fix the build.
  2024-08-17  6:05 ` Zheng Junjie
@ 2024-08-31 16:44   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-08-31 16:44 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: Artyom V. Poptsov, 72596

Hi Zheng,

Zheng Junjie <zhengjunjie@iscas.ac.cn> skribis:

> "Artyom V. Poptsov" <poptsov.artyom@gmail.com> writes:
>
>> * gnu/packages/graphics.scm (mrg): Fix the build.
>> [arguments]: Add "patch-meson-build" phase.
>> [home-page]: Fix the URL.
>>
>> Change-Id: If6f1a255e864669a10c646ee0d991e6fabdcb6b9

[...]

>> +                            (substitute* "meson.build"
>> +                              (("not stable, Description:")
>> +                               "not stable, description:")))))))
>
> see https://github.com/hodefoting/mrg/blob/master/README.md
> Microraptor gui is discontinued
>
> maybe we should drop this package.

[...]

>> +    (home-page "https://github.com/hodefoting/mmm")
>
> should new patch.

I applied the patch anyway because it fixes an immediate issue, and
moving the ‘home-page’ to a separate patch is not worth the trouble and
cognitive overhead.  I hope that makes sense.

If you think there are good reasons to remove the package, maybe submit
a patch doing so?

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-31 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 21:45 [bug#72596] [PATCH] gnu: mrg: Fix the build Artyom V. Poptsov
2024-08-17  6:05 ` Zheng Junjie
2024-08-31 16:44   ` Ludovic Courtès
2024-08-31 16:41 ` bug#72596: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).