Commit Graph

283 Commits

Author SHA1 Message Date
Marcel Hollerbach a6d256cb6a build: fix macos build
Summary:
it the .pc file of luajit carries linker flags that causes compilation
fails on macos, thus we need to split up the .pc file into our own
dependency, and use it with causion

Reviewers: zmike, cedric, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7995
2019-02-22 08:53:20 -05:00
Marcel Hollerbach 46d464e5bf here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.

meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.

Further informations can be gathered from the README.meson

Right now, bindings & windows support are missing.

It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.

Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>

Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
2018-10-02 17:22:50 +02:00
Daniel Kolesa e73f7f7a40 elua lib: use Eina_Bool as return val in some utils 2015-05-06 15:05:23 +01:00
Daniel Kolesa 88faba813c elua lib: merge the 3 setup funcs into one
This allows simpler initialization and elua_util_require
can now queue up modules before full initialization is done.
2015-05-06 15:05:23 +01:00
Daniel Kolesa 0d8b38a2ac elua: include fix 2015-05-06 15:05:22 +01:00
Daniel Kolesa 5cd8e4e67b elua: remove long opts (not necessary or useful) 2015-05-06 15:05:22 +01:00
Daniel Kolesa d8890209af elua lib: unify API conventions 2015-05-06 15:05:20 +01:00
Daniel Kolesa eea537ded3 elua: cleanup launcher 2015-05-06 15:05:20 +01:00
Daniel Kolesa 02de415312 elua: cleanup main runtime 2015-05-06 15:05:20 +01:00
Daniel Kolesa 24a694026a elua lib: add elua_state_setup_modules + use 2015-05-06 15:05:20 +01:00
Daniel Kolesa 8041b042fe elua lib: move i18n initialization there 2015-05-06 15:05:20 +01:00
Daniel Kolesa 0496762057 elua: utilize the new elua_util APIs 2015-05-06 15:05:20 +01:00
Daniel Kolesa f80999ae60 elua: use the new progname API 2015-05-06 15:05:20 +01:00
Daniel Kolesa 13bd7ba653 elua lib: add progname to state 2015-05-06 15:05:20 +01:00
Daniel Kolesa 865e2e3364 elua: remove -e param (we're not a REPL) 2015-05-06 15:05:20 +01:00
Daniel Kolesa a2d9f1af91 elua: utilize the new APIs for handling require/appload 2015-05-06 15:05:20 +01:00
Daniel Kolesa 87a8e51cd3 elua: remove elua_prefix from main runtime 2015-05-06 15:05:19 +01:00
Daniel Kolesa 5f6109bc47 elua: new API elua_state_dirs_fill + utilize 2015-05-06 15:05:19 +01:00
Daniel Kolesa c1cfcc35b9 elua: remove path decision from register_require 2015-05-06 15:05:19 +01:00
Daniel Kolesa 498501b9d7 elua: remove EFL_RUN_IN_TREE hack (pass cmdline args) 2015-05-06 15:05:19 +01:00
Daniel Kolesa 329fae97b0 elua lib: manage bound modules within Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa 1bc0bd1aa7 elua: use the new state get API 2015-05-06 15:05:19 +01:00
Daniel Kolesa 19bb7eb460 elua lib: new APIs to retrieve dirs 2015-05-06 15:05:19 +01:00
Daniel Kolesa f17e8025b8 elua lib: more Elua_State usage 2015-05-06 15:05:19 +01:00
Daniel Kolesa 128aa3a1ea elua lib: elua_io_loadfile now uses Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa 01aecbe273 elua: use the dir paths from Elua_State 2015-05-06 15:05:19 +01:00
Daniel Kolesa ed3f24943f elua lib: add elua_state_dirs_set 2015-05-06 15:05:19 +01:00
Daniel Kolesa 098f2ad4cd elua: no need for luaL_openlibs, the lib does that 2015-05-06 15:05:19 +01:00
Daniel Kolesa 92ad720127 elua: remove the smart cb wrapper (ffi callbacks work fine for us) 2015-05-06 15:05:19 +01:00
Daniel Kolesa 1dcc62c7c2 elua: pass Elua_State through Main_Data 2015-05-06 15:05:19 +01:00
Daniel Kolesa 446fdd68c9 elua: Elua_state for elua_loadapp 2015-05-06 15:05:18 +01:00
Daniel Kolesa cf98f846e9 elua lib: Elua_State for elua_state_setup_i18n 2015-05-06 15:05:18 +01:00
Daniel Kolesa 17a54ff8e0 elua: use more Elua_State 2015-05-06 15:05:18 +01:00
Daniel Kolesa c1487c8b11 elua: elua_report_error now takes Elua_State* 2015-05-06 15:05:18 +01:00
Daniel Kolesa e0066ca9e7 elua: use elua_state_new/free 2015-05-06 15:05:18 +01:00
Daniel Kolesa 208ad62d3c elua: error reporting in the library 2014-12-17 14:44:12 +00:00
Daniel Kolesa ec78c23761 elua: remove main.h (launcher is only 1 C file now) 2014-12-12 13:43:39 +00:00
Daniel Kolesa 09869589c9 elua: move caching into the library 2014-12-12 13:39:57 +00:00
Daniel Kolesa 4a1bfdeb4d elua: move io extensions to library 2014-12-12 12:04:10 +00:00
Daniel Kolesa 784045df9a elua: move i18n setup to the library 2014-12-12 10:44:58 +00:00
Daniel Kolesa c65221c0ae elua: move core scripts to src/scripts 2014-12-11 16:59:27 +00:00
Daniel Kolesa aa6f9ea4a9 elua: add checkme 2014-12-11 16:41:24 +00:00
Daniel Kolesa 3b343878a8 elua: add initial pieces of the library 2014-12-11 15:48:18 +00:00
Daniel Kolesa 67c693eff1 elua: support is_c_only in lualian 2014-12-03 15:27:38 +00:00
Daniel Kolesa e2351f0086 allow for loading of eo.lua files from module path 2014-11-19 14:05:18 +00:00
Daniel Kolesa a09049e563 elua: do not emit spaces where not required 2014-11-19 12:57:10 +00:00
Daniel Kolesa b1009770ef elua: simplify lualian typeconv 2014-11-19 11:40:49 +00:00
Daniel Kolesa 6b20fcdc8f elua: two-stage bytecode caching
This unbreaks parallel builds where an elua process tries to read a bytecode
file that is currently being written. Now, we write into a temporary file first
instead and when it's written, rename.

@fix
2014-11-06 10:57:36 +00:00
Daniel Kolesa f0f9edd0bd elua: remove the : prefix for running apps
Instead, check if there is a file specified by the argument to elua and
if there is, execute it, otherwise treat it as app name. The reason this
is done is that the colon triggered ugly stuff in certain environments,
such as our MinGW crossbuild Jenkins slave.

@fix
2014-11-05 16:09:36 +00:00
Daniel Kolesa d23b9342d5 elua: remove redundant checks 2014-11-05 09:52:01 +00:00