Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Fix flutter build failure
@ 2024-02-19  9:51 Andreas Naumann
  2024-02-19  9:51 ` [Buildroot] [PATCH 1/2] package/flutter-engine: bump to version 3.19.0 Andreas Naumann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andreas Naumann @ 2024-02-19  9:51 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Andreas Naumann

Hello Adam, all,
I was motivated to give flutter a spin after your talk at FOSDEM,
however the recent bump to Python 3.12.1 broke some script during
the flutter-engine configure step.
Fortunately now a new major stable version has been released 3.19.0,
which contains a patch for this.

After bumping engine and sdk they successfully build again, as does
creating the flutter bundles which you provided in
https://github.com/aduskett/buildroot-fosdem2024-flutter-demos

I have not yet been able to run them using ivi-homescreen, but that's
probably due to my target display/wayland setup.

However, the flutter-gallery no longer builds with 3.19, even after
bumping to the main HEAD. Their github README says
"NOTE: The Flutter Gallery is now deprecated, and no longer being active
maintained."
I thought about including a patch for removal of the gallery package,
but that would leave us with no example for how to create a flutter
bundle.


regards,
Andreas


Andreas Naumann (2):
  package/flutter-engine: bump to version 3.19.0
  package/flutter-sdk-bin: bump to version 3.19.0

 package/flutter-engine/flutter-engine.mk     | 2 +-
 package/flutter-sdk-bin/flutter-sdk-bin.hash | 2 +-
 package/flutter-sdk-bin/flutter-sdk-bin.mk   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 1/2] package/flutter-engine: bump to version 3.19.0
  2024-02-19  9:51 [Buildroot] [PATCH 0/2] Fix flutter build failure Andreas Naumann
@ 2024-02-19  9:51 ` Andreas Naumann
  2024-02-19  9:51 ` [Buildroot] [PATCH 2/2] package/flutter-sdk-bin: " Andreas Naumann
  2024-02-19 21:23 ` [Buildroot] [PATCH 0/2] Fix flutter build failure Yann E. MORIN
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Naumann @ 2024-02-19  9:51 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Andreas Naumann

This also fixes an error during configure due to 3.16.8 not being
compatible to Python 3.12 (which we lately bumped to)

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
 package/flutter-engine/flutter-engine.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/flutter-engine/flutter-engine.mk b/package/flutter-engine/flutter-engine.mk
index d08274f546..0d719e29eb 100644
--- a/package/flutter-engine/flutter-engine.mk
+++ b/package/flutter-engine/flutter-engine.mk
@@ -21,7 +21,7 @@
 #
 # There is no hash provided, as the gn binary (used for configuration) relies
 # on the .git directories. As such, a reproducible tarball is not possible.
