Skip to content

Commit 4253965

Browse files
authored
Merge pull request #158 from meta-flutter/fix/remove-fluorite
Remove Fluorite & Filament
2 parents 236733d + 04bf879 commit 4253965

17 files changed

Lines changed: 11 additions & 940 deletions

.github/workflows/fedora.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
cd $GITHUB_WORKSPACE
5959
pwd; ls -la
6060
chown -R user:user .
61-
su - user -c "cd $GITHUB_WORKSPACE && pwd && ls -la && export CI=true && export GITHUB_ACTIONS=true && ./flutter_workspace.py --enable=filament --stdin-file=/dev/null"
61+
su - user -c "cd $GITHUB_WORKSPACE && pwd && ls -la && export CI=true && export GITHUB_ACTIONS=true && ./flutter_workspace.py --stdin-file=/dev/null"
6262
cat ./setup_env.sh
6363
6464
- name: Test workspace
@@ -74,4 +74,4 @@ jobs:
7474
run: |
7575
cd $GITHUB_WORKSPACE
7676
pwd; ls -la
77-
su - user -c "cd $GITHUB_WORKSPACE && pwd && ls -la && export CI=true && export GITHUB_ACTIONS=true && . ./setup_env.sh && ./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/filament_scene/example/"
77+
su - user -c "cd $GITHUB_WORKSPACE && pwd && ls -la && export CI=true && export GITHUB_ACTIONS=true && . ./setup_env.sh && ./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/flatpak/example/"

.github/workflows/ubuntu-legacy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
cd $GITHUB_WORKSPACE
7171
pwd; ls -la
7272
export DEBIAN_FRONTEND=noninteractive; echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
73-
sudo -u user bash -c "./flutter_workspace.py --enable=filament"
73+
sudo -u user bash -c "./flutter_workspace.py"
7474
cat ./setup_env.sh
7575
7676
- name: Test workspace
@@ -88,4 +88,4 @@ jobs:
8888
cd $GITHUB_WORKSPACE
8989
pwd; ls -la
9090
sudo -u user bash -c ". ./setup_env.sh && \
91-
./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/filament_scene/example/"
91+
./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/flatpak/example/"

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
cd $GITHUB_WORKSPACE
5757
pwd; ls -la
58-
PREFER_LLVM=${{ matrix.llvm }} ./flutter_workspace.py --enable=filament
58+
PREFER_LLVM=${{ matrix.llvm }} ./flutter_workspace.py
5959
echo "Checking LLVM config..."
6060
cat setup_env.sh; echo ""
6161
FOUND_LLVM_VER=$(grep -oP 'export PREFER_LLVM=\K[0-9]+' setup_env.sh)
@@ -86,4 +86,4 @@ jobs:
8686
cd $GITHUB_WORKSPACE
8787
pwd; ls -la
8888
. ./setup_env.sh
89-
./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/filament_scene/example/
89+
./flutter_workspace.py --create-aot --app-path=./app/tcna-packages/packages/flatpak/example/

.github/workflows/windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
}
151151
152152
Write-Host "Starting flutter_workspace.py..."
153-
./flutter_workspace.ps1 --enable "filament-windows"
153+
./flutter_workspace.ps1
154154
155155
- name: Test workspace
156156
env:

README.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,6 @@ This script reads a configuration folder of JSON files, or a single JSON configu
2323

2424
python3 -m pip install virtualenv
2525

26-
-Requirements to build `filament-windows/flutter-engine-windows`
27-
28-
-Enable long path support for git
29-
30-
git config --global core.longpaths true
31-
32-
-Enable Developer Mode to allow symlink creation without Admin rights
33-
34-
On Windows 10/11, enabling Developer Mode allows non-admin users to create symlinks
35-
36-
Go to Settings > Search for developer settings
37-
Turn on Developer Mode
38-
Restart your terminal
39-
40-
-Install Windows 10 SDK from Visual Studio installer
41-
42-
if ARM64 Windows machine copy `C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64` to `C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64` to appease flutter/tools/gen.bat
43-
44-
-Install ninja and add to path after depot_tools
45-
46-
-Optional install WinDgb - AKA Wind-Bag
47-
48-
winget install Microsoft.WinDbg
49-
50-
-Running
51-
52-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
53-
.\flutter_workspace.ps1 --enable "filament-windows,flutter-engine-windows"
54-
55-
-Running setup_env.ps1
56-
57-
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
58-
.\setup_env.ps1
59-
6026
### create_aot.py
6127

6228
create AOT is used to create libapp.so for use on a device. It requires an active FLUTTER_WORKSPACE.
@@ -187,15 +153,15 @@ Pass folder for storing dart and engine json files.
187153

