106 Commits

Author SHA1 Message Date
Kovid Goyal
02ef3c6dc8 Linux: Use libfontconfig directly instead of calling fc-match
There are apparently some linux systems out there with versions of
fontconfig that do not understanf the :charset query when passed to
fc-match. See #46
2017-02-08 21:52:10 +05:30
Kovid Goyal
ebacb16f67 Compile the launcher with -fpie 2017-02-06 16:19:33 +05:30
Kovid Goyal
af1f3cc7c7 More robust in bundle launcher
Ignores environment, user settings. Should minimize the chances of
conflict with any other python installations on the system.
2017-02-02 14:26:26 +05:30
Kovid Goyal
543af0dd89 Implement building OS X bundle
In order for @executable_path resolution to work the launcher has
to link against the python dll rather than running the python
executable.
2017-02-02 12:04:52 +05:30
Kovid Goyal
9cfa3dd0ea Use tic when building linux-package instead of hard coding terminfo directory structure 2017-01-23 09:29:23 +05:30
Kovid Goyal
3cbb0b22dc Fix terminfo file not being used on OS X
On OS X tic has a different directory layout than on linux. Sigh.
2017-01-23 08:56:52 +05:30
Kovid Goyal
58b220abc6 Fix linking against python failing for brew based python installs on OS X 2017-01-20 22:38:58 +05:30
Kovid Goyal
df5c225b5a Set window icon on linux 2017-01-18 20:52:06 +05:30
Kovid Goyal
ed77692a87 Generate icon and .desktop file in linux-package 2017-01-18 20:26:39 +05:30
Kovid Goyal
fea0862a35 Do not use GLEW on OS X 2017-01-12 00:50:44 +05:30
Kovid Goyal
70719d37fd Implement optional incremental compilation 2017-01-11 04:45:27 +05:30
Kovid Goyal
54285a0f17 Compile the core_text module using Objective-C 2017-01-11 03:34:43 +05:30
Kovid Goyal
f15233b655 Start work on CoreText font rasterization 2017-01-11 03:34:43 +05:30
Kovid Goyal
45dcef4304 Give up on using brew on Travis 2017-01-10 13:06:48 +05:30
Kovid Goyal
6738724d4f ... 2017-01-10 12:53:23 +05:30
Kovid Goyal
df1ca0a342 ... 2017-01-10 12:53:11 +05:30
Kovid Goyal
7c580dca31 Try and figure out why linking against python is failing on OS X Travis 2017-01-10 12:45:33 +05:30
Kovid Goyal
7b792cbca3 DRYer 2017-01-10 09:55:44 +05:30
Kovid Goyal
c1a6272d0d oops 2017-01-10 09:49:53 +05:30
Kovid Goyal
3fb417f80a Forgot to add LIBDIR 2017-01-10 09:47:44 +05:30
Kovid Goyal
2622a849df Make the process for detecting python compile flags more robust
Now follows the implementation in python3-config
Also add OpenGL.framework when building on OS X
2017-01-10 09:45:33 +05:30
Kovid Goyal
192ce1dea8 Apparently glfw on OS X incorrectly puts the frameworks into Libs.private 2017-01-10 07:28:59 +05:30
Kovid Goyal
261cd576c1 Get rid of debug symbols from linux-launcher 2017-01-09 11:25:56 +05:30
Kovid Goyal
445579942c Make creating a linux package even easier 2017-01-09 10:37:10 +05:30
Kovid Goyal
f668d1480d ... 2017-01-09 07:16:21 +05:30
Kovid Goyal
c4bcceb440 Fix #24 2017-01-09 06:37:32 +05:30
Kovid Goyal
54c9f2015e Allow optimization level to be controlled via command line args 2017-01-08 13:05:32 +05:30
Kovid Goyal
50b0f44dff Add a linux-package command to help linux packagers create good kitty packages 2017-01-08 12:17:44 +05:30
Kovid Goyal
34c947ba35 Dont rely on --atleast-version 2017-01-08 11:06:35 +05:30
Kovid Goyal
0cd0a9f778 Use Python rather than Python.framework for linking 2017-01-08 10:30:01 +05:30
Kovid Goyal
b3fbb938b3 Handle build failing when running under pyenv 2017-01-08 08:48:31 +05:30
Kovid Goyal
a9856da2c3 Disable check for glew version on travis 2017-01-07 22:11:23 +05:30
Kovid Goyal
46169ace1c Show version of glew when version 2 not found 2017-01-07 22:09:12 +05:30
Kovid Goyal
e8bbf3fe4f Add a build time check for glew >= 2.0.0 2017-01-07 21:59:35 +05:30
Kovid Goyal
c3218356d4 Fix #2 2017-01-07 13:01:32 +05:30
Kovid Goyal
ca97b86d16 A more robust derivation of the python dll 2017-01-07 11:42:10 +05:30
Kovid Goyal
7559ff97e1 Turn on address sanitization when running on Travis 2016-12-18 15:03:23 +05:30
Kovid Goyal
ff83aa2730 Get rid of glfw_constants 2016-11-29 14:20:21 +05:30
Kovid Goyal
d34db436dd Get rid of the freetype ctypes based bindings 2016-11-28 20:06:42 +05:30
Kovid Goyal
3c8d2dce36 ... 2016-11-21 10:25:53 +05:30
Kovid Goyal
2cf0243974 Compile in mtime order 2016-11-13 10:27:24 +05:30
Kovid Goyal
939ffe191f Implement dual compilation with custom defines 2016-11-12 11:41:40 +05:30
Kovid Goyal
da02e494f3 Suppress missing braces warning on gcc < 5.2 2016-11-12 09:04:17 +05:30
Kovid Goyal
11cf9b0736 Only use the strong stack protector if gcc is new enough 2016-11-12 08:53:27 +05:30
Kovid Goyal
cf5341ad3c ... 2016-11-12 08:39:23 +05:30
Kovid Goyal
2b362108b8 ... 2016-11-12 08:27:12 +05:30
Kovid Goyal
d28c7fee68 ... 2016-11-11 22:11:40 +05:30
Kovid Goyal
a8616f8598 Start work on migrating tracker to native code 2016-11-11 21:56:39 +05:30
Kovid Goyal
44e8a6c3c7 Start work on sprite map 2016-11-10 17:22:00 +05:30
Kovid Goyal
32e4de1c79 Faster color table 2016-11-10 08:00:06 +05:30