Commit Graph

34 Commits

Author SHA1 Message Date
Cirilo Bernardo 54eeea4821 Patch OpenCascade Community Edition (OCE) to fix mingw UTF8 file name bug.
This patch is only known to work with OCE version 0.17.3 on mingw.  It
should not be used for any other purpose.  It breaks all other OCE builds
except mingw.
2017-03-14 18:48:08 -04:00
Cirilo Bernardo 8af174f7d2 Add wxWidgets bug fix patch.
Calling external applications with wxWidgets failed when the file name
contained non-ASCII characters.

Please note that this patch does not require wxWidgets to be recompiled.
It only changes a header file which means the patch can be applied to
an existing wxWidgets install.  However, KiCad does need to be rebuilt
after this patch is applied.  This patch is not required if you do not
need non-ASCII character file name support.
2017-03-14 18:33:14 -04:00
Simon Wells 6117713f33 Add wxwidgets patch for unicode pasteboard.
Based on upstream https://github.com/wxWidgets/wxWidgets/commit/
73fca4c37d1ee2e9e495aaa68442cdfcb4243b52

Fixes: lp:1559103
2016-09-17 13:20:00 -04:00
Collin Anderson f5f0ab094f wxWidgets OSX Sierra 10.12 SDK patch.
OSX Sierra has removed QuickTime entirely (because Apple needs to break
at least one thing every major OS revision).  This prevents wxWidgets
from compiling at all, and as of right now, there is only a workaround,
but a true upstream fix will require rewriting portions of wx to use
AVKit, which is more or less the replacement for QuickTime, instead.

KiCad doesn't use any parts of wx involved, so the work around seems to
be fine for us.  I am using the latest commit of KiCad on 10.12 as I write
this, with this patch applied, and I'm not having any problems (at least
new ones anyway).

The workaround is this patch (which is not a direct copy of the upstream
fix, which simply removes the include entirely.  I made it where if this
patch gets applied, it won't effect anything except when being built
against the 10.12 SDK).  Additionally, wxWidgets configure must be given
the --disable-mediactrl flag.  This is a temporary workaround, but as far
as I know, KiCad doesn't use that control?
2016-09-17 13:11:29 -04:00
Collin Anderson e5064231f9 Make OSX patch style consistent. 2016-09-17 12:19:45 -04:00
Bernhard Stegmaier daa29d95df Add wxWidgets 3.0.2 (possibly earlier) patch to fix wxDataViewCtrl crash bug on OSX. 2015-06-15 16:15:34 -04:00
Wayne Stambaugh 7c21dcbab5 Add patch to fix wxWidgets 3.0.2 mirrored print bug. 2015-06-13 17:39:18 -04:00
Maciej Suminski 18fa766f53 Updated OS X pinch-to-zoom patch. 2015-05-21 23:29:26 +02:00
Garth Corral 6eaf029a0e Pinch to zoom for OS X. 2015-05-21 22:54:29 +02:00
Maciej Suminski 420c1d1bcd Changed the patch to support full resolution on Retina screens to be more bulletproof. 2015-05-21 00:42:46 +02:00
Maciej Suminski 6fc59f9acd Full resolution in OpenGL canvas on Retina displays 2015-05-18 13:48:12 +02:00
Johannes Maibaum 834d54415f OSX build fixes.
* Make patches/wxwidgets-3.0.2_macosx_yosemite.patch usable.  There were
  complaints here before that the patch does not work because it is a
  "metapatch" that tries to patch another patch (which is not in the tree
  and therefore fails). With this change, it becomes a normal patch again,
  that can be applied to the wxWidgets source tree as described in
  Documentation/compiling/mac-osx.txt.
* Make scripts/library-repos-install.sh compatible with OSX: This involves
  checking for the correct option to enable extended regular expressions in
  sed during detect_pretty_repos, as the script uses "-r", which is only
  available in GNU sed. The sed shipped with Mac OSX is an older BSD descendant
  sed which needs "-E". This change has been tested to work on Mac OSX 10.10.1
  and on an up-to-date Arch Linux.  I also changed the error message during
  --install-prerequisites to inform users without apt-get or yum which programs
  need to be installed to use the script.
* Add the execute flag to scripts/osx_build_wx.sh: At the moment, after
  fetching the source with bzr, one has to chmod the file by hand. This
  change change ensures consistency between the script and the build docs
  for OSX, which assumes the script to be executable.
