A decade ago the library was still small and kicad was not split (#260396 #260397). However, the kicad library grows fast: kicad-library-4.0.4.tar.gz 87 MB kicad-library-4.0.5.tar.gz 91 MB kicad-library-4.0.6.tar.gz 175 MB kicad-library-4.0.7.tar.gz 475 MB sci-electronics/kicad should be split into kicad and and a separate ebuild for the library because - users can use any library, not just the kicad-lib - we want to distribute other optional libraries for kicad in the long term too - it makes no sense to download and reinstall the very large library (2.7 GB extracted), if Kicad needs to be recompiled (due to an updated gcc for example...)
What about splitting in kicad, kicad-libraries and kicad-footprints?
@Fabio why? The split is important to prevent that the large lib is downloaded and reinstalled without reason, if kicad gets recompiled.
Yeah, KiCAD will be split into many components (work in progress). I'm planning to have as many components as upstream has. I will likely keep/update the USE flags on KiCAD for the libs/templates/etc, but those will just pull in the rest of the packages as dependencies. In addition we also can probably introduce external library packs (e.g. Digikey's libs) if licensing permits.
(In reply to Jonas Stein from comment #2) > @Fabio why? The split is important to prevent that the large lib is > downloaded and reinstalled without reason, if kicad gets recompiled. as stated by Zoltan, I am asking to split in many components to follow upstream developments, in this way it is easier to have live ebuilds for libraries and footprints
What if the library has inclusions and revisions, Im quite certain the lib and app are meant to be bundled because Im not aware of the lib having revisions as does the main kicad app.
Shouldn't such an ebuild be a 9999 ebuild? The parts library can be quite dynamic as new parts are added or updated. This way the end user can re-emerge to pull in the latest content. While the present kicad package does bundle an instance of the libraries, I have the git library also in ~/kicad-libraries to pull as and when i need the updates
(In reply to jon R-B from comment #6) > Shouldn't such an ebuild be a 9999 ebuild? > The parts library can be quite dynamic as new parts are added or updated. > This way the end user can re-emerge to pull in the latest content. When we ship KiCAD as separate packages we want to ship a release, which also means libraries being frozen to a particular version. In industrial and production environments it's important to be able to ship a reproducible install of a particular package. > While the present kicad package does bundle an instance of the libraries, I > have the git library also in ~/kicad-libraries to pull as and when i need > the updates However I see no problem additionally providing a 9999 ebuild, where users have the choice to override the stable libraries at their own risk. This bug is about splitting the current huge ebuild into multiple components. Once the split is done, introducing the 9999 ebuild should be a trivial task.
https://github.com/gentoo/gentoo/pull/9727
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1711185d517a57911a11765c841a34d9eb9e22ab commit 1711185d517a57911a11765c841a34d9eb9e22ab Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-27 06:44:47 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:56:05 +0000 sci-electronics/kicad-i18n: New ebuild to separate GUI translations from KiCAD Closes: https://bugs.gentoo.org/661350 Closes: https://bugs.gentoo.org/645970 sci-electronics/kicad-i18n/Manifest | 1 + sci-electronics/kicad-i18n/kicad-i18n-5.0.0.ebuild | 18 ++++++++++++++++++ sci-electronics/kicad-i18n/metadata.xml | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77019e631fa7d777bf92042e642fd03cb14ff70 commit b77019e631fa7d777bf92042e642fd03cb14ff70 Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-26 21:31:08 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:56:04 +0000 sci-electronics/kicad-templates: New ebuild to separate templates library from KiCAD Bug: https://bugs.gentoo.org/661350 Bug: https://bugs.gentoo.org/645970 sci-electronics/kicad-templates/Manifest | 1 + .../kicad-templates/kicad-templates-5.0.0.ebuild | 18 ++++++++++++++++++ sci-electronics/kicad-templates/metadata.xml | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6e700e20d521b5587a5096b0cfae514222841a commit 9a6e700e20d521b5587a5096b0cfae514222841a Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-26 21:59:20 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:56:03 +0000 sci-electronics/kicad-packages3d: New ebuild to separate 3D packages library from KiCAD Bug: https://bugs.gentoo.org/661350 Bug: https://bugs.gentoo.org/645970 sci-electronics/kicad-packages3d/Manifest | 1 + .../kicad-packages3d/kicad-packages3d-5.0.0.ebuild | 21 +++++++++++++++++++++ sci-electronics/kicad-packages3d/metadata.xml | 21 +++++++++++++++++++++ 3 files changed, 43 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45883f571601d11deee0209aa82b9ebf8f3cb424 commit 45883f571601d11deee0209aa82b9ebf8f3cb424 Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-26 06:57:10 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:56:02 +0000 sci-electronics/kicad-footprints: New ebuild to separate footprints library from KiCAD Bug: https://bugs.gentoo.org/661350 Bug: https://bugs.gentoo.org/645970 sci-electronics/kicad-footprints/Manifest | 1 + .../kicad-footprints/kicad-footprints-5.0.0.ebuild | 18 ++++++++++++++++++ sci-electronics/kicad-footprints/metadata.xml | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0133314b450e69e525f230f70f6be4662a8599b1 commit 0133314b450e69e525f230f70f6be4662a8599b1 Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-26 21:22:43 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:56:01 +0000 sci-electronics/kicad-symbols: New ebuild to separate symbols library from KiCAD Bug: https://bugs.gentoo.org/661350 Bug: https://bugs.gentoo.org/645970 sci-electronics/kicad-symbols/Manifest | 1 + .../kicad-symbols/kicad-symbols-5.0.0.ebuild | 18 ++++++++++++++++++ sci-electronics/kicad-symbols/metadata.xml | 20 ++++++++++++++++++++ 3 files changed, 39 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec103eb1a2ada619a95406facaa596111320555 commit 0ec103eb1a2ada619a95406facaa596111320555 Author: Zoltan Puskas <zoltan@sinustrom.info> AuthorDate: 2018-08-28 08:36:20 +0000 Commit: Virgil Dupras <vdupras@gentoo.org> CommitDate: 2018-09-07 00:55:59 +0000 sci-electronics/kicad: Bump to 5.0.0 Bug: https://bugs.gentoo.org/661350 Bug: https://bugs.gentoo.org/645970 sci-electronics/kicad/Manifest | 1 + sci-electronics/kicad/kicad-5.0.0.ebuild | 124 +++++++++++++++++++++++++++++++ sci-electronics/kicad/metadata.xml | 2 + 3 files changed, 127 insertions(+)