Commit Graph

26 Commits

Author SHA1 Message Date
Francesco Abbate 7802202625 Update subprojects options and version
Now no longer builds libagg examples applications neither Lua's
interpreter and bytecode compiler. Only the static libraries are built.
2021-02-26 15:49:30 +01:00
Francesco Abbate 351a772466 do not use 'portable' as a compile time option
Introduce the file core/start.lua to initialize applications variables
2021-02-24 16:29:39 +01:00
Francesco Abbate f22a56a651 Adjust indentation size in meson.build 2021-02-19 16:13:27 +01:00
Francesco Abbate 0233941fe9 Bump version number 2021-02-19 13:54:10 +01:00
francesco-st 588755b15a
Use -static-libgcc only if the compiler is gcc
clang does not accept the -static-libgcc flag and apparently -static-libstdc++ is accepted but has no effect.
2021-02-17 18:42:38 +01:00
Francesco Abbate 7aefb5e99c Fix install directory for data folder 2020-12-16 18:03:36 +01:00
Francesco Abbate d18eef4ef0 Update recipe for Lua subproject
Previous recipe was not working with shared build
2020-12-14 18:40:08 +01:00
Francesco Abbate c41dedafad Improve the implementation of unix-like directories usage
Add a Meson option "portable" to choose between "portable" and unix-like
directories. Add information about this option in the README.

To determine the user's directory use the variable USERPROFILE only on
Windows and use HOME otherwise.

Implement the "portable" option in the package build script.
2020-12-03 16:46:18 +01:00
Francesco Abbate a337f893d9 Implement user's config as init file and add directory into package.path
Create the user's config init file if lite user's config directory does
not exists.

No longer use the awkward package.searchers but instead add user's
config dir at the end of package path.
2020-12-02 16:03:31 +01:00
Francesco Abbate 3589d7d3c0 First implementation of unix-like data directory
It basically works by setting the data directory to

$prefix/share/lite-xl

where $prefix is determined so that $prefix/bin corresponds to EXEDIR.

The packages 'user' and 'user.*' are loaded from the directory
'$HOME/.config/lite-xl'.
2020-12-02 00:23:15 +01:00
Francesco Abbate 0ad3353f93 Update version number in meson 2020-07-04 22:08:59 +02:00
Francesco Abbate a292793143 Usa system provided Lua 5.2 if found 2020-06-30 16:48:41 +02:00
Francesco Abbate 0b16ce725c Specified static library for Lua subproject 2020-06-30 16:17:17 +02:00
Francesco Abbate 1fc6d62b14 Fix Lua subproject ofr Mac OS X 2020-06-29 17:01:14 +02:00
Francesco Abbate c4da51e8df Add Lua 5.2.4 as a subproject 2020-06-29 15:26:00 +02:00
Francesco Abbate aa9557e9ba Fix meson build to request lua5.2 2020-06-17 20:27:59 +02:00
Francesco Abbate 047039a750 Require Lua 5.2 in Meson build 2020-06-08 12:35:36 +02:00
Francesco Abbate e86ee053f3 Update version in meson build 2020-06-07 09:59:55 +02:00
Francesco Abbate 43d229a399 Remove no longer used tests and stb truetype dep 2020-06-07 09:59:31 +02:00
Francesco Abbate c5575de058 Move font renderer in a separate folder as a library 2020-06-04 18:52:01 +02:00
U-ST\francesco abbate f61ffc4710 Add missing resource file on windows 2020-06-03 12:22:17 +02:00
Francesco Abbate 01a4981210 Use static libgcc and libstdc++ when doing release build 2020-06-02 23:20:22 +02:00
Francesco Abbate 20626ab911 Add small test program for stb_truetype 2020-05-29 12:54:36 +02:00
Francesco Abbate 23a080ca45 WIP: compiles but completely broken
AGG files imported from AGG repository, sdl-testing branch.

the pixfmt_bgra32_lcd is just implemented and is not tested.
2020-05-28 12:15:24 +02:00
Francesco Abbate 7b9def299d Add dl library because it may be needed by SDL2
Should be fixed to be added only when needed.
2020-05-25 12:23:46 +02:00
Francesco Abbate 618078829c Add meson build configuration
Currently the editor will not work if it is not installed.

There is also a caveat about the 'data' directory which is installed
in the bin directory. This may work but does not seem ok because it is
pollution a shared bin directory and the 'data' folder may not be unique
to Lite.
2020-05-25 12:22:23 +02:00