2014-12-08 12:40:38 -05:00
Adam Wolf 174c62440b Fix previous version of patches/wxwidgets-3.0.2_macosx_yosemite.patch. 2014-11-12 19:38:18 -05:00
Garth Corral 3764021ef7 Add patch for wxWidgets 3 to fix scrolling on OSX. 2014-11-06 19:50:08 -05:00
Adam Wolf e9a25ceba9 Added patch for wxWidgets 3.0.2 for Mac OSX 10.10 (Yosemite).
* Patch was taken from https://trac.macports.org/ticket/44524 for the upstream
  bug of http://trac.wxwidgets.org/ticket/16329.
2014-11-04 14:24:22 -05:00
Garth Corral 96f61af19b Fix wxWidgets OSX patch bug when configured for monolithic build. (fixes lp:1387271) 2014-10-30 12:07:43 -04:00
Bernhard Stegmaier 8b3c14c08b OSX build improvements.
* Compile all binaries into a single application bundle.
* Use CMake BundleUtilities to make application bundle relocatable.
* Restructure build output to directly create an image file.
* Fix default search paths.
* Set KIGITHUB environment variable.
* Added patch to fix wxWidgets so names for OSX.
2014-10-02 19:03:52 -04:00
Wayne Stambaugh 5c954998bb Add forgotten Boost MinGW64 interlock patch file. 2014-09-04 10:08:06 -04:00
Wayne Stambaugh a27845e948 Fix MinGW 64 bit build buigs.
* Patch Boost interlocked.hpp from version 1.56.
* Fix segfault in Eeschema when auto save event occurs before root sheet is initialized.
* Add assertion when SCH_SHEET_PATH::BuildSheetList is called with NULL pointer.
2014-08-23 11:22:50 -04:00
Bernhard Stegmaier a457dffd8f OSX drawing artifacts 2014-06-16 11:32:23 -05:00
Marco Serantoni 0e42a2ffd0 [MacOSX] wxPython patch revised for http://trac.wxwidgets.org/ticket/15957 2014-02-15 19:09:14 +01:00
Marco Serantoni 2acaa2871d [MacOSX] Fixing build system, sorry guys, refining build system and make building smoother. 2014-02-08 16:15:06 +01:00
Marco Serantoni bbff6c0d30 [MacOSX] Adding patches for wxPython && http://trac.wxwidgets.org/ticket/15957 2014-02-07 23:00:19 +01:00
Marco Serantoni 786bb81c4d [MacOSX] KICAD_BUILD_DYNAMIC stabilized and almost working 2014-01-27 23:24:04 +01:00
Marco Serantoni 179bb920b8 [MacOSX] adding multiprocess building and initial support for KICAD_BUILD_DYNAMIC 2014-01-26 14:09:36 +01:00
Marco Serantoni dc2592238e [MacOSX] Adding wx-widgets building with patches for OSX preparing for dynamic.. 2014-01-24 22:09:31 +01:00
Marco Serantoni 54bbba6c86 [MacOSX] fixes some corner case compiling on x86 in boost 2014-01-04 14:40:22 +01:00
Marco Serantoni 2c39ea00e2 [MacOSX] Added support in boost context for PPC processors, now is possible again compile kicad testing for PPC ( https://svn.boost.org/trac/boost/ticket/8266 ) 2014-01-04 03:13:18 +01:00
Marco Serantoni 6d2db4783e [MacOSX] Manage older OpenSSL API (needed for OSX 10.6) and probably older linuxes 2013-12-31 11:48:16 +01:00
Dick Hollenbeck f9ab5d2c61 Add -fvisibility options to significantly reduce binary sizes.
Switch to boost::context for all platforms, almost.
Please try your platform by commenting out fcontext.s in common/CMakeLists.txt.
2013-12-30 11:53:12 -06:00
Marco Serantoni 66e8017d74 [MacOSX] fixes a missing feature in boost and fixes static build with x86/i386 involved
(https://svn.boost.org/trac/boost/ticket/8266)
2013-12-29 20:36:30 +01:00
Dick Hollenbeck c7bb62290f error: 'uintptr_t' was not declared in this scope.
https://svn.boost.org/trac/boost/ticket/8973
https://svn.boost.org/trac/boost/changeset/84950#file0
2013-11-11 08:50:45 -06:00
Dick Hollenbeck 87e378c14d BUILD_GITHUB_PLUGIN will build GITHUB_PLUGIN on Linux now. Don't know if the parser works yet, but the FootprintEnumerate() function worked in testing. 2013-09-21 14:20:31 -05:00
Dick Hollenbeck 96f8f6066d remove boost and make it an external project, so the procedure for upgrading is better documented 2013-05-30 23:46:02 -05:00