On Sat, 20 Aug 2011 22:09:57 +0200 Jérémy Zurcher <jer...@asynk.ch> said:
eina_prefix_* calls... but its not a simple single call (because installation is not a simple single prefix in all cases). you have to provide a slew of input info (symbols, magic files, #defined compiled-in locations, argv[0] etc.) and then from that it tires to figure out where you are installed. you can then query it for lib/data/local/bin dirs etc. but this is made for your APP or LIb to figure out where *IT* is installed. there is no need for an application to figure out where a specific library is installed at runtime. > Hi everyone, > > I wonder if there is a function somewhere in the efl that could return > the installation prefix path (say '/opt/e17' on my box) ? > > btw https://github.com/jeremyz/ffi-efl seems pretty stable and usable right > now. > > it's tested on ruby 1.9 and 1.8, > uses ffi (foreign function interface) instead of C extensions, > thus should work on jruby, rubinius, etc. > > it gives you access to eet, eina, ecore, evas, ecore_evas, edje and > elementary. you can work with native functions directly or use the thin layer > above it which brings a more rubyish way of coding. > > I've written the skeleton of elementary_test and implemented bg_plain, > bg_image, bg_option and actionslider tests. > > best regards > > Jérémy Zurcher > > > !DSPAM:4e4ff87b309247180996063! > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel