summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-07 11:30:19 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-20 07:05:36 -0500
commitbd8828204779509a2f47fffc4031abcab2b34d79 (patch)
treebc7daa095060a3d9dbedbe610e0a281183a6f7b0
parent3ab6bf7eb5ca340df10fa6358c11bdc832752df0 (diff)
remove autotools
-rw-r--r--.gitignore41
-rw-r--r--INSTALL370
-rw-r--r--Makefile.am85
-rw-r--r--README6
-rw-r--r--README.wayland17
-rwxr-xr-xautogen.sh17
-rw-r--r--config/Makefile.mk26
-rw-r--r--config/default/Makefile.mk12
-rw-r--r--config/mobile/Makefile.mk16
-rw-r--r--config/standard/Makefile.mk28
-rw-r--r--config/tiling/Makefile.mk30
-rw-r--r--configure.ac1138
-rw-r--r--data/.gitignore2
-rw-r--r--data/Makefile.mk11
-rw-r--r--data/backgrounds/Makefile.mk41
-rw-r--r--data/desktop/Makefile.mk6
-rw-r--r--data/etc/Makefile.mk15
-rw-r--r--data/favorites/Makefile.mk9
-rw-r--r--data/flags/Makefile.mk103
-rw-r--r--data/icons/Makefile.mk18
-rw-r--r--data/images/Makefile.mk9
-rw-r--r--data/input_methods/Makefile.mk11
-rw-r--r--data/session/Makefile.mk11
-rw-r--r--data/tools/Makefile.mk6
-rw-r--r--data/units/Makefile.mk6
-rw-r--r--doc/.gitignore2
-rw-r--r--doc/Makefile.mk47
-rw-r--r--enlightenment.pc.in21
-rw-r--r--m4/.gitignore39
-rw-r--r--m4/Makefile.mk26
-rw-r--r--m4/ac-plugins.m4165
-rw-r--r--m4/efl_binary.m479
-rw-r--r--m4/efl_compiler_flag.m457
-rw-r--r--m4/efl_doxygen.m497
-rw-r--r--m4/efl_path_max.m436
-rw-r--r--m4/pkg_var.m414
-rw-r--r--meson_dist.mk92
-rw-r--r--po/.gitignore13
-rw-r--r--po/Makefile.mk10
-rw-r--r--src/Makefile.mk11
-rw-r--r--src/bin/.gitignore19
-rw-r--r--src/bin/Makefile.mk595
-rw-r--r--src/bin/e_fm/.gitignore4
-rw-r--r--src/bin/e_fm/Makefile.mk58
-rw-r--r--src/modules/Makefile.mk139
-rw-r--r--src/modules/Makefile_appmenu.mk24
-rw-r--r--src/modules/Makefile_backlight.mk23
-rw-r--r--src/modules/Makefile_battery.mk53
-rw-r--r--src/modules/Makefile_bluez4.mk26
-rw-r--r--src/modules/Makefile_clock.mk22
-rw-r--r--src/modules/Makefile_conf.mk23
-rw-r--r--src/modules/Makefile_conf_applications.mk25
-rw-r--r--src/modules/Makefile_conf_bindings.mk24
-rw-r--r--src/modules/Makefile_conf_dialogs.mk23
-rw-r--r--src/modules/Makefile_conf_display.mk25
-rw-r--r--src/modules/Makefile_conf_interaction.mk23
-rw-r--r--src/modules/Makefile_conf_intl.mk22
-rw-r--r--src/modules/Makefile_conf_menus.mk22
-rw-r--r--src/modules/Makefile_conf_paths.mk23
-rw-r--r--src/modules/Makefile_conf_performance.mk23
-rw-r--r--src/modules/Makefile_conf_randr.mk23
-rw-r--r--src/modules/Makefile_conf_shelves.mk23
-rw-r--r--src/modules/Makefile_conf_theme.mk28
-rw-r--r--src/modules/Makefile_conf_window_manipulation.mk25
-rw-r--r--src/modules/Makefile_conf_window_remembers.mk23
-rw-r--r--src/modules/Makefile_connman.mk26
-rw-r--r--src/modules/Makefile_cpufreq.mk38
-rw-r--r--src/modules/Makefile_everything.mk60
-rw-r--r--src/modules/Makefile_fileman.mk28
-rw-r--r--src/modules/Makefile_fileman_opinfo.mk20
-rw-r--r--src/modules/Makefile_gadman.mk23
-rw-r--r--src/modules/Makefile_geolocation.mk39
-rw-r--r--src/modules/Makefile_ibar.mk22
-rw-r--r--src/modules/Makefile_ibox.mk22
-rw-r--r--src/modules/Makefile_lokker.mk20
-rw-r--r--src/modules/Makefile_luncher.mk24
-rw-r--r--src/modules/Makefile_mixer.mk53
-rw-r--r--src/modules/Makefile_msgbus.mk28
-rw-r--r--src/modules/Makefile_music_control.mk41
-rw-r--r--src/modules/Makefile_notification.mk24
-rw-r--r--src/modules/Makefile_packagekit.mk26
-rw-r--r--src/modules/Makefile_pager.mk25
-rw-r--r--src/modules/Makefile_pager_plain.mk22
-rw-r--r--src/modules/Makefile_physics.mk25
-rw-r--r--src/modules/Makefile_quickaccess.mk25
-rw-r--r--src/modules/Makefile_shot.mk23
-rw-r--r--src/modules/Makefile_start.mk22
-rw-r--r--src/modules/Makefile_syscon.mk24
-rw-r--r--src/modules/Makefile_sysinfo.mk105
-rw-r--r--src/modules/Makefile_systray.mk25
-rw-r--r--src/modules/Makefile_tasks.mk22
-rw-r--r--src/modules/Makefile_teamwork.mk36
-rw-r--r--src/modules/Makefile_temperature.mk28
-rw-r--r--src/modules/Makefile_tiling.mk23
-rw-r--r--src/modules/Makefile_time.mk25
-rw-r--r--src/modules/Makefile_vkbd.mk35
-rw-r--r--src/modules/Makefile_winlist.mk24
-rw-r--r--src/modules/Makefile_wireless.mk27
-rw-r--r--src/modules/Makefile_wizard.mk158
-rw-r--r--src/modules/Makefile_wl_buffer.mk17
-rw-r--r--src/modules/Makefile_wl_desktop_shell.mk50
-rw-r--r--src/modules/Makefile_wl_drm.mk16
-rw-r--r--src/modules/Makefile_wl_fb.mk17
-rw-r--r--src/modules/Makefile_wl_text_input.mk31
-rw-r--r--src/modules/Makefile_wl_weekeyboard.mk46
-rw-r--r--src/modules/Makefile_wl_wl.mk17
-rw-r--r--src/modules/Makefile_wl_x11.mk16
-rw-r--r--src/modules/Makefile_xkbswitch.mk27
-rw-r--r--src/modules/Makefile_xwayland.mk22
-rw-r--r--src/modules/battery/.gitignore1
-rw-r--r--src/modules/cpufreq/.gitignore1
-rw-r--r--src/modules/everything/.gitignore1
-rw-r--r--src/modules/geolocation/.gitignore7
-rw-r--r--src/modules/mixer/.gitignore1
-rw-r--r--src/modules/music-control/.gitignore5
-rw-r--r--src/modules/sysinfo/cpuclock/.gitignore1
-rw-r--r--src/modules/temperature/.gitignore1
-rw-r--r--src/modules/vkbd/.gitignore1
118 files changed, 2 insertions, 5505 deletions
diff --git a/.gitignore b/.gitignore
index c864d6f9f..3a6086f8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,46 +7,5 @@
7# command after changing this file, to see if there are 7# command after changing this file, to see if there are
8# any tracked files which get ignored after the change. 8# any tracked files which get ignored after the change.
9# 9#
10*.o
11*.a
12*.la
13*.lo
14Makefile
15Makefile.in
16.deps
17.libs
18*.gmo
19*~
20*.cfg
21*.dirstamp
22default.edj
23/ABOUT-NLS
24/aclocal.m4
25/autom4te.cache/
26/compile
27/config.cache
28/config.cache-env
29/config.guess
30/config.h
31/config.h.in
32/config.log
33/config.rpath
34/config.status
35/config.sub
36/configure
37/depcomp
38/enlightenment.pc
39/enlightenment.spec
40/install-sh
41/libtool
42/ltmain.sh
43/missing
44/mkinstalldirs
45/stamp-h1
46/data/units/enlightenment.service
47*.eo.c
48*.eo.h
49Session.vim 10Session.vim
50#Ignore all autogenerated wayland protocol
51*-protocol.[ch]
52/build 11/build
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index a1e89e18a..000000000
--- a/INSTALL
+++ /dev/null
@@ -1,370 +0,0 @@
1Installation Instructions
2*************************
3
4Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
5Inc.
6
7 Copying and distribution of this file, with or without modification,
8are permitted in any medium without royalty provided the copyright
9notice and this notice are preserved. This file is offered as-is,
10without warranty of any kind.
11
12Basic Installation
13==================
14
15 Briefly, the shell commands `./configure; make; make install' should
16configure, build, and install this package. The following
17more-detailed instructions are generic; see the `README' file for
18instructions specific to this package. Some packages provide this
19`INSTALL' file but do not implement all of the features documented
20below. The lack of an optional feature in a given package is not
21necessarily a bug. More recommendations for GNU packages can be found
22in *note Makefile Conventions: (standards)Makefile Conventions.
23
24 The `configure' shell script attempts to guess correct values for
25various system-dependent variables used during compilation. It uses
26those values to create a `Makefile' in each directory of the package.
27It may also create one or more `.h' files containing system-dependent
28definitions. Finally, it creates a shell script `config.status' that
29you can run in the future to recreate the current configuration, and a
30file `config.log' containing compiler output (useful mainly for
31debugging `configure').
32
33 It can also use an optional file (typically called `config.cache'
34and enabled with `--cache-file=config.cache' or simply `-C') that saves
35the results of its tests to speed up reconfiguring. Caching is
36disabled by default to prevent problems with accidental use of stale
37cache files.
38
39 If you need to do unusual things to compile the package, please try
40to figure out how `configure' could check whether to do them, and mail
41diffs or instructions to the address given in the `README' so they can
42be considered for the next release. If you are using the cache, and at
43some point `config.cache' contains results you don't want to keep, you
44may remove or edit it.
45
46 The file `configure.ac' (or `configure.in') is used to create
47`configure' by a program called `autoconf'. You need `configure.ac' if
48you want to change it or regenerate `configure' using a newer version
49of `autoconf'.
50
51 The simplest way to compile this package is:
52
53 1. `cd' to the directory containing the package's source code and type
54 `./configure' to configure the package for your system.
55
56 Running `configure' might take a while. While running, it prints
57 some messages telling which features it is checking for.
58
59 2. Type `make' to compile the package.
60
61 3. Optionally, type `make check' to run any self-tests that come with
62 the package, generally using the just-built uninstalled binaries.
63
64 4. Type `make install' to install the programs and any data files and
65 documentation. When installing into a prefix owned by root, it is
66 recommended that the package be configured and built as a regular
67 user, and only the `make install' phase executed with root
68 privileges.
69
70 5. Optionally, type `make installcheck' to repeat any self-tests, but
71 this time using the binaries in their final installed location.
72 This target does not install anything. Running this target as a
73 regular user, particularly if the prior `make install' required
74 root privileges, verifies that the installation completed
75 correctly.
76
77 6. You can remove the program binaries and object files from the
78 source code directory by typing `make clean'. To also remove the
79 files that `configure' created (so you can compile the package for
80 a different kind of computer), type `make distclean'. There is
81 also a `make maintainer-clean' target, but that is intended mainly
82 for the package's developers. If you use it, you may have to get
83 all sorts of other programs in order to regenerate files that came
84 with the distribution.
85
86 7. Often, you can also type `make uninstall' to remove the installed
87 files again. In practice, not all packages have tested that
88 uninstallation works correctly, even though it is required by the
89 GNU Coding Standards.
90
91 8. Some packages, particularly those that use Automake, provide `make
92 distcheck', which can by used by developers to test that all other
93 targets like `make install' and `make uninstall' work correctly.
94 This target is generally not run by end users.
95
96Compilers and Options
97=====================
98
99 Some systems require unusual options for compilation or linking that
100the `configure' script does not know about. Run `./configure --help'
101for details on some of the pertinent environment variables.
102
103 You can give `configure' initial values for configuration parameters
104by setting variables in the command line or in the environment. Here
105is an example:
106
107 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108
109 *Note Defining Variables::, for more details.
110
111Compiling For Multiple Architectures
112====================================
113
114 You can compile the package for more than one kind of computer at the
115same time, by placing the object files for each architecture in their
116own directory. To do this, you can use GNU `make'. `cd' to the
117directory where you want the object files and executables to go and run
118the `configure' script. `configure' automatically checks for the
119source code in the directory that `configure' is in and in `..'. This
120is known as a "VPATH" build.
121
122 With a non-GNU `make', it is safer to compile the package for one
123architecture at a time in the source code directory. After you have
124installed the package for one architecture, use `make distclean' before
125reconfiguring for another architecture.
126
127 On MacOS X 10.5 and later systems, you can create libraries and
128executables that work on multiple system types--known as "fat" or
129"universal" binaries--by specifying multiple `-arch' options to the
130compiler but only a single `-arch' option to the preprocessor. Like
131this:
132
133 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135 CPP="gcc -E" CXXCPP="g++ -E"
136
137 This is not guaranteed to produce working output in all cases, you
138may have to build one architecture at a time and combine the results
139using the `lipo' tool if you have problems.
140
141Installation Names
142==================
143
144 By default, `make install' installs the package's commands under
145`/usr/local/bin', include files under `/usr/local/include', etc. You
146can specify an installation prefix other than `/usr/local' by giving
147`configure' the option `--prefix=PREFIX', where PREFIX must be an
148absolute file name.
149
150 You can specify separate installation prefixes for
151architecture-specific files and architecture-independent files. If you
152pass the option `--exec-prefix=PREFIX' to `configure', the package uses
153PREFIX as the prefix for installing programs and libraries.
154Documentation and other data files still use the regular prefix.
155
156 In addition, if you use an unusual directory layout you can give
157options like `--bindir=DIR' to specify different values for particular
158kinds of files. Run `configure --help' for a list of the directories
159you can set and what kinds of files go in them. In general, the
160default for these options is expressed in terms of `${prefix}', so that
161specifying just `--prefix' will affect all of the other directory
162specifications that were not explicitly provided.
163
164 The most portable way to affect installation locations is to pass the
165correct locations to `configure'; however, many packages provide one or
166both of the following shortcuts of passing variable assignments to the
167`make install' command line to change installation locations without
168having to reconfigure or recompile.
169
170 The first method involves providing an override variable for each
171affected directory. For example, `make install
172prefix=/alternate/directory' will choose an alternate location for all
173directory configuration variables that were expressed in terms of
174`${prefix}'. Any directories that were specified during `configure',
175but not in terms of `${prefix}', must each be overridden at install
176time for the entire installation to be relocated. The approach of
177makefile variable overrides for each directory variable is required by
178the GNU Coding Standards, and ideally causes no recompilation.
179However, some platforms have known limitations with the semantics of
180shared libraries that end up requiring recompilation when using this
181method, particularly noticeable in packages that use GNU Libtool.
182
183 The second method involves providing the `DESTDIR' variable. For
184example, `make install DESTDIR=/alternate/directory' will prepend
185`/alternate/directory' before all installation names. The approach of
186`DESTDIR' overrides is not required by the GNU Coding Standards, and
187does not work on platforms that have drive letters. On the other hand,
188it does better at avoiding recompilation issues, and works well even
189when some directory options were not specified in terms of `${prefix}'
190at `configure' time.
191
192Optional Features
193=================
194
195 If the package supports it, you can cause programs to be installed
196with an extra prefix or suffix on their names by giving `configure' the
197option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198
199 Some packages pay attention to `--enable-FEATURE' options to
200`configure', where FEATURE indicates an optional part of the package.
201They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202is something like `gnu-as' or `x' (for the X Window System). The
203`README' should mention any `--enable-' and `--with-' options that the
204package recognizes.
205
206 For packages that use the X Window System, `configure' can usually
207find the X include and library files automatically, but if it doesn't,
208you can use the `configure' options `--x-includes=DIR' and
209`--x-libraries=DIR' to specify their locations.
210
211 Some packages offer the ability to configure how verbose the
212execution of `make' will be. For these packages, running `./configure
213--enable-silent-rules' sets the default to minimal output, which can be
214overridden with `make V=1'; while running `./configure
215--disable-silent-rules' sets the default to verbose, which can be
216overridden with `make V=0'.
217
218Particular systems
219==================
220
221 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222CC is not installed, it is recommended to use the following options in
223order to use an ANSI C compiler:
224
225 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228
229 HP-UX `make' updates targets which have the same time stamps as
230their prerequisites, which makes it generally unusable when shipped
231generated files such as `configure' are involved. Use GNU `make'
232instead.
233
234 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
235parse its `<wchar.h>' header file. The option `-nodtk' can be used as
236a workaround. If GNU CC is not installed, it is therefore recommended
237to try
238
239 ./configure CC="cc"
240
241and if that doesn't work, try
242
243 ./configure CC="cc -nodtk"
244
245 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
246directory contains several dysfunctional programs; working variants of
247these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
248in your `PATH', put it _after_ `/usr/bin'.
249
250 On Haiku, software installed for all users goes in `/boot/common',
251not `/usr/local'. It is recommended to use the following options:
252
253 ./configure --prefix=/boot/common
254
255Specifying the System Type
256==========================
257
258 There may be some features `configure' cannot figure out
259automatically, but needs to determine by the type of machine the package
260will run on. Usually, assuming the package is built to be run on the
261_same_ architectures, `configure' can figure that out, but if it prints
262a message saying it cannot guess the machine type, give it the
263`--build=TYPE' option. TYPE can either be a short name for the system
264type, such as `sun4', or a canonical name which has the form:
265
266 CPU-COMPANY-SYSTEM
267
268where SYSTEM can have one of these forms:
269
270 OS
271 KERNEL-OS
272
273 See the file `config.sub' for the possible values of each field. If
274`config.sub' isn't included in this package, then this package doesn't
275need to know the machine type.
276
277 If you are _building_ compiler tools for cross-compiling, you should
278use the option `--target=TYPE' to select the type of system they will
279produce code for.
280
281 If you want to _use_ a cross compiler, that generates code for a
282platform different from the build platform, you should specify the
283"host" platform (i.e., that on which the generated programs will
284eventually be run) with `--host=TYPE'.
285
286Sharing Defaults
287================
288
289 If you want to set default values for `configure' scripts to share,
290you can create a site shell script called `config.site' that gives
291default values for variables like `CC', `cache_file', and `prefix'.
292`configure' looks for `PREFIX/share/config.site' if it exists, then
293`PREFIX/etc/config.site' if it exists. Or, you can set the
294`CONFIG_SITE' environment variable to the location of the site script.
295A warning: not all `configure' scripts look for a site script.
296
297Defining Variables
298==================
299
300 Variables not defined in a site shell script can be set in the
301environment passed to `configure'. However, some packages may run
302configure again during the build, and the customized values of these
303variables may be lost. In order to avoid this problem, you should set
304them in the `configure' command line, using `VAR=value'. For example:
305
306 ./configure CC=/usr/local2/bin/gcc
307
308causes the specified `gcc' to be used as the C compiler (unless it is
309overridden in the site shell script).
310
311Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312an Autoconf bug. Until the bug is fixed you can use this workaround:
313
314 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
315
316`configure' Invocation
317======================
318
319 `configure' recognizes the following options to control how it
320operates.
321
322`--help'
323`-h'
324 Print a summary of all of the options to `configure', and exit.
325
326`--help=short'
327`--help=recursive'
328 Print a summary of the options unique to this package's
329 `configure', and exit. The `short' variant lists options used
330 only in the top level, while the `recursive' variant lists options
331 also present in any nested packages.
332
333`--version'
334`-V'
335 Print the version of Autoconf used to generate the `configure'
336 script, and exit.
337
338`--cache-file=FILE'
339 Enable the cache: use and save the results of the tests in FILE,
340 traditionally `config.cache'. FILE defaults to `/dev/null' to
341 disable caching.
342
343`--config-cache'
344`-C'
345 Alias for `--cache-file=config.cache'.
346
347`--quiet'
348`--silent'
349`-q'
350 Do not print messages saying which checks are being made. To
351 suppress all normal output, redirect it to `/dev/null' (any error
352 messages will still be shown).
353
354`--srcdir=DIR'
355 Look for the package's source code in directory DIR. Usually
356 `configure' can determine that directory automatically.
357
358`--prefix=DIR'
359 Use DIR as the installation prefix. *note Installation Names::
360 for more details, including other options available for fine-tuning
361 the installation locations.
362
363`--no-create'
364`-n'
365 Run the configure checks, but stop before creating any output
366 files.
367
368`configure' also accepts some other, not widely useful, options. Run
369`configure --help' for more details.
370
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 9cb654871..000000000
--- a/Makefile.am
+++ /dev/null
@@ -1,85 +0,0 @@
1ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
2AUTOMAKE_OPTIONS = subdir-objects
3
4SUBDIRS = .
5
6if HAVE_PO
7
8SUBDIRS += po
9
10endif
11
12CLEANFILES =
13DISTCLEANFILES =
14INSTALL_DATA_HOOKS =
15PHONIES =
16
17MAINTAINERCLEANFILES = \
18ABOUT-NLS* \
19Makefile.in \
20aclocal.m4 \
21compile \
22config.guess \
23config.h.in \
24config.h.in~ \
25config.rpath \
26config.sub \
27configure \
28depcomp \
29install-sh \
30ltmain.sh \
31missing \
32$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
33$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
34$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
35
36EXTRA_DIST = \
37config.rpath \
38README \
39AUTHORS \
40COPYING \
41enlightenment.pc
42
43include m4/Makefile.mk
44
45if HAVE_PO
46
47include po/Makefile.mk
48
49endif
50
51DISTCHECK_CONFIGURE_FLAGS = --disable-systemd
52
53include config/Makefile.mk
54
55include data/Makefile.mk
56
57include src/Makefile.mk
58
59filesdir = $(datadir)/enlightenment/
60files_DATA = AUTHORS COPYING
61
62if HAVE_FREEBSD
63pkgconfigdir = $(libdir)data/pkgconfig
64else
65pkgconfigdir = $(libdir)/pkgconfig
66endif
67
68pkgconfig_DATA = enlightenment.pc
69
70include doc/Makefile.mk
71
72include meson_dist.mk
73EXTRA_DIST += $(meson_dist)
74
75.PHONY: $(PHONIES)
76
77clean-local: doc-clean
78 rm -rf config/*.cfg config/*~
79 rm -rf config/standard/*.cfg config/standard/*~
80 rm -rf config/tiling/*.cfg config/tiling/*~
81 rm -rf config/mobile/*.cfg config/mobile/*~
82 rm -rf config/default/*.cfg config/default/*~
83 rm -f data/themes/*.edj
84
85install-data-hook: $(INSTALL_DATA_HOOKS)
diff --git a/README b/README
index 033c2df0f..846b6b066 100644
--- a/README
+++ b/README
@@ -21,11 +21,7 @@ MESON BUILD:
21optional: 21optional:
22 mesonconf --options OR meson configure --options 22 mesonconf --options OR meson configure --options
23 23
24 cd build && sudo ninja install 24 sudo ninja -C build install
25
26AUTOTOOLS BUILD:
27 ./configure --prefix=/usr/local/e
28 sudo make install
29 25
30You will, as usual, need to add the subsequent bin dir to your $PATH etc. 26You will, as usual, need to add the subsequent bin dir to your $PATH etc.
31 27
diff --git a/README.wayland b/README.wayland
index 08f88d3af..ca30ba898 100644
--- a/README.wayland
+++ b/README.wayland
@@ -41,21 +41,10 @@ existing applications.
41Compiling: 41Compiling:
42------------- 42-------------
43 43
44Next, you will need to adjust the options that you pass to
45Enlightenment during the compile phase.
46
47In order for Enlightenment to be compiled as Wayland compositor you will need to 44In order for Enlightenment to be compiled as Wayland compositor you will need to
48pass an option to the configure stage of Enlightenment: 45pass an option to the configure stage of Enlightenment:
49 46
50 --enable-wayland 47 -Dwayland=true
51
52If you also want support for running X applications under Wayland you might want
53to try out XWayland support:
54
55 --enable-xwayland
56
57NOTE: DO NOT DISABLE THE MIXER MODULE BUILD IF YOU ARE USING XWAYLAND.
58You have been warned.
59 48
60At this stage, you should have EFL properly built, and Enlightenment 49At this stage, you should have EFL properly built, and Enlightenment
61properly built. Let's move on to running it... 50properly built. Let's move on to running it...
@@ -90,9 +79,5 @@ Known Issues
90 - Requires upstream external protocol support, XWayland improvements 79 - Requires upstream external protocol support, XWayland improvements
91* XWayland clients do not smoothly resize 80* XWayland clients do not smoothly resize
92 - Requires upstream XWayland improvements 81 - Requires upstream XWayland improvements
93* The first-launched X11 client will sometimes fail to show
94 - Requires upstream XWayland improvements
95* There are not more than 4 keyboard layouts possible 82* There are not more than 4 keyboard layouts possible
96 - Requires libxkbcommon changes - https://github.com/xkbcommon/libxkbcommon/issues/37 83 - Requires libxkbcommon changes - https://github.com/xkbcommon/libxkbcommon/issues/37
97* XWayland crashes on start
98 - Requires XWayland release - https://bugs.freedesktop.org/show_bug.cgi?id=95337
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 69a0b2fc7..000000000
--- a/autogen.sh
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/bin/sh
2
3test -n "$srcdir" || srcdir=`dirname "$0"`
4test -n "$srcdir" || srcdir=.
5(
6 cd "$srcdir" &&
7 (
8 rm -rf autom4te.cache
9 rm -f aclocal.m4 ltmain.sh config.cache
10
11 autoreconf --symlink --install || exit 1
12 )
13)
14
15test -n "$NOCONFIGURE" || exec $srcdir/configure -C "$@"
16
17exit 0
diff --git a/config/Makefile.mk b/config/Makefile.mk
deleted file mode 100644
index 8d42f087d..000000000
--- a/config/Makefile.mk
+++ /dev/null
@@ -1,26 +0,0 @@
1EET_EET = @eet_eet@
2
3EXTRA_DIST += config/profile.src
4
5configfilesdir = $(datadir)/enlightenment/data/config
6
7configfiles_DATA = config/profile.cfg
8
9SUFFIXES = .cfg
10
11.src.cfg:
12 $(MKDIR_P) $(@D)
13 $(EET_EET) -e \
14 $(top_builddir)/$@ config \
15 $< 1
16
17include config/default/Makefile.mk
18include config/tiling/Makefile.mk
19include config/standard/Makefile.mk
20include config/mobile/Makefile.mk
21
22config/profile.cfg: config/profile.src
23 $(MKDIR_P) $(@D)
24 $(EET_EET) -i \
25 $(top_builddir)/$@ config \
26 $< 1
diff --git a/config/default/Makefile.mk b/config/default/Makefile.mk
deleted file mode 100644
index 3b619c782..000000000
--- a/config/default/Makefile.mk
+++ /dev/null
@@ -1,12 +0,0 @@
1EXTRA_DIST += \
2config/default/profile.desktop \
3config/default/enlightenment-default.png \
4config/default/e.src \
5config/default/e_bindings.src
6
7configdefaultfilesdir = $(datadir)/enlightenment/data/config/default
8configdefaultfiles_DATA = \
9config/default/profile.desktop \
10config/default/enlightenment-default.png \
11config/default/e.cfg \
12config/default/e_bindings.cfg
diff --git a/config/mobile/Makefile.mk b/config/mobile/Makefile.mk
deleted file mode 100644
index 16de4a27a..000000000
--- a/config/mobile/Makefile.mk
+++ /dev/null
@@ -1,16 +0,0 @@
1EXTRA_DIST += \
2config/mobile/profile.desktop \
3config/mobile/enlightenment-mobile.png \
4config/mobile/e.src \
5config/mobile/e_bindings.src \
6config/mobile/module.battery.src \
7config/mobile/module.conf.src
8
9configmobilefilesdir = $(datadir)/enlightenment/data/config/mobile
10configmobilefiles_DATA = \
11config/mobile/profile.desktop \
12config/mobile/enlightenment-mobile.png \
13config/mobile/e.cfg \
14config/mobile/e_bindings.cfg \
15config/mobile/module.battery.cfg \
16config/mobile/module.conf.cfg
diff --git a/config/standard/Makefile.mk b/config/standard/Makefile.mk
deleted file mode 100644
index 4b3f4f2bf..000000000
--- a/config/standard/Makefile.mk
+++ /dev/null
@@ -1,28 +0,0 @@
1EXTRA_DIST += \
2config/standard/profile.desktop \
3config/standard/enlightenment-standard.png \
4config/standard/e.src \
5config/standard/e_bindings.src \
6config/standard/module.battery.src \
7config/standard/module.cpufreq.src \
8config/standard/module.fileman.src \
9config/standard/module.ibar.src \
10config/standard/module.ibox.src \
11config/standard/module.pager.src \
12config/standard/module.temperature.src \
13config/standard/module.conf.src
14
15configstandardfilesdir = $(datadir)/enlightenment/data/config/standard
16configstandardfiles_DATA = \
17config/standard/profile.desktop \
18config/standard/enlightenment-standard.png \
19config/standard/e.cfg \
20config/standard/e_bindings.cfg \
21config/standard/module.battery.cfg \
22config/standard/module.cpufreq.cfg \
23config/standard/module.fileman.cfg \
24config/standard/module.ibar.cfg \
25config/standard/module.ibox.cfg \
26config/standard/module.pager.cfg \
27config/standard/module.temperature.cfg \
28config/standard/module.conf.cfg
diff --git a/config/tiling/Makefile.mk b/config/tiling/Makefile.mk
deleted file mode 100644
index cfc88c2cb..000000000
--- a/config/tiling/Makefile.mk
+++ /dev/null
@@ -1,30 +0,0 @@
1EXTRA_DIST += \
2config/tiling/profile.desktop \
3config/tiling/enlightenment-tiling.png \
4config/tiling/e.src \
5config/tiling/e_bindings.src \
6config/tiling/module.battery.src \
7config/tiling/module.cpufreq.src \
8config/tiling/module.fileman.src \
9config/tiling/module.ibar.src \
10config/tiling/module.ibox.src \
11config/tiling/module.pager.src \
12config/tiling/module.temperature.src \
13config/tiling/module.tiling.src \
14config/tiling/module.conf.src
15
16configtilingfilesdir = $(datadir)/enlightenment/data/config/tiling
17configtilingfiles_DATA = \
18config/tiling/profile.desktop \
19config/tiling/enlightenment-tiling.png \
20config/tiling/e.cfg \
21config/tiling/e_bindings.cfg \
22config/tiling/module.battery.cfg \
23config/tiling/module.cpufreq.cfg \
24config/tiling/module.fileman.cfg \
25config/tiling/module.ibar.cfg \
26config/tiling/module.ibox.cfg \
27config/tiling/module.pager.cfg \
28config/tiling/module.temperature.cfg \
29config/tiling/module.tiling.cfg \
30config/tiling/module.conf.cfg
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 486d69384..000000000
--- a/configure.ac
+++ /dev/null
@@ -1,1138 +0,0 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [0])
4m4_define([v_min], [22])
5m4_define([v_mic], [99])
6m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl
7##-- When released, remove the dnl on the below line
8dnl m4_undefine([v_rev])
9m4_define([relname], [0.23.0])
10##-- When doing snapshots - change soname. remove dnl on below line
11m4_define([relname], [ver-0.23])
12dnl m4_define([v_rel], [-release relname])
13##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
15m4_define([lt_cur], m4_eval(v_maj + v_min))
16m4_define([lt_rev], v_mic)
17m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20
21AC_INIT([enlightenment], [v_ver], [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4])
25AC_CANONICAL_BUILD
26AC_CANONICAL_HOST
27
28AC_CONFIG_HEADERS([config.h])
29AH_TOP([
30#ifndef EFL_CONFIG_H__
31#define EFL_CONFIG_H__
32])
33AH_BOTTOM([
34#endif /* EFL_CONFIG_H__ */
35])
36
37AM_INIT_AUTOMAKE([1.11 dist-xz -Wno-portability tar-ustar])
38AM_SILENT_RULES([yes])
39
40AC_USE_SYSTEM_EXTENSIONS
41AC_PROG_MKDIR_P
42AC_C_BIGENDIAN
43AC_PROG_CC_C99
44AM_PROG_CC_C_O
45AC_FUNC_ALLOCA
46
47LT_INIT([disable-static])
48
49##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
50##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
51m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
52m4_ifdef([v_rel], , [m4_define([v_rel], [])])
53AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
54AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
55AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
56AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
57##AC_DEFINE_UNQUOTED(E_RELEASE_BUILD, [1], [doin it])
58version_info="lt_cur:lt_rev:lt_age"
59release_info="v_rel"
60AC_SUBST([version_info])
61AC_SUBST([release_info])
62##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
63##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
64
65release=relname
66AC_SUBST([release])
67
68PKG_PROG_PKG_CONFIG
69
70EFL_CHECK_PATH_MAX
71
72AC_CHECK_FUNCS(setenv)
73AC_CHECK_FUNCS(unsetenv)
74AC_CHECK_FUNCS(clearenv)
75AC_CHECK_HEADERS(features.h)
76
77case "$host_os" in
78 darwin*)
79 AC_DEFINE([environ], [(*_NSGetEnviron())],
80 ["apple doesn't follow POSIX in this case."])
81 ;;
82 *)
83 ;;
84esac
85AC_TRY_COMPILE([
86#define _GNU_SOURCE 1
87#include <unistd.h>
88 ],[
89extern char **environ;
90 ],[
91AC_DEFINE(HAVE_ENVIRON, 1, [Have environ var])
92 ])
93
94efl_version="1.20.5"
95AC_SUBST(efl_version)
96
97#We use ecore_drm2 beta API
98efl_ecore_drm2_version="1.20.5"
99AC_SUBST(efl_ecore_drm2_version)
100
101AC_CHECK_HEADERS([sys/timerfd.h sys/ptrace.h arpa/inet.h netinet/in.h])
102
103dnl AC_CHECK_HEADERS(X11/extensions/shape.h,, AC_MSG_ERROR([Cannot find X11/extensions/shape.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
104
105AC_CHECK_HEADERS(fnmatch.h,, AC_MSG_ERROR([Cannot find fnmatch.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
106
107AC_CHECK_FUNCS(fnmatch, res=yes, res=no)
108if test "x$res" = "xno"; then
109 AC_CHECK_LIB(fnmatch, fnmatch, res=yes, res=no)
110 if test "x$res" = "xno"; then
111 AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch])
112 else
113 fnmatch_libs="-lfnmatch"
114 fi
115fi
116
117AC_SUBST([fnmatch_libs])
118
119have_pam=no
120AC_ARG_ENABLE(pam,
121 AS_HELP_STRING([--enable-pam], [enable PAM support @<:@default=detect@:>@]),
122 [want_pam=$enableval],
123 [want_pam=auto]
124)
125if test "x$want_pam" != "xno" ; then
126 AC_CHECK_HEADERS(security/pam_appl.h, [
127 LIBS="$LIBS -lpam"
128 have_pam=yes
129 AC_DEFINE(HAVE_PAM, 1, [PAM Authentication Support])])
130 if test "x$want_pam$have_pam" = "xyesno" ; then
131 AC_MSG_ERROR([PAM support was requested but not found])
132 fi
133fi
134
135dnl AC_E_CHECK_PKG(VALGRIND, [valgrind >= 2.4.0], [], [:])
136AC_SUBST([VALGRIND_CFLAGS])
137AC_SUBST([VALGRIND_LIBS])
138
139MODULE_ARCH="$host_os-$host_cpu-relname"
140AC_SUBST([MODULE_ARCH])
141AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
142
143if test "x${bindir}" = 'xNONE'; then
144 if test "x${prefix}" = "xNONE"; then
145 PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
146 else
147 PACKAGE_BIN_DIR="${prefix}/bin"
148 fi
149else
150 PACKAGE_BIN_DIR="${bindir}"
151fi
152AC_SUBST([PACKAGE_BIN_DIR])
153
154if test "x${libdir}" = 'xNONE'; then
155 if test "x${prefix}" = "xNONE"; then
156 PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
157 else
158 PACKAGE_LIB_DIR="${prefix}/lib"
159 fi
160else
161 PACKAGE_LIB_DIR="${libdir}"
162fi
163AC_SUBST([PACKAGE_LIB_DIR])
164
165if test "x${prefix}" = "xNONE"; then
166 PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
167 LOCALE_DIR="${ac_default_prefix}/share/locale"
168 PACKAGE_SYSCONF_DIR="${ac_default_prefix}/etc"
169else
170 PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}"
171 LOCALE_DIR="${prefix}/share/locale"
172 PACKAGE_SYSCONF_DIR="${sysconfdir}"
173fi
174AC_SUBST([PACKAGE_DATA_DIR])
175AC_SUBST([LOCALE_DIR])
176AC_SUBST([PACKAGE_SYSCONF_DIR])
177
178#######################################
179## Simple X11 build/link
180
181##AC_ARG_ENABLE(simple-x11,
182## AS_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
183## [ want_evas_simple_x11=$enableval ]
184##)
185
186dnl x_dir=""
187dnl x_cflags=""
188dnl x_libs=""
189dnl AC_PATH_XTRA
190dnl AC_CHECK_HEADER(X11/X.h,
191dnl [
192dnl if test "x$want_evas_simple_x11" = "xyes"; then
193dnl x_libs="${x_libs} -lX11 -lXext"
194dnl else
195dnl x_dir=${x_dir:-/usr/X11R6}
196dnl x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
197dnl x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
198dnl fi
199dnl ],[
200dnl AC_MSG_ERROR([Cannot find X headers and libraries.])
201dnl ]
202dnl )
203dnl AC_SUBST([x_cflags])
204dnl AC_SUBST([x_libs])
205
206cf_cflags=""
207cf_libs=""
208PCPPFLAGS="${CPPFLAGS}"
209CPPFLAGS="${CPPFLAGS} -I /System/Library/Frameworks/CoreFoundation.framework/Headers"
210AC_CHECK_HEADERS(CFBase.h,
211 [
212 cf_cflags="-I /System/Library/Frameworks/CoreFoundation.framework/Headers"
213 cf_cflags="${cf_cflags} -I /System/Library/Frameworks/IOKit.framework/Headers"
214 cf_libs="-framework 'CoreFoundation' -framework 'IOKit'"
215 ]
216)
217CPPFLAGS="${PCPPFLAGS}"
218AC_SUBST([cf_cflags])
219AC_SUBST([cf_libs])
220
221PKG_CHECK_MODULES([BLUEZ], [bluez],
222 [have_bluetooth="yes"],
223 [have_bluetooth="no"])
224AM_CONDITIONAL([HAVE_BLUETOOTH], [test "x${have_bluetooth}"])
225if test "x${have_bluetooth}" = "xyes"; then
226 AC_DEFINE_UNQUOTED([HAVE_BLUETOOTH], [1], [Bluetooth is there])
227fi
228
229AC_ARG_ENABLE([systemd],
230 AC_HELP_STRING([--disable-systemd], [disable systemd support @<:@default=detect@:>@]),
231 [want_systemd=${enableval}], [want_systemd=auto])
232
233AC_ARG_WITH([systemdunitdir],
234 AC_HELP_STRING([--with-systemdunitdir=DIR],
235 [path to systemd user services directory]),
236 [USER_SESSION_DIR=${withval}])
237
238if test "$want_systemd" == "no"; then
239 have_systemd_user_session="no"
240elif test -n "${USER_SESSION_DIR}"; then
241 have_systemd_user_session="yes"
242 AC_MSG_NOTICE([Using systemd user services directory as ${USER_SESSION_DIR}])
243else
244 # Detect systemd user session directory properly
245 EFL_PKG_CHECK_VAR([USER_SESSION_DIR], [systemd >= 192], [systemduserunitdir],
246 [have_systemd_user_session="yes"], [have_systemd_user_session="no"])
247
248 if test "$want_systemd" = "yes" -a "$have_systemd_user_session" = "no"; then
249 AC_MSG_ERROR([systemd support wanted, but systemd was not found.])
250 fi
251fi
252
253AM_CONDITIONAL([HAVE_SYSTEMD_USER_SESSION], [test "x${have_systemd_user_session}" = "xyes"])
254AC_SUBST([USER_SESSION_DIR])
255
256execinfo_libs=""
257AC_CHECK_HEADERS([execinfo.h], [have_execinfo="yes"], [have_execinfo="no"])
258if test "x${have_execinfo}" = "xyes" ; then
259 AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libc])
260
261 AC_LINK_IFELSE(
262 [AC_LANG_PROGRAM(
263 [[
264#include <stdlib.h>
265#include <execinfo.h>
266 ]],
267 [[
268backtrace_symbols_fd(NULL, 0, 0);
269 ]])],
270 [link_execinfo="yes"],
271 [link_execinfo="no"])
272
273 AC_MSG_RESULT([${link_execinfo}])
274fi
275
276if test "x${link_execinfo}" = "xno" ; then
277 AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libexecinfo])
278
279 LDFLAGS_save="${LDFLAGS}"
280 LDFLAGS="${LDFLAGS} -lexecinfo"
281 AC_LINK_IFELSE(
282 [AC_LANG_PROGRAM(
283 [[
284#include <stdlib.h>
285#include <execinfo.h>
286 ]],
287 [[
288backtrace_symbols_fd(NULL, 0, 0);
289 ]])],
290 [
291 link_execinfo="yes"
292 execinfo_libs="-lexecinfo"
293 ],
294 [link_execinfo="no"])
295 LDFLAGS="${LDFLAGS_save}"
296
297 AC_MSG_RESULT([${link_execinfo}])
298fi
299
300dnl if test "x${link_execinfo}" = "xno" ; then
301dnl AC_MSG_ERROR([Cannot use backtrace_symbols_fd()])
302dnl fi
303
304
305#ALL_LINGUAS="bg de eo es fi fr ja pl pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW ko"
306#ALL_LINGUAS="bg de eo es fi fr ja pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW"
307# a lot of .po's are broken
308ALL_LINGUAS="bg ca cs da de el eo es fi fr fr_CH he hu it ja ko nb nl pl pt_BR ru sk sl sv tr zh_CN zh_TW"
309AC_SUBST([ALL_LINGUAS])
310
311m4_ifdef([AM_GNU_GETTEXT_VERSION], [
312AM_GNU_GETTEXT_VERSION([0.18])
313])
314
315m4_ifdef([AC_GNU_GETTEXT], [
316AC_GNU_GETTEXT([external], [need-ngettext])
317po_makefile_in=po/Makefile.in
318have_po="yes"
319],[
320m4_ifdef([AM_GNU_GETTEXT], [
321AM_GNU_GETTEXT([external], [need-ngettext])
322po_makefile_in=po/Makefile.in
323have_po="yes"
324],[
325have_po="no"
326])
327])
328AC_SUBST([LTLIBINTL])
329if test "x$LIBINTL" = "x"; then
330 LIBINTL="$INTLLIBS"
331fi
332
333if test "x${POSUB}" = "x" ; then
334 have_po="no"
335fi
336
337AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
338
339AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
340AC_SUBST([dlopen_libs])
341
342AC_MSG_CHECKING([whether to install sysactions.conf])
343AC_ARG_ENABLE([install-sysactions],
344 AS_HELP_STRING([--disable-install-sysactions],[disable installing /etc/enlightenment/sysactions.conf @<:@default=enabled@:>@]),
345 [e_cv_enable_install_sysactions=$enableval],
346 AC_CACHE_VAL([e_cv_enable_install_sysactions], [e_cv_enable_install_sysactions=yes]))
347AC_MSG_RESULT([$e_cv_enable_install_sysactions])
348AM_CONDITIONAL(INSTALL_SYSACTIONS, test x${e_cv_enable_install_sysactions} = xyes)
349
350AC_MSG_CHECKING([whether to install enlightenment.menu])
351AC_ARG_ENABLE([install-enlightenment-menu],
352 AS_HELP_STRING([--disable-install-enlightenment-menu],[disable installing /etc/xdg/menus/e-applications.menu @<:@default=enabled@:>@]),
353 [e_cv_enable_install_enlightenment_menu=$enableval],
354 AC_CACHE_VAL([e_cv_enable_install_enlightenment_menu], [e_cv_enable_install_enlightenment_menu=yes]))
355AC_MSG_RESULT([$e_cv_enable_install_enlightenment_menu])
356AM_CONDITIONAL(INSTALL_ENLIGHTENMENT_MENU, test x${e_cv_enable_install_enlightenment_menu} = xyes)
357
358AC_MSG_CHECKING([whether to enable Files menu item])
359AC_ARG_ENABLE([files],
360 AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]),
361 [e_cv_enable_files=$enableval],
362 AC_CACHE_VAL([e_cv_enable_files], [e_cv_enable_files=yes]))
363if test "[${e_cv_enable_files}]" = yes; then
364 AC_DEFINE_UNQUOTED([ENABLE_FILES],[1],[enable Files menu item])
365fi
366AC_MSG_RESULT([$e_cv_enable_files])
367
368AC_ARG_ENABLE([device-udev],
369 AS_HELP_STRING([--enable-device-udev],[enable udev device backend @<:@default=enabled@:>@]),
370 [e_cv_want_device_udev=$enableval],
371 [e_cv_want_device_udev=yes])
372
373AC_MSG_CHECKING([whether the UDEV device backend is enabled])
374AC_MSG_RESULT([${e_cv_want_device_udev}])
375
376device_backend=
377device_libs=
378
379if test "x$e_cv_want_device_udev" != "xno";then
380 PKG_CHECK_MODULES([EEZE], [eeze >= ${efl_version} ecore >= ${efl_version} eina >= ${efl_version}],
381 [
382 device_backend=eeze
383 device_libs=eeze
384 AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support])
385 ])
386fi
387
388AC_MSG_CHECKING([which device backend to use])
389AC_MSG_RESULT($device_backend)
390
391AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"])
392
393DBUS_MOUNT_CONFIG=1
394dbus_mount="dbus-1"
395
396AC_ARG_ENABLE([mount-udisks],
397 AS_HELP_STRING([--enable-mount-udisks],[enable udisks mounting support @<:@default=enabled@:>@]),
398 [e_cv_want_mount_udisks=$enableval],
399 [e_cv_want_mount_udisks=yes])
400
401AC_MSG_CHECKING([whether the UDISKS mounting support is enabled])
402AC_MSG_RESULT([${e_cv_want_mount_udisks}])
403
404
405if test "x${e_cv_want_mount_udisks}" = "xno" ; then
406 DBUS_MOUNT_CONFIG=0
407 dbus_mount=
408fi
409
410AC_ARG_ENABLE([mount-eeze],
411 AS_HELP_STRING([--enable-mount-eeze],[enable eeze mounting support @<:@default=disabled@:>@]),
412 [e_cv_want_mount_eeze=$enableval],
413 [e_cv_want_mount_eeze=no])
414
415AC_MSG_CHECKING([whether the Eeze mounting support is enabled])
416AC_MSG_RESULT([${e_cv_want_mount_eeze}])
417
418eeze_mount=
419EEZE_MOUNT_CONFIG=0
420if test "x$e_cv_want_mount_eeze" != "xno" && test -z "$dbus_mount" ; then
421 CPPFLAGS_save="$CPPFLAGS"
422 LIBS_save="$LIBS"
423 CPPFLAGS="$EEZE_CFLAGS $CPPFLAGS"
424 LIBS="$EEZE_LIBS $LIBS"
425 AC_CHECK_LIB([eeze], [eeze_disk_function],
426 [
427 eeze_mount="eeze >= $efl_version ecore-con >= $efl_version"
428 EEZE_MOUNT_CONFIG=1
429 AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting])
430 AC_MSG_NOTICE([eeze mounting enabled])
431 ],
432 [
433 AC_MSG_NOTICE([eeze mounting disabled])
434 e_cv_want_mount_eeze=no
435 ]
436 )
437 CPPFLAGS="$CPPFLAGS_save"
438 LIBS="$LIBS_save"
439else
440 AC_MSG_NOTICE([eeze mounting disabled])
441fi
442
443AC_SUBST([EEZE_MOUNT_CONFIG])
444AC_SUBST([DBUS_MOUNT_CONFIG])
445AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
446test -n "$dbus_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable Udisks mounting])
447AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$dbus_mount"])
448AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
449
450# verify "wayland-only" early to adapt dependencies
451
452have_wayland_only=no
453AC_ARG_ENABLE([wayland],
454 AS_HELP_STRING([--enable-wayland],[enable wayland support in enlightenment @<:@default=disabled@:>@]),
455 [e_cv_want_wayland_only=$enableval],
456 [e_cv_want_wayland_only=no])
457AC_MSG_CHECKING([whether wayland support is enabled])
458AC_MSG_RESULT([${e_cv_want_wayland_only}])
459
460# doxygen program for documentation building
461
462EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
463
464# explicit libs for each binary to reduce linkage requirements
465PKG_CHECK_MODULES(E_REMOTE, [
466 ecore >= ${efl_version}
467 ecore-ipc >= ${efl_version}
468 eet >= ${efl_version}
469 eina >= ${efl_version}
470])
471
472PKG_CHECK_MODULES(E_START, [
473 eina >= ${efl_version}
474])
475
476PKG_CHECK_MODULES(E_IMC, [
477 ecore-file >= ${efl_version}
478 eet >= ${efl_version}
479 eina >= ${efl_version}
480])
481
482PKG_CHECK_MODULES(E_ASKPASS, [
483 elementary >= ${efl_version}
484])
485
486PKG_CHECK_MODULES(E_THUMB, [
487 eina >= ${efl_version}
488 evas >= ${efl_version}
489 ecore >= ${efl_version}
490 ecore-evas >= ${efl_version}
491 edje >= ${efl_version}
492 ecore-file >= ${efl_version}
493 ecore-ipc >= ${efl_version}
494 eet >= ${efl_version}
495 efreet >= ${efl_version}
496])
497
498PKG_CHECK_MODULES(E_GRABBER, [
499 eina >= ${efl_version}
500 eet >= ${efl_version}
501])
502
503efm_requires="\
504ecore >= $efl_version \
505ecore-file >= $efl_version \
506ecore-ipc >= $efl_version \
507eet >= $efl_version \
508efreet >= $efl_version \
509eldbus >= $efl_version \
510eina >= $efl_version"
511efm_requires="$efm_requires $eeze_mount $dbus_mount $udisks_mount"
512
513PKG_CHECK_MODULES(E_FM, [$efm_requires])
514
515PKG_CHECK_MODULES(E_FM_CMDLINE, [
516 eina >= ${efl_version}
517 ecore >= ${efl_version}
518 ecore-file >= ${efl_version}
519 eldbus >= ${efl_version}
520 efreet >= ${efl_version}
521])
522
523PKG_CHECK_MODULES(E_FM_OP, [
524 ecore >= ${efl_version}
525 ecore-file >= ${efl_version}
526 eina >= ${efl_version}
527])
528
529PKG_CHECK_MODULES(E_FM_OPEN, [
530 eina >= ${efl_version}
531 eet >= ${efl_version}
532 ecore >= ${efl_version}
533 ecore-ipc >= ${efl_version}
534 ecore-con >= ${efl_version}
535])
536
537PKG_CHECK_MODULES(E_SYS, [
538 eina >= ${efl_version}
539 ecore >= ${efl_version}
540])
541
542e_requires="\
543 evas >= $efl_version \
544 ecore >= $efl_version \
545 ecore-evas >= $efl_version \
546 ecore-input >= $efl_version \
547 ecore-input-evas >= $efl_version \
548 ecore-con >= $efl_version \
549 ecore-ipc >= $efl_version \
550 ecore-file >= $efl_version \
551 eet >= $efl_version \
552 edje >= $efl_version \
553 efreet >= $efl_version \
554 efreet-mime >= $efl_version \
555 efreet-trash >= $efl_version \
556 eina >= $efl_version \
557 eldbus >= $efl_version \
558 eio >= $efl_version \
559 eo >= $efl_version \
560 elementary >= $efl_version \
561 emotion >= $efl_version \
562 $eeze_mount \
563 $udisks_mount \
564 $device_libs"
565
566
567PKG_CHECK_MODULES(E_OPEN, [
568 eina >= ${efl_version}
569 ecore >= ${efl_version}
570 efreet >= ${efl_version}
571 efreet-mime >= ${efl_version}
572])
573
574PKG_CHECK_EXISTS([xkeyboard-config],[
575 xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config 2>/dev/null`
576 AC_DEFINE_UNQUOTED([XKB_BASE],["$xkb_base"],[Define to the base directory for X keyboard configuration data])
577])
578
579profile="SLOW_PC"
580AC_ARG_WITH(profile,
581 AS_HELP_STRING([--with-profile=TARGET_PROFILE],
582 [specify a target format profile of:
583 LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, SLOW_PC, MEDIUM_PC, FAST_PC]),
584 [profile=$withval])
585AC_MSG_NOTICE([Enlightenment build profile set to $profile])
586EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6"
587EDJE_DEF=$EDJE_DEF" -DE_PROFILE"=$profile
588AC_SUBST([EDJE_DEF])
589
590PKG_CHECK_MODULES(EET, [eet >= ${efl_version}])
591EFL_WITH_BIN([eet], [eet-eet], [eet])
592EFL_WITH_BIN([eldbus], [eldbus_codegen], [eldbus-codegen])
593
594AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as config.h isn't exported")
595
596have_openbsd="no"
597have_freebsd="no"
598have_dragonfly="no"
599have_netbsd="no"
600BATTERY_LDFLAGS=
601case "$host_os" in
602 darwin*)
603 BATTERY_LDFLAGS="${cf_libs}"
604 BATTERY_CFLAGS="${cf_cflags}"
605 ;;
606 openbsd*)
607 have_openbsd="yes"
608 ;;
609 netbsd*)
610 have_netbsd="yes"
611 ;;
612 freebsd*)
613 have_freebsd="yes"
614 ;;
615 dragonfly*)
616 have_dragonfly="yes"
617 ;;
618esac
619
620AC_SUBST([BATTERY_CFLAGS])
621AC_SUBST([BATTERY_LDFLAGS])
622AM_CONDITIONAL([HAVE_OPENBSD], [test "x${have_openbsd}" = "xyes"])
623AM_CONDITIONAL([HAVE_NETBSD], [test "x${have_netbsd}" = "xyes"])
624AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
625AM_CONDITIONAL([HAVE_DRAGONFLY], [test "x${have_dragonfly}" = "xyes"])
626
627##have_exchange=no
628##AC_ARG_ENABLE(exchange,
629## AS_HELP_STRING([--disable-exchange], [disable Exchange support @<:@default=detect@:>@]),
630## [want_exchange=$enableval],
631## [want_exchange=auto]
632##)
633
634AM_CONDITIONAL(HAVE_EXCHANGE, false)
635##define([CHECK_MODULE_CONF_THEME],
636##[
637## if test "x$want_exchange" != "xno" ; then
638## AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:])
639## else
640## AC_MSG_NOTICE([requested to not use exchange library])
641## fi
642##])
643
644
645AM_CONDITIONAL(HAVE_ALSA, false)
646AM_CONDITIONAL(HAVE_PULSE, false)
647define([CHECK_MODULE_MIXER],
648[
649 AC_E_CHECK_PKG(ALSA, [alsa >= 1.0.8],
650 [ ], [ ])
651 AC_E_CHECK_PKG([PULSE], [libpulse-simple libpulse],
652 [AC_DEFINE_UNQUOTED([HAVE_PULSE], [1], [have pulseaudio])], [ ])
653])
654
655SHM_OPEN_LIBS=""
656AC_MSG_CHECKING([whether shm_open() is present])
657LIBS_save=${LIBS}
658LIBS="${LIBS} -lrt"
659AC_LINK_IFELSE(
660 [AC_LANG_PROGRAM(
661 [[
662#include <sys/stat.h>
663#include <sys/mman.h>
664#include <fcntl.h>
665 ]],
666 [[
667int fd;
668fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR |
669S_IWUSR);
670shm_unlink("/");
671 ]])],
672 [
673 have_shm_open="yes"
674 AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call])
675 SHM_OPEN_LIBS="-lrt"
676 ])
677LIBS=${LIBS_save}
678AC_MSG_RESULT([${have_shm_open}])
679AC_SUBST(SHM_OPEN_LIBS)
680
681AC_SUBST([SOUND_CFLAGS])
682AC_SUBST([SOUND_LIBS])
683
684if test "x${e_cv_want_wayland_only}" != "xno" ;then
685 PKG_CHECK_MODULES([WAYLAND], [ecore-wl2 >= 1.18 wayland-server >= 1.11.0 wayland-client >= 1.11.0 wayland-protocols >= 1.9 wayland-scanner >= 1.11.0 xkbcommon uuid efl-wl],
686 [
687 have_wayland=yes
688 have_wayland_dep=true
689 AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable])
690 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
691 if test x$wayland_scanner = x; then
692 PKG_CHECK_MODULES(WAYLAND_SCANNER, [wayland-scanner])
693 wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
694 fi
695 ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
696 AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
697 AC_SUBST(WAYLAND, "true")
698 AC_DEFINE_UNQUOTED([HAVE_WAYLAND],[1],[enable wayland support])
699 ])
700else
701 have_wayland=no
702fi
703
704AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"])
705
706if test "x${e_cv_want_wayland_only}" != "xyes"; then
707 PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}])
708 if test -n "$ECORE_X_CFLAGS" ; then
709 ecore_x=true
710 else
711 ecore_x=false
712 fi
713else
714 ecore_x=false
715fi
716
717WL_X11=false
718define([CHECK_MODULE_WL_X11],
719[
720 if test "x${have_wayland}" = "xyes"; then
721 AC_E_CHECK_PKG(WL_X11, [ ecore-x >= ${efl_version} ], [WL_X11=true], [WL_X11=false])
722 else
723 WL_X11=false
724 fi
725])
726AM_CONDITIONAL([HAVE_WL_X11], [test "x${WL_X11}" = "xtrue"])
727
728WL_WL=false
729define([CHECK_MODULE_WL_WL],
730[
731 if test "x${have_wayland}" = "xyes"; then
732 WL_WL=true
733 else
734 WL_WL=false
735 fi
736])
737AM_CONDITIONAL([HAVE_WL_WL], [test "x${WL_WL}" = "xtrue"])
738
739WL_BUFFER=false
740define([CHECK_MODULE_WL_BUFFER],
741[
742 if test "x${have_wayland}" = "xyes"; then
743 WL_BUFFER=true
744 else
745 WL_BUFFER=false
746 fi
747])
748AM_CONDITIONAL([HAVE_WL_BUFFER], [test "x${WL_BUFFER}" = "xtrue"])
749
750WL_DESKTOP_SHELL=false
751define([CHECK_MODULE_WL_DESKTOP_SHELL],
752[
753 if test "x${have_wayland}" = "xyes"; then
754 WL_DESKTOP_SHELL=true
755 else
756 WL_DESKTOP_SHELL=false
757 fi
758])
759AM_CONDITIONAL([HAVE_WL_DESKTOP_SHELL], [test "x${WL_DESKTOP_SHELL}" = "xtrue"])
760
761WL_FB=false
762define([CHECK_MODULE_WL_FB],
763[
764 if test "x${have_wayland}" = "xyes"; then
765 AC_E_CHECK_PKG(WL_FB, [ ecore-fb >= $efl_version ], [WL_FB=true], [WL_FB=false])
766 else
767 WL_FB=false
768 fi
769])
770AM_CONDITIONAL([HAVE_WL_FB], [test "x${WL_FB}" = "xtrue"])
771
772WL_DRM=false
773define([CHECK_MODULE_WL_DRM],
774[
775 if test "x${have_wayland}" = "xyes" ; then
776 PKG_CHECK_EXISTS([ecore-drm2 >= $efl_ecore_drm2_version], [have_ecore_drm2="yes"], [have_ecore_drm2="no"])
777 if test "x${have_ecore_drm2}" = "xyes"; then
778 AC_E_CHECK_PKG(WL_DRM, [ ecore-drm2 >= $efl_ecore_drm2_version elput >= $efl_version ecore >= $efl_version eina >= $efl_version ],
779 [
780 WL_DRM=true
781 ], [WL_DRM=false])
782 else
783 WL_DRM=false
784 fi
785 else
786 WL_DRM=false
787 fi
788])
789AM_CONDITIONAL([HAVE_WL_DRM], [test "x${WL_DRM}" = "xtrue"])
790
791HAVE_XWAYLAND_DEPS=false
792define([CHECK_MODULE_XWAYLAND],
793[
794 if test "x${have_wayland}" = "xyes"; then
795 AC_E_CHECK_PKG(XWAYLAND, [ ecore-x >= ${efl_version} ecore-audio >= ${efl_version} ], [HAVE_XWAYLAND_DEPS=true], [HAVE_XWAYLAND_DEPS=false])
796 AC_ARG_WITH(Xwayland, AS_HELP_STRING([--with-Xwayland=PATH], [Path to Xwayland]), [Xwayland_with="$withval"], [Xwayland_with="yes"])
797 if test "x${Xwayland_with}" != "xyes"; then
798 xwayland=$Xwayland_with
799 AC_SUBST(xwayland)
800 else
801 AC_PATH_PROG(xwayland, Xwayland, "no")
802 fi
803 if test "x${xwayland}" == "xno"; then
804 AC_MSG_ERROR([Xwayland enabled but not found.])
805 fi
806 fi
807])
808AM_CONDITIONAL([HAVE_XWAYLAND], [test "x${HAVE_XWAYLAND}" != "xno"])
809
810define([CHECK_MODULE_WL_TEXT_INPUT],
811[
812 if test "x${have_wayland}" = "xyes"; then
813 WL_TEXT_INPUT=true
814 else
815 WL_TEXT_INPUT=false
816 fi
817])
818AM_CONDITIONAL([HAVE_WL_TEXT_INPUT], [test "x${WL_TEXT_INPUT}" = "xtrue"])
819
820WL_WEEKEYBOARD=false
821define([CHECK_MODULE_WL_WEEKEYBOARD],
822[
823 if test "x${have_wayland}" = "xyes" ; then
824 WL_WEEKEYBOARD=true
825 else
826 WL_WEEKEYBOARD=false
827 fi
828])
829AM_CONDITIONAL([HAVE_WL_WEEKEYBOARD], [test "x${WL_WEEKEYBOARD}" = "xtrue"])
830
831AC_E_OPTIONAL_MODULE([ibar], true)
832AC_E_OPTIONAL_MODULE([clock], true)
833AC_E_OPTIONAL_MODULE([pager], true)
834AC_E_OPTIONAL_MODULE([pager_plain], true)
835AC_E_OPTIONAL_MODULE([battery], true)
836AC_E_OPTIONAL_MODULE([temperature], true)
837AC_E_OPTIONAL_MODULE([notification], true)
838AC_E_OPTIONAL_MODULE([cpufreq], true)
839AC_E_OPTIONAL_MODULE([ibox], true)
840AC_E_OPTIONAL_MODULE([start], true)
841AC_E_OPTIONAL_MODULE([winlist], true)
842AC_E_OPTIONAL_MODULE([fileman], true)
843AC_E_OPTIONAL_MODULE([fileman_opinfo], true)
844AC_E_OPTIONAL_MODULE([wizard], true)
845AC_E_OPTIONAL_MODULE([conf], true)
846AC_E_OPTIONAL_MODULE([conf_theme], true, true)
847AC_E_OPTIONAL_MODULE([conf_intl], true)
848AC_E_OPTIONAL_MODULE([msgbus], true)
849AC_E_OPTIONAL_MODULE([conf_applications], true)
850AC_E_OPTIONAL_MODULE([conf_display], true)
851AC_E_OPTIONAL_MODULE([conf_shelves], true)
852AC_E_OPTIONAL_MODULE([conf_bindings], true)
853AC_E_OPTIONAL_MODULE([conf_window_remembers], true)
854AC_E_OPTIONAL_MODULE([conf_window_manipulation], true)
855AC_E_OPTIONAL_MODULE([conf_menus], true)
856AC_E_OPTIONAL_MODULE([conf_dialogs], true)
857AC_E_OPTIONAL_MODULE([conf_performance], true)
858AC_E_OPTIONAL_MODULE([conf_paths], true)
859AC_E_OPTIONAL_MODULE([conf_interaction], true)
860AC_E_OPTIONAL_MODULE([gadman], true)
861AC_E_OPTIONAL_MODULE([mixer], true, [CHECK_MODULE_MIXER])
862AC_E_OPTIONAL_MODULE([connman], true)
863AC_E_OPTIONAL_MODULE([bluez4], true)
864AC_E_OPTIONAL_MODULE([syscon], true)
865AC_E_OPTIONAL_MODULE([everything], true)
866AC_E_OPTIONAL_MODULE([systray], true)
867AC_E_OPTIONAL_MODULE([appmenu], true)
868AC_E_OPTIONAL_MODULE([quickaccess], true)
869AC_E_OPTIONAL_MODULE([teamwork], true)
870AC_E_OPTIONAL_MODULE([lokker], true)
871AC_E_OPTIONAL_MODULE([shot], true, true)
872AC_E_OPTIONAL_MODULE([backlight], true)
873AC_E_OPTIONAL_MODULE([tasks], true)
874AC_E_OPTIONAL_MODULE([conf_randr], true)
875AC_E_OPTIONAL_MODULE([xkbswitch], true, true)
876AC_E_OPTIONAL_MODULE([tiling], true)
877AC_E_OPTIONAL_MODULE([music_control], true)
878AC_E_OPTIONAL_MODULE([packagekit], true)
879AC_E_OPTIONAL_MODULE([wl_desktop_shell], $have_wayland_dep)
880AC_E_OPTIONAL_MODULE([wl_x11], $have_wayland_dep, [CHECK_MODULE_WL_X11])
881AC_E_OPTIONAL_MODULE([wl_wl], $have_wayland_dep)
882AC_E_OPTIONAL_MODULE([wl_buffer], $have_wayland_dep)
883#AC_E_OPTIONAL_MODULE([wl_fb], $have_wayland_dep, [CHECK_MODULE_WL_FB])
884AC_E_OPTIONAL_MODULE([wl_drm], $have_wayland_dep, [CHECK_MODULE_WL_DRM])
885AC_E_OPTIONAL_MODULE([wl_text_input], $have_wayland_dep)
886AC_E_OPTIONAL_MODULE([wl_weekeyboard], $have_wayland_dep)
887AC_E_OPTIONAL_MODULE([geolocation], true)
888AC_E_OPTIONAL_MODULE([xwayland], $have_wayland_dep, [CHECK_MODULE_XWAYLAND])
889AC_E_OPTIONAL_MODULE([wireless], true)
890AC_E_OPTIONAL_MODULE([time], true)
891AC_E_OPTIONAL_MODULE([sysinfo], true)
892
893if test "x${HAVE_WL_X11}" != "xyes" && test "x${have_wayland}" = "xyes" && test "x${HAVE_XWAYLAND}" != "xyes"; then
894 AC_DEFINE_UNQUOTED([HAVE_WAYLAND_ONLY],[1],[enable wayland-only version of enlightenment])
895 have_wayland_only=yes
896else
897 have_wayland_only=no
898fi
899
900AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"])
901
902e_alert_requires="\
903 evas >= $efl_version \
904 eina >= ${efl_version} \
905 ecore >= ${efl_version} \
906 ecore-ipc >= ${efl_version}"
907
908if test "x${have_wayland}" = "xyes"; then
909 if test "x${HAVE_WL_DRM}" = "xyes"; then
910 e_alert_requires="\
911 $e_alert_requires \
912 ecore-input >= ${efl_version} \
913 ecore-drm2 >= ${efl_ecore_drm2_version}"
914 fi
915fi
916
917if test "x${have_wayland_only}" != "xyes"; then
918 e_alert_requires="\
919 $e_alert_requires \
920 xcb \
921 xcb-shape \
922 xcb-keysyms"
923fi
924
925PKG_CHECK_MODULES(E_ALERT, [$e_alert_requires])
926
927if test "x${have_wayland_only}" != "xyes"; then
928 e_requires="$e_requires ecore-x >= $efl_version"
929fi
930
931PKG_CHECK_MODULES(E, [$e_requires])
932requirements_e="\
933evas >= ${efl_version} \
934ecore >= ${efl_version} \
935ecore-evas >= ${efl_version} \
936ecore-con >= ${efl_version} \
937ecore-ipc >= ${efl_version} \
938ecore-file >= ${efl_version} \
939eet >= ${efl_version} \
940edje >= ${efl_version} \
941efreet >= ${efl_version} \
942efreet-mime >= ${efl_version} \
943efreet-trash >= ${efl_version} \
944eina >= ${efl_version} \
945eldbus >= ${efl_version} \
946eio >= ${efl_version} \
947eo >= ${efl_version} \
948elementary >= ${efl_version} \
949emotion >= ${efl_version} \
950$udisks_mount \
951$eeze_mount \
952$device_libs"
953if test "x${have_wayland_only}" != "xyes"; then
954 requirements_e="$requirements_e ecore-x >= $efl_version"
955fi
956
957e_libs="$E_LIBS $LIBINTL $fnmatch_libs $execinfo_libs"
958e_cflags="$E_CFLAGS"
959
960AC_SUBST([e_libs])
961AC_SUBST([e_cflags])
962AC_SUBST([requirements_e])
963
964HALT="/sbin/shutdown -h now"
965REBOOT="/sbin/shutdown -r now"
966SUSPEND=""
967HIBERNATE=""
968MOUNT="/bin/mount"
969UMOUNT="/bin/umount"
970EJECT="/usr/bin/eject"
971case "$host_os" in
972 freebsd*|pcbsd*)
973 #SUSPEND="acpiconf -s3"
974 SUSPEND="/usr/sbin/zzz"
975 AC_MSG_NOTICE([use suspend method: $SUSPEND])
976 HIBERNATE="acpiconf -s4"
977 AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
978 HALT="/sbin/shutdown -p now"
979 MOUNT="/sbin/mount"
980 UMOUNT="/sbin/umount"
981 EJECT="/usr/sbin/cdcontrol eject"
982 ;;
983 *)
984 if test "x${have_systemd_user_session}" = "xyes"; then
985 HALT="/usr/bin/systemctl poweroff"
986 REBOOT="/usr/bin/systemctl reboot"
987 SUSPEND="/usr/bin/systemctl suspend"
988 HIBERNATE="/usr/bin/systemctl hibernate"
989 AC_MSG_NOTICE([use systemctl for halt, reboot, suspend and hibernate])
990 else
991 AC_PATH_PROGS([SUSPEND], [sleep.sh pm-suspend],[/etc/acpi/sleep.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
992 if test "$SUSPEND" = "/etc/acpi/sleep.sh" ; then
993 SUSPEND="/etc/acpi/sleep.sh force"
994 AC_MSG_NOTICE([use suspend method: $SUSPEND])
995 fi
996
997 AC_PATH_PROGS([HIBERNATE], [hibernate.sh pm-hibernate],[/etc/acpi/hibernate.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
998 if test "$HIBERNATE" = "/etc/acpi/hibernate.sh" ; then
999 HIBERNATE="/etc/acpi/hibernate.sh force"
1000 AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
1001 fi
1002 fi
1003 ;;
1004esac
1005AC_SUBST([HALT])
1006AC_SUBST([REBOOT])
1007AC_SUBST([SUSPEND])
1008AC_SUBST([HIBERNATE])
1009AC_SUBST([MOUNT])
1010AC_SUBST([UMOUNT])
1011AC_SUBST([EJECT])
1012
1013m4_ifdef([v_rev],
1014 [
1015 EFL_COMPILER_FLAG([-Wall])
1016 EFL_COMPILER_FLAG([-W])
1017 EFL_COMPILER_FLAG([-Wpointer-arith])
1018 EFL_COMPILER_FLAG([-Wshadow])
1019 EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
1020 EFL_COMPILER_FLAG([-Wfloat-equal])
1021 EFL_COMPILER_FLAG([-Wuninitialized])
1022 EFL_COMPILER_FLAG([-Wundef])
1023 EFL_COMPILER_FLAG([-Wcast-align])
1024 EFL_COMPILER_FLAG([-Wformat=2])
1025 EFL_COMPILER_FLAG([-Wno-format-y2k])
1026 ])
1027
1028SUID_CFLAGS=
1029SUID_LDFLAGS=
1030case "$host_os" in
1031 freebsd*|pcbsd*)
1032 ;;
1033 *)
1034 if test -n "$GCC"; then
1035 AC_MSG_CHECKING(if GCC supports -fPIE)
1036
1037 OLDCFLAGS="$CFLAGS"
1038 OLDLDFLAGS="$LDFLAGS"
1039
1040 CFLAGS="$CFLAGS -fPIE"
1041 LDFLAGS="$LDFLAGS -pie"
1042
1043 AC_TRY_LINK(,,
1044 [
1045 SUID_CFLAGS="-fPIE"
1046 SUID_LDFLAGS="-pie"
1047 AC_MSG_RESULT(yes)],
1048 AC_MSG_RESULT(no))
1049 CFLAGS="$OLDCFLAGS"
1050 LDFLAGS="$OLDLDFLAGS"
1051 fi
1052 ;;
1053esac
1054AC_SUBST([SUID_CFLAGS])
1055AC_SUBST([SUID_LDFLAGS])
1056
1057AC_OUTPUT([
1058Makefile
1059enlightenment.pc
1060src/bin/e_fm_shared_types.h
1061src/modules/everything/everything.pc
1062data/session/enlightenment.desktop
1063data/etc/sysactions.conf
1064data/units/enlightenment.service
1065doc/Doxyfile
1066doc/e.dox
1067$po_makefile_in
1068])
1069
1070# report
1071txt_strip() {
1072 echo "[$]@" | sed -e 's/^[[ \t]]*\([[^ \t]]*\)[[ \t]]*$/\1/g'
1073}
1074
1075echo
1076cat << SUMMARY_EOF
1077Summary:
1078 * project.........: $PACKAGE $VERSION
1079 * prefix..........: $(txt_strip $prefix)
1080 * CFLAGS..........: $(txt_strip $CFLAGS)
1081 * LDFLAGS.........: $(txt_strip $LDFLAGS)
1082 * eet.............: ${eet_eet}
1083 * eldbus-codegen..: ${eldbus_codegen}
1084SUMMARY_EOF
1085
1086if test "$have_systemd_user_session" = "yes"; then
1087 echo " * systemd.........: yes (${USER_SESSION_DIR})"
1088else
1089 echo " * systemd.........: no"
1090fi
1091
1092echo
1093cat << ACTIONS_EOF
1094System Actions:
1095 * Halt.....: ${HALT}
1096 * Reboot...: ${REBOOT}
1097 * Suspend..: ${SUSPEND}
1098 * Hibernate: ${HIBERNATE}
1099
1100ACTIONS_EOF
1101
1102cat << DEVICE_EOF
1103Preferred Backends:
1104 * device..............: $device_backend
1105 * udisks_mount........: $e_cv_want_mount_udisks
1106 * eeze_mount..........: $e_cv_want_mount_eeze
1107DEVICE_EOF
1108echo
1109
1110UNUSED_MODS=""
1111for mod in $UNUSED_OPTIONAL_MODULES; do
1112 UNUSED_MODS="$UNUSED_MODS${COLOR_HRED}$mod${COLOR_END} "
1113done
1114
1115cat << MODULES_EOF
1116Modules:
1117 * disabled........: $(txt_strip $UNUSED_MODS)
1118MODULES_EOF
1119echo
1120
1121cat << DOCS_EOF
1122Documentation:
1123 * enabled.........: ${build_doc}
1124DOCS_EOF
1125if test "x${build_doc}" = "xyes" ; then
1126 echo " Building..........: make doc"
1127fi
1128echo
1129
1130cat << COMPILE_EOF
1131Compilation........: make (or gmake)
1132COMPILE_EOF
1133echo
1134
1135cat << INSTALL_EOF
1136Installation.......: make all install (as root if needed, with 'su' or 'sudo')
1137INSTALL_EOF
1138echo
diff --git a/data/.gitignore b/data/.gitignore
deleted file mode 100644
index 329a04fea..000000000
--- a/data/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
1/etc/sysactions.conf
2/xsession/enlightenment.desktop
diff --git a/data/Makefile.mk b/data/Makefile.mk
deleted file mode 100644
index 819398e8a..000000000
--- a/data/Makefile.mk
+++ /dev/null
@@ -1,11 +0,0 @@
1include data/images/Makefile.mk
2include data/tools/Makefile.mk
3include data/session/Makefile.mk
4include data/input_methods/Makefile.mk
5include data/etc/Makefile.mk
6include data/icons/Makefile.mk
7include data/backgrounds/Makefile.mk
8include data/flags/Makefile.mk
9include data/favorites/Makefile.mk
10include data/desktop/Makefile.mk
11include data/units/Makefile.mk
diff --git a/data/backgrounds/Makefile.mk b/data/backgrounds/Makefile.mk
deleted file mode 100644
index 8be227db7..000000000
--- a/data/backgrounds/Makefile.mk
+++ /dev/null
@@ -1,41 +0,0 @@
1backgroundfilesdir = $(datadir)/enlightenment/data/backgrounds
2backgroundfiles_DATA = \
3data/backgrounds/Brown_Rock_Hi.edj \
4data/backgrounds/Colorful_Roses.edj \
5data/backgrounds/Darkconcrete.edj \
6data/backgrounds/Dark_Gradient.edj \
7data/backgrounds/Grassy.edj \
8data/backgrounds/Japanesemaple.edj \
9data/backgrounds/Lakegrass.edj \
10data/backgrounds/Light_Gradient.edj \
11data/backgrounds/Mossstring.edj \
12data/backgrounds/Motleyrock.edj \
13data/backgrounds/Newgrowth.edj \
14data/backgrounds/Orange_Roses.edj \
15data/backgrounds/Pattern_Radial.edj \
16data/backgrounds/Pattern_Vertical.edj \
17data/backgrounds/Pattern_Vertical_Hi.edj \
18data/backgrounds/Pine_Silhouettes.edj \
19data/backgrounds/Purple_Flower_Bunch.edj \
20data/backgrounds/Skywall.edj \
21data/backgrounds/Stringflower.edj \
22data/backgrounds/Wetgrass.edj \
23data/backgrounds/Wetleaf.edj \
24data/backgrounds/Whiterock.edj \
25data/backgrounds/Hills.edj \
26data/backgrounds/Light.edj \
27data/backgrounds/Temple.edj \
28data/backgrounds/Train.edj \
29data/backgrounds/Curly_Leaves.edj \
30data/backgrounds/Flower_Petals.edj \
31data/backgrounds/Go_Away.edj \
32data/backgrounds/Green_Stem.edj \
33data/backgrounds/Leafy_Red.edj \
34data/backgrounds/Ramen.edj \
35data/backgrounds/Shady_Leaves.edj \
36data/backgrounds/Windy_Palm.edj \
37data/backgrounds/Lantern_Cluster.edj \
38data/backgrounds/Wall_Lanterns.edj
39
40
41EXTRA_DIST += $(backgroundfiles_DATA)
diff --git a/data/desktop/Makefile.mk b/data/desktop/Makefile.mk
deleted file mode 100644
index 7e38ebf4a..000000000
--- a/data/desktop/Makefile.mk
+++ /dev/null
@@ -1,6 +0,0 @@
1desktopfilesdir = $(datadir)/applications
2desktopfiles_DATA = \
3data/desktop/enlightenment_filemanager.desktop \
4data/desktop/enlightenment_askpass.desktop
5
6EXTRA_DIST += $(desktopfiles_DATA)
diff --git a/data/etc/Makefile.mk b/data/etc/Makefile.mk
deleted file mode 100644
index 84e90a341..000000000
--- a/data/etc/Makefile.mk
+++ /dev/null
@@ -1,15 +0,0 @@
1etcfilesdir = $(sysconfdir)/enlightenment
2etcfiles_DATA =
3
4if INSTALL_SYSACTIONS
5etcfiles_DATA += data/etc/sysactions.conf
6endif
7
8etcmenusdir = $(sysconfdir)/xdg/menus
9etcmenus_DATA =
10
11if INSTALL_ENLIGHTENMENT_MENU
12etcmenus_DATA += data/etc/e-applications.menu
13endif
14
15EXTRA_DIST += $(etcfiles_DATA) $(etcmenus_DATA)
diff --git a/data/favorites/Makefile.mk b/data/favorites/Makefile.mk
deleted file mode 100644
index 785754e83..000000000
--- a/data/favorites/Makefile.mk
+++ /dev/null
@@ -1,9 +0,0 @@
1datafavsdir = $(datadir)/enlightenment/data/favorites
2datafavs_DATA = \
3data/favorites/.order \
4data/favorites/desktop.desktop \
5data/favorites/home.desktop \
6data/favorites/root.desktop \
7data/favorites/tmp.desktop
8
9EXTRA_DIST += $(datafavs_DATA)
diff --git a/data/flags/Makefile.mk b/data/flags/Makefile.mk
deleted file mode 100644
index 88efee1e2..000000000
--- a/data/flags/Makefile.mk
+++ /dev/null
@@ -1,103 +0,0 @@
1dataflagsfilesdir = $(datadir)/enlightenment/data/flags
2dataflagsfiles_DATA = \
3data/flags/ad_flag.png \
4data/flags/af_flag.png \
5data/flags/al_flag.png \
6data/flags/am_flag.png \
7data/flags/ara_flag.png \
8data/flags/ar_flag.png \
9data/flags/at_flag.png \
10data/flags/az_flag.png \
11data/flags/ba_flag.png \
12data/flags/bd_flag.png \
13data/flags/be_flag.png \
14data/flags/bg_flag.png \
15data/flags/brai_flag.png \
16data/flags/br_flag.png \
17data/flags/bt_flag.png \
18data/flags/bw_flag.png \
19data/flags/by_flag.png \
20data/flags/ca_flag.png \
21data/flags/cat_flag.png \
22data/flags/cd_flag.png \
23data/flags/ch_flag.png \
24data/flags/cm_flag.png \
25data/flags/cn_flag.png \
26data/flags/cz_flag.png \
27data/flags/de_flag.png \
28data/flags/dk_flag.png \
29data/flags/ee_flag.png \
30data/flags/epo_flag.png \
31data/flags/es_flag.png \
32data/flags/et_flag.png \
33data/flags/fi_flag.png \
34data/flags/fo_flag.png \
35data/flags/fr_flag.png \
36data/flags/gb_flag.png \
37data/flags/ge_flag.png \
38data/flags/gh_flag.png \
39data/flags/gn_flag.png \
40data/flags/gr_flag.png \
41data/flags/hr_flag.png \
42data/flags/hu_flag.png \
43data/flags/ie_flag.png \
44data/flags/il_flag.png \
45data/flags/in_flag.png \
46data/flags/iq_flag.png \
47data/flags/ir_flag.png \
48data/flags/is_flag.png \
49data/flags/it_flag.png \
50data/flags/jp_flag.png \
51data/flags/ke_flag.png \
52data/flags/kg_flag.png \
53data/flags/kh_flag.png \
54data/flags/kr_flag.png \
55data/flags/ku_flag.png \
56data/flags/kz_flag.png \
57data/flags/la_flag.png \
58data/flags/lang-system.png \
59data/flags/latam_flag.png \
60data/flags/lk_flag.png \
61data/flags/lt_flag.png \
62data/flags/lv_flag.png \
63data/flags/ma_flag.png \
64data/flags/mao_flag.png \
65data/flags/md_flag.png \
66data/flags/me_flag.png \
67data/flags/mk_flag.png \
68data/flags/ml_flag.png \
69data/flags/mm_flag.png \
70data/flags/mn_flag.png \
71data/flags/mt_flag.png \
72data/flags/mv_flag.png \
73data/flags/my_flag.png \
74data/flags/ng_flag.png \
75data/flags/nl_flag.png \
76data/flags/no_flag.png \
77data/flags/np_flag.png \
78data/flags/ph_flag.png \
79data/flags/pk_flag.png \
80data/flags/pl_flag.png \
81data/flags/pt_flag.png \
82data/flags/ro_flag.png \
83data/flags/rs_flag.png \
84data/flags/ru_flag.png \
85data/flags/se_flag.png \
86data/flags/si_flag.png \
87data/flags/sk_flag.png \
88data/flags/sn_flag.png \
89data/flags/sy_flag.png \
90data/flags/th_flag.png \
91data/flags/tj_flag.png \
92data/flags/tm_flag.png \
93data/flags/tr_flag.png \
94data/flags/tw_flag.png \
95data/flags/tz_flag.png \
96data/flags/ua_flag.png \
97data/flags/unknown_flag.png \
98data/flags/us_flag.png \
99data/flags/uz_flag.png \
100data/flags/vn_flag.png \
101data/flags/za_flag.png
102
103EXTRA_DIST += $(dataflagsfiles_DATA)
diff --git a/data/icons/Makefile.mk b/data/icons/Makefile.mk
deleted file mode 100644
index bde02dba7..000000000
--- a/data/icons/Makefile.mk
+++ /dev/null
@@ -1,18 +0,0 @@
1iconsfilesdir = $(datadir)/enlightenment/data/icons
2iconsfiles_DATA = \
3data/icons/xterm.png \
4data/icons/web_browser.png \
5data/icons/audio_player.png \
6data/icons/mail_client.png \
7data/icons/video_player.png \
8data/icons/text_editor.png \
9data/icons/image_viewer.png \
10data/icons/audio_player2.png
11
12EXTRA_DIST += $(iconsfiles_DATA)
13
14pixmapsdir = $(datadir)/pixmaps
15pixmaps_DATA = \
16data/icons/enlightenment-askpass.png
17
18EXTRA_DIST += $(pixmaps_DATA)
diff --git a/data/images/Makefile.mk b/data/images/Makefile.mk
deleted file mode 100644
index 0dfe56d92..000000000
--- a/data/images/Makefile.mk
+++ /dev/null
@@ -1,9 +0,0 @@
1imagesfilesdir = $(datadir)/enlightenment/data/images
2imagesfiles_DATA = \
3data/images/enlightenment.png \
4data/images/test.png \
5data/images/test.jpg \
6data/images/test.edj \
7data/images/test.svg
8
9EXTRA_DIST += $(imagesfiles_DATA)
diff --git a/data/input_methods/Makefile.mk b/data/input_methods/Makefile.mk
deleted file mode 100644
index 16955c4c0..000000000
--- a/data/input_methods/Makefile.mk
+++ /dev/null
@@ -1,11 +0,0 @@
1imcfilesdir = $(datadir)/enlightenment/data/input_methods
2imcfiles_DATA = \
3data/input_methods/scim.imc \
4data/input_methods/uim.imc \
5data/input_methods/iiimf.imc \
6data/input_methods/ibus.imc \
7data/input_methods/gcin.imc \
8data/input_methods/hime.imc \
9data/input_methods/fcitx.imc
10
11EXTRA_DIST += $(imcfiles_DATA)
diff --git a/data/session/Makefile.mk b/data/session/Makefile.mk
deleted file mode 100644
index 8e6b23b8d..000000000
--- a/data/session/Makefile.mk
+++ /dev/null
@@ -1,11 +0,0 @@
1if ! HAVE_WAYLAND_ONLY
2xsessionfilesdir = $(datadir)/xsessions
3xsessionfiles_DATA = data/session/enlightenment.desktop
4endif
5
6if HAVE_WAYLAND
7wlsessionfilesdir = $(datadir)/wayland-sessions
8wlsessionfiles_DATA = data/session/enlightenment.desktop
9endif
10
11EXTRA_DIST += data/session/enlightenment.desktop.in
diff --git a/data/tools/Makefile.mk b/data/tools/Makefile.mk
deleted file mode 100644
index 60394caf5..000000000
--- a/data/tools/Makefile.mk
+++ /dev/null
@@ -1,6 +0,0 @@
1enlightenment_remotedir = $(bindir)
2
3enlightenment_remote_SCRIPTS = data/tools/enlightenment_remote
4
5EXTRA_DIST += data/tools/enlightenment_remote
6
diff --git a/data/units/Makefile.mk b/data/units/Makefile.mk
deleted file mode 100644
index 58c76bca4..000000000
--- a/data/units/Makefile.mk
+++ /dev/null
@@ -1,6 +0,0 @@
1if HAVE_SYSTEMD_USER_SESSION
2unitsdir = $(USER_SESSION_DIR)
3units_DATA = data/units/enlightenment.service
4endif
5
6EXTRA_DIST += $(units_DATA)
diff --git a/doc/.gitignore b/doc/.gitignore
deleted file mode 100644
index 88aa8a178..000000000
--- a/doc/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
1/e.dox
2/Doxyfile
diff --git a/doc/Makefile.mk b/doc/Makefile.mk
deleted file mode 100644
index fd49b872e..000000000
--- a/doc/Makefile.mk
+++ /dev/null
@@ -1,47 +0,0 @@
1MAINTAINERCLEANFILES += doc/e.dox
2
3PHONIES += doc doc-clean
4
5PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7if EFL_BUILD_DOC
8
9doc-clean:
10 rm -rf doc/html/ doc/latex/ doc/man/ doc/xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12doc: all doc-clean
13 @echo "entering doc/"
14 $(efl_doxygen) doc/Doxyfile
15 cp $(top_srcdir)/doc/img/* doc/html/
16 rm -rf $(PACKAGE_DOCNAME).tar*
17 $(MKDIR_P) $(PACKAGE_DOCNAME)/doc
18 cp -R doc/html/ doc/latex/ doc/man/ $(PACKAGE_DOCNAME)/doc
19 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
20 bzip2 -9 $(PACKAGE_DOCNAME).tar
21 rm -rf $(PACKAGE_DOCNAME)/
22 @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2"
23
24else
25
26doc:
27 @echo "Documentation not built. Run ./configure --help"
28
29endif
30
31docfilesdir = $(datadir)/enlightenment/doc
32docfiles_DATA = \
33doc/documentation.html \
34doc/illume2.html \
35doc/FDO.txt \
36doc/cache.txt \
37doc/enlightenment.png \
38doc/illume2.png
39
40EXTRA_DIST += \
41$(docfiles_DATA) \
42doc/Doxyfile.in \
43$(wildcard doc/img/*.*) \
44doc/e.css \
45doc/head.html \
46doc/foot.html \
47doc/e.dox.in
diff --git a/enlightenment.pc.in b/enlightenment.pc.in
deleted file mode 100644
index 7b08f4ce8..000000000
--- a/enlightenment.pc.in
+++ /dev/null
@@ -1,21 +0,0 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3libdir=@libdir@
4datarootdir=@datarootdir@
5datadir=@datadir@
6includedir=@includedir@/@PACKAGE@
7modules=@libdir@/@PACKAGE@/modules
8pkgdatadir=@datadir@/@PACKAGE@/data
9themes=${pkgdatadir}/themes
10backgrounds=${pkgdatadir}/backgrounds
11config_apps=@datadir@/@PACKAGE@/config-apps
12release=@release@
13wayland=@WAYLAND@
14
15Name: enlightenment
16Description: Enlightenment Window Manager
17Requires: @requirements_e@
18Version: @VERSION@
19Libs: -L${libdir}
20Libs.private: -lm
21Cflags: -I${includedir}
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644
index 73b287f21..000000000
--- a/m4/.gitignore
+++ /dev/null
@@ -1,39 +0,0 @@
1/codeset.m4
2/fcntl-o.m4
3/gettext.m4
4/glibc21.m4
5/iconv.m4
6/intdiv0.m4
7/inttypes-pri.m4
8/inttypes.m4
9/inttypes_h.m4
10/isc-posix.m4
11/lcmessage.m4
12/lib-ld.m4
13/lib-link.m4
14/lib-prefix.m4
15/libtool.m4
16/ltoptions.m4
17/ltsugar.m4
18/ltversion.m4
19/lt~obsolete.m4
20/nls.m4
21/po.m4
22/progtest.m4
23/stdint_h.m4
24/uintmax_t.m4
25/ulonglong.m4
26/glibc2.m4
27/intl.m4
28/intldir.m4
29/intlmacosx.m4
30/intmax.m4
31/lock.m4
32/longlong.m4
33/printf-posix.m4
34/size_max.m4
35/threadlib.m4
36/visibility.m4
37/wchar_t.m4
38/wint_t.m4
39/xsize.m4
diff --git a/m4/Makefile.mk b/m4/Makefile.mk
deleted file mode 100644
index 745d21c03..000000000
--- a/m4/Makefile.mk
+++ /dev/null
@@ -1,26 +0,0 @@
1MAINTAINERCLEANFILES += \
2m4/libtool.m4 \
3m4/lt~obsolete.m4 \
4m4/ltoptions.m4 \
5m4/ltsugar.m4 \
6m4/ltversion.m4 \
7m4/codeset.m4 \
8m4/gettext.m4 \
9m4/glibc21.m4 \
10m4/iconv.m4 \
11m4/intdiv0.m4 \
12m4/inttypes_h.m4 \
13m4/inttypes.m4 \
14m4/inttypes-pri.m4 \
15m4/isc-posix.m4 \
16m4/lcmessage.m4 \
17m4/lib-ld.m4 \
18m4/lib-link.m4 \
19m4/lib-prefix.m4 \
20m4/nls.m4 \
21m4/po.m4 \
22m4/progtest.m4 \
23m4/stdint_h.m4 \
24m4/uintmax_t.m4 \
25m4/ulonglong.m4
26
diff --git a/m4/ac-plugins.m4 b/m4/ac-plugins.m4
deleted file mode 100644
index 62021cd05..000000000
--- a/m4/ac-plugins.m4
+++ /dev/null
@@ -1,165 +0,0 @@
1dnl _XTERM_COLORS
2define([_XTERM_COLORS],
3[
4 # Check for XTerm and define some colors
5 if test "x$TERM" = "xxterm" -o "x$TERM" = "xscreen"; then
6 COLOR_PREF=`echo -e "\0033\0133"`
7 COLOR_H="${COLOR_PREF}1m"
8 COLOR_HGREEN="${COLOR_PREF}1;32m"
9 COLOR_HRED="${COLOR_PREF}1;31m"
10 COLOR_GREEN="${COLOR_PREF}32m"
11 COLOR_RED="${COLOR_PREF}31m"
12 COLOR_YELLOW="${COLOR_PREF}1;33m"
13 COLOR_END="${COLOR_PREF}0m"
14 else
15 COLOR_H=""
16 COLOR_HGREEN=""
17 COLOR_HRED=""
18 COLOR_GREEN=""
19 COLOR_RED=""
20 COLOR_YELLOW=""
21 COLOR_END=""
22 fi
23])
24
25dnl AC_E_CHECK_PKG(name, lib [>= version], [action-if, [action-not]])
26dnl improved version of PKG_CHECK_MODULES, it does the same checking
27dnl and defines HAVE_[name]=yes/no and also exports
28dnl [name]_CFLAGS and [name]_LIBS.
29dnl
30dnl if action-not isn't provided, AC_MSG_ERROR will be used.
31dnl
32dnl Checks:
33dnl lib >= version
34dnl
35dnl Provides:
36dnl - HAVE_[name]=yes|no
37dnl - [name]_CFLAGS: if HAVE_[name]=yes
38dnl - [name]_LIBS: if HAVE_[name]=yes
39dnl - [name]_VERSION: if HAVE_[name]=yes
40dnl
41AC_DEFUN([AC_E_CHECK_PKG],
42[
43# ----------------------------------------------------------------------
44# BEGIN: Check library with pkg-config: $1 (pkg-config=$2)
45#
46
47 PKG_CHECK_MODULES([$1], [$2],
48 [
49 HAVE_[$1]=yes
50 [pkg_name]=$(echo "[$2]" | cut -d\ -f1)
51 [$1]_VERSION=$($PKG_CONFIG --modversion $pkg_name)
52 AC_SUBST([$1]_VERSION)
53 ifelse([$3], , :, [$3])
54 ],
55 [
56 HAVE_[$1]=no
57 ifelse([$4], , AC_MSG_ERROR(you need [$2] development installed!), AC_MSG_RESULT(no); [$4])
58 ])
59 AM_CONDITIONAL(HAVE_[$1], test x$HAVE_[$1] = xyes)
60 AC_SUBST(HAVE_[$1])
61 if test x$HAVE_[$1] = xyes; then
62 AC_DEFINE_UNQUOTED(HAVE_[$1], 1, Package [$1] ($2) found.)
63 fi
64
65#
66# END: Check library with pkg-config: $1 (pkg-config=$2)
67# ----------------------------------------------------------------------
68])
69
70dnl AC_E_OPTIONAL_MODULE(name, [initial-status, [check-if-enabled]])
71dnl Defines configure argument --<enable|disable>-[name] to enable an
72dnl optional module called 'name'.
73dnl
74dnl If initial-status is true, then it's enabled by default and option
75dnl will be called --disable-[name], otherwise it's disabled and option
76dnl is --enable-[name].
77dnl
78dnl If module is enabled, then check-if-enabled will be executed. This
79dnl may change the contents of shell variable NAME (uppercase version of
80dnl name, with underscores instead of dashed) to something different than
81dnl "true" to disable module.
82dnl
83dnl Parameters:
84dnl - name: module name to use. It will be converted to have dashes (-)
85dnl instead of underscores, and will be in lowercase.
86dnl - initial-status: true or false, states if module is enabled or
87dnl disabled by default.
88dnl - check-if-enabled: macro to be expanded inside check for enabled
89dnl module.
90dnl
91dnl Provides:
92dnl - USE_MODULE_[name]=true|false [make, shell]
93dnl - USE_MODULE_[name]=1 if enabled [config.h]
94dnl
95AC_DEFUN([AC_E_OPTIONAL_MODULE],
96[
97# ----------------------------------------------------------------------
98# BEGIN: Check for optional module: $1 (default: $2)
99#
100 m4_pushdef([MODNAME], [m4_bpatsubst(m4_toupper([$1]), -, _)])dnl
101 m4_pushdef([modname_opt], [m4_bpatsubst(m4_tolower([$1]), _, -)])
102 m4_pushdef([INITVAL], [m4_default([$2], [false])])dnl
103 m4_pushdef([ENABLE_HELP], AS_HELP_STRING([--enable-modname_opt],
104 [optional module modname_opt @<:@default=disabled@:>@]))dnl
105 m4_pushdef([DISABLE_HELP], AS_HELP_STRING([--disable-modname_opt],
106 [optional module modname_opt @<:@default=enabled@:>@]))dnl
107 m4_pushdef([HELP_STR], m4_if(INITVAL, [true], [DISABLE_HELP], [ENABLE_HELP]))dnl
108 m4_pushdef([NOT_INITVAL], m4_if(INITVAL, [true], [false], [true]))dnl
109
110 USING_MODULES=1
111
112 MODNAME=INITVAL
113 AC_ARG_ENABLE(modname_opt, HELP_STR, [MODNAME=${enableval:-NOT_INITVAL}])
114 if test x[$]MODNAME = xyes || test x[$]MODNAME = x1; then
115 MODNAME=true
116 fi
117 if test x[$]MODNAME = xno || test x[$]MODNAME = x0; then
118 MODNAME=false
119 fi
120
121 USE_MODULE_[]MODNAME=[$]MODNAME
122
123 _XTERM_COLORS
124
125 # Check list for optional module $1
126 if test x[$]MODNAME = xtrue; then
127 ifelse([$3], , , [
128echo
129echo "checking optional module modname_opt:"
130# BEGIN: User checks
131$3
132# END: User checks
133if test x[$]MODNAME = xfalse; then
134 echo -e "optional module modname_opt ${COLOR_HRED}failed${COLOR_END} checks."
135else
136 echo -e "optional module modname_opt passed checks."
137fi
138echo
139])
140
141 if test x[$]MODNAME = xfalse; then
142 echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}modname_opt${COLOR_END} disabled by extra checks."
143 fi
144 fi
145
146 # Check if user checks succeeded
147 if test x[$]MODNAME = xtrue; then
148 [OPTIONAL_MODULES]="$[OPTIONAL_MODULES] modname_opt"
149 AC_DEFINE_UNQUOTED(USE_MODULE_[]MODNAME, 1, Use module modname_opt)
150 else
151 [UNUSED_OPTIONAL_MODULES]="$[UNUSED_OPTIONAL_MODULES] modname_opt"
152 fi
153
154 AM_CONDITIONAL(USE_MODULE_[]MODNAME, test x[$]MODNAME = xtrue)
155 AC_SUBST(USE_MODULE_[]MODNAME)
156
157 m4_popdef([HELP_STR])dnl
158 m4_popdef([DISABLE_HELP])dnl
159 m4_popdef([ENABLE_HELP])dnl
160 m4_popdef([INITVAL])dnl
161 m4_popdef([MODNAME])
162#
163# END: Check for optional module: $1 ($2)
164# ----------------------------------------------------------------------
165])
diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4
deleted file mode 100644
index 91a26b2a8..000000000
--- a/m4/efl_binary.m4
+++ /dev/null
@@ -1,79 +0,0 @@
1dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr>
2dnl That code is public domain and can be freely used or copied.
3
4dnl Macro that check if a binary is built or not
5
6dnl Usage: EFL_ENABLE_BIN(binary)
7dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _)
8dnl Define have_binary (- is transformed into _)
9dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _)
10
11AC_DEFUN([EFL_ENABLE_BIN],
12[
13
14m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
15m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
16
17have_[]m4_defn([DOWN])="yes"
18
19dnl configure option
20
21AC_ARG_ENABLE([$1],
22 [AC_HELP_STRING([--disable-$1], [disable building of ]DOWN)],
23 [
24 if test "x${enableval}" = "xyes" ; then
25 have_[]m4_defn([DOWN])="yes"
26 else
27 have_[]m4_defn([DOWN])="no"
28 fi
29 ])
30
31AC_MSG_CHECKING([whether to build ]DOWN[ binary])
32AC_MSG_RESULT([$have_[]m4_defn([DOWN])])
33
34if test "x$have_[]m4_defn([DOWN])" = "xyes"; then
35 UP[]_PRG=DOWN[${EXEEXT}]
36fi
37
38AC_SUBST(UP[]_PRG)
39
40AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes")
41
42AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3])
43
44])
45
46
47dnl Macro that check if a binary is built or not
48
49dnl Usage: EFL_WITH_BIN(package, binary, default_value)
50dnl Call AC_SUBST(_binary) (_binary is the lowercase of binary, - being transformed into _ by default, or the value set by the user)
51
52AC_DEFUN([EFL_WITH_BIN],
53[
54
55m4_pushdef([DOWN], m4_translit([[$2]], [-A-Z], [_a-z]))dnl
56m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z]))dnl
57
58dnl configure option
59
60AC_ARG_WITH([$2],
61 [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])],
62 [
63 _efl_with_binary=${withval}
64 _efl_binary_define="yes"
65 ],
66 [
67 _efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3
68 _efl_binary_define="no"
69 ])
70
71DOWN=${_efl_with_binary}
72AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}])
73
74with_binary_[]m4_defn([DOWN])=${_efl_with_binary}
75
76AM_CONDITIONAL(HAVE_[]UP, [test "x${_efl_binary_define}" = "xyes"])
77AC_SUBST(DOWN)
78
79])
diff --git a/m4/efl_compiler_flag.m4 b/m4/efl_compiler_flag.m4
deleted file mode 100644
index 25c285dbf..000000000
--- a/m4/efl_compiler_flag.m4
+++ /dev/null
@@ -1,57 +0,0 @@
1dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr>
2dnl and Albin Tonnerre <albin dot tonnerre at gmail dot com>
3dnl That code is public domain and can be freely used or copied.
4
5dnl Macro that checks if a compiler flag is supported by the compiler.
6
7dnl Usage: EFL_COMPILER_FLAG(flag)
8dnl flag is added to CFLAGS if supported.
9
10AC_DEFUN([EFL_COMPILER_FLAG],
11[
12
13CFLAGS_save="${CFLAGS}"
14CFLAGS="${CFLAGS} $1"
15
16AC_LANG_PUSH([C])
17AC_MSG_CHECKING([whether the compiler supports $1])
18
19AC_COMPILE_IFELSE(
20 [AC_LANG_PROGRAM([[]])],
21 [have_flag="yes"],
22 [have_flag="no"])
23AC_MSG_RESULT([${have_flag}])
24
25if test "x${have_flag}" = "xno" ; then
26 CFLAGS="${CFLAGS_save}"
27fi
28AC_LANG_POP([C])
29
30])
31
32dnl Macro that checks if a linker flag is supported by the compiler.
33
34dnl Usage: EFL_LINKER_FLAG(flag)
35dnl flag is added to LDFLAGS if supported (will be passed to ld anyway).
36
37AC_DEFUN([EFL_LINKER_FLAG],
38[
39
40LDFLAGS_save="${LDFLAGS}"
41LDFLAGS="${LDFLAGS} $1"
42
43AC_LANG_PUSH([C])
44AC_MSG_CHECKING([whether the compiler supports $1])
45
46AC_LINK_IFELSE(
47 [AC_LANG_PROGRAM([[]])],
48 [have_flag="yes"],
49 [have_flag="no"])
50AC_MSG_RESULT([${have_flag}])
51
52if test "x${have_flag}" = "xno" ; then
53 LDFLAGS="${LDFLAGS_save}"
54fi
55AC_LANG_POP([C])
56
57])
diff --git a/m4/efl_doxygen.m4 b/m4/efl_doxygen.m4
deleted file mode 100644
index d83ed68b8..000000000
--- a/m4/efl_doxygen.m4
+++ /dev/null
@@ -1,97 +0,0 @@
1dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
2dnl That code is public domain and can be freely used or copied.
3
4dnl Macro that check if doxygen is available or not.
5
6dnl EFL_CHECK_DOXYGEN([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
7dnl Test for the doxygen program
8dnl Defines efl_doxygen
9dnl Defines the automake conditionnal EFL_BUILD_DOC
10dnl
11AC_DEFUN([EFL_CHECK_DOXYGEN],
12[
13
14dnl
15dnl Disable the build of the documentation
16dnl
17AC_ARG_ENABLE([doc],
18 [AC_HELP_STRING(
19 [--disable-doc],
20 [Disable documentation build @<:@default=enabled@:>@])],
21 [
22 if test "x${enableval}" = "xyes" ; then
23 efl_enable_doc="yes"
24 else
25 efl_enable_doc="no"
26 fi
27 ],
28 [efl_enable_doc="yes"])
29
30AC_MSG_CHECKING([whether to build documentation])
31AC_MSG_RESULT([${efl_enable_doc}])
32
33if test "x${efl_enable_doc}" = "xyes" ; then
34
35dnl Specify the file name, without path
36
37 efl_doxygen="doxygen"
38
39 AC_ARG_WITH([doxygen],
40 [AC_HELP_STRING(
41 [--with-doxygen=FILE],
42 [doxygen program to use @<:@default=doxygen@:>@])],
43
44dnl Check the given doxygen program.
45
46 [efl_doxygen=${withval}
47 AC_CHECK_PROG([efl_have_doxygen],
48 [${efl_doxygen}],
49 [yes],
50 [no])
51 if test "x${efl_have_doxygen}" = "xno" ; then
52 echo "WARNING:"
53 echo "The doxygen program you specified:"
54 echo "${efl_doxygen}"
55 echo "was not found. Please check the path and make sure "
56 echo "the program exists and is executable."
57 AC_MSG_WARN([no doxygen detected. Documentation will not be built])
58 fi
59 ],
60 [AC_CHECK_PROG([efl_have_doxygen],
61 [${efl_doxygen}],
62 [yes],
63 [no])
64 if test "x${efl_have_doxygen}" = "xno" ; then
65 echo "WARNING:"
66 echo "The doxygen program was not found in your execute path."
67 echo "You may have doxygen installed somewhere not covered by your path."
68 echo ""
69 echo "If this is the case make sure you have the packages installed, AND"
70 echo "that the doxygen program is in your execute path (see your"
71 echo "shell manual page on setting the \$PATH environment variable), OR"
72 echo "alternatively, specify the program to use with --with-doxygen."
73 AC_MSG_WARN([no doxygen detected. Documentation will not be built])
74 fi
75 ])
76fi
77
78dnl
79dnl Substitution
80dnl
81AC_SUBST([efl_doxygen])
82
83if ! test "x${efl_have_doxygen}" = "xyes" ; then
84 efl_enable_doc="no"
85fi
86
87AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes")
88
89if test "x${efl_enable_doc}" = "xyes" ; then
90 m4_default([$1], [:])
91else
92 m4_default([$2], [:])
93fi
94
95])
96
97dnl End of efl_doxygen.m4
diff --git a/m4/efl_path_max.m4 b/m4/efl_path_max.m4
deleted file mode 100644
index f57bfd2ab..000000000
--- a/m4/efl_path_max.m4
+++ /dev/null
@@ -1,36 +0,0 @@
1dnl Check for PATH_MAX in limits.h, and define a default value if not found
2dnl This is a workaround for systems not providing PATH_MAX, like GNU/Hurd
3
4dnl EFL_CHECK_PATH_MAX([DEFAULT_VALUE_IF_NOT_FOUND])
5dnl
6dnl If PATH_MAX is not defined in <limits.h>, defines it
7dnl to DEFAULT_VALUE_IF_NOT_FOUND if it exists, or fallback
8dnl to using 4096
9
10AC_DEFUN([EFL_CHECK_PATH_MAX],
11[
12
13default_max=m4_default([$1], "4096")
14AC_LANG_PUSH([C])
15
16AC_MSG_CHECKING([for PATH_MAX in limits.h])
17AC_COMPILE_IFELSE(
18 [AC_LANG_PROGRAM(
19 [[
20#include <limits.h>
21 ]],
22 [[
23int i = PATH_MAX;
24 ]])],
25 [AC_MSG_RESULT([yes])],
26 [
27 AC_DEFINE_UNQUOTED([PATH_MAX],
28 [${default_max}],
29 [default value since PATH_MAX is not defined])
30 AC_MSG_RESULT([no: using ${default_max}])
31 ])
32
33AC_LANG_POP([C])
34
35])
36dnl end of efl_path_max.m4
diff --git a/m4/pkg_var.m4 b/m4/pkg_var.m4
deleted file mode 100644
index 3d0a309bc..000000000
--- a/m4/pkg_var.m4
+++ /dev/null
@@ -1,14 +0,0 @@
1# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
2# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
3# -------------------------------------------
4# Retrieves the value of the pkg-config variable for the given module.
5AC_DEFUN([EFL_PKG_CHECK_VAR],
6[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
7AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
8
9_PKG_CONFIG([$1], [variable="][$3]["], [$2])
10AS_VAR_COPY([$1], [pkg_cv_][$1])
11
12AS_VAR_IF([$1], [""], [$5], [$4])dnl
13])# PKG_CHECK_VAR
14
diff --git a/meson_dist.mk b/meson_dist.mk
deleted file mode 100644
index f166ffb96..000000000
--- a/meson_dist.mk
+++ /dev/null
@@ -1,92 +0,0 @@
1meson_dist = \
2config/default/meson.build \
3config/meson.build \
4config/mobile/meson.build \
5config/standard/meson.build \
6config/tiling/meson.build \
7data/backgrounds/meson.build \
8data/desktop/meson.build \
9data/etc/meson.build \
10data/favorites/meson.build \
11data/flags/meson.build \
12data/icons/meson.build \
13data/images/meson.build \
14data/input_methods/meson.build \
15data/tools/meson.build \
16data/units/meson.build \
17data/session/meson.build \
18doc/meson.build \
19meson.build \
20meson/meson-chmod.sh \
21meson/clean_check.sh \
22meson/meson_inst.sh \
23meson/meson_modules.sh \
24meson_options.txt \
25po/meson.build \
26src/bin/e_fm/meson.build \
27src/bin/generated/meson.build \
28src/bin/meson.build \
29src/modules/appmenu/meson.build \
30src/modules/backlight/meson.build \
31src/modules/battery/meson.build \
32src/modules/bluez4/meson.build \
33src/modules/clock/meson.build \
34src/modules/conf_applications/meson.build \
35src/modules/conf_bindings/meson.build \
36src/modules/conf_dialogs/meson.build \
37src/modules/conf_display/meson.build \
38src/modules/conf_interaction/meson.build \
39src/modules/conf_intl/meson.build \
40src/modules/conf_menus/meson.build \
41src/modules/conf/meson.build \
42src/modules/conf_paths/meson.build \
43src/modules/conf_performance/meson.build \
44src/modules/conf_randr/meson.build \
45src/modules/conf_shelves/meson.build \
46src/modules/conf_theme/meson.build \
47src/modules/conf_window_manipulation/meson.build \
48src/modules/conf_window_remembers/meson.build \
49src/modules/connman/meson.build \
50src/modules/cpufreq/meson.build \
51src/modules/everything/meson.build \
52src/modules/fileman/meson.build \
53src/modules/fileman_opinfo/meson.build \
54src/modules/gadman/meson.build \
55src/modules/geolocation/meson.build \
56src/modules/ibar/meson.build \
57src/modules/ibox/meson.build \
58src/modules/lokker/meson.build \
59src/modules/luncher/meson.build \
60src/modules/meson.build \
61src/modules/mixer/meson.build \
62src/modules/msgbus/meson.build \
63src/modules/music-control/meson.build \
64src/modules/notification/meson.build \
65src/modules/packagekit/meson.build \
66src/modules/pager/meson.build \
67src/modules/pager_plain/meson.build \
68src/modules/quickaccess/meson.build \
69src/modules/shot/meson.build \
70src/modules/start/meson.build \
71src/modules/syscon/meson.build \
72src/modules/sysinfo/meson.build \
73src/modules/systray/meson.build \
74src/modules/tasks/meson.build \
75src/modules/teamwork/meson.build \
76src/modules/temperature/meson.build \
77src/modules/tiling/meson.build \
78src/modules/time/meson.build \
79src/modules/vkbd/meson.build \
80src/modules/winlist/meson.build \
81src/modules/wireless/meson.build \
82src/modules/wizard/meson.build \
83src/modules/wl_buffer/meson.build \
84src/modules/wl_desktop_shell/meson.build \
85src/modules/wl_drm/meson.build \
86src/modules/wl_fb/meson.build \
87src/modules/wl_text_input/meson.build \
88src/modules/wl_weekeyboard/meson.build \
89src/modules/wl_wl/meson.build \
90src/modules/wl_x11/meson.build \
91src/modules/xkbswitch/meson.build \
92src/modules/xwayland/meson.build
diff --git a/po/.gitignore b/po/.gitignore
deleted file mode 100644
index e244024ea..000000000
--- a/po/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
1/Makefile.in.in
2/Makevars.template
3/POTFILES
4/Rules-quot
5/boldquot.sed
6/en@boldquot.header
7/en@quot.header
8/enlightenment.pot
9/insert-header.sin
10/quot.sed
11/remove-potcdate.sed
12/remove-potcdate.sin
13/stamp-po
diff --git a/po/Makefile.mk b/po/Makefile.mk
deleted file mode 100644
index 3ce95bf19..000000000
--- a/po/Makefile.mk
+++ /dev/null
@@ -1,10 +0,0 @@
1MAINTAINERCLEANFILES += \
2po/boldquot.sed \
3po/en@boldquot.header \
4po/en@quot.header \
5po/insert-header.sin \
6po/Makefile.in.in \
7po/Makevars.template \
8po/quot.sed \
9po/remove-potcdate.sin \
10po/Rules-quot
diff --git a/src/Makefile.mk b/src/Makefile.mk
deleted file mode 100644
index a3ebd6224..000000000
--- a/src/Makefile.mk
+++ /dev/null
@@ -1,11 +0,0 @@
1include src/bin/Makefile.mk
2include src/modules/Makefile.mk
3
4EXTRA_DIST += \
5src/protocol/teamwork.xml \
6src/protocol/session-recovery.xml \
7src/protocol/efl-aux-hints.xml \
8src/protocol/www.xml \
9src/protocol/action_route.xml \
10src/protocol/e-gadget.xml \
11src/protocol/xdg-foreign-unstable-v1.xml
diff --git a/src/bin/.gitignore b/src/bin/.gitignore
deleted file mode 100644
index fe388f12d..000000000
--- a/src/bin/.gitignore
+++ /dev/null
@@ -1,19 +0,0 @@
1/e_fm_shared_types.h
2/enlightenment
3/enlightenment_alert
4/enlightenment_backlight
5/enlightenment_ckpasswd
6/enlightenment_fm_op
7/enlightenment_filemanager
8/enlightenment_imc
9/enlightenment_init
10/enlightenment_open
11/enlightenment_start
12/enlightenment_static_grabber
13/enlightenment_sys
14/enlightenment_thumb
15/enlightenment_open
16/enlightenment_elm_cfgtool
17/enlightenment_askpass
18
19/e_fm/enlightenment_fm
diff --git a/src/bin/Makefile.mk b/src/bin/Makefile.mk
deleted file mode 100644
index dfe08567e..000000000
--- a/src/bin/Makefile.mk
+++ /dev/null
@@ -1,595 +0,0 @@
1DISTCLEANFILES += src/bin/e_fm_shared_types.h
2
3EXTRA_DIST += \
4src/bin/e_drm2.x \
5src/bin/e_gadget_loader.c
6
7efx_files = \
8src/bin/efx/efx_bumpmapping.c \
9src/bin/efx/efx.c \
10src/bin/efx/efx_fade.c \
11src/bin/efx/efx_helpers.c \
12src/bin/efx/efx_move.c \
13src/bin/efx/efx_pan.c \
14src/bin/efx/e_efx_private.h \
15src/bin/efx/efx_queue.c \
16src/bin/efx/efx_resize.c \
17src/bin/efx/efx_rotate.c \
18src/bin/efx/efx_spin.c \
19src/bin/efx/efx_util.c \
20src/bin/efx/efx_zoom.c
21
22E_CPPFLAGS = \
23-I$(top_builddir) \
24-I$(top_builddir)/src/bin \
25-I$(top_srcdir) \
26-I$(top_srcdir)/src/bin \
27-I$(top_srcdir)/src/bin/efx \
28-I$(top_builddir)/src/bin/generated \
29@e_cflags@ \
30@cf_cflags@ \
31@VALGRIND_CFLAGS@ \
32@EDJE_DEF@ \
33@WAYLAND_CFLAGS@ \
34-DE_BINDIR=\"$(bindir)\" \
35-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
36-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
37-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\" \
38-DLOCALE_DIR=\"@LOCALE_DIR@\" \
39-DPACKAGE_SYSCONF_DIR=\"@PACKAGE_SYSCONF_DIR@\"
40
41bin_PROGRAMS = \
42src/bin/enlightenment \
43src/bin/enlightenment_imc \
44src/bin/enlightenment_start \
45src/bin/enlightenment_filemanager \
46src/bin/enlightenment_open \
47src/bin/enlightenment_askpass
48
49internal_bindir = $(libdir)/enlightenment/utils
50internal_bin_PROGRAMS = \
51src/bin/enlightenment_backlight \
52src/bin/enlightenment_fm_op \
53src/bin/enlightenment_sys \
54src/bin/enlightenment_thumb \
55src/bin/enlightenment_elm_cfgtool \
56src/bin/enlightenment_static_grabber \
57src/bin/enlightenment_alert
58
59if HAVE_FREEBSD
60internal_bin_PROGRAMS += src/bin/enlightenment_ckpasswd
61endif
62
63ENLIGHTENMENTHEADERS = \
64src/bin/efx/e_Efx.h \
65src/bin/e_about.h \
66src/bin/e_acpi.h \
67src/bin/e_actions.h \
68src/bin/e_alert.h \
69src/bin/e_atoms.h \
70src/bin/e_auth.h \
71src/bin/e_backlight.h \
72src/bin/e_bg.h \
73src/bin/e_bindings.h \
74src/bin/e_bryce.h \
75src/bin/e_client.h \
76src/bin/e_client_volume.h \
77src/bin/e_client.x \
78src/bin/e_color_dialog.h \
79src/bin/e_color.h \
80src/bin/e_comp.h \
81src/bin/e_comp_canvas.h \
82src/bin/e_comp_cfdata.h \
83src/bin/e_comp_object.h \
84src/bin/e_comp_x.h \
85src/bin/e_comp_x_randr.h \
86src/bin/e_config_data.h \
87src/bin/e_config_dialog.h \
88src/bin/e_config.h \
89src/bin/e_configure.h \
90src/bin/e_confirm_dialog.h \
91src/bin/e_datastore.h \
92src/bin/e_dbusmenu.h \
93src/bin/e_desk.h \
94src/bin/e_deskenv.h \
95src/bin/e_desklock.h \
96src/bin/e_deskmirror.h \
97src/bin/e_dialog.h \
98src/bin/e_dnd.h \
99src/bin/e_dpms.h \
100src/bin/e_desktop_editor.h \
101src/bin/e_entry_dialog.h \
102src/bin/e_env.h \
103src/bin/e_error.h \
104src/bin/e_exec.h \
105src/bin/e_exehist.h \
106src/bin/e_filereg.h \
107src/bin/e_flowlayout.h \
108src/bin/e_fm_custom.h \
109src/bin/e_fm_device.h \
110src/bin/e_fm.h \
111src/bin/e_fm_mime.h \
112src/bin/e_fm_op.h \
113src/bin/e_fm_op_registry.h \
114src/bin/e_fm_prop.h \
115src/bin/e_fm_shared_codec.h \
116src/bin/e_fm_shared_device.h \
117src/bin/e_focus.h \
118src/bin/e_font.h \
119src/bin/e_gadcon.h \
120src/bin/e_gadcon_popup.h \
121src/bin/e_gadget.h \
122src/bin/e_gadget_types.h \
123src/bin/e_grabinput.h \
124src/bin/e_grab_dialog.h \
125src/bin/e.h \
126src/bin/e_macros.h \
127src/bin/e_hints.h \
128src/bin/e_icon.h \
129src/bin/e_ilist.h \
130src/bin/e_import_config_dialog.h \
131src/bin/e_import_dialog.h \
132src/bin/e_includes.h \
133src/bin/e_init.h \
134src/bin/e_int_client_locks.h \
135src/bin/e_int_client_menu.h \
136src/bin/e_int_client_prop.h \
137src/bin/e_int_client_remember.h \
138src/bin/e_int_config_modules.h \
139src/bin/e_int_gadcon_config.h \
140src/bin/e_intl_data.h \
141src/bin/e_intl.h \
142src/bin/e_int_menus.h \
143src/bin/e_int_shelf_config.h \
144src/bin/e_int_toolbar_config.h \
145src/bin/e_ipc_codec.h \
146src/bin/e_ipc.h \
147src/bin/e_layout.h \
148src/bin/e_livethumb.h \
149src/bin/e_log.h \
150src/bin/e_maximize.h \
151src/bin/e_menu.h \
152src/bin/e_mmx.h \
153src/bin/e_module.h \
154src/bin/e_mouse.h \
155src/bin/e_moveresize.h \
156src/bin/e_msgbus.h \
157src/bin/e_notification.h \
158src/bin/e_msg.h \
159src/bin/e_obj_dialog.h \
160src/bin/e_object.h \
161src/bin/e_order.h \
162src/bin/e_pan.h \
163src/bin/e_path.h \
164src/bin/e_pixmap.h \
165src/bin/e_place.h \
166src/bin/e_pointer.h \
167src/bin/e_powersave.h \
168src/bin/e_prefix.h \
169src/bin/e_randr2.h \
170src/bin/e_remember.h \
171src/bin/e_resist.h \
172src/bin/e_scale.h \
173src/bin/e_screensaver.h \
174src/bin/e_scrollframe.h \
175src/bin/e_sha1.h \
176src/bin/e_shelf.h \
177src/bin/e_signals.h \
178src/bin/e_slidecore.h \
179src/bin/e_slider.h \
180src/bin/e_slidesel.h \
181src/bin/e_spectrum.h \
182src/bin/e_startup.h \
183src/bin/e_sys.h \
184src/bin/e_test.h \
185src/bin/e_theme_about.h \
186src/bin/e_theme.h \
187src/bin/e_thumb.h \
188src/bin/e_toolbar.h \
189src/bin/e_update.h \
190src/bin/e_user.h \
191src/bin/e_utils.h \
192src/bin/e_video.h \
193src/bin/e_widget_aspect.h \
194src/bin/e_widget_button.h \
195src/bin/e_widget_check.h \
196src/bin/e_widget_color_well.h \
197src/bin/e_widget_config_list.h \
198src/bin/e_widget_bgpreview.h \
199src/bin/e_widget_entry.h \
200src/bin/e_widget_filepreview.h \
201src/bin/e_widget_flist.h \
202src/bin/e_widget_font_preview.h \
203src/bin/e_widget_framelist.h \
204src/bin/e_widget_frametable.h \
205src/bin/e_widget_fsel.h \
206src/bin/e_widget.h \
207src/bin/e_widget_ilist.h \
208src/bin/e_widget_image.h \
209src/bin/e_widget_label.h \
210src/bin/e_widget_list.h \
211src/bin/e_widget_preview.h \
212src/bin/e_widget_radio.h \
213src/bin/e_widget_scrollframe.h \
214src/bin/e_widget_slider.h \
215src/bin/e_widget_spectrum.h \
216src/bin/e_widget_table.h \
217src/bin/e_widget_textblock.h \
218src/bin/e_widget_toolbar.h \
219src/bin/e_widget_toolbook.h \
220src/bin/e_win.h \
221src/bin/e_xinerama.h \
222src/bin/e_xkb.h \
223src/bin/e_xsettings.h \
224src/bin/e_zoomap.h \
225src/bin/e_zone.h
226
227if HAVE_WAYLAND
228ENLIGHTENMENTHEADERS += \
229src/bin/e_comp_wl_data.h \
230src/bin/e_comp_wl_dmabuf.h \
231src/bin/e_comp_wl_input.h \
232src/bin/e_comp_wl.h
233endif
234
235enlightenment_gen_src =
236MAINTAINERCLEANFILES += $(enlightenment_gen_src)
237
238enlightenment_src = \
239src/bin/e_about.c \
240src/bin/e_acpi.c \
241src/bin/e_actions.c \
242src/bin/e_atoms.c \
243src/bin/e_auth.c \
244src/bin/e_backlight.c \
245src/bin/e_bg.c \
246src/bin/e_bindings.c \
247src/bin/e_bryce.c \
248src/bin/e_bryce_editor.c \
249src/bin/e_client.c \
250src/bin/e_client_volume.c \
251src/bin/e_color.c \
252src/bin/e_color_dialog.c \
253src/bin/e_comp.c \
254src/bin/e_comp_canvas.c \
255src/bin/e_comp_cfdata.c \
256src/bin/e_comp_object.c \
257src/bin/e_config.c \
258src/bin/e_config_data.c \
259src/bin/e_config_dialog.c \
260src/bin/e_configure.c \
261src/bin/e_confirm_dialog.c \
262src/bin/e_datastore.c \
263src/bin/e_dbusmenu.c \
264src/bin/e_desk.c \
265src/bin/e_deskenv.c \
266src/bin/e_desklock.c \
267src/bin/e_deskmirror.c \
268src/bin/e_dialog.c \
269src/bin/e_dpms.c \
270src/bin/e_desktop_editor.c \
271src/bin/e_dnd.c \
272src/bin/e_entry_dialog.c \
273src/bin/e_env.c \
274src/bin/e_error.c \
275src/bin/e_exec.c \
276src/bin/e_exehist.c \
277src/bin/e_filereg.c \
278src/bin/e_flowlayout.c \
279src/bin/e_fm.c \
280src/bin/e_fm_custom.c \
281src/bin/e_fm_device.c \
282src/bin/e_fm_mime.c \
283src/bin/e_fm_op_registry.c \
284src/bin/e_fm_prop.c \
285src/bin/e_fm_shared_codec.c \
286src/bin/e_fm_shared_device.c \
287src/bin/e_focus.c \
288src/bin/e_font.c \
289src/bin/e_gadcon.c \
290src/bin/e_gadcon_popup.c \
291src/bin/e_gadget.c \
292src/bin/e_grabinput.c \
293src/bin/e_grab_dialog.c \
294src/bin/e_hints.c \
295src/bin/e_icon.c \
296src/bin/e_ilist.c \
297src/bin/e_import_config_dialog.c \
298src/bin/e_import_dialog.c \
299src/bin/e_init.c \
300src/bin/e_int_client_locks.c \
301src/bin/e_int_client_menu.c \
302src/bin/e_int_client_prop.c \
303src/bin/e_int_client_remember.c \
304src/bin/e_int_config_modules.c \
305src/bin/e_int_config_comp.c \
306src/bin/e_int_config_comp_match.c \
307src/bin/e_int_gadcon_config.c \
308src/bin/e_intl.c \
309src/bin/e_intl_data.c \
310src/bin/e_int_menus.c \
311src/bin/e_int_shelf_config.c \
312src/bin/e_int_toolbar_config.c \
313src/bin/e_ipc.c \
314src/bin/e_ipc_codec.c \
315src/bin/e_layout.c \
316src/bin/e_livethumb.c \
317src/bin/e_log.c \
318src/bin/e_maximize.c \
319src/bin/e_menu.c \
320src/bin/e_module.c \
321src/bin/e_mouse.c \
322src/bin/e_moveresize.c \
323src/bin/e_msgbus.c \
324src/bin/e_notification.c \
325src/bin/e_msg.c \
326src/bin/e_obj_dialog.c \
327src/bin/e_object.c \
328src/bin/e_order.c \
329src/bin/e_pan.c \
330src/bin/e_path.c \
331src/bin/e_pixmap.c \
332src/bin/e_place.c \
333src/bin/e_pointer.c \
334src/bin/e_powersave.c \
335src/bin/e_prefix.c \
336src/bin/e_randr2.c \
337src/bin/e_remember.c \
338src/bin/e_resist.c \
339src/bin/e_scale.c \
340src/bin/e_screensaver.c \
341src/bin/e_scrollframe.c \
342src/bin/e_sha1.c \
343src/bin/e_shelf.c \
344src/bin/e_signals.c \
345src/bin/e_slidecore.c \
346src/bin/e_slider.c \
347src/bin/e_slidesel.c \
348src/bin/e_spectrum.c \
349src/bin/e_startup.c \
350src/bin/e_sys.c \
351src/bin/e_test.c \
352src/bin/e_theme_about.c \
353src/bin/e_theme.c \
354src/bin/e_thumb.c \
355src/bin/e_toolbar.c \
356src/bin/e_update.c \
357src/bin/e_user.c \
358src/bin/e_utils.c \
359src/bin/e_video.c \
360src/bin/e_widget_aspect.c \
361src/bin/e_widget_button.c \
362src/bin/e_widget.c \
363src/bin/e_widget_check.c \
364src/bin/e_widget_color_well.c \
365src/bin/e_widget_config_list.c \
366src/bin/e_widget_bgpreview.c \
367src/bin/e_widget_entry.c \
368src/bin/e_widget_filepreview.c \
369src/bin/e_widget_flist.c \
370src/bin/e_widget_font_preview.c \
371src/bin/e_widget_framelist.c \
372src/bin/e_widget_frametable.c \
373src/bin/e_widget_fsel.c \
374src/bin/e_widget_ilist.c \
375src/bin/e_widget_image.c \
376src/bin/e_widget_label.c \
377src/bin/e_widget_list.c \
378src/bin/e_widget_preview.c \
379src/bin/e_widget_radio.c \
380src/bin/e_widget_scrollframe.c \
381src/bin/e_widget_slider.c \
382src/bin/e_widget_spectrum.c \
383src/bin/e_widget_table.c \
384src/bin/e_widget_textblock.c \
385src/bin/e_widget_toolbar.c \
386src/bin/e_widget_toolbook.c \
387src/bin/e_win.c \
388src/bin/e_xkb.c \
389src/bin/e_xinerama.c \
390src/bin/e_zoomap.c \
391src/bin/e_zone.c \
392$(ENLIGHTENMENTHEADERS) \
393$(efx_files)
394
395if ! HAVE_WAYLAND_ONLY
396enlightenment_src += \
397src/bin/e_comp_x.c \
398src/bin/e_comp_x_randr.c \
399src/bin/e_alert.c \
400src/bin/e_xsettings.c
401endif
402
403if HAVE_WAYLAND
404#Stolen from weston's Makefile.am and modified for Enlightenment
405.SECONDEXPANSION:
406
407define protostability
408$(if $(findstring unstable,$1),unstable,stable)
409endef
410
411define protoname
412$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
413endef
414
415%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
416 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
417
418%-server-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
419 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
420
421%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
422 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
423
424%-protocol.c : $(top_srcdir)/src/protocol/$(notdir $$*).xml
425 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
426
427%-server-protocol.h : $(top_srcdir)/src/protocol/$(notdir $$*).xml
428 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
429
430%-client-protocol.h : $(top_srcdir)/src/protocol/$(notdir $$*).xml
431 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
432#End of weston stuff
433
434enlightenment_src += \
435src/bin/e_comp_wl_data.c \
436src/bin/e_comp_wl_input.c \
437src/bin/e_comp_wl_dmabuf.c \
438src/bin/e_comp_wl.c \
439src/bin/e_comp_wl_extensions.c \
440src/bin/e_comp_wl_extensions_tizen.c \
441src/bin/e_gadget_runner.c
442
443enlightenment_gen_src += \
444src/bin/generated/linux-dmabuf-unstable-v1-server-protocol.h \
445src/bin/generated/linux-dmabuf-unstable-v1-protocol.c \
446src/bin/generated/session-recovery-protocol.c \
447src/bin/generated/session-recovery-server-protocol.h \
448src/bin/generated/www-protocol.c \
449src/bin/generated/www-server-protocol.h \
450src/bin/generated/action_route-protocol.c \
451src/bin/generated/action_route-server-protocol.h \
452src/bin/generated/xdg-foreign-unstable-v1-protocol.c \
453src/bin/generated/xdg-foreign-unstable-v1-server-protocol.h \
454src/bin/generated/relative-pointer-unstable-v1-protocol.c \
455src/bin/generated/relative-pointer-unstable-v1-server-protocol.h \
456src/bin/generated/pointer-constraints-unstable-v1-protocol.c \
457src/bin/generated/pointer-constraints-unstable-v1-server-protocol.h \
458src/bin/generated/efl-aux-hints-protocol.c \
459src/bin/generated/efl-aux-hints-server-protocol.h \
460src/bin/generated/e-gadget-protocol.c \
461src/bin/generated/e-gadget-server-protocol.h
462
463protocol_files = \
464src/protocol/action_route.xml \
465src/protocol/e-gadget.xml \
466src/protocol/efl-aux-hints.xml \
467src/protocol/session-recovery.xml \
468src/protocol/www.xml
469
470src/bin/e_comp_wl_extensions.c: \
471 $(enlightenment_gen_src) \
472 $(protocol_files)
473
474src/bin/e_comp_wl.c: \
475 src/bin/generated/www-server-protocol.h
476
477src/bin/e_comp_wl_dmabuf.c: \
478 src/bin/generated/linux-dmabuf-unstable-v1-server-protocol.h
479
480endif
481
482src_bin_enlightenment_CPPFLAGS = $(E_CPPFLAGS) -DE_LOGGING=1 @WAYLAND_CFLAGS@ @ECORE_X_CFLAGS@
483src_bin_enlightenment_SOURCES = \
484src/bin/e_main.c \
485$(enlightenment_src)
486
487nodist_src_bin_enlightenment_SOURCES = $(enlightenment_gen_src)
488
489src_bin_enlightenment_LDFLAGS = -export-dynamic
490src_bin_enlightenment_LDADD = @e_libs@ @dlopen_libs@ @cf_libs@ @VALGRIND_LIBS@ @WAYLAND_LIBS@ @WL_DRM_LIBS@ -lm @SHM_OPEN_LIBS@ @ECORE_X_LIBS@
491
492src_bin_enlightenment_imc_SOURCES = \
493src/bin/e.h \
494src/bin/e_macros.h \
495src/bin/e_config_data.c \
496src/bin/e_imc_main.c \
497src/bin/e_intl_data.c
498
499src_bin_enlightenment_imc_LDADD = @E_IMC_LIBS@
500src_bin_enlightenment_imc_CPPFLAGS = $(E_CPPFLAGS)
501
502src_bin_enlightenment_start_SOURCES = \
503src/bin/e_start_main.c
504src_bin_enlightenment_start_CPPFLAGS = $(E_CPPFLAGS) @E_START_CFLAGS@
505src_bin_enlightenment_start_LDADD = @dlopen_libs@ @E_START_LIBS@
506
507src_bin_enlightenment_askpass_SOURCES = \
508src/bin/e_askpass_main.c
509
510src_bin_enlightenment_askpass_LDADD = @E_ASKPASS_LIBS@
511src_bin_enlightenment_askpass_CPPFLAGS = $(E_CPPFLAGS)
512
513src_bin_enlightenment_thumb_SOURCES = \
514src/bin/e_sha1.c \
515src/bin/e_thumb_main.c \
516src/bin/e_user.c
517
518src_bin_enlightenment_thumb_LDADD = @e_libs@
519src_bin_enlightenment_thumb_CPPFLAGS = $(E_CPPFLAGS)
520
521src_bin_enlightenment_elm_cfgtool_SOURCES = \
522src/bin/e_elm_cfgtool_main.c
523
524src_bin_enlightenment_elm_cfgtool_LDADD = @e_libs@ -lm
525src_bin_enlightenment_elm_cfgtool_CPPFLAGS = $(E_CPPFLAGS)
526
527src_bin_enlightenment_fm_op_SOURCES = \
528src/bin/e_fm_op.c
529
530src_bin_enlightenment_fm_op_LDADD = @E_FM_OP_LIBS@ -lm
531src_bin_enlightenment_fm_op_CPPFLAGS = $(E_CPPFLAGS)
532
533src_bin_enlightenment_sys_SOURCES = \
534src/bin/e_sys_main.c \
535src/bin/e_sys_l2ping.c
536
537src_bin_enlightenment_sys_LDADD = @SUID_LDFLAGS@ @E_SYS_LIBS@ @BLUEZ_LIBS@
538src_bin_enlightenment_sys_CPPFLAGS = @SUID_CFLAGS@ @E_SYS_CFLAGS@ @BLUEZ_CFLAGS@ -DPACKAGE_SYSCONF_DIR=\"@PACKAGE_SYSCONF_DIR@\"
539
540src_bin_enlightenment_backlight_SOURCES = \
541src/bin/e_backlight_main.c
542
543src_bin_enlightenment_backlight_CPPFLAGS = @SUID_CFLAGS@ @EEZE_CFLAGS@
544src_bin_enlightenment_backlight_LDADD = @SUID_LDFLAGS@ @EEZE_LIBS@
545
546if HAVE_FREEBSD
547src_bin_enlightenment_ckpasswd_SOURCES = \
548src/bin/e_ckpasswd_main.c
549
550src_bin_enlightenment_ckpasswd_CPPFLAGS = @SUID_CFLAGS@
551src_bin_enlightenment_ckpasswd_LDADD = @SUID_LDFLAGS@ -lcrypt
552endif
553
554src_bin_enlightenment_alert_SOURCES = \
555src/bin/e_alert_main.c
556
557src_bin_enlightenment_alert_LDADD = @E_ALERT_LIBS@ @dlopen_libs@
558src_bin_enlightenment_alert_CPPFLAGS = @E_ALERT_CFLAGS@
559
560src_bin_enlightenment_filemanager_SOURCES = \
561src/bin/e_fm_cmdline.c
562src_bin_enlightenment_filemanager_LDADD = @E_FM_CMDLINE_LIBS@
563src_bin_enlightenment_filemanager_CPPFLAGS = @E_FM_CMDLINE_CFLAGS@
564
565src_bin_enlightenment_open_SOURCES = \
566src/bin/e_open.c
567src_bin_enlightenment_open_LDADD = @E_OPEN_LIBS@
568src_bin_enlightenment_open_CPPFLAGS = @E_OPEN_CFLAGS@
569
570src_bin_enlightenment_static_grabber_SOURCES = \
571src/bin/e_static_grab.c
572src_bin_enlightenment_static_grabber_LDADD = @E_GRABBER_LIBS@
573src_bin_enlightenment_static_grabber_CPPFLAGS = @E_GRABBER_CFLAGS@
574
575include src/bin/e_fm/Makefile.mk
576
577# HACK! why install-data-hook? install-exec-hook is run after bin_PROGRAMS
578# and before internal_bin_PROGRAMS are installed. install-data-hook is
579# run after both
580setuid_root_mode = a=rx,u+xs
581enlightenment-sys-install-data-hook:
582 @chmod $(setuid_root_mode) $(DESTDIR)$(libdir)/enlightenment/utils/enlightenment_sys$(EXEEXT) || true
583 @chmod $(setuid_root_mode) $(DESTDIR)$(libdir)/enlightenment/utils/enlightenment_backlight$(EXEEXT) || true
584if HAVE_FREEBSD
585 @chmod $(setuid_root_mode) $(DESTDIR)$(libdir)/enlightenment/utils/enlightenment_ckpasswd$(EXEEXT) || true
586endif
587installed_headersdir = $(prefix)/include/enlightenment
588installed_headers_DATA = $(ENLIGHTENMENTHEADERS) src/bin/e_fm_shared_types.h
589INSTALL_DATA_HOOKS += enlightenment-sys-install-data-hook
590
591PHONIES += e enlightenment install-e install-enlightenment
592e: $(bin_PROGRAMS)
593enlightenment: e
594install-e: install-binPROGRAMS
595install-enlightenment: install-e
diff --git a/src/bin/e_fm/.gitignore b/src/bin/e_fm/.gitignore
deleted file mode 100644
index d98d93431..000000000
--- a/src/bin/e_fm/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
1/e_fm_shared_codec.c
2/e_fm_shared_device.c
3/e_user.c
4
diff --git a/src/bin/e_fm/Makefile.mk b/src/bin/e_fm/Makefile.mk
deleted file mode 100644
index 218329f31..000000000
--- a/src/bin/e_fm/Makefile.mk
+++ /dev/null
@@ -1,58 +0,0 @@
1EFM_CPPFLAGS = \
2-I$(top_builddir) \
3-I$(top_builddir)/src/bin \
4-I$(top_srcdir) \
5-I$(top_srcdir)/src/bin \
6-I$(top_srcdir)/src/bin/efx \
7@e_cflags@ \
8@cf_cflags@ \
9@VALGRIND_CFLAGS@ \
10@EDJE_DEF@ \
11@WAYLAND_CFLAGS@ \
12-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
13-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
14-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\" \
15-DLOCALE_DIR=\"@LOCALE_DIR@\" \
16-DPACKAGE_SYSCONF_DIR=\"@PACKAGE_SYSCONF_DIR@\"
17
18EFM_LIBS =
19
20efm_bindir = $(libdir)/enlightenment/utils
21efm_bin_PROGRAMS = \
22src/bin/e_fm/enlightenment_fm
23
24if HAVE_UDISKS_MOUNT
25udisks_s = \
26src/bin/e_fm/e_fm_main_udisks.h \
27src/bin/e_fm/e_fm_main_udisks.c \
28src/bin/e_fm/e_fm_main_udisks2.h \
29src/bin/e_fm/e_fm_main_udisks2.c
30else
31udisks_s =
32endif
33
34if HAVE_EEZE_MOUNT
35EFM_CPPFLAGS += @EEZE_CFLAGS@ @EET_CFLAGS@
36EFM_LIBS += @EEZE_LIBS@ @EET_LIBS@
37eeze_s = \
38src/bin/e_prefix.c \
39src/bin/e_fm/e_fm_main_eeze.h \
40src/bin/e_fm/e_fm_main_eeze.c
41else
42eeze_s =
43endif
44
45src_bin_e_fm_enlightenment_fm_SOURCES = \
46src/bin/e_fm/e_fm_main.h \
47src/bin/e_fm/e_fm_ipc.h \
48src/bin/e_fm/e_fm_main.c \
49src/bin/e_fm/e_fm_ipc.c \
50$(udisks_s) \
51$(eeze_s) \
52src/bin/e_fm_shared_codec.c \
53src/bin/e_fm_shared_device.c \
54src/bin/e_user.c \
55src/bin/e_sha1.c
56
57src_bin_e_fm_enlightenment_fm_LDADD = @E_FM_LIBS@ $(EFM_LIBS)
58src_bin_e_fm_enlightenment_fm_CPPFLAGS = $(EFM_CPPFLAGS)
diff --git a/src/modules/Makefile.mk b/src/modules/Makefile.mk
deleted file mode 100644
index 464da00cc..000000000
--- a/src/modules/Makefile.mk
+++ /dev/null
@@ -1,139 +0,0 @@
1MDIR = $(libdir)/enlightenment/modules
2MOD_LDFLAGS = -module -avoid-version
3MOD_CPPFLAGS = -I. \
4-I$(top_srcdir) \
5-I$(top_srcdir)/src/bin \
6-I$(top_srcdir)/src/bin/efx \
7-I$(top_builddir)/src/bin \
8-I$(top_srcdir)/src/modules \
9@e_cflags@ \
10@WAYLAND_CFLAGS@ \
11-DE_BINDIR=\"$(bindir)\"
12
13MOD_LIBS = @e_libs@ @dlopen_libs@
14
15include src/modules/Makefile_connman.mk
16
17include src/modules/Makefile_bluez4.mk
18
19include src/modules/Makefile_ibar.mk
20
21include src/modules/Makefile_clock.mk
22
23include src/modules/Makefile_pager.mk
24
25include src/modules/Makefile_pager_plain.mk
26
27include src/modules/Makefile_battery.mk
28
29include src/modules/Makefile_temperature.mk
30
31include src/modules/Makefile_notification.mk
32
33include src/modules/Makefile_cpufreq.mk
34
35include src/modules/Makefile_ibox.mk
36
37include src/modules/Makefile_start.mk
38
39include src/modules/Makefile_winlist.mk
40
41include src/modules/Makefile_fileman.mk
42
43include src/modules/Makefile_fileman_opinfo.mk
44
45include src/modules/Makefile_wizard.mk
46
47include src/modules/Makefile_conf.mk
48
49include src/modules/Makefile_conf_theme.mk
50
51include src/modules/Makefile_conf_intl.mk
52
53include src/modules/Makefile_msgbus.mk
54
55include src/modules/Makefile_conf_applications.mk
56
57include src/modules/Makefile_conf_display.mk
58
59include src/modules/Makefile_conf_shelves.mk
60
61include src/modules/Makefile_conf_bindings.mk
62
63include src/modules/Makefile_conf_window_remembers.mk
64
65include src/modules/Makefile_conf_window_manipulation.mk
66
67include src/modules/Makefile_conf_menus.mk
68
69include src/modules/Makefile_conf_dialogs.mk
70
71include src/modules/Makefile_conf_performance.mk
72
73include src/modules/Makefile_conf_paths.mk
74
75include src/modules/Makefile_conf_interaction.mk
76
77include src/modules/Makefile_conf_randr.mk
78
79include src/modules/Makefile_gadman.mk
80
81include src/modules/Makefile_mixer.mk
82
83include src/modules/Makefile_syscon.mk
84
85include src/modules/Makefile_everything.mk
86
87include src/modules/Makefile_systray.mk
88
89include src/modules/Makefile_appmenu.mk
90
91include src/modules/Makefile_quickaccess.mk
92
93include src/modules/Makefile_teamwork.mk
94
95include src/modules/Makefile_lokker.mk
96
97include src/modules/Makefile_luncher.mk
98
99include src/modules/Makefile_shot.mk
100
101include src/modules/Makefile_backlight.mk
102
103include src/modules/Makefile_tasks.mk
104
105include src/modules/Makefile_xkbswitch.mk
106
107include src/modules/Makefile_tiling.mk
108
109include src/modules/Makefile_music_control.mk
110
111include src/modules/Makefile_packagekit.mk
112
113include src/modules/Makefile_wl_drm.mk
114
115include src/modules/Makefile_wl_buffer.mk
116
117include src/modules/Makefile_wl_wl.mk
118
119include src/modules/Makefile_wl_desktop_shell.mk
120
121include src/modules/Makefile_wl_x11.mk
122
123#include src/modules/Makefile_wl_fb.mk
124
125include src/modules/Makefile_xwayland.mk
126
127include src/modules/Makefile_wl_text_input.mk
128
129include src/modules/Makefile_wl_weekeyboard.mk
130
131include src/modules/Makefile_geolocation.mk
132
133include src/modules/Makefile_sysinfo.mk
134
135include src/modules/Makefile_wireless.mk
136
137include src/modules/Makefile_time.mk
138
139include src/modules/Makefile_vkbd.mk
diff --git a/src/modules/Makefile_appmenu.mk b/src/modules/Makefile_appmenu.mk
deleted file mode 100644
index d2adbed86..000000000
--- a/src/modules/Makefile_appmenu.mk
+++ /dev/null
@@ -1,24 +0,0 @@
1EXTRA_DIST += src/modules/appmenu/module.desktop \
2src/modules/appmenu/e-module-appmenu.edj
3if USE_MODULE_APPMENU
4appmenudir = $(MDIR)/appmenu
5appmenu_DATA = src/modules/appmenu/module.desktop \
6 src/modules/appmenu/e-module-appmenu.edj
7
8
9appmenupkgdir = $(MDIR)/appmenu/$(MODULE_ARCH)
10appmenupkg_LTLIBRARIES = src/modules/appmenu/module.la
11
12src_modules_appmenu_module_la_LIBADD = $(MOD_LIBS)
13src_modules_appmenu_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
14src_modules_appmenu_module_la_LDFLAGS = $(MOD_LDFLAGS)
15src_modules_appmenu_module_la_SOURCES = src/modules/appmenu/e_mod_main.c \
16 src/modules/appmenu/e_mod_dbus_registrar_server.c \
17 src/modules/appmenu/e_mod_appmenu_render.c \
18 src/modules/appmenu/e_mod_appmenu_private.h
19
20
21PHONIES += appmenu install-appmenu
22appmenu: $(appmenupkg_LTLIBRARIES) $(appmenu_DATA)
23install-appmenu: install-appmenuDATA install-appmenupkgLTLIBRARIES
24endif
diff --git a/src/modules/Makefile_backlight.mk b/src/modules/Makefile_backlight.mk
deleted file mode 100644
index 61e151574..000000000
--- a/src/modules/Makefile_backlight.mk
+++ /dev/null
@@ -1,23 +0,0 @@
1EXTRA_DIST += src/modules/backlight/module.desktop \
2src/modules/backlight/e-module-backlight.edj
3if USE_MODULE_BACKLIGHT
4backlightdir = $(MDIR)/backlight
5backlight_DATA = src/modules/backlight/e-module-backlight.edj \
6 src/modules/backlight/module.desktop
7
8
9backlightpkgdir = $(MDIR)/backlight/$(MODULE_ARCH)
10backlightpkg_LTLIBRARIES = src/modules/backlight/module.la
11
12src_modules_backlight_module_la_LIBADD = $(MOD_LIBS)
13src_modules_backlight_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
14src_modules_backlight_module_la_LDFLAGS = $(MOD_LDFLAGS)
15src_modules_backlight_module_la_SOURCES = src/modules/backlight/e_mod_main.c \
16 src/modules/backlight/gadget/backlight.h \
17 src/modules/backlight/gadget/backlight.c \
18 src/modules/backlight/gadget/mod.c
19
20PHONIES += backlight install-backlight
21backlight: $(backlightpkg_LTLIBRARIES) $(backlight_DATA)
22install-backlight: install-backlightDATA install-backlightpkgLTLIBRARIES
23endif
diff --git a/src/modules/Makefile_battery.mk b/src/modules/Makefile_battery.mk
deleted file mode 100644
index 221a6d82d..000000000
--- a/src/modules/Makefile_battery.mk
+++ /dev/null
@@ -1,53 +0,0 @@
1EXTRA_DIST += src/modules/battery/module.desktop \
2src/modules/battery/e-module-battery.edj
3if USE_MODULE_BATTERY
4batterydir = $(MDIR)/battery
5battery_DATA = src/modules/battery/e-module-battery.edj \
6 src/modules/battery/module.desktop
7
8
9batterypkgdir = $(MDIR)/battery/$(MODULE_ARCH)
10batterypkg_LTLIBRARIES = src/modules/battery/module.la
11
12src_modules_battery_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
13src_modules_battery_module_la_SOURCES = src/modules/battery/e_mod_main.h \
14 src/modules/battery/e_mod_main.c \
15 src/modules/battery/e_mod_config.c
16
17if HAVE_EEZE
18src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_udev.c
19else
20if HAVE_OPENBSD
21src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_sysctl.c
22else
23if HAVE_NETBSD
24src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_sysctl.c
25else
26if HAVE_DRAGONFLY
27src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_sysctl.c
28else
29if HAVE_FREEBSD
30src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_sysctl.c
31else
32src_modules_battery_module_la_SOURCES += src/modules/battery/e_mod_upower.c
33endif
34endif
35endif
36endif
37endif
38
39src_modules_battery_module_la_LIBADD = $(MOD_LIBS)
40src_modules_battery_module_la_LDFLAGS = $(MOD_LDFLAGS)
41
42src_modules_battery_batgetdir = $(batterypkgdir)
43src_modules_battery_batget_PROGRAMS = src/modules/battery/batget
44
45src_modules_battery_batget_CPPFLAGS = $(MOD_CPPFLAGS) @BATTERY_CFLAGS@
46src_modules_battery_batget_LDADD = $(MOD_LIBS)
47src_modules_battery_batget_SOURCES = src/modules/battery/batget.c
48src_modules_battery_batget_LDFLAGS = @BATTERY_LDFLAGS@
49
50PHONIES += battery install-battery
51battery: $(batterypkg_LTLIBRARIES) $(battery_DATA) $(src_modules_battery_batget_PROGRAMS)
52install-battery: install-batteryDATA install-batterypkgLTLIBRARIES install-src_modules_battery_batgetPROGRAMS
53endif
diff --git a/src/modules/Makefile_bluez4.mk b/src/modules/Makefile_bluez4.mk
deleted file mode 100644
index 23a3915e1..000000000
--- a/src/modules/Makefile_bluez4.mk
+++ /dev/null
@@ -1,26 +0,0 @@
1EXTRA_DIST += src/modules/bluez4/module.desktop \
2src/modules/bluez4/e-module-bluez4.edj
3if USE_MODULE_BLUEZ4
4bluez4dir = $(MDIR)/bluez4
5bluez4_DATA = src/modules/bluez4/e-module-bluez4.edj \
6 src/modules/bluez4/module.desktop
7
8
9bluez4pkgdir = $(MDIR)/bluez4/$(MODULE_ARCH)
10bluez4pkg_LTLIBRARIES = src/modules/bluez4/module.la
11
12src_modules_bluez4_module_la_LDFLAGS = $(MOD_LDFLAGS)
13src_modules_bluez4_module_la_SOURCES = src/modules/bluez4/e_mod_main.h \
14 src/modules/bluez4/e_mod_main.c \
15 src/modules/bluez4/ebluez4.h \
16 src/modules/bluez4/ebluez4.c \
17 src/modules/bluez4/agent.h \
18 src/modules/bluez4/agent.c
19
20src_modules_bluez4_module_la_CPPFLAGS = $(MOD_CPPFLAGS) -Wno-unused-parameter
21src_modules_bluez4_module_la_LIBADD = $(MOD_LIBS)
22
23PHONIES += bluez4 install-bluez4
24bluez4: $(bluez4pkg_LTLIBRARIES) $(bluez4_DATA)
25install-bluez4: install-bluez4DATA install-bluez4pkgLTLIBRARIES
26endif
diff --git a/src/modules/Makefile_clock.mk b/src/modules/Makefile_clock.mk
deleted file mode 100644
index 478406479..000000000
--- a/src/modules/Makefile_clock.mk
+++ /dev/null
@@ -1,22 +0,0 @@
1EXTRA_DIST += src/modules/clock/module.desktop \
2src/modules/clock/e-module-clock.edj
3if USE_MODULE_CLOCK
4clockdir = $(MDIR)/clock
5clock_DATA = src/modules/clock/e-module-clock.edj \
6 src/modules/clock/module.desktop
7
8
9clockpkgdir = $(MDIR)/clock/$(MODULE_ARCH)
10clockpkg_LTLIBRARIES = src/modules/clock/module.la
11
12src_modules_clock_module_la_LIBADD = $(MOD_LIBS)
13src_modules_clock_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
14src_modules_clock_module_la_LDFLAGS = $(MOD_LDFLAGS)
15src_modules_clock_module_la_SOURCES = src/modules/clock/e_mod_main.h \
16 src/modules/clock/e_mod_main.c \
17 src/modules/clock/e_mod_config.c
18
19PHONIES += clock install-clock
20clock: $(clockpkg_LTLIBRARIES) $(clock_DATA)
21install-clock: install-clockDATA install-clockpkgLTLIBRARIES
22endif
diff --git a/src/modules/Makefile_conf.mk b/src/modules/Makefile_conf.mk
deleted file mode 100644
index 48401e32b..000000000
--- a/src/modules/Makefile_conf.mk
+++ /dev/null
@@ -1,23 +0,0 @@
1EXTRA_DIST += src/modules/conf/module.desktop \
2src/modules/conf/e-module-conf.edj
3if USE_MODULE_CONF
4confdir = $(MDIR)/conf
5conf_DATA = src/modules/conf/e-module-conf.edj \
6 src/modules/conf/module.desktop
7
8
9confpkgdir = $(MDIR)/conf/$(MODULE_ARCH)
10confpkg_LTLIBRARIES = src/modules/conf/module.la
11
12src_modules_conf_module_la_LIBADD = $(MOD_LIBS)
13src_modules_conf_module_la_CPPFLAGS = $(MOD_CPPFLAGS)
14src_modules_conf_module_la_LDFLAGS = $(MOD_LDFLAGS)
15src_modules_conf_module_la_SOURCES = src/modules/conf/e_mod_main.c \
16 src/modules/conf/e_mod_main.h \
17 src/modules/conf/e_conf.c \
18 src/modules/conf/e_mod_config.c
19
20PHONIES += conf install-conf
21conf: $(confpkg_LTLIBRARIES) $(conf_DATA)
22install-conf: install-confDATA install-confpkgLTLIBRARIES
23endif
diff --git a/src/modules/Makefile_conf_applications.mk b/src/modules/Makefile_conf_applications.mk
deleted file mode 100644
index f89d98f5d..000000000
--- a/src/modules/Makefile_conf_applications.mk
+++ /dev/null
@@ -1,25 +0,0 @@
1EXTRA_DIST += src/modules/conf_applications/module.desktop \
2src/modules/conf_applications/e-module-conf_applications.edj
3if USE_MODULE_CONF_APPLICATIONS
4conf_applicationsdir = $(MDIR)/conf_applications
5conf_applications_DATA = src/modules/conf_applications/e-module-conf_applications.edj \
6 src/modules/conf_applications/module.desktop
7
8
9conf_applicationspkgdir = $(MDIR)/conf_applications/$(MODULE_ARCH)