Re: [E-devel] [patch] unversioned configuration bug

2012-04-29 Thread Cedric BAIL
On Sat, Apr 28, 2012 at 7:00 PM, Jérôme Pinot ngc...@gmail.com wrote:
 eio, emotion and ethumb build fail for out of tree configuration:


 make[3]: Entering directory `/tmp/emotion/src/lib'
  CC     emotion_smart.lo
  CC     emotion_main.lo
 emotion_main.c:51:55: error: 'Unversioneddirectory' undeclared here (not in a 
 function)
 make[3]: *** [emotion_main.lo] Error 1

 make[3]: Entering directory `/tmp/eio/src/lib'
  CC     eio_eet.lo
  CC     eio_file.lo
  CC     eio_dir.lo
  CC     eio_main.lo
 eio_main.c:26:51: error: 'Unversioneddirectory' undeclared here (not in a 
 function)
 make[3]: *** [eio_main.lo] Error 1

 make[4]: Entering directory `/tmp/ethumb/src/lib'
  CC     ethumb.lo
  CC     md5.lo
 ethumb.c:80:54: error: 'Unversioneddirectory' undeclared here (not in a 
 function)
 make[4]: *** [ethumb.lo] Error 1


 Here is a patch that make configure.ac similar to the one from eina and
 make things work back.

  eio/configure.ac     |    2 +-
  emotion/configure.ac |    2 +-
  ethumb/configure.ac  |    2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

In svn and backported. Thanks,
-- 
Cedric BAIL

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [patch] unversioned configuration bug

2012-04-28 Thread Jérôme Pinot
Hi,

eio, emotion and ethumb build fail for out of tree configuration:


make[3]: Entering directory `/tmp/emotion/src/lib'
  CC emotion_smart.lo
  CC emotion_main.lo
emotion_main.c:51:55: error: 'Unversioneddirectory' undeclared here (not in a 
function)
make[3]: *** [emotion_main.lo] Error 1

make[3]: Entering directory `/tmp/eio/src/lib'
  CC eio_eet.lo
  CC eio_file.lo
  CC eio_dir.lo
  CC eio_main.lo
eio_main.c:26:51: error: 'Unversioneddirectory' undeclared here (not in a 
function)
make[3]: *** [eio_main.lo] Error 1

make[4]: Entering directory `/tmp/ethumb/src/lib'
  CC ethumb.lo
  CC md5.lo
ethumb.c:80:54: error: 'Unversioneddirectory' undeclared here (not in a 
function)
make[4]: *** [ethumb.lo] Error 1


Here is a patch that make configure.ac similar to the one from eina and
make things work back.

 eio/configure.ac |2 +-
 emotion/configure.ac |2 +-
 ethumb/configure.ac  |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


-- 
Jérôme Pinot
http://ngc891.blogdns.net/
Index: ethumb/configure.ac
===
--- ethumb/configure.ac (revision 70532)
+++ ethumb/configure.ac (working copy)
@@ -3,7 +3,7 @@
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
 m4_define([v_mic], [99])
-m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
export || echo 0) | awk -F : '{printf(%s\n, $1);}' | tr -d ' :MSP\n']))
+m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
'\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s\n, 
$1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2 /dev/null | (grep 
-m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
 dnl m4_undefine([v_rev])
Index: eio/configure.ac
===
--- eio/configure.ac(revision 70532)
+++ eio/configure.ac(working copy)
@@ -3,7 +3,7 @@
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
 m4_define([v_mic], [99])
-m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
export || echo 0) | awk -F : '{printf(%s\n, $1);}' | tr -d ' :MSP\n']))
+m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
'\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s\n, 
$1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2 /dev/null | (grep 
-m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
 dnl m4_undefine([v_rev])
Index: emotion/configure.ac
===
--- emotion/configure.ac(revision 70532)
+++ emotion/configure.ac(working copy)
@@ -3,7 +3,7 @@
 m4_define([v_maj], [1])
 m4_define([v_min], [0])
 m4_define([v_mic], [99])
-m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
export || echo 0) | awk -F : '{printf(%s\n, $1);}' | tr -d ' :MSP\n']))
+m4_define([v_rev], m4_esyscmd([(svnversion ${SVN_REPO_PATH:-.} | grep -v 
'\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf(%s\n, 
$1);}' | tr -d ' :MSP\n']))
 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2 /dev/null | (grep 
-m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
 ##--   When released, remove the dnl on the below line
 dnl m4_undefine([v_rev])


signature.asc
Description: Digital signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel