Re: [E-devel] RFC: edje multisense detection

2012-07-05 Thread The Rasterman
On Thu, 5 Jul 2012 11:08:10 +0900 Jérôme Pinot ngc...@gmail.com said:

ok - commit it, but just fyi - ultimately i want multisense to be a hard
requirement, not an option. this just complicates the life for edc writers,
designers and app devs if they have to deal with too many permutations of
features.

 Hi,
 
 There is currently no easy way to know if edje was compiled with
 edje multisense support. For instance, if you want to compile in
 sounds in an edje theme, this may fail if support is not in the lib.
 
 What about adding a key in edje.pc? 3rd-party applications could
 then check against it before compilation. Something like:
 
 Index: trunk/edje/configure.ac
 ===
 --- trunk/edje/configure.ac   (revision 73321)
 +++ trunk/edje/configure.ac   (working copy)
 @@ -451,6 +451,7 @@
  if test x${want_multisense} = xyes ; then
 AC_DEFINE([ENABLE_MULTISENSE], [1], [Use Multisense])
  fi
 +AC_SUBST(want_multisense)
  
  # Dependencies for the binaries
  
 Index: trunk/edje/edje.pc.in
 ===
 --- trunk/edje/edje.pc.in (revision 73321)
 +++ trunk/edje/edje.pc.in (working copy)
 @@ -6,6 +6,7 @@
  datarootdir=@datarootdir@
  datadir=@datadir@/edje
  vmaj=@VMAJ@
 +multisense=@want_multisense@
  
  Name: edje
  Description: Enlightened graphical design and layout engine.
 
 
 -- 
 Jérôme Pinot
 http://ngc891.blogdns.net/


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


--
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] RFC: edje multisense detection

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

There is currently no easy way to know if edje was compiled with
edje multisense support. For instance, if you want to compile in
sounds in an edje theme, this may fail if support is not in the lib.

What about adding a key in edje.pc? 3rd-party applications could
then check against it before compilation. Something like:

Index: trunk/edje/configure.ac
===
--- trunk/edje/configure.ac (revision 73321)
+++ trunk/edje/configure.ac (working copy)
@@ -451,6 +451,7 @@
 if test x${want_multisense} = xyes ; then
AC_DEFINE([ENABLE_MULTISENSE], [1], [Use Multisense])
 fi
+AC_SUBST(want_multisense)
 
 # Dependencies for the binaries
 
Index: trunk/edje/edje.pc.in
===
--- trunk/edje/edje.pc.in   (revision 73321)
+++ trunk/edje/edje.pc.in   (working copy)
@@ -6,6 +6,7 @@
 datarootdir=@datarootdir@
 datadir=@datadir@/edje
 vmaj=@VMAJ@
+multisense=@want_multisense@
 
 Name: edje
 Description: Enlightened graphical design and layout engine.


-- 
Jérôme Pinot
http://ngc891.blogdns.net/


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