EFL_tests 

Sony wiki

Login

EFL tests

Here is some information on writing tests for EFL

installation [edit section]

To install EFL on Ubuntu I tried:
  • sudo apt-get install libelementary1
  • sudo apt-get install libelementary-dev
  • sudo apt-get install python-elementary - this didn't work

  • sudo apt-get install python-pip
  • sudo pip install python-efl

I got an error on this, with:

       Checking for Eina: Eina version mismatch. Found: 1.7.10  Needed 1.17.0


I eventually followed the directions on https://www.enlightenment.org/distros/ubuntu-start

These add an apt-repository ppa:niko2010/e19, which has the latest packages.

python efl bindings [edit section]

See https://download.enlightenment.org/rel/bindings/python/ the versions go back to EFL 1.8,

but the version of EFL on Ubuntu 14.04 is 1.7

I ended up installing the python bindings source: python-efl-1.17.0.tar.gz and building and installing it myself.

sample programs [edit section]

I tried to install the following samples:
  • eskiss - required doxygen and chipmunk (2D physics library)
    • would not build due to problems with physics structures
  • elemines - requires etrohpy
    • I downloaded and built etrophy
    • elemines builds OK, but then when I run it it reported:

     elemines: error while loading shared libraries: libetrophy.so.0: cannot open shared object file: No such file or directory

  • I added export LD_LIBRARY_PATH=/usr/local/lib, and the program runs, but I get the error message:

      ERR<28277>:eio lib/eio/eio_monitor.c:339 eio_monitor_stringshared_add() monitored path '/home/CORPUSERS/10102229/.elementary/config/standard' not found.

  • when I click on a square, the program segfaults, with error (from gdb):

    Program received signal SIGSEGV, Segmentation fault.
    0x00005555555578a9 in _click (data=<optimized out>, obj=<optimized out>,
        emission=<optimized out>, source=<optimized out>) at game.c:245
    245	   if (!strcmp(emission, "mouse,clicked,1") && matrix[x][y].flag == 0)
    (gdb)

This error appears to be because the 'source' variable has an unexpected value. For me, it has 'board[item_0x7fff8daa2c60{4,1}]:overlay', where it seems to expect 'board[4,1]:overlay'.

Maybe this is due to a missing .edj file? I don't know.

Try this:

  • mkdir ~/.elementary/config/standard
    • I don't get the message from lib/eio, but I still get the segfault

TBWiki engine 1.8.0 by Tim Bird