~sertonix

Recent activity

Re: [PATCH 1/2] add 'meson compile' compatibility a month ago

From Sertonix to ~lattis/muon

> >>> translate 'meson compile' into 'muon samu'. The --ninja-args and --clean
> >>> options are still missing but the common options work.
> >>
> >>
> >> I oppose this patch.
> >>
> >> The `meson compile` command should, generally, not be used. It
> >> implements an incompatible interface to building your code, and
> >> arguments valid for ninja/samurai are *invalid* for passing to `meson
> >> compile` -- and vice versa.
> > 
> > My goal was to test building alpine linux packages with muon without
> > requiring too many muon specific changes. Most alpine packages use `meson
> > compile` so with this compatibility a lot of packages build out of the box.

Re: [PATCH 1/2] add 'meson compile' compatibility a month ago

From Sertonix to ~lattis/muon

> > translate 'meson compile' into 'muon samu'. The --ninja-args and --clean
> > options are still missing but the common options work.
>
>
> I oppose this patch.
>
> The `meson compile` command should, generally, not be used. It
> implements an incompatible interface to building your code, and
> arguments valid for ninja/samurai are *invalid* for passing to `meson
> compile` -- and vice versa.

My goal was to test building alpine linux packages with muon without
requiring too many muon specific changes. Most alpine packages use `meson
compile` so with this compatibility a lot of packages build out of the box.

Re: tests without git tree a month ago

From Sertonix to ~lattis/muon

> Hi, in Debian I've patched this test to use find(1) instead. You can find the patch here: <https://salsa.debian.org/debian/muon-meson/-/commit/884285111e23d598bf0c1cd081a9e90f2e0122a0>

Thanks! That works for now. It would still be nice to fix this upstream
though.

[PATCH 2/2] use external ninja for 'muon samu' when internal samurai is not available a month ago

From Sertonix to ~lattis/muon

This allows always using 'muon samu' even when muan wasn't compiled
with the build-in samurai.

---
 src/main.c | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 9348d1c2..28434e92 100644
--- a/src/main.c
+++ b/src/main.c
@@ -693,7 +693,31 @@ cmd_internal(uint32_t argc, uint32_t argi, char *const argv[])
static bool
[message trimmed]

[PATCH 1/2] add 'meson compile' compatibility a month ago

From Sertonix to ~lattis/muon

translate 'meson compile' into 'muon samu'. The --ninja-args and --clean
options are still missing but the common options work.

---
 src/meson_opts.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/src/meson_opts.c b/src/meson_opts.c
index 0f4a19f3..a10cdf14 100644
--- a/src/meson_opts.c
+++ b/src/meson_opts.c
@@ -331,6 +331,51 @@ translate_meson_opts_install(struct workspace *wk, char *argv[], uint32_t argc,
	return true;
[message trimmed]

[PATCH] check argc before using argv[1] a month ago

From Sertonix to ~lattis/muon

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index db689139..9348d1c2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1084,7 +1084,7 @@ main(int argc, char *argv[])
	{
		SBUF(basename);
		path_basename(NULL, &basename, argv[0]);
		meson_compat = strcmp(basename.buf, "meson") == 0 && strcmp(argv[1], "internal") != 0;
[message trimmed]

[PATCH] fix typo opiton -> option a month ago

From Sertonix to ~lattis/muon

---
 src/script/global_options.meson | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/script/global_options.meson b/src/script/global_options.meson
index 832c3502..7d10fe86 100644
--- a/src/script/global_options.meson
+++ b/src/script/global_options.meson
@@ -151,7 +151,7 @@ option('python.platlibdir', type: 'string', value: '')
option('python.allow_limited_api', type: 'boolean', value: true)

# muon-specific options.  These are safe from being overridden because meson
# forbids . in an opiton name
[message trimmed]

[PATCH] skip gnome tests when gobject-introspection is not found a month ago

From Sertonix to ~lattis/muon

Avoid failing tests when glib is installed but gobject-introspection not.

---
 tests/project/frameworks/7 gnome/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/project/frameworks/7 gnome/meson.build b/tests/project/frameworks/7 gnome/meson.build
index 8870587d..8d9b7b99 100644
--- a/tests/project/frameworks/7 gnome/meson.build	
@@ -12,10 +12,10 @@ if not glib.found()
    error('MESON_SKIP_TEST glib not found.')
endif
[message trimmed]

tests without git tree a month ago

From Sertonix to ~lattis/muon

Hi,

In tests/fmt/test_all_meson_files.meson git is used to search for meson
files. This doesn't work when running the tests from a tarball. Could this
be changed to work without a git tree?

Re: stop encouraging using code-gen's and find an alternative 3 months ago

From Sertonix to ~sircmpwn/hare-rfc

> this is where our opinions might differ, but i always want to have
> generated code to be generated on my local machine because they are
> prety much binary blobs.

+1

I also would not want generated files to be included in a repo.

I wouldn't mind however when they are generated through a separat build
system like make. Unfortunaly hare doesn't integrate well into other
build systems though.