Add the generated macOS icons to git
Removes the need for optipng/librsvg when building kitty.
@ -65,7 +65,6 @@ jobs:
|
||||
- run: mkdir -p $SW
|
||||
- run: curl https://download.calibre-ebook.com/travis/kitty/osx.tar.xz | tar xJ -C $SW
|
||||
- run: echo "export PATH=$SW/bin:$PATH" >> $BASH_ENV
|
||||
- run: python3 logo/make.py
|
||||
- run: python3 setup.py build --debug --verbose
|
||||
- run: ./kitty/launcher/kitty +launch test.py
|
||||
|
||||
@ -78,7 +77,6 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- run: brew bundle
|
||||
- run: python3 logo/make.py
|
||||
- run: python3 setup.py build --debug --verbose
|
||||
- run: ./kitty/launcher/kitty +launch test.py
|
||||
- run: echo "export PATH=/usr/local/opt/sphinx-doc/bin:$PATH" >> $BASH_ENV
|
||||
|
||||
1
.gitignore
vendored
@ -5,7 +5,6 @@ tags
|
||||
build
|
||||
linux-package
|
||||
kitty.app
|
||||
logo/*.iconset
|
||||
compile_commands.json
|
||||
glad/out
|
||||
kitty/launcher
|
||||
|
||||
2
Brewfile
@ -1,7 +1,5 @@
|
||||
brew 'pkg-config'
|
||||
brew 'imagemagick'
|
||||
brew 'optipng'
|
||||
brew 'librsvg'
|
||||
brew 'harfbuzz'
|
||||
brew 'python'
|
||||
brew 'sphinx-doc'
|
||||
|
||||
@ -54,8 +54,7 @@ just ``kitty``.
|
||||
Building kitty.app on macOS from source
|
||||
-------------------------------------------
|
||||
|
||||
Install `imagemagick`, `optipng` and `librsvg` using `brew` or similar (needed
|
||||
for the logo generation step). And run::
|
||||
Run::
|
||||
|
||||
make app
|
||||
|
||||
|
||||
BIN
logo/kitty.iconset/icon_128x128.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
logo/kitty.iconset/icon_128x128@2x.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
logo/kitty.iconset/icon_16x16.png
Normal file
|
After Width: | Height: | Size: 552 B |
BIN
logo/kitty.iconset/icon_16x16@2x.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
logo/kitty.iconset/icon_256x256.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
logo/kitty.iconset/icon_256x256@2x.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
logo/kitty.iconset/icon_32x32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
logo/kitty.iconset/icon_32x32@2x.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
logo/kitty.iconset/icon_512x512.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
logo/kitty.iconset/icon_512x512@2x.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
2
setup.py
@ -749,8 +749,6 @@ def macos_info_plist():
|
||||
|
||||
def create_macos_app_icon(where='Resources'):
|
||||
logo_dir = os.path.abspath(os.path.join('logo', appname + '.iconset'))
|
||||
if not os.path.exists(logo_dir):
|
||||
raise SystemExit('The kitty logo has not been generated, you need to run logo/make.py')
|
||||
subprocess.check_call([
|
||||
'iconutil', '-c', 'icns', logo_dir, '-o',
|
||||
os.path.join(where, os.path.basename(logo_dir).partition('.')[0] + '.icns')
|
||||
|
||||