Commit Graph

159 Commits

Author SHA1 Message Date
Kazunari Sekigawa 709466bd54 Updated the build system for Mac. 2022-01-10 15:13:22 +09:00
Kazunari Sekigawa 5cfc13be71 WIP: Migration to Qt6.
This refs #45.
2021-11-28 07:51:05 +09:00
Kazunari Sekigawa 2858d4507e WIP: Migration to Qt6.
This refs #45.
2021-11-27 12:05:27 +09:00
Kazunari Sekigawa b600eb1b02 WIP: Updated the background image for DMGs 2021-11-26 18:30:59 +09:00
Kazunari Sekigawa 13d2e9018a Updated the build system for Mac to support Monterey 2021-11-16 23:06:24 +09:00
Kazunari Sekigawa bca2164c16 Updated the build system for Mac to support Monterey 2021-11-16 06:38:47 +09:00
Kazunari Sekigawa 04e345ef14 Set the EOL style back to Unix. 2021-07-17 22:39:46 +09:00
klayoutmatthias 1555daf68c Adjustments for Windows build with MSVC2019 (VC 16.10.31419.357)
1. removed some duplicate symbol linker error
2. removed many compiler warnings (mainly size_t/int compatibility)
3. consistent definition of db::pcell_id_type
4. removed UTF-8 character codes from string constants
5. float constants for float arguments
6. timeout in tlHttp when no openssl lib is found (instead of stalling
   app)
2021-07-17 00:20:55 +02:00
Kazunari Sekigawa 11fbef28b8 Updated the wrapper scripts to run "ut_runner" for QA tests. 2021-06-22 07:06:06 +09:00
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
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
Kazunari Sekigawa 88d4bd5550 Revised "ReadMe" and comments in *.py.
This refs #4 and #19.
2018-01-08 22:42:49 +09:00
Kazunari Sekigawa 208b93c3a7 Revised "ReadMe" and comments in *.py.
This refs #4 and #19.
2018-01-08 22:37:18 +09:00
Kazunari Sekigawa 10e48eef96 To use the latest "anaconda2" 5.0.1
This refs #4 and #19.
2018-01-08 16:57:56 +09:00
Kazunari Sekigawa 8c64e2bbaa To use the latest "anaconda2" 5.0.1
This refs #4 and #19.
2018-01-08 07:04:25 +09:00
Kazunari Sekigawa a36fdd246c In Qt5, my two favorite styles "clearlooks" and "motif" are not supported.
This refs #15.
2018-01-05 20:38:10 +09:00
Kazunari Sekigawa ecade95463 To add one option to trace deployment process of `macdeployqt` tool.
This refs #4 and #19.
2018-01-04 19:55:11 +09:00
Kazunari Sekigawa 91bf2a1eb0 To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 12:53:41 +09:00
Kazunari Sekigawa 016e5adbeb To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 07:41:44 +09:00
Kazunari Sekigawa 52d299ed62 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2018-01-01 08:42:13 +09:00
Kazunari Sekigawa 03222ee5c9 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2017-12-31 21:22:32 +09:00
Kazunari Sekigawa 65e9a1854a Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 21:00:03 +09:00
Kazunari Sekigawa 102cfe5c3d Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 00:11:19 +09:00
Kazunari Sekigawa 6e86ac77d3 Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-28 23:02:01 +09:00
Kazunari Sekigawa 978ac4786e Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-27 22:56:36 +09:00
Kazunari Sekigawa 376ddb7cf5 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-27 19:39:24 +09:00
Kazunari Sekigawa fa0fec9bfa Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 18:55:10 +09:00
Kazunari Sekigawa 6dfc5fe38a Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 16:34:24 +09:00
Kazunari Sekigawa fbcd9516a5 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 14:45:14 +09:00
Kazunari Sekigawa 9b9d68a638 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 13:58:42 +09:00