Hello Georges Khaznadar,

At Imagination Technologies (http://imgtec.com/) Dejan Latinovic has
found a solution to Debian bug #741743.

https://bugs.debian.org/741743

My NMU patch for kicad_0.20140224+bzr4027-3.1 is below, at the end of
this message.

With the changes in the NMU patch kicad builds successfully on mips,
mipsel and amd64.

Regards,

Aníbal
--
Aníbal Monsalve Salazar <anibal.monsalvesala...@imgtec.com>

debdiff kicad_0.20140224+bzr4027-3.dsc kicad_0.20140224+bzr4027-3.1.dsc
diff -Nru kicad-0.20140224+bzr4027/debian/changelog 
kicad-0.20140224+bzr4027/debian/changelog
--- kicad-0.20140224+bzr4027/debian/changelog   2014-03-07 10:49:51.000000000 
+0000
+++ kicad-0.20140224+bzr4027/debian/changelog   2014-05-09 04:33:34.000000000 
+0100
@@ -1,3 +1,12 @@
+kicad (0.20140224+bzr4027-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * It FTBFS because kicad-common is arch independent.
+    Patch by Dejan Latinovic <dejan.latino...@imgtec.com>.
+    Closes: #741743
+
+ -- Anibal Monsalve Salazar <ani...@debian.org>  Fri, 09 May 2014 04:33:24 
+0100
+
 kicad (0.20140224+bzr4027-3) unstable; urgency=medium
 
   * taken in account Samuel Thibault's hint. Closes: #740999
diff -Nru kicad-0.20140224+bzr4027/debian/rules 
kicad-0.20140224+bzr4027/debian/rules
--- kicad-0.20140224+bzr4027/debian/rules       2014-03-07 10:50:28.000000000 
+0000
+++ kicad-0.20140224+bzr4027/debian/rules       2014-05-09 04:32:41.000000000 
+0100
@@ -21,7 +21,7 @@
 override_dh_compress:
        dh_compress --exclude=.pdf
 
-override_dh_install:
+override_dh_install-arch:
        convert bitmaps_png/icons/icon_kicad.xpm -resize 32x32 
debian/tmp/icon_kicad.xpm
        dh_install
        # fix wrong permissions and link jnlp file to usr/share
@@ -29,6 +29,9 @@
          chmod a-x $(COMMONDIR)/usr/share/kicad/internat/ja/*
        ln -s ../share/kicad/freeroute.jnlp $(PKGDIR)/usr/bin
        chmod a-x $(PKGDIR)/usr/share/kicad/freeroute.jnlp
+
+override_dh_install-indep:
+       dh_install
        # remove out-of-topic files
        find $(COMMONDIR)/usr/share/kicad -name "CMake*" -exec rm {} \;
 

Attachment: signature.asc
Description: Digital signature

Reply via email to