remove old build conditionals
the old wrapper env vars are no longer applicable to 6.0.0
scripting is no longer optional
though wxPython is still an optional dependency?
add withI18n build option to kicad.base
i18n was moved to the kicad source, and is disabled by default
withI18n takes the same default
add withPCM option
to allow disabling building the Plugin and Content Manager
remove the withOCE option
the build option was removed in upstream commit:
1c5c052301b607a0cf8b8ed6681f1db1622a865b
and unconditionally use wxGTK31-gtk3 and wxPython
the pcb editor's python terminal seems to work with these versions
* kicad-unstable: 2021-07-12 -> 2021-11-10
with changes to library paths
Plugin and Content Manager seems to work
(not related to the library paths changes)
* kicad-unstable: 2021-11-10 -> 6.0.0-rc1
fixes issue 123299
blindly linking unstable's metainfo resulted in a dangling symlink
this is still share/appdata in the stable package so i linked that
the date changes more often than most of the inputs
the date can also change on the base without other changes
this causes a substantial rebuild for no reason
squash of the following
kicad: makeFlags: optional -> optionals
kicad: remove -1 in version string, no more patch
should have been removed in a52e974cff
kicad: remove berce as maintainer
kicad: gtk3 -> wxGTK.gtk
use wxGTK.gtk rather than gtk3
add graphviz as doxygen wants it (no idea if doxygen is required...)
minor compilation warning
kicad: rearrange / sort inputs
separate optional deps and options
kicad: clear some configuration warnings
linux specific stuff that's wanted by something in config
kicad: fix opening bug report in firefox wayland
may be removed when kicad goes native?
Previously, these library locations were set absolutely. This
prevented overriding their locations with environment variables. Now,
setting the corresponding environment variable will override the
setting in the environment wrapper. For instance, I can set
KISYSMOD=/some/path/to/footprints
and this will be used as my footprint library instead of the default
footprint library in the nix store. This feature is particularly
useful for having kicad libraries which are writable.
Also: Use assertions instead of silently ignoring arguments that don't cooperate
(occ+oce) / won't compile (aarch64 + oce).
base.nix no longer provides default argument values since these are
provided by default.nix.
disable scripting support as 92261 broke wxPython_4_0
and i haven't managed to get wxPython 4.1 to work
something caused makeWrapper to have to be added on its own
not sure where it came from before...
and some cleanup
Add the Python bindings for kicad.
Following now functions
$ nix run "(import ./. {}).python3.withPackages(ps: with ps; [ kicad ])" -c python3 -c "import pcbnew"
Have not tested this any further.
the -small packages depend on all hydra buildable dependencies
the non-small ones depend on packages3d which exceeds hydra's limit
set platforms to all (kicad is cross-platform)
clarify package differences in the description
set maintainers on just the top level derivation
switch -unstable to not save debug symbols
indicate patch in version string
note broken dependencies
The hydraPlatforms have to be set on the kicad package itself, that can be
checked using:
echo ":p { inherit kicad kicad-small kicad-unstable; }" | nix repl ./pkgs/top-level/release.nix
This commit disables build of all kicad variants that require downloading
packages3d, which currently fail on hydra with the "Output limit exceeded"
status. This leaves Hydra with only building the kicad-small, which will allow
us to cache the build of kicad-base as well as all libraries except of
packages3d.
update.sh generates version.nix
by default only updates kicad-unstable
several options (can be combined)
all, update to latest tag and master
clean, generate versions.sh from scratch
commit, make a git commit
minor simplification, fix base version
split i18n and get from gitlab
correct wrapper pythonpath, cleanup build output
update & fake git describe
correct base.nix to fit contributing.md
switch source to gitlab as that's the new upstream source
use wrapper variables for everything but i18n
add sym and fp templates to template path
update meta to reflect kicad's own language
set license to AGPLv3, according to the source's LICENSE.README
reduce diff between default and unstable in preparation of merging
on debian gets "no module named 'math'"
pcbnew 3d viewer is unusable (at least on my T410)
make unstable use kicad-libraries
still using a link in $out..., not sure that's a bad thing
this allows setting that path in makeWrapperArgs
can't use $out there
kicad-with-packages3d -> kicad and kicad-small
default to OCCT, OCE is outdated
enforce OCCT on aarch64, where OCE is broken
withOCE flag allows using OCE on non-aarch64
Fix configure time error:
...
ImportError: No module named wx
CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
wxPython/Phoenix does not appear to be installed on the system
Only build tested.
Fixes: f7e28bf5d8 ("Split buildPythonPackage into setup hooks")