-FLUTTER_ENGINE_VERSION = 3.16.8
+FLUTTER_ENGINE_VERSION = 3.19.0
 
 # There is nothing for Buildroot to download. This is handled by gclient.
 FLUTTER_ENGINE_SITE =
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/flutter-sdk-bin: bump to version 3.19.0
  2024-02-19  9:51 [Buildroot] [PATCH 0/2] Fix flutter build failure Andreas Naumann
  2024-02-19  9:51 ` [Buildroot] [PATCH 1/2] package/flutter-engine: bump to version 3.19.0 Andreas Naumann
@ 2024-02-19  9:51 ` Andreas Naumann
  2024-02-19 21:23 ` [Buildroot] [PATCH 0/2] Fix flutter build failure Yann E. MORIN
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Naumann @ 2024-02-19  9:51 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Andreas Naumann

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
 package/flutter-sdk-bin/flutter-sdk-bin.hash | 2 +-
 package/flutter-sdk-bin/flutter-sdk-bin.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/flutter-sdk-bin/flutter-sdk-bin.hash b/package/flutter-sdk-bin/flutter-sdk-bin.hash
index 48c9c7d7e3..9200972eb9 100644
--- a/package/flutter-sdk-bin/flutter-sdk-bin.hash
+++ b/package/flutter-sdk-bin/flutter-sdk-bin.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  7cb12032cf615a92a7bc9042100f3f2af62df7df3ca3bee27f4b153fe218b239  flutter_linux_3.16.8-stable.tar.xz
+sha256  4cc1706fbd6e2a5c0ee34a6f8de875aae20904c9f47e18c88d2fcb25d9ea1a79  flutter_linux_3.19.0-stable.tar.xz
 sha256  a598db94b6290ffbe10b5ecf911057b6a943351c727fdda9e5f2891d68700a20  LICENSE
diff --git a/package/flutter-sdk-bin/flutter-sdk-bin.mk b/package/flutter-sdk-bin/flutter-sdk-bin.mk
index 0d9a44596d..7215b45460 100644
--- a/package/flutter-sdk-bin/flutter-sdk-bin.mk
+++ b/package/flutter-sdk-bin/flutter-sdk-bin.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FLUTTER_SDK_BIN_VERSION = 3.16.8
+FLUTTER_SDK_BIN_VERSION = 3.19.0
 FLUTTER_SDK_BIN_SITE = https://storage.googleapis.com/flutter_infra_release/releases/stable/linux
 FLUTTER_SDK_BIN_SOURCE = flutter_linux_$(FLUTTER_SDK_BIN_VERSION)-stable.tar.xz
 FLUTTER_SDK_BIN_LICENSE = BSD-3-Clause
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 0/2] Fix flutter build failure
  2024-02-19  9:51 [Buildroot] [PATCH 0/2] Fix flutter build failure Andreas Naumann
  2024-02-19  9:51 ` [Buildroot] [PATCH 1/2] package/flutter-engine: bump to version 3.19.0 Andreas Naumann
  2024-02-19  9:51 ` [Buildroot] [PATCH 2/2] package/flutter-sdk-bin: " Andreas Naumann
@ 2024-02-19 21:23 ` Yann E. MORIN
  2024-02-20 13:20   ` Marcus Hoffmann via buildroot
  2 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2024-02-19 21:23 UTC (permalink / raw)
  To: Andreas Naumann; +Cc: Adam Duskett, buildroot

Andreas, All,

On 2024-02-19 10:51 +0100, Andreas Naumann spake thusly:
> Hello Adam, all,
> I was motivated to give flutter a spin after your talk at FOSDEM,
> however the recent bump to Python 3.12.1 broke some script during
> the flutter-engine configure step.
> Fortunately now a new major stable version has been released 3.19.0,
> which contains a patch for this.
> 
> After bumping engine and sdk they successfully build again, as does
> creating the flutter bundles which you provided in
> https://github.com/aduskett/buildroot-fosdem2024-flutter-demos
> 
> I have not yet been able to run them using ivi-homescreen, but that's
> probably due to my target display/wayland setup.
> 
> However, the flutter-gallery no longer builds with 3.19, even after
> bumping to the main HEAD. Their github README says
> "NOTE: The Flutter Gallery is now deprecated, and no longer being active
> maintained."
> I thought about including a patch for removal of the gallery package,
> but that would leave us with no example for how to create a flutter
> bundle.

The upstream repository has also been "archived", which means it is
frozen and will never get fixed, ever.

That's a bit unfortunate indeed, but we don't have much choice going
forward: we'll have to drop that package in the near future, but not
now: we're still considering reverting the python 3.12 version bump for
2024.02, as it still causes issues in the target==build case, which
means we'd be able to keep the current flutter stack for 2024.02 LTS.

Then, we can reintroduce python3, the flutter-engine bumps in this
series, and drop flutter-gfallery, hopefully introducing another package
as an example on how to build flutter packages...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 0/2] Fix flutter build failure
  2024-02-19 21:23 ` [Buildroot] [PATCH 0/2] Fix flutter build failure Yann E. MORIN
@ 2024-02-20 13:20   ` Marcus Hoffmann via buildroot
  2024-02-22 22:43     ` Adam Duskett
  0 siblings, 1 reply; 6+ messages in thread
From: Marcus Hoffmann via buildroot @ 2024-02-20 13:20 UTC (permalink / raw)
  To: Yann E. MORIN, Andreas Naumann; +Cc: Adam Duskett, buildroot

Hi Andreas, Yann, all

On 19.02.24 22:23, Yann E. MORIN wrote:
> Andreas, All,
> 
> On 2024-02-19 10:51 +0100, Andreas Naumann spake thusly:
>> Hello Adam, all,
>> I was motivated to give flutter a spin after your talk at FOSDEM,
>> however the recent bump to Python 3.12.1 broke some script during
>> the flutter-engine configure step.
>> Fortunately now a new major stable version has been released 3.19.0,
>> which contains a patch for this.
>>
>> After bumping engine and sdk they successfully build again, as does
>> creating the flutter bundles which you provided in
>> https://github.com/aduskett/buildroot-fosdem2024-flutter-demos
>>
>> I have not yet been able to run them using ivi-homescreen, but that's
>> probably due to my target display/wayland setup.
>>
>> However, the flutter-gallery no longer builds with 3.19, even after
>> bumping to the main HEAD. Their github README says
>> "NOTE: The Flutter Gallery is now deprecated, and no longer being active
>> maintained."
>> I thought about including a patch for removal of the gallery package,
>> but that would leave us with no example for how to create a flutter
>> bundle.
> 
> The upstream repository has also been "archived", which means it is
> frozen and will never get fixed, ever.
> 
> That's a bit unfortunate indeed, but we don't have much choice going
> forward: we'll have to drop that package in the near future, but not
> now: we're still considering reverting the python 3.12 version bump for
> 2024.02, as it still causes issues in the target==build case, which
> means we'd be able to keep the current flutter stack for 2024.02 LTS.
> 
> Then, we can reintroduce python3, the flutter-engine bumps in this
> series, and drop flutter-gfallery, hopefully introducing another package
> as an example on how to build flutter packages...

The archived repo page links to 
https://github.com/gskinnerTeam/flutter-wonderous-app and 
https://github.com/flutter/samples/tree/main/material_3_demo as 
replacement showcases.

I wonder how long these will last... :-/.

Marcus
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 0/2] Fix flutter build failure
  2024-02-20 13:20   ` Marcus Hoffmann via buildroot
@ 2024-02-22 22:43     ` Adam Duskett
  0 siblings, 0 replies; 6+ messages in thread
From: Adam Duskett @ 2024-02-22 22:43 UTC (permalink / raw)
  To: Marcus Hoffmann; +Cc: Yann E. MORIN, Andreas Naumann, buildroot

Hello;

Sorry for the late reply, I have been quite sick the last week and didn't want
to do anything but lay in the bed and sleep! :)




On Tue, Feb 20, 2024 at 6:20 AM Marcus Hoffmann <buildroot@bubu1.eu> wrote:
>
> Hi Andreas, Yann, all
>
> On 19.02.24 22:23, Yann E. MORIN wrote:
> > Andreas, All,
> >
> > On 2024-02-19 10:51 +0100, Andreas Naumann spake thusly:
> >> Hello Adam, all,
> >> I was motivated to give flutter a spin after your talk at FOSDEM,
Wonderful!

> >> however the recent bump to Python 3.12.1 broke some script during
> >> the flutter-engine configure step.
That's quite unfortunate!

> >> Fortunately, now a new major stable version has been released 3.19.0,
> >> which contains a patch for this.
> >>
> >> After bumping engine and sdk they successfully build again, as does
> >> creating the flutter bundles which you provided in
> >> https://github.com/aduskett/buildroot-fosdem2024-flutter-demos
> >>
> >> I have not yet been able to run them using ivi-homescreen, but that's
> >> probably due to my target display/wayland setup.
> >>
The x86_64 defconfig has a wayland demo. You can run `start_sway`
to run sway, hit `windows + enter` to open a terminal.

> >> However, the flutter-gallery no longer builds with 3.19, even after
> >> bumping to the main HEAD. Their github README says
> >> "NOTE: The Flutter Gallery is now deprecated, and no longer being active
> >> maintained."
Yes, I think I would like to switch to the flutter-packages repository found
here: https://github.com/flutter/packages

I have several of them ported already found here:
https://github.com/aduskett/buildroot-fosdem2024-flutter-demos/tree/2023.11.1/fosdem/package/flutter-packages
Although I am not sure if the maintainers would want such a package...
especially how it is laid out in the above directory.

> >> I thought about including a patch for removal of the gallery package,
> >> but that would leave us with no example for how to create a flutter
> >> bundle.
> >
Yeah, see above.

> > The upstream repository has also been "archived", which means it is
> > frozen and will never get fixed, ever.
> >
> > That's a bit unfortunate indeed, but we don't have much choice going
> > forward: we'll have to drop that package in the near future, but not
> > now: we're still considering reverting the python 3.12 version bump for
> > 2024.02, as it still causes issues in the target==build case, which
> > means we'd be able to keep the current flutter stack for 2024.02 LTS.
> >
> > Then, we can reintroduce python3, the flutter-engine bumps in this
> > series, and drop flutter-gfallery, hopefully introducing another package
> > as an example on how to build flutter packages...
>
> The archived repo page links to
> https://github.com/gskinnerTeam/flutter-wonderous-app and
> https://github.com/flutter/samples/tree/main/material_3_demo as
> replacement showcases.
>
> I wonder how long these will last... :-/.
>
> Marcus
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-02-22 22:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19  9:51 [Buildroot] [PATCH 0/2] Fix flutter build failure Andreas Naumann
2024-02-19  9:51 ` [Buildroot] [PATCH 1/2] package/flutter-engine: bump to version 3.19.0 Andreas Naumann
2024-02-19  9:51 ` [Buildroot] [PATCH 2/2] package/flutter-sdk-bin: " Andreas Naumann
2024-02-19 21:23 ` [Buildroot] [PATCH 0/2] Fix flutter build failure Yann E. MORIN
2024-02-20 13:20   ` Marcus Hoffmann via buildroot
2024-02-22 22:43     ` Adam Duskett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox