Commit Graph

44 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri d0f0bd20a0 efl.io: introduce basic interfaces and classes.
These interfaces allows generic operations on objects that can store
or provide data, such as a file or a buffer.

With well defined interfaces and events we can create code such as
Efl.Io.Copier, that will link a source with a destination and
progressively copy data as they appear.
2016-08-22 18:25:14 -03:00
Stefan Schmidt 179de70189 examples: ecore: do not try to install files which are not available
The ecore_audio examples have been disabled and now do not compile right now.
But as they are disabled they never land in the tarball and thus we error out
with files not aviavle for install. Found by the OpenSUSE build service. Thanks
Simotek for reporting.

[ 2172s] /home/abuild/rpmbuild/BUILD/efl-1.17.99.47400/install-sh: ecore_audio_custom.c does not
exist.
2016-06-07 14:20:17 +02:00
Stefan Schmidt 02e20a063e examples: ecore: add all needed files to SOURCES to make sure they are distributed
This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.
2016-05-18 12:17:16 +02:00
Jean-Philippe Andre cc413235d0 Examples: Fix compilation (disable CXX examples!)
Warning: This disables CXX examples because they use
now-internal APIs that have no EO API binding.
Those examples should be updated to use Efl.Ui widgets... once
we have them.
2016-04-21 17:16:53 +09:00
Cedric BAIL 9dfb570be9 examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
David Walter Seikel 99a497aa33 ecore - let the ecore_con_eet_*.c examples build.
When using the --enable-always-build-examples configure option, these two
examples need to be linked to eet.

@fix
2015-09-11 14:19:36 +10:00
Stefan Schmidt 07f650a81c examples: Fix build after ecore_buffer commit.
Since 8b621775619b9959fe952b095b3baaa7aaa99572 make examples fails to build
as the examples have been included without checking if ecore_buffer is
actually enabled to build.

make[2]: *** No rule to make target '../../../src/lib/ecore_buffer/libecore_buffer.la', needed by 'ecore_buffer_example'.  Stop.

I'm running make examples during the nightlies now in the hope to catch those.
2015-06-24 13:46:43 +02:00
Seunghun Lee dd7ef2dbc5 ecore-buffer: Add ecore_buffer library to EFL.
Summary:
Ecore_Buffer is abstraction of graphic buffer.
it supports backend of shm, x11_dri2 and x11_dri3 for now,
and this library also provides method to share buffers between processes.
Ecore_Buffer_Provider and Ecore_Buffer_Consumer is for this, sharing buffer.
provider draws something in to Ecore_Buffer, and consumer receives and displays it.
the binary, bq_mgr is a connection maker for buffer provider and consumer.
it can be included Enlightenment as a deamon later.

@feature

Test Plan:
1. Configure with --enable-ecore-buffer and --enable-always-build-examples to build examples.
2. Run bq_mgr, it connects consumer and provider.
3. Run ecore_buffer_provider_example and ecore_buffer_consumer_example

Reviewers: lsj119, gwanglim, cedric, zmike, jpeg, raster, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2197
2015-06-22 10:31:42 -04:00
Felipe Magno de Almeida e5874cc1ec Fix ecore_con_eet_client_example example compilation error
Added eet to include flags for Makefile.am for ecore examples
2015-04-23 22:20:16 -03:00
Cedric BAIL 72ca2b7ec9 ecore: build newly added Ecore_Con examples. 2015-04-22 15:10:20 +02:00
Cedric BAIL 43187b66a9 emile: build examples after adding emile. 2015-03-17 09:58:19 +01:00
Stefan Schmidt 028f6ebc68 build: Unify use of $(MKDIR_P) for creating a dir within the build system
While we used different variation of mkdir -p all over we also had spots
where we did not use the option. This is one step in trying to make our
build system ready for parallel install. Using something like -j 10 even
for the install should help to speed up our jenkins jobs as well as distcheck.
2015-02-25 16:43:35 +01:00
Wonguk Jeong 84e07950cc ecore: fix example build fail (ecore_compose_get_example) 2014-07-29 02:11:17 +02:00
Savio Sena 23c6bce63e autotools: Fixed 'make examples' and 'make examples-install'
It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) !=
$(srcdir)/build)
2014-07-02 20:01:09 -03:00
Tom Hacohen 0bb21a2ee9 Ecore examples: Add ecore_compose_get() example.
Example created by Vincent Torri.
2014-06-30 17:42:58 +01:00
Vincent Torri fc485b765a autotools: really don't build Unix specific example on Windows
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:34:56 +09:00
Cedric BAIL a8c55b5a33 ecore: don't build Unix specific example on Windows. 2014-01-09 10:17:14 +09:00
Gustavo Sverzut Barbieri d32e6e0500 add great ecore_getopt example.
should cover and explain getopt usage and serve as base for
applications that want to use it (all efl should!)
2013-12-17 18:08:27 -02:00
U. Artie Eoff 1389dde258 examples/ecore: don't use ECORE_CON_LIBS
We can't use ECORE_CON_LIBS at the examples/ "make" context
since it defines libraries relative to the src/ directory
(e.g. lib/ecore/libecore.la).  Use ECORE_CON_COMMON_LDADD instead.

This fixes the following link error with ecore_fd_handler_gnutls_example
when the project is configured with --with-crypto=gnutls:

libtool: link: cannot find the library `lib/ecore/libecore.la'

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:53:29 -07:00
U. Artie Eoff 403a487e44 examples/ecore: ecore_pipe_gstreamer_example must go in HAVE_GSTREAMER guard
Only specify ecore_pipe_gstreamer_example in EXTRA_PROGRAMS inside the
HAVE_GSTREAMER makefile guard.

Fixes: https://phab.enlightenment.org/T423

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-10-01 13:46:57 -07:00
Daniel Willmann 03e0754412 ecore example: Disable ecore_audio examples while Eo is in flux
There is no legacy API we could use here, so just disable building for
now.
2013-07-24 08:57:05 +02:00
Carsten Haitzler a73b21f13f fix examples makefiles to find Efl_Config.h 2013-04-25 02:08:49 +09:00
Daniel Willmann ee3ea49cfa ecore_audio: Make custom input example work with eo
Uses VIO to implement a custom read function

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:16:38 +01:00
Daniel Willmann 1de5d3cd23 ecore_audio: Implement ecore_audio_playback example with eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:15:37 +01:00
Daniel Willmann 575069ae18 ecore_audio: Update transcoding example to work with eo
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:14:25 +01:00
Daniel Willmann 79bc257a60 ecore_audio: Build Eo-based Ecore_Audio and tests now
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-18 19:12:17 +01:00
Tom Hacohen 5a8bfea09b Revert "Fix build break"
This doesn't really fix build break, it actually breaks it.

This reverts commit e655f0b7358765f02ea392971c6ddbf8518c37c8.
2013-02-15 16:19:35 +00:00
Jaehwan Kim 310834a5b2 Fix build break 2013-02-15 20:15:58 +09:00
Jiyoun Park 2ccc13696a Add infrastructure to handle message between ecore and parent ecore in Ecore_Evas
I add new example related with this. (ecore_evas_extn_socket & plug example)
ecore extn use this infrasturcture, server app and client app can communicate each other
later, this can be used to contorl access message


SVN revision: 83942
2013-02-15 09:32:40 +00:00
Ricardo de Almeida Gonzaga 4f3ca3efcd efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83795
2013-02-08 17:35:24 +00:00
Gustavo Sverzut Barbieri 4e9f2eaaf9 fix DSO spotted by stefan
SVN revision: 82982
2013-01-18 14:45:44 +00:00
Gustavo Sverzut Barbieri b2eba6e2b4 fix examples builds with recent module split.
ecore examples should be split... but I'm not in the mood to do so.



SVN revision: 82839
2013-01-15 19:27:48 +00:00
Gustavo Sverzut Barbieri 9c66145044 efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build.

codegen example must have dependency to build in correct order :-/



SVN revision: 82605
2013-01-11 03:57:29 +00:00
Gustavo Sverzut Barbieri f7679697c6 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri 62ee2c0952 efl/ecore: hopefully fix all examples.
SVN revision: 82243
2013-01-04 23:51:53 +00:00
Gustavo Sverzut Barbieri 852653c0a9 efl: fix make dist.
Carefully compared 'svn export' and 'make dist' results and couple of
files were missing.

Changes:

 * Makefile.am: removed all .pc from EXTRA_DIST, we shouldn't
   distribute them here as they will contain ./configure data such as
   install location.
 * src/Makefile.am: moved all if-endif to files, otherwise EXTRA_DIST
   won't work properly. We must EXTRA_DIST outside of the if-endif
   block.
 * static_libs/liblinebreak: removed couple of unused files.




SVN revision: 82241
2013-01-04 20:55:12 +00:00
Rafael Antognolli c2dbeffd76 ecore/examples: Add PACKAGE_EXAMPLES_DIR to ecore examples too.
SVN revision: 82064
2013-01-03 12:04:32 +00:00
Gustavo Sverzut Barbieri 22cac2a911 efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Gustavo Sverzut Barbieri 9fbfcad590 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Daniel Willmann 17b97ca074 ecore_audio: Add an example for libsndfile output: ogg encoder
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81003
2012-12-14 23:38:35 +00:00
Daniel Willmann a87ab2f265 ecore_audio: Example for user generated sounds
Uses the custom function support, which can probably be improved

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81002
2012-12-14 23:38:31 +00:00
Daniel Willmann 2a8cf46e99 ecore_audio: Add an example - a simple CLI music player
Give it sound files (ogg, wav, not mp3) as parameter or

"tone:freq=<f>,duration=<dur_in_s>" to play a lovely sine wave

* '<' and '>' seek forward and backward
* '+' and '-' change the volume
* Space toggles pause
* Shows information for the song (remaining, %)
* (Un)loop a song with 'l'
* 'n' - Next song
* 'm' - Next song simultaneous to current
* Volume can be set from 0 - 150%

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 81001
2012-12-14 23:38:28 +00:00
Daniel Willmann 44dfc6a3e3 Make ecore examples compile again
Including ECORE_LIBS in LDADD is not enough, we have to include the
relevant libs from efl as well (eina, evas, ...)

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80260
2012-12-05 15:28:10 +00:00
Vincent Torri 4eeead531d Ecore: add examples
SVN revision: 80097
2012-12-03 19:36:16 +00:00