Commit Graph

78 Commits

Author SHA1 Message Date
Kazunari Sekigawa 056c7146f3 To force "Light Mode" in Mojave "Dark Mode." 2019-03-25 22:17:40 +01:00
Thomas Ferreira de Lima b995c67a26
os.makedirs has no exist_ok in python2 2018-10-05 09:42:42 -04:00
Thomas Ferreira de Lima 96be601da9
improving build process. tentative fix to python3 osx10.11 2018-10-05 09:42:42 -04:00
Matthias Koefferlein d8b1808234 Enhanced the build script to properly set the library IDs
This fix assigns proper library IDs and load paths for the dependent
libraries even if they are distributed among several directories.

This is in particular important for the stream and tool plugins
which exist in a folder next to the application but have to refer
to libraries from the Frameworks folder.

The fix consists of extending the library analysis within build4mac.py
and supplying an additional directory listing the target directories.
2018-10-02 18:57:04 -07:00
Matthias Koefferlein f7c4aa0348 (Partial) attempt to fix the plugin detection issue on MacOS 2018-10-02 17:36:30 -07:00
Matthias Koefferlein c053e4f8ec Manual merge of remaining files from lightwave-lab:pymod-test to pymod
git merge failed, probably because there were two parallel attempts
to merge master into pymod leading to opposite resolutions.
2018-10-02 22:41:08 +02:00
Daniel Wang b9484f9ebd
Remove pathlib dependency for building on Mac OS 2018-08-08 14:30:48 -04:00
Daniel Wang ba3720ad4a
Fix Mac OS build scripts to work with both Python 2 and Python 3 2018-08-02 20:15:45 -04:00
Thomas Ferreira de Lima 896f7347f0 full python embed with dependencies. includes ssl 2018-06-26 03:24:02 -04:00
Thomas Ferreira de Lima b93e90f826 mac build doc edit 2018-06-25 20:19:23 -04:00
Thomas Ferreira de Lima a9419b62f4 new klayout_console script 2018-04-11 16:52:00 -04:00
Thomas Ferreira de Lima 87212fdd03 build4mac only works with python3 for now 2018-03-19 17:47:57 -04:00
Thomas Ferreira de Lima f23a4a7227 Adding start-console.py script to klayout.app 2018-03-19 17:18:24 -04:00
Thomas Ferreira de Lima 6438d665fc Embedding the Python.framework into the bundle. patching distutils, site and pip so they work inside. 2018-03-19 17:04:37 -04:00
Kazunari Sekigawa 93116b39c2 MacPorts has released Qt 5.10.1.
(1) To build KLayout 0.25.2 with it.
(2) To slightly change the background image for the DMG installer.

This refs #26.
2018-04-09 20:06:03 +09:00
Thomas Ferreira de Lima 1ed12d4715 Merge branch 'master' into macos_retina 2018-03-19 23:21:06 -04:00
Kazunari Sekigawa a4fdd4ad58 Confirmed that Qt5.10.x can be used.
More precisely, KLayout 0.25.2 can work with
 (1) Qt5.10.0 from MacPorts
and
 (2) Qt5.10.1 from Homebrew
on Yosemite and High Sierra.

This refs #4 and #22.
2018-03-19 15:51:15 +09:00
Kazunari Sekigawa 3384310676 Use Qt5.10.x instead of Qt5.9.x.
This refs #4 and #22.
2018-03-19 10:06:38 +09:00
Kazunari Sekigawa a8236ebb24 Merge remote-tracking branch 'upstream/master' 2018-03-18 06:47:50 +09:00
Thomas Ferreira de Lima b5b3144aba Revert "Changing python path for brew installation"
This reverts commit fa96f6d352.

Thinking about it, it would be horrible for deployment. Need to rethink this.
Klayout will break once python goes to 3.7 and brew updates it.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima 305240ccc3 Changing python path for brew installation
- Assuming user installing with brew wants the library link to go to cellar rather than /usr/local/opt/.
- Python gets updated often in brew, and an update could possibly break klayout.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima e90edf4434 Compilation with brew dependencies successful!
Using brew's qt and python3 formulae
Bonus: I have also added a script that embeds python into bundle, recursively adding dependencies from inside /usr/local/opt. That means that /usr/local/lib folders are not going to be copied. I saw one dependency to /usr/local/lib/gcc from one of numpy's modules, instead of pointing towards /usr/local/opt/gcc/lib/gcc.

