• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

metacollin/homebrew-kicad: Homebrew tap for KiCad, the electronic design automat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

metacollin/homebrew-kicad

开源软件地址:

https://github.com/metacollin/homebrew-kicad

开源编程语言:

Ruby 100.0%

开源软件介绍:

Homebrew KiCad EDA Suite

KiCad 5 prerelease and KiCad stable supported.

Delicious and foamy stable (and --HEAD!) Homebrew tap for KiCad. This is intended for anyone who wants to customize their build of KiCad, build latest stable release optimized for their specific version of OS X and using the latest version of boost and other dependencies.

Installation is simple...

brew tap metacollin/kicad
brew install kicad

Or the more adventurous, install the latest development version:

brew install kicad --HEAD
# And to automatically check for more recent revisions of any --HEAD formulae:
brew upgrade --fetch-HEAD
# or just upgrade kicad:
brew upgrade --fetch-HEAD kicad

...but it's good to have options...

--with-oce            # Use OC for native support several 3D model formats, including .STEP.
                      # Requires building --HEAD

--with-libngspice     # Enable SPICE simulation capabilities in eeschema using ngspice as the backend.
                      # Requires building --HEAD

--without-python      # If you're afraid of danger noodles.

--HEAD                # Builds the latest development version of KiCad.

--debug               # Build with debugging turned on

Some things have changed

If you previously installed this tap, you should know that the included dependencies have been reworked and renamed. You may want to perform the following:

brew remove wxkicad # (and wxkdebug if installed)
brew remove kicad
brew untap metacollin/kicad
brew tap metacollin/kicad
brew install kicad

The dependencies have been split into two new formula, kicad-wxwidgets and kicad-wxpython. This is more robust and should be less error-prone than previous ways of dealing with the patched wx dependency.

How to add KiCad.app to the dock and continue to work through upgrades

If you are following --HEAD, you might be upgrading KiCad every couple of days, or even several times a day. If you have it in your dock, I'm sure you've noticed that with every upgrade, it will no longer be able to find KiCad.app.

Here is a quick and dirty hack to give yourself a Kicad.app dock icon that will always work even across ugprades:

Launch Script Editor (located in /Applications/Utilities), create a new script, and paste this into the script editor:

on run
  set p to "/usr/local/opt/kicad/kicad.app"
  set a to POSIX file p
  tell application "Finder"
    open application file a
  end tell
end run

Now goto File->Export and change the File Format to Application.

This is going to be our 'proxy' Kicad.app. It tells the finder to launch an alias that always points to KiCad.app, automatically linked by homebrew. How you chose to do this is up to you, but I like to disguise it by naming it KiCad.app, putting it in my /Applications folder, and even pasting KiCad's icon as its icon.

Regardless, you now have a .app you can plop into your dock and it will always launch KiCad. It will not, however, remain running as if it really was KiCad - a second KiCad.app will appear at the end of your dock, while the icon you clicked will have already quit itself.
C'est la vie




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap