Your message dated Sat, 1 Dec 2018 06:55:03 +0100
with message-id <[email protected]>
and subject line Re: Bug#915142: Kicad does not install default plugins
has caused the Debian Bug report #915142,
regarding Kicad does not install default plugins
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
915142: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915142
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kicad
Version: 5.0.1+dfsg1-3~bpo9+1
Severity: normal
Dear Maintainer,
Kicad is not installing default plugins that are included in original
source package, e.g. eeschema/plugins/xsl_scripts/bom2csv.xsl ->
/usr/lib/kicad/plugins/bom2csv.xsl. This is not the case with stable
version 4.x. This way users do not have default BOM plugin, which is
referred in many examples and tutorials. Additionally, some of the
automated tools would also fail.
Note: this report was initially generated from the inside docker container.
ls -alh /usr/lib/kicad/_
_cvpcb.kiface _eeschema.kiface _gerbview.kiface
_pcb_calculator.kiface _pcbnew.kiface _pl_editor.kiface
root@9f514b0ac861:~# ls -alh /usr/lib/kicad/
total 49M
drwxr-xr-x 2 root root 4.0K Nov 13 19:07 .
drwxr-xr-x 1 root root 4.0K Dec 1 00:01 ..
-rw-r--r-- 1 root root 8.7M Nov 11 17:54 _cvpcb.kiface
-rw-r--r-- 1 root root 7.8M Nov 11 17:54 _eeschema.kiface
-rw-r--r-- 1 root root 7.1M Nov 11 17:54 _gerbview.kiface
-rw-r--r-- 1 root root 1.8M Nov 11 17:54 _pcb_calculator.kiface
-rw-r--r-- 1 root root 21M Nov 11 17:54 _pcbnew.kiface
-rw-r--r-- 1 root root 2.4M Nov 11 17:54 _pl_editor.kiface
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.93-linuxkit-aufs (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages kicad depends on:
ii libc6 2.24-11+deb9u3
ii libcairo2 1.14.8-1
ii libcurl3 7.52.1-5+deb9u8
ii libfreeimage3 3.17.0+ds1-5
ii libfreetype6 2.6.3-3.2
ii libgcc1 1:6.3.0-18+deb9u1
ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2
ii libglew2.0 2.0.0-3+b1
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libngspice0 29-1~bpo9+1
ii liboce-foundation10 0.17.2-2
ii liboce-modeling10 0.17.2-2
ii liboce-ocaf-lite10 0.17.2-2
ii liboce-ocaf10 0.17.2-2
ii liboce-visualization10 0.17.2-2
ii libpixman-1-0 0.34.0-1
ii libpython2.7 2.7.13-2+deb9u3
ii libssl1.1 1.1.0f-3+deb9u2
ii libstdc++6 6.3.0-18+deb9u1
ii libwxbase3.0-0v5 3.0.4+dfsg-4~bpo9+1
ii libwxgtk3.0-0v5 3.0.4+dfsg-4~bpo9+1
ii libx11-6 2:1.6.4-3+deb9u1
ii libxext6 2:1.3.3-1+b2
ii python 2.7.13-2
ii python-wxgtk3.0 3.0.2.0+dfsg-4
Versions of packages kicad recommends:
pn kicad-demos <none>
ii kicad-libraries 5.0.1+dfsg1-3~bpo9+1
pn xsltproc <none>
Versions of packages kicad suggests:
pn extra-xdg-menus
<none>
pn kicad-doc-ca | kicad-doc-de | kicad-doc-en | kicad-doc-es | kicad-d
<none>
pn kicad-packages3d
<none>
--
Tomasz 'Zen' Napierala
http://napierala.org
JID: tomasz[@]napierala[.]org
--- End Message ---
--- Begin Message ---
Hello Thomasz,
Am 01.12.18 um 01:12 schrieb Tomasz Napierala:
> Kicad is not installing default plugins that are included in original
> source package, e.g. eeschema/plugins/xsl_scripts/bom2csv.xsl ->
> /usr/lib/kicad/plugins/bom2csv.xsl. This is not the case with stable
> version 4.x. This way users do not have default BOM plugin, which is
> referred in many examples and tutorials. Additionally, some of the
> automated tools would also fail.
>
> Note: this report was initially generated from the inside docker container.
>
> ls -alh /usr/lib/kicad/_
> _cvpcb.kiface _eeschema.kiface _gerbview.kiface
> _pcb_calculator.kiface _pcbnew.kiface _pl_editor.kiface
TL;DR
you are looking at the wrong folder. :)
> $ dpkg -L kicad | grep xsl
> /usr/share/kicad/plugins/bom2csv.xsl
> /usr/share/kicad/plugins/bom2grouped_csv.xsl
> /usr/share/kicad/plugins/bom_with_title_block_2_csv.xsl
> /usr/share/kicad/plugins/netlist_form_OrcadPcb2.xsl
> /usr/share/kicad/plugins/netlist_form_cadstar-RINF.xsl
> /usr/share/kicad/plugins/netlist_form_cadstar.xsl
> /usr/share/kicad/plugins/netlist_form_pads-pcb.asc.xsl
Some longer explanation on this.
All scripts that acting as a plugin are plugins are platform independent
and don't have any interaction by a compiler e.g. Due this all such
files are typically installed within /usr/share/$(package), so also
kicad does. This has never changed in the kicad package. Upstream isn't
respecting the FHS [1] here.
BTW: You can search for files which should be within some package on the
package search website [2] of Debian. Or you use apt-file for query the
file list.
Also some these upstream files comes with execution rights along that
can be problematic for security. This is also fixed while package built.
I'll close this report by this email.
[1] https://wiki.debian.org/FilesystemHierarchyStandard
[2] https://www.debian.org/distrib/packages#search_contents
--
Regards
Carsten Schoenert
--- End Message ---