Commit Graph

100 Commits

Author SHA1 Message Date
Kazunari Sekigawa 0051d83026 Synced with the latest Homebrew formula names. 2021-05-08 22:28:32 +02:00
Kazunari Sekigawa acf52e5e4f Updated Homebrew-related documents. 2021-05-08 22:28:27 +02:00
Kazunari Sekigawa 50574ab1ed Modified the build system for macOS to test an M1 Mac. 2021-05-08 22:28:19 +02:00
Kazunari Sekigawa 6f031a4baf Added a new option to control "-without-qt-uitools" 2021-03-15 10:23:36 +01:00
Kazunari Sekigawa 5ac2da4606 Update of the build system for macOS (#725)
* Updated the background image for mac DMGs.

* Updated a convenience tool for making DMGs for macOS.
2021-02-08 22:07:51 +01:00
Kazunari Sekigawa a9c47b460f Update of the macOS development environment for Big Sur (#711)
* In the MacPorts environment, Ruby 2.7 is used.

* Updated the build tools for Mac supporting Qt-5.15.2 from MacPorts.

* Updated the Ruby environment for BigSur and Catalina.

* To update the Mac DMG maker to support Big Sur.

* Updated the resource files for Mac DMGs.
2021-01-27 12:45:22 +01:00
Kazunari Sekigawa c087f37aa9 In the MacPorts environment, Ruby 2.7 is used. (#690) 2020-12-08 23:33:11 +01:00
Kazunari Sekigawa 22df10f425 Update of the build system for macOS for 0.26.9 (#686)
* * Updated the build system for Mac
* Catalina env. uses Python 3.8 in MacPorts, Homebrew, and Anaconda3.

* Use Ruby 2.7 in MacPorts.

* Test build for macOS "Big Sur" (11.0) on Intel Mac "Catalina" (10.15.7).

* Updated the build system for macOS, including the future support for Big Sur (11.0)
2020-11-26 23:01:14 +01:00
Thomas Ferreira de Lima b37ce4e130 WIP: Parametrizing macbuild to make custom installations easier (#680)
* Changing indentation to 4 spaces

* squash

* removing more global variables (squash)

* | tee always exits with 0

* parameter is a dictionary now

* Changing default Makefile to HB38 and adding -rbinc2 option for Catalina

* Catalina building...

* macQAT fixed

* run_build_command depends on parameteres dict alone

* Adding options to macbuild/makeDMG4mac.py

In particular, we can now specify a -u (unsafe) option, and
specify the target dmg file with -t target.dmg
2020-11-21 22:09:03 +01:00
Kazunari Sekigawa 2f0fa28e58 * Updated the build system for Mac (#645)
* Catalina env. uses Python 3.8 in MacPorts, Homebrew, and Anaconda3.
2020-10-10 00:10:08 +02:00
Kazunari Sekigawa ec4d175726 Update the build system for Mac. (#612) 2020-07-17 01:04:27 +02:00
Kazunari Sekigawa 1043ae165c Reviewed and edited the contents of "ReadMe" files. 2020-05-25 22:20:30 +02:00
Kazunari Sekigawa 106a5c879d Improved the tool kit for making DMG packages for macOS. 2020-05-25 22:20:27 +02:00
Kazunari Sekigawa 004eb09b7c Update the sample script bundles, too. 2020-05-25 22:20:25 +02:00
Kazunari Sekigawa 2eeb1c69cd Fix the link error in using Anaconda3. 2020-05-25 22:20:19 +02:00
Kazunari Sekigawa edba2bd7a0 Update of the build environment for macOS (#553)
* Update Homebrew environment: Python 3.7.7

This refs #36.

* Update the sample script bundles in Bash to accept design file names.
2020-05-10 21:55:34 +02:00
Kazunari Sekigawa 20dd377108 Update the build tools for macOS:
* KLayout version 0.26.4
 * Homebrew Ruby 2.6 --> 2.7.
2020-03-07 07:30:48 +09:00
Kazunari Sekigawa 5bb85c7490 The command line buddy tools need the symbolic link under Frameworks:
'db_plugins' --slink--> ../MacOS/db_plugins/
2020-01-08 22:20:55 +09:00
Kazunari Sekigawa e7dc551f7b Set the right Ruby environment for Mojave. 2020-01-01 15:44:59 +09:00
Kazunari Sekigawa 9c9d517a73 Added "ReadMe.txt" file regarding the sample script bundles (*.app). 2019-12-29 18:40:20 +09:00
Kazunari Sekigawa ccaad225a7 To build 0.26.1 on Catalina. Updated comments. 2019-12-22 20:38:52 +09:00
Kazunari Sekigawa aaf117508d To build 0.26.1 on Catalina. 2019-12-22 20:38:52 +09:00
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