Re: [E-devel] compile patch for engycad

2007-07-12 Thread Yuri
Ok, I've fixed issue with dualcores. However my ISP is bitching :(
Commit will be as soon as possible.

2007/7/8, Vincent Torri [EMAIL PROTECTED]:

 Hey,

 here is a patch for the compilation of engy (no more *-config scripts are
 used now). I've also added math.h in a file

 Nevertheless, on my computer (core2 duo, so 64 bits), the program does not
 work. There are a lots of cast from a pointer to an int (from edb,
 mainly, but not all). Maybe that's why it does not work

 Also, edb is not maintained anymore. Maybe ecore-config shoud be used,
 instead.

 Vincent
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] compile patch for engycad

2007-07-08 Thread Vincent Torri


Hey,

here is a patch for the compilation of engy (no more *-config scripts are 
used now). I've also added math.h in a file


Nevertheless, on my computer (core2 duo, so 64 bits), the program does not 
work. There are a lots of cast from a pointer to an int (from edb, 
mainly, but not all). Maybe that's why it does not work


Also, edb is not maintained anymore. Maybe ecore-config shoud be used, 
instead.


Vincent? Makefile
? Makefile.in
? aclocal.m4
? autom4te.cache
? config.guess
? config.h
? config.log
? config.status
? config.sub
? configure
? default-drawing.db
? depcomp
? engy.diff
? install-sh
? libtool
? ltmain.sh
? missing
? stamp-h1
? resources/Makefile
? resources/Makefile.in
? resources/fonts/Makefile
? resources/fonts/Makefile.in
? resources/help/Makefile
? resources/help/Makefile.in
? resources/pics/Makefile
? resources/pics/Makefile.in
? resources/templates/Makefile
? resources/templates/Makefile.in
? resources/tools/Makefile
? resources/tools/Makefile.in
? src/.deps
? src/.libs
? src/Makefile
? src/Makefile.in
? src/engycad
Index: configure.in
===
RCS file: /cvs/e/e17/apps/engycad/configure.in,v
retrieving revision 1.1
diff -u -r1.1 configure.in
--- configure.in8 Jul 2007 04:15:48 -   1.1
+++ configure.in8 Jul 2007 07:37:23 -
@@ -38,57 +38,8 @@
 packagesrcdir=`cd $srcdir  pwd`
 AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, ${packagesrcdir})
 
-PROG=imlib2-config;
-AC_PATH_PROG(IMLIB2_CONFIG, $PROG, , $PATH)
-if [ test -z $IMLIB2_CONFIG ]; then
-  echo $PROG  is not in your \$PATH. Please ensure it is.;
-  echo Read the manual page for you shell as to how to extend your path.;
-  echo FATAL ERROR. ABORT.;
-  exit -1;
-fi
-imlib2_cflags=`$IMLIB2_CONFIG --cflags`
-imlib2_libs=`$IMLIB2_CONFIG --libs`
-AC_SUBST(imlib2_cflags)
-AC_SUBST(imlib2_libs)
-
-PROG=evas-config;
-AC_PATH_PROG(EVAS_CONFIG, $PROG, , $PATH)
-if [ test -z $EVAS_CONFIG ]; then
-  echo $PROG  is not in your \$PATH. Please ensure it is.;
-  echo Read the manual page for you shell as to how to extend your path.;
-  echo FATAL ERROR. ABORT.;
-  exit -1;
-fi
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
-
-PROG=edb-config;
-AC_PATH_PROG(EDB_CONFIG, $PROG, , $PATH)
-if [ test -z $EDB_CONFIG ]; then
-  echo $PROG  is not in your \$PATH. Please ensure it is.;
-  echo Read the manual page for you shell as to how to extend your path.;
-  echo FATAL ERROR. ABORT.;
-  exit -1;
-fi
-edb_cflags=`$EDB_CONFIG --cflags`
-edb_libs=`$EDB_CONFIG --libs`
-AC_SUBST(edb_cflags)
-AC_SUBST(edb_libs)
-
-PROG=ecore-config;
-AC_PATH_PROG(ECORE_CONFIG, $PROG, , $PATH)
-if [ test -z $ECORE_CONFIG ]; then
-  echo $PROG  is not in your \$PATH. Please ensure it is.;
-  echo Read the manual page for you shell as to how to extend your path.;
-  echo FATAL ERROR. ABORT.;
-  exit -1;
-fi
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
+PKG_CHECK_MODULES(ENGY,
+  imlib2 = 1.4 edb = 0.9 evas = 0.9 ecore = 0.9 ecore-evas = 0.9)
 
 
 AC_CHECK_LIB(pthread,pthread_mutex_lock,pthread_libs=-lpthread,
Index: src/Makefile.am
===
RCS file: /cvs/e/e17/apps/engycad/src/Makefile.am,v
retrieving revision 1.1
diff -u -r1.1 Makefile.am
--- src/Makefile.am 8 Jul 2007 04:15:49 -   1.1
+++ src/Makefile.am 8 Jul 2007 07:37:23 -
@@ -2,7 +2,7 @@
 
 INCLUDES = \
-I../lib \
-   @imlib2_cflags@ @evas_cflags@ @edb_cflags@ @ecore_cflags@
+   @ENGY_CFLAGS@
 
 bin_PROGRAMS = engycad
 
@@ -75,4 +75,4 @@
 undo.c \
 undo.h
 
-engycad_LDADD = @imlib2_libs@ @evas_libs@ @pthread_libs@ @edb_libs@ 
@ecore_libs@ -lm -lc
+engycad_LDADD = @ENGY_LIBS@ -lm
Index: src/trans.c
===
RCS file: /cvs/e/e17/apps/engycad/src/trans.c,v
retrieving revision 1.1
diff -u -r1.1 trans.c
--- src/trans.c 8 Jul 2007 04:15:49 -   1.1
+++ src/trans.c 8 Jul 2007 07:37:23 -
@@ -21,6 +21,8 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
+#include math.h
+
 #include engy.h
 
 void
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] compile patch for engycad

2007-07-08 Thread Yuri
2007/7/8, Vincent Torri [EMAIL PROTECTED]:

 Hey,

 here is a patch for the compilation of engy (no more *-config scripts are
 used now). I've also added math.h in a file
Thanks! That was an old configure.in


 Nevertheless, on my computer (core2 duo, so 64 bits), the program does not
 work. There are a lots of cast from a pointer to an int (from edb,
 mainly, but not all). Maybe that's why it does not work

Debug builds somehow breathe :) I'm trying to get it working with -O2 atm



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel