Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: interface.o:(.bss+0xe0): multiple definition of `fimg'; plugin.o:(.bss+0x40): first defined here
Without the change build fails on upstream gcc-10 as:
ld: interface_aux.o:src/interface_aux.c:55: multiple definition of
`dlg'; interface.o:src/interface.c💯 first defined here
This was removed in https://github.com/NixOS/nixpkgs/pull/74295 because
it was compatible with Python 2 only. mcomix3 was a fork originally
introduced to port it to Python 3, however upstream eventually released
version 2.x, porting it to Python 3.
Without the change build on upstream gcc-10 fails as:
ld: callbacks.o:src/callbacks.h:44: multiple definition of `gcolor2'; main.o:src/callbacks.h:44: first defined here
ld: callbacks.o:src/callbacks.h:46: multiple definition of `colorvalue'; main.o:src/callbacks.h:46: first defined here
ld: callbacks.o:src/callbacks.h:45: multiple definition of `menu'; main.o:src/callbacks.h:45: first defined here
Builtin python plugins (e.g. ten brushes) was not working because krita
cannot find sip during build. (Upstream changed how this works in recent
versions)
libmypaint is for MyPaint brush engine introduced in
krita 5. Builtin mypaint brushes won't work without this dependency.
libwebp is for exporting to WebP format.
To make povray work, the configurability of its path needs to be
disabled, as otherwise the povray binary's absolute path would be stored
in the leocad profile, breaking it as soon as povray is updated with a
changed store path.
A patch disables the configurability and makes leocad call a hardcoded
path pointing to the povray binary provided through
propagatedBuildInputs
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
* monado: 21.0.0 -> unstable-2022-05-28
Upstream hasn't had a version bump in 1.5 years, lots of progress since then.
monado: Apply suggestions from @SuperSandro2000's review
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* monado: set mainProgram to monado-cli
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: src/util.o:(.bss+0x0): multiple definition of `progname'; /build/ccBZT2Za.o:(.bss+0x20): first defined here
Without the change builds fails on upstream gcc-10 as:
ld: label.o:src/template-history.h:31: multiple definition of `gl_template_history'; glabels-batch.o:src/template-history.h:31: first defined here
ld: label-text.o:src/font-history.h:31: multiple definition of `gl_font_history'; glabels-batch.o:src/font-history.h:31: first defined here
ld: font-history.o:src/font-history.h:31: multiple definition of `gl_font_history'; glabels-batch.o:src/font-history.h:31: first defined here
ld: template-history.o:src/template-history.h:31: multiple definition of `gl_template_history'; glabels-batch.o:src/template-history.h:31: first defined here
This wrapper is useful independently of pandoc-drawio-filter — it's
useful in any other situation in which somebody might want to use
draw.io diagrams in a build process.
So, make it accessible from the top level to facilitate reuse.
These derivations use buildDotnetModule, which has had its default
dotnet version changed recently. This patch removes redundantly setting
the SDK/runtime to version 6.
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: ../obj/unix/tiles.o:/build/grafx2/src/global.h:306: multiple definition of
`Main_selector'; ../obj/unix/main.o:/build/grafx2/src/global.h:306: first defined here
3.1.9 had issues with building and 3.1.10 has been released fixing
those; a parallel building error has been found and it is fixed on
Gentoo repository, from where we grab the patch from.
Log of error: https://hydra.nixos.org/log/6nh56zf7y81p0m6xxynw22wj1kaxrjbd-apngasm-3.1.9.drv
Refs: ZHF: #172160
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Without the change build fails on -fno-common toolchains like upstream
gcc-10 as:
$ nix build -L --impure --expr 'with import ./. {}; gqview.overrideAttrs (oa: { NIX_CFLAGS_COMPILE = (["-fno-common"] ++ [oa.NIX_CFLAGS_COMPILE or ""]); })'
...
ld: pan-view.o:/build/gqview-2.1.5/src/bar_exif.h:27:
multiple definition of `bar_exif_key_list'; bar_exif.o:/build/gqview-2.1.5/src/bar_exif.h:27: first defined here