From 89b1942c58fed5fb1458fb4ed7c5c16558c4da9c Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 18:35:00 -0500 Subject: [PATCH 01/11] chore (arduino-app-lab): build from source, rename to remove the -bin, fix licenses, clean up spec Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/anda.hcl | 6 ++ .../arduino-app-lab/arduino-app-lab.spec | 82 +++++++++++++++++++ .../arduino-app-lab/cc.arduino.AppLab.desktop | 11 +++ .../cc.arduino.AppLab.metainfo.xml | 25 ++++++ anda/tools/arduino-app-lab/update.rhai | 3 + 5 files changed, 127 insertions(+) create mode 100644 anda/tools/arduino-app-lab/anda.hcl create mode 100644 anda/tools/arduino-app-lab/arduino-app-lab.spec create mode 100644 anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop create mode 100644 anda/tools/arduino-app-lab/cc.arduino.AppLab.metainfo.xml create mode 100644 anda/tools/arduino-app-lab/update.rhai diff --git a/anda/tools/arduino-app-lab/anda.hcl b/anda/tools/arduino-app-lab/anda.hcl new file mode 100644 index 00000000000..e0339c588e8 --- /dev/null +++ b/anda/tools/arduino-app-lab/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "arduino-app-lab.spec" + } +} diff --git a/anda/tools/arduino-app-lab/arduino-app-lab.spec b/anda/tools/arduino-app-lab/arduino-app-lab.spec new file mode 100644 index 00000000000..fb7a459f5c0 --- /dev/null +++ b/anda/tools/arduino-app-lab/arduino-app-lab.spec @@ -0,0 +1,82 @@ +%global appid cc.arduino.AppLab +%define debug_package %{nil} + +Name: arduino-app-lab +Version: 0.5.0 +Release: 2%?dist +Summary: A powerful visual environment for managing the Arduino UNO Q + +Provides: arduino-app-lab +URL: https://www.arduino.cc/en/software +License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND Apache-2.0 AND MIT AND ISC AND BSD-2-Clause AND 0BSD AND AGPL-3.0-or-later AND BlueOak-1.0.0 AND Python-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND Unlicense + +Source0: https://github.com/arduino/arduino-app-lab/archive/refs/tags/al-%{version}.tar.gz +Source1: cc.arduino.AppLab.desktop +Source2: cc.arduino.AppLab.metainfo.xml + +ExclusiveArch: x86_64 + +Requires: android-tools + +BuildRequires: desktop-file-utils +BuildRequires: yarnpkg +BuildRequires: wails +BuildRequires: webkit2gtk4.1-devel +BuildRequires: golang +BuildRequires: wget +BuildRequires: jq + +Suggests: arduino-flasher-cli +Suggests: arduino-app-cli + +Obsoletes: arduino-app-lab-bin < 0.5.0-2 + +Packager: Jaiden Riordan , Owen Zimmerman + +%description +%{summary}. + +%prep +%autosetup -n %{name}-al-%{version} + +%conf +%{__yarn} + +pushd standalone-apps/app-lab-desktop/internal/board/ +./download_resources.sh +popd + +%build +pushd standalone-apps/app-lab-desktop +wails build -tags webkit2_41 +popd + +%install +install -Dm755 standalone-apps/app-lab-desktop/build/bin/ArduinoAppLab %{buildroot}%{_bindir}/%{name} + +install -Dm644 standalone-apps/app-lab-desktop/build/appicon.png %{buildroot}%{_hicolordir}/512x512/apps/%{appid}.png + +%desktop_file_install %{S:1} + +%terra_appstream -o %{S:2} + +%check +desktop-file-validate %{buildroot}%{_appsdir}/%{appid}.desktop + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_hicolordir}/512x512/apps/%{appid}.png +%{_appsdir}/%{appid}.desktop +%{_metainfodir}/%{appid}.metainfo.xml + +%changelog +* Thu Dec 25 2025 Owen Zimmerman +- Build from source, clean some stuff up, add third party licenses + +* Thu Dec 25 2025 Owen Zimmerman +- Add %check, update macros + +* Thu Dec 4 2025 Jaiden Riordan +- Package arduino-app-lab-bin diff --git a/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop b/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop new file mode 100644 index 00000000000..e0b0e46111e --- /dev/null +++ b/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Arduino App Lab +Comment=A powerful visual environment for managing the Arduino UNO Q +Exec=arduino-app-lab +Icon=cc.arduino.AppLab +Terminal=false +Type=Application +Categories=Development +StartupNotify=true +Keywords=arduino;applab;lab +StartupWMClass=arduino-app-lab-bin diff --git a/anda/tools/arduino-app-lab/cc.arduino.AppLab.metainfo.xml b/anda/tools/arduino-app-lab/cc.arduino.AppLab.metainfo.xml new file mode 100644 index 00000000000..9d703d791a5 --- /dev/null +++ b/anda/tools/arduino-app-lab/cc.arduino.AppLab.metainfo.xml @@ -0,0 +1,25 @@ + + + cc.arduino.AppLab + CC0-1.0 + GPL-3.0 + + Arduino App Lab + A powerful visual environment for managing the Arduino UNO Q + + + /usr/share/icons/hicolor/scalable/apps/cc.arduino.AppLab.svg + + +

