Skip to contentSkip to conversation

package/meson: bump version to 0.52.0

PATCH New Marcin Niestroj 6 participants 6 messages Oct 14, 2019 – Oct 15, 2019 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

---
 package/meson/meson.hash | 4 ++--
 package/meson/meson.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/meson/meson.hash +2 -2
index cfe859d2ee..26b1fc9bb2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/0.51.2/meson-0.51.2.tar.gz.asc
-sha256 23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76 meson-0.51.2.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/0.52.0/meson-0.52.0.tar.gz.asc
+sha256 d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32 meson-0.52.0.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -1
index a664c55f55..29a192c569 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MESON_VERSION = 0.51.2
+MESON_VERSION = 0.52.0
 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 MESON_LICENSE = Apache-2.0
 MESON_LICENSE_FILES = COPYING
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

Hey Marcin;

Reading through the release notes, there is a new feature for 0.52.0 that seems interesting:
https://mesonbuild.com/Release-notes-for-0-52-0.html

Enhancements to the pkg_config_path argument
"Setting sys_root in the [properties] section of your cross-file will now set PKG_CONFIG_SYSROOT_DIR automatically for host system dependencies when cross-compiling."

Perhaps we should add this to our cross-compilation.conf.in file.

Perhaps Thomas, Yann, or Arnout could weight in?

Quoted 38 lines · Marcin Niestroj
---
 package/meson/meson.hash | 4 ++--
 package/meson/meson.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/meson/meson.hash +2 -2
index cfe859d2ee..26b1fc9bb2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/0.51.2/meson-0.51.2.tar.gz.asc
-sha256 23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76 meson-0.51.2.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/0.52.0/meson-0.52.0.tar.gz.asc
+sha256 d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32 meson-0.52.0.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -2
index a664c55f55..29a192c569 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MESON_VERSION = 0.51.2
+MESON_VERSION = 0.52.0
 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 MESON_LICENSE = Apache-2.0
 MESON_LICENSE_FILES = COPYING
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

Adam, All,

(note that James already sent the same version bump a few hours earlier,
too: https://patchwork.ozlabs.org/patch/1176087/)

On 2019-10-14 09:22 -0700, Adam Duskett spake thusly:

Quoted 4 lines

Reading through the release notes, there is a new feature for 0.52.0 that seems interesting:
https://mesonbuild.com/Release-notes-for-0-52-0.html

Quoted 8 lines

Enhancements to the pkg_config_path argument
"Setting sys_root in the [properties] section of your cross-file will now set PKG_CONFIG_SYSROOT_DIR automatically for host system dependencies when cross-compiling."

Perhaps we should add this to our cross-compilation.conf.in file.

Perhaps Thomas, Yann, or Arnout could weight in?

Why would we need a meson-only solution, when we already have a pkg-config wrapper that already sets it correctly, and works for all the buildsystems we support?

I mean, even if we were to use the meson way via cross-compilation.conf, we would still have to address the other buildsystems, so we could not drop our existing wrapper. So, what's the point in implementing the meson-way when it already works with the generic way?

Yeah, I know that by the meson people, everything should be converted over, but that is not the real world we're living in... ;-)

Regards,
Yann E. MORIN.

Quoted 42 lines
Quoted 38 lines · Marcin Niestroj
---
 package/meson/meson.hash | 4 ++--
 package/meson/meson.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/meson/meson.hash +2 -2
index cfe859d2ee..26b1fc9bb2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/0.51.2/meson-0.51.2.tar.gz.asc
-sha256 23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76 meson-0.51.2.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/0.52.0/meson-0.52.0.tar.gz.asc
+sha256 d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32 meson-0.52.0.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -2
index a664c55f55..29a192c569 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MESON_VERSION = 0.51.2
+MESON_VERSION = 0.52.0
 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 MESON_LICENSE = Apache-2.0
 MESON_LICENSE_FILES = COPYING
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

Quoted 15 lines · Yann E. MORIN

Adam, All,

(note that James already sent the same version bump a few hours earlier,
too: https://patchwork.ozlabs.org/patch/1176087/)

On 2019-10-14 09:22 -0700, Adam Duskett spake thusly:

Quoted 9 lines

Reading through the release notes, there is a new feature for 0.52.0 that seems interesting:
https://mesonbuild.com/Release-notes-for-0-52-0.html

Enhancements to the pkg_config_path argument
"Setting sys_root in the [properties] section of your cross-file will now set PKG_CONFIG_SYSROOT_DIR automatically for host system dependencies when cross-compiling."

Quoted 7 lines
Quoted 3 lines

Perhaps we should add this to our cross-compilation.conf.in file.

Perhaps Thomas, Yann, or Arnout could weight in?

Why would we need a meson-only solution, when we already have a pkg-config wrapper that already sets it correctly, and works for all the buildsystems we support?

Except that it doesn't...

meson at least has good support for cross-compilation, including support for
building tools for the build machine as part of the compilation process. However, that currently doesn't work completely because of pkg-config. Indeed, the same pkg-config will be used for build and for target.

This sys_root option could help with that, because we could set pkgconfig
directly to $(HOST_DIR)/bin/pkgconf instead of the wrapper (and configure pkgconf with $(HOST_DIR) as sysroot by default; the actual sysroot is anyway going to be set by the wrapper script).

Unfortunately, this is not a complete solution because we still have the
-static flag that we add in the wrapper script. I don't know if meson has support for that.

And regardless, I think the personality approach is probably easier (I think
meson already supported that out of the box before). And as you say, it is usable beyond just meson.

Regards,
Arnout

Quoted 55 lines

I mean, even if we were to use the meson way via cross-compilation.conf, we would still have to address the other buildsystems, so we could not drop our existing wrapper. So, what's the point in implementing the meson-way when it already works with the generic way?

Yeah, I know that by the meson people, everything should be converted over, but that is not the real world we're living in... ;-)

Regards,
Yann E. MORIN.

Quoted 42 lines
Quoted 38 lines · Marcin Niestroj
---
 package/meson/meson.hash | 4 ++--
 package/meson/meson.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/meson/meson.hash +2 -2
index cfe859d2ee..26b1fc9bb2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/0.51.2/meson-0.51.2.tar.gz.asc
-sha256 23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76 meson-0.51.2.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/0.52.0/meson-0.52.0.tar.gz.asc
+sha256 d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32 meson-0.52.0.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -2
index a664c55f55..29a192c569 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MESON_VERSION = 0.51.2
+MESON_VERSION = 0.52.0
 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 MESON_LICENSE = Apache-2.0
 MESON_LICENSE_FILES = COPYING
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#4 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

Quoted 5 lines · On Tue, 15 Oct 2019 09:41:16 +0200 Arnout Vandecappelle <[email protected]> wrote:

meson at least has good support for cross-compilation, including support for
building tools for the build machine as part of the compilation process. However, that currently doesn't work completely because of pkg-config. Indeed, the same pkg-config will be used for build and for target.

Quoted 8 lines

This sys_root option could help with that, because we could set pkgconfig
directly to $(HOST_DIR)/bin/pkgconf instead of the wrapper (and configure pkgconf with $(HOST_DIR) as sysroot by default; the actual sysroot is anyway going to be set by the wrapper script).

Unfortunately, this is not a complete solution because we still have the
-static flag that we add in the wrapper script. I don't know if meson has support for that.

I haven't thought this through completely, but I believe that per-package support also requires some flexibility that the wrapper provides. But again, I haven't thought this through entirely, maybe it would be doable with the meson sys_root option.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

PATCH 1/1 package/meson: bump version to 0.52.0

In reply to Marcin Niestroj

This is a duplicate of https://patchwork.ozlabs.org/patch/1176087/

Quoted 38 lines · Marcin Niestroj
---
 package/meson/meson.hash | 4 ++--
 package/meson/meson.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/meson/meson.hash +2 -2
index cfe859d2ee..26b1fc9bb2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/0.51.2/meson-0.51.2.tar.gz.asc
-sha256 23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76 meson-0.51.2.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/0.52.0/meson-0.52.0.tar.gz.asc
+sha256 d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32 meson-0.52.0.tar.gz
 sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -2
index a664c55f55..29a192c569 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MESON_VERSION = 0.51.2
+MESON_VERSION = 0.52.0
 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
 MESON_LICENSE = Apache-2.0
 MESON_LICENSE_FILES = COPYING
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot