This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/47/head
in repository efl.
View the commit online.
commit d3a2d8dffed4d46d1aa7bc543cd4de1ff8946c26
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Fri Dec 22 09:39:03 2023 +0500
meson: remove unused meson_modules
Small refactoring as well.
---
meson.build | 41 +++++++++++++++++------------------------
meson/meson_modules.sh | 8 --------
2 files changed, 17 insertions(+), 32 deletions(-)
diff --git a/meson.build b/meson.build
index d3a4d26491..3ab254c9b2 100644
--- a/meson.build
+++ b/meson.build
@@ -42,13 +42,10 @@ if host_os == 'linux'
endif
endif
-if sys_osx
- add_languages('objc')
-endif
-
#prepare a special linker args flag for binaries on macos
bin_linker_args = []
if sys_osx
+ add_languages('objc')
bin_linker_args = ['-pagezero_size', '10000', '-image_base', '100000000']
endif
@@ -126,24 +123,24 @@ endif
env = find_program('env', native: true)
config_h = configuration_data()
-config_h.set_quoted('MODULE_ARCH', version_name)
-config_h.set_quoted('PACKAGE', name)
-config_h.set_quoted('PACKAGE_VERSION', version)
-config_h.set_quoted('VERSION', version)
-config_h.set_quoted('LOCALE_DIR', join_paths([dir_prefix, 'share/locale']))
-config_h.set_quoted('PACKAGE_URL', 'https://www.enlightenment.org')
-config_h.set_quoted('PACKAGE_TARNAME', name)
-config_h.set_quoted('PACKAGE_BUGREPORT', 'enlightenment-devel@lists.sourceforge.net')
-config_h.set_quoted('PACKAGE_STRING', name + ' ' + version)
-config_h.set_quoted('PACKAGE_NAME', name)
-config_h.set_quoted('PACKAGE_BIN_DIR', dir_bin)
-config_h.set_quoted('PACKAGE_LIB_DIR', dir_lib)
-config_h.set_quoted('PACKAGE_SRC_DIR', source_root)
-config_h.set_quoted('PACKAGE_BUILD_DIR', meson.current_build_dir())
+config_h.set_quoted('MODULE_ARCH' , version_name)
+config_h.set_quoted('PACKAGE' , name)
+config_h.set_quoted('PACKAGE_VERSION' , version)
+config_h.set_quoted('VERSION' , version)
+config_h.set_quoted('LOCALE_DIR' , join_paths([dir_prefix, 'share/locale']))
+config_h.set_quoted('PACKAGE_URL' , 'https://www.enlightenment.org')
+config_h.set_quoted('PACKAGE_TARNAME' , name)
+config_h.set_quoted('PACKAGE_BUGREPORT' , 'enlightenment-devel@lists.sourceforge.net')
+config_h.set_quoted('PACKAGE_STRING' , name + ' ' + version)
+config_h.set_quoted('PACKAGE_NAME' , name)
+config_h.set_quoted('PACKAGE_BIN_DIR' , dir_bin)
+config_h.set_quoted('PACKAGE_LIB_DIR' , dir_lib)
+config_h.set_quoted('PACKAGE_SRC_DIR' , source_root)
+config_h.set_quoted('PACKAGE_BUILD_DIR' , meson.current_build_dir())
config_h.set_quoted('PACKAGE_SYSCONF_DIR', dir_sysconf)
-config_h.set_quoted('BINDIR', dir_bin)
+config_h.set_quoted('BINDIR' , dir_bin)
config_h.set10('EFL_HAVE_THREADS', true)
-config_h.set10('SLOPPY_SPEC', true)
+config_h.set10('SLOPPY_SPEC' , true)
## have to get compiler again for this to work
code = '''#define _GNU_SOURCE 1
@@ -610,10 +607,6 @@ if get_option('build-examples')
endforeach
endif
-subdir(local_scripts)
-
-meson.add_install_script('meson/meson_modules.sh', module_files)
-
foreach evas_loader_map_inst : evas_loader_map
evas_loader_original = evas_loader_map_inst[0]
evas_loader_link_types = evas_loader_map_inst[1]
diff --git a/meson/meson_modules.sh b/meson/meson_modules.sh
deleted file mode 100755
index 328cc9948e..0000000000
--- a/meson/meson_modules.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-for x in "$@" ; do
- dir="$(dirname $x)"
- filename="$(basename $x)"
- ext="${filename##*.}"
- mv "$DESTDIR""$x" "$DESTDIR""$dir"/module."$ext"
-done
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.