https://github.com/librepcb/librepcb-pnd
LibrePCB Package for OpenPandora
https://github.com/librepcb/librepcb-pnd
Last synced: 12 months ago
JSON representation
LibrePCB Package for OpenPandora
- Host: GitHub
- URL: https://github.com/librepcb/librepcb-pnd
- Owner: LibrePCB
- License: gpl-3.0
- Created: 2017-07-21T23:36:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T06:18:38.000Z (over 2 years ago)
- Last Synced: 2025-06-22T18:26:03.369Z (12 months ago)
- Language: Shell
- Homepage: https://repo.openpandora.org/?page=detail&app=librepcb
- Size: 76.4 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# LibrePCB Package for OpenPandora
This repository contains everything to create the LibrePCB PND which can then be uploaded to the
[OpenPandora Repo](https://repo.openpandora.org/?page=detail&app=librepcb).
## Build Binaries on the OpenPandora
### Requirements
Install [Code::Blocks Package](http://repo.openpandora.org/?page=detail&app=codeblocks6022).
### Build LibrePCB
1. Start -> Development -> Dev Command Line Interface
2. `cd /media/SD`
3. `wget https://download.librepcb.org/releases/1.0.0/librepcb-1.0.0-source.zip`
4. `unzip librepcb-1.0.0.zip`
5. Apply patches: `workaround-for-qt5-bug.patch` and `workaround-fix-linking-without-gl.patch`
6. `mkdir build && cd build`
7. Create some temporary output directory on a non fat32 partition: `mkdir /home/user/librepcb`
8. `cmake .. -DUSE_OPENCASCADE=0 -DLIBREPCB_REPRODUCIBLE=1 -DBUILD_TESTS=0 -DUSE_GLU=0 -DBUILD_QTQUICK_TEST=0 -DCMAKE_INSTALL_PREFIX=/home/user/librepcb`
9. Repeat last command for unknown reasons `!!`
10. `make`
11. `make install`
## Package creation
### Dependencies on Ubuntu
```
sudo apt install squashfs-tools
```
### Dependencies on Nixos
```
nix-shell -p squashfsTools
```
### Create the PND
1. Increment build number in `PXML.xml`
2. Use content: `/home/user/librepcb`
3. Ensure i18n files are up to date
4. Ensure share folder is up to date
5. `./make.sh`
### Debugging the PND
1. Mount the pnd: `/usr/pandora/scripts/pnd_run.sh -p /path/to/your/pnd/librepcb.pnd -m`
2. Run the start.sh `./start.sh`