PcbDraw-Lib icon indicating copy to clipboard operation
PcbDraw-Lib copied to clipboard

Distribute the libraries

Open FFY00 opened this issue 4 years ago • 5 comments

Hi, I am packaging pcbdraw for Arch Linux and was wondering if maybe the libraries could be packaged too. We could distribute the libraries and have pcbdraw include them by default.

A simple makefile that puts the libraries in /usr/share/pcbdraw would work (just make sure you respect prefix and DESTDIR). This could also be packaged via setuptools, I think.

Then pcbdraw would just look for the files there and include them :grin:.

FFY00 avatar Jul 11 '20 13:07 FFY00

This is related to https://github.com/yaqwsx/PcbDraw/pull/31 and https://github.com/yaqwsx/PcbDraw/pull/29

I plan to review these PRs and merge them in a few days.

yaqwsx avatar Jul 12 '20 07:07 yaqwsx

Just an update - both PRs were merged.

yaqwsx avatar Aug 05 '20 11:08 yaqwsx

@FFY00 A simple "cp" or "mv" in the package() function of the PKGBUILD would work, right ? :)

Salamandar avatar Oct 22 '20 11:10 Salamandar

What's the situation on this?

yaqwsx avatar May 21 '21 17:05 yaqwsx

@yaqwsx So let me summarize.

  • If no lib is passed as argument (or kicad-default) footdraws are searched at /usr/share/pcbdraw ?
  • If a lib is passed, is /usr/share/pcbdraw searched or only the path passed as argument ?

Salamandar avatar May 21 '21 20:05 Salamandar