sci-electronics/kicad fails if wxGTK is not compiled with the USE="gnome" flag. This is only because a buggy test in include/common.h: #if defined( __WXGTK__ ) # if !wxUSE_LIBGNOMEPRINT && !wxUSE_GTKPRINT && !SWIG # error "You must use '--with-gnomeprint' or '--with-gtkprint' in your wx library configuration." # endif #endif AFAIK, there is no wxUSE_GTKPRINT int wxGTK and since wxGTK is compiled with --enable-gtkprint, that test is not useful on Gentoo. So, here is a patch to remove that test and an other patch to remove the dependancy on wxGTK[gnome] It works on my ~amd64 config. Reproducible: Always
Created attachment 368548 [details, diff] patch to remove bad wx test in common.h
Created attachment 368550 [details, diff] patch for kicad-20130518.ebuild
(In reply to Xavier Miller from comment #2) > Created attachment 368550 [details, diff] [details, diff] > patch for kicad-20130518.ebuild thanks Xavier. I've just been chasing around all morning trying to figure out why this damn +gnome option was in the ebuild. I've just spent about 2h rebuilding wxGTK and kicad, now I find out it isn't even needed ! It looks like I'll have to move this out to a local overlay directory and use your patches. Then it really needs to get updated. 2013 is horribly old for Gentoo. There's also an archive of compoent libraries that needs pulling in too: https://www.archlinux.org/packages/community/any/kicad-library-bzr/ That should probably be on USE flag for kicad ebuild.
Author: Zoltan Puskas <zoltan@sinustrom.info> Date: Tue Oct 27 02:41:27 2015 +0000 sci-electronics/kicad: bump to KiCad-4.0.0-rc1 New use flags: examples, github, i18n, minimal, python, webkit. More languages for i18n. Package source now downloads from project website. Update dependencies and address wxwidgets upgrade issue. USE flag 'debug' made functional in the bumped ebuild. Remove outdated kicad-20130518.ebuild Gentoo-Bug: #560768 Gentoo-Bug: #499040 Gentoo-Bug: #560766