Project

General

Profile

Support #835

Install Fritzing From Source on Arch Linux

Added by Daniel Curtis over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
07/29/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

This is a guide to install Fritzing from source on Arch Linux. Yes, there is a package in the AUR; however, I need to compile the eagle2fritzing tool and that requires a copy of the source code for Fritzing.

Prepare the Environment

  • Make sure the system is up to date:
    sudo pacman -Syu
    

Install Fritzing

  • Install a few build dependencies:
    sudo pacman -S qtcreator jdk8-openjdk libgit2 python2 qt5-serialport qt5-svg shared-mime-info boost
    
  • Make a working directory and switch to it:
    mkdir -p ~/git/fritzing && cd ~/git/fritzing
    
  • Clone the Fritzing app repo from GitHub:
    git clone https://github.com/fritzing/fritzing-app.git
    
  • Clone the Fritzing parts repo from GitHub inside the fritzing-app:
    cd fritzing-app
    git clone https://github.com/fritzing/fritzing-parts.git parts
    cd ..
    
  • Compile fritzing:
    cd fritzing-app
    qmake
    make
    
    • And install
      sudo make install
      
  • Package fritzing:
    cd ..
    fritzing-app/tools/linux_release_script/release.sh 0.9.3b
    

eagle2fritzing

  • Switch to the fritzing working directory:
    cd ~/git/fritzing
    
  • Clone the eagle2fritzing repo from GitHub:
    git clone https://github.com/fritzing/eagle2fritzing.git
    
  • Switch to the lbr2svg directory:
    cd eagle2fritzing/lbr2svg
    
    • Compile the lbr2svg tool:
      qmake
      make
      
    • Run the tool:
      ./lbr2svg -w ~/.eagle/lbr -p ~/git/fritzing/fritzing-app/parts -c user
      
  • Switch to the brd2svg directory:
    cd ../brd2svg
    
    • Compile the brd2svg tool:
      qmake
      make
      
    • Run the tool:
      ./brd2svg
      

Resources

#1

Updated by Daniel Curtis over 8 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 50
#2

Updated by Daniel Curtis over 8 years ago

  • Description updated (diff)
  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
#3

Updated by Daniel Curtis over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF