objectbox / objectbox/objectbox-dart
Offline Build Support
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 162
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Is there an existing issue?
- I have searched existing issues
Use case
I'm trying to build an app using object box on an air gapped Linux machine.
Proposed solution
Add configuration/documentation on how to manually download the required native libraries so the build process doesn't fail on unreachable network.
Describe alternatives you've considered
Vendoring the entire plugin and modifying the flutter_libs/linux/CMakeLists.txt to find required deps locally.
Additional context
[1/9] Performing download step (download, verify and extract) for 'objectbox-download-populate'
-- Downloading...
dst='/home/brandy/fmc_gui/build/linux/x64/release/_deps/objectbox-download-subbuild/objectbox-download-populate-prefix/src/objectbox-linux-x64.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/objectbox/objectbox-c/releases/download/v4.0.2/objectbox-linux-x64.tar.gz'
-- Retrying...
...
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/objectbox/objectbox-c/releases/download/v4.0.2/objectbox-linux-x64.tar.gz'
CMake Error at objectbox-download-subbuild/objectbox-download-populate-prefix/src/objectbox-download-populate-stamp/download-objectbox-download-populate.cmake:170 (message):
Each download failed!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting flutter_libs/linux/CMakeLists.txt and the CMake download step shown in the issue. Determine how the required native libraries can be supplied locally, then document or configure that workflow so an air-gapped Linux build completes without reaching the network.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, dart, flutter, linux
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100