188154
Platform Load Exceptions. Pass platform-id values. Select multiple platform ids by seperating with `,`.
189155

190-
e.g. `--plex=filament,firebase-cpp-sdk`
156+
e.g. `--plex=flatpak,firebase-cpp-sdk`
191157

192158
This option also has the impact of forcing the environmental variable `FLUTTER_WORKSPACE_<platfor id>)_LOAD=OFF`. This variable can be used reliably in a configuration type other than `dependency`.
193159

194160
#### --enable="..."
195161

196162
Enable Platform Configuration(s). Pass platform-id values. Select multiple platform ids by seperating with `,`.
197163

198-
e.g. `--enable=filament`
164+
e.g. `--enable=flatpak`
199165

200166
This option also has the impact of forcing the environmental variable `FLUTTER_WORKSPACE_<platfor id>)_LOAD=ON`. This variable can be used reliably in a configuration type other than `dependency`.
201167

configs/desktop-homescreen.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,16 @@
2828
"PLUGIN_CAMERA": "-DBUILD_PLUGIN_CAMERA=${FLUTTER_WORKSPACE_LIBCAMERA_LOAD}",
2929
"PLUGIN_CAMERA_PIPEWIRE": "-DBUILD_PLUGIN_CAMERA_PIPEWIRE=${FLUTTER_WORKSPACE_PIPEWIRE_LOAD}",
3030
"PLUGIN_FLATPAK": "-DBUILD_PLUGIN_FLATPAK=OFF",
31-
"FLUGIN_FILAMENT_VIEW": "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_PLUGIN_FILAMENT_VIEW=${FLUTTER_WORKSPACE_FILAMENT_LOAD} -DFILAMENT_INCLUDE_DIR=${FILAMENT_INCLUDE_DIR} -DFILAMENT_LINK_LIBRARIES_DIR=${FILAMENT_LINK_LIBRARIES_DIR} -DFILAMENT_BUILD_TYPE=${FILAMENT_BUILD_TYPE}",
3231
"PLUGIN_PDF": "-DBUILD_PLUGIN_PDF=${FLUTTER_WORKSPACE_PDFIUM_LOAD}",
3332
"LIBWEBRTC_SRC_DIR": "${FLUTTER_WORKSPACE}/app/libwebrtc/src",
3433
"LIBWEBRTC_INC_DIR": "${LIBWEBRTC_SRC_DIR}/libwebrtc/include",
3534
"LIBWEBRTC_LIB_DIR": "${LIBWEBRTC_SRC_DIR}/out/Linux-Debug",
3635
"LIBWEBRTC_LIB": "${LIBWEBRTC_LIB_DIR}/libwebrtc.so",
3736
"PLUGIN_WEBVIEW": "-DBUILD_PLUGIN_WEBVIEW_FLUTTER_VIEW=${FLUTTER_WORKSPACE_CEF_PREBUILT_LOAD} -DCEF_ROOT=${FLUTTER_WORKSPACE}/app/ivi-homescreen-plugins/plugins/webview_flutter_view/third_party/cef_binary_128.4.9+g9840ad9+chromium-128.0.6613.120_linux64_minimal",
3837
"PLUGIN_WEBRTC": "-DBUILD_PLUGIN_WEBRTC=${FLUTTER_WORKSPACE_LIBWEBRTC_LOAD} -DLIBWEBRTC_INC_DIR=${LIBWEBRTC_INC_DIR} -DLIBWEBRTC_LIB=${LIBWEBRTC_LIB}",
39-
"PLUGIN_ARGS": "-DBUILD_PLUGIN_FILAMENT_VIEW=ON ${PLUGIN_WEBVIEW} -DBUILD_PLUGIN_NAV_RENDER_VIEW=${FLUTTER_WORKSPACE_MAPLIBRE_VULKAN_LOAD} -DBUILD_PLUGIN_LAYER_PLAYGROUND_VIEW=OFF -DBUILD_PLUGIN_AUDIOPLAYERS_LINUX=OFF -DBUILD_PLUGIN_URL_LAUNCHER=ON -DBUILD_PLUGIN_FILE_SELECTOR=ON -DBUILD_PLUGIN_GO_ROUTER=ON -DBUILD_PLUGIN_SECURE_STORAGE=OFF -DBUILD_PLUGIN_DESKTOP_WINDOW_LINUX=ON ${PLUGIN_FIREBASE} ${PLUGIN_RIVE} ${PLUGIN_PDF} ${FLUGIN_FILAMENT_VIEW} ${PLUGIN_WEBRTC} ${PLUGIN_CAMERA} ${PLUGIN_CAMERA_PIPEWIRE} ${PLUGIN_FLATPAK}",
38+
"PLUGIN_ARGS": "${PLUGIN_WEBVIEW} -DBUILD_PLUGIN_NAV_RENDER_VIEW=${FLUTTER_WORKSPACE_MAPLIBRE_VULKAN_LOAD} -DBUILD_PLUGIN_LAYER_PLAYGROUND_VIEW=OFF -DBUILD_PLUGIN_AUDIOPLAYERS_LINUX=OFF -DBUILD_PLUGIN_URL_LAUNCHER=ON -DBUILD_PLUGIN_FILE_SELECTOR=ON -DBUILD_PLUGIN_GO_ROUTER=ON -DBUILD_PLUGIN_SECURE_STORAGE=OFF -DBUILD_PLUGIN_DESKTOP_WINDOW_LINUX=ON ${PLUGIN_FIREBASE} ${PLUGIN_RIVE} ${PLUGIN_PDF} ${PLUGIN_WEBRTC} ${PLUGIN_CAMERA} ${PLUGIN_CAMERA_PIPEWIRE} ${PLUGIN_FLATPAK}",
4039
"PKG_CONFIG_PATH": "${CAMERA_INSTALL_PREFIX}/lib64/pkgconfig:${PKG_CONFIG_PATH}",
41-
"HOMESCREEN_CMAKE_ARGS": "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DLLVM_CONFIG=${LLVM_CONFIG} -DSANITIZE_ADDRESS=OFF -DENABLE_DLT=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_DOCS=OFF -DBUILD_CRASH_HANDLER=OFF -DENABLE_IVI_SHELL_CLIENT=OFF -DENABLE_XDG_CLIENT=ON -DENABLE_AGL_SHELL_CLIENT=${FLUTTER_WORKSPACE_AGL_COMPOSITOR_LOAD} -DENABLE_LTO=ON -DENABLE_STATIC_LINK=ON -DDEBUG_PLATFORM_MESSAGES=OFF -DBUILD_BACKEND_WAYLAND_EGL=ON -DBUILD_BACKEND_WAYLAND_VULKAN=OFF -DBUILD_EGL_TRANSPARENCY=ON -DBUILD_EGL_ENABLE_3D=ON -DBUILD_EGL_ENABLE_MULTISAMPLE=ON -DPLUGINS_DIR=${PLUGINS_DIR} ${PLUGIN_ARGS}${CMD_LINE_CMAKE_PLUGIN_ARGS}",
40+
"HOMESCREEN_CMAKE_ARGS": "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DLLVM_CONFIG=${LLVM_CONFIG} -DSANITIZE_ADDRESS=OFF -DENABLE_DLT=OFF -DBUILD_UNIT_TESTS=OFF -DBUILD_DOCS=OFF -DBUILD_CRASH_HANDLER=OFF -DENABLE_IVI_SHELL_CLIENT=OFF -DENABLE_XDG_CLIENT=ON -DENABLE_AGL_SHELL_CLIENT=${FLUTTER_WORKSPACE_AGL_COMPOSITOR_LOAD} -DENABLE_LTO=ON -DENABLE_STATIC_LINK=ON -DDEBUG_PLATFORM_MESSAGES=OFF -DBUILD_BACKEND_WAYLAND_EGL=ON -DBUILD_BACKEND_WAYLAND_VULKAN=OFF -DBUILD_EGL_TRANSPARENCY=ON -DBUILD_EGL_ENABLE_3D=ON -DBUILD_EGL_ENABLE_MULTISAMPLE=ON -DPLUGINS_DIR=${PLUGINS_DIR} ${PLUGIN_ARGS}${CMD_LINE_CMAKE_PLUGIN_ARGS}",
4241
"HOMESCREEN_EXE": "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CAMERA_INSTALL_PREFIX}/lib64:${LIBWEBRTC_LIB_DIR}:${RIVE_TEXT_LIB_DIR} SPDLOG_LEVEL=debug ${HOMESCREEN_BUILD_DIR}/shell/homescreen -b ${PLATFORM_ID_DIR_RELATIVE}",
4342
"PING_CMD": "[ -n \"$WAYLAND_DISPLAY\" ] && echo \"Type=wayland\"",
4443
"CREATE_BUNDLE_FOLDER": "mkdir -p ${PLATFORM_ID_DIR_RELATIVE}/data ${PLATFORM_ID_DIR_RELATIVE}/lib",

configs/filament-windows_1.60.1.json

Lines changed: 0 additions & 71 deletions
This file was deleted.

configs/filament_1.65.4.json

Lines changed: 0 additions & 94 deletions
This file was deleted.

configs/jolt-physics_5.4.0.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)