Coder Social home page Coder Social logo

luz / librepcb-pnd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from librepcb/librepcb-pnd

0.0 2.0 0.0 78.24 MB

LibrePCB Package for OpenPandora

Home Page: https://repo.openpandora.org/?page=detail&app=librepcb

License: GNU General Public License v3.0

Shell 92.90% QML 7.10%

librepcb-pnd's Introduction

LibrePCB Package for OpenPandora

This repository contains everything to create the LibrePCB PND which can then be uploaded to the OpenPandora Repo.

Build Binaries on the OpenPandora

Requirements

Install Code::Blocks Package.

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

librepcb-pnd's People

Contributors

luz avatar ubruhin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.