Side effects: Renaming Qt5Custom to Qt5Brew
2018-03-16 17:01:47 -04:00
Thomas Ferreira de Lima a6738f5be4 better ruler rendering. Fails totally at 2x oversampling 2018-03-15 23:07:25 -04:00
Matthias Köfferlein 4ef4635e24
Merge pull request #86 from lightwave-lab/master
Building KLayout on macOS High Sierra with python3 from brew and Qt 5.9.4
2018-03-11 22:20:41 +01:00
Kazunari Sekigawa fd3a6e7798 adding icon to ".gds" and ".oas", too. 2018-03-11 10:26:57 +09:00
Kazunari Sekigawa a7191b5059 Merge remote-tracking branch 'lightwave-lab/master' into lightwave-lab 2018-03-11 10:24:06 +09:00
Thomas Ferreira de Lima f449317491 Merge remote-tracking branch 'master' into development 2018-03-08 15:37:39 -05:00
Thomas Ferreira de Lima 423fec4808 adding icon to .gds files 2018-03-07 13:20:41 -05:00
Thomas Ferreira de Lima 8ec78a99a9 open with working properly in MacOS. 2018-03-07 12:54:01 -05:00
Thomas Ferreira de Lima 1e9c7b1246 Changing Info.plist to associate .gds files with klayout 2018-03-06 21:43:08 -05:00
Thomas Ferreira de Lima ac2bd96ace successful build with qt 5.9.4 and py 3.6.4 2018-03-06 19:29:21 -05:00
Thomas Ferreira de Lima 7aaf391044 symbolic link to klayout executable now opens klayout properly 2018-03-06 15:25:43 -05:00
Thomas Ferreira de Lima bd1b2f2bbe running build script in python3 2018-03-06 01:01:16 -05:00
Thomas Ferreira de Lima 4e4beefe3b adding QtCustom flag for macos building 2018-02-07 10:51:38 -05:00
Thomas Ferreira de Lima ee0c348e14 adding brew options for python 3.6 and ruby 2.5 2018-02-05 23:49:18 -05:00
Kazunari Sekigawa c78ea38f72 To debug "makeDMG4mac.py"
This refs #22.
2018-01-16 18:47:30 +09:00
Kazunari Sekigawa 7fd231bba3 To debug "makeDMG4mac.py"
This refs #22.
2018-01-16 14:08:25 +09:00
Kazunari Sekigawa 1c4f81fd63 To debug "makeDMG4mac.py"
This refs #22.
2018-01-15 21:16:16 +09:00
Kazunari Sekigawa 0f2983e553 To debug "makeDMG4mac.py"
This refs #22.
2018-01-15 18:22:14 +09:00
Kazunari Sekigawa 3fe0280a14 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-15 15:12:06 +09:00
Kazunari Sekigawa d1d4751a3c Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-15 14:55:24 +09:00
Kazunari Sekigawa 8b6ce079a2 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-14 17:17:53 +09:00
Kazunari Sekigawa 86a5f95648 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-14 11:12:45 +09:00
Kazunari Sekigawa 07b8d2b27a Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-13 18:00:39 +09:00
Kazunari Sekigawa 542b5da614 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-13 17:18:14 +09:00
Kazunari Sekigawa 38624728ff Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-13 17:17:32 +09:00
Kazunari Sekigawa 32c7cc82b6 Prepare Python script for making a DMG file from bundles.
This refs #22. (reverted from commit 26bc073828)
2018-01-13 12:54:42 +09:00
Kazunari Sekigawa 26bc073828 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-12 17:55:51 +09:00
Kazunari Sekigawa 97d1e2c520 Prepare Python script for making a DMG file from bundles.
This refs #22.
2018-01-11 21:46:56 +09:00
Kazunari Sekigawa 12803430ab Start writing Python script for making a DMG file from bundles.
This refs #22.
2018-01-09 21:13:10 +09:00