+ A powerful visual environment for managing your UNO Q board — combine prebuilt modules, called Bricks, with AI models to define your board’s behavior with ease. + App Lab supports both classic C++ sketches via the Arduino IDE and Python, giving you full flexibility to develop the way you prefer. +

+
+ https://arduino.cc + + + + +
diff --git a/anda/tools/arduino-app-lab/update.rhai b/anda/tools/arduino-app-lab/update.rhai new file mode 100644 index 00000000000..49158f58837 --- /dev/null +++ b/anda/tools/arduino-app-lab/update.rhai @@ -0,0 +1,3 @@ +let v = gh("arduino/arduino-app-lab"); +v.crop(3); +print(v); From 31803f396192f8689ba054ddf88ff07c1091511a Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 18:35:30 -0500 Subject: [PATCH 02/11] fmt Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/anda.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/arduino-app-lab/anda.hcl b/anda/tools/arduino-app-lab/anda.hcl index e0339c588e8..2f9452695a6 100644 --- a/anda/tools/arduino-app-lab/anda.hcl +++ b/anda/tools/arduino-app-lab/anda.hcl @@ -1,5 +1,5 @@ project pkg { - arches = ["x86_64"] + arches = ["x86_64"] rpm { spec = "arduino-app-lab.spec" } From 3c1989b82930d5552d50f726cf9c4b0551653ada Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:19 -0500 Subject: [PATCH 03/11] Delete anda/tools/arduino-app-lab-bin/anda.hcl Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/tools/arduino-app-lab-bin/anda.hcl | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 anda/tools/arduino-app-lab-bin/anda.hcl diff --git a/anda/tools/arduino-app-lab-bin/anda.hcl b/anda/tools/arduino-app-lab-bin/anda.hcl deleted file mode 100644 index de334de7532..00000000000 --- a/anda/tools/arduino-app-lab-bin/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "arduino-app-lab-bin.spec" - } -} \ No newline at end of file From 08723f91eded6acdd6edbf5acfdf4e7a47f0aea9 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:26 -0500 Subject: [PATCH 04/11] Delete anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- .../arduino-app-lab-bin.spec | 64 ------------------- 1 file changed, 64 deletions(-) delete mode 100644 anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec diff --git a/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec b/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec deleted file mode 100644 index 8f389ec95f9..00000000000 --- a/anda/tools/arduino-app-lab-bin/arduino-app-lab-bin.spec +++ /dev/null @@ -1,64 +0,0 @@ -%global appid cc.arduino.AppLab - -Name: arduino-app-lab-bin -Version: 0.5.0 -Release: 1%?dist -Summary: A powerful visual environment for managing the Arduino UNO Q - -Provides: arduino-app-lab -URL: https://www.arduino.cc/en/software -License: GPL-3.0 - -Source0: https://downloads.arduino.cc/AppLab/Stable/ArduinoAppLab_%{version}_Linux_x86-64.tar.gz -Source1: https://downloads.arduino.cc/AppLab/Stable/source-app-lab-%{version}.zip -Source2: cc.arduino.AppLab.desktop -Source3: cc.arduino.AppLab.metainfo.xml - -ExclusiveArch: x86_64 - -Requires: android-tools - -BuildRequires: terra-appstream-helper desktop-file-utils - -Suggests: arduino-flasher-cli arduino-app-cli - -Packager: Jaiden Riordan - -%description -%summary. - -%prep -tar -xvf %{_sourcedir}/ArduinoAppLab_%{version}_Linux_x86-64.tar.gz -unzip %{_sourcedir}/source-app-lab-%{version}.zip - -%install -install -dm755 %{buildroot}%{_bindir} -install -p -m755 ArduinoAppLab_%{version}_Linux_x86-64/arduino-app-lab %{buildroot}%{_bindir}/%{name} - -install -dm755 %{buildroot}%{_scalableiconsdir}/ -install -p -m644 source-app-lab/ui-packages/images/assets/round-arduino-logo.svg %{buildroot}%{_scalableiconsdir}/cc.arduino.AppLab.svg - -install -dm755 %{buildroot}%{_appsdir}/ -install -p -m644 %{SOURCE2} %{buildroot}%{_appsdir}/%{appid}.desktop - -cp source-app-lab/LICENSE -t . -cp source-app-lab/dependency_licenses -t . - -%terra_appstream -o %{SOURCE3} - -%check -desktop-file-validate %{buildroot}%{_appsdir}/%{appid}.desktop - -%files -%license LICENSE -%license dependency_licenses -%{_bindir}/%{name} -%{_scalableiconsdir}/%{appid}.svg -%{_appsdir}/%{appid}.desktop -%{_metainfodir}/%{appid}.metainfo.xml - -%changelog -* Thu Dec 25 2025 Owen Zimmerman -- Add %check, update macros -* Thu Dec 4 2025 Jaiden Riordan -- Package arduino-app-lab-bin From ae58a283fb26ce26b224ca5474379f40f9c518fb Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:33 -0500 Subject: [PATCH 05/11] Delete anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- .../arduino-app-lab-bin/cc.arduino.AppLab.desktop | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop diff --git a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop deleted file mode 100644 index 0f3d196354c..00000000000 --- a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Name=Arduino App Lab -Comment=A powerful visual environment for managing the Arduino UNO Q -Exec=arduino-app-lab-bin -Icon=cc.arduino.AppLab -Terminal=false -Type=Application -Categories=Development -StartupNotify=true -Keywords=arduino;applab;lab -StartupWMClass=arduino-app-lab-bin \ No newline at end of file From 989c3a657928a2c0b31612109f42a8dd7826eacd Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:40 -0500 Subject: [PATCH 06/11] Delete anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- .../cc.arduino.AppLab.metainfo.xml | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml diff --git a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml b/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml deleted file mode 100644 index 9d703d791a5..00000000000 --- a/anda/tools/arduino-app-lab-bin/cc.arduino.AppLab.metainfo.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - cc.arduino.AppLab - CC0-1.0 - GPL-3.0 - - Arduino App Lab - A powerful visual environment for managing the Arduino UNO Q - - - /usr/share/icons/hicolor/scalable/apps/cc.arduino.AppLab.svg - - -

- A powerful visual environment for managing your UNO Q board — combine prebuilt modules, called Bricks, with AI models to define your board’s behavior with ease. - App Lab supports both classic C++ sketches via the Arduino IDE and Python, giving you full flexibility to develop the way you prefer. -

-
- https://arduino.cc - - - - -
From 63b4479ef7a4f57a43464902470ced01f198ad54 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:48 -0500 Subject: [PATCH 07/11] Delete anda/tools/arduino-app-lab-bin/update.rhai Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/tools/arduino-app-lab-bin/update.rhai | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 anda/tools/arduino-app-lab-bin/update.rhai diff --git a/anda/tools/arduino-app-lab-bin/update.rhai b/anda/tools/arduino-app-lab-bin/update.rhai deleted file mode 100644 index 49158f58837..00000000000 --- a/anda/tools/arduino-app-lab-bin/update.rhai +++ /dev/null @@ -1,3 +0,0 @@ -let v = gh("arduino/arduino-app-lab"); -v.crop(3); -print(v); From 19095d4e57ab35c05a0b7f8a54ae6ee42c905596 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 18:41:39 -0500 Subject: [PATCH 08/11] remove other -bin callout in desktop file Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop b/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop index e0b0e46111e..40794252d02 100644 --- a/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop +++ b/anda/tools/arduino-app-lab/cc.arduino.AppLab.desktop @@ -8,4 +8,4 @@ Type=Application Categories=Development StartupNotify=true Keywords=arduino;applab;lab -StartupWMClass=arduino-app-lab-bin +StartupWMClass=arduino-app-lab From 07bcf66f75fa3f4844e2c74dc16cee0d99bf6984 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 19:27:02 -0500 Subject: [PATCH 09/11] remove exclusivearch Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/arduino-app-lab.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/anda/tools/arduino-app-lab/arduino-app-lab.spec b/anda/tools/arduino-app-lab/arduino-app-lab.spec index fb7a459f5c0..2f7fb5bac06 100644 --- a/anda/tools/arduino-app-lab/arduino-app-lab.spec +++ b/anda/tools/arduino-app-lab/arduino-app-lab.spec @@ -14,10 +14,6 @@ Source0: https://github.com/arduino/arduino-app-lab/archive/refs/tags/al- Source1: cc.arduino.AppLab.desktop Source2: cc.arduino.AppLab.metainfo.xml -ExclusiveArch: x86_64 - -Requires: android-tools - BuildRequires: desktop-file-utils BuildRequires: yarnpkg BuildRequires: wails From 9f1b10fbb95cd16d9079a6002dbb3aa72578de2e Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 19:27:34 -0500 Subject: [PATCH 10/11] oops still need this Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/arduino-app-lab.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anda/tools/arduino-app-lab/arduino-app-lab.spec b/anda/tools/arduino-app-lab/arduino-app-lab.spec index 2f7fb5bac06..e81cd72fee2 100644 --- a/anda/tools/arduino-app-lab/arduino-app-lab.spec +++ b/anda/tools/arduino-app-lab/arduino-app-lab.spec @@ -27,6 +27,8 @@ Suggests: arduino-app-cli Obsoletes: arduino-app-lab-bin < 0.5.0-2 +Requires: android-tools + Packager: Jaiden Riordan , Owen Zimmerman %description From 756ad2ef350a99554501ea09205a2fd892214018 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Mon, 16 Mar 2026 19:29:11 -0500 Subject: [PATCH 11/11] dont build on x86_64 only Signed-off-by: Owen-sz --- anda/tools/arduino-app-lab/anda.hcl | 1 - 1 file changed, 1 deletion(-) diff --git a/anda/tools/arduino-app-lab/anda.hcl b/anda/tools/arduino-app-lab/anda.hcl index 2f9452695a6..ba558edd09c 100644 --- a/anda/tools/arduino-app-lab/anda.hcl +++ b/anda/tools/arduino-app-lab/anda.hcl @@ -1,5 +1,4 @@ project pkg { - arches = ["x86_64"] rpm { spec = "arduino-app-lab.spec" }