Commit Graph

916 Commits

Author SHA1 Message Date
Chris Michael 6c0af430cc efl: Bump required libinput version for Elput
Since commit 7a7abb, LIBINPUT_EVENT_SWITCH_TOGGLE was introduced to
Elput, however this enum did not get released into libinput until 1.7
so we need to require updated libinput now in our configure.ac

@fix
2018-06-21 10:14:18 -04:00
Marcel Hollerbach 6e46950169 eo: get rid of eo_id
Summary:
build with this disabled is just not working as the thread model of eo
falls apart. The threadmodel is required to have eo_id, as it decoded
the thread information in the eo_id, which is not working without eo_id.

This also fixes the testcases that have never been executed due to the
fact of the missing HAVE_EO_ID

fix T6610

Depends on D6327

Reviewers: devilhorns, zmike

Reviewed By: zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

Maniphest Tasks: T6610

Differential Revision: https://phab.enlightenment.org/D6328
2018-06-19 13:35:53 -04:00
Mike Blumenkrantz b83da71d89 build: move config/ to data/elementary/config
Summary:
this is part of the datadir distribution, it should not be in a different
directory than the rest of the datadir distribution

the gnu coding standards (https://www.gnu.org/prep/standards/html_node/Directory-Variables.html)
define 'datadir' as:

The directory for installing idiosyncratic read-only architecture-independent
data files for this program. This is usually the same place as ‘datarootdir’,
but we use the two separate variables so that you can move these program-specific
files without altering the location for Info files, man pages, etc.

This should normally be /usr/local/share, but write it as $(datarootdir).
(If you are using Autoconf, write it as ‘@datadir@’.)

The definition of ‘datadir’ is the same for all packages, so you should install your
data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/.

while this text has no clear requirement or suggestion for a corresponding
repository layout, projects typically employ a certain consistency in their
repository layout both for ease of maintenance and ease of learning for new
contributors.

this project has both a data/ directory, which contains the datadir distribution,
as well as the config/ directory, which also contains the datadir distribution.
this complicates matters both for active maintainers/developers who must
remember that the repository and build tree layouts have this exception,
and for new contributors who will initially be confused by this exception

other well-organized open source projects, such as wayland, have chosen to not
use a data/ directory. these projects have the datadir distribution in the base
directory of the repositor, which is a fine practice as it maintains consistency
for the project since all the files for the datadir distribution are in the same
directory.

by applying this patch, the project will move towards a more easily readable and
learnable layout. current and future developers will no longer need to wonder why
this directory is outside of the data/ directory, and anyone attempting to reference
these files from the source/build trees will be able to do so more easily

Reviewers: cedric, stefan_schmidt, raster

Reviewed By: stefan_schmidt, raster

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6013
2018-05-14 18:26:21 +02:00
Cedric BAIL cb7550eb1c ecore_evas: drm2 is not a dependencies of Ecore_Evas, but of the module only. 2018-05-01 10:39:01 -07:00
Daniel Kolesa 749c5429a7 build: disable epoll and inotify checking outside linux
While compat shims exist for systems outside linux to provide
both, these require extra linkage and we're currently not set
up for that, besides we have native kqueue impls where relevant
so it's probably best to just disable.
2018-04-13 15:40:05 +02:00
Carsten Haitzler ca93267670 Revert "theme: rename "default" theme to "dark""
This reverts commit d764e0b279.

The whole idea of renaming the default theme is an "api break" even if
config is changed. and symlinks don't work on windows as a solution.
(well on ntfs only as only as administrator, so they don't exist).

modifying config for switch from default to dark also will break the
case where someone put ~/.elementary/themes/default.edj there and it just
is different to the system one and how their theme changes on them as
it switches to dark.

basically we can't rename a theme like this mid-flight in efl. default is
default and has to stay that name. it can change the look, but not the
name.

i think the apparent reasoning behind this is not a good one. the work on
flat is temporary. i don't think we will ever maintain multiple "default
themes" as its just far too much work.

we can maintain color SCHEMES which are just a list of colorclasses and
colors for them - that's separate to a theme and would override. right now
these things don't exist. we are not going to create a dark.edj and a
light.edj just to store differing default colorclass values. we should be
doing the above with colorclass "color palette/scheme/whatever" files
that override those named colorclasses globally on init.

so reverting because this is an api break and we shouldn't break api
unless there is really absolutely no other choice.

here the choice is to just temporarily work in a branch and modify
default and then merge the branch when done.
2018-03-01 16:44:01 +09:00
Mike Blumenkrantz d764e0b279 theme: rename "default" theme to "dark"
this inhibits maintenance and development of multiple stock themes

a symlink is created to 'default.edj' to preserve compatibility
2018-02-28 16:02:39 -05:00
Carsten Haitzler 885ea03230 ecore - osx - build where clearenv doesnt exist
osx was uncivilied .... it didn't have a nice clearenv. fixed that now
and do it the not so nice way and juat set environ to NULL
2018-02-22 00:15:57 +09:00
Stefan Schmidt a2a29f6ec1 build: disable gz compression for release tarballs
We have been using gz as a fallback for a long time. By now every system
unpacking the efl tarballs should be capable of using xz. Having only
one file will not onyl save space but also ease the release handling.
2018-02-19 16:16:17 +01:00
Vitor Sousa 359a6cdc0e efl_mono: fix DLL instalation path on efl-mono.pc.in
Destination of libefl_mono.dll is OS dependent, this was not translated
to efl-mono.pc.in. This commit fix this issue.
2018-01-25 16:03:12 -03:00
Mike Blumenkrantz a32735e9a7 efl-wl: create and maintain xserver-based keymap and keyboard states under x11
when run in a non-wayland environment, it's necessary to do some extra work
in order to guarantee that the keymap remains the same in the compositor as
in the xserver and to also guarantee that modifier states are accurately
applied even when the compositor is not actively focused

fix T6631
2018-01-24 16:18:51 -05:00
Mike Blumenkrantz ffa276fce3 wayland: add xdg-shell vfinal support for client-side
@feature
2018-01-10 11:39:52 -05:00
Cedric BAIL 53c548a97e Revert "Revert "ecore_audio: a minimal template for playing sound on WINDOWS is added""
This reverts commit 4457f8c9c8.
2017-12-13 10:27:48 -08:00
Felipe Magno de Almeida e67d6484b8 efl-cxx: Fixes to make dist 2017-12-13 14:13:09 -02:00
Lauro Moura b97d3438eb efl_mono: Add buildystem integration.
The C# bindings are built using the --enable-csharp-bindings (disabled
by default).
2017-12-04 15:47:51 -03:00
Cedric Bail 663e31413a Revert "Revert series of patches from cedric (due to dependencies and conflicts)"
This reverts commit 2cea85db38.

Their was a typo that I made during cleanup of the patch before pushing that I didn't
notice broke some stuff. But also you may have an old efl_general.h in your elementary
directory that is now being picked instead of the one provided by the tree.
2017-11-14 20:08:09 -08:00
Carsten Haitzler 2cea85db38 Revert series of patches from cedric (due to dependencies and conflicts)
Revert "elementary: currently double declare elm_init/shutdown."
This reverts commit 44bb0c1848.
Revert "elementary: fix efl_ui_multibutton installed headers."
This reverts commit 32a213dc72.
Revert "elementary: introduce Efl_Ui.h."
This reverts commit df3d3f7334.
Revert "ecore: do not display error message on cancel."
This reverts commit 99654b7cd2.
Revert "efl: and don't forget to install the new dependencies."
This reverts commit 814ffb9b6b.
Revert "ecore: remove EFL_OBJECT_BETA as Efl_Core.h is for Efl new inerfaces."
This reverts commit 619d0f3cff.
Revert "ecore: move EAPI_MAIN from elementary to ecore."
This reverts commit e5d84da864.

as such commit e5d84da864 starts the
breaking. enlightenment, terminologya and other apps can't compile
against that efl anymore. 619d0f3cff
then makes this even worse with even more header errors and undefined
types. on top of this df3d3f7334 then
starts making elementary_test segfault when it runs. it wont even
start up.

asu such of these 7 commits in the first 4 (that are then relied on
later) 3 of these first 4 cause serious breakage. this simply is a
complete lack of testing changes, so i've rolled fl back to before
these things so it builds and works again and you can build against it.

PLEASE test these things. this looks ot me to be obviously a lack of
any testing... :(
2017-11-15 11:48:55 +09:00
Cedric BAIL df3d3f7334 elementary: introduce Efl_Ui.h. 2017-11-14 16:36:17 -08:00
Carsten Haitzler f40c91941d libinput check - move up to requiring 1.6 as a minimum for libinput 2017-11-12 21:47:02 +09:00
Mike Blumenkrantz 1cda9fe749 build: improve configure accessibility
as decided by unanimous vote, the community does not want builds to pause or
stop when various features are disabled. warnings for disabling features have
been left intact

ref V30

@feature
2017-11-08 12:07:25 -05:00
Cedric Bail 9de26c37a1 efl: add an efl-net.pc 2017-10-27 18:54:53 -07:00
Cedric Bail 270ba98606 efl: add an efl-core.pc 2017-10-27 18:51:38 -07:00
Carsten Haitzler 93619ed0a6 evas gl generic/common - add more linking for gles mode to fix deb build
this should fix T6158

@fix
2017-10-16 08:01:13 +09:00
Carsten Haitzler 4457f8c9c8 Revert "ecore_audio: a minimal template for playing sound on WINDOWS is added"
This reverts commit 7a98f617e9.

this commit breaks compiling things against efl badly. i'm on holiday
and haver only a mini screen and keyboard wwith me so any serious wok
in hunting these issues isn't going to be fun or easy. as this causes
bad build brreaks this is worth a revert IMHO. please re-submit wwhen
you've tested against efl by building things against it. also our
public headers just should not have such ifdefs/if's that change api
presented based on how efl is cnfigured. we expose the same api and
macros and types regardless of internal config.
2017-10-07 19:09:53 +09:00
Ivan Furs 7a98f617e9 ecore_audio: a minimal template for playing sound on WINDOWS is added
Summary:
Realization of audio data playback through WASAPI (Windows Audio Session API).(minimal)
WASAPI model:
1. Find  a playback device (in the default system)
2. Register the client on the playback device.
3. Create a playback format for audio data.
4. Initialize the client with the created format, and access mode,  ....
5. Take the object-rendering from the client for play the data stream.
6. Play data stream

ecore_audio model:
1. create a object for play the data stream(out object)
2. create a object to receive the data stream(in object)
3. register in the out-object the in-object
4. play data stream

Necessary:
Realize the ecore_audio object to play the data stream using the WASAPI model.

How implemented:
1. The object ecore_audio_out_wasapi is implemented
2. object ecore_audio_out_wasapi - the object constructor is find a playback device (in the default system)(WASAPI)
3. _ecore_audio_out_wasapi_ecore_audio_out_input_attach -  register in the out-object the in-object
   3.1 Register the client on the playback device.(WASAPI)
   3.2 Create a playback format for audio data.(WASAPI)
   3.3 Initialize the client with the created format, and access mode,  ....(WASAPI)
4. _write_cb - play data
   4.1  Take the object-rendering from the client for play the data stream.(WASAPI)
   4.2  Play data stream(WASAPI)

Reviewers: cedric, vtorri, raster, an.kroitor, NikaWhite, FurryMyad, rimmed, t.naumenko, Jaehyun, bowonryu

Reviewed By: vtorri, NikaWhite

Subscribers: artem.popov, cedric, jpeg

Tags: #windows

Differential Revision: https://phab.enlightenment.org/D5029

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-10-03 11:36:49 -07:00
Andre Lupa 706bdcd771 build: help autoconf find accept4 on illumos
Reviewers: cedric, vtorri, jpeg

Subscribers: jpeg

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5203

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-09-18 11:18:43 -07:00
Vincent Torri 966577ffed eina: add an Eina_Value helper for Eina_Rectangle. 2017-09-12 17:03:49 -07:00
Vincent Torri da7876a9b8 eina: compilation fixed on OpenIndiana
socket library must be passed as connect() is used in eina_db

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-09-12 17:03:23 -07:00
Derek Foreman 0b5c4e5c25 build: Drop wayland protocol requirement to 1.9
Some distros are sitting at 1.9 for a long time now, and 1.10
didn't add any critical functionality for us.
2017-09-01 08:47:04 -05:00
Cedric BAIL d179a5c2a9 efl: remove PS3 backend.
This backend has received no patch and maintenance from anyone who could
actually test it over the last few years. After talking with KaKaRoTo it
is best to remove it. If anyone want to take over its maintenance, you
are welcome to revert this patch.
2017-08-25 10:48:42 -07:00
Vincent Torri d0469d52ed build: don't pass -fPIC on Windows
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-14 10:17:15 -07:00
Derek Foreman 87c9b111d1 wayland: bump wayland protocol version requirement
We need a newer version for recent dmabuf changes.
2017-08-14 11:23:26 -05:00
Stefan Schmidt 12278d27de configure: switch to dev mode again
Merge window for 1.21 is now open.
2017-08-04 00:21:31 +02:00
Stefan Schmidt 415d16fa35 release: Update NEWS and bump version for 1.20.0 release 2017-08-03 22:36:25 +02:00
Carsten Haitzler 886fb0a782 efl build - fix lua old support on debian
didnt detect cflags properly. now it does.

@fix
2017-08-02 17:01:12 +09:00
Carsten Haitzler a311de5fe5 efl_wl - also add xkbcommon as it's actually used 2017-07-22 10:39:12 +09:00
Carsten Haitzler 64c63f7a53 efl_wl - add wayland-server pkgconfig dep for headers from wayland 2017-07-21 12:28:43 +09:00
Stefan Schmidt 152f4b4b4f release: Update NEWS and bump version for 1.20.0-beta3 release 2017-07-20 13:46:36 +02:00
Andy Williams f5449dafd3 build: set tests according to profile by default 2017-07-15 21:29:48 +01:00
Stefan Schmidt ca5ae6acb7 release: Update NEWS and bump version for 1.20.0-beta2 release 2017-07-11 23:00:00 +02:00
Mike Blumenkrantz 736c5a3063 Revert "build: fix examples dist based on various configure flags"
This reverts commit ded5b1e764.

this broke build in some cases
2017-07-04 11:49:57 -04:00
Mike Blumenkrantz 63233680c7 Revert "build: enable examples build by default"
This reverts commit b58629bbbe.

not needed
2017-07-04 11:49:57 -04:00
Mike Blumenkrantz b58629bbbe build: enable examples build by default
the previous method of forcing this to be enabled for dist builds caused
breaks when the original configure disabled examples, as the little-known
DISTCHECK_CONFIGURE_FLAGS variable would need to also be set to disable
examples even though the user would think they were disabled based on configure
output
2017-07-03 15:00:22 -04:00
Mike Blumenkrantz ded5b1e764 build: fix examples dist based on various configure flags
this would previously break if:
* cxx bindings were disabled
* elua was disabled
* base configure disabled examples and dist build disabled examples
* base configure disabled examples and dist build enabled examples

it still breaks if:
* base configure disables examples and dist build enables examples
2017-07-03 14:58:52 -04:00
Stefan Schmidt eeda23876d release: Update NEWS and bump version for 1.20.0-beta1 release 2017-07-03 15:57:19 +02:00
Mike Blumenkrantz 416daffe5e efl-wl: add .pc file 2017-06-30 16:27:05 -04:00
Mike Blumenkrantz c2fde93c9e efl_wl: a multiseat wayland compositor in an evas smart object
build when wayland support is enabled and provide two test/demo cases

beta api

@feature

Reviewed-By: Cedric BAIL <cedric@osg.samsung.com>
2017-06-30 14:59:55 -04:00
Stefan Schmidt 96ce1333b3 release: Update NEWS and bump version for 1.20.0-alpha1 release 2017-06-29 12:49:09 +02:00
Mike Blumenkrantz c408215a24 build: add flag to disable elua
build times are already insanely long, every little bit helps

@feature
2017-06-16 13:31:29 -04:00
Daniel Zaoui 8250b06d91 Revert "efl_debugd: only compile this on Linux."
This reverts commit eafe0c74e1.

It is not needed anymore as the daemon is now portable.
2017-06-11 09:44:57 +03:00