Source: kicad
Version: 0.20140224+bzr4027-3
Severity: normal
Tags: patch

Dear Maintainer,

Starting with revision 293 of the kicad libraries (http://bazaar.launchpad.net
/~kicad-product-committers/kicad/library/revision/293), several libraries have
been renamed.

When these libraries are combined with the snapshot of the old ".mod" libraries
from wheezy (taken from https://github.com/georgesk/kicad-legacy/), this leads
to many footprints having the wrong paths for their 3d models.

As an example, the "USB_B" footprint from "library/modules/connect.mod", on
line 16189, points to "connectors/USB_type_B.wrl". However, starting with
revision 293 of the kicad libraries the path has been renamed to
"Connectors/USB_type_B.wrl". As a result, kicad is not able to render the USB
type B connector in 3D view.

The problem can be solved if you do not clone the latest revision of the kicad
libraries when assembling the kicad sources for the Debian package (the "debian
/get-kicad.sh" script), but rather clone revision 292.

Also, if you clone revision 292 of the kicad libraries, the old ".mod"
footprint libraries are still there, so in my opinion there is no need for the
extra step to download the legacy libraries from the github repository.

Attached is a patch with the proposed changes to the "debian/get-kicad.sh"
script.

Thank you,
Dimitris



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (500, 'stable'), 
(100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ru debian.orig/get-kicad.sh debian/get-kicad.sh
--- debian.orig/get-kicad.sh	2014-02-25 19:50:49.000000000 +0200
+++ debian/get-kicad.sh	2014-04-24 10:58:24.106856350 +0300
@@ -11,13 +11,8 @@
 bzr export $package         lp:kicad/stable
 echo "========== Getting the documents ========================="
 bzr export $package/doc     lp:~kicad-developers/kicad/doc
-echo "========== Getting the libraries ========================="
-bzr export $package/library lp:~kicad-product-committers/kicad/library
-echo "========== Getting the legacy footprints ================="
-wget https://github.com/georgesk/kicad-legacy/archive/master.zip
-unzip master.zip
-(cd kicad-legacy-master; tar cf - modules) | tar xf - -C $package/library
-rm -rf master.zip kicad-legacy-master
+echo "========== Getting the legacy libraries (bzr292) ========="
+bzr export -r 292 $package/library lp:~kicad-product-committers/kicad/library
 
 echo "========== Compressing the archive ======================="
 tar czf $origtargz $package

Reply via email to