bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9736541957927d2d77e4e5bd55aac46cb0d34240
commit 9736541957927d2d77e4e5bd55aac46cb0d34240 Author: Vincent Torri <[email protected]> Date: Thu Sep 5 09:21:10 2019 +0000 Evil: remove installation of header and pc files, remove from git Evil.h this patch finishes to remove Evil public headers Reviewed-by: Marcel Hollerbach <[email protected]> Differential Revision: https://phab.enlightenment.org/D9847 --- src/lib/evil/Evil.h | 161 ----------------------------------------------- src/lib/evil/meson.build | 19 +----- 2 files changed, 2 insertions(+), 178 deletions(-) diff --git a/src/lib/evil/Evil.h b/src/lib/evil/Evil.h deleted file mode 100644 index 147e45a27b..0000000000 --- a/src/lib/evil/Evil.h +++ /dev/null @@ -1,161 +0,0 @@ -#ifndef __EVIL_H__ -#define __EVIL_H__ - -/** - * @file Evil.h - * @brief The file that provides miscellaneous functions ported from Unix. - */ - -/** - * @page evil_main Evil - * @author Vincent Torri - * @date 2008 (created) - * - * @section toc Table of Contents - * - * @li @ref evil_main_intro - * @li @ref evil_main_ack - * @li @ref evil_main_compiling - * @li @ref evil_main_next_steps - * - * @section evil_main_intro Introduction - * - * The Evil library is an evil library that ports some evil Unix - * functions to the Windows (XP or above, or Mobile) platform. The - * evilness is so huge that the most of the functions are not POSIX or - * BSD compliant. - * - * These functions are intended to be used in the Enlightenment - * Foundation Libraries only and can be compiled only on Windows, - * using MSYS/MinGW on Windows, and cross-compilation on Unix. This - * library is minimal in the sense that only the functions needed to - * compile the EFL are available. The purpose of this library is NOT - * to have a full POSIX emulation et it is NOT a replacement of - * cygwin. To compare the size of the DLL themselves, Evil is around - * 33 KB and cygwin DLL is around 800 KB. - * - * @section evil_main_ack Acknowledgments - * - * This library has receive some from people interested in the EFL or - * not. Among them, evil thanks to Lars Munch, Raoul Hecky, Nicolas - * Aguirre, Tor Lillqvist, Lance Fetters, Vincent Richomme, Paul - * Vixie, Daniel Stenberg, who helped the author of the library in - * different fields (code and tests). - * - * @section evil_main_compiling How to compile - * - * Evil is a library your application links to. The procedure for - * this is very simple. You simply have to compile your application - * with the appropriate compiler flags that the @p pkg-config script - * outputs. For example: - * - * Compiling C or C++ files into object files: - * - * @verbatim - gcc -c -o main.o main.c `pkg-config --cflags evil` - @endverbatim - * - * Linking object files into a binary executable: - * - * @verbatim - gcc -o my_application main.o `pkg-config --libs evil` - @endverbatim - * - * See @ref pkgconfig - * - * @section evil_main_next_steps Next Steps - * - * After you understood what Evil is and installed it in your system - * you should proceed understanding the programming interface. - * - * Recommended reading: - * - * @li @ref Evil_Mman - * @li @ref Evil_Unistd_Group - * @li @ref Evil_Dlfcn - * @li @ref Evil_Langinfo_Group - * @li @ref Evil_Locale_Group - * @li @ref Evil_Stdio_Group - * @li @ref Evil_Main_Group - * @li @ref Evil_String_Group - * @li @ref Evil_Stdlib_Group - * @li @ref Evil_Time_Group - */ - -/** - * @cond LOCAL - */ - -#ifdef __cplusplus -extern "C" { -#endif - - -#ifdef _MSC_VER -# ifdef _WIN64 -typedef __int64 pid_t; -# else -typedef int pid_t; -# endif -typedef SSIZE_T ssize_t; -typedef unsigned short mode_t; -# define strdup(str) _strdup(str) -#endif - -#ifndef S_ISDIR -# define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) -#endif - -#ifndef S_ISREG -# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) -#endif - -#define S_ISLNK(m) 0 - -#define S_IRUSR _S_IRUSR -#ifndef S_IRGRP -# define S_IRGRP S_IRUSR -#endif -#ifndef S_IROTH -# define S_IROTH S_IRUSR -#endif - -#define S_IWUSR _S_IWUSR -#ifndef S_IWGRP -# define S_IWGRP S_IWUSR -#endif -#ifndef S_IWOTH -# define S_IWOTH S_IWUSR -#endif - -#define S_IXUSR _S_IXUSR -#ifndef S_IXGRP -# define S_IXGRP S_IXUSR -#endif -#ifndef S_IXOTH -# define S_IXOTH S_IXUSR -#endif - -#define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC) -#ifndef S_IRWXG -# define S_IRWXG _S_IRWXU -#endif -#ifndef S_IRWXO -# define S_IRWXO _S_IRWXU -#endif - -#define _S_IXUSR _S_IEXEC -#define _S_IWUSR _S_IWRITE -#define _S_IRUSR _S_IREAD - -#include "evil_private.h" - -#ifdef __cplusplus -} -#endif - -/** - * @endcond - */ - -#endif /* __EVIL_H__ */ diff --git a/src/lib/evil/meson.build b/src/lib/evil/meson.build index 7877c7f914..008fc9fb83 100644 --- a/src/lib/evil/meson.build +++ b/src/lib/evil/meson.build @@ -1,22 +1,6 @@ evil_deps = [] evil_pub_deps = [] if target_machine.system() == 'windows' - evil_header_src = [ - 'Evil.h', - 'evil_dlfcn.h', - 'evil_fcntl.h', - 'evil_langinfo.h', - 'evil_locale.h', - 'evil_macro_wrapper.h', - 'evil_main.h', - 'evil_stdio.h', - 'evil_stdlib.h', - 'evil_string.h', - 'evil_time.h', - 'evil_unistd.h', - 'evil_util.h', - ] - evil_src = [ 'evil_dlfcn.c', 'evil_fcntl.c', @@ -53,5 +37,6 @@ if target_machine.system() == 'windows' ) else evil = declare_dependency() - automatic_pkgfile = false endif + +automatic_pkgfile = false \ No newline at end of file --
