Package Details: muon-meson-git 0.2.0+13.gdc432474c0-1

Git Clone URL: https://aur.archlinux.org/muon-meson-git.git (read-only, click to copy)
Package Base: muon-meson-git
Description: meson implementation in C
Upstream URL: https://sr.ht/~lattis/muon
Licenses: GPL3
Conflicts: muon-meson
Provides: muon
Submitter: fossdd
Maintainer: fossdd
Last Packager: 1ace
Votes: 2
Popularity: 0.21
First Submitted: 2021-06-12 12:04 (UTC)
Last Updated: 2023-05-01 18:47 (UTC)

Latest Comments

« First ‹ Previous 1 2

fossdd commented on 2022-04-24 05:02 (UTC)

Hey @1ace,

i've added you now as a co-maintainer for this package.

Currently i'm busy and could'nt apply your patch.

Thank you for helping.

1ace commented on 2022-04-23 18:35 (UTC)

Hi @fossdd!
Could you change these two lines, so that everything upstream wants gets included in this package?
Right now this simply adds the missing man pages.
Thanks :)

diff --git a/PKGBUILD b/PKGBUILD
index b74ddd4a366af93805af..53c67e7014b23e534dd1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,11 +24,11 @@ pkgver() {

 build() {
   cd "$_pkgname"
-  meson build
+  meson build -D prefix=/usr
   ninja -C build
 }

 package() {
   cd "$_pkgname"
-  install -Dm755 "build/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+  DESTDIR="$pkgdir" ninja -C build install
 }

Btw, if you're looking for someone to help maintain this package, feel free to add me as a co-maintainer :)

gustafla commented on 2022-02-27 20:29 (UTC)

Right now this also build-time depends on python-yaml. Without it, I get

muon 0.0.1

    libcurl   : True
    libarchive: True
    libpkgconf: True
    samurai   : False
    docs      : True

  Subprojects
    meson-docs: YES

Found ninja-1.9 at /usr/bin/ninja
ninja: entering directory 'build'
[1/95] Generating subprojects/meson-docs/meson_reference.3 with a custom command
[2/95] Generating doc/meson.build.5.scd with a custom command (wrapped by meson to capture output)
[3/95] Generating doc/muon.1.scd with a custom command (wrapped by meson to capture output)
[4/95] Compiling C object tests/unit/path.p/path.c.o
[5/95] Compiling C object tools/embedder.p/embedder.c.o
[6/95] Compiling C object tools/embedder.p/.._src_platform_path.c.o
[7/95] Compiling C object tools/embedder.p/.._src_platform_mem.c.o
[8/95] Compiling C object tools/embedder.p/.._src_platform_filesystem.c.o
[9/95] Compiling C object tools/embedder.p/.._src_log.c.o
[10/95] Compiling C object tools/embedder.p/.._src_error.c.o
ninja: job failed: /home/gustafla/.cache/paru/clone/muon-meson-git/src/muon/subprojects/meson-docs/docs/genrefman.py -q -l fastyaml -g man -o subprojects/meson-docs/meson-reference.3 --no-modules
Traceback (most recent call last):
  File "/home/gustafla/.cache/paru/clone/muon-meson-git/src/muon/subprojects/meson-docs/docs/genrefman.py", line 27, in <module>
    raise SystemExit(main())
  File "/home/gustafla/.cache/paru/clone/muon-meson-git/src/muon/subprojects/meson-docs/docs/refman/main.py", line 60, in main
    loader = loaders[args.loader]()
  File "/home/gustafla/.cache/paru/clone/muon-meson-git/src/muon/subprojects/meson-docs/docs/refman/main.py", line 56, in <lambda>
    'fastyaml': lambda: LoaderYAML(args.input, strict=False),
  File "/home/gustafla/.cache/paru/clone/muon-meson-git/src/muon/subprojects/meson-docs/docs/refman/loaderyaml.py", line 175, in __init__
    from yaml import CLoader
ImportError: cannot import name 'CLoader' from 'yaml' (unknown location)
ninja: subcommand failed

gustafla commented on 2022-02-22 08:51 (UTC)

@aperez: The patch is good, but do you know what can we do to get this package to use it? Should you/I create a new one, calling it like muon-samurai-git?

aperez commented on 2021-12-21 09:01 (UTC)

@pyxel: You are right, Ninja is not needed at all and I have this patch applied locally to bootstrap Muon—it also enables the internal copy of Samurai, to have a full self-contained build tool that doesn't require other tools.

It would be great if @fossdd could apply the patch :)

pyxel commented on 2021-11-07 04:27 (UTC)

Is there a reason why meson is required when muon can bootstrap itself?