Commit Graph

147 Commits

Author SHA1 Message Date
Kovid Goyal
be9d876997
find common prefix and suffix of two strings 2018-05-03 20:15:28 +05:30
Kovid Goyal
bb1374f64e
Only define VCS_REV where it is needed 2018-04-29 18:47:14 +05:30
Kovid Goyal
ea9b431386
Allow changing the source used by test_compile 2018-04-20 21:02:05 +05:30
Kovid Goyal
23077fd6a6
DRYer 2018-04-20 20:56:29 +05:30
Kovid Goyal
5eee7ce338
Fix #475 2018-04-20 20:32:16 +05:30
Kovid Goyal
e3795eb07e
Dont add CPPFLAGS from the python build
They contain include paths specific to the python build such as -I. that
are not appropriate for building kitty. Also move cppflags in front of
cflags when invoking the compiler.
2018-04-19 10:33:10 +05:30
James McCoy
ddd4774169 setup.py: Support specifying CPPFLAGS distinctly from CFLAGS 2018-04-18 23:08:45 -04:00
Kovid Goyal
584b59c7a1
Shorter filtering code 2018-04-03 10:19:21 +05:30
Kovid Goyal
2e657f0020
Have safe_remove remove all instances 2018-04-03 10:15:58 +05:30
Kovid Goyal
ae112294c8
Fix compilation on Travis 2018-04-03 10:13:18 +05:30
Kovid Goyal
8b4c7ea23f
Pass CFLAGS to linker as well
Fixes #435
2018-04-03 10:03:03 +05:30
Kovid Goyal
2efa83bc4d
Use git rev-parse instead, more robust 2018-04-01 20:33:12 +05:30
Kovid Goyal
fa064bf9cf
When kitty is built from a git checkout show the current revision in --debug-config 2018-04-01 20:27:31 +05:30
Michael Vetter
1c2623e609 Have more detailed desktop file category
Let's use the 'TerminalEmulator' category according to the spec:
https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html
2018-03-21 11:28:57 +01:00
Kovid Goyal
5a905dfe7f
Add kitty.app to .gitignore
Also have make clean clean linux-package and kitty.app when running
manually.
2018-03-14 12:10:15 +05:30
Kovid Goyal
0333da991d
... 2018-03-12 08:11:43 +05:30
Kovid Goyal
2bf8e1b1a3
Allow the name of the lib directory in linux-package to be configurable. Fixes #372 2018-03-12 08:10:53 +05:30
Kovid Goyal
ffc717717c
Oops 2018-03-12 07:53:31 +05:30
Kovid Goyal
2c8414db5d
Be a bit more specific 2018-03-12 07:52:08 +05:30
Kovid Goyal
32473d7dc7
make clean fallsback to manual cleaning when not in a git checkout
Fixes #379
2018-03-12 07:50:54 +05:30
Kovid Goyal
0b1f5209d5
Use CFLAGS and LDFLAGS env vars when building the launcher as well
Fixes #374
2018-03-11 08:12:17 +05:30
Kovid Goyal
5ee1fbe07d
Copy the launcher script into linux-package
The launcher script is mostly useless on linux, but is needed
when using kitty.app built from source and might be useful on linux as
well, if running kitty without putting it on PATH.
2018-02-28 00:25:57 +05:30
Kovid Goyal
70125e0de5
Only build asan-launcher if --sanitize is given
Fixes #328
2018-02-16 08:56:30 +05:30
Kiyoshi '13k' Murata
bd741365cb Fix packaging trying to modify unrelated files
`package()` method in `setup.py` tries to compile and chmod all files
under the directory given by `--prefix PREFIX`.

If PREFIX is a directory containing other distributions (like
`/usr/local` or `$HOME/.local`), then it would try to compile - using
possibly the wrong python version - and chmod all files within PREFIX.
2018-02-15 19:46:51 -02:00
Kovid Goyal
8c18486836
Module with all the data for unicode entry by character name 2018-02-09 19:56:25 +05:30
Kovid Goyal
b6ed3951bc
Add the kittens dir when building the package 2018-02-09 16:59:15 +05:30
Kovid Goyal
973bbf3f8a
Fix #316 2018-02-09 16:44:52 +05:30
Kovid Goyal
5faa649452
Drop the dependency on libunistring 2018-01-18 00:09:40 +05:30
Kovid Goyal
236c92b2b4
No longer use a shell script for the wrapper .app 2018-01-11 08:40:35 +05:30
Kovid Goyal
566e641be1
Allow easily building a kitty.app wrapper to run kitty from source 2018-01-10 07:44:16 +05:30
Kovid Goyal
08d5448523
Move creation of Info.plist and kitty.icns into osx-bundle 2018-01-10 06:58:57 +05:30
Kovid Goyal
4621ff41d9
Skip building the wayland backend on systems with missing wayland protocol definitions
Fixes #254
2017-12-27 06:22:36 +05:30
Kovid Goyal
56a30a014c
Fix compilation order reversed 2017-12-11 20:28:36 +05:30
Kovid Goyal
5407fa72b4
Start work on rendering with CoreText 2017-12-10 20:28:06 +05:30
Kovid Goyal
e630abfe7f
Revert change to use libpng16
Does not fix the OP's problem.
2017-12-06 21:10:48 +05:30
Kovid Goyal
11b17c09ce
Call pkg-config with libpng16 instead of libpng
Should fix compilation on linux systems that have libpng12 as their
default libpng. libpng16 was released over five years ago! Sigh...
Fixes #216
2017-12-06 20:54:46 +05:30
Kovid Goyal
b3de442116
pretty colors 2017-12-01 12:16:14 +05:30
Kovid Goyal
fb797d7735
... 2017-12-01 12:16:14 +05:30
Kovid Goyal
eb8f4e0b3c
isosx -> is_macos 2017-12-01 12:16:13 +05:30
Kovid Goyal
85fcd51ea3
Enable building of glfw-wayland backend 2017-12-01 12:16:13 +05:30
Kovid Goyal
9ec6cf721f
Update compilation database even after failed builds 2017-12-01 12:16:13 +05:30
Kovid Goyal
bcd4c64b8a
Key compilation database by output as well 2017-12-01 12:16:13 +05:30
Kovid Goyal
3b0d8ec500
Nicer error when pkg-config fails 2017-12-01 12:16:13 +05:30
Kovid Goyal
df56080303
Fix building on travis/macOS libunistring detection 2017-12-01 12:16:12 +05:30
Kovid Goyal
ec06dd7460
Add a --verbose build flag 2017-12-01 12:16:12 +05:30
Kovid Goyal
3773aaa8a1
Get it building on macOS 2017-12-01 12:16:11 +05:30
Kovid Goyal
dfd8a69cf2
Build kitty against bundled glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
9307486254
Initial import of glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
6a627cca9e
A spot of refactoring 2017-12-01 12:15:36 +05:30
Kovid Goyal
480f4bf44e
Build script should not fail on python without threading 2017-12-01 12:15:36 +05:30