Commit Graph

106 Commits

Author SHA1 Message Date
Adam Harrison a68fff2fff Removed C++ 2021-09-24 11:23:49 -04:00
Adam Harrison 19b90aae18 Added freetype. 2021-09-24 11:22:39 -04:00
Adam Harrison be6bcbcacc Meson build updated. 2021-09-24 11:22:39 -04:00
Francesco Abbate 48c709a95f Prepare 2.0.2 version and changelog 2021-09-07 22:46:58 +02:00
redtide 261ab5daf2 Adapt all scripts to work together with build-packages.sh 2021-09-07 15:03:00 +02:00
Francesco Abbate 91da2ddfdd Move innosetup meson config into scripts directory
The purpose is to keep the main meson build file as simple as possible
while keeping the innosetup config.
2021-09-07 15:03:00 +02:00
Timofffee 9246a16e67 Bring back info.plist with meson configuration 2021-09-07 15:03:00 +02:00
redtide a75aca2538 Renamed freedesktop resources 2021-09-07 15:03:00 +02:00
Francesco Abbate e23b6176f4 Fix lua subproject options removed by error 2021-09-07 14:59:03 +02:00
Jan200101 fc4c7a29ee use dependency fallbacks, use system reproc if available 2021-09-07 14:59:03 +02:00
Francesco Abbate eeac85d4b4 Bump new version number 2021-08-28 16:44:25 +02:00
harens 2d088256b1
Add unix-like behaviour on macOS
Closes https://github.com/lite-xl/lite-xl/issues/398
2021-08-18 13:26:51 +01:00
takase1121 419cd58c8f remove x11 dependency in meson.build 2021-08-17 07:53:44 -07:00
Francesco Abbate 3396a6c802 Use the start.lua file in data/core as a template
Instead of having a separate start.lua.in file in the scripts directory
and no start.lua file in data/core we use the file data/core/start.lua
as a template for Meson to generate the final start.lua file for release.

In this way people naturally trying to run lite-xl from the source folder
will have a start.lua file albeit without a resolved version number.

Otherwise, when using run-local script or the meson install command the
meson-generated start.lua file will be used as it should be.
2021-08-12 10:35:32 +02:00
redtide 3468164518 Updated Meson configuration
- Added version and license metadata
- Configuration data to be used in configured files to set metadata
- Portable binary and directories in the main install directory
- Binary file installed in correct places for all supported platforms
- Freedesktop AppStream support
- Added missing files install rules
2021-08-09 22:26:16 +02:00
redtide 0ed707c68f InnoSetup build scripts 2021-07-13 23:41:32 +02:00
redtide df63775dca Use lite-xl as project and exacutable names 2021-06-25 22:54:02 +02:00
redtide 3f58e554ba Reorganization of data resources 2021-06-24 22:53:14 +02:00
jgmdev 5d2734de81 Merge reproc changes from dev. 2021-06-18 14:19:09 -04:00
Adam 6097ba36d7
Merge pull request #269 from Jan200101/docdir-patch
documents should not be put into global doc root
2021-06-12 14:31:26 -04:00
Jan200101 7ea096247c
documents should not be put into global doc root 2021-06-11 23:38:25 +02:00
Tommi Jalkanen f23419994d
Fix: broken build-packages.sh (#251)
Previous commit changed the locations of certain documentation files
causing the meson build to fail.
2021-06-03 21:43:09 +02:00
Adam 248d70a8ca
Add PCRE to support regular expressions
Use regular expressions instead of Lua patterns for find and replace editor commands.

Syntax files can now use regex or Lua patterns as before keeping backward compatibility for plugins.
2021-06-02 21:27:00 +02:00
Francesco Abbate 217360ed31 Switch to FiraSans and JetBrainsMono fonts 2021-05-22 15:09:54 +02:00
Adam Harrison 3a5f04fae5 Spelling mistkae. 2021-05-21 16:32:26 -04:00
Adam Harrison 18fe6576d8 Fixed meson build on Mac. 2021-05-21 16:31:31 -04:00
Francesco Abbate 3d84fe5488 Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
Francesco Abbate a7d6a48321 Add objective-c languange in meson only for macos 2021-04-19 08:12:55 +02:00
Francesco Abbate 53f77a29ea Implement correctly loading from macos bundle resources 2021-04-18 08:51:31 -07:00
Takase 49cde08ed6
Use Xlib to read resources (#142) 2021-04-02 16:43:21 +02:00
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