summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-08-12 18:43:59 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-08-12 18:43:59 +0000
commit900c574366c5a0be6991313ed9dbe0407f7bdacf (patch)
tree58a32f394aafb6e9342aa5e3bdc28e244abbd43a
parent301cda3a2fb41bce39328ca60998e174b0c1183d (diff)
python-edje 1.7.0
sync with C version, including in version. cython and python versions updated to what I have in my machine, at least it's known to work. SVN revision: 75168
-rw-r--r--INSTALL15
-rw-r--r--README16
-rw-r--r--configure.ac29
3 files changed, 27 insertions, 33 deletions
diff --git a/INSTALL b/INSTALL
index 6e90e07..7d1c323 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,8 +1,8 @@
1Installation Instructions 1Installation Instructions
2************************* 2*************************
3 3
4Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, 4Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
5Inc. 52006, 2007, 2008, 2009 Free Software Foundation, Inc.
6 6
7 Copying and distribution of this file, with or without modification, 7 Copying and distribution of this file, with or without modification,
8are permitted in any medium without royalty provided the copyright 8are permitted in any medium without royalty provided the copyright
@@ -226,11 +226,6 @@ order to use an ANSI C compiler:
226 226
227and if that doesn't work, install pre-built binaries of GCC for HP-UX. 227and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228 228
229 HP-UX `make' updates targets which have the same time stamps as
230their prerequisites, which makes it generally unusable when shipped
231generated files such as `configure' are involved. Use GNU `make'
232instead.
233
234 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot 229 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
235parse its `<wchar.h>' header file. The option `-nodtk' can be used as 230parse its `<wchar.h>' header file. The option `-nodtk' can be used as
236a workaround. If GNU CC is not installed, it is therefore recommended 231a workaround. If GNU CC is not installed, it is therefore recommended
@@ -309,10 +304,9 @@ causes the specified `gcc' to be used as the C compiler (unless it is
309overridden in the site shell script). 304overridden in the site shell script).
310 305
311Unfortunately, this technique does not work for `CONFIG_SHELL' due to 306Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312an Autoconf limitation. Until the limitation is lifted, you can use 307an Autoconf bug. Until the bug is fixed you can use this workaround:
313this workaround:
314 308
315 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash 309 CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
316 310
317`configure' Invocation 311`configure' Invocation
318====================== 312======================
@@ -368,3 +362,4 @@ operates.
368 362
369`configure' also accepts some other, not widely useful, options. Run 363`configure' also accepts some other, not widely useful, options. Run
370`configure --help' for more details. 364`configure --help' for more details.
365
diff --git a/README b/README
index bf19483..152b258 100644
--- a/README
+++ b/README
@@ -3,14 +3,14 @@
3REQUIREMENTS 3REQUIREMENTS
4============ 4============
5 5
6 * Edje >= 1.0.0 6 * Edje >= 1.7.0
7 * Eet >= 1.4.0 (indirect, Edje dependency) 7 * Eet >= 1.7.0 (indirect, Edje dependency)
8 * Embryo >= 1.0.0 (indirect, Edje dependency) 8 * Embryo >= 1.7.0 (indirect, Edje dependency)
9 * Ecore >= 1.0.0 (indirect, Edje dependency) 9 * Ecore >= 1.7.0 (indirect, Edje dependency)
10 * Evas >= 1.0.0 10 * Evas >= 1.7.0
11 * Python-Evas >= 0.7.3 11 * Python-Evas >= 1.7.0
12 * Cython >= 0.13 12 * Cython >= 0.16 (not required with release tarballs)
13 * Python >= 2.4 13 * Python >= 2.7 (tested version, may work with older or newer)
14 14
15 15
16BUILDING AND INSTALLING 16BUILDING AND INSTALLING
diff --git a/configure.ac b/configure.ac
index 83ce573..2b10c9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,25 +1,24 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [0]) 3m4_define([v_maj], [1])
4m4_define([v_min], [7]) 4m4_define([v_min], [7])
5m4_define([v_mic], [3]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) 6m4_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']))
7m4_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']))]) 7m4_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']))])
8##-- When released, remove the dnl on the below line 8##-- When released, remove the dnl on the below line
9dnl m4_undefine([v_rev]) 9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line 10##-- When doing snapshots - change soname. remove dnl on below line
11m4_define([relname], [ver-pre-svn-08]) 11dnl m4_define([relname], [ver-pre-svn-07])
12m4_define([v_rel], [-release relname]) 12dnl m4_define([v_rel], [-release relname])
13##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 13##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], 14m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
15[m4_define([v_ver], [v_maj.v_min.v_mic])]) 15m4_define([lt_cur], m4_eval(v_maj + v_min))
16m4_define([lt_rev], m4_eval(v_maj + v_min)) 16m4_define([lt_rev], v_mic)
17m4_define([lt_cur], v_mic)
18m4_define([lt_age], v_min) 17m4_define([lt_age], v_min)
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
21 20
22AC_INIT([python-edje], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([python-edje], [v_ver-alpha], [enlightenment-devel@lists.sourceforge.net])
23AC_PREREQ([2.65]) 22AC_PREREQ([2.65])
24AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
25AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -62,18 +61,18 @@ else
62fi 61fi
63AC_SUBST(pkgconfig_requires_private) 62AC_SUBST(pkgconfig_requires_private)
64 63
65python_evas_version="0.7.3" 64python_evas_version="1.7.0"
66pkgconfig_edje_requires_libs="edje >= 1.0.0 evas >= 1.0.0 eina >= 1.0.0 python-evas >= ${python_evas_version}" 65pkgconfig_edje_requires_libs="edje >= 1.7.0 evas >= 1.7.0 eina >= 1.7.0 python-evas >= ${python_evas_version}"
67AC_SUBST(pkgconfig_edje_requires_libs) 66AC_SUBST(pkgconfig_edje_requires_libs)
68PKG_CHECK_MODULES([EDJE], [$pkgconfig_edje_requires_libs]) 67PKG_CHECK_MODULES([EDJE], [$pkgconfig_edje_requires_libs])
69CYTHON_EDJE_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "python-evas >= ${python_evas_version}"` 68CYTHON_EDJE_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "python-evas >= ${python_evas_version}"`
70AC_SUBST(CYTHON_EDJE_INCLUDEDIR) 69AC_SUBST(CYTHON_EDJE_INCLUDEDIR)
71wanted_cython_files="${srcdir}/edje/edje.c_edje.pyx ${srcdir}/edje/edit/c_edit.pyx" 70wanted_cython_files="${srcdir}/edje/edje.c_edje.pyx ${srcdir}/edje/edit/c_edit.pyx"
72 71
73AM_PATH_PYTHON(2.5) 72AM_PATH_PYTHON(2.7)
74AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) 73AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
75 74
76cython_required_version=0.13 75cython_required_version=0.16
77AM_CHECK_CYTHON([$cython_required_version], [:], [:]) 76AM_CHECK_CYTHON([$cython_required_version], [:], [:])
78 77
79have_cython_precompiled=no 78have_cython_precompiled=no