diff options
Diffstat (limited to 'meta-efl/recipes-efl')
88 files changed, 3384 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/e17/cpu_svn.bb b/meta-efl/recipes-efl/e17/cpu_svn.bb new file mode 100644 index 000000000..c0ad6a42c --- /dev/null +++ b/meta-efl/recipes-efl/e17/cpu_svn.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
3 | file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" | ||
4 | |||
5 | PV = "0.0.1+svnr${SRCREV}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | require e-module.inc | ||
diff --git a/meta-efl/recipes-efl/e17/diskio_svn.bb b/meta-efl/recipes-efl/e17/diskio_svn.bb new file mode 100644 index 000000000..01a65761e --- /dev/null +++ b/meta-efl/recipes-efl/e17/diskio_svn.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
3 | file://COPYING-PLAIN;md5=68be76d8126face2fbbecdf1bcbe2b10" | ||
4 | |||
5 | PV = "0.0.1+svnr${SRCPV}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | require e-module.inc | ||
diff --git a/meta-efl/recipes-efl/e17/e-module.inc b/meta-efl/recipes-efl/e17/e-module.inc new file mode 100644 index 000000000..092357572 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-module.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "E17 ${PN} module" | ||
2 | SECTION = "x11/multimedia" | ||
3 | DEPENDS = "e-wm" | ||
4 | |||
5 | SRCREV = "${EFL_SRCREV}" | ||
6 | INC_PR = "r0" | ||
7 | |||
8 | SRCNAME = "E-MODULES-EXTRA/${PN}" | ||
9 | |||
10 | inherit e gettext | ||
11 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
13 | |||
14 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" | ||
15 | |||
16 | FILES_${PN} += "${libdir}/enlightenment/modules/${PN}" | ||
17 | FILES_${PN}-dbg += "${libdir}/enlightenment/modules/${PN}/*/.debug" | ||
18 | FILES_${PN}-staticdev += "${libdir}/enlightenment/modules/${PN}/*/*.a" | ||
19 | |||
diff --git a/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch b/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch new file mode 100644 index 000000000..f92a772fe --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-tasks/0001-dbus-stuff-Convert-to-eldbus.patch | |||
@@ -0,0 +1,204 @@ | |||
1 | From 37223289b3d85ea8876e7ba7c9ff97ec428073ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 22 Feb 2014 14:36:38 +0100 | ||
4 | Subject: [PATCH] dbus-stuff: Convert to eldbus | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | configure.ac | 2 +- | ||
9 | src/Makefile.am | 2 +- | ||
10 | src/dbus-stuff.c | 95 ++++++++++++++++++++++++++++++++------------------------ | ||
11 | src/dbus-stuff.h | 13 ++------ | ||
12 | src/main.c | 2 +- | ||
13 | 5 files changed, 61 insertions(+), 53 deletions(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index b3e4d12..4ace32a 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -15,7 +15,7 @@ AC_HEADER_STDC | ||
20 | |||
21 | AM_PROG_LIBTOOL | ||
22 | |||
23 | -PKG_CHECK_MODULES(TASKS, [elementary eina dbus-1 edbus sqlite3]) | ||
24 | +PKG_CHECK_MODULES(TASKS, [elementary eina dbus-1 eldbus sqlite3]) | ||
25 | |||
26 | AC_OUTPUT([ | ||
27 | Makefile | ||
28 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
29 | index 2143dc9..31d5253 100644 | ||
30 | --- a/src/Makefile.am | ||
31 | +++ b/src/Makefile.am | ||
32 | @@ -8,7 +8,7 @@ AM_CPPFLAGS = \ | ||
33 | $(TASKS_CFLAGS) | ||
34 | |||
35 | AM_CFLAGS =\ | ||
36 | - $(EDBUS_CFLAGS) \ | ||
37 | + $(ELDBUS_CFLAGS) \ | ||
38 | -Wall\ | ||
39 | -g | ||
40 | |||
41 | diff --git a/src/dbus-stuff.c b/src/dbus-stuff.c | ||
42 | index 50809bc..9f02ef3 100644 | ||
43 | --- a/src/dbus-stuff.c | ||
44 | +++ b/src/dbus-stuff.c | ||
45 | @@ -1,8 +1,7 @@ | ||
46 | /*************************************************************************** | ||
47 | * dbus-stuff.c | ||
48 | * | ||
49 | - * Copyright 2009 cchandel | ||
50 | - * <cchandel@yahoo.com> | ||
51 | + * Copyright 2009 cchandel <cchandel@yahoo.com> | ||
52 | ****************************************************************************/ | ||
53 | |||
54 | /* | ||
55 | @@ -21,51 +20,67 @@ | ||
56 | * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA | ||
57 | */ | ||
58 | #include "dbus-stuff.h" | ||
59 | -#include <string.h> | ||
60 | -#include <E_DBus.h> | ||
61 | -#include <Elementary.h> | ||
62 | +#include "Eldbus.h" | ||
63 | |||
64 | -void occupy_cpu(void) | ||
65 | +void on_usage_cb(void *data EINA_UNUSED, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED) | ||
66 | +{ | ||
67 | + const char *errname, *errmsg; | ||
68 | + if (eldbus_message_error_get(msg, &errname, &errmsg)) | ||
69 | + fprintf(stderr, "Error: %s %s\n", errname, errmsg); | ||
70 | +} | ||
71 | + | ||
72 | +int ousaged_resource(const char *resource, int used) | ||
73 | { | ||
74 | - e_dbus_init(); | ||
75 | - conn = e_dbus_bus_get(DBUS_BUS_SYSTEM); | ||
76 | - | ||
77 | - DBusMessage *msg; | ||
78 | - msg = dbus_message_new_method_call( | ||
79 | - "org.freesmartphone.ousaged", | ||
80 | - "/org/freesmartphone/Usage", | ||
81 | - "org.freesmartphone.Usage", | ||
82 | - "RequestResource" | ||
83 | - ); | ||
84 | - | ||
85 | - const char *resource = "CPU"; | ||
86 | - dbus_message_append_args (msg, DBUS_TYPE_STRING, &resource, DBUS_TYPE_INVALID); | ||
87 | + eldbus_init(); | ||
88 | + const char *REQUEST = "RequestResource"; | ||
89 | + const char *RELEASE = "ReleaseResource"; | ||
90 | + const int PREQUEST = 1; | ||
91 | |||
92 | - e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL); | ||
93 | - dbus_message_unref(msg); | ||
94 | -} | ||
95 | + Eldbus_Connection *conn; | ||
96 | + Eldbus_Object *obj; | ||
97 | + Eldbus_Proxy *usage; | ||
98 | + Eldbus_Pending *pending; | ||
99 | + conn = eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SYSTEM); | ||
100 | + if (!conn) | ||
101 | + { | ||
102 | + fprintf(stderr, "Error: could not get system bus\n"); | ||
103 | + return EXIT_FAILURE; | ||
104 | + } | ||
105 | |||
106 | -void release_cpu(void) | ||
107 | -{ | ||
108 | - DBusMessage *msg; | ||
109 | - msg = dbus_message_new_method_call( | ||
110 | - "org.freesmartphone.ousaged", | ||
111 | - "/org/freesmartphone/Usage", | ||
112 | - "org.freesmartphone.Usage", | ||
113 | - "ReleaseResource" | ||
114 | - ); | ||
115 | - | ||
116 | - const char *resource = "CPU"; | ||
117 | - dbus_message_append_args (msg, DBUS_TYPE_STRING, &resource, DBUS_TYPE_INVALID); | ||
118 | + obj = eldbus_object_get(conn, "org.freesmartphone.ousaged", "/org/freesmartphone/Usage"); | ||
119 | + if (!obj) | ||
120 | + { | ||
121 | + fprintf(stderr, "Error: could not get object\n"); | ||
122 | + return EXIT_FAILURE; | ||
123 | + } | ||
124 | |||
125 | - e_dbus_message_send(conn, msg, dbus_reply_cb, -1, NULL); | ||
126 | - dbus_message_unref(msg); | ||
127 | + usage = eldbus_proxy_get(obj, "org.freesmartphone.Usage"); | ||
128 | + if (!usage) | ||
129 | + { | ||
130 | + fprintf(stderr, "Error: could not get proxy\n"); | ||
131 | + return EXIT_FAILURE; | ||
132 | + } | ||
133 | + | ||
134 | + pending = eldbus_proxy_call(usage, used == PREQUEST ? REQUEST : RELEASE, on_usage_cb, NULL, -1, "ss", resource); | ||
135 | + if (!pending) | ||
136 | + { | ||
137 | + fprintf(stderr, "Error: could not call\n"); | ||
138 | + return EXIT_FAILURE; | ||
139 | + } | ||
140 | + eldbus_proxy_unref(usage); | ||
141 | + eldbus_object_unref(obj); | ||
142 | + eldbus_connection_unref(conn); | ||
143 | + | ||
144 | + eldbus_shutdown(); | ||
145 | + return EXIT_SUCCESS; | ||
146 | } | ||
147 | |||
148 | -void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error) | ||
149 | +int request_cpu(void) | ||
150 | { | ||
151 | - if (dbus_error_is_set(error)) { | ||
152 | - printf("Error: %s - %s\n", error->name, error->message); | ||
153 | - } | ||
154 | + return ousaged_resource("CPU", 1); | ||
155 | } | ||
156 | |||
157 | +int release_cpu(void) | ||
158 | +{ | ||
159 | + return ousaged_resource("CPU" , 0); | ||
160 | +} | ||
161 | diff --git a/src/dbus-stuff.h b/src/dbus-stuff.h | ||
162 | index 83d4778..a3c72cb 100644 | ||
163 | --- a/src/dbus-stuff.h | ||
164 | +++ b/src/dbus-stuff.h | ||
165 | @@ -2,8 +2,7 @@ | ||
166 | * dbus.h | ||
167 | * | ||
168 | * Fri Mar 6 12:32:57 2009 | ||
169 | - * Copyright 2009 nidhin | ||
170 | - * <nidhin@nids-laptop.home> | ||
171 | + * Copyright 2009 nidhin <nidhin@nids-laptop.home> | ||
172 | ****************************************************************************/ | ||
173 | |||
174 | /* | ||
175 | @@ -22,11 +21,5 @@ | ||
176 | * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA | ||
177 | */ | ||
178 | |||
179 | -#include <E_DBus.h> | ||
180 | -#include <Elementary.h> | ||
181 | - | ||
182 | -void occupy_cpu(void); | ||
183 | -void release_cpu(void); | ||
184 | -void dbus_reply_cb(void *data, DBusMessage *replymsg, DBusError *error); | ||
185 | - | ||
186 | -E_DBus_Connection *conn; | ||
187 | +int request_cpu(void); | ||
188 | +int release_cpu(void); | ||
189 | diff --git a/src/main.c b/src/main.c | ||
190 | index 92d21de..4e4bbe2 100644 | ||
191 | --- a/src/main.c | ||
192 | +++ b/src/main.c | ||
193 | @@ -76,7 +76,7 @@ elm_main(int argc, char **argv) | ||
194 | //restore state | ||
195 | restore_state(); | ||
196 | |||
197 | - occupy_cpu(); | ||
198 | + request_cpu(); | ||
199 | |||
200 | elm_run(); | ||
201 | //clean up stuff | ||
202 | -- | ||
203 | 1.8.5.3 | ||
204 | |||
diff --git a/meta-efl/recipes-efl/e17/e-tasks_git.bb b/meta-efl/recipes-efl/e17/e-tasks_git.bb new file mode 100644 index 000000000..606515783 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-tasks_git.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "e-tasks is a todo program for Openmoko phones" | ||
2 | HOMEPAGE = "http://code.google.com/p/e-tasks/" | ||
3 | AUTHOR = "cchandel" | ||
4 | LICENSE = "GPLv3" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" | ||
6 | SECTION = "e/apps" | ||
7 | DEPENDS = "elementary eina eldbus sqlite3" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | SRCREV = "890f5ee37d1a5fd1ceb2495950d15151d4cf756b" | ||
12 | PV = "0.0.2+gitr${SRCPV}" | ||
13 | |||
14 | SRC_URI = "git://github.com/shr-project/e-tasks.git" | ||
15 | SRC_URI += "file://0001-dbus-stuff-Convert-to-eldbus.patch" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | do_install_append() { | ||
20 | install -d "${D}/${datadir}/pixmaps" | ||
21 | install -m 0644 "${S}/resources/e-tasks.png" "${D}/${datadir}/pixmaps" | ||
22 | install -d "${D}/${datadir}/applications" | ||
23 | install -m 0644 "${S}/resources/e-tasks.desktop" "${D}/${datadir}/applications" | ||
24 | install -d "${D}/${datadir}/e-tasks" | ||
25 | for ico in "${S}/resources/"*.png; do | ||
26 | if [ "$(basename $ico)" != "e-tasks.png" ]; then | ||
27 | install -m 0644 $ico "${D}/${datadir}/e-tasks" | ||
28 | fi | ||
29 | done | ||
30 | } | ||
31 | |||
32 | FILES_${PN} += "/usr/share/e-tasks/* /usr/share/applications/* /usr/share/pixmaps/*" | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb b/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb new file mode 100644 index 000000000..af32a355a --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-b-and-w_svn.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "b-and-w theme was default E17 theme before alpha3 and some people still prefers it." | ||
2 | SECTION = "e/utils" | ||
3 | DEPENDS = "edje-native" | ||
4 | RDEPENDS_${PN} = "e-wm" | ||
5 | LICENSE = "MIT BSD" | ||
6 | # upstream was asked to include license infor in THEME dir | ||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
8 | |||
9 | inherit allarch | ||
10 | |||
11 | SRCREV = "${EFL_SRCREV}" | ||
12 | PV = "0.0+svnr${SRCPV}" | ||
13 | |||
14 | inherit e-base | ||
15 | |||
16 | SRCNAME = "b_and_w" | ||
17 | SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http" | ||
18 | S = "${WORKDIR}/${SRCNAME}/e" | ||
19 | |||
20 | do_compile() { | ||
21 | # unfortunately hardcoded edje_cc in Makefile | ||
22 | sed -i "s#\tedje_cc#\t${STAGING_BINDIR_NATIVE}/edje_cc#g" Makefile | ||
23 | make | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | install -d ${D}${datadir}/enlightenment/data/themes/ | ||
28 | install -m 0644 ${S}/b_and_w.edj ${D}${datadir}/enlightenment/data/themes/ | ||
29 | } | ||
30 | |||
31 | FILES_${PN} = "${datadir}/enlightenment/data/themes/" | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht/LICENSE | |||
@@ -0,0 +1,25 @@ | |||
1 | Copyright notice for Enlightenment: | ||
2 | |||
3 | Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) | ||
4 | |||
5 | All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are met: | ||
9 | |||
10 | 1. Redistributions of source code must retain the above copyright | ||
11 | notice, this list of conditions and the following disclaimer. | ||
12 | 2. Redistributions in binary form must reproduce the above copyright | ||
13 | notice, this list of conditions and the following disclaimer in the | ||
14 | documentation and/or other materials provided with the distribution. | ||
15 | |||
16 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
17 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
18 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
19 | COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
20 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
21 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
22 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
23 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
24 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
25 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb new file mode 100644 index 000000000..1bf5f1de0 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "efenniht illume theme - Efenniht was devised to be clean \ | ||
2 | and neutral. Its name (which means equinox) comes from the chromatic duality \ | ||
3 | that was decided at the very beginning, with a dark theme (black and orange) \ | ||
4 | and a bright one (white and blue) to be developed so that more people feel \ | ||
5 | comfortable using it. Efenniht uses few animations, discrete contrasts between \ | ||
6 | shades of gray and fine lines (colored) that outline the selected elements." | ||
7 | SECTION = "e/utils" | ||
8 | HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Themes#Efenniht" | ||
9 | DEPENDS = "edje-native" | ||
10 | RDEPENDS_${PN} = "e-wm" | ||
11 | RSUGGESTS_${PN} = "elementary-theme-efenniht" | ||
12 | LICENSE = "MIT BSD" | ||
13 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" | ||
14 | |||
15 | SRCREV = "${EFL_SRCREV}" | ||
16 | PV = "0.0+svnr${SRCPV}" | ||
17 | |||
18 | inherit e-base allarch | ||
19 | |||
20 | SRCNAME = "efenniht" | ||
21 | SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ | ||
22 | file://LICENSE \ | ||
23 | " | ||
24 | S = "${WORKDIR}/${SRCNAME}" | ||
25 | |||
26 | do_compile() { | ||
27 | ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images ${S}/efenniht.edc -o ${S}/efenniht.edj | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | install -d ${D}${datadir}/enlightenment/data/themes/ | ||
32 | install -m 0644 ${S}/efenniht.edj ${D}${datadir}/enlightenment/data/themes/ | ||
33 | } | ||
34 | |||
35 | FILES_${PN} = "${datadir}/enlightenment/data/themes/" | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm.inc b/meta-efl/recipes-efl/e17/e-wm.inc new file mode 100644 index 000000000..08fe25fce --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm.inc | |||
@@ -0,0 +1,195 @@ | |||
1 | DESCRIPTION = "The Enlightenment Window Manager Version 17" | ||
2 | DEPENDS = "eet evas eina ecore edje efreet edbus eeze eio elementary libxcb xcb-util-keysyms" | ||
3 | LICENSE = "MIT BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=76de290eb3fdda12121830191c152a7d" | ||
5 | SRCNAME = "e" | ||
6 | |||
7 | inherit e update-alternatives gettext | ||
8 | S = "${WORKDIR}/${SRCNAME}" | ||
9 | |||
10 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | ||
11 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
12 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" | ||
13 | |||
14 | EXTRA_OECONF = "\ | ||
15 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
16 | --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ | ||
17 | --x-includes=${STAGING_INCDIR}/X11 \ | ||
18 | --x-libraries=${STAGING_LIBDIR} \ | ||
19 | --enable-simple-x11 \ | ||
20 | " | ||
21 | |||
22 | do_configure_prepend() { | ||
23 | autopoint || true | ||
24 | } | ||
25 | |||
26 | do_install_append() { | ||
27 | # customising - should rather make this simple upstream | ||
28 | install -m 755 ${WORKDIR}/enlightenment_start.oe ${D}/${bindir} | ||
29 | |||
30 | # security reasons, e-wm checks that in runtime | ||
31 | # xinit[418]: ERROR: CONFIGURATION FILE HAS BAD PERMISSIONS | ||
32 | chmod 600 ${D}/${sysconfdir}/enlightenment/sysactions.conf | ||
33 | |||
34 | install -d ${D}/${sysconfdir}/xdg/menus | ||
35 | install -m 644 ${WORKDIR}/applications.menu ${D}/${sysconfdir}/xdg/menus/ | ||
36 | for I in `find ${D}/${libdir}/enlightenment -name "*.a" -print`; do rm -f $I; done | ||
37 | for I in `find ${D}/${libdir}/enlightenment -name "*.la" -print`; do rm -f $I; done | ||
38 | |||
39 | # work around for issue caused in r78978, more infor in: | ||
40 | # http://sourceforge.net/mailarchive/forum.php?thread_name=20121118194904.GA3438%40jama.jama.net&forum_name=enlightenment-devel | ||
41 | mv ${D}/${libdir}/enlightenment/modules/policies ${D}/${libdir}/enlightenment/modules/illume2/ \ | ||
42 | || echo "illume2 policies are in correct place now" | ||
43 | mv ${D}/${libdir}/enlightenment/modules/keyboards ${D}/${libdir}/enlightenment/modules/illume2/ \ | ||
44 | || echo "illume2 keyboards are in correct place now" | ||
45 | } | ||
46 | |||
47 | RDEPENDS_${PN} += "\ | ||
48 | shared-mime-info \ | ||
49 | mime-support \ | ||
50 | setxkbmap \ | ||
51 | edje-utils \ | ||
52 | ${PN}-utils \ | ||
53 | dbus-x11 \ | ||
54 | " | ||
55 | |||
56 | # Uclibc build don't have 'glibc-utils' | ||
57 | RDEPENDS_${PN}_append_libc-glibc = " glibc-utils " | ||
58 | |||
59 | # The systray module used to be external, but is part of e-wm now | ||
60 | RREPLACES_${PN} = "systray" | ||
61 | |||
62 | RREPLACES_${PN}-config-mobile = "${PN}-config-illume2" | ||
63 | RCONFLICTS_${PN}-config-mobile = "${PN}-config-illume2" | ||
64 | RPROVIDES_${PN}-config-mobile = "${PN}-config-illume2" | ||
65 | |||
66 | PACKAGES =+ "\ | ||
67 | ${PN}-config-default \ | ||
68 | ${PN}-config-mobile \ | ||
69 | ${PN}-config-minimalist \ | ||
70 | ${PN}-config-netbook \ | ||
71 | ${PN}-config-scaleable \ | ||
72 | ${PN}-config-standard \ | ||
73 | ${PN}-theme-default \ | ||
74 | ${PN}-background-dark-gradient \ | ||
75 | ${PN}-background-light-gradient \ | ||
76 | ${PN}-backgrounds \ | ||
77 | ${PN}-images \ | ||
78 | ${PN}-icons \ | ||
79 | ${PN}-other \ | ||
80 | ${PN}-input-methods \ | ||
81 | ${PN}-sysactions \ | ||
82 | ${PN}-utils \ | ||
83 | ${PN}-menu \ | ||
84 | efm-desktop-icon \ | ||
85 | illume-keyboard-default-alpha \ | ||
86 | illume-keyboard-default-numeric \ | ||
87 | illume-keyboard-default-terminal \ | ||
88 | " | ||
89 | |||
90 | ESYSACTIONS ?= "${PN}-sysactions" | ||
91 | |||
92 | RRECOMMENDS_${PN} = "\ | ||
93 | ${PN}-config-default \ | ||
94 | ${PN}-images \ | ||
95 | ${PN}-icons \ | ||
96 | ${PN}-other \ | ||
97 | ${PN}-input-methods \ | ||
98 | ${ESYSACTIONS} \ | ||
99 | " | ||
100 | |||
101 | FILES_${PN} = "\ | ||
102 | ${bindir}/* \ | ||
103 | ${libdir}/enlightenment/utils/* \ | ||
104 | ${libdir}/enlightenment/modules/*/*.* \ | ||
105 | ${libdir}/enlightenment/modules/*/*/* \ | ||
106 | ${libdir}/enlightenment/modules/*/*/.order \ | ||
107 | ${libdir}/enlightenment/modules/keyboards/ignore_built_in_keyboards \ | ||
108 | ${libdir}/enlightenment/*plugins/*/*/* \ | ||
109 | ${libdir}/enlightenment/preload/e_precache.so \ | ||
110 | ${datadir}/enlightenment/data/icons \ | ||
111 | ${datadir}/enlightenment/data/favorites \ | ||
112 | ${datadir}/enlightenment/data/input_methods \ | ||
113 | ${datadir}/enlightenment/data/config/profile.cfg \ | ||
114 | ${datadir}/enlightenment/AUTHORS \ | ||
115 | ${datadir}/enlightenment/COPYING \ | ||
116 | ${datadir}/xsessions/enlightenment.desktop \ | ||
117 | ${sysconfdir}/xdg \ | ||
118 | ${systemd_unitdir} \ | ||
119 | " | ||
120 | |||
121 | FILES_${PN}-config-default = "${datadir}/enlightenment/data/config/default" | ||
122 | FILES_${PN}-config-mobile = "${datadir}/enlightenment/data/config/mobile" | ||
123 | FILES_${PN}-config-minimalist = "${datadir}/enlightenment/data/config/minimalist" | ||
124 | FILES_${PN}-config-netbook = "${datadir}/enlightenment/data/config/netbook" | ||
125 | FILES_${PN}-config-scaleable = "${datadir}/enlightenment/data/config/scaleable" | ||
126 | FILES_${PN}-config-standard = "${datadir}/enlightenment/data/config/standard" | ||
127 | FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" | ||
128 | FILES_${PN}-theme-default = "${datadir}/enlightenment/data/themes/default.edj" | ||
129 | FILES_${PN}-background-dark-gradient = "${datadir}/enlightenment/data/backgrounds/Dark_Gradient.edj" | ||
130 | FILES_${PN}-background-light-gradient = "${datadir}/enlightenment/data/backgrounds/Light_Gradient.edj" | ||
131 | FILES_${PN}-backgrounds = "${datadir}/enlightenment/data/backgrounds/*.edj" | ||
132 | FILES_${PN}-images = "${datadir}/enlightenment/data/images ${datadir}/enlightenment/data/flags" | ||
133 | FILES_${PN}-icons = "${datadir}/enlightenment/data/icons" | ||
134 | FILES_${PN}-other = "${datadir}/enlightenment/data/other" | ||
135 | FILES_${PN}-input-methods = "${datadir}/enlightenment/data/input_methods" | ||
136 | FILES_${PN}-sysactions = "${sysconfdir}/enlightenment/sysactions.conf" | ||
137 | FILES_${PN}-utils = "${libdir}/enlightenment/utils/*" | ||
138 | FILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" | ||
139 | |||
140 | FILES_efm-desktop-icon = "\ | ||
141 | ${datadir}/applications/efm.desktop \ | ||
142 | ${datadir}/applications/enlightenment_filemanager.desktop \ | ||
143 | ${datadir}/icons/e-module-fileman.png \ | ||
144 | " | ||
145 | |||
146 | KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" | ||
147 | FILES_illume-keyboard-default-alpha = "\ | ||
148 | ${KEYBOARDS_DIR}/Default.kbd \ | ||
149 | ${KEYBOARDS_DIR}/alpha.png \ | ||
150 | " | ||
151 | FILES_illume-keyboard-default-numeric = "\ | ||
152 | ${KEYBOARDS_DIR}/Numbers.kbd \ | ||
153 | ${KEYBOARDS_DIR}/numeric.png \ | ||
154 | " | ||
155 | FILES_illume-keyboard-default-terminal = "\ | ||
156 | ${KEYBOARDS_DIR}/Terminal.kbd \ | ||
157 | ${KEYBOARDS_DIR}/qwerty.png \ | ||
158 | " | ||
159 | |||
160 | RRECOMMENDS_${PN}-config-default = "${PN}-theme-default" | ||
161 | RRECOMMENDS_${PN}-config-mobile = "\ | ||
162 | illume-keyboard-default-alpha \ | ||
163 | illume-keyboard-default-numeric \ | ||
164 | illume-keyboard-default-terminal \ | ||
165 | " | ||
166 | |||
167 | RRECOMMENDS_${PN}-config-minimalist = "\ | ||
168 | ${PN}-background-light-gradient \ | ||
169 | ${PN}-theme-default \ | ||
170 | " | ||
171 | RRECOMMENDS_${PN}-config-netbook = "\ | ||
172 | ${PN}-background-dark-gradient \ | ||
173 | ${PN}-theme-default \ | ||
174 | " | ||
175 | RRECOMMENDS_${PN}-config-scaleable = "${PN}-theme-default" | ||
176 | RRECOMMENDS_${PN}-config-standard = "${PN}-theme-default" | ||
177 | |||
178 | FILES_${PN}-dbg += "\ | ||
179 | ${libdir}/enlightenment/modules/*/*/.debug/ \ | ||
180 | ${libdir}/enlightenment/modules/policies/.debug/ \ | ||
181 | ${libdir}/enlightenment/preload/.debug/ \ | ||
182 | ${libdir}/enlightenment/utils/.debug/ \ | ||
183 | ${libdir}/enlightenment/*plugins/*/*/.debug \ | ||
184 | " | ||
185 | |||
186 | FILES_${PN}-doc += "\ | ||
187 | ${datadir}/enlightenment/doc \ | ||
188 | " | ||
189 | |||
190 | CONFFILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" | ||
191 | CONFFILES_${PN}-sysactions = "/etc/enlightenment/sysactions.conf" | ||
192 | |||
193 | ALTERNATIVE_${PN} = "x-window-manager" | ||
194 | ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/enlightenment_start.oe" | ||
195 | ALTERNATIVE_PRIORITY[x-window-manager] = "16" | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm/applications.menu b/meta-efl/recipes-efl/e17/e-wm/applications.menu new file mode 100644 index 000000000..ed9b90662 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm/applications.menu | |||
@@ -0,0 +1,105 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://standards.freedesktop.org/menu-spec/menu-1.0.dtd"> | ||
3 | <Menu> | ||
4 | <Name>Applications</Name> | ||
5 | <!-- <Directory>Applications.directory</Directory> --> | ||
6 | |||
7 | <!-- Read standard .directory and .desktop file locations --> | ||
8 | <DefaultAppDirs>/usr/share/applications</DefaultAppDirs> | ||
9 | <DefaultDirectoryDirs/> | ||
10 | |||
11 | <Menu> | ||
12 | <Name>Office</Name> | ||
13 | <Directory>Office.directory</Directory> | ||
14 | <Include> | ||
15 | <And> | ||
16 | <Category>Office</Category> | ||
17 | </And> | ||
18 | </Include> | ||
19 | </Menu> | ||
20 | |||
21 | <Menu> | ||
22 | <Name>Multimedia</Name> | ||
23 | <Directory>Multimedia.directory</Directory> | ||
24 | <Include> | ||
25 | <And> | ||
26 | <Category>AudioVideo</Category> | ||
27 | </And> | ||
28 | </Include> | ||
29 | </Menu> | ||
30 | |||
31 | <Menu> | ||
32 | <Name>Graphics</Name> | ||
33 | <Directory>Graphics.directory</Directory> | ||
34 | <Include> | ||
35 | <And> | ||
36 | <Category>Graphics</Category> | ||
37 | </And> | ||
38 | </Include> | ||
39 | </Menu> | ||
40 | |||
41 | <Menu> | ||
42 | <Name>Games</Name> | ||
43 | <Directory>Games.directory</Directory> | ||
44 | <Include> | ||
45 | <And> | ||
46 | <Or> | ||
47 | <Category>Game</Category> | ||
48 | <Category>Games</Category> | ||
49 | </Or> | ||
50 | </And> | ||
51 | </Include> | ||
52 | </Menu> | ||
53 | |||
54 | <Menu> | ||
55 | <Name>Internet</Name> | ||
56 | <Directory>Internet.directory</Directory> | ||
57 | <Include> | ||
58 | <And> | ||
59 | <Or> | ||
60 | <Category>Internet</Category> | ||
61 | <Category>Network</Category> | ||
62 | </Or> | ||
63 | </And> | ||
64 | </Include> | ||
65 | </Menu> | ||
66 | |||
67 | <Menu> | ||
68 | <Name>Settings</Name> | ||
69 | <Directory>Settings.directory</Directory> | ||
70 | <Include> | ||
71 | <And> | ||
72 | <Or> | ||
73 | <Category>SystemSettings</Category> | ||
74 | <Category>Settings</Category> | ||
75 | </Or> | ||
76 | <Not> | ||
77 | <Category>System</Category> | ||
78 | </Not> | ||
79 | </And> | ||
80 | </Include> | ||
81 | </Menu> | ||
82 | |||
83 | <Menu> | ||
84 | <Name>Accessories</Name> | ||
85 | <Directory>Accessories.directory</Directory> | ||
86 | <Include> | ||
87 | <And> | ||
88 | <Or> | ||
89 | <Category>Applications</Category> | ||
90 | <Category>Utility</Category> | ||
91 | </Or> | ||
92 | <Not> | ||
93 | <Category>System</Category> | ||
94 | <Category>Office</Category> | ||
95 | <Category>Internet</Category> | ||
96 | <Category>AudioVideo</Category> | ||
97 | <Category>Graphics</Category> | ||
98 | <Category>Games</Category> | ||
99 | </Not> | ||
100 | </And> | ||
101 | </Include> | ||
102 | </Menu> | ||
103 | |||
104 | </Menu> | ||
105 | |||
diff --git a/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe b/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe new file mode 100644 index 000000000..ff8617275 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm/enlightenment_start.oe | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | E_PROFILE="" | ||
4 | if [ -r /etc/enlightenment/default_profile ]; then | ||
5 | . /etc/enlightenment/default_profile | ||
6 | fi | ||
7 | |||
8 | renice -2 -p $$ | ||
9 | exec enlightenment_start $E_PROFILE | ||
diff --git a/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb b/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb new file mode 100644 index 000000000..0e3972702 --- /dev/null +++ b/meta-efl/recipes-efl/e17/e-wm_0.18.7.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRCNAME = "enlightenment" | ||
4 | |||
5 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
6 | |||
7 | SRC_URI = "\ | ||
8 | ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
9 | file://enlightenment_start.oe \ | ||
10 | file://applications.menu \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "499b92ef38347881c72729f1e066eb20" | ||
14 | SRC_URI[sha256sum] = "1b05a1d986643a6603b1c20ac87b6864325d0aea22a3d1d096f4063b4fba2f4d" | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | sed '/^ *EFL_PKG_CHECK_VAR/ s/systemduserunitdir/systemdsystemunitdir/g' -i ${S}/configure.ac | ||
18 | } | ||
19 | |||
20 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
diff --git a/meta-efl/recipes-efl/e17/edje-viewer_svn.bb b/meta-efl/recipes-efl/e17/edje-viewer_svn.bb new file mode 100644 index 000000000..2b927a0dd --- /dev/null +++ b/meta-efl/recipes-efl/e17/edje-viewer_svn.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Edje_Viewer is just that" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
4 | file://COPYING-PLAIN;md5=e01359041001e8bf24c09acca556e792" | ||
5 | |||
6 | DEPENDS = "elementary" | ||
7 | PV = "0.0.0+svnr${SRCPV}" | ||
8 | SRCREV = "${EFL_SRCREV}" | ||
9 | |||
10 | inherit e | ||
11 | |||
12 | SRCNAME = "edje_viewer" | ||
13 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
14 | S = "${WORKDIR}/${SRCNAME}" | ||
15 | |||
16 | FILES_${PN} += "${datadir}" | ||
diff --git a/meta-efl/recipes-efl/e17/elfe_git.bb b/meta-efl/recipes-efl/e17/elfe_git.bb new file mode 100644 index 000000000..fcb97a972 --- /dev/null +++ b/meta-efl/recipes-efl/e17/elfe_git.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
3 | PV = "0.0.1+gitr${SRCPV}" | ||
4 | PE = "1" | ||
5 | |||
6 | require e-module.inc | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://git.enlightenment.org/enlightenment/modules/${BPN}.git \ | ||
10 | " | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRCREV = "1ec0e7713c3ca901014811ff78277d9e2aaac981" | ||
14 | |||
15 | DEPENDS += "elementary" | ||
diff --git a/meta-efl/recipes-efl/e17/elmdentica_svn.bb b/meta-efl/recipes-efl/e17/elmdentica_svn.bb new file mode 100644 index 000000000..94bcbac26 --- /dev/null +++ b/meta-efl/recipes-efl/e17/elmdentica_svn.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "A indenti.ca client for E" | ||
2 | DEPENDS = "glib-2.0 gconf curl elementary sqlite3-native azy" | ||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
5 | |||
6 | SECTION = "e/apps" | ||
7 | HOMEPAGE = "http://elmdentica.googlecode.com" | ||
8 | AUTHOR = "seabra" | ||
9 | |||
10 | inherit e gettext | ||
11 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
13 | |||
14 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" | ||
15 | |||
16 | PV = "0.9.9+svnr${SRCPV}" | ||
17 | SRCREV = "${EFL_SRCREV}" | ||
18 | |||
19 | RDEPENDS_${PN} = "${PN}-themes" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | autopoint --force | ||
23 | } | ||
diff --git a/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch b/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch new file mode 100644 index 000000000..09624503b --- /dev/null +++ b/meta-efl/recipes-efl/e17/enjoy/0001-always-use-position-as-percent-and-define-a-1-second.patch | |||
@@ -0,0 +1,133 @@ | |||
1 | From 751505501e0db31cf766ec0ae95a6968b4d1eb93 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alban Browaeys <prahal@yahoo.com> | ||
3 | Date: Wed, 5 Sep 2012 02:58:26 +0000 | ||
4 | Subject: [PATCH] always use position as percent and define a 1 seconds | ||
5 | tolerance. | ||
6 | |||
7 | Fix "reverb" effect: ie loop between setting the slider to match | ||
8 | the position and handling slider to position (seek). | ||
9 | --- | ||
10 | data/themes/default.edc | 8 +++----- | ||
11 | src/bin/win.c | 28 ++++++++++++++++++++++------ | ||
12 | 2 files changed, 25 insertions(+), 11 deletions(-) | ||
13 | |||
14 | diff --git a/data/themes/default.edc b/data/themes/default.edc | ||
15 | index ebf8ba4..7a906b1 100644 | ||
16 | --- a/data/themes/default.edc | ||
17 | +++ b/data/themes/default.edc | ||
18 | @@ -186,7 +186,6 @@ collections { | ||
19 | group { | ||
20 | name: "nowplaying"; | ||
21 | script { | ||
22 | - public cur_length; | ||
23 | public mute; | ||
24 | |||
25 | public get_time_str(Float:time, time_str[6]) | ||
26 | @@ -201,16 +200,15 @@ collections { | ||
27 | new Float:position = getfarg(2); | ||
28 | new Float:length = getfarg(3); | ||
29 | if (length > 0) | ||
30 | - external_param_set_float(PART:"progress.slider", "value", position / length * 100); | ||
31 | + external_param_set_float(PART:"progress.slider", "value", position * 100); | ||
32 | else | ||
33 | external_param_set_float(PART:"progress.slider", "value", 0); | ||
34 | |||
35 | new time_str[6]; | ||
36 | - get_time_str(position, time_str); | ||
37 | + get_time_str(position * length, time_str); | ||
38 | set_text(PART:"ejy.text.current_time", time_str); | ||
39 | get_time_str(length, time_str); | ||
40 | set_text(PART:"ejy.text.total_time", time_str); | ||
41 | - set_float(cur_length, length); | ||
42 | } else if (type == MSG_INT && id == MSG_SHUFFLE) { | ||
43 | external_param_set_bool(PART:"buttons.shuffle", "state", getarg(2)); | ||
44 | } else if (type == MSG_INT && id == MSG_LOOP) { | ||
45 | @@ -689,7 +687,7 @@ collections { | ||
46 | source: "progress.slider"; | ||
47 | signal: "changed"; | ||
48 | script { | ||
49 | - send_message(MSG_FLOAT, MSG_POSITION, (external_param_get_float(PART:"progress.slider", "value") * get_float(cur_length) / 100)); | ||
50 | + send_message(MSG_FLOAT, MSG_POSITION, (external_param_get_float(PART:"progress.slider", "value") / 100)); | ||
51 | } | ||
52 | } | ||
53 | program { | ||
54 | diff --git a/src/bin/win.c b/src/bin/win.c | ||
55 | index 2f65953..428e268 100644 | ||
56 | --- a/src/bin/win.c | ||
57 | +++ b/src/bin/win.c | ||
58 | @@ -194,8 +194,8 @@ _win_play_eval(Win *w) | ||
59 | { | ||
60 | Edje_Message_Float_Set *mf; | ||
61 | |||
62 | - w->play.position = emotion_object_position_get(w->emotion); | ||
63 | w->play.length = emotion_object_play_length_get(w->emotion); | ||
64 | + w->play.position = emotion_object_position_get(w->emotion) / w->play.length; | ||
65 | |||
66 | if ((w->song) && (w->song->length != (int)w->play.length)) | ||
67 | db_song_length_set(w->db, w->song, w->play.length); | ||
68 | @@ -542,8 +542,14 @@ _win_edje_msg(void *data, Evas_Object *o __UNUSED__, Edje_Message_Type type, int | ||
69 | else | ||
70 | { | ||
71 | Edje_Message_Float *m = msg; | ||
72 | + | ||
73 | + if ((((m->val - w->play.position) * w->play.length) < 1.0) | ||
74 | + && (((w->play.position - m->val) * w->play.length) < 1.0)) | ||
75 | + return; | ||
76 | + | ||
77 | w->play.position = m->val; | ||
78 | - emotion_object_position_set(w->emotion, w->play.position); | ||
79 | + emotion_object_position_set(w->emotion, w->play.position | ||
80 | + * w->play.length); | ||
81 | ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); | ||
82 | } | ||
83 | break; | ||
84 | @@ -617,16 +623,21 @@ enjoy_control_seek(uint64_t position) | ||
85 | { | ||
86 | Win *w = &_win; | ||
87 | double seek_to; | ||
88 | + double new_pos = w->play.length / ((double)position / 1e6); | ||
89 | |||
90 | if (!w->db) return; | ||
91 | - seek_to = w->play.position + w->play.length / ((double)position / 1e6); | ||
92 | + | ||
93 | + if ((((new_pos - w->play.position) * w->play.length) < 1.0) | ||
94 | + && (((w->play.position - new_pos) * w->play.length) < 1.0)) return; | ||
95 | + | ||
96 | + seek_to = w->play.position + new_pos; | ||
97 | if (seek_to <= 0.0) | ||
98 | seek_to = 0.0; | ||
99 | else if (seek_to >= 1.0) | ||
100 | seek_to = 1.0; | ||
101 | |||
102 | w->play.position = seek_to; | ||
103 | - emotion_object_position_set(w->emotion, w->play.position); | ||
104 | + emotion_object_position_set(w->emotion, w->play.position * w->play.length); | ||
105 | ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); | ||
106 | } | ||
107 | |||
108 | @@ -692,15 +703,20 @@ EAPI void | ||
109 | enjoy_position_set(int32_t position) | ||
110 | { | ||
111 | Win *w = &_win; | ||
112 | + double new_pos = w->play.length / ((double)position / 1e6); | ||
113 | |||
114 | if (!w->db) return; | ||
115 | - w->play.position = w->play.length / ((double)position / 1e6); | ||
116 | + | ||
117 | + if ((((new_pos - w->play.position) * w->play.length) < 1.0) | ||
118 | + && (((w->play.position - new_pos) * w->play.length) < 1.0)) return; | ||
119 | + | ||
120 | + w->play.position = new_pos; | ||
121 | if (w->play.position < 0.0) | ||
122 | w->play.position = 0.0; | ||
123 | else if (w->play.position > 1.0) | ||
124 | w->play.position = 1.0; | ||
125 | |||
126 | - emotion_object_position_set(w->emotion, w->play.position); | ||
127 | + emotion_object_position_set(w->emotion, w->play.position * w->play.length); | ||
128 | ecore_event_add(ENJOY_EVENT_POSITION_CHANGE, NULL, NULL, NULL); | ||
129 | } | ||
130 | |||
131 | -- | ||
132 | 1.8.5.2 | ||
133 | |||
diff --git a/meta-efl/recipes-efl/e17/enjoy_git.bb b/meta-efl/recipes-efl/e17/enjoy_git.bb new file mode 100644 index 000000000..bc3168e6a --- /dev/null +++ b/meta-efl/recipes-efl/e17/enjoy_git.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Enjoy music player" | ||
2 | LICENSE = "LGPLv3" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
4 | DEPENDS = "evas ecore edje elementary emotion lightmediascanner eldbus gst-plugins-good" | ||
5 | |||
6 | SRCREV = "aa8fec69e885eec048a849c2b34059ec58404e02" | ||
7 | PV = "0.1.0+gitr${SRCPV}" | ||
8 | |||
9 | #1st needed for all formats | ||
10 | #2nd needed for mp3 playback | ||
11 | #3d needed for ogg playback | ||
12 | #4th needed for flac playback | ||
13 | #5th needed binary to create db | ||
14 | RDEPENDS_${PN} += "\ | ||
15 | gst-plugins-base-typefindfunctions gst-plugins-base-playbin gst-plugins-base-volume gst-plugins-base-decodebin2 gst-plugins-good-autodetect \ | ||
16 | gst-plugins-base-ogg gst-plugins-base-ivorbisdec \ | ||
17 | gst-plugins-good-flac \ | ||
18 | lightmediascanner-test \ | ||
19 | " | ||
20 | |||
21 | inherit e gettext | ||
22 | SRC_URI = " \ | ||
23 | git://git.enlightenment.org/apps/enjoy.git \ | ||
24 | file://0001-always-use-position-as-percent-and-define-a-1-second.patch \ | ||
25 | " | ||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | FILES_${PN} += "${datadir}/icons/" | ||
29 | |||
30 | EXTRA_OECONF = "\ | ||
31 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
32 | " | ||
33 | |||
34 | PACKAGECONFIG[mad] = ",,gst-plugins-ugly,gst-plugins-ugly-mad" | ||
35 | PACKAGECONFIG[id3demux] = ",,,gst-plugins-good-id3demux" | ||
36 | |||
37 | do_configure_prepend() { | ||
38 | autopoint || touch config.rpath | ||
39 | } | ||
40 | |||
41 | pkg_postinst_${PN} () { | ||
42 | echo "enjoy: SCAN and LIBRARY MANAGER are not implemeted yet!" | ||
43 | echo "enjoy: Meanwhile please run:" | ||
44 | echo "enjoy: test-lms -m mono -p id3 -i 5000 -s /path/to/your/music/dir /home/root/.config/enjoy/media.db" | ||
45 | echo "enjoy:" | ||
46 | echo "enjoy: Use test-lms -P to see available formats that can be scanned" | ||
47 | } | ||
diff --git a/meta-efl/recipes-efl/e17/ephoto_svn.bb b/meta-efl/recipes-efl/e17/ephoto_svn.bb new file mode 100644 index 000000000..def68aff7 --- /dev/null +++ b/meta-efl/recipes-efl/e17/ephoto_svn.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | LICENSE = "MIT GPL-3.0" | ||
2 | PV = "0.1.0+svnr${SRCREV}" | ||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fdffcddb366d0cc78e0e46c4ea70c8d9 \ | ||
6 | file://COPYING.icons;md5=8f0e2cd40e05189ec81232da84bd6e1a" | ||
7 | |||
8 | require e-module.inc | ||
9 | |||
10 | inherit gettext | ||
11 | |||
12 | DEPENDS += "elementary ethumb ecore eio" | ||
13 | |||
14 | SRCNAME = "${PN}" | ||
diff --git a/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch b/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch new file mode 100644 index 000000000..a3c5cdaaa --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve/0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch | |||
@@ -0,0 +1,102 @@ | |||
1 | From 203aabbb95a98fa455363f78ff07e2ed217b0086 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net> | ||
3 | Date: Wed, 17 Nov 2010 16:38:47 +0100 | ||
4 | Subject: [PATCH 1/2] eve: theme updated for Openmoko Freerunner screen | ||
5 | |||
6 | --- | ||
7 | data/themes/default.edc | 24 +++++++++++------------- | ||
8 | 1 file changed, 11 insertions(+), 13 deletions(-) | ||
9 | |||
10 | diff --git a/data/themes/default.edc b/data/themes/default.edc | ||
11 | index feeac4f..848ca5c 100644 | ||
12 | --- a/data/themes/default.edc | ||
13 | +++ b/data/themes/default.edc | ||
14 | @@ -1,8 +1,8 @@ | ||
15 | -#define TOP_PANEL_HEIGHT 64 | ||
16 | +#define TOP_PANEL_HEIGHT 80 | ||
17 | #define BOTTOM_PANEL_HEIGHT 85 | ||
18 | #define TOOLBAR_ITEMS 5 | ||
19 | #define TOOLBAR_MIDDLE_ITEM 3 | ||
20 | -#define TOOLBAR_ITEM_SIZE 90 | ||
21 | +#define TOOLBAR_ITEM_SIZE 87 | ||
22 | #define URLBAR_ITEM_SIZE 40 | ||
23 | |||
24 | #define TOOLBAR_POSITION(_item_number) ((_item_number)*(TOOLBAR_ITEM_SIZE)-((TOOLBAR_ITEM_SIZE)*(TOOLBAR_MIDDLE_ITEM))) | ||
25 | @@ -295,7 +295,6 @@ collections { | ||
26 | type: RECT; | ||
27 | description { state: "default" 0.0; | ||
28 | color: 0 0 0 255; | ||
29 | - min: 240 320; | ||
30 | } | ||
31 | } | ||
32 | } | ||
33 | @@ -526,7 +525,6 @@ collections { | ||
34 | type: RECT; | ||
35 | description { state: "default" 0.0; | ||
36 | color: 0 0 0 255; | ||
37 | - min: 240 320; | ||
38 | } | ||
39 | } | ||
40 | part { name: "view"; | ||
41 | @@ -920,17 +918,17 @@ collections { | ||
42 | type: IMAGE; | ||
43 | description { state: "default" 0.0; | ||
44 | visible: 0; | ||
45 | - min: 30 27; | ||
46 | - max: 30 27; | ||
47 | + min: 80 78; | ||
48 | + max: 80 78; | ||
49 | fixed: 1 1; | ||
50 | image.normal: "panel-top-triangle.png"; | ||
51 | rel1 { | ||
52 | relative: 1.0 0.0; | ||
53 | - offset: 60 60; | ||
54 | + offset: 0 0; | ||
55 | } | ||
56 | rel2 { | ||
57 | relative: 1.0 0.0; | ||
58 | - offset: 60 60; | ||
59 | + offset: 0 0; | ||
60 | } | ||
61 | } | ||
62 | description { state: "visible" 0.0; | ||
63 | @@ -939,11 +937,11 @@ collections { | ||
64 | image.normal: "panel-top-triangle.png"; | ||
65 | rel1 { | ||
66 | relative: 1.0 0.0; | ||
67 | - offset: -15 13; | ||
68 | + offset: -40 38; | ||
69 | } | ||
70 | rel2 { | ||
71 | relative: 1.0 0.0; | ||
72 | - offset: -15 13; | ||
73 | + offset: -40 38; | ||
74 | } | ||
75 | } | ||
76 | description { state: "pressed" 0.0; | ||
77 | @@ -1033,11 +1031,11 @@ collections { | ||
78 | rel2 { | ||
79 | to_y: "panel-top"; | ||
80 | relative: 1.0 0.0; | ||
81 | - offset: -1 24; | ||
82 | + offset: -1 26; | ||
83 | } | ||
84 | text { | ||
85 | font: "Sans,Edje-Vera"; | ||
86 | - size: 8; | ||
87 | + size: 11; | ||
88 | text: "Untitled"; | ||
89 | min: 0 1; | ||
90 | align: 0.5 0.5; | ||
91 | @@ -1053,7 +1051,7 @@ collections { | ||
92 | rel1 { | ||
93 | to_y: "panel-top"; | ||
94 | relative: 0.0 0.0; | ||
95 | - offset: (URLBAR_ITEM_SIZE+20) 68; | ||
96 | + offset: (URLBAR_ITEM_SIZE+20) 70; | ||
97 | } | ||
98 | rel2 { | ||
99 | to_y: "panel-top"; | ||
100 | -- | ||
101 | 1.9.1 | ||
102 | |||
diff --git a/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch b/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch new file mode 100644 index 000000000..4b5e64ee5 --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve/0002-adapt-to-webkit-efl-changes.patch | |||
@@ -0,0 +1,109 @@ | |||
1 | From c1cb2a7b6d8b4661fde442ea4725df6842a94816 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Fri, 18 Apr 2014 11:52:18 +0200 | ||
4 | Subject: [PATCH 2/2] adapt to webkit-efl changes | ||
5 | |||
6 | WIP: just fixes the build, probably doesn't render correctly | ||
7 | |||
8 | https://trac.webkit.org/changeset/164168 | ||
9 | removed cairo.h from public headers and ewk_view_paint_contents | ||
10 | |||
11 | https://trac.webkit.org/changeset/162581 | ||
12 | removed ewk_view_pre_render methods (with whole tiled support) | ||
13 | |||
14 | https://git.enlightenment.org/core/elementary.git/commit/?id=0e465290be2016f12adcbc8c8d74645b3e6a1d9a | ||
15 | ewk_view_tiled_smart_set is gone and ewk_view_single_smart_set is | ||
16 | ewk_view_smart_set | ||
17 | |||
18 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
19 | --- | ||
20 | src/bin/chrome.c | 4 +++- | ||
21 | src/bin/view.c | 22 +++++++--------------- | ||
22 | 2 files changed, 10 insertions(+), 16 deletions(-) | ||
23 | |||
24 | diff --git a/src/bin/chrome.c b/src/bin/chrome.c | ||
25 | index ee8f0c4..b46b29d 100644 | ||
26 | --- a/src/bin/chrome.c | ||
27 | +++ b/src/bin/chrome.c | ||
28 | @@ -5,6 +5,8 @@ | ||
29 | #include <stdio.h> | ||
30 | #include <string.h> | ||
31 | |||
32 | +#include <cairo.h> | ||
33 | + | ||
34 | #include <Eina.h> | ||
35 | #include <Elementary.h> | ||
36 | |||
37 | @@ -1997,7 +1999,7 @@ view_screenshot_add(Evas *evas, const Evas_Object *view) | ||
38 | if (cairo_status(cairo) != CAIRO_STATUS_SUCCESS) | ||
39 | goto error_cairo_create; | ||
40 | |||
41 | - if (!ewk_view_paint_contents(priv, cairo, &rect)) | ||
42 | + if (!ewk_view_screenshot_contents_get(priv, &rect, 1)) | ||
43 | { | ||
44 | evas_object_del(img); | ||
45 | img = NULL; | ||
46 | diff --git a/src/bin/view.c b/src/bin/view.c | ||
47 | index 54de6c1..2b07511 100644 | ||
48 | --- a/src/bin/view.c | ||
49 | +++ b/src/bin/view.c | ||
50 | @@ -335,7 +335,7 @@ _view_load_finished(void *data, Evas_Object *view, void *event_info __UNUSED__) | ||
51 | h *= 2; | ||
52 | |||
53 | INF("load finished, pre-render %d,%d+%dx%d at %0.2f", x, y, w, h, zoom); | ||
54 | - ewk_view_pre_render_region(view, x, y, w, h, zoom); | ||
55 | + //ewk_view_pre_render_region(view, x, y, w, h, zoom); | ||
56 | } | ||
57 | |||
58 | /* stop animators, we changed page */ | ||
59 | @@ -435,7 +435,7 @@ _view_pan_pre_render(View_Smart_Data *sd, Evas_Coord dx, Evas_Coord dy) | ||
60 | |||
61 | INF("pre-render region %d,%d+%dx%d at %0.2f (viewport=%d,%d+%dx%d)", | ||
62 | px, py, pw, ph, zoom, x, y, w, h); | ||
63 | - ewk_view_pre_render_region(sd->base.self, px, py, pw, ph, zoom); | ||
64 | + //ewk_view_pre_render_region(sd->base.self, px, py, pw, ph, zoom); | ||
65 | } | ||
66 | |||
67 | static unsigned int | ||
68 | @@ -611,7 +611,7 @@ _view_pan_start(View_Smart_Data *sd, const Evas_Event_Mouse_Down *ev) | ||
69 | |||
70 | sd->pan.last_move = *p; | ||
71 | |||
72 | - ewk_view_pre_render_cancel(sd->base.self); | ||
73 | + //ewk_view_pre_render_cancel(sd->base.self); | ||
74 | |||
75 | /* register function to collect samples and apply scrolls at fixed interval*/ | ||
76 | if (!sd->animator.pan) | ||
77 | @@ -816,7 +816,7 @@ _view_zoom_start(View_Smart_Data *sd, const Evas_Event_Mouse_Down *ev) | ||
78 | Evas_Coord cw, ch, vw, vh; | ||
79 | float z, zx, zy; | ||
80 | |||
81 | - ewk_view_pre_render_cancel(sd->base.self); | ||
82 | + //ewk_view_pre_render_cancel(sd->base.self); | ||
83 | |||
84 | /* remember starting point so we have a reference */ | ||
85 | sd->zoom.start.zoom = ewk_frame_page_zoom_get(frame); | ||
86 | @@ -1512,17 +1512,9 @@ view_add(Evas_Object *parent, Backing_Store bs) | ||
87 | /* create ewk_view_single subclass, this is done only once! */ | ||
88 | static Ewk_View_Smart_Class api = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION("EWK_View_Demo"); | ||
89 | |||
90 | - /* set current and parent apis to vanilla ewk_view_single methods */ | ||
91 | - if (bs == BACKING_STORE_TILED) | ||
92 | - { | ||
93 | - ewk_view_tiled_smart_set(&api); | ||
94 | - ewk_view_tiled_smart_set(&_parent_sc); | ||
95 | - } | ||
96 | - else | ||
97 | - { | ||
98 | - ewk_view_single_smart_set(&api); | ||
99 | - ewk_view_single_smart_set(&_parent_sc); | ||
100 | - } | ||
101 | + /* set current and parent apis to vanilla ewk_view methods */ | ||
102 | + ewk_view_smart_set(&api); | ||
103 | + ewk_view_smart_set(&_parent_sc); | ||
104 | |||
105 | /* override methods we want custom behavior */ | ||
106 | api.sc.add = _view_smart_add; | ||
107 | -- | ||
108 | 1.9.1 | ||
109 | |||
diff --git a/meta-efl/recipes-efl/e17/eve_git.bb b/meta-efl/recipes-efl/e17/eve_git.bb new file mode 100644 index 000000000..7879d6a8f --- /dev/null +++ b/meta-efl/recipes-efl/e17/eve_git.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Enlightenment Web Browser" | ||
2 | LICENSE = "LGPLv3" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
4 | DEPENDS = "evas ecore edje elementary webkit-efl eldbus" | ||
5 | |||
6 | PE = "1" | ||
7 | PV = "0.3.0+gitr${SRCPV}" | ||
8 | SRCREV = "7bd6549982f4fc5e26e5d11e6c536601358892e3" | ||
9 | |||
10 | # webkit-efl isn't available for < armv7a | ||
11 | COMPATIBLE_MACHINE = "(-)" | ||
12 | COMPATIBLE_MACHINE_i586 = "(.*)" | ||
13 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | ||
14 | COMPATIBLE_MACHINE_armv7a = "(.*)" | ||
15 | |||
16 | inherit e gettext | ||
17 | SRC_URI = " \ | ||
18 | git://git.enlightenment.org/apps/${BPN}.git \ | ||
19 | file://0001-eve-theme-updated-for-Openmoko-Freerunner-screen.patch \ | ||
20 | file://0002-adapt-to-webkit-efl-changes.patch \ | ||
21 | " | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | autopoint || touch config.rpath | ||
26 | } | ||
27 | |||
28 | EXTRA_OECONF = "\ | ||
29 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
30 | " | ||
31 | |||
32 | FILES_${PN} += "\ | ||
33 | ${datadir}/icons/eve.png \ | ||
34 | " | ||
diff --git a/meta-efl/recipes-efl/e17/exalt-client_svn.bb b/meta-efl/recipes-efl/e17/exalt-client_svn.bb new file mode 100644 index 000000000..b8c204d01 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exalt-client_svn.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | LICENSE = "LGPL-2.0" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
3 | |||
4 | PV = "0.0.1+svnr${SRCPV}" | ||
5 | |||
6 | require e-module.inc | ||
7 | |||
8 | DEPENDS += "elementary exalt edje-native" | ||
9 | |||
10 | CFLAGS += " -I${STAGING_INCDIR}/exalt -I${STAGING_INCDIR}/exalt_dbus" | ||
11 | |||
12 | do_configure_prepend() { | ||
13 | sed -i -e /po/d configure.ac | ||
14 | sed -i -e s:\ po::g Makefile.am | ||
15 | } | ||
16 | |||
17 | FILES_${PN} += "${libdir}/enlightenment/modules/*/*.desktop \ | ||
18 | ${libdir}/enlightenment/modules/*/*.edj \ | ||
19 | ${libdir}/enlightenment/modules/*/*/*.so" | ||
20 | |||
21 | FILES_${PN}-staticdev += "${libdir}/enlightenment/modules/*/*/*.a" | ||
22 | FILES_${PN}-dev += "${libdir}/enlightenment/modules/*/*/*.la" | ||
23 | FILES_${PN}-dbg += "${libdir}/enlightenment/modules/*/*/.debug" | ||
24 | |||
25 | |||
diff --git a/meta-efl/recipes-efl/e17/exalt_svn.bb b/meta-efl/recipes-efl/e17/exalt_svn.bb new file mode 100644 index 000000000..2993f5c91 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exalt_svn.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Exalt is a network manager for the windows manager Enlightenment DR17" | ||
2 | HOMEPAGE = "http://watchwolf.fr/wiki/doku.php?id=exalt" | ||
3 | |||
4 | LICENSE = "LGPLv2.1" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
6 | |||
7 | DEPENDS = "elementary vpnc wpa-supplicant ecore eet edbus" | ||
8 | RDEPENDS_${PN} = "vpnc wpa-supplicant" | ||
9 | |||
10 | PV = "0.9+svnr${SRCPV}" | ||
11 | SRCREV = "${EFL_SRCREV}" | ||
12 | |||
13 | inherit e | ||
14 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
15 | S = "${WORKDIR}/${SRCNAME}" | ||
16 | |||
17 | EXTRA_OECONF = " \ | ||
18 | --with-wpa_supplicant=${sbindir}/wpa_supplicant \ | ||
19 | --with-vpnc=${sbindir}/vpnc \ | ||
20 | --with-vpnc-disconnect=${sbindir}/vpnc-disconnect \ | ||
21 | " | ||
22 | |||
23 | do_install_append() { | ||
24 | # install dbus config file | ||
25 | install -d ${D}${sysconfdir}/dbus-1/system.d/ | ||
26 | install -m 0644 data/daemon/dbus/exalt.conf ${D}${sysconfdir}/dbus-1/system.d/exalt.conf | ||
27 | |||
28 | # install dbus service file | ||
29 | install -d ${D}${datadir}/dbus-1/system-services/ | ||
30 | install -m 0644 org.e.Exalt.service ${D}${datadir}/dbus-1/system-services/ | ||
31 | } | ||
32 | |||
33 | FILES_${PN} += "${datadir}/dbus-1" | ||
34 | |||
diff --git a/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb b/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb new file mode 100644 index 000000000..5948e2073 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DDESCRIPTION = "A theme for exquisite" | ||
2 | LICENSE = "MIT BSD" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" | ||
4 | SECTION = "x11" | ||
5 | DEPENDS = "edje-native" | ||
6 | PV = "1.0+svnr${SRCPV}" | ||
7 | SRCREV = "${EFL_SRCREV}" | ||
8 | |||
9 | inherit e-base update-alternatives allarch | ||
10 | |||
11 | ALTERNATIVE_NAME = "exquisite-config" | ||
12 | ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config" | ||
13 | ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-illume" | ||
14 | ALTERNATIVE_PRIORITY = "10" | ||
15 | |||
16 | SRCNAME = "b_and_w" | ||
17 | |||
18 | SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ | ||
19 | file://LICENSE \ | ||
20 | " | ||
21 | S = "${WORKDIR}/${SRCNAME}" | ||
22 | |||
23 | do_compile() { | ||
24 | ${STAGING_BINDIR_NATIVE}/edje_cc exquisite.edc illume.edj | ||
25 | } | ||
26 | |||
27 | do_install() { | ||
28 | install -d ${D}${sysconfdir}/exquisite | ||
29 | install -d ${D}${datadir}/exquisite/data/themes | ||
30 | install -m 0644 ${S}/illume.edj ${D}${datadir}/exquisite/data/themes/ | ||
31 | echo 'THEME="-t illume"' > ${D}${sysconfdir}/exquisite/config-illume | ||
32 | } | ||
33 | |||
34 | CONFFILES_${PN} = "${sysconfdir}/exquisite/config-illume" | ||
35 | FILES_${PN} = "${sysconfdir}/exquisite ${datadir}/exquisite/data/themes" | ||
diff --git a/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE b/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite-theme-illume/LICENSE | |||
@@ -0,0 +1,25 @@ | |||
1 | Copyright notice for Enlightenment: | ||
2 | |||
3 | Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) | ||
4 | |||
5 | All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are met: | ||
9 | |||
10 | 1. Redistributions of source code must retain the above copyright | ||
11 | notice, this list of conditions and the following disclaimer. | ||
12 | 2. Redistributions in binary form must reproduce the above copyright | ||
13 | notice, this list of conditions and the following disclaimer in the | ||
14 | documentation and/or other materials provided with the distribution. | ||
15 | |||
16 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
17 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
18 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
19 | COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
20 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
21 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
22 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
23 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
24 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
25 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/meta-efl/recipes-efl/e17/exquisite/exquisite-init b/meta-efl/recipes-efl/e17/exquisite/exquisite-init new file mode 100644 index 000000000..2de6774ff --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite/exquisite-init | |||
@@ -0,0 +1,40 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | for x in $(cat /proc/cmdline); do | ||
4 | case $x in | ||
5 | splash=false) | ||
6 | echo "Splash Disabled" | ||
7 | exit 0; | ||
8 | ;; | ||
9 | esac | ||
10 | done | ||
11 | |||
12 | . /etc/init.d/functions | ||
13 | |||
14 | ### Default config here - gets overriden later | ||
15 | THEME="-t default" | ||
16 | FPS="-fps 30" | ||
17 | ### Override config - if there is a config file - load it. | ||
18 | if test -f /etc/exquisite/config; then | ||
19 | . /etc/exquisite/config | ||
20 | fi | ||
21 | |||
22 | args='' | ||
23 | case `machine_id` in | ||
24 | "hp_ipaq_h3100"|"hp_ipaq_h3800") | ||
25 | args='-rot 90' ;; | ||
26 | "hp_ipaq_3600"|"hp_ipaq_3700"|"hp_ipaq_h3900"|"htc_universal"|*collie|*poodle|*akita|*spitz|*borzoi) | ||
27 | args='-rot 270' ;; | ||
28 | esac | ||
29 | args=$args" $FPS $THEME" | ||
30 | |||
31 | export EXDIR=/mnt/.splash | ||
32 | export EXQUISITE_IPC=$EXDIR/exquisite | ||
33 | mount tmpfs -t tmpfs $EXDIR -o,size=40k | ||
34 | exquisite -fb -fs $args & | ||
35 | |||
36 | exquisite-write -wait 120 | ||
37 | exquisite-write "PULSATE" | ||
38 | setterm -blank 0 | ||
39 | setterm -powersave off | ||
40 | setterm -powerdown 0 | ||
diff --git a/meta-efl/recipes-efl/e17/exquisite/splashfuncs b/meta-efl/recipes-efl/e17/exquisite/splashfuncs new file mode 100644 index 000000000..ada2a96dd --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite/splashfuncs | |||
@@ -0,0 +1,29 @@ | |||
1 | status() { | ||
2 | if type splash-write >/dev/null 2>&1; then | ||
3 | (TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) & | ||
4 | fi | ||
5 | } | ||
6 | |||
7 | status_position() { | ||
8 | status "PROGRESS $1" | ||
9 | } | ||
10 | |||
11 | status_title() { | ||
12 | status "TITLE $1" | ||
13 | } | ||
14 | |||
15 | status_text() { | ||
16 | if test -n "$1"; then | ||
17 | status "MSG $1" | ||
18 | else | ||
19 | status "CLEAR" | ||
20 | fi | ||
21 | } | ||
22 | |||
23 | status_pulse() { | ||
24 | status "PULSATE" | ||
25 | } | ||
26 | |||
27 | status_tick() { | ||
28 | status "TICK" | ||
29 | } | ||
diff --git a/meta-efl/recipes-efl/e17/exquisite_svn.bb b/meta-efl/recipes-efl/e17/exquisite_svn.bb new file mode 100644 index 000000000..dc46a94ab --- /dev/null +++ b/meta-efl/recipes-efl/e17/exquisite_svn.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "A psplash replacement for display" | ||
2 | LICENSE = "MIT BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=14defa372a91118e755133bc8e6aff83" | ||
4 | DEPENDS = "eet evas ecore embryo edje" | ||
5 | PV = "0.0.1+svnr${SRCPV}" | ||
6 | SRCREV = "${EFL_SRCREV}" | ||
7 | RRECOMMENDS_${PN} = "exquisite-themes" | ||
8 | RCONFLICTS_${PN} = "psplash virtual-psplash" | ||
9 | |||
10 | SRCNAME = "exquisite" | ||
11 | |||
12 | inherit e | ||
13 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
14 | S = "${WORKDIR}/${SRCNAME}" | ||
15 | |||
16 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" | ||
17 | |||
18 | SRC_URI += "file://exquisite-init" | ||
19 | SRC_URI += "file://splashfuncs" | ||
20 | |||
21 | inherit update-rc.d | ||
22 | |||
23 | do_install_prepend() { | ||
24 | install -d ${D}/mnt/.splash/ | ||
25 | install -d ${D}${sysconfdir}/init.d | ||
26 | install -m 0755 ${WORKDIR}/exquisite-init ${D}${sysconfdir}/init.d/exquisite | ||
27 | install -d ${D}${sysconfdir}/default | ||
28 | install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs | ||
29 | install -d ${D}${bindir} | ||
30 | ln -s exquisite-write ${D}${bindir}/splash-write | ||
31 | } | ||
32 | |||
33 | |||
34 | do_install_append() { | ||
35 | rm -rf ${D}${datadir}/exquisite/data/fonts/* | ||
36 | } | ||
37 | |||
38 | INITSCRIPT_NAME = "exquisite" | ||
39 | INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ." | ||
40 | |||
41 | FILES_${PN} += "/mnt/.splash/" | ||
diff --git a/meta-efl/recipes-efl/e17/flame_svn.bb b/meta-efl/recipes-efl/e17/flame_svn.bb new file mode 100644 index 000000000..97683ddb0 --- /dev/null +++ b/meta-efl/recipes-efl/e17/flame_svn.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
3 | file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" | ||
4 | |||
5 | PV = "0.0.3+svnr${SRCPV}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | require e-module.inc | ||
9 | |||
10 | do_configure_prepend() { | ||
11 | sed -i -e /po/d configure.ac | ||
12 | sed -i -e s:\ po::g Makefile.am | ||
13 | } | ||
14 | |||
15 | |||
16 | |||
diff --git a/meta-efl/recipes-efl/e17/forecasts_svn.bb b/meta-efl/recipes-efl/e17/forecasts_svn.bb new file mode 100644 index 000000000..a03095223 --- /dev/null +++ b/meta-efl/recipes-efl/e17/forecasts_svn.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
3 | file://COPYING-PLAIN;md5=51328cfb73bfec3eed7cfd3dbed73988" | ||
4 | |||
5 | PV = "0.2.0+svnr${SRCREV}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | require e-module.inc | ||
9 | |||
10 | |||
11 | |||
12 | |||
diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch b/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch new file mode 100644 index 000000000..b18a69b0b --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr/0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 9316e3973c44b981e73b953b2861060c6902de47 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Mon, 23 Aug 2010 12:54:05 +0200 | ||
4 | Subject: [PATCH] Makefile: update KEYBOARDS_DIR for new illume2 | ||
5 | |||
6 | --- | ||
7 | Makefile | 2 +- | ||
8 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index 46e9420..3d8757c 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -1,5 +1,5 @@ | ||
15 | |||
16 | -INSTBASE = /usr/lib/enlightenment/modules/illume/keyboards | ||
17 | +INSTBASE = /usr/lib/enlightenment/modules/illume-keyboard/keyboards | ||
18 | |||
19 | FILES-arabic = Arabic.kbd Arabic.png | ||
20 | FILES-persian = Persian.kbd Persian.png | ||
21 | -- | ||
22 | 1.7.2 | ||
23 | |||
diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE b/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr/LICENSE | |||
@@ -0,0 +1,25 @@ | |||
1 | Copyright notice for Enlightenment: | ||
2 | |||
3 | Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) | ||
4 | |||
5 | All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are met: | ||
9 | |||
10 | 1. Redistributions of source code must retain the above copyright | ||
11 | notice, this list of conditions and the following disclaimer. | ||
12 | 2. Redistributions in binary form must reproduce the above copyright | ||
13 | notice, this list of conditions and the following disclaimer in the | ||
14 | documentation and/or other materials provided with the distribution. | ||
15 | |||
16 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
17 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
18 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
19 | COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
20 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
21 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
22 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
23 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
24 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
25 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb b/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb new file mode 100644 index 000000000..55f3282b7 --- /dev/null +++ b/meta-efl/recipes-efl/e17/illume-keyboards-shr_git.bb | |||
@@ -0,0 +1,98 @@ | |||
1 | SECTION = "x11/data" | ||
2 | |||
3 | SRC_URI = "git://git.shr-project.org/repo/illume-keyboards.git;protocol=http;branch=master \ | ||
4 | file://0001-Makefile-update-KEYBOARDS_DIR-for-new-illume2.patch \ | ||
5 | file://LICENSE" | ||
6 | S = "${WORKDIR}/git" | ||
7 | |||
8 | SRCREV = "4064489f359a1addf572089b582f317dff5f50e1" | ||
9 | PV = "0.0+gitr${SRCPV}" | ||
10 | PE = "1" | ||
11 | PR = "r5" | ||
12 | LICENSE = "MIT BSD" | ||
13 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" | ||
14 | |||
15 | PACKAGES = "\ | ||
16 | illume-keyboard-alpha \ | ||
17 | illume-keyboard-arabic \ | ||
18 | illume-keyboard-browse \ | ||
19 | illume-keyboard-danish \ | ||
20 | illume-keyboard-default-alt \ | ||
21 | illume-keyboard-dutch \ | ||
22 | illume-keyboard-dvorak \ | ||
23 | illume-keyboard-finnish \ | ||
24 | illume-keyboard-french \ | ||
25 | illume-keyboard-german \ | ||
26 | illume-keyboard-hebrew \ | ||
27 | illume-keyboard-numeric-alt \ | ||
28 | illume-keyboard-russian \ | ||
29 | illume-keyboard-russian-terminal \ | ||
30 | illume-keyboard-persian \ | ||
31 | " | ||
32 | |||
33 | inherit allarch | ||
34 | KEYBOARDS_DIR="${libdir}/enlightenment/modules/illume-keyboard/keyboards" | ||
35 | |||
36 | AUTHOR_illume-keyboard-alpha = "Jesus McCloud" | ||
37 | DESCRIPTION_illume-keyboard-alpha = "Illume keyboard with phone-like layout" | ||
38 | FILES_illume-keyboard-alpha = "${KEYBOARDS_DIR}/Alpha.kbd" | ||
39 | |||
40 | AUTHOR_illume-keyboard-arabic = "Mohammad Fahmi / Tom Hacohen" | ||
41 | DESCRIPTION_illume-keyboard-arabic = "Illume keyboard with arabic layout" | ||
42 | FILES_illume-keyboard-arabic = "${KEYBOARDS_DIR}/Arabic.kbd ${KEYBOARDS_DIR}/Arabic.png" | ||
43 | |||
44 | AUTHOR_illume-keyboard-browse = "Pander" | ||
45 | DESCRIPTION_illume-keyboard-browse = "Illume keyboard with a layout optimized for browsing" | ||
46 | FILES_illume-keyboard-browse = "${KEYBOARDS_DIR}/Browse.kbd ${KEYBOARDS_DIR}/end-browse.png ${KEYBOARDS_DIR}/pagedown-browse.png ${KEYBOARDS_DIR}/browse.png ${KEYBOARDS_DIR}/home-browse.png ${KEYBOARDS_DIR}/pageup-browse.png ${KEYBOARDS_DIR}/space-browse.png" | ||
47 | |||
48 | AUTHOR_illume-keyboard-danish = "Esben Damgaard" | ||
49 | DESCRIPTION_illume-keyboard-danish = "Illume keyboard with danish layout" | ||
50 | FILES_illume-keyboard-danish = "${KEYBOARDS_DIR}/Danish.kbd ${KEYBOARDS_DIR}/danish.png" | ||
51 | |||
52 | AUTHOR_illume-keyboard-default-alt = "Pander" | ||
53 | DESCRIPTION_illume-keyboard-default-alt = "Illume keyboard with an alternative default layout" | ||
54 | FILES_illume-keyboard-default-alt = "${KEYBOARDS_DIR}/Default-alt.kbd" | ||
55 | |||
56 | AUTHOR_illume-keyboard-dutch = "Pander" | ||
57 | DESCRIPTION_illume-keyboard-dutch = "Illume keyboard with dutch layout" | ||
58 | FILES_illume-keyboard-dutch = "${KEYBOARDS_DIR}/capslock-negative.png ${KEYBOARDS_DIR}/end.png ${KEYBOARDS_DIR}/pagedown.png ${KEYBOARDS_DIR}/qwerty-dutch-nl.png ${KEYBOARDS_DIR}/Terminal-dutch-nl.kbd ${KEYBOARDS_DIR}/capslock.png ${KEYBOARDS_DIR}/home.png ${KEYBOARDS_DIR}/pageup.png ${KEYBOARDS_DIR}/space.png" | ||
59 | |||
60 | AUTHOR_illume-keyboard-dvorak = "Gabor Adam TOTH" | ||
61 | DESCRIPTION_illume-keyboard-dvorak = "Illume keyboard with dvorak layout" | ||
62 | FILES_illume-keyboard-dvorak = "${KEYBOARDS_DIR}/Dvorak.kbd ${KEYBOARDS_DIR}/dvorak.png" | ||
63 | |||
64 | AUTHOR_illume-keyboard-finnish = "Olof Sjöbergh / Jussi Timperi" | ||
65 | DESCRIPTION_illume-keyboard-finnish = "Illume keyboard with finnish layout" | ||
66 | FILES_illume-keyboard-finnish = "${KEYBOARDS_DIR}/Finnish.kbd ${KEYBOARDS_DIR}/Finnish.png" | ||
67 | |||
68 | DESCRIPTION_illume-keyboard-french = "Illume keyboard with french layout" | ||
69 | FILES_illume-keyboard-french = "${KEYBOARDS_DIR}/Azerty.kbd ${KEYBOARDS_DIR}/Azerty.png" | ||
70 | |||
71 | AUTHOR_illume-keyboard-german = "Florian Hackenberger" | ||
72 | DESCRIPTION_illume-keyboard-german = "Illume keyboard with german layout" | ||
73 | FILES_illume-keyboard-german = "${KEYBOARDS_DIR}/German.kbd ${KEYBOARDS_DIR}/German.png" | ||
74 | |||
75 | AUTHOR_illume-keyboard-hebrew = "Tom Hacohen" | ||
76 | DESCRIPTION_illume-keyboard-hebrew = "Illume keyboard with hebrew layout" | ||
77 | FILES_illume-keyboard-hebrew = "${KEYBOARDS_DIR}/Hebrew.kbd ${KEYBOARDS_DIR}/Alpha-hebrew-il.png" | ||
78 | |||
79 | AUTHOR_illume-keyboard-numeric-alt = "Pander" | ||
80 | DESCRIPTION_illume-keyboard-numeric-alt = "Illume keyboard with an alternative numeric layout" | ||
81 | FILES_illume-keyboard-numeric-alt = "${KEYBOARDS_DIR}/Numbers-alt.kbd ${KEYBOARDS_DIR}/numeric-alt.png" | ||
82 | |||
83 | AUTHOR_illume-keyboard-russian = "lucky" | ||
84 | DESCRIPTION_illume-keyboard-russian = "Illume keyboard with russian layout" | ||
85 | FILES_illume-keyboard-russian = "${KEYBOARDS_DIR}/X8_Russian.kbd ${KEYBOARDS_DIR}/X8-russian-ru.png" | ||
86 | |||
87 | AUTHOR_illume-keyboard-russian-terminal = "lucky" | ||
88 | DESCRIPTION_illume-keyboard-russian-terminal = "Illume keyboard with russian layout for the Terminal" | ||
89 | FILES_illume-keyboard-russian-terminal = "${KEYBOARDS_DIR}/Terminal_Russian.kbd ${KEYBOARDS_DIR}/Terminal-russian-ru.png" | ||
90 | |||
91 | AUTHOR_illume-keyboard-persian = "slave" | ||
92 | DESCRIPTION_illume-keyboard-persian = "Illume keyboard with persian layout" | ||
93 | FILES_illume-keyboard-persian = "${KEYBOARDS_DIR}/Persian.kbd ${KEYBOARDS_DIR}/Persian.png" | ||
94 | |||
95 | do_install() { | ||
96 | make DESTDIR=${D} install | ||
97 | } | ||
98 | |||
diff --git a/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb b/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb new file mode 100644 index 000000000..777e30218 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/emprint_svn.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | DESCRIPTION = "Emprint is a utility for taking screenshots of the entire screen, a specific window, or a specific region." | ||
2 | LICENSE = "MIT BSD" | ||
3 | DEPENDS = "imlib2 virtual/libx11 ecore evas edje eina" | ||
4 | PV = "0.0.1+svnr${SRCPV}" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
6 | SRCREV = "${EFL_SRCREV}" | ||
7 | |||
8 | inherit e | ||
9 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
10 | S = "${WORKDIR}/${SRCNAME}" | ||
11 | |||
12 | FILES_${PN}-dbg += "${libdir}/${PN}/modules/.debug" | ||
diff --git a/meta-efl/recipes-efl/e17/nonworking/news_svn.bb b/meta-efl/recipes-efl/e17/nonworking/news_svn.bb new file mode 100644 index 000000000..9b89d8031 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/news_svn.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | LICENSE = "GPL-2.0" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
3 | |||
4 | PV = "0.1.0+svnr${SRCPV}" | ||
5 | PR = "${INC_PR}.0" | ||
6 | |||
7 | require e-module.inc | ||
8 | |||
9 | do_configure_prepend() { | ||
10 | sed -i -e /po/d configure.ac | ||
11 | sed -i -e s:\ po::g Makefile.am | ||
12 | } | ||
diff --git a/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb b/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb new file mode 100644 index 000000000..3cf576f08 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/rage_svn.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | SUMMARY = "Rage is a media center application based on EFL" | ||
2 | AUTHOR = "Carsten 'The Rasterman' Haitzler" | ||
3 | HOMEPAGE = "http://www.rasterman.com" | ||
4 | LICENSE = "MIT BSD" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
6 | DEPENDS = "emotion evas ecore edje" | ||
7 | SECTION = "x11/multimedia" | ||
8 | PV = "0.3.0.042+svnr${SRCPV}" | ||
9 | SRCREV = "${EFL_SRCREV}" | ||
10 | |||
11 | inherit e | ||
12 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
13 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch b/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch new file mode 100644 index 000000000..14f1141f1 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/screenshot/screenshot-fix-mkinstalldirs.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | ||
2 | Subject: fix screenshot po/ building | ||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Somehow configure doesn't substitute @MKINSTALLDIRS@ by default anymore, | ||
6 | however this substitution is required for po/Makefile | ||
7 | |||
8 | Fix that by calling AM_MKINSTALLDIRS from configure.ac | ||
9 | |||
10 | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | ||
11 | |||
12 | Index: E-MODULES-EXTRA/screenshot/configure.ac | ||
13 | =================================================================== | ||
14 | --- E-MODULES-EXTRA.orig/screenshot/configure.ac 2011-08-17 15:49:22.000000000 +0400 | ||
15 | +++ E-MODULES-EXTRA/screenshot/configure.ac 2011-08-17 15:49:34.000000000 +0400 | ||
16 | @@ -24,6 +24,7 @@ | ||
17 | define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl | ||
18 | AC_PROG_LIBTOOL | ||
19 | |||
20 | +AM_MKINSTALLDIRS | ||
21 | m4_ifdef([AM_GNU_GETTEXT_VERSION], [ | ||
22 | AM_GNU_GETTEXT_VERSION([0.14]) | ||
23 | ]) | ||
diff --git a/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb b/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb new file mode 100644 index 000000000..9689f4679 --- /dev/null +++ b/meta-efl/recipes-efl/e17/nonworking/screenshot_svn.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | LICENSE = "MIT" | ||
2 | PV = "0.3.0+svnr${SRCREV}" | ||
3 | PR = "${INC_PR}.0" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
5 | SRC_URI += "file://screenshot-fix-mkinstalldirs.patch" | ||
6 | |||
7 | require e-module.inc | ||
8 | |||
9 | DEPENDS += "emprint" | ||
10 | RDEPENDS_${PN} += "emprint" | ||
11 | |||
12 | do_configure_prepend() { | ||
13 | sed -i -e 's:AC_MSG_ERROR(emprint not found):echo foo:g' ${S}/configure.ac | ||
14 | } | ||
15 | |||
16 | |||
diff --git a/meta-efl/recipes-efl/e17/places_svn.bb b/meta-efl/recipes-efl/e17/places_svn.bb new file mode 100644 index 000000000..6a6184be7 --- /dev/null +++ b/meta-efl/recipes-efl/e17/places_svn.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | LICENSE = "BSD" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
3 | |||
4 | PV = "0.1.0+svnr${SRCPV}" | ||
5 | PR = "${INC_PR}.0" | ||
6 | |||
7 | require e-module.inc | ||
8 | |||
9 | do_configure_prepend() { | ||
10 | autopoint || touch config.rpath | ||
11 | } | ||
12 | |||
13 | # Calls /usr/bin/eject for media | ||
14 | RRECOMMENDS_${PN} += "eject" | ||
diff --git a/meta-efl/recipes-efl/e17/rain_svn.bb b/meta-efl/recipes-efl/e17/rain_svn.bb new file mode 100644 index 000000000..d5e680339 --- /dev/null +++ b/meta-efl/recipes-efl/e17/rain_svn.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | LICENSE = "MIT" | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
4 | file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" | ||
5 | |||
6 | PV = "0.0.3+svnr${SRCPV}" | ||
7 | PR = "${INC_PR}.0" | ||
8 | |||
9 | require e-module.inc | ||
10 | |||
11 | do_configure_prepend() { | ||
12 | sed -i -e /po/d configure.ac | ||
13 | sed -i -e s:\ po::g Makefile.am | ||
14 | } | ||
15 | |||
16 | |||
17 | |||
diff --git a/meta-efl/recipes-efl/e17/terminology.inc b/meta-efl/recipes-efl/e17/terminology.inc new file mode 100644 index 000000000..89c9ee5ff --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology.inc | |||
@@ -0,0 +1,22 @@ | |||
1 | DESCRIPTION = "Enlightenment Terminal Emulator" | ||
2 | LICENSE = "MIT BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=03f6c2cf2bef233fadf7d0769f5bfda7" | ||
4 | DEPENDS = "evas ecore edje elementary eina eet emotion" | ||
5 | |||
6 | inherit e gettext | ||
7 | |||
8 | # Because latest release we have is 0.1.0 which sorts lower then 0.1.0+svnr${SRCPV} already in feeds | ||
9 | PE = "2" | ||
10 | |||
11 | EXTRA_OECONF = "\ | ||
12 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
13 | " | ||
14 | |||
15 | FILES_${PN} += "\ | ||
16 | ${datadir}/icons/terminology.png \ | ||
17 | " | ||
18 | |||
19 | # doesn't start without own theme | ||
20 | # ERR<770>:terminology utils.c:26 theme_apply() Could not load any theme for group=terminology/background: No Error | ||
21 | # CRI<770>:terminology main.c:448 elm_main() Couldn't find terminology theme! Forgot 'make install'? | ||
22 | RDEPENDS_${PN} += "${PN}-themes" | ||
diff --git a/meta-efl/recipes-efl/e17/terminology_0.4.0.bb b/meta-efl/recipes-efl/e17/terminology_0.4.0.bb new file mode 100644 index 000000000..83ceee84d --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology_0.4.0.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/apps/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "5a2eee4849d4fa44db4caf743b3beb37" | ||
8 | SRC_URI[sha256sum] = "63f2d1fa584ecda6c4ef61b05b8956415feb955c4bb13c0872c11d98024dcfc6" | ||
diff --git a/meta-efl/recipes-efl/e17/terminology_svn.bb b/meta-efl/recipes-efl/e17/terminology_svn.bb new file mode 100644 index 000000000..2518dbac9 --- /dev/null +++ b/meta-efl/recipes-efl/e17/terminology_svn.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | DEFAULT_PREFERENCE = "-1" | ||
4 | PV = "0.2.0+svnr${SRCPV}" | ||
5 | PR = "${INC_PR}.0" | ||
6 | SRCREV = "${EFL_SRCREV}" | ||
7 | |||
8 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
9 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/e17/uptime_svn.bb b/meta-efl/recipes-efl/e17/uptime_svn.bb new file mode 100644 index 000000000..a296a5ec7 --- /dev/null +++ b/meta-efl/recipes-efl/e17/uptime_svn.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | LICENSE = "MIT" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
3 | file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" | ||
4 | |||
5 | PV = "0.0.2+svnr${SRCREV}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | require e-module.inc | ||
9 | |||
10 | |||
11 | |||
12 | |||
diff --git a/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch b/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch new file mode 100644 index 000000000..2e9d1046d --- /dev/null +++ b/meta-efl/recipes-efl/e17/waker/0001-waker-remove-old-ecore_string_init-and-ecore_string_.patch | |||
@@ -0,0 +1,54 @@ | |||
1 | From b6296958d5516a735053ee4140e85e2b3a896182 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sun, 30 Jan 2011 00:27:57 +0100 | ||
4 | Subject: [PATCH] waker: remove old ecore_string_init and ecore_string_shutdown | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | src/bin/waker_main.c | 2 -- | ||
9 | src/bin/waker_tool.c | 2 -- | ||
10 | 2 files changed, 0 insertions(+), 4 deletions(-) | ||
11 | |||
12 | diff --git a/src/bin/waker_main.c b/src/bin/waker_main.c | ||
13 | index b229cf0..dd54b31 100644 | ||
14 | --- a/src/bin/waker_main.c | ||
15 | +++ b/src/bin/waker_main.c | ||
16 | @@ -568,7 +568,6 @@ main(int argc, char **argv) | ||
17 | E_DBus_Connection *c; | ||
18 | |||
19 | ecore_init(); | ||
20 | - ecore_string_init(); | ||
21 | ecore_app_args_set(argc, (const char **)argv); | ||
22 | e_dbus_init(); | ||
23 | |||
24 | @@ -586,7 +585,6 @@ main(int argc, char **argv) | ||
25 | |||
26 | e_dbus_connection_close(c); | ||
27 | e_dbus_shutdown(); | ||
28 | - ecore_string_shutdown(); | ||
29 | ecore_shutdown(); | ||
30 | |||
31 | return 0; | ||
32 | diff --git a/src/bin/waker_tool.c b/src/bin/waker_tool.c | ||
33 | index 3344fd2..52515c9 100644 | ||
34 | --- a/src/bin/waker_tool.c | ||
35 | +++ b/src/bin/waker_tool.c | ||
36 | @@ -93,7 +93,6 @@ main(int argc, char **argv) | ||
37 | } | ||
38 | |||
39 | ecore_init(); | ||
40 | - ecore_string_init(); | ||
41 | ecore_app_args_set(argc, (const char **)argv); | ||
42 | e_dbus_init(); | ||
43 | |||
44 | @@ -301,7 +300,6 @@ main(int argc, char **argv) | ||
45 | |||
46 | e_dbus_connection_close(c); | ||
47 | e_dbus_shutdown(); | ||
48 | - ecore_string_shutdown(); | ||
49 | ecore_shutdown(); | ||
50 | |||
51 | return 0; | ||
52 | -- | ||
53 | 1.7.4.rc3 | ||
54 | |||
diff --git a/meta-efl/recipes-efl/efl/azy_svn.bb b/meta-efl/recipes-efl/efl/azy_svn.bb new file mode 100644 index 000000000..97c509be8 --- /dev/null +++ b/meta-efl/recipes-efl/efl/azy_svn.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner." | ||
2 | DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native mysql5 azy-native glib-2.0" | ||
3 | DEPENDS_virtclass-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native" | ||
4 | LICENSE = "LGPLv2.1+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
6 | |||
7 | PV = "1.0.0+svnr${SRCPV}" | ||
8 | PR = "r2" | ||
9 | |||
10 | SRCREV = "${EFL_SRCREV}" | ||
11 | |||
12 | # to provide native lemon binary | ||
13 | BBCLASSEXTEND = "native" | ||
14 | |||
15 | EXTRA_OECONF += " --disable-mysql-tests" | ||
16 | |||
17 | do_configure_prepend_class-target() { | ||
18 | sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/azy_lemon#g" ${S}/src/bin/Makefile.am | ||
19 | sed -i "s#\$(top_builddir)/src/bin/azy_parser -H -p -o#${STAGING_BINDIR_NATIVE}/azy_parser -H -p -o#g" ${S}/src/tests/Makefile.am | ||
20 | sed -i "s#\$(top_builddir)/src/bin/azy_parser -eHn -m#${STAGING_BINDIR_NATIVE}/azy_parser -eHn -m#g" ${S}/src/tests/identi.ca/Makefile.am | ||
21 | } | ||
22 | |||
23 | do_install_append_class-native() { | ||
24 | install -d ${D}/${bindir} | ||
25 | install -m 0755 ${S}/src/bin/lemon ${D}/${bindir}/azy_lemon | ||
26 | } | ||
27 | |||
28 | inherit efl | ||
29 | |||
30 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" | ||
31 | S = "${WORKDIR}/${SRCNAME}" | ||
32 | |||
diff --git a/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb b/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb new file mode 100644 index 000000000..17f668b98 --- /dev/null +++ b/meta-efl/recipes-efl/efl/e-wm-illume-dict-pl_git.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Polish dictionary for Illume keyboard" | ||
2 | SECTION = "x11/data" | ||
3 | SRCREV = "38fdd9bb0d8296e984bb6443466801eea6f62f00" | ||
4 | PV = "1.0+gitr${SRCPV}" | ||
5 | PE = "1" | ||
6 | LICENSE = "MIT BSD" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" | ||
8 | |||
9 | SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master" | ||
10 | |||
11 | S = "${WORKDIR}/git/e-wm/${PN}" | ||
12 | |||
13 | FILES_${PN} = "${libdir}/enlightenment/modules/illume/dicts/Polish.dic" | ||
14 | |||
15 | do_install() { | ||
16 | install -d ${D}${libdir}/enlightenment/modules/illume/dicts | ||
17 | install -m 0644 ${S}/Polish.dic ${D}${libdir}/enlightenment/modules/illume/dicts/Polish.dic | ||
18 | } | ||
diff --git a/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch new file mode 100644 index 000000000..55773a3b9 --- /dev/null +++ b/meta-efl/recipes-efl/efl/ecore/fix-ecore-fb-initialization.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 657571197c9d369e12ae31b6777a1929fe3680ef Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 29 Oct 2011 00:16:55 +0200 | ||
4 | Subject: [PATCH] ecore-fb: fix ts init | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | The whole ecore-fb init logic is somewhat flawed; with this patch we | ||
9 | get at least a working touchscreen w/ tslib again. | ||
10 | |||
11 | Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> | ||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | ecore/src/lib/ecore_fb/ecore_fb.c | 4 ++++ | ||
15 | 1 files changed, 4 insertions(+), 0 deletions(-) | ||
16 | |||
17 | diff --git a/src/lib/ecore_fb/ecore_fb.c b/src/lib/ecore_fb/ecore_fb.c | ||
18 | index 5b2b84b..a1904b3 100644 | ||
19 | --- a/src/lib/ecore_fb/ecore_fb.c | ||
20 | +++ b/src/lib/ecore_fb/ecore_fb.c | ||
21 | @@ -46,6 +46,9 @@ ecore_fb_init(const char *name __UNUSED__) | ||
22 | if (!ecore_fb_vt_init()) | ||
23 | return --_ecore_fb_init_count; | ||
24 | |||
25 | + if (!ecore_fb_ts_init()) | ||
26 | + return --_ecore_fb_init_count; | ||
27 | + | ||
28 | if (!oldhand) | ||
29 | { | ||
30 | oldhand = signal(SIGINT, nosigint); | ||
31 | @@ -77,6 +80,7 @@ ecore_fb_shutdown(void) | ||
32 | oldhand = NULL; | ||
33 | } | ||
34 | |||
35 | + ecore_fb_ts_shutdown(); | ||
36 | ecore_fb_vt_shutdown(); | ||
37 | |||
38 | return _ecore_fb_init_count; | ||
39 | -- | ||
40 | 1.7.8.6 | ||
41 | |||
diff --git a/meta-efl/recipes-efl/efl/edb_svn.bb b/meta-efl/recipes-efl/efl/edb_svn.bb new file mode 100644 index 000000000..a895cb31b --- /dev/null +++ b/meta-efl/recipes-efl/efl/edb_svn.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Edb is the Enlightenment database library" | ||
2 | LICENSE = "MIT BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8a7c08df3bc3280208b959be7215c25 \ | ||
4 | file://COPYING-PLAIN;md5=f59cacc08235a546b0c34a5422133035" | ||
5 | |||
6 | DEPENDS = "zlib" | ||
7 | PV = "1.0.5.050+svnr${SRCPV}" | ||
8 | SRCREV = "${EFL_SRCREV}" | ||
9 | |||
10 | inherit efl | ||
11 | |||
12 | PACKAGECONFIG ??= "" | ||
13 | PACKAGECONFIG[ncurses] = "--enable-ncurses,--disable-ncurses,ncurses" | ||
14 | |||
15 | SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" | ||
16 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/efl/edbus.inc b/meta-efl/recipes-efl/efl/edbus.inc new file mode 100644 index 000000000..7b11af54b --- /dev/null +++ b/meta-efl/recipes-efl/efl/edbus.inc | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "DBus and HAL convenience wrappers for EFL" | ||
2 | DEPENDS = "dbus ecore eina" | ||
3 | LICENSE = "MIT BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=550b8cea13dacc4bf00508a8cce1074c" | ||
5 | |||
6 | inherit efl | ||
7 | |||
8 | # -dev and -dbg packages wants ${PN} which is empty here | ||
9 | ALLOW_EMPTY_${PN} = "1" | ||
10 | |||
11 | BBCLASSEXTEND = "native" | ||
12 | INC_PR = "r0" | ||
13 | |||
14 | SRCNAME = "e_dbus" | ||
15 | |||
16 | # it needs to be disabled, because creates circular dependency on elementary | ||
17 | EXTRA_OECONF += "--disable-edbus-performance-test" | ||
18 | |||
19 | PACKAGES =+ "${PN}-enotify ${PN}-edbus ${PN}-enm ${PN}-ehal ${PN}-econnman ${PN}-eofono ${PN}-eukit ${PN}-ebluez" | ||
20 | FILES_${PN}-enotify = "${libdir}/libenotify.so.* ${bindir}/e-notify-send" | ||
21 | FILES_${PN}-edbus = "${libdir}/libedbus.so.*" | ||
22 | FILES_${PN}-enm = "${libdir}/libenm.so.*" | ||
23 | FILES_${PN}-ehal = "${libdir}/libehal.so.*" | ||
24 | FILES_${PN}-econnman = "${libdir}/libeconnman.so.* ${libdir}/libeconnman0_7x.so.*" | ||
25 | FILES_${PN}-eofono = "${libdir}/libeofono.so.*" | ||
26 | FILES_${PN}-eukit = "${libdir}/libeukit.so.*" | ||
27 | FILES_${PN}-ebluez = "${libdir}/libebluez.so.*" | ||
28 | FILES_${PN} += "${datadir}/e_dbus/logo.png" | ||
29 | |||
diff --git a/meta-efl/recipes-efl/efl/edbus_1.7.9.bb b/meta-efl/recipes-efl/efl/edbus_1.7.9.bb new file mode 100644 index 000000000..64e77e61a --- /dev/null +++ b/meta-efl/recipes-efl/efl/edbus_1.7.9.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_MIRROR}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "8f72da14e5664aad8c45eeeca0e3ff5f" | ||
8 | SRC_URI[sha256sum] = "c328c4cf1424629cb67c83689ccc1f95967abcb4c03dffd437e93b799ff151c1" | ||
diff --git a/meta-efl/recipes-efl/efl/edje-fpu.inc b/meta-efl/recipes-efl/efl/edje-fpu.inc new file mode 100644 index 000000000..3f2aacffb --- /dev/null +++ b/meta-efl/recipes-efl/efl/edje-fpu.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | |||
2 | def get_edje_fpu_setting(bb, d): | ||
3 | if d.getVar('TARGET_FPU', 1) in [ 'soft' ]: | ||
4 | return "--enable-fixed-point" | ||
5 | return "" | ||
6 | |||
diff --git a/meta-efl/recipes-efl/efl/efl.inc b/meta-efl/recipes-efl/efl/efl.inc new file mode 100644 index 000000000..929fc20f0 --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl.inc | |||
@@ -0,0 +1,266 @@ | |||
1 | SUMMARY = "EFL" | ||
2 | LICENSE = "MIT BSD LGPL-2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a1809a807e39dd48ddcf7be98477d130" | ||
4 | |||
5 | DEPENDS_class-native = "freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native" | ||
6 | DEPENDS = "virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg freetype libpng tiff libxext virtual/libx11 libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native" | ||
7 | |||
8 | inherit efl gettext pkgconfig | ||
9 | |||
10 | BBCLASSEXTEND = "native" | ||
11 | |||
12 | PROVIDES += "ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus" | ||
13 | |||
14 | # we don't have bullet for physics | ||
15 | # You have chosen to disable physics support. This disables lots of | ||
16 | # core functionality and is effectively never tested. You are going | ||
17 | # to find features that suddenly don't work and as a result cause | ||
18 | # a series of breakages. This is simply not tested so you are on | ||
19 | # your own in terms of ensuring everything works if you do this | ||
20 | EXTRA_OECONF = " \ | ||
21 | --disable-physics \ | ||
22 | --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aaa \ | ||
23 | " | ||
24 | EXTRA_OECONF_append_class-target = " \ | ||
25 | --with-bin-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
26 | " | ||
27 | EXTRA_OECONF_append_class-native = " \ | ||
28 | --disable-fontconfig \ | ||
29 | --disable-audio \ | ||
30 | --with-x11=none \ | ||
31 | --disable-image-loader-bmp \ | ||
32 | --disable-image-loader-eet \ | ||
33 | --disable-image-loader-generic \ | ||
34 | --disable-image-loader-gif \ | ||
35 | --disable-image-loader-ico \ | ||
36 | --disable-image-loader-jp2k \ | ||
37 | --disable-image-loader-pmaps \ | ||
38 | --disable-image-loader-psd \ | ||
39 | --disable-image-loader-tga \ | ||
40 | --disable-image-loader-wbmp \ | ||
41 | --disable-image-loader-webp \ | ||
42 | --disable-image-loader-xpm \ | ||
43 | " | ||
44 | |||
45 | PACKAGECONFIG ?= "opengl-es gstreamer1 pulseaudio lua-old" | ||
46 | PACKAGECONFIG_class-native = "lua-old" | ||
47 | |||
48 | # sort of tri-state | ||
49 | PACKAGECONFIG[opengl-full] = "--with-opengl=full,,virtual/libgl" | ||
50 | PACKAGECONFIG[opengl-es] = "--with-opengl=es,,virtual/libgles2" | ||
51 | PACKAGECONFIG[opengl-none] = "--with-opengl=none,," | ||
52 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" | ||
53 | PACKAGECONFIG[gstreamer1] = "--enable-gstreamer1,--disable-gstreamer1,gstreamer1.0 gstreamer1.0-plugins-base" | ||
54 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
55 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
56 | # we don't have luajit-native now, so use old lua for -native and | ||
57 | # for target it's also currently failing with luajit | ||
58 | # | /OE/build/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/core2-64-oe-linux/gcc/x86_64-oe-linux/4.8.2/ld: /OE/build/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/libluajit-5.1.a(lj_err.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC | ||
59 | # | /OE/build/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/libluajit-5.1.a: error adding symbols: Bad value | ||
60 | # | collect2: error: ld returned 1 exit status | ||
61 | # | Makefile:12007: recipe for target 'lib/edje/libedje.la' failed | ||
62 | PACKAGECONFIG[luajit] = "--disable-lua-old,--enable-lua-old,luajit" | ||
63 | PACKAGECONFIG[lua-old] = "--enable-lua-old,--disable-lua-old,lua5.1" | ||
64 | |||
65 | # new efl doesn't have option to disable eeze build and we don't want to provide udev-native just to build eeze-native we don't need | ||
66 | do_configure_prepend_class-native() { | ||
67 | sed -i 's/EFL_LIB_START_OPTIONAL(\[Eeze\], \[test "${have_linux}" = "yes"\])/EFL_LIB_START_OPTIONAL([Eeze], [test "${no-we-really-dont-want-native-eeze}" = "yes"])/g' ${S}/configure.ac | ||
68 | } | ||
69 | |||
70 | PACKAGES =+ "edje-utils embryo-utils embryo-tests efreet-trash efreet-mime libeet libefreet ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas libemotion eo ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus" | ||
71 | |||
72 | # upgrade path from 1.7 | ||
73 | DEBIAN_NOAUTONAME_ecore-audio = "1" | ||
74 | DEBIAN_NOAUTONAME_ecore-input-evas = "1" | ||
75 | DEBIAN_NOAUTONAME_ecore-input = "1" | ||
76 | DEBIAN_NOAUTONAME_ecore-imf-evas = "1" | ||
77 | DEBIAN_NOAUTONAME_ecore-imf = "1" | ||
78 | DEBIAN_NOAUTONAME_ecore-file = "1" | ||
79 | DEBIAN_NOAUTONAME_ecore-con = "1" | ||
80 | DEBIAN_NOAUTONAME_ecore-ipc = "1" | ||
81 | DEBIAN_NOAUTONAME_ecore-x = "1" | ||
82 | DEBIAN_NOAUTONAME_ecore-evas = "1" | ||
83 | DEBIAN_NOAUTONAME_embryo = "1" | ||
84 | |||
85 | ALLOW_EMPTY_ecore = "1" | ||
86 | RDEPENDS_ecore = "ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas" | ||
87 | |||
88 | python populate_packages_prepend () { | ||
89 | for plugin_type in "engines loaders savers".split(): | ||
90 | bb.note( "splitting packages for evas %s..." % plugin_type ) | ||
91 | basedir = d.expand( '${libdir}/evas/modules/%s' % plugin_type) | ||
92 | |||
93 | do_split_packages(d, basedir, '^(.*)', | ||
94 | output_pattern = 'evas-' + plugin_type[:-1] + "-%s", | ||
95 | description = 'Evas module %s', | ||
96 | allow_dirs=True, recursive=False, extra_depends="" ) | ||
97 | |||
98 | plugin_type = "cserve2" | ||
99 | bb.note( "splitting packages for evas %s..." % plugin_type ) | ||
100 | basedir = d.expand( '${libdir}/evas/%s/loaders' % plugin_type) | ||
101 | |||
102 | do_split_packages(d, basedir, '^(.*)', | ||
103 | output_pattern = 'evas-' + plugin_type + "-%s", | ||
104 | description = 'Evas csever2 loader module %s', | ||
105 | allow_dirs=True, recursive=False, extra_depends="" ) | ||
106 | } | ||
107 | |||
108 | PACKAGES_DYNAMIC += "^evas-engine-.* ^evas-loader-.* ^evas-saver-.* ^evas-cserve2-.*" | ||
109 | |||
110 | # PACKAGES_DYNAMIC + do_split_packages isn't used for all libe libs, | ||
111 | # because PACKAGES_DYNAMIC would be catching too many patterns | ||
112 | # (or need to list all possible prefixes) and not all original packages | ||
113 | # were splitted like that, so it would need RCONFLICTS/RPROVIDES/RREPLACES | ||
114 | # combos at least in few places for upgrade path. | ||
115 | |||
116 | FILES_efreet-trash = " \ | ||
117 | ${libdir}/libefreet_trash${SOLIBS} \ | ||
118 | " | ||
119 | FILES_efreet-mime = " \ | ||
120 | ${libdir}/libefreet_mime${SOLIBS} \ | ||
121 | " | ||
122 | FILES_libeet = " \ | ||
123 | ${libdir}/libeet${SOLIBS} \ | ||
124 | " | ||
125 | FILES_libefreet = " \ | ||
126 | ${libdir}/libefreet${SOLIBS} \ | ||
127 | " | ||
128 | FILES_ecore-audio = "\ | ||
129 | ${libdir}/libecore_audio${SOLIBS} \ | ||
130 | " | ||
131 | FILES_ecore-input-evas = "\ | ||
132 | ${libdir}/libecore_input_evas${SOLIBS} \ | ||
133 | " | ||
134 | FILES_ecore-input = "\ | ||
135 | ${libdir}/libecore_input${SOLIBS} \ | ||
136 | " | ||
137 | FILES_ecore-imf-evas = "\ | ||
138 | ${libdir}/libecore_imf_evas${SOLIBS} \ | ||
139 | ${libdir}/ecore-imf/modules/*/*/module.so \ | ||
140 | " | ||
141 | FILES_ecore-imf = "\ | ||
142 | ${libdir}/libecore_imf${SOLIBS} \ | ||
143 | " | ||
144 | |||
145 | FILES_ecore-file = "\ | ||
146 | ${libdir}/libecore_file${SOLIBS} \ | ||
147 | " | ||
148 | FILES_ecore-con = "\ | ||
149 | ${libdir}/libecore_con${SOLIBS} \ | ||
150 | " | ||
151 | FILES_ecore-ipc = "\ | ||
152 | ${libdir}/libecore_ipc${SOLIBS} \ | ||
153 | " | ||
154 | FILES_ecore-x = "\ | ||
155 | ${libdir}/libecore_x${SOLIBS} \ | ||
156 | " | ||
157 | FILES_ecore-evas = "\ | ||
158 | ${libdir}/libecore_evas${SOLIBS} \ | ||
159 | ${libdir}/ecore-evas/engines/*/*/module.so \ | ||
160 | " | ||
161 | FILES_eio = "\ | ||
162 | ${libdir}/libeio${SOLIBS} \ | ||
163 | " | ||
164 | FILES_eina = "\ | ||
165 | ${libdir}/libeina${SOLIBS} \ | ||
166 | ${bindir}/eina-bench-cmp \ | ||
167 | " | ||
168 | FILES_edje-utils = "\ | ||
169 | ${bindir}/edje_* \ | ||
170 | ${datadir}/edje/include/edje.inc \ | ||
171 | " | ||
172 | FILES_eldbus = "\ | ||
173 | ${libdir}/libeldbus${SOLIBS} \ | ||
174 | " | ||
175 | FILES_eo = "\ | ||
176 | ${libdir}/libeo${SOLIBS} \ | ||
177 | " | ||
178 | FILES_libemotion = "\ | ||
179 | ${libdir}/libemotion${SOLIBS} \ | ||
180 | " | ||
181 | FILES_efreet = " \ | ||
182 | ${datadir}/dbus-1/services/*Efreet* \ | ||
183 | ${libdir}/efreet/*/efreet*create \ | ||
184 | ${bindir}/efreetd \ | ||
185 | ${datadir}/efreet \ | ||
186 | " | ||
187 | FILES_eet = " \ | ||
188 | ${bindir}/eet \ | ||
189 | ${libdir}/libeet${SOLIBS} \ | ||
190 | " | ||
191 | FILES_emotion = " \ | ||
192 | ${datadir}/emotion \ | ||
193 | ${libdir}/emotion/modules/gstreamer1/*/module.so \ | ||
194 | " | ||
195 | FILES_embryo-tests = " \ | ||
196 | ${datadir}/embryo/ \ | ||
197 | " | ||
198 | FILES_embryo-utils = " \ | ||
199 | ${binddir}/embryo_* \ | ||
200 | " | ||
201 | FILES_embryo = " \ | ||
202 | ${libdir}/libembryo${SOLIBS} \ | ||
203 | " | ||
204 | FILES_ethumb = " \ | ||
205 | ${datadir}/dbus-1/services/*Ethumb* \ | ||
206 | ${libdir}/libethumb${SOLIBS} \ | ||
207 | ${libdir}/libethumb_client${SOLIBS} \ | ||
208 | ${bindir}/ethumbd \ | ||
209 | ${bindir}/ethumbd_client \ | ||
210 | ${bindir}/ethumb \ | ||
211 | ${libdir}/ethumb/*/*/*/module.so \ | ||
212 | ${libdir}/ethumb/*/*/*/*.edj \ | ||
213 | ${libdir}/ethumb_client/utils/*/ethumbd_slave \ | ||
214 | ${datadir}/ethumb* \ | ||
215 | " | ||
216 | FILES_ecore = " \ | ||
217 | ${libdir}/libecore${SOLIBS} \ | ||
218 | ${libdir}/ecore*/*/*/*/module.so \ | ||
219 | ${datadir}/ecore* \ | ||
220 | " | ||
221 | FILES_evas = " \ | ||
222 | ${libdir}/libevas${SOLIBS} \ | ||
223 | ${libdir}/evas*/*/*/*/*/module.so \ | ||
224 | ${libdir}/evas*/*/*/*/*/*.edj \ | ||
225 | ${libdir}/evas/cserve2/bin/*/evas_cserve2* \ | ||
226 | ${datadir}/evas* \ | ||
227 | ${bindir}/evas_cserve2_* \ | ||
228 | " | ||
229 | |||
230 | FILES_eeze = " \ | ||
231 | ${libdir}/libeeze${SOLIBS} \ | ||
232 | ${libdir}/eeze*/*/*/*/*/module.so \ | ||
233 | ${datadir}/eeze \ | ||
234 | ${bindir}/eeze_* \ | ||
235 | " | ||
236 | FILES_edje = " \ | ||
237 | ${libdir}/libedje${SOLIBS} \ | ||
238 | ${libdir}/edje*/*/*/*/module.so \ | ||
239 | ${libdir}/edje/utils/*/epp \ | ||
240 | ${datadir}/edje \ | ||
241 | ${datadir}/mime \ | ||
242 | " | ||
243 | FILES_${PN}-dbg += " \ | ||
244 | ${libdir}/efreet/*/.debug \ | ||
245 | ${libdir}/ecore*/*/*/*/.debug \ | ||
246 | ${libdir}/evas*/*/*/*/*/.debug \ | ||
247 | ${libdir}/evas/cserve2/bin/*/.debug \ | ||
248 | ${libdir}/eeze*/*/*/*/*/.debug \ | ||
249 | ${libdir}/edje*/*/*/*/.debug \ | ||
250 | ${libdir}/edje/utils/*/.debug \ | ||
251 | ${libdir}/ethumb/*/*/*/.debug \ | ||
252 | ${libdir}/ethumb_client/utils/*/.debug \ | ||
253 | ${libdir}/emotion/modules/gstreamer1/*/.debug \ | ||
254 | " | ||
255 | FILES_${PN}-dev += " \ | ||
256 | ${libdir}/cmake \ | ||
257 | ${libdir}/ecore*/*/*/*/module.la \ | ||
258 | ${libdir}/evas*/*/*/*/*/module.la \ | ||
259 | ${libdir}/ethumb*/*/*/*/module.la \ | ||
260 | ${libdir}/eeze*/*/*/*/*/module.la \ | ||
261 | ${libdir}/edje*/*/*/*/module.la \ | ||
262 | ${libdir}/emotion/modules/gstreamer1/*/module.la \ | ||
263 | ${datadir}/gdb/auto-load \ | ||
264 | ${datadir}/eo/gdb \ | ||
265 | ${bindir}/eldbus-codegen \ | ||
266 | " | ||
diff --git a/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch b/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch new file mode 100644 index 000000000..012810b1e --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 7097b46383a6ec96662bf1bf0a04190a38d25a20 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Fri, 10 Jan 2014 17:07:13 +0100 | ||
4 | Subject: [PATCH] configure.ac: Don't check for Xprint extension | ||
5 | |||
6 | * it's long gone | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | configure.ac | 1 - | ||
11 | 1 file changed, 1 deletion(-) | ||
12 | |||
13 | diff --git a/configure.ac b/configure.ac | ||
14 | index 0d8c4cc..0a08330 100644 | ||
15 | --- a/configure.ac | ||
16 | +++ b/configure.ac | ||
17 | @@ -2769,7 +2769,6 @@ if test "x${want_x11_xlib}" = "xyes" ; then | ||
18 | ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension]) | ||
19 | ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion]) | ||
20 | ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens]) | ||
21 | - ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens]) | ||
22 | ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent]) | ||
23 | ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat]) | ||
24 | ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent]) | ||
25 | -- | ||
26 | 1.8.5.2 | ||
27 | |||
diff --git a/meta-efl/recipes-efl/efl/efl_1.9.3.bb b/meta-efl/recipes-efl/efl/efl_1.9.3.bb new file mode 100644 index 000000000..61e6a9e50 --- /dev/null +++ b/meta-efl/recipes-efl/efl/efl_1.9.3.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "102acebaf453346d745b0974f736a5e6" | ||
8 | SRC_URI[sha256sum] = "46da18ce5ec6ded559dbf461ff58113f82937efb6e26a098a82b2f360e8faf88" | ||
9 | |||
10 | # Temporary disable until error like the one following are fixed | ||
11 | # efl-native/2_1.8.4-r0/efl-1.8.4/src/lib/eet/.libs/libeet.so: file not recognized: File truncated | ||
12 | # collect2: error: ld returned 1 exit status | ||
13 | # x86_64-linux-libtool: install: error: relink `modules/evas/savers/tiff/module.la' with the above command before installing it | ||
14 | # Makefile:11031: recipe for target 'install-savertiffpkgLTLIBRARIES' failed | ||
15 | PARALLEL_MAKE_class-native = "" | ||
16 | |||
17 | SRC_URI += "file://0001-configure.ac-Don-t-check-for-Xprint-extension.patch" | ||
diff --git a/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE b/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE new file mode 100644 index 000000000..61bb2f603 --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary-theme-efenniht/LICENSE | |||
@@ -0,0 +1,25 @@ | |||
1 | Copyright notice for Enlightenment: | ||
2 | |||
3 | Copyright (C) 2000-2010 Carsten Haitzler and various contributors (see AUTHORS) | ||
4 | |||
5 | All rights reserved. | ||
6 | |||
7 | Redistribution and use in source and binary forms, with or without | ||
8 | modification, are permitted provided that the following conditions are met: | ||
9 | |||
10 | 1. Redistributions of source code must retain the above copyright | ||
11 | notice, this list of conditions and the following disclaimer. | ||
12 | 2. Redistributions in binary form must reproduce the above copyright | ||
13 | notice, this list of conditions and the following disclaimer in the | ||
14 | documentation and/or other materials provided with the distribution. | ||
15 | |||
16 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
17 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
18 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
19 | COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
20 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
21 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
22 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
23 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
24 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
25 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb b/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb new file mode 100644 index 000000000..fa635c0d8 --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary-theme-efenniht_svn.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | DESCRIPTION = "efenniht elementary theme - Efenniht was devised to be clean \ | ||
2 | and neutral. Its name (which means equinox) comes from the chromatic duality \ | ||
3 | that was decided at the very beginning, with a dark theme (black and orange) \ | ||
4 | and a bright one (white and blue) to be developed so that more people feel \ | ||
5 | comfortable using it. Efenniht uses few animations, discrete contrasts between \ | ||
6 | shades of gray and fine lines (colored) that outline the selected elements." | ||
7 | SECTION = "e/utils" | ||
8 | HOMEPAGE = "http://trac.enlightenment.org/e/wiki/Themes#Efenniht" | ||
9 | DEPENDS = "edje-native" | ||
10 | RSUGGESTS_${PN} = "e-wm-theme-illume-efenniht" | ||
11 | LICENSE = "MIT BSD" | ||
12 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" | ||
13 | |||
14 | SRCREV_THM_REV ?= "${EFL_SRCREV}" | ||
15 | SRCREV_ELM_REV ?= "${EFL_SRCREV}" | ||
16 | |||
17 | SRCREV_FORMAT = "THM_REV" | ||
18 | PV = "0.0+svnr${SRCPV}" | ||
19 | PR = "r1" | ||
20 | |||
21 | inherit e-base allarch | ||
22 | |||
23 | SRCNAME = "efenniht" | ||
24 | SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http;name=THM_REV" | ||
25 | SRC_URI += "${E_SVN}/trunk/elementary/data;module=themes;protocol=http;name=ELM_REV" | ||
26 | SRC_URI += "file://LICENSE" | ||
27 | S = "${WORKDIR}/${SRCNAME}" | ||
28 | |||
29 | do_compile() { | ||
30 | ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/images -id ${WORKDIR}/themes/images ${S}/elm-efenniht.edc -o ${S}/elm-efenniht.edj | ||
31 | } | ||
32 | |||
33 | do_install() { | ||
34 | install -d ${D}${datadir}/elementary/themes/ | ||
35 | install -m 0644 ${S}/elm-efenniht.edj ${D}${datadir}/elementary/themes/ | ||
36 | } | ||
37 | |||
38 | FILES_${PN} = "${datadir}/elementary/themes/" | ||
diff --git a/meta-efl/recipes-efl/efl/elementary.inc b/meta-efl/recipes-efl/efl/elementary.inc new file mode 100644 index 000000000..dd18abe2f --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary.inc | |||
@@ -0,0 +1,79 @@ | |||
1 | DESCRIPTION = "EFL based widget set for mobile devices" | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a173054a93896e933df53e3382d472c2" | ||
4 | DEPENDS = "eet-native edje-native elementary-native efreet evas ecore edje eet eldbus ethumb poppler eio" | ||
5 | DEPENDS_class-native = "efl-native" | ||
6 | |||
7 | inherit efl gettext | ||
8 | |||
9 | EXTRA_OECONF_append_class-target = "\ | ||
10 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ | ||
11 | --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ | ||
12 | --with-elementary-codegen=${STAGING_BINDIR_NATIVE}/elementary_codegen \ | ||
13 | --with-elm-prefs-cc=${STAGING_BINDIR_NATIVE}/elm_prefs_cc \ | ||
14 | " | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
17 | |||
18 | PACKAGECONFIG[eweather] = "--enable-eweather,--disable-eweather,libeweather" | ||
19 | PACKAGECONFIG[ewebkit] = "--with-elementary-web-backend=ewebkit,--with-elementary-web-backend=none,webkit-efl" | ||
20 | |||
21 | do_compile_append_class-target() { | ||
22 | sed -i -e s:${STAGING_DIR_TARGET}::g \ | ||
23 | -e s:/${TARGET_SYS}::g \ | ||
24 | elementary.pc | ||
25 | } | ||
26 | |||
27 | PACKAGES += "${PN}-configs ${PN}-accessibility" | ||
28 | |||
29 | RDEPENDS_${PN}_class-native = "" | ||
30 | |||
31 | RDEPENDS_${PN} = "\ | ||
32 | ${PN}-themes \ | ||
33 | ${PN}-configs \ | ||
34 | " | ||
35 | RSUGGESTS_${PN} = "${PN}-tests ${PN}-accessibility" | ||
36 | |||
37 | FILES_${PN} += "\ | ||
38 | ${libdir}/edje/modules/elm \ | ||
39 | ${libdir}/elementary/modules/datetime_input_ctxpopup/*/module.so \ | ||
40 | ${libdir}/elementary/modules/prefs/*/module.so \ | ||
41 | ${libdir}/elementary/modules/prefs/*/*.edj \ | ||
42 | " | ||
43 | |||
44 | FILES_${PN}-dev += "\ | ||
45 | ${bindir}/elm_prefs_cc \ | ||
46 | ${libdir}/elementary/modules/*/*/module.la \ | ||
47 | ${libdir}/cmake \ | ||
48 | " | ||
49 | |||
50 | FILES_${PN}-themes = "\ | ||
51 | ${datadir}/elementary/themes \ | ||
52 | " | ||
53 | |||
54 | FILES_${PN}-configs = "\ | ||
55 | ${datadir}/elementary/config \ | ||
56 | " | ||
57 | |||
58 | FILES_${PN}-dbg += "\ | ||
59 | ${libdir}/elementary/modules/*/*/.debug \ | ||
60 | ${libdir}/edje/modules/elm/*/.debug \ | ||
61 | " | ||
62 | |||
63 | FILES_${PN}-tests = "\ | ||
64 | ${bindir}/elementary* \ | ||
65 | ${datadir}/elementary/images \ | ||
66 | ${datadir}/elementary/objects \ | ||
67 | ${datadir}/elementary/examples \ | ||
68 | ${datadir}/applications/* \ | ||
69 | ${datadir}/icons/* \ | ||
70 | ${libdir}/elementary/modules/test_entry/* \ | ||
71 | ${libdir}/elementary/modules/test_map/* \ | ||
72 | " | ||
73 | |||
74 | FILES_${PN}-accessibility = "\ | ||
75 | ${libdir}/elementary/modules/access_output/* \ | ||
76 | " | ||
77 | |||
78 | # Some upgrade path tweaking, as in evas | ||
79 | AUTO_LIBNAME_PKGS = "" | ||
diff --git a/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch b/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch new file mode 100644 index 000000000..9524c70d7 --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary/0001-Makefile-Use-elementary_codegen-defined-in-configure.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 75d104d105aa03dd9d446fa7d84fa95e0f566cf9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 11 Jan 2014 12:55:59 +0100 | ||
4 | Subject: [PATCH] Makefile: Use elementary_codegen defined in configure | ||
5 | |||
6 | * using binaries from top_buildir doesn't work when cross-compiling elementary | ||
7 | where we need to pass native binaries in configure params | ||
8 | |||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | src/examples/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am | ||
15 | index fc35c75..1e10b0b 100644 | ||
16 | --- a/src/examples/Makefile.am | ||
17 | +++ b/src/examples/Makefile.am | ||
18 | @@ -29,7 +29,7 @@ LDADD = \ | ||
19 | @ELEMENTARY_X_LIBS@ \ | ||
20 | $(top_builddir)/src/lib/libelementary.la | ||
21 | |||
22 | -ELEMENTARY_CODEGEN = $(top_builddir)/src/bin/@ELEMENTARY_CODEGEN_PRG@ | ||
23 | +ELEMENTARY_CODEGEN = @elementary_codegen@ | ||
24 | ELEMENTARY_CODEGEN_FLAGS = --prefix=codegen_example | ||
25 | |||
26 | SRCS = \ | ||
27 | -- | ||
28 | 1.9.0 | ||
29 | |||
diff --git a/meta-efl/recipes-efl/efl/elementary_1.9.3.bb b/meta-efl/recipes-efl/efl/elementary_1.9.3.bb new file mode 100644 index 000000000..32ae6632b --- /dev/null +++ b/meta-efl/recipes-efl/efl/elementary_1.9.3.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | # only for target, because configure doesn't default to sane default when | ||
8 | # these paths aren't passed in -native build | ||
9 | SRC_URI_append_class-target = " file://0001-Makefile-Use-elementary_codegen-defined-in-configure.patch" | ||
10 | |||
11 | SRC_URI[md5sum] = "cc75bb1c7c4c49de120ec33e413130ce" | ||
12 | SRC_URI[sha256sum] = "49f896066b72ba51eefd8e92f0b7e7b8e190b0dd26323b12cbd4f26216f578fb" | ||
diff --git a/meta-efl/recipes-efl/efl/emotion-generic-players.inc b/meta-efl/recipes-efl/efl/emotion-generic-players.inc new file mode 100644 index 000000000..4ab89ae32 --- /dev/null +++ b/meta-efl/recipes-efl/efl/emotion-generic-players.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "Emotion generic players" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a0f11eedf8706bf6d4d6639fb67eb8ae" | ||
4 | |||
5 | DEPENDS = "emotion" | ||
6 | |||
7 | inherit efl | ||
8 | |||
9 | SRCNAME = "emotion_generic_players" | ||
10 | |||
11 | # creates empty packages until you get vlc-2 and enable it here | ||
12 | PACKAGECONFIG ?= "" | ||
13 | # needs eina and ecore from efl and vlc-2 (currently we have 1.11) | ||
14 | PACKAGECONFIG[vlc] = "--with-vlc,--without-vlc,vlc efl" | ||
diff --git a/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb b/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb new file mode 100644 index 000000000..033775197 --- /dev/null +++ b/meta-efl/recipes-efl/efl/emotion-generic-players_1.9.0.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "dc897ba540560fce0787bbff8455c022" | ||
8 | SRC_URI[sha256sum] = "d26546adf61db7521f9d46f2baedcb645af72497fc259e93907026970d42d794" | ||
diff --git a/meta-efl/recipes-efl/efl/engrave_svn.bb b/meta-efl/recipes-efl/efl/engrave_svn.bb new file mode 100644 index 000000000..3e35c9caf --- /dev/null +++ b/meta-efl/recipes-efl/efl/engrave_svn.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Engrave is an Edje Editing Library" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=edf2d968b9eb026bfa82cccbd0e6f9f5" | ||
4 | # also requires yacc and lex on host | ||
5 | DEPENDS = "evas ecore" | ||
6 | PV = "0.0.0+svnr${SRCPV}" | ||
7 | SRCREV = "${EFL_SRCREV}" | ||
8 | |||
9 | inherit efl | ||
10 | SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" | ||
11 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch b/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch new file mode 100644 index 000000000..a82d1ed3c --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance/0001-pam-use-common-auth-instead-of-system-auth.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 14396c52a2556b1ab778a310a318ec19c2829735 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 24 Nov 2011 13:25:33 +0100 | ||
4 | Subject: [PATCH] pam: use common-auth instead of system-auth | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | PROTO/entrance/data/entrance | 8 ++++---- | ||
9 | 1 files changed, 4 insertions(+), 4 deletions(-) | ||
10 | |||
11 | diff --git a/data/entrance b/data/entrance | ||
12 | index 872c83d..2b98c3a 100644 | ||
13 | --- a/data/entrance | ||
14 | +++ b/data/entrance | ||
15 | @@ -1,4 +1,4 @@ | ||
16 | -auth include system-auth | ||
17 | -account include system-auth | ||
18 | -password include system-auth | ||
19 | -session include system-auth | ||
20 | +auth include common-auth | ||
21 | +account include common-account | ||
22 | +password include common-password | ||
23 | +session include common-session | ||
24 | -- | ||
25 | 1.7.8.6 | ||
26 | |||
diff --git a/meta-efl/recipes-efl/efl/entrance/entrance.service b/meta-efl/recipes-efl/efl/entrance/entrance.service new file mode 100644 index 000000000..482868695 --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance/entrance.service | |||
@@ -0,0 +1,8 @@ | |||
1 | [Unit] | ||
2 | Description=Login manager for Enlightenment | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=/usr/sbin/entrance | ||
6 | |||
7 | [Install] | ||
8 | Alias=display-manager.service | ||
diff --git a/meta-efl/recipes-efl/efl/entrance_svn.bb b/meta-efl/recipes-efl/efl/entrance_svn.bb new file mode 100644 index 000000000..198fe0340 --- /dev/null +++ b/meta-efl/recipes-efl/efl/entrance_svn.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Login manager for Enlightenment" | ||
2 | DEPENDS = "efreet eina eet ecore elementary" | ||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
5 | SECTION = "e/apps" | ||
6 | |||
7 | inherit e gettext systemd | ||
8 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ | ||
9 | file://0001-pam-use-common-auth-instead-of-system-auth.patch \ | ||
10 | file://entrance.service \ | ||
11 | " | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
13 | |||
14 | PACKAGECONFIG ??= "" | ||
15 | PACKAGECONFIG[consolekit] = "--enable-consolekit,--disable-consolekit,consolekit" | ||
16 | |||
17 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc ${@base_contains('DISTRO_FEATURES', 'pam', '', '--disable-pam', d)}" | ||
18 | |||
19 | PR = "r7" | ||
20 | PV = "0.0.4+svnr${SRCPV}" | ||
21 | SRCREV = "${EFL_SRCREV}" | ||
22 | |||
23 | RDEPENDS_${PN} += "${PN}-themes sessreg xauth" | ||
24 | CONFFILES_${PN} += "${sysconfdir}/entrance.conf" | ||
25 | |||
26 | RCONFLICTS_${PN} += "xserver-nodm-init" | ||
27 | RREPLACES_${PN} += "xserver-nodm-init" | ||
28 | |||
29 | RCONFLICTS_${PN} += "xserver-nodm-init-systemd" | ||
30 | RREPLACES_${PN} += "xserver-nodm-init-systemd" | ||
31 | |||
32 | RPROVIDES_${PN} += "${PN}-systemd" | ||
33 | RREPLACES_${PN} += "${PN}-systemd" | ||
34 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
35 | |||
36 | SYSTEMD_SERVICE_${PN} = "entrance.service" | ||
37 | |||
38 | do_install_append() { | ||
39 | install -d ${D}${systemd_unitdir}/system | ||
40 | install -m 0644 ${WORKDIR}/entrance.service ${D}${systemd_unitdir}/system | ||
41 | } | ||
diff --git a/meta-efl/recipes-efl/efl/epdf_svn.bb b/meta-efl/recipes-efl/efl/epdf_svn.bb new file mode 100644 index 000000000..63e8436f6 --- /dev/null +++ b/meta-efl/recipes-efl/efl/epdf_svn.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "Epdf is the glue between EFL and libpoppler" | ||
2 | |||
3 | DEPENDS = "poppler evas ecore" | ||
4 | PV = "0.1.0+svnr${SRCPV}" | ||
5 | SRCREV = "${EFL_SRCREV}" | ||
6 | |||
7 | inherit efl | ||
8 | |||
9 | LICENSE = "GPLv2 LGPLv3" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
11 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
12 | " | ||
13 | |||
14 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ | ||
15 | " | ||
16 | S = "${WORKDIR}/${SRCNAME}" | ||
17 | |||
18 | EXTRA_OECONF = "\ | ||
19 | --enable-poppler \ | ||
20 | --disable-mupdf \ | ||
21 | " | ||
22 | |||
23 | # Some upgrade path tweaking, as in evas | ||
24 | AUTO_LIBNAME_PKGS = "" | ||
25 | |||
diff --git a/meta-efl/recipes-efl/efl/epeg_svn.bb b/meta-efl/recipes-efl/efl/epeg_svn.bb new file mode 100644 index 000000000..1b24d9195 --- /dev/null +++ b/meta-efl/recipes-efl/efl/epeg_svn.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Epeg is a small library for handling thumbnails" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35 \ | ||
4 | file://COPYING-PLAIN;md5=f59cacc08235a546b0c34a5422133035" | ||
5 | |||
6 | DEPENDS = "jpeg" | ||
7 | PV = "0.9.0+svnr${SRCPV}" | ||
8 | SRCREV = "${EFL_SRCREV}" | ||
9 | |||
10 | inherit efl | ||
11 | SRC_URI = "${E_SVN}/OLD;module=${SRCNAME};protocol=http;scmdata=keep" | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders.inc b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc new file mode 100644 index 000000000..e64fa8874 --- /dev/null +++ b/meta-efl/recipes-efl/efl/evas-generic-loaders.inc | |||
@@ -0,0 +1,70 @@ | |||
1 | DESCRIPTION = "Evas generic loaders" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=f3877fbaaa46306051a559814451883c" | ||
4 | DEPENDS = "eina poppler librsvg cairo" | ||
5 | |||
6 | inherit efl | ||
7 | |||
8 | SRCNAME = "evas_generic_loaders" | ||
9 | |||
10 | EXTRA_OECONF = " \ | ||
11 | --enable-poppler \ | ||
12 | --enable-svg \ | ||
13 | --disable-gstreamer \ | ||
14 | --disable-libraw \ | ||
15 | --disable-spectre \ | ||
16 | " | ||
17 | |||
18 | PACKAGESPLITFUNCS_prepend = "split_evas_loader_packages " | ||
19 | |||
20 | python split_evas_loader_packages () { | ||
21 | bb.note( "splitting packages for evas generic loaders" ) | ||
22 | basedir = d.expand( '${libdir}/evas/utils') | ||
23 | |||
24 | do_split_packages(d, basedir, 'evas_image_loader\.(.*)$', | ||
25 | output_pattern = "evas-generic-loader-%s", | ||
26 | description = 'Evas generic loaders - module %s', | ||
27 | allow_dirs=True, recursive=False, extra_depends="" ) | ||
28 | |||
29 | do_split_packages(d, basedir, 'evas_generic_pdf_loader\.(.*)$', | ||
30 | output_pattern = "evas-generic-pdf-loader-%s", | ||
31 | description = 'Evas generic pdf loaders - module %s', | ||
32 | allow_dirs=True, recursive=False, extra_depends="" ) | ||
33 | } | ||
34 | |||
35 | # add symlinks for different format (it doesn't make much sense to package them in separate packages) | ||
36 | FILES_evas-generic-loader-xcf += " \ | ||
37 | ${libdir}/evas/utils/evas_image_loader.xcf.gz \ | ||
38 | " | ||
39 | FILES_evas-generic-loader-svg += " \ | ||
40 | ${libdir}/evas/utils/evas_image_loader.svg.gz \ | ||
41 | ${libdir}/evas/utils/evas_image_loader.svgz \ | ||
42 | " | ||
43 | FILES_evas-generic-loader-pdf += " \ | ||
44 | ${libdir}/evas/utils/evas_image_loader.doc \ | ||
45 | ${libdir}/evas/utils/evas_image_loader.docx \ | ||
46 | ${libdir}/evas/utils/evas_image_loader.odp \ | ||
47 | ${libdir}/evas/utils/evas_image_loader.ods \ | ||
48 | ${libdir}/evas/utils/evas_image_loader.odt \ | ||
49 | ${libdir}/evas/utils/evas_image_loader.ppt \ | ||
50 | ${libdir}/evas/utils/evas_image_loader.pptx \ | ||
51 | ${libdir}/evas/utils/evas_image_loader.rtf \ | ||
52 | ${libdir}/evas/utils/evas_image_loader.xls \ | ||
53 | ${libdir}/evas/utils/evas_image_loader.xlsx \ | ||
54 | " | ||
55 | FILES_evas-generic-pdf-loader-libreoffice += " \ | ||
56 | ${libdir}/evas/utils/evas_generic_pdf_loader.doc \ | ||
57 | ${libdir}/evas/utils/evas_generic_pdf_loader.docx \ | ||
58 | ${libdir}/evas/utils/evas_generic_pdf_loader.odp \ | ||
59 | ${libdir}/evas/utils/evas_generic_pdf_loader.ods \ | ||
60 | ${libdir}/evas/utils/evas_generic_pdf_loader.odt \ | ||
61 | ${libdir}/evas/utils/evas_generic_pdf_loader.ppt \ | ||
62 | ${libdir}/evas/utils/evas_generic_pdf_loader.pptx \ | ||
63 | ${libdir}/evas/utils/evas_generic_pdf_loader.rtf \ | ||
64 | ${libdir}/evas/utils/evas_generic_pdf_loader.xls \ | ||
65 | ${libdir}/evas/utils/evas_generic_pdf_loader.xlsx \ | ||
66 | " | ||
67 | |||
68 | FILES_${PN}-dbg += "${libdir}/evas/utils/.debug" | ||
69 | |||
70 | PACKAGES_DYNAMIC += "^evas-generic-loader-.* ^evas-generic-pdf-loader-.*" | ||
diff --git a/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb new file mode 100644 index 000000000..38d0518c1 --- /dev/null +++ b/meta-efl/recipes-efl/efl/evas-generic-loaders_1.9.0.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/libs/${SRCNAME}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "bec6d27fc4afd2f5e4829da5aeccdc0b" | ||
8 | SRC_URI[sha256sum] = "9447839047b087b0293b2ed6c453249919f66e5c4f62e252a7b7e4f996c2ac5f" | ||
diff --git a/meta-efl/recipes-efl/efl/expedite.inc b/meta-efl/recipes-efl/efl/expedite.inc new file mode 100644 index 000000000..6a83be121 --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Expedite is a comprehensive benchmarking suite for Evas" | ||
2 | DEPENDS = "eet evas" | ||
3 | LICENSE = "MIT BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d70bc65d46237e4ef386beebe7d0fe5b" | ||
5 | |||
6 | INC_PR = "r0" | ||
7 | |||
8 | inherit e | ||
9 | |||
10 | PACKAGECONFIG ??= "" | ||
11 | PACKAGECONFIG[sdl] = "--enable-opengl-sdl,--disable-opengl-sdl,libsdl" | ||
12 | |||
13 | EXTRA_OECONF = "\ | ||
14 | --x-includes=${STAGING_INCDIR}/X11 \ | ||
15 | --x-libraries=${STAGING_LIBDIR} \ | ||
16 | --enable-simple-x11 \ | ||
17 | \ | ||
18 | --disable-opengl-glew \ | ||
19 | --enable-software-x11 \ | ||
20 | --enable-xrender-x11 \ | ||
21 | --enable-software-16-x11 \ | ||
22 | --enable-opengl-x11 \ | ||
23 | --enable-fb \ | ||
24 | --disable-software-ddraw \ | ||
25 | --disable-software-16-ddraw \ | ||
26 | --disable-direct3d \ | ||
27 | --disable-software-sdl \ | ||
28 | " | ||
29 | |||
30 | FILES_${PN} += "${datadir}" | ||
31 | RDEPENDS_${PN} = "expedite-themes evas-engine-fb evas-engine-software-generic evas-engine-software-x11 evas-engine-gl-x11 evas-loader-png" | ||
diff --git a/meta-efl/recipes-efl/efl/expedite_1.7.9.bb b/meta-efl/recipes-efl/efl/expedite_1.7.9.bb new file mode 100644 index 000000000..cee2d607b --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite_1.7.9.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_MIRROR}/${SRCNAME}-${SRCVER}.tar.gz \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "954fe8e40fec6a561190ff0fb75b6bdd" | ||
8 | SRC_URI[sha256sum] = "a05be096c911e0d66d4bdc497ebb935a04ad23696de9084aed9959b5172a593e" | ||
diff --git a/meta-efl/recipes-efl/efl/expedite_git.bb b/meta-efl/recipes-efl/efl/expedite_git.bb new file mode 100644 index 000000000..5b44cf039 --- /dev/null +++ b/meta-efl/recipes-efl/efl/expedite_git.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRCREV = "a5e6af917af52877b378090811cf836c16d0bfbb" | ||
4 | PV = "1.7.99+gitr${SRCPV}" | ||
5 | |||
6 | DEFAULT_PREFERENCE = "-1" | ||
7 | |||
8 | SRC_URI = "\ | ||
9 | git://git.enlightenment.org/tools/${BPN}.git \ | ||
10 | " | ||
11 | S = "${WORKDIR}/${SRCNAME}" | ||
diff --git a/meta-efl/recipes-efl/efl/imlib2_svn.bb b/meta-efl/recipes-efl/efl/imlib2_svn.bb new file mode 100644 index 000000000..8bd803215 --- /dev/null +++ b/meta-efl/recipes-efl/efl/imlib2_svn.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "A graphic library for file loading, saving, rendering, and manipulation" | ||
2 | LICENSE = "MIT BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | ||
4 | # can also depend on tiff34, ungif or gif, z, bz2, id3tag | ||
5 | DEPENDS = "freetype libpng jpeg virtual/libx11 libxext" | ||
6 | PROVIDES = "virtual/imlib2" | ||
7 | PV = "1.4.5+svnr${SRCPV}" | ||
8 | SRCREV = "${EFL_SRCREV}" | ||
9 | |||
10 | inherit efl binconfig | ||
11 | SRC_URI = "${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep" | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
13 | |||
14 | PACKAGECONFIG ??= "" | ||
15 | PACKAGECONFIG[gif] = "--with-gif,--without-gif,giflib" | ||
16 | PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff" | ||
17 | PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2" | ||
18 | PACKAGECONFIG[id3] = "--with-id3,--without-id3,libid3tag" | ||
19 | |||
20 | EXTRA_OECONF = "--with-x \ | ||
21 | --x-includes=${STAGING_INCDIR} \ | ||
22 | --x-libraries=${STAGING_LIBDIR} " | ||
23 | |||
24 | # TODO: Use more fine granular version | ||
25 | #OE_LT_RPATH_ALLOW=":${libdir}/imlib2/loaders:${libdir}/imlib2/filters:" | ||
26 | OE_LT_RPATH_ALLOW = "any" | ||
27 | OE_LT_RPATH_ALLOW[export]="1" | ||
28 | |||
29 | PACKAGES =+ "imlib2-loaders-dbg imlib2-filters-dbg imlib2-loaders imlib2-filters" | ||
30 | FILES_${PN} = "${libdir}/lib*.so.* ${libdir}/imlib2/*/*.so" | ||
31 | FILES_${PN}-dbg = "${libdir}/.debug/ ${bindir}/.debug/ ${prefix}/src/debug/" | ||
32 | FILES_${PN}-dev += "${bindir}/imlib2-config ${libdir}/*.so ${includedir}" | ||
33 | FILES_${PN}-bin = "${bindir}" | ||
34 | FILES_imlib2-loaders = "${libdir}/imlib2/loaders/*.so" | ||
35 | FILES_imlib2-filters = "${libdir}/imlib2/filters/*.so" | ||
36 | FILES_imlib2-loaders-dbg += "${libdir}/imlib2/loaders/.debug" | ||
37 | FILES_imlib2-filters-dbg += "${libdir}/imlib2/filters/.debug" | ||
38 | |||
39 | # png.so jpeg.so id3.so are also provided by lightmediascanner | ||
40 | PRIVATE_LIBS_imlib2-loaders = "pnm.so lbm.so argb.so tiff.so zlib.so bmp.so tga.so gif.so xpm.so bz2.so" | ||
41 | |||
42 | PRIVATE_LIBS_imlib2-filters = "bumpmap.so colormod.so testfilter.so" | ||
diff --git a/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch b/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch new file mode 100644 index 000000000..84be133f6 --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeflvala/disable.eina.test.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | It causes testeina.c build to fail linking to internal eina_.*_{init,shutdown} symbols | ||
2 | as reported in: | ||
3 | http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2010-May/003056.html | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | |||
9 | diff -uNr vala/tests/testeina.vala ../../../arm920tt-oe-linux-gnueabi/libeflvala/1_2011.01.13.1+svnr82070-r2/vala/tests/testeina.vala | ||
10 | --- vala/tests/testeina.vala 2014-01-13 16:16:53.984999035 +0100 | ||
11 | +++ ../../../arm920tt-oe-linux-gnueabi/libeflvala/1_2011.01.13.1+svnr82070-r2/vala/tests/testeina.vala 2010-02-26 09:02:06.000000000 +0100 | ||
12 | @@ -153,22 +153,22 @@ | ||
13 | |||
14 | void test_eina_benchmark() | ||
15 | { | ||
16 | - assert( Eina.Module.init() ); | ||
17 | - assert( Eina.List.init() ); | ||
18 | - assert( Eina.Array.init() ); | ||
19 | - assert( Eina.Benchmark.init() ); | ||
20 | - assert( Eina.Mempool.init() ); | ||
21 | +// assert( Eina.Module.init() ); | ||
22 | +// assert( Eina.List.init() ); | ||
23 | +// assert( Eina.Array.init() ); | ||
24 | +// assert( Eina.Benchmark.init() ); | ||
25 | +// assert( Eina.Mempool.init() ); | ||
26 | var b = new Eina.Benchmark( "test", "test"); | ||
27 | assert( b.register( "bogus", spec_one, 0, 100, 5 ) ); | ||
28 | unowned Eina.Array<string> result = b.run(); | ||
29 | assert( result.count_get() == 2 ); | ||
30 | result = null; | ||
31 | b = null; | ||
32 | - assert( Eina.Mempool.shutdown() ); | ||
33 | - assert( Eina.Benchmark.shutdown() ); | ||
34 | - assert( Eina.Array.shutdown() ); | ||
35 | - assert( Eina.List.shutdown() ); | ||
36 | - assert( Eina.Module.shutdown() ); | ||
37 | +// assert( Eina.Mempool.shutdown() ); | ||
38 | +// assert( Eina.Benchmark.shutdown() ); | ||
39 | +// assert( Eina.Array.shutdown() ); | ||
40 | +// assert( Eina.List.shutdown() ); | ||
41 | +// assert( Eina.Module.shutdown() ); | ||
42 | } | ||
43 | |||
44 | //=========================================================================== | ||
diff --git a/meta-efl/recipes-efl/efl/libeflvala_svn.bb b/meta-efl/recipes-efl/efl/libeflvala_svn.bb new file mode 100644 index 000000000..b27590f5b --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeflvala_svn.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Vala meets the Enlightenment Foundation Libraries" | ||
2 | AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
5 | SECTION = "devel" | ||
6 | DEPENDS = "vala-native glib-2.0 dbus dbus-glib eina eet evas ecore edje elementary tiff" | ||
7 | PV = "2011.01.13.1+svnr${SRCPV}" | ||
8 | PE = "1" | ||
9 | PR = "r2" | ||
10 | SRCREV = "${EFL_SRCREV}" | ||
11 | SRCNAME = "vala" | ||
12 | |||
13 | inherit e-base autotools pkgconfig vala | ||
14 | |||
15 | SRC_URI = "${E_SVN}/trunk/BINDINGS;module=${SRCNAME};protocol=http \ | ||
16 | file://disable.eina.test.patch \ | ||
17 | " | ||
18 | S = "${WORKDIR}/${SRCNAME}" | ||
19 | |||
20 | PACKAGES =+ "${PN}-examples" | ||
21 | FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*" | ||
diff --git a/meta-efl/recipes-efl/efl/libeweather_svn.bb b/meta-efl/recipes-efl/efl/libeweather_svn.bb new file mode 100644 index 000000000..eff858617 --- /dev/null +++ b/meta-efl/recipes-efl/efl/libeweather_svn.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "EFL-based weather widget library" | ||
2 | LICENSE = "LGPL-2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \ | ||
4 | file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e" | ||
5 | |||
6 | DEPENDS = "ecore edje" | ||
7 | PV = "0.0.0+svnr${SRCPV}" | ||
8 | SRCREV = "${EFL_SRCREV}" | ||
9 | |||
10 | inherit efl | ||
11 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" | ||
12 | S = "${WORKDIR}/${SRCNAME}" | ||
13 | |||
14 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" | ||
15 | |||
16 | RSUGGESTS_${PN} = "elementary-tests" | ||
17 | |||
18 | do_compile_append() { | ||
19 | sed -i -e s:${STAGING_DIR_TARGET}::g \ | ||
20 | -e s:/${TARGET_SYS}::g \ | ||
21 | eweather.pc | ||
22 | } | ||
23 | |||
24 | PACKAGES += "${PN}-plugins" | ||
25 | |||
26 | FILES_${PN}-themes = "\ | ||
27 | ${datadir} \ | ||
28 | " | ||
29 | |||
30 | FILES_${PN}-plugins = "\ | ||
31 | ${libdir}/eweather/plugins/*.so \ | ||
32 | " | ||
33 | |||
34 | FILES_${PN}-dbg += "\ | ||
35 | ${libdir}/eweather/plugins/.debug \ | ||
36 | " | ||
37 | |||
38 | FILES_${PN}-dev += "\ | ||
39 | ${libdir}/eweather/plugins/*.a \ | ||
40 | ${libdir}/eweather/plugins/*.la \ | ||
41 | " | ||
42 | |||
43 | RRECOMMENDS_${PN} = "\ | ||
44 | ${PN}-themes \ | ||
45 | ${PN}-plugins \ | ||
46 | " | ||
diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb new file mode 100644 index 000000000..4e5ce789f --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Efl Software Development Kit" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | ALLOW_EMPTY_${PN} = "1" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | require packagegroup-efl-sdk.inc | ||
11 | |||
12 | PACKAGES = "${PN}" | ||
13 | |||
14 | RPROVIDES_${PN} += "task-efl-sdk" | ||
15 | RREPLACES_${PN} += "task-efl-sdk" | ||
16 | RCONFLICTS_${PN} += "task-efl-sdk" | ||
17 | RDEPENDS_${PN} = "\ | ||
18 | packagegroup-core-sdk \ | ||
19 | ${SDK-EFL} \ | ||
20 | ${SDK-EXTRAS}" | ||
diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc new file mode 100644 index 000000000..64c034cb0 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-sdk.inc | |||
@@ -0,0 +1,12 @@ | |||
1 | SDK-EFL = " \ | ||
2 | efl-dev \ | ||
3 | elementary-dev \ | ||
4 | edbus-dev \ | ||
5 | lua5.1-dev \ | ||
6 | " | ||
7 | |||
8 | SDK-EXTRAS ?= "" | ||
9 | SDK-EXTRAS_qemux86 ?= " valgrind lttng-ust-dev" | ||
10 | SDK-EXTRAS_qemux86-64 ?= " lttng-ust-dev" | ||
11 | SDK-EXTRAS_qemuppc ?= " lttng-ust-dev" | ||
12 | SDK-EXTRAS_qemuarm ?= " lttng-ust-dev" | ||
diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb new file mode 100644 index 000000000..1bcac45f8 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-efl-standalone-sdk-target.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Efl Software Development Kit" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | ALLOW_EMPTY_${PN} = "1" | ||
7 | |||
8 | PR = "r1" | ||
9 | |||
10 | require packagegroup-efl-sdk.inc | ||
11 | |||
12 | PACKAGES = "${PN} ${PN}-dbg" | ||
13 | |||
14 | RPROVIDES_${PN} += "task-efl-standalone-sdk-target" | ||
15 | RREPLACES_${PN} += "task-efl-standalone-sdk-target" | ||
16 | RCONFLICTS_${PN} += "task-efl-standalone-sdk-target" | ||
17 | RDEPENDS_${PN} = "\ | ||
18 | packagegroup-core-standalone-sdk-target \ | ||
19 | ${SDK-EFL} \ | ||
20 | ${SDK-EXTRAS}" | ||
diff --git a/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb new file mode 100644 index 000000000..47f758a82 --- /dev/null +++ b/meta-efl/recipes-efl/packagegroups/packagegroup-x11-illume.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "The Illume Windowing Environment -- install this task to get the Enlightenment Window Manager + the Illume environment." | ||
2 | SECTION = "x11/wm" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${TOPDIR}/meta-openembedded/meta-efl/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | PV = "1.0" | ||
6 | PR = "r5" | ||
7 | |||
8 | inherit packagegroup allarch | ||
9 | |||
10 | # Default theme and config | ||
11 | ETHEME ?= "e-wm-theme-default" | ||
12 | ECONFIG ?= "e-wm-config-mobile" | ||
13 | |||
14 | RPROVIDES_${PN} += "task-x11-illume" | ||
15 | RREPLACES_${PN} += "task-x11-illume" | ||
16 | RCONFLICTS_${PN} += "task-x11-illume" | ||
17 | RDEPENDS_${PN} = "\ | ||
18 | packagegroup-core-x11-xserver \ | ||
19 | packagegroup-core-x11-utils \ | ||
20 | \ | ||
21 | e-wm \ | ||
22 | ${ECONFIG} \ | ||
23 | ${ETHEME} \ | ||
24 | " | ||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl.inc b/meta-efl/recipes-efl/webkit/webkit-efl.inc new file mode 100644 index 000000000..44ef9d48f --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl.inc | |||
@@ -0,0 +1,67 @@ | |||
1 | DESCRIPTION = "Webkit browser engine, EFL edition" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://Source/WebKit/LICENSE;md5=4646f90082c40bcf298c285f8bab0b12 \ | ||
4 | file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \ | ||
5 | file://Source/WebKit/efl/ewk/EWebKit.h;endline=20;md5=55ea170b1582797d2c69712de850f2fa \ | ||
6 | " | ||
7 | |||
8 | # you need harfbuzz with icu enabled, you can add this to your config: | ||
9 | # PACKAGECONFIG_append_pn-harfbuzz = " icu" | ||
10 | DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ | ||
11 | libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ | ||
12 | libxml2 pango eina ecore evas edje eldbus harfbuzz enchant \ | ||
13 | ruby-native" | ||
14 | |||
15 | SRC_URI = "\ | ||
16 | ${E_RELEASES}/libs/webkit-efl/webkit-efl-164189.tar.xz \ | ||
17 | file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ | ||
18 | file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ | ||
19 | file://0003-Fix-linking-issue.patch \ | ||
20 | " | ||
21 | SRC_URI[md5sum] = "731513fc042ec8e03840bc1ab6a66771" | ||
22 | SRC_URI[sha256sum] = "660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd" | ||
23 | |||
24 | S = "${WORKDIR}/efl-webkit" | ||
25 | |||
26 | inherit cmake lib_package pkgconfig perlnative pythonnative | ||
27 | |||
28 | ARM_INSTRUCTION_SET = "arm" | ||
29 | |||
30 | EXTRA_OECMAKE = " \ | ||
31 | -DPORT=Efl \ | ||
32 | -DSHARED_CORE=On \ | ||
33 | -DENABLE_DRAG_SUPPORT=On \ | ||
34 | -DENABLE_WEB_AUDIO=Off \ | ||
35 | -DENABLE_VIDEO=Off \ | ||
36 | -DENABLE_VIDEO_TRACK=Off \ | ||
37 | -DENABLE_ACCESSIBILITY=Off \ | ||
38 | -DENABLE_BATTERY_STATUS=Off \ | ||
39 | " | ||
40 | # generated ASM code isn't compatible with armv[45] | ||
41 | # it was removed from macro assembler in upstream commit 121885 | ||
42 | # https://bugs.webkit.org/show_bug.cgi?id=90198 | ||
43 | EXTRA_OECMAKE_append_armv4 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" | ||
44 | EXTRA_OECMAKE_append_armv5 = " -DENABLE_LLINT=Off -DENABLE_JIT=Off -DENABLE_DFG_JIT=Off -DENABLE_FTL_JIT=Off" | ||
45 | |||
46 | # hack it in OptionsEfl.cmake because that overrules -DENABLE_LLINT=Off | ||
47 | do_configure_prepend_armv4() { | ||
48 | sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake | ||
49 | } | ||
50 | do_configure_prepend_armv5() { | ||
51 | sed -i 's/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)/WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT OFF)/g' ${S}/Source/cmake/OptionsEfl.cmake | ||
52 | } | ||
53 | |||
54 | # and disabled LLINT currently isn't supported, so restrict to armv7a and x86* | ||
55 | COMPATIBLE_MACHINE = "(-)" | ||
56 | COMPATIBLE_MACHINE_i586 = "(.*)" | ||
57 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | ||
58 | COMPATIBLE_MACHINE_armv7a = "(.*)" | ||
59 | |||
60 | LEAD_SONAME = "libewebkit.so" | ||
61 | PACKAGES =+ "${PN}launcher-dbg ${PN}launcher ${PN}-inspector" | ||
62 | |||
63 | FILES_${PN} += "${datadir}/webkit-1.0/theme/default.edj ${datadir}/ewebkit-0/themes/default.edj" | ||
64 | FILES_${PN}-dev += "${libdir}/cmake" | ||
65 | FILES_${PN}launcher = "${bindir}/EWebLauncher" | ||
66 | FILES_${PN}launcher-dbg = "${bindir}/.debug/EWebLauncher" | ||
67 | FILES_${PN}-inspector += "${datadir}/ewebkit-0/inspector" | ||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch new file mode 100644 index 000000000..864b9c914 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From b37711ca03ea9410e795f29398069fed9e9c2d30 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Mon, 13 Jan 2014 17:21:25 +0100 | ||
4 | Subject: [PATCH 1/3] WebKitHelpers.cmake: Add -Wno-error=cast-align | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | Source/cmake/WebKitHelpers.cmake | 6 +++++- | ||
9 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/Source/cmake/WebKitHelpers.cmake b/Source/cmake/WebKitHelpers.cmake | ||
12 | index 409931c..345b346 100644 | ||
13 | --- a/Source/cmake/WebKitHelpers.cmake | ||
14 | +++ b/Source/cmake/WebKitHelpers.cmake | ||
15 | @@ -44,7 +44,11 @@ macro(WEBKIT_SET_EXTRA_COMPILER_FLAGS _target) | ||
16 | |||
17 | # Enable errors on warning | ||
18 | if (OPTION_ENABLE_WERROR) | ||
19 | - set(OLD_COMPILE_FLAGS "-Werror -Wno-error=unused-parameter ${OLD_COMPILE_FLAGS}") | ||
20 | + # FIXME: When we use -fno-tree-dce to support the jsCStack branch merge, build error occurs due to the uninitialization. Temporarily we set | ||
21 | + # uninitialized as build warning in order to support the jsCStack merge. https://bugs.webkit.org/show_bug.cgi?id=127777. | ||
22 | + set(OLD_COMPILE_FLAGS "-Werror -Wno-error=unused-parameter -Wno-error=uninitialized ${OLD_COMPILE_FLAGS}") | ||
23 | + # | /OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/webkit-efl/2.3.2+svnr159807-r0/webkit-efl/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp:161:104: error: cast from 'uint8_t* {aka unsigned char*}' to 'JSC::FloatTypedArrayAdaptor<double, JSC::GenericTypedArrayView<JSC::Float64Adaptor>, JSC::JSGenericTypedArrayView<JSC::Float64Adaptor>, (JSC::TypedArrayType)9u>::Type* {aka double*}' increases required alignment of target type [-Werror=cast-align] | ||
24 | + set(OLD_COMPILE_FLAGS "-Wno-error=cast-align -Wno-error=array-bounds -Wno-error=deprecated-declarations ${OLD_COMPILE_FLAGS}") | ||
25 | endif () | ||
26 | |||
27 | set_target_properties(${_target} PROPERTIES | ||
28 | -- | ||
29 | 1.9.0 | ||
30 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch new file mode 100644 index 000000000..9f005bcd3 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch | |||
@@ -0,0 +1,80 @@ | |||
1 | From e284e92da00011e55d8f79383034e0c9c1a8a106 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 27 Feb 2014 13:40:43 +0100 | ||
4 | Subject: [PATCH 2/3] ARMAssembler.h: Don't generate BKPT and BLX for armv4* | ||
5 | |||
6 | * I haven't tested it in runtime yet, but it's better than to wait for asm failure later: | ||
7 | {standard input}: Assembler messages: | ||
8 | {standard input}:35: Error: selected processor does not support ARM mode `bkpt #0' | ||
9 | {standard input}:62: Error: selected processor does not support ARM mode `blx llint_throw_stack_overflow_error' | ||
10 | ... | ||
11 | |||
12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
13 | --- | ||
14 | Source/JavaScriptCore/assembler/ARMAssembler.h | 19 +++++++++++++++++++ | ||
15 | 1 file changed, 19 insertions(+) | ||
16 | |||
17 | diff --git a/Source/JavaScriptCore/assembler/ARMAssembler.h b/Source/JavaScriptCore/assembler/ARMAssembler.h | ||
18 | index 087d31c..1b40ded 100644 | ||
19 | --- a/Source/JavaScriptCore/assembler/ARMAssembler.h | ||
20 | +++ b/Source/JavaScriptCore/assembler/ARMAssembler.h | ||
21 | @@ -211,7 +211,9 @@ namespace JSC { | ||
22 | LDMIA = 0x08b00000, | ||
23 | B = 0x0a000000, | ||
24 | BL = 0x0b000000, | ||
25 | +#if WTF_ARM_ARCH_AT_LEAST(5) | ||
26 | BX = 0x012fff10, | ||
27 | +#endif | ||
28 | VMOV_VFP64 = 0x0c400a10, | ||
29 | VMOV_ARM64 = 0x0c500a10, | ||
30 | VMOV_VFP32 = 0x0e000a10, | ||
31 | @@ -223,8 +225,10 @@ namespace JSC { | ||
32 | VCVT_F64_F32 = 0x0eb70ac0, | ||
33 | VMRS_APSR = 0x0ef1fa10, | ||
34 | CLZ = 0x016f0f10, | ||
35 | +#if WTF_ARM_ARCH_AT_LEAST(5) | ||
36 | BKPT = 0xe1200070, | ||
37 | BLX = 0x012fff30, | ||
38 | +#endif | ||
39 | #if WTF_ARM_ARCH_AT_LEAST(7) | ||
40 | MOVW = 0x03000000, | ||
41 | MOVT = 0x03400000, | ||
42 | @@ -689,7 +693,11 @@ namespace JSC { | ||
43 | |||
44 | void bkpt(ARMWord value) | ||
45 | { | ||
46 | +#if WTF_ARM_ARCH_AT_LEAST(5) | ||
47 | m_buffer.putInt(BKPT | ((value & 0xff0) << 4) | (value & 0xf)); | ||
48 | +#else | ||
49 | + // BKPT is available in ARMv5T and above, skip it here | ||
50 | +#endif | ||
51 | } | ||
52 | |||
53 | void nop() | ||
54 | @@ -704,12 +712,23 @@ namespace JSC { | ||
55 | |||
56 | void bx(int rm, Condition cc = AL) | ||
57 | { | ||
58 | +#if WTF_ARM_ARCH_AT_LEAST(5) | ||
59 | emitInstruction(toARMWord(cc) | BX, 0, 0, RM(rm)); | ||
60 | +#else | ||
61 | + // BX is available in ARMv5T and above. | ||
62 | + emitInstruction(toARMWord(cc) | MOV, ARMRegisters::pc, ARMRegisters::lr, 0); | ||
63 | +#endif | ||
64 | } | ||
65 | |||
66 | AssemblerLabel blx(int rm, Condition cc = AL) | ||
67 | { | ||
68 | +#if WTF_ARM_ARCH_AT_LEAST(5) | ||
69 | emitInstruction(toARMWord(cc) | BLX, 0, 0, RM(rm)); | ||
70 | +#else | ||
71 | + // BLX is available in ARMv5T and above. | ||
72 | + emitInstruction(toARMWord(cc) | MOV, ARMRegisters::lr, ARMRegisters::pc, 0); | ||
73 | + emitInstruction(toARMWord(cc) | MOV, ARMRegisters::pc, RM(rm), 0); | ||
74 | +#endif | ||
75 | return m_buffer.label(); | ||
76 | } | ||
77 | |||
78 | -- | ||
79 | 1.9.0 | ||
80 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch new file mode 100644 index 000000000..ce1c6872d --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/0003-Fix-linking-issue.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | From 09088da56f3de17ab1cc537627cda6bf808eaf4c Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 27 Feb 2014 14:17:29 +0100 | ||
4 | Subject: [PATCH 3/3] Fix linking issue | ||
5 | |||
6 | * inline function is sometimes not included soon enough | ||
7 | |||
8 | Partialy taken from: | ||
9 | https://bugs.webkit.org/show_bug.cgi?id=124152 | ||
10 | |||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | Source/JavaScriptCore/llint/LLIntEntrypoint.cpp | 3 +++ | ||
14 | Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | 3 +++ | ||
15 | Source/JavaScriptCore/runtime/SymbolTable.cpp | 4 ++++ | ||
16 | 3 files changed, 10 insertions(+) | ||
17 | |||
18 | diff --git a/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp b/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp | ||
19 | index 5d91be6..73cba31 100644 | ||
20 | --- a/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp | ||
21 | +++ b/Source/JavaScriptCore/llint/LLIntEntrypoint.cpp | ||
22 | @@ -31,6 +31,9 @@ | ||
23 | #include "CodeBlock.h" | ||
24 | #include "JITCode.h" | ||
25 | #include "JSObject.h" | ||
26 | +#include "JSCellInlines.h" | ||
27 | +#include "JSDestructibleObject.h" | ||
28 | +#include "SlotVisitorInlines.h" | ||
29 | #include "LLIntThunks.h" | ||
30 | #include "LowLevelInterpreter.h" | ||
31 | #include "MaxFrameExtentForSlowPathCall.h" | ||
32 | diff --git a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | ||
33 | index d0583fc..4be5ec3 100644 | ||
34 | --- a/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | ||
35 | +++ b/Source/JavaScriptCore/runtime/FunctionExecutableDump.cpp | ||
36 | @@ -25,6 +25,9 @@ | ||
37 | |||
38 | #include "config.h" | ||
39 | #include "FunctionExecutableDump.h" | ||
40 | +#include "JSCellInlines.h" | ||
41 | +#include "JSDestructibleObject.h" | ||
42 | +#include "SlotVisitorInlines.h" | ||
43 | |||
44 | #include "CodeBlock.h" | ||
45 | |||
46 | diff --git a/Source/JavaScriptCore/runtime/SymbolTable.cpp b/Source/JavaScriptCore/runtime/SymbolTable.cpp | ||
47 | index 6eb0239..21450df 100644 | ||
48 | --- a/Source/JavaScriptCore/runtime/SymbolTable.cpp | ||
49 | +++ b/Source/JavaScriptCore/runtime/SymbolTable.cpp | ||
50 | @@ -33,6 +33,10 @@ | ||
51 | #include "JSCInlines.h" | ||
52 | #include "SlotVisitorInlines.h" | ||
53 | |||
54 | +#include "JSCellInlines.h" | ||
55 | +#include "JSDestructibleObject.h" | ||
56 | +#include "SlotVisitorInlines.h" | ||
57 | + | ||
58 | namespace JSC { | ||
59 | |||
60 | const ClassInfo SymbolTable::s_info = { "SymbolTable", 0, 0, 0, CREATE_METHOD_TABLE(SymbolTable) }; | ||
61 | -- | ||
62 | 1.9.0 | ||
63 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt new file mode 100644 index 000000000..8071d61f9 --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt | |||
@@ -0,0 +1,166 @@ | |||
1 | CMAKE_MINIMUM_REQUIRED(VERSION 2.8) | ||
2 | PROJECT(WebKit) | ||
3 | |||
4 | # Set a default build type if and only if user did not define one as command | ||
5 | # line options and he did not give custom CFLAGS or CXXFLAGS. Otherwise, flags | ||
6 | # from default build type would overwrite user-defined ones. | ||
7 | IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_C_FLAGS AND NOT CMAKE_CXX_FLAGS) | ||
8 | SET(CMAKE_BUILD_TYPE Release) | ||
9 | ENDIF () | ||
10 | |||
11 | # ----------------------------------------------------------------------------- | ||
12 | # Default library type | ||
13 | # ----------------------------------------------------------------------------- | ||
14 | SET(ENABLE_WEBCORE ON) | ||
15 | |||
16 | IF (NOT ENABLE_WEBKIT AND NOT ENABLE_WEBKIT2) | ||
17 | SET(ENABLE_WEBKIT ON) | ||
18 | ENDIF () | ||
19 | |||
20 | SET(ENABLE_TOOLS ON) | ||
21 | |||
22 | SET(WTF_DIR "${CMAKE_SOURCE_DIR}/Source/WTF") | ||
23 | SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/Source/JavaScriptCore") | ||
24 | SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/Source/WebCore") | ||
25 | SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit") | ||
26 | SET(WEBKIT2_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit2") | ||
27 | SET(THIRDPARTY_DIR "${CMAKE_SOURCE_DIR}/Source/ThirdParty") | ||
28 | |||
29 | SET(TOOLS_DIR "${CMAKE_SOURCE_DIR}/Tools") | ||
30 | |||
31 | SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") | ||
32 | SET(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore") | ||
33 | SET(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore") | ||
34 | SET(DERIVED_SOURCES_WEBKIT_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit") | ||
35 | SET(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2") | ||
36 | |||
37 | SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake") | ||
38 | |||
39 | SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
40 | SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
41 | SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
42 | |||
43 | INCLUDE(WebKitMacros) | ||
44 | INCLUDE(WebKitFS) | ||
45 | INCLUDE(WebKitHelpers) | ||
46 | INCLUDE(WebKitFeatures) | ||
47 | |||
48 | # ----------------------------------------------------------------------------- | ||
49 | # Determine which port will be built | ||
50 | # ----------------------------------------------------------------------------- | ||
51 | SET(ALL_PORTS Efl WinCE BlackBerry) | ||
52 | SET(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_PORTS})") | ||
53 | |||
54 | LIST(FIND ALL_PORTS ${PORT} RET) | ||
55 | IF (${RET} EQUAL -1) | ||
56 | MESSAGE(FATAL_ERROR "Please choose which WebKit port to build (one of ${ALL_PORTS})") | ||
57 | ENDIF () | ||
58 | |||
59 | STRING(TOLOWER ${PORT} WEBKIT_PORT_DIR) | ||
60 | |||
61 | # ----------------------------------------------------------------------------- | ||
62 | # Find common packages (used by all ports) | ||
63 | # ----------------------------------------------------------------------------- | ||
64 | FIND_PACKAGE(BISON REQUIRED) | ||
65 | FIND_PACKAGE(FLEX REQUIRED) | ||
66 | FIND_PACKAGE(Gperf REQUIRED) | ||
67 | FIND_PACKAGE(Perl REQUIRED) | ||
68 | FIND_PACKAGE(PythonInterp REQUIRED) | ||
69 | |||
70 | # ----------------------------------------------------------------------------- | ||
71 | # Determine the target processor | ||
72 | # ----------------------------------------------------------------------------- | ||
73 | STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR) | ||
74 | IF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") | ||
75 | SET(WTF_CPU_ARM 1) | ||
76 | ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips") | ||
77 | SET(WTF_CPU_MIPS 1) | ||
78 | ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x86_64|amd64)") | ||
79 | SET(WTF_CPU_X86_64 1) | ||
80 | ELSEIF (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") | ||
81 | SET(WTF_CPU_X86 1) | ||
82 | ELSE () | ||
83 | MESSAGE(FATAL_ERROR "Unknown CPU '${CMAKE_SYSTEM_PROCESSOR}'") | ||
84 | ENDIF () | ||
85 | |||
86 | # ----------------------------------------------------------------------------- | ||
87 | # Determine the operating system | ||
88 | # ----------------------------------------------------------------------------- | ||
89 | IF (UNIX) | ||
90 | IF (APPLE) | ||
91 | SET(WTF_OS_MAC_OS_X 1) | ||
92 | ELSE () | ||
93 | SET(WTF_OS_UNIX 1) | ||
94 | ENDIF () | ||
95 | ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Windows") | ||
96 | SET(WTF_OS_WINDOWS 1) | ||
97 | ELSEIF (CMAKE_SYSTEM_NAME MATCHES "QNX") | ||
98 | SET(WTF_OS_QNX 1) | ||
99 | SET(WTF_OS_UNIX 1) | ||
100 | ELSE () | ||
101 | MESSAGE(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'") | ||
102 | ENDIF () | ||
103 | |||
104 | # ----------------------------------------------------------------------------- | ||
105 | # Default target names (can be overrriden in Options${PORT}.cmake file) | ||
106 | # ----------------------------------------------------------------------------- | ||
107 | SET(JSC_EXECUTABLE_NAME JSC) | ||
108 | SET(WTF_LIBRARY_NAME WTF) | ||
109 | SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) | ||
110 | SET(WebCore_LIBRARY_NAME WebCore) | ||
111 | SET(WebKit_LIBRARY_NAME WebKit) | ||
112 | SET(WebKit2_LIBRARY_NAME WebKit2) | ||
113 | SET(WebCoreTestSupport_LIBRARY_NAME WebCoreTestSupport) | ||
114 | |||
115 | # ----------------------------------------------------------------------------- | ||
116 | # Default library types | ||
117 | # ----------------------------------------------------------------------------- | ||
118 | OPTION(SHARED_CORE "build JavaScriptCore and WebCore as shared libraries") | ||
119 | |||
120 | IF (SHARED_CORE) | ||
121 | SET(JavaScriptCore_LIBRARY_TYPE SHARED) | ||
122 | SET(WebCore_LIBRARY_TYPE SHARED) | ||
123 | ELSE () | ||
124 | SET(JavaScriptCore_LIBRARY_TYPE STATIC) | ||
125 | SET(WebCore_LIBRARY_TYPE STATIC) | ||
126 | ENDIF () | ||
127 | |||
128 | SET(WebKit_LIBRARY_TYPE SHARED) | ||
129 | SET(WebKit2_LIBRARY_TYPE SHARED) | ||
130 | SET(WebCoreTestSupport_LIBRARY_TYPE STATIC) | ||
131 | |||
132 | # ----------------------------------------------------------------------------- | ||
133 | # Port-specific options | ||
134 | # ----------------------------------------------------------------------------- | ||
135 | INCLUDE(OptionsCommon) | ||
136 | INCLUDE(Options${PORT}) | ||
137 | |||
138 | # ----------------------------------------------------------------------------- | ||
139 | # Enable API unit tests and create a target for the test runner | ||
140 | # ----------------------------------------------------------------------------- | ||
141 | IF (ENABLE_API_TESTS) | ||
142 | ENABLE_TESTING() | ||
143 | ENDIF () | ||
144 | |||
145 | # ----------------------------------------------------------------------------- | ||
146 | # Install JavaScript shell | ||
147 | # ----------------------------------------------------------------------------- | ||
148 | OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell") | ||
149 | |||
150 | # ----------------------------------------------------------------------------- | ||
151 | # Define packaging | ||
152 | # ----------------------------------------------------------------------------- | ||
153 | INCLUDE(WebKitPackaging) | ||
154 | |||
155 | # ----------------------------------------------------------------------------- | ||
156 | # Add module directories | ||
157 | # ----------------------------------------------------------------------------- | ||
158 | ADD_SUBDIRECTORY(Source) | ||
159 | |||
160 | # ----------------------------------------------------------------------------- | ||
161 | # Add tools | ||
162 | # ----------------------------------------------------------------------------- | ||
163 | IF (ENABLE_TOOLS) | ||
164 | ADD_SUBDIRECTORY(Tools) | ||
165 | ENDIF () | ||
166 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb b/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb new file mode 100644 index 000000000..65418ca9a --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl_2.3.4+svnr164189.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${E_RELEASES}/libs/webkit-efl/webkit-efl-164189.tar.xz \ | ||
5 | file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ | ||
6 | file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ | ||
7 | file://0003-Fix-linking-issue.patch \ | ||
8 | " | ||
9 | SRC_URI[md5sum] = "731513fc042ec8e03840bc1ab6a66771" | ||
10 | SRC_URI[sha256sum] = "660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd" | ||
11 | |||
12 | S = "${WORKDIR}/efl-webkit" | ||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb new file mode 100644 index 000000000..e50139c8d --- /dev/null +++ b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRCREV = "164189" | ||
4 | PV = "2.3.4+svnr${SRCPV}" | ||
5 | |||
6 | SRCREV_FORMAT = "source" | ||
7 | |||
8 | SRC_URI = "\ | ||
9 | svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;protocol=http;subdir=src \ | ||
10 | svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;protocol=http;subdir=src \ | ||
11 | svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;protocol=http;subdir=src \ | ||
12 | file://CMakeLists.txt \ | ||
13 | file://0001-WebKitHelpers.cmake-Add-Wno-error-cast-align.patch \ | ||
14 | file://0002-ARMAssembler.h-Don-t-generate-BKPT-and-BLX-for-armv4.patch \ | ||
15 | file://0003-Fix-linking-issue.patch \ | ||
16 | " | ||
17 | |||
18 | S = "${WORKDIR}/src" | ||
19 | |||
20 | do_configure_prepend() { | ||
21 | cp ${WORKDIR}/CMakeLists.txt ${S}; | ||
22 | } | ||