Re: [e-users] eCcess - an E System Tool

2013-01-12 Thread Martin Koelewijn
Hi Jeff,

nice effort. I saw a login shell mentioned in the screenshots. That's
something I'd expect eccess to be able to configure. It could also
configure xdg-user-dirs
(http://www.freedesktop.org/wiki/Software/xdg-user-dirs). Can't think
of other stuff right now.

Martin

On Fri, 11 Jan 2013 16:05:05 -0600
Jeff Hoogland jeffhoogl...@linux.com wrote:

 I've started work on a tool I'm calling eCcess that is written in
 python and elementary. It's goal is to provide a GUI for system
 command similar to what some other desktops offer.
 
 I've started a github for it here -
 https://github.com/JeffHoogland/eccess Small Image Gallery here -
 https://github.com/JeffHoogland/eccess/tree/master/screenshots
 
 Currently you can add/delete users and change a user's current
 password. There is a list of groups - but currently it is
 non-functional in terms of doing anything with said groups (you will
 be able to add/delete groups once I get some more time).
 
 What features would be useful for a tool like this to have? I'm open
 to suggestions.
 


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] efl compile problem

2013-01-12 Thread maderios
It's libc6-2.13-37 (testing) debian package and not 2.13-38 (sid)
Sorry

-- 
Maderios
Art is meant to disturb. Science reassures.
L'art est fait pour troubler. La science rassure (Georges Braque)


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] efl compile problem

2013-01-12 Thread maderios
After libc6 reinstall, checking ld conf, etc..., I get this error
rev 82701
Last lines:

  CCLD   bin/evas/loaders/xpm/module.la
   CCLD   lib/evas/common/libevas_op_blend_sse3.la
   CCLD   lib/embryo/libembryo.la
   CCLD   bin/evas/evas_cserve2_client
   CCLD   bin/evas/evas_cserve2_usage
   CCLD   bin/evas/evas_cserve2_debug
   CCLD   bin/evas/evas_cserve2_slave
   CCLD   lib/eet/libeet.la
   CCLD   utils/ecore/makekeys
   CCLD   lib/eo/libeo.la
   CCLD   bin/embryo/embryo_cc
bin/evas/evas_cserve2_slave.c:198: error: undefined reference to 'shm_open'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/evas/evas_cserve2_slave] Error 1
make[4]: *** Waiting for unfinished jobs
bin/embryo/embryo_cc_sc2.c:619: error: undefined reference to 'pow'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/embryo/embryo_cc] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Greetings
-- 
Maderios
Art is meant to disturb. Science reassures.
L'art est fait pour troubler. La science rassure (Georges Braque)


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] eio and ibox related crash

2013-01-12 Thread Tomas Cech

Hi,

I'm having quite frequently following crash:


(gdb) bt
#0  0x7f5049894a7d in pause () from /lib64/libpthread.so.0
#1  signal handler called
#2  0x7f5048181d25 in raise () from /lib64/libc.so.6
#3  0x7f50481831a8 in abort () from /lib64/libc.so.6
#4  0x7f504817ac22 in __assert_fail_base () from /lib64/libc.so.6
#5  0x7f504817acd2 in __assert_fail () from /lib64/libc.so.6
#6  0x7f504988ba73 in __pthread_mutex_lock_full () from 
/lib64/libpthread.so.0
#7  0x7f504b50fe20 in eina_lock_take (mutex=0x2ef60b0) at 
/usr/include/eina-1/eina/eina_inline_lock_posix.x:190
#8  ecore_thread_cancel (thread=0x2ef5ff0) at ecore_thread.c:835
#9  0x7f504967dadd in eio_file_cancel (ls=optimized out) at eio_file.c:850
#10 0x7f504967f418 in _eio_monitor_rename (monitor=0x31263f0, 
newpath=newpath@entry=0x7fff303606f0 
/usr/lib64/enlightenment/modules/ibox/e-module-ibox.edj)
at eio_monitor.c:204
#11 0x7f5049681950 in _eio_inotify_events (file=optimized out, mask=optimized 
out, backend=error reading variable: Unhandled dwarf expression opcode 0xfa)
at eio_monitor_inotify.c:136
#12 0x7f5049681a3a in _eio_inotify_handler (data=optimized out, 
fdh=optimized out) at eio_monitor_inotify.c:161
#13 0x7f504b50c371 in _ecore_call_fd_cb (data=optimized out, func=optimized 
out, fd_handler=0x2501d60) at ecore_private.h:345
#14 _ecore_main_fd_handlers_call () at ecore_main.c:1670
#15 _ecore_main_loop_iterate_internal (once_only=once_only@entry=0) at 
ecore_main.c:1917
#16 0x7f504b50c7e7 in ecore_main_loop_begin () at ecore_main.c:956
#17 0x00439820 in main (argc=optimized out, argv=optimized out) at 
e_main.c:1061


I got it when I try to prepare profile for openSUSE users. I'm
unloading modules, removing gadgets, moving gadgets on the shelf etc.

I also noticed several times this error which is probably related:

CRIeina_stringshareeina_stringshare.c:608 EEEK trying to del non-shared stringshare 
/usr/lib64/enlightenment/modules/ibox/e-module-ibox.edj

Do you have any ideas where might be the problem?

Attaching also `bt full' output.

Thanks

Tomas Cech
Sleep_Walker

#0  0x7f5049894a7d in pause () from /lib64/libpthread.so.0
No symbol table info available.
#1  signal handler called
No symbol table info available.
#2  0x7f5048181d25 in raise () from /lib64/libc.so.6
No symbol table info available.
#3  0x7f50481831a8 in abort () from /lib64/libc.so.6
No symbol table info available.
#4  0x7f504817ac22 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
#5  0x7f504817acd2 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#6  0x7f504988ba73 in __pthread_mutex_lock_full () from 
/lib64/libpthread.so.0
No symbol table info available.
#7  0x7f504b50fe20 in eina_lock_take (mutex=0x2ef60b0) at 
/usr/include/eina-1/eina/eina_inline_lock_posix.x:190
ret = EINA_LOCK_FAIL
ok = optimized out
#8  ecore_thread_cancel (thread=0x2ef5ff0) at ecore_thread.c:835
work = 0x2ef5ff0
l = optimized out
cancel = optimized out
#9  0x7f504967dadd in eio_file_cancel (ls=optimized out) at eio_file.c:850
__FUNCTION__ = eio_file_cancel
#10 0x7f504967f418 in _eio_monitor_rename (monitor=0x31263f0, 
newpath=newpath@entry=0x7fff303606f0 
/usr/lib64/enlightenment/modules/ibox/e-module-ibox.edj)
at eio_monitor.c:204
tmp = optimized out
#11 0x7f5049681950 in _eio_inotify_events (file=optimized out, mask=optimized 
out, backend=error reading variable: Unhandled dwarf expression opcode 0xfa)
at eio_monitor_inotify.c:136
tmp = 0x7fff303606f0 
/usr/lib64/enlightenment/modules/ibox/e-module-ibox.edj
length = optimized out
tmp_length = optimized out
i = optimized out
is_dir = 0 '\000'
#12 0x7f5049681a3a in _eio_inotify_handler (data=optimized out, 
fdh=optimized out) at eio_monitor_inotify.c:161
backend = optimized out
buffer =

\030\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\031\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\032\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\033\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\034\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\035\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\036\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\037\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\026\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000
 
\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000!\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000#\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000$\000\000\000\000\200...
event = optimized out
i = 64
event_size = optimized out
size = 304
#13 0x7f504b50c371 in 

[e-users] [PATCH efl svn82709] evas: reflect structure name change

2013-01-12 Thread Arvind R
fix missed name change in structure and compile-failure therefrom.

Arvind R.
---
diff -uprN a/src/lib/evas/common/evas_font_ot.c
b/src/lib/evas/common/evas_font_ot.c
--- a/src/lib/evas/common/evas_font_ot.c2012-11-04 17:21:42.0 
+0530
+++ b/src/lib/evas/common/evas_font_ot.c2013-01-13 01:23:18.0 
+0530
@@ -153,7 +153,7 @@ evas_common_font_ot_cluster_size_get(con
  {
 items = 1;
  }
-   else if (props-bidi.dir == EVAS_BIDI_DIRECTION_RTL)
+   else if (props-bidi_dir == EVAS_BIDI_DIRECTION_RTL)
  {
 if (left_bound  0)
   {
@@ -300,7 +300,7 @@ evas_common_font_ot_populate_text_props(
 evas_common_language_from_locale_get(), -1));
hb_buffer_set_script(buffer, _evas_script_to_harfbuzz[props-script]);
hb_buffer_set_direction(buffer,
- (props-bidi.dir == EVAS_BIDI_DIRECTION_RTL) ?
+ (props-bidi_dir == EVAS_BIDI_DIRECTION_RTL) ?
  HB_DIRECTION_RTL : HB_DIRECTION_LTR);
/* FIXME: add run-time conversions if needed, which is very unlikely */
hb_buffer_add_utf32(buffer, (const uint32_t *) text, slen, 0, slen);

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] [PATCH efl svn82709] Makefile_Emotion.am: add missing definitions

2013-01-12 Thread Arvind R
fix compile failure due to missing definitions

Arvind R.
---

--- a/src/Makefile_Emotion.am   2013-01-13 02:32:17.0 +0530
+++ b/src/Makefile_Emotion.am   2013-01-13 02:52:01.0 +0530
@@ -146,7 +146,10 @@ emotionmodulegenericdir = $(libdir)/emot
 emotionmodulegeneric_LTLIBRARIES = modules/emotion/generic/module.la
 modules_emotion_generic_module_la_SOURCES = $(EMOTION_GENERIC_SOURCES)
 modules_emotion_generic_module_la_CPPFLAGS = \
-$(EMOTION_COMMON_CPPFLAGS)
+$(EMOTION_COMMON_CPPFLAGS) \
+-DPACKAGE_BIN_DIR=\$(bindir)\ \
+-DPACKAGE_LIB_DIR=\$(libdir)\ \
+-DPACKAGE_DATA_DIR=\$(datadir)/emotion\
 modules_emotion_generic_module_la_LIBADD = \
 $(EMOTION_COMMON_USER_LIBADD)
 modules_emotion_generic_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Problem with eina_prefix_new

2013-01-12 Thread Arvind R
On Fri, Jan 11, 2013 at 8:58 AM, Gustavo Sverzut Barbieri
barbi...@profusion.mobi wrote:
 Hi,

 Did you try recent svn to see if your problems went away? I also sent the
 emotion_generic_players to trunk.

svn82709 - see two patches i sent to enable build.

The trunk now does not have em_generic_vlc.

E17 does not finish - no shelves, nothing. Just the background shown.
So I had to downgrade.


 From my memory I recall that the generic player used a strange
 eina_prefix_new() with LOCALE_DIR being , that would lead to no prefix
 being used at all :-/ Strange that you did not get any warnings (did you
 try to run with: EINA_LOG_LEVELS=eina_prefix:4?)


 On Wed, Jan 9, 2013 at 4:32 PM, Arvind R arvin...@gmail.com wrote:

 On Wed, Jan 9, 2013 at 10:28 PM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
  On Tue, Jan 8, 2013 at 11:24 PM, Arvind R arvin...@gmail.com wrote:
 
  On Wed, Jan 9, 2013 at 5:56 AM, Arvind R arvin...@gmail.com wrote:
   On Wed, Jan 9, 2013 at 5:28 AM, Gustavo Sverzut Barbieri
   barbi...@profusion.mobi wrote:
   On Tue, Jan 8, 2013 at 8:26 PM, Gustavo Sverzut Barbieri 
   barbi...@profusion.mobi wrote:
  
   On Tue, Jan 8, 2013 at 7:14 AM, Arvind R arvin...@gmail.com
 wrote:
  
   On Tue, Jan 8, 2013 at 2:18 AM, Gustavo Sverzut Barbieri
   barbi...@profusion.mobi wrote:
On Mon, Jan 7, 2013 at 9:14 AM, Arvind R arvin...@gmail.com
  wrote:
   
Hi all,
   
After getting xine backend working in emotion, tried generic
 (vlc)
backend. Nope - doesn't work -:(
   
Problem 1: Using the example source, now need to add:
emotion_object_module_option_set(em, player, vlc);
   
It does not fall-back to the default generic player.
   
Problem 2:
em_player_vlc cannot be found, because generic_module_init()
 fails
  to
set the prefixes proper.
   
So put printf() and recompiled. (Is there is a small howto on
 the
  eina
logging system?) Output:
   
evas engine: auto
emotion backend: generic
vis: 0
geometry: 0 0 960x540
generic_module_init: initing libdir to /usr/lib/x86_64-linux-gnu
   
   
this seems wrong already, is it PACKAGE_LIB_DIR? why does it
 contain
x86_64-linux-gnu? in Makefile.am it's just $(libdir), did you
  specify
something with --libdir?
   
   Yes. '$prefix/lib/$DEB_ARCH. The x86_64-linux-gnu is correct.
   
   
generic_module_init: got libdir /usr/lib/lib
   
   
yet another very weird result. double lib in the path? Where
 are
  you
installing these things?
   
eina_prefix_new() will use the given symbol (emotion_object_add)
 and
   dladdr
to know which file it came from. Should be the libemotion.so.
 Then
  it
   gets
the directory where libemotion.so is contained, should be
 /usr/lib
  if
   it's
/usr/lib/libemotion.so. Then it will remove the lib part to get
  the
prefix, later adding this again (this is what it should do, did
 not
   test to
see if it's correct).
   
   Ah-ah! The logic is IMHO, wrong! My installation is a multiarch
 debian
   install. The x86_64 libdir is '/usr/lib/x86_64-linux-gnu' and
 32-bit
   version in 'usr/lib32' on a x86_64-linux-gnu system and
 '/usr/lib/' on
   a 'x86-linux-gnu' system. The modules get installed in sub-dirs of
 the
   library, e.g. libemotion.so gets installed in
   '/usr/lib/x86_64-linux-gnu/' and emotion modules in
   '/usr/lib/x86_64-linux-gnu/emotion/'.
  
  
   ok, got it and from this commit it seems to be handled
   http://trac.enlightenment.org/e/changeset/74709
  
   (I mean the message, not the logic, will check that later).
  
  
  
   This makes the 'MODULE_ARCH' variable in autoconf files
 unnecessary;
  
  
   not really as it also includes efl version. Also will allow
 installing
  to
   shared /usr, like NFS used by multiple platforms (ppc, x86...)... in
   theory, because in practice half of EFL doesn't conform with that
  (emotion,
   ecore_imf, eeze/sensors, evas cserve2 binaries, efreet
 binaries...). I
  plan
   to fix those soon.
  
  
  
   and, as I have on my system (untested -:(), a lib32 AND a x86_64
   installation possible. This will conform to most packaging systems
   AFAIK, and definitely to Debian.
   If the logic is modified to scan from right to left the absence of
   '^lib' substring to get the prefix, and later add ALL the
 subsequent
   parts, all will be fine. Better still, have eina_prefix_new take
 the
   $PREFIX value too to enable a left-to-right scan.
  
  
  
   I'll check the logic, but it's worth for you to check if you have
 that
   patch in your version.
  
  
   the logic assumes a magic file to check. That's why most libraries
  started
   to ship with checkme files.
  
   checkme files for eeze|efreet|ecore-imf|evas installed in /usr/share/
  
   I did a fix for single tree efl as r82429. It would be nice if
 someone
   could backport this to stable branch.
  
   Will check with current tip.
  
  -:( Now have to set link from /usr/lib/emotion to
  

[e-users] ibar program list

2013-01-12 Thread ichigo
Where does ibar pull it's application list for applications to add to it? I'm 
trying to add LibreOffice programs that are in /opt

 Thanks,
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] ibar program list

2013-01-12 Thread Michael Var
I think it reads .desktop files from /usr/share/applications and
~/.local/share/applications

On Sun, Jan 13, 2013 at 12:49 AM, ich...@amuro.net wrote:

 Where does ibar pull it's application list for applications to add to it?
 I'm trying to add LibreOffice programs that are in /opt

  Thanks,

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] ibar program list

2013-01-12 Thread The Rasterman
On Sat, 12 Jan 2013 17:49:18 -0500 ich...@amuro.net said:

 Where does ibar pull it's application list for applications to add to it? I'm
 trying to add LibreOffice programs that are in /opt

same place(s) all application desktop files come form that end up in menus
etc. :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] [PATCH efl svn82709] evas: reflect structure name change

2013-01-12 Thread The Rasterman
On Sun, 13 Jan 2013 03:35:23 +0530 Arvind R arvin...@gmail.com said:

fixed. :) harfbuzz enabled path not tested :)

 fix missed name change in structure and compile-failure therefrom.
 
 Arvind R.
 ---
 diff -uprN a/src/lib/evas/common/evas_font_ot.c
 b/src/lib/evas/common/evas_font_ot.c
 --- a/src/lib/evas/common/evas_font_ot.c  2012-11-04 17:21:42.0
 +0530 +++ b/src/lib/evas/common/evas_font_ot.c2013-01-13
 01:23:18.0 +0530 @@ -153,7 +153,7 @@
 evas_common_font_ot_cluster_size_get(con {
  items = 1;
   }
 -   else if (props-bidi.dir == EVAS_BIDI_DIRECTION_RTL)
 +   else if (props-bidi_dir == EVAS_BIDI_DIRECTION_RTL)
   {
  if (left_bound  0)
{
 @@ -300,7 +300,7 @@ evas_common_font_ot_populate_text_props(
  evas_common_language_from_locale_get(), -1));
 hb_buffer_set_script(buffer, _evas_script_to_harfbuzz[props-script]);
 hb_buffer_set_direction(buffer,
 - (props-bidi.dir == EVAS_BIDI_DIRECTION_RTL) ?
 + (props-bidi_dir == EVAS_BIDI_DIRECTION_RTL) ?
   HB_DIRECTION_RTL : HB_DIRECTION_LTR);
 /* FIXME: add run-time conversions if needed, which is very unlikely */
 hb_buffer_add_utf32(buffer, (const uint32_t *) text, slen, 0, slen);
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] [PATCH 1.7.5+svn82296 efl] eina: eina_prefix_new fixed

2013-01-12 Thread Arvind R
fix eina_prefix_new to return correct paths. Checks if locale dir is
given else ignore
locale paths. If common prefix_path found, add the correct postfix
instead of hard-coded
ones.
This solves the problem of emotion_generic being unable to find
em_generic_vlc even
in the case of common prefixes and in installed locations - the most
common case, when
paths such as multiarch installs install to.

Arvind R.
---
The code is still wrong in extracting prefix from dynamically loaded
library path and
searching back to the first delimiter and using the left-side, which
is libdir, as prefix.
On top of that, the arbitrary bin | lib | data is appended for the other paths.

IMHO, the whole prefix stuff is nonsense as one is expected to
relocate the whole tree
only; i.e. relocate to a new prefix. Adding the new libdir to
ld.so.conf would then be sufficient
as relative paths for modules remain unchanged.

--- a/src/lib/eina/eina_prefix.c2013-01-03 20:40:34.0 +0530
+++ b/src/lib/eina/eina_prefix.c2013-01-13 08:53:56.0 +0530
@@ -89,6 +89,7 @@ struct _Eina_Prefix
unsigned char fallback : 1;
unsigned char no_common_prefix : 1;
unsigned char env_used : 1;
+   unsigned char ignore_locale : 1;
 };

 #define STRDUP_REP(x, y) do { if (x) free(x); x = strdup(y); } while (0)
@@ -382,6 +383,8 @@ eina_prefix_new(const char *argv0, void
pfx = calloc(1, sizeof(Eina_Prefix));
if (!pfx) return NULL;

+   if (!strlen(pkg_locale))
+   pfx-ignore_locale = 1; 
/* if provided with a share dir use datadir/sharedir as the share dir */
if (sharedir)
  {
@@ -469,9 +472,10 @@ eina_prefix_new(const char *argv0, void
   }
  }
/* 2. if all the common string offsets match we compiled with a
common prefix */
+   /* packaging scripts may not set localedir if package uses no
locale info (e.g. debian) */
if (((pkg_bin_p - pkg_bin) == (pkg_lib_p - pkg_lib))
 ((pkg_bin_p - pkg_bin) == (pkg_data_p - pkg_data))
-((pkg_bin_p - pkg_bin) == (pkg_locale_p - pkg_locale))
+(pfx-ignore_locale || ((pkg_bin_p - pkg_bin) ==
(pkg_locale_p - pkg_locale)))
   )
  {
 bindir = pkg_bin_p;
@@ -482,6 +486,40 @@ eina_prefix_new(const char *argv0, void
 DBG(Prefix relative libdir = %s, libdir);
 DBG(Prefix relative datadir = %s, datadir);
 DBG(Prefix relative localedir = %s, localedir);
+   if (pfx-prefix_path) free (pfx-prefix_path);
+   pfx-prefix_path = malloc (pkg_bin_p - pkg_bin + 1);
+   if (!pfx-prefix_path)
+  {
+WRN(No Prefix path (alloc fail));
+_fallback(pfx, pkg_bin, pkg_lib, pkg_data, pkg_locale, 
envprefix);
+return pfx;
+  }
+   for (p = pfx-prefix_path, p1 = pkg_bin; p1  pkg_bin_p; p++, 
p1++)
+   *p = *p1;
+
+/* bin */
+snprintf(buf, sizeof(buf), %s%s, pfx-prefix_path, bindir);
+STRDUP_REP(pfx-prefix_path_bin, buf);
+DBG(Have bin = %s, pfx-prefix_path_bin);
+
+   /* data */
+   snprintf(buf, sizeof(buf), %s%s, pfx-prefix_path, datadir);
+STRDUP_REP(pfx-prefix_path_data, buf);
+DBG(Have data = %s, pfx-prefix_path_data);
+
+   /* lib */
+   snprintf(buf, sizeof(buf), %s%s, pfx-prefix_path, libdir);
+STRDUP_REP(pfx-prefix_path_lib, buf);
+DBG(Have lib = %s, pfx-prefix_path_lib);
+
+   /* locale */
+   if (!pfx-ignore_locale)
+ {
+   snprintf(buf, sizeof(buf), %s%s, pfx-prefix_path, 
localedir);
+STRDUP_REP(pfx-prefix_path_locale, buf);
+DBG(Have locale = %s, pfx-prefix_path_locale);
+ }
+   return pfx;
  }
/* 3. some galoot thought it awesome not to give us a common
prefix at compile time
 * so fall back to the compile time directories. we are no longer
relocatable */
@@ -703,7 +741,7 @@ eina_prefix_data_get(Eina_Prefix *pfx)
 EAPI const char *
 eina_prefix_locale_get(Eina_Prefix *pfx)
 {
-   if (!pfx) return ;
+   if (!pfx || pfx-ignore_locale) return ;
return pfx-prefix_path_locale;
 }

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] efl compile problem

2013-01-12 Thread The Rasterman
On Sat, 12 Jan 2013 16:37:32 +0100 maderios mader...@gmail.com said:

i can't confirm as i dont see the problem - but i put in a commit (82711) that
should maybe fix this... :) can you confirm?

 After libc6 reinstall, checking ld conf, etc..., I get this error
 rev 82701
 Last lines:
 
   CCLD   bin/evas/loaders/xpm/module.la
CCLD   lib/evas/common/libevas_op_blend_sse3.la
CCLD   lib/embryo/libembryo.la
CCLD   bin/evas/evas_cserve2_client
CCLD   bin/evas/evas_cserve2_usage
CCLD   bin/evas/evas_cserve2_debug
CCLD   bin/evas/evas_cserve2_slave
CCLD   lib/eet/libeet.la
CCLD   utils/ecore/makekeys
CCLD   lib/eo/libeo.la
CCLD   bin/embryo/embryo_cc
 bin/evas/evas_cserve2_slave.c:198: error: undefined reference to 'shm_open'
 collect2: error: ld returned 1 exit status
 make[4]: *** [bin/evas/evas_cserve2_slave] Error 1
 make[4]: *** Waiting for unfinished jobs
 bin/embryo/embryo_cc_sc2.c:619: error: undefined reference to 'pow'
 collect2: error: ld returned 1 exit status
 make[4]: *** [bin/embryo/embryo_cc] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 
 Greetings
 -- 
 Maderios
 Art is meant to disturb. Science reassures.
 L'art est fait pour troubler. La science rassure (Georges Braque)
 
 
 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122912
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] xdg-open can't open directory

2013-01-12 Thread The Rasterman
On Fri, 11 Jan 2013 01:30:18 -0200 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

i've put this in svn - needed tolink toefreet too. fixed.

 I'm not able to compile e17 right now. It's a matter of replacing ERR()
 with fprintf(stderr) and #include Efreet.h.
 
 Hopefully discomfitor will get to this patch, review, fix, apply  backport
 :-)
 
 
 On Fri, Jan 11, 2013 at 1:17 AM, Ray Chen swy...@opensuse.org wrote:
 
  Thanks you , Gustavo,
  try to use the patch to compile e17
  got errors as below:
 
  [  242s] gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../..
  -I../../src/bin -I../.. -I../../src/bin -DUSE_E_CONFIG_H
  -I/usr/include/evas-1 -I/usr/include/eet-1 -I/usr/include/freetype2
  -I/usr/include/eina-1 -I/usr/include/eina-1/eina -I/usr/local/include
  -I/usr/include/ecore-1 -I/usr/include/glib-2.0
  -I/usr/lib/glib-2.0/include -I/usr/include/edje-1 -I/usr/include/eio-1
  -I/usr/include/embryo-1 -I/usr/include/efreet-1
  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
  -I/usr/include/e_dbus-1 -I/usr/include/eeze-1   -I/usr/include/ecore-1
  -I/usr/include/eina-1 -I/usr/include/eina-1/eina
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
  -I/usr/include/evas-1 -I/usr/include/eet-1 -I/usr/include/freetype2
  -I/usr/local/include -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3
  -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC
  -I/usr/include/emotion-1 -I/usr/include/eio-1 -I/usr/include/ecore-1
  -I/usr/include/evas-1 -I/usr/include/eet-1 -I/usr/include/eina-1
  -I/usr/include/eina-1/eina -I/usr/local/include
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
  -I/usr/include/freetype2 -DPACKAGE_BIN_DIR=\/usr/bin\
  -DPACKAGE_LIB_DIR=\/usr/lib\
  -DPACKAGE_DATA_DIR=\/usr/share/enlightenment\
  -DLOCALE_DIR=\/usr/share/locale\ -DPACKAGE_SYSCONF_DIR=\/etc\
  -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
  -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
  -Wshadow -Wall -W -MT e_init_main.o -MD -MP -MF .deps/e_init_main.Tpo
  -c -o e_init_main.o e_init_main.c
  [  242s] e_fm_cmdline.c: In function 'fm_open':
  [  242s] e_fm_cmdline.c:48:9: error: 'Efreet_Uri' undeclared (first
  use in this function)
  [  242s] e_fm_cmdline.c:48:9: note: each undeclared identifier is
  reported only once for each function it appears in
  [  242s] e_fm_cmdline.c:48:21: error: 'uri' undeclared (first use in
  this function)
  [  242s] e_fm_cmdline.c:48:9: warning: implicit declaration of
  function 'efreet_uri_decode'
  [  242s] e_fm_cmdline.c:49:44: warning: left-hand operand of comma
  expression has no effect
  [  242s] e_fm_cmdline.c:49:44: warning: value computed is not used
  [  242s] e_fm_cmdline.c:49:44: warning: left-hand operand of comma
  expression has no effect
  [  242s] e_fm_cmdline.c:51:14: warning: implicit declaration of function
  'ERR'
  [  242s] e_fm_cmdline.c:54:16: warning: implicit declaration of
  function 'efreet_uri_free'
  [  242s] make[4]: *** [enlightenment_filemanager-e_fm_cmdline.o] Error 1
  [  242s] make[4]: *** Waiting for unfinished jobs
  [  242s] e_fm_op.c: In function '_e_fm_op_send_error':
  [  242s] e_fm_op.c:960:14: warning: ignoring return value of 'write',
  declared with attribute warn_unused_result
  [  242s] e_fm_op.c: In function '_e_fm_op_update_progress_report':
  [  242s] e_fm_op.c:1039:9: warning: ignoring return value of 'write',
  declared with attribute warn_unused_result
  [  242s] e_fm_op.c: In function '_e_fm_op_copy_stat_info':
  [  242s] e_fm_op.c:1126:9: warning: ignoring return value of 'chown',
  declared with attribute warn_unused_result
  [  242s] mv -f .deps/enlightenment_open-e_open.Tpo
  .deps/enlightenment_open-e_open.Po
  [  243s] mv -f .deps/e_init_main.Tpo .deps/e_init_main.Po
  [  243s] mv -f .deps/e_fm_op.Tpo .deps/e_fm_op.Po
  [  243s] make[4]: Leaving directory
  `/usr/src/packages/BUILD/enlightenment-0.17.0/src/bin'
  [  243s] make[3]: *** [all-recursive] Error 1
  [  243s] make[3]: Leaving directory
  `/usr/src/packages/BUILD/enlightenment-0.17.0/src/bin'
  [  243s] make[2]: *** [all-recursive] Error 1
  [  243s] make[2]: Leaving directory
  `/usr/src/packages/BUILD/enlightenment-0.17.0/src'
  [  243s] make[1]: *** [all-recursive] Error 1
  [  243s] make[1]: Leaving directory
  `/usr/src/packages/BUILD/enlightenment-0.17.0'
  [  243s] make: *** [all] Error 2
  [  243s] error: Bad exit status from /var/tmp/rpm-tmp.ZosFJ5 (%build)
 
  how can I solve this?
 
  With Regards
  Ray Chen
 
 
  2013/1/11 Gustavo Sverzut Barbieri barbi...@profusion.mobi
 
   trying again as txt
  
  
   On Thu, Jan 10, 2013 at 11:32 AM, Ray Chen swy...@opensuse.org wrote:
  
2013-1-10 上午12:15 於 Gustavo Sverzut Barbieri 
  barbi...@profusion.mobi
寫道:

 On Wed, Jan 9, 2013 at 12:15 PM, Ray Chen swy...@opensuse.org
  wrote:

  ray122@linux-wtrh:~ xdg-open $HOME/Dropbox/
  EXE: 'enlightenment_filemanager 'file:///home/ray122/Dropbox/''
  ERROR: 

Re: [e-users] Question on emotion using HW-accelerated rendering

2013-01-12 Thread The Rasterman
On Wed, 9 Jan 2013 19:19:53 +0530 Arvind R arvin...@gmail.com said:

 Hi all,
 
 My understanding is that emotion gets the video backend to render RGBA
 to the evas canvas that is then displayed by the ecore-evas backend.
 Correct?

actually it gets the video decoder (xine/gstremer etc.) to decode to yuv... not
rgb. this video coded decodes however it likes. might use software. might use
hardware. not emotion's business really. :)

the yuv data is then handed to the rendering engine. software of course
software converts to rgba, scales and so on. gl will upload to a texture and
use glsl shaders to do the conversion (gpu now does the work while it draws
textures and scales) so... if you use gl - video is accelerated. only catch is
the texture upload of yuv data. it depends how gl drivers implement this - with
a cpu swizzle or a dedicated dma enigne.

 If so, would it be possible, for instance, using the xine backend to
 render directly to screen using whatever HW-accleration available to
 it, and have the evas-canvas as an 'underlay' to the video screen in
 order to trap events. This would mean modifying the emotion-xine
 module to be an interceptor in the xine pipeline instead of being a
 video_output driver.

there is already code to do this with gstreamer. it's all broken and its also
special-case. only allowed if you run e17 AND your video objects is unobscured
etc. - and as i said.. its all broken at the moment. gl based video is far more
flexible and all hw accelerated as per above.

 Feasible?
 
 Arvind R.
 
 --
 Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
 and much more. Keep your Java skills current with LearnJavaNow -
 200+ hours of step-by-step video tutorials by Java experts.
 SALE $49.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122612 
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users