diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
| commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
| tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-devtools | |
| download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz | |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
98 files changed, 4375 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive.inc b/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive.inc new file mode 100644 index 0000000000..e8785f4de2 --- /dev/null +++ b/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive.inc | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | LICENSE = "GPLv3" | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/" | ||
| 3 | SECTION = "devel" | ||
| 4 | |||
| 5 | DEPENDS += "m4-native" | ||
| 6 | DEPENDS_virtclass-native = "m4-native gnu-config-native" | ||
| 7 | DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" | ||
| 8 | |||
| 9 | RDEPENDS_${PN} = "m4 gnu-config" | ||
| 10 | RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" | ||
| 11 | RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" | ||
| 12 | |||
| 13 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" | ||
| 14 | |||
| 15 | inherit autotools | ||
diff --git a/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive_2012.04.07.bb b/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive_2012.04.07.bb new file mode 100644 index 0000000000..5baaecc344 --- /dev/null +++ b/meta-oe/recipes-devtools/autoconf-archive/autoconf-archive_2012.04.07.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | require autoconf-archive.inc | ||
| 2 | |||
| 3 | |||
| 4 | PARALLEL_MAKE = "" | ||
| 5 | |||
| 6 | LICENSE = "GPLv2 & GPLv3" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "e842c5b9fae021007bd70550362e5e80" | ||
| 10 | SRC_URI[sha256sum] = "040b443bf68efd52fbfcb294b556bfbbbfe432db78445ca25e0cfe2e88f96a14" | ||
| 11 | |||
| 12 | EXTRA_OECONF += "ac_cv_path_M4=m4" | ||
| 13 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/bootchart/bootchart/0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch b/meta-oe/recipes-devtools/bootchart/bootchart/0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch new file mode 100644 index 0000000000..4581ef25fc --- /dev/null +++ b/meta-oe/recipes-devtools/bootchart/bootchart/0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | From 8d40b4c286e005e82fa50b66fbbbde22b7e65e15 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Sun, 20 May 2012 21:35:34 +0200 | ||
| 4 | Subject: [PATCH 1/2] svg: add rudimentary support for ARM cpuinfo | ||
| 5 | |||
| 6 | On ARM /proc/cpuinfo looks like this: | ||
| 7 | |||
| 8 | root@beagleboneA3-0428:~# cat /proc/cpuinfo | ||
| 9 | Processor : ARMv7 Processor rev 2 (v7l) | ||
| 10 | BogoMIPS : 498.89 | ||
| 11 | Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls | ||
| 12 | CPU implementer : 0x41 | ||
| 13 | CPU architecture: 7 | ||
| 14 | CPU variant : 0x3 | ||
| 15 | CPU part : 0xc08 | ||
| 16 | CPU revision : 2 | ||
| 17 | |||
| 18 | Hardware : am335xevm | ||
| 19 | Revision : 0000 | ||
| 20 | Serial : 0000000000000000 | ||
| 21 | |||
| 22 | So no real way to get the actual SoC name, TI AM3359, but a lot better than 'Unknown' | ||
| 23 | |||
| 24 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 25 | --- | ||
| 26 | |||
| 27 | Upstream-Status: submitted | ||
| 28 | |||
| 29 | svg.c | 4 ++++ | ||
| 30 | 1 file changed, 4 insertions(+) | ||
| 31 | |||
| 32 | diff --git a/svg.c b/svg.c | ||
| 33 | index 80e0292..53724b2 100644 | ||
| 34 | --- a/svg.c | ||
| 35 | +++ b/svg.c | ||
| 36 | @@ -178,6 +178,10 @@ void svg_title(void) | ||
| 37 | strncpy(cpu, &buf[13], 255); | ||
| 38 | break; | ||
| 39 | } | ||
| 40 | + if (strstr(buf, "Processor")) { | ||
| 41 | + strncpy(cpu, &buf[12], 255); | ||
| 42 | + break; | ||
| 43 | + } | ||
| 44 | } | ||
| 45 | fclose(f); | ||
| 46 | } | ||
| 47 | -- | ||
| 48 | 1.7.10 | ||
| 49 | |||
diff --git a/meta-oe/recipes-devtools/bootchart/bootchart/0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch b/meta-oe/recipes-devtools/bootchart/bootchart/0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch new file mode 100644 index 0000000000..f63d98aee5 --- /dev/null +++ b/meta-oe/recipes-devtools/bootchart/bootchart/0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From e3adb4c312c6ba3491b7c173559efac7a53e5abc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Sun, 20 May 2012 22:12:29 +0200 | ||
| 4 | Subject: [PATCH 2/2] svg: open /etc/os-release and use PRETTY_NAME for the | ||
| 5 | 'Build' name | ||
| 6 | |||
| 7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 8 | --- | ||
| 9 | |||
| 10 | Upstream-Status: Submitted | ||
| 11 | |||
| 12 | svg.c | 11 +++++++++++ | ||
| 13 | 1 file changed, 11 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/svg.c b/svg.c | ||
| 16 | index 53724b2..c675d84 100644 | ||
| 17 | --- a/svg.c | ||
| 18 | +++ b/svg.c | ||
| 19 | @@ -194,6 +194,17 @@ void svg_title(void) | ||
| 20 | fclose(f); | ||
| 21 | } | ||
| 22 | |||
| 23 | + f = fopen("/etc/os-release", "r"); | ||
| 24 | + if(f) { | ||
| 25 | + while (fgets(buf, 255, f)) { | ||
| 26 | + if (strstr(buf, "PRETTY_NAME=")) { | ||
| 27 | + strncpy(build, &buf[12], 255); | ||
| 28 | + break; | ||
| 29 | + } | ||
| 30 | + } | ||
| 31 | + fclose(f); | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | svg("<text class=\"t1\" x=\"0\" y=\"30\">Bootchart for %s - %s</text>\n", | ||
| 35 | uts.nodename, date); | ||
| 36 | svg("<text class=\"t2\" x=\"20\" y=\"50\">System: %s %s %s %s</text>\n", | ||
| 37 | -- | ||
| 38 | 1.7.10 | ||
| 39 | |||
diff --git a/meta-oe/recipes-devtools/bootchart/bootchart_git.bb b/meta-oe/recipes-devtools/bootchart/bootchart_git.bb new file mode 100644 index 0000000000..a8b81849f3 --- /dev/null +++ b/meta-oe/recipes-devtools/bootchart/bootchart_git.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "Monitors where the system spends its time at start, creating a graph of all processes, disk utilization, and wait time." | ||
| 2 | HOMEPAGE = "http://meego.gitorious.org/meego-developer-tools/bootchart" | ||
| 3 | |||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067" | ||
| 6 | |||
| 7 | PV = "1.16" | ||
| 8 | PR = "r1" | ||
| 9 | PE = "1" | ||
| 10 | |||
| 11 | SRC_URI = "git://gitorious.org/meego-developer-tools/bootchart.git \ | ||
| 12 | file://0001-svg-add-rudimentary-support-for-ARM-cpuinfo.patch \ | ||
| 13 | file://0002-svg-open-etc-os-release-and-use-PRETTY_NAME-for-the-.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRCREV = "872fb107028e377eef3c0c7c8a6e0f7c32b8ebb8" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb new file mode 100644 index 0000000000..2c5941d7ee --- /dev/null +++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 2 | |||
| 3 | # Applications using this library needs to add link against libbreakpad_client.a. | ||
| 4 | |||
| 5 | SUMMARY = "An open-source multi-platform crash reporting system" | ||
| 6 | DESCRIPTION = "Breakpad is a library and tool suite that allows you to distribute an application to users with compiler-provided debugging information removed, record crashes in compact \"minidump\" files, send them back to your server, and produce C and C++ stack traces from these minidumps. " | ||
| 7 | HOMEPAGE = "https://code.google.com/p/google-breakpad/" | ||
| 8 | LICENSE = "BSD-3-Clause" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=56c24a43c81c3af6fcf590851931489e" | ||
| 10 | SECTION = "libs" | ||
| 11 | |||
| 12 | inherit autotools | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native" | ||
| 15 | |||
| 16 | SRCREV = "r1318" | ||
| 17 | SRC_URI = "svn://google-breakpad.googlecode.com/svn;module=trunk;protocol=http" | ||
| 18 | S = "${WORKDIR}/trunk" | ||
| 19 | |||
| 20 | do_install_append() { | ||
| 21 | install -d ${D}${includedir} | ||
| 22 | install -d ${D}${includedir}/breakpad | ||
| 23 | |||
| 24 | install -d ${D}${includedir}/breakpad/client/linux/crash_generation | ||
| 25 | install -m 0644 ${S}/src/client/linux/crash_generation/crash_generation_client.h ${D}${includedir}/breakpad/client/linux/crash_generation/crash_generation_client.h | ||
| 26 | |||
| 27 | install -d ${D}${includedir}/breakpad/client/linux/handler/ | ||
| 28 | install -m 0644 ${S}/src/client/linux/handler/exception_handler.h ${D}${includedir}/breakpad/client/linux/handler/exception_handler.h | ||
| 29 | install -m 0644 ${S}/src/client/linux/handler/minidump_descriptor.h ${D}${includedir}/breakpad/client/linux/handler/minidump_descriptor.h | ||
| 30 | |||
| 31 | install -d ${D}${includedir}/breakpad/client/linux/minidump_writer | ||
| 32 | install -m 0644 ${S}/src/client/linux/minidump_writer/linux_dumper.h ${D}${includedir}/breakpad/client/linux/minidump_writer/linux_dumper.h | ||
| 33 | install -m 0644 ${S}/src/client/linux/minidump_writer/minidump_writer.h ${D}${includedir}/breakpad/client/linux/minidump_writer/minidump_writer.h | ||
| 34 | |||
| 35 | install -d ${D}${includedir}/breakpad/common | ||
| 36 | install -m 0644 ${S}/src/common/memory.h ${D}${includedir}/breakpad/common/memory.h | ||
| 37 | install -m 0644 ${S}/src/common/scoped_ptr.h ${D}${includedir}/breakpad/common/scoped_ptr.h | ||
| 38 | install -m 0644 ${S}/src/common/using_std_string.h ${D}${includedir}/breakpad/common/using_std_string.h | ||
| 39 | |||
| 40 | install -d ${D}${includedir}/breakpad/google_breakpad/common | ||
| 41 | install -m 0644 ${S}/src/google_breakpad/common/breakpad_types.h ${D}${includedir}/breakpad/google_breakpad/common/breakpad_types.h | ||
| 42 | install -m 0644 ${S}/src/google_breakpad/common/minidump_format.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_format.h | ||
| 43 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_amd64.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_amd64.h | ||
| 44 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm.h | ||
| 45 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm64.h | ||
| 46 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_mips.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_mips.h | ||
| 47 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc64.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc64.h | ||
| 48 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc.h | ||
| 49 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_sparc.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_sparc.h | ||
| 50 | install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_x86.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_x86.h | ||
| 51 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_linux.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_linux.h | ||
| 52 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_mac.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_mac.h | ||
| 53 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_ps3.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_ps3.h | ||
| 54 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_solaris.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_solaris.h | ||
| 55 | install -m 0644 ${S}/src/google_breakpad/common/minidump_exception_win32.h ${D}${includedir}/breakpad/google_breakpad/common/minidump_exception_win32.h | ||
| 56 | |||
| 57 | install -d ${D}${includedir}/breakpad/third_party/lss | ||
| 58 | install -m 0644 ${S}/src/third_party/lss/linux_syscall_support.h ${D}${includedir}/breakpad/third_party/lss/linux_syscall_support.h | ||
| 59 | } | ||
| 60 | |||
| 61 | PACKAGES =+ "${PN}-minidump-upload ${PN}-sym-upload" | ||
| 62 | |||
| 63 | FILES_${PN}-minidump-upload = "${bindir}/minidump_upload" | ||
| 64 | FILES_${PN}-sym-upload = "${bindir}/sym_upload" | ||
| 65 | |||
| 66 | |||
| 67 | SYSROOT_PREPROCESS_FUNCS += "breakpad_populate_sysroot" | ||
| 68 | breakpad_populate_sysroot() { | ||
| 69 | sysroot_stage_dir ${D}/usr/include ${SYSROOT_DESTDIR}/usr/include | ||
| 70 | sysroot_stage_dir ${D}/usr/lib ${SYSROOT_DESTDIR}/usr/lib | ||
| 71 | sysroot_stage_dir ${D}/usr/lib ${SYSROOT_DESTDIR}/usr/lib | ||
| 72 | } | ||
| 73 | |||
diff --git a/meta-oe/recipes-devtools/cgdb/cgdb/configfix.patch b/meta-oe/recipes-devtools/cgdb/cgdb/configfix.patch new file mode 100644 index 0000000000..25b13862bd --- /dev/null +++ b/meta-oe/recipes-devtools/cgdb/cgdb/configfix.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | diff -rupN cgdb-0.6.7-OLD/configure.in cgdb-0.6.7/configure.in | ||
| 2 | --- cgdb-0.6.7-OLD/configure.in 2013-01-14 05:31:53.000000000 -0600 | ||
| 3 | +++ cgdb-0.6.7/configure.in 2014-05-08 13:18:13.864632180 -0500 | ||
| 4 | @@ -65,8 +65,9 @@ AC_CHECK_HEADERS([getopt.h], | ||
| 5 | [AC_DEFINE(HAVE_GETOPT_H, 1, have getopt_long)]) | ||
| 6 | |||
| 7 | dnl determine if /dev/ptmx is available for pseudo terminals | ||
| 8 | -AC_CHECK_FILE([/dev/ptmx], | ||
| 9 | - [AC_DEFINE(HAVE_DEV_PTMX, 1, have /dev/ptmx)]) | ||
| 10 | +dnl AC_CHECK_FILE([/dev/ptmx], | ||
| 11 | +dnl [AC_DEFINE(HAVE_DEV_PTMX, 1, have /dev/ptmx)]) | ||
| 12 | +AC_DEFINE(HAVE_DEV_PTMX, 1, have /dev/ptmx) | ||
| 13 | |||
| 14 | dnl Checks for typedefs, structures, and compiler characteristics. | ||
| 15 | AC_C_CONST | ||
| 16 | @@ -167,15 +168,15 @@ fi | ||
| 17 | |||
| 18 | dnl Make sure there is a version of readline that CGDB supports. | ||
| 19 | dnl Simply putting 5.1* -> 5.9* just to take into accout future versions. | ||
| 20 | -RL_LIB_READLINE_VERSION | ||
| 21 | -case "$ac_cv_rl_version" in | ||
| 22 | -5.1*|5.2*|5.3*|5.4*|5.5*|5.6*|5.7*|5.8*|5.9*|6*|7*|8*|9*) ;; | ||
| 23 | -*) AC_MSG_ERROR([CGDB requires GNU readline 5.1 or greater to link. | ||
| 24 | - If you used --with-readline instead of using the system readline library, | ||
| 25 | - make sure to set the correct readline library on the linker search path | ||
| 26 | - via LD_LIBRARY_PATH or some other facility.]) | ||
| 27 | - ;; | ||
| 28 | -esac | ||
| 29 | +dnl RL_LIB_READLINE_VERSION | ||
| 30 | +dnl case "$ac_cv_rl_version" in | ||
| 31 | +dnl 5.1*|5.2*|5.3*|5.4*|5.5*|5.6*|5.7*|5.8*|5.9*|6*|7*|8*|9*) ;; | ||
| 32 | +dnl *) AC_MSG_ERROR([CGDB requires GNU readline 5.1 or greater to link. | ||
| 33 | +dnl If you used --with-readline instead of using the system readline library, | ||
| 34 | +dnl make sure to set the correct readline library on the linker search path | ||
| 35 | +dnl via LD_LIBRARY_PATH or some other facility.]) | ||
| 36 | +dnl ;; | ||
| 37 | +dnl esac | ||
| 38 | |||
| 39 | dnl This will DEFINE the readline headers. | ||
| 40 | RL_LIB_READLINE_INCLUDES | ||
diff --git a/meta-oe/recipes-devtools/cgdb/cgdb_0.6.7.bb b/meta-oe/recipes-devtools/cgdb/cgdb_0.6.7.bb new file mode 100644 index 0000000000..26b2782f0a --- /dev/null +++ b/meta-oe/recipes-devtools/cgdb/cgdb_0.6.7.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | SUMMARY = "curses-based interface to gdb" | ||
| 2 | HOMEPAGE = "http://cgdb.github.io/" | ||
| 3 | SECTION = "devel" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 6 | DEPENDS = "readline ncurses gdb" | ||
| 7 | |||
| 8 | SRC_URI = "http://cgdb.me/files/cgdb-${PV}.tar.gz \ | ||
| 9 | file://configfix.patch" | ||
| 10 | SRC_URI[md5sum] = "e2d9a973d2683faf8130a82703bf6a31" | ||
| 11 | SRC_URI[sha256sum] = "074ed31d1e827a04574add8c27d391447d75313e85ff938005d8ec939499fda9" | ||
| 12 | |||
| 13 | EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR} --with-ncurses=${STAGING_LIBDIR}" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9/0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch b/meta-oe/recipes-devtools/cloud9/cloud9/0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch new file mode 100644 index 0000000000..b32311a82f --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9/0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From ac1953d04f3f26d6aa5d8f53a9397d3ba0e96fa3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@circuitco.com> | ||
| 3 | Date: Fri, 11 May 2012 15:23:02 +0000 | ||
| 4 | Subject: [PATCH] ide: use 'node' as interpreter for sketches instead of | ||
| 5 | argv[0] | ||
| 6 | |||
| 7 | This enables running scripts with node 0.6.x instead of 0.4.x | ||
| 8 | |||
| 9 | Signed-off-by: root <root@beaglebone.(none)> | ||
| 10 | --- | ||
| 11 | server/cloud9/ide.js | 2 +- | ||
| 12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/server/cloud9/ide.js b/server/cloud9/ide.js | ||
| 15 | index ce782f5..6c4e0f7 100644 | ||
| 16 | --- a/server/cloud9/ide.js | ||
| 17 | +++ b/server/cloud9/ide.js | ||
| 18 | @@ -53,7 +53,7 @@ var Ide = module.exports = function(options, httpServer, exts, socket) { | ||
| 19 | }; | ||
| 20 | |||
| 21 | this.$users = {}; | ||
| 22 | - this.nodeCmd = process.argv[0]; | ||
| 23 | + this.nodeCmd = "node"; | ||
| 24 | |||
| 25 | var davOptions = { | ||
| 26 | node: this.options.mountDir, | ||
| 27 | -- | ||
| 28 | 1.7.7 | ||
| 29 | |||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service new file mode 100644 index 0000000000..cb9b6e2db9 --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <?xml version="1.0" standalone='no'?><!--*-nxml-*--> | ||
| 2 | <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | ||
| 3 | |||
| 4 | <service-group> | ||
| 5 | <name replace-wildcards="yes">Cloud9 IDE on %h</name> | ||
| 6 | <service> | ||
| 7 | <type>_http._tcp</type> | ||
| 8 | <port>3000</port> | ||
| 9 | </service> | ||
| 10 | </service-group> | ||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service new file mode 100644 index 0000000000..495b131ffa --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9.service | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Cloud9 IDE | ||
| 3 | ConditionPathExists=|/var/lib/cloud9 | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Restart=always | ||
| 7 | EnvironmentFile=-/etc/default/node | ||
| 8 | ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000 | ||
| 9 | |||
| 10 | [Install] | ||
| 11 | WantedBy=multi-user.target | ||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9/index.js b/meta-oe/recipes-devtools/cloud9/cloud9/index.js new file mode 100644 index 0000000000..88c9a19f0e --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9/index.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | var o3 = require('./o3.js') | ||
| 2 | module.exports = o3.xml; | ||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb new file mode 100644 index 0000000000..b5dbaa8d8e --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb | |||
| @@ -0,0 +1,117 @@ | |||
| 1 | SUMMARY = "Meet Cloud9, development-as-a-service for Javascripters and other developers" | ||
| 2 | HOMEPAGE = "http://c9.io" | ||
| 3 | LICENSE = "GPLv3" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" | ||
| 5 | |||
| 6 | PR = "r5" | ||
| 7 | |||
| 8 | # Nodejs-native for node-waf, nodejs4-native for the headers | ||
| 9 | DEPENDS = "libxml2 nodejs-native nodejs4-native" | ||
| 10 | |||
| 11 | inherit systemd | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ | ||
| 14 | git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \ | ||
| 15 | git://github.com/ajaxorg/ace.git;destsuffix=git/support/ace;name=ace \ | ||
| 16 | git://github.com/ajaxorg/ace.wiki.git;destsuffix=git/support/ace/doc/wiki;name=acewiki \ | ||
| 17 | git://github.com/ajaxorg/apf.git;destsuffix=git/support/apf;name=apf \ | ||
| 18 | git://github.com/ajaxorg/async.js.git;destsuffix=git/support/asyncjs;name=asyncjs \ | ||
| 19 | git://github.com/ajaxorg/connect.git;destsuffix=git/support/connect;name=connect;branch=ajaxorg \ | ||
| 20 | git://github.com/jashkenas/coffee-script.git;destsuffix=git/support/connect/support/coffee-script;name=coffee-script \ | ||
| 21 | git://github.com/visionmedia/expresso.git;destsuffix=git/support/connect/support/expresso;name=expresso \ | ||
| 22 | git://github.com/visionmedia/node-jscoverage.git;destsuffix=git/support/connect/support/expresso/deps/jscoverage;name=jscoverage \ | ||
| 23 | git://github.com/cloudhead/less.js.git;destsuffix=git/support/connect/support/less;name=less \ | ||
| 24 | git://github.com/matehat/sass.js.git;destsuffix=git/support/connect/support/sass;name=sass \ | ||
| 25 | git://github.com/ajaxorg/jsDAV.git;destsuffix=git/support/jsdav;name=jsdav \ | ||
| 26 | git://github.com/fjakobs/async.js.git;destsuffix=git/support/jsdav/support/async.js;name=async-js \ | ||
| 27 | git://github.com/felixge/node-formidable.git;destsuffix=git/support/jsdav/support/formidable;name=formidable \ | ||
| 28 | git://github.com/ajaxorg/jsftp.git;destsuffix=git/support/jsdav/support/jsftp;name=jsftp \ | ||
| 29 | git://github.com/Gozala/streamer.git;destsuffix=git/support/jsdav/support/jsftp/support/streamer;name=streamer \ | ||
| 30 | git://github.com/ajaxorg/node-sftp.git;destsuffix=git/support/jsdav/support/node-sftp;name=sftp \ | ||
| 31 | git://github.com/ajaxorg/lib-v8debug.git;destsuffix=git/support/lib-v8debug;name=lib-v8debug \ | ||
| 32 | git://github.com/ajaxorg/socket.io.git;destsuffix=git/support/socket.io;name=socketio;branch=cadorn-upstream \ | ||
| 33 | git://github.com/LearnBoost/socket.io-client.git;destsuffix=git/support/socket.io-client;name=socketio-client \ | ||
| 34 | git://github.com/ajaxorg/treehugger.git;destsuffix=git/support/treehugger;name=treehugger \ | ||
| 35 | git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \ | ||
| 36 | file://index.js \ | ||
| 37 | file://cloud9-avahi.service \ | ||
| 38 | file://cloud9.service \ | ||
| 39 | file://0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch \ | ||
| 40 | " | ||
| 41 | |||
| 42 | SRCREV_cloud9ide = "c4e2574896a22bb749f0500b25f41c888d346bed" | ||
| 43 | SRCREV_o3 = "d66d4e3252e505f44ada6804c8cab39915ce8afd" | ||
| 44 | SRCREV_ace = "0fc5392cbe46fb134052c3065a238ad8e3b31cfd" | ||
| 45 | SRCREV_acewiki = "d2a65d0addc2e5ab922bbff9cb6022a4652b4f13" | ||
| 46 | SRCREV_apf = "2560b762b2b0e5a8b46f8a4062f927a9a9d239f4" | ||
| 47 | SRCREV_asyncjs = "d36ead408e2959b1e99572114ef3a1b6a48c1072" | ||
| 48 | SRCREV_connect = "6bec95b51f2286b942bc7f340d62d816bcdc13d4" | ||
| 49 | SRCREV_coffee-script = "a53c104db16d3ac9d13cf9f16834edec250b9749" | ||
| 50 | SRCREV_expresso = "7f10ab7fa655299b4e2f519065b0495e6ac34ef2" | ||
| 51 | SRCREV_jscoverage = "0d4608a6b4275b020ba665389aa75897d5d4a584" | ||
| 52 | SRCREV_less = "a2807288008587b95c6c2f8ba5cac16f1bcab98f" | ||
| 53 | SRCREV_sass = "4dfd4c699e7a8baf226215ab044854c4507f4420" | ||
| 54 | SRCREV_jsdav = "f04ebf3d012cc8aeabfcfb2b8fab8966d52929e9" | ||
| 55 | SRCREV_async-js = "92fb710a70efd3cdc2376ebfba71a7fb3a4f1651" | ||
| 56 | SRCREV_formidable = "a37292d4b7d6d76a38909ed670334c9068d40871" | ||
| 57 | SRCREV_jsftp = "e3f10c8927347c170cdd0150ef38e18272acf942" | ||
| 58 | SRCREV_streamer = "1a7f75d4065819171ac91a09974199b932dbe17d" | ||
| 59 | SRCREV_sftp = "a0539345134970d7535a19cb2608e3d1bc119d71" | ||
| 60 | SRCREV_lib-v8debug = "7c11897f4bc77c7275c2b6dff5becc72ac018662" | ||
| 61 | SRCREV_socketio = "735d5239b325df2ba67d2b9bb4ec32442283bc06" | ||
| 62 | SRCREV_socketio-client = "4375ef1344ecb8ad75a3848a00af6b391822f86b" | ||
| 63 | SRCREV_treehugger = "436d0d6dd0ce43782e6be08ad12c356730626996" | ||
| 64 | SRCREV_uglify-js = "941c845c4a01e4e47a158458fe846eb36d0828ad" | ||
| 65 | |||
| 66 | SRCREV_FORMAT = "cloud9ide" | ||
| 67 | |||
| 68 | S = "${WORKDIR}/git" | ||
| 69 | |||
| 70 | do_configure () { | ||
| 71 | cd ${WORKDIR}/o3 | ||
| 72 | node-waf -vv configure | ||
| 73 | } | ||
| 74 | |||
| 75 | EXTRA_CXXFLAGS = "-Idefault/include -I../include -Idefault/hosts -I../hosts -Idefault/modules -I../modules -Idefault/deps -I../deps -I${STAGING_DIR_NATIVE}/usr/include/node4 -fPIC -DPIC" | ||
| 76 | |||
| 77 | do_compile () { | ||
| 78 | cd ${WORKDIR}/o3 | ||
| 79 | node4 tools/gluegen.js | ||
| 80 | cd hosts | ||
| 81 | ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node.o node-o3/sh_node.cc | ||
| 82 | ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node_libs.o node-o3/sh_node_libs.cc | ||
| 83 | cd .. | ||
| 84 | ${CXX} ${TARGET_LDFLAGS} hosts/sh_node.o hosts/sh_node_libs.o -o o3.node -shared -Wl,-Bdynamic -lxml2 | ||
| 85 | } | ||
| 86 | |||
| 87 | do_install () { | ||
| 88 | install -m 0755 -d ${D}${datadir}/cloud9 ${D}${bindir} ${D}/var/lib/cloud9 | ||
| 89 | rsync -r --exclude=".*" ${S}/* ${D}${datadir}/cloud9 | ||
| 90 | |||
| 91 | touch ${D}${bindir}/cloud9 | ||
| 92 | echo "#!/bin/sh" > ${D}${bindir}/cloud9 | ||
| 93 | echo "node4 ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9 | ||
| 94 | chmod 0755 ${D}${bindir}/cloud9 | ||
| 95 | |||
| 96 | install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml | ||
| 97 | install -m 0644 ${WORKDIR}/index.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/index.js | ||
| 98 | install -m 0644 ${WORKDIR}/o3/modules/o3.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.js | ||
| 99 | install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.node | ||
| 100 | |||
| 101 | install -m 0755 -d ${D}${sysconfdir}/avahi/services/ | ||
| 102 | install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/ | ||
| 103 | |||
| 104 | install -d ${D}${systemd_unitdir}/system | ||
| 105 | install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system | ||
| 106 | } | ||
| 107 | |||
| 108 | FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/.debug \ | ||
| 109 | ${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \ | ||
| 110 | " | ||
| 111 | |||
| 112 | RDEPENDS_${PN} = "nodejs4 nodejs gzip" | ||
| 113 | |||
| 114 | RPROVIDES_${PN} += "${PN}-systemd" | ||
| 115 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 116 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 117 | SYSTEMD_SERVICE_${PN} = "cloud9.service" | ||
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/cross.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/cross.patch new file mode 100644 index 0000000000..38504fef6b --- /dev/null +++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/cross.patch | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | Index: git/configure | ||
| 2 | =================================================================== | ||
| 3 | --- git.orig/configure 2012-11-19 21:07:51.917429465 -0800 | ||
| 4 | +++ git/configure 2012-11-19 21:13:19.337437278 -0800 | ||
| 5 | @@ -275,8 +275,11 @@ | ||
| 6 | assert "$SYSTEM" "$SYSTEM" "unsupported" | ||
| 7 | |||
| 8 | CORES=${CORES:-${DCORES}} | ||
| 9 | -printf "Detecting machine architecture..." | ||
| 10 | -PLATFORM=`uname -m 2> /dev/null` | ||
| 11 | +if test -z "$PLATFORM"; then | ||
| 12 | + printf "Detecting machine architecture..." | ||
| 13 | + PLATFORM=`uname -m 2> /dev/null` | ||
| 14 | +fi | ||
| 15 | + | ||
| 16 | case $PLATFORM in | ||
| 17 | "macppc"|"Power Macintosh"|"powerpc") | ||
| 18 | MM="${MM:-"CK_MD_RMO"}" | ||
| 19 | @@ -439,14 +442,18 @@ | ||
| 20 | GZIP_SUFFIX=".gz" | ||
| 21 | fi | ||
| 22 | |||
| 23 | -printf "Finding suitable compiler........" | ||
| 24 | -CC=`pathsearch "${CC:-cc}"` | ||
| 25 | -if test -z "$CC" -o ! -x "$CC"; then | ||
| 26 | - CC=`pathsearch "${CC:-gcc}"` | ||
| 27 | +if test -z "$CC"; then | ||
| 28 | + printf "Finding suitable compiler........" | ||
| 29 | + CC=`pathsearch "${CC:-cc}"` | ||
| 30 | + if test -z "$CC" -o ! -x "$CC"; then | ||
| 31 | + CC=`pathsearch "${CC:-gcc}"` | ||
| 32 | + fi | ||
| 33 | fi | ||
| 34 | assert "$CC" "not found" | ||
| 35 | |||
| 36 | -cat << EOF > .1.c | ||
| 37 | +if test -z "$COMPILER"; then | ||
| 38 | + | ||
| 39 | + cat << EOF > .1.c | ||
| 40 | #include <stdio.h> | ||
| 41 | int main(void) { | ||
| 42 | #if defined(__GNUC__) && (__GNUC__ >= 4) | ||
| 43 | @@ -460,16 +467,16 @@ | ||
| 44 | #endif | ||
| 45 | } | ||
| 46 | EOF | ||
| 47 | - | ||
| 48 | -$CC -o .1 .1.c | ||
| 49 | -COMPILER=`./.1` | ||
| 50 | -r=$? | ||
| 51 | -rm -f .1.c .1 | ||
| 52 | - | ||
| 53 | -if test "$r" -ne 0; then | ||
| 54 | - assert "" "update compiler" | ||
| 55 | -else | ||
| 56 | - echo "success [$CC]" | ||
| 57 | + $CC -o .1 .1.c | ||
| 58 | + COMPILER=`./.1` | ||
| 59 | + r=$? | ||
| 60 | + rm -f .1.c .1 | ||
| 61 | + | ||
| 62 | + if test "$r" -ne 0; then | ||
| 63 | + assert "" "update compiler" | ||
| 64 | + else | ||
| 65 | + echo "success [$CC]" | ||
| 66 | + fi | ||
| 67 | fi | ||
| 68 | |||
| 69 | if test "$COMPILER" = "suncc"; then | ||
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb new file mode 100644 index 0000000000..eebccf01be --- /dev/null +++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | DESCRIPTION = "Concurrency Kit provides a plethora of concurrency primitives, \ | ||
| 2 | safe memory reclamation mechanisms and non-blocking data structures \ | ||
| 3 | designed to aid in the design and implementation of high performance \ | ||
| 4 | concurrent systems." | ||
| 5 | |||
| 6 | LICENSE = "BSD & Apache-2.0" | ||
| 7 | HOMEPAGE = "http://concurrencykit.org" | ||
| 8 | SECTION = "base" | ||
| 9 | |||
| 10 | PV = "0.4.3+git${SRCPV}" | ||
| 11 | SRCREV = "900d203aa9e41288545368ea40da0bee89f7907f" | ||
| 12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f12611e65e064515ce264249b2bdea98" | ||
| 13 | SRC_URI = "git://github.com/concurrencykit/ck.git;protocol=https \ | ||
| 14 | file://cross.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64).*-linux*" | ||
| 20 | |||
| 21 | inherit autotools-brokensep | ||
| 22 | |||
| 23 | PLAT_powerpc64 = "ppc64" | ||
| 24 | PLAT ?= "${HOST_ARCH}" | ||
| 25 | |||
| 26 | do_configure () { | ||
| 27 | export PLATFORM=${PLAT} | ||
| 28 | export COMPILER='gcc' | ||
| 29 | ${S}/configure \ | ||
| 30 | --prefix=${prefix} \ | ||
| 31 | --includedir=${includedir} \ | ||
| 32 | --libdir=${libdir} \ | ||
| 33 | } | ||
| 34 | |||
| 35 | do_compile () { | ||
| 36 | oe_runmake | ||
| 37 | } | ||
| 38 | |||
| 39 | do_install () { | ||
| 40 | oe_runmake 'DESTDIR=${D}' install | ||
| 41 | } | ||
diff --git a/meta-oe/recipes-devtools/cppunit/cppunit_1.13.1.bb b/meta-oe/recipes-devtools/cppunit/cppunit_1.13.1.bb new file mode 100644 index 0000000000..3e525fe4f8 --- /dev/null +++ b/meta-oe/recipes-devtools/cppunit/cppunit_1.13.1.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | DESCRIPTION = "CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML for automatic testing and GUI based for supervised tests. " | ||
| 2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/cppunit" | ||
| 3 | LICENSE = "LGPL-2.1" | ||
| 4 | SECTION = "libs" | ||
| 5 | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
| 7 | SRC_URI = "http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz" | ||
| 8 | SRC_URI[md5sum] = "fa9aa839145cdf860bf596532bb8af97" | ||
| 9 | SRC_URI[sha256sum] = "d5b9f3ffc9f1634d75b20b54f48c02e0817bca6afa1d5160b244889d6bff8e0f" | ||
| 10 | |||
| 11 | inherit autotools | ||
diff --git a/meta-oe/recipes-devtools/dejagnu/dejagnu/configure.patch b/meta-oe/recipes-devtools/dejagnu/dejagnu/configure.patch new file mode 100644 index 0000000000..2eb8af7130 --- /dev/null +++ b/meta-oe/recipes-devtools/dejagnu/dejagnu/configure.patch | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | Index: dejagnu-1.4.4/configure.in | ||
| 2 | =================================================================== | ||
| 3 | --- dejagnu-1.4.4.orig/configure.in 2014-07-18 07:05:49.997481207 +0000 | ||
| 4 | +++ dejagnu-1.4.4/configure.in 2014-07-18 07:05:50.085481210 +0000 | ||
| 5 | @@ -1,10 +1,10 @@ | ||
| 6 | dnl Process this file with autoconf to produce a configure script. | ||
| 7 | AC_PREREQ(2.13) | ||
| 8 | -AC_INIT(runtest.exp) | ||
| 9 | +AC_INIT(dejagnu, 1.4.4) | ||
| 10 | dnl AC_CONFIG_AUX_DIR(..) | ||
| 11 | |||
| 12 | dnl These are required by automake | ||
| 13 | -AM_INIT_AUTOMAKE(dejagnu, 1.4.4) | ||
| 14 | +AM_INIT_AUTOMAKE([foreign]) | ||
| 15 | AM_MAINTAINER_MODE | ||
| 16 | AC_PROG_MAKE_SET | ||
| 17 | |||
| 18 | Index: dejagnu-1.4.4/example/calc/configure.in | ||
| 19 | =================================================================== | ||
| 20 | --- dejagnu-1.4.4.orig/example/calc/configure.in 2002-04-26 03:32:40.000000000 +0000 | ||
| 21 | +++ dejagnu-1.4.4/example/calc/configure.in 2014-07-18 07:11:59.085491266 +0000 | ||
| 22 | @@ -1,8 +1,8 @@ | ||
| 23 | dnl Process this file with autoconf to produce a configure script. | ||
| 24 | AC_PREREQ(2.5) | ||
| 25 | -AC_INIT(calc.c) | ||
| 26 | +AC_INIT(calc, 1.1) | ||
| 27 | AM_CONFIG_HEADER(calc.h) | ||
| 28 | -AM_INIT_AUTOMAKE(calc, 1.1) | ||
| 29 | +AM_INIT_AUTOMAKE([foreign]) | ||
| 30 | |||
| 31 | AC_PROG_CC | ||
| 32 | AC_PROG_INSTALL | ||
| 33 | Index: dejagnu-1.4.4/example/hello/configure.in | ||
| 34 | =================================================================== | ||
| 35 | --- dejagnu-1.4.4.orig/example/hello/configure.in 2002-08-31 05:46:16.000000000 +0000 | ||
| 36 | +++ dejagnu-1.4.4/example/hello/configure.in 2014-07-18 07:12:23.721491937 +0000 | ||
| 37 | @@ -25,7 +25,7 @@ | ||
| 38 | # ------------------------------------------------------------------------ | ||
| 39 | |||
| 40 | AC_INIT(helloworld, demo-version, philip.wilsey@ieee.org) | ||
| 41 | -AM_INIT_AUTOMAKE(helloworld, demo-version) | ||
| 42 | +AM_INIT_AUTOMAKE([foreign]) | ||
| 43 | |||
| 44 | #AC_CONFIG_SRCDIR([hello.cc]) | ||
| 45 | #AC_CONFIG_HEADER([config.h]) | ||
diff --git a/meta-oe/recipes-devtools/dejagnu/dejagnu_1.4.4.bb b/meta-oe/recipes-devtools/dejagnu/dejagnu_1.4.4.bb new file mode 100644 index 0000000000..63726b2328 --- /dev/null +++ b/meta-oe/recipes-devtools/dejagnu/dejagnu_1.4.4.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | SUMMARY = "GNU unit testing framework, written in Expect and Tcl" | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | inherit autotools | ||
| 7 | |||
| 8 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ | ||
| 9 | file://configure.patch" | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "053f18fd5d00873de365413cab17a666" | ||
| 12 | SRC_URI[sha256sum] = "d0fbedef20fb0843318d60551023631176b27ceb1e11de7468a971770d0e048d" | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch b/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch new file mode 100644 index 0000000000..5166fece09 --- /dev/null +++ b/meta-oe/recipes-devtools/geany/geany/0001-configure.ac-remove-additional-c-test.patch | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | From e62d5b59262ec7ffe07931790712c7e247377795 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Thu, 21 Feb 2013 09:31:31 +0100 | ||
| 4 | Subject: [PATCH] configure.ac remove additional c++ test | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | For openembedded cross-builds CXX can contain something like: | ||
| 10 | |||
| 11 | arm-oe-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm | ||
| 12 | |||
| 13 | This ends up in | ||
| 14 | |||
| 15 | configure:5582: error: No C++ compiler found. Please install a C++ compiler. | ||
| 16 | |||
| 17 | Anyway if [1] is still valid, the combination of AC_PROG_CC and AC_PROG_CXX | ||
| 18 | should thow an error message. | ||
| 19 | |||
| 20 | [1] http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00001.html | ||
| 21 | |||
| 22 | Upstream-Status: Inappropriate [configuration] | ||
| 23 | |||
| 24 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 25 | --- | ||
| 26 | configure.ac | 5 ----- | ||
| 27 | 1 files changed, 0 insertions(+), 5 deletions(-) | ||
| 28 | |||
| 29 | diff --git a/configure.ac b/configure.ac | ||
| 30 | index c37312a..742bf35 100644 | ||
| 31 | --- a/configure.ac | ||
| 32 | +++ b/configure.ac | ||
| 33 | @@ -26,11 +26,6 @@ AC_USE_SYSTEM_EXTENSIONS | ||
| 34 | AC_PROG_CC | ||
| 35 | |||
| 36 | AC_PROG_CXX | ||
| 37 | -# check for C++ compiler explicitly and fail if none is found, do this check | ||
| 38 | -# after AC_PROG_CXX has set the CXX environment variable | ||
| 39 | -if ! which $CXX >/dev/null 2>&1; then | ||
| 40 | - AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.]) | ||
| 41 | -fi | ||
| 42 | |||
| 43 | AC_PROG_INSTALL | ||
| 44 | AC_PROG_LN_S | ||
| 45 | -- | ||
| 46 | 1.7.6.5 | ||
| 47 | |||
diff --git a/meta-oe/recipes-devtools/geany/geany_1.24.1.bb b/meta-oe/recipes-devtools/geany/geany_1.24.1.bb new file mode 100644 index 0000000000..f765e2c8d2 --- /dev/null +++ b/meta-oe/recipes-devtools/geany/geany_1.24.1.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | SUMMARY = "A fast and lightweight IDE" | ||
| 2 | HOMEPAGE = "http://www.geany.org/" | ||
| 3 | LICENSE = "GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5" | ||
| 5 | DEPENDS = "gtk+" | ||
| 6 | |||
| 7 | inherit autotools pkgconfig perlnative | ||
| 8 | |||
| 9 | SRC_URI = " \ | ||
| 10 | http://download.geany.org/${BP}.tar.bz2 \ | ||
| 11 | file://0001-configure.ac-remove-additional-c-test.patch \ | ||
| 12 | " | ||
| 13 | SRC_URI[md5sum] = "d225104cef3973164d70116d46239606" | ||
| 14 | SRC_URI[sha256sum] = "7fb505d9b01fe6874890525f837644a6a38c23a372bb068c65ef3673108a8c33" | ||
| 15 | |||
| 16 | FILES_${PN} += "${datadir}/icons" | ||
diff --git a/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb b/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb new file mode 100644 index 0000000000..1f853083ce --- /dev/null +++ b/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "shared library for GIF images" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a" | ||
| 5 | PR = "r3" | ||
| 6 | |||
| 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2" | ||
| 8 | |||
| 9 | inherit autotools | ||
| 10 | |||
| 11 | EXTRA_OECONF = "--disable-x11" | ||
| 12 | |||
| 13 | PACKAGES += "${PN}-utils" | ||
| 14 | FILES_${PN} = "${libdir}/libgif.so.*" | ||
| 15 | FILES_${PN}-utils = "${bindir}" | ||
| 16 | |||
| 17 | BBCLASSEXTEND = "native" | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "7125644155ae6ad33dbc9fc15a14735f" | ||
| 20 | SRC_URI[sha256sum] = "e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed" | ||
diff --git a/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch b/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch new file mode 100644 index 0000000000..1b24c39ce8 --- /dev/null +++ b/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | From aed002cd9ff9e8f972120fbac33b4a65aba952e1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Tue, 25 Sep 2012 10:28:33 +0200 | ||
| 4 | Subject: [PATCH] gnome-doc-utils.make: sysrooted pkg-config | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | same approach as used used in gnome-disk-utility: | ||
| 10 | |||
| 11 | In cross environment we have to prepend the sysroot to the path found by | ||
| 12 | pkgconfig since the path returned from pkgconfig does not have sysroot prefixed | ||
| 13 | it ends up using the files from host system. Now usually people have gnome installed | ||
| 14 | so the build succeeds but if you dont have gnome installed on build host then | ||
| 15 | it wont find the files on host system and packages using gnome-doc-utils wont | ||
| 16 | compile. | ||
| 17 | |||
| 18 | This should work ok with non sysrooted builds too since in those cases PKG_CONFIG_SYSROOT_DIR | ||
| 19 | will be empty | ||
| 20 | |||
| 21 | Upstream-Status: pending | ||
| 22 | |||
| 23 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 24 | --- | ||
| 25 | gnome-doc-utils.make | 10 +++++----- | ||
| 26 | 1 files changed, 5 insertions(+), 5 deletions(-) | ||
| 27 | |||
| 28 | diff --git a/gnome-doc-utils.make b/gnome-doc-utils.make | ||
| 29 | index 42d9df3..f71bbfa 100644 | ||
| 30 | --- a/gnome-doc-utils.make | ||
| 31 | +++ b/gnome-doc-utils.make | ||
| 32 | @@ -133,11 +133,11 @@ _DOC_ABS_SRCDIR = @abs_srcdir@ | ||
| 33 | _xml2po ?= `which xml2po` | ||
| 34 | _xml2po_mode = $(if $(DOC_ID),mallard,docbook) | ||
| 35 | |||
| 36 | -_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
| 37 | -_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
| 38 | -_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
| 39 | -_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
| 40 | -_ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl | ||
| 41 | +_db2html ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
| 42 | +_db2omf ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
| 43 | +_chunks ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
| 44 | +_credits ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
| 45 | +_ids ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
| 46 | |||
| 47 | if ENABLE_SK | ||
| 48 | _ENABLE_SK = true | ||
| 49 | -- | ||
| 50 | 1.7.6.5 | ||
| 51 | |||
diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb new file mode 100644 index 0000000000..4e7ef9b5ca --- /dev/null +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "Glade - A User Interface Designer" | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/gnash" | ||
| 3 | LICENSE = "GPLv2 & LGPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ | ||
| 5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ | ||
| 6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" | ||
| 7 | DEPENDS = "gtk+ gnome-doc-utils-native gnome-common libxml2" | ||
| 8 | |||
| 9 | inherit autotools pkgconfig pythonnative | ||
| 10 | |||
| 11 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \ | ||
| 12 | file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch" | ||
| 13 | SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f" | ||
| 14 | SRC_URI[sha256sum] = "58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735" | ||
| 15 | |||
| 16 | EXTRA_OECONF += "--disable-scrollkeeper" | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "" | ||
| 19 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" | ||
| 20 | |||
| 21 | do_configure_prepend() { | ||
| 22 | sed -i '/^if HAVE_GNOME_DOC_UTILS/,/^endif/d' ${S}/Makefile.am | ||
| 23 | } | ||
| 24 | |||
| 25 | FILES_${PN} += "${datadir}/icons" | ||
| 26 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" | ||
| 27 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la" | ||
diff --git a/meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch b/meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch new file mode 100644 index 0000000000..5d83818c03 --- /dev/null +++ b/meta-oe/recipes-devtools/icon-slicer/files/0001-Makefile.am-no-examples.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From e6d53086524a94d27920614e38966020e0b2b3ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Mon, 5 Nov 2012 11:25:02 +0100 | ||
| 4 | Subject: [PATCH] Makefile.am: no examples | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [configuration] | ||
| 10 | |||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 12 | |||
| 13 | --- | ||
| 14 | Makefile.am | 2 +- | ||
| 15 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/Makefile.am b/Makefile.am | ||
| 18 | index 28ee7eb..af437a6 100644 | ||
| 19 | --- a/Makefile.am | ||
| 20 | +++ b/Makefile.am | ||
| 21 | @@ -1 +1 @@ | ||
| 22 | -SUBDIRS = src examples | ||
| 23 | \ No newline at end of file | ||
| 24 | +SUBDIRS = src | ||
| 25 | -- | ||
| 26 | 1.7.6.5 | ||
| 27 | |||
diff --git a/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb b/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb new file mode 100644 index 0000000000..9768a6e716 --- /dev/null +++ b/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | LICENSE = "GPLv2" | ||
| 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 3 | |||
| 4 | DEPENDS = "gdk-pixbuf popt" | ||
| 5 | |||
| 6 | SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BPN}-${PV}.tar.gz \ | ||
| 7 | file://0001-Makefile.am-no-examples.patch" | ||
| 8 | SRC_URI[md5sum] = "5c5374d4f265b0abe4daef1d03f87104" | ||
| 9 | SRC_URI[sha256sum] = "05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d" | ||
| 10 | |||
| 11 | inherit autotools pkgconfig | ||
| 12 | |||
| 13 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/jq/jq_1.4.bb b/meta-oe/recipes-devtools/jq/jq_1.4.bb new file mode 100644 index 0000000000..6e50803a37 --- /dev/null +++ b/meta-oe/recipes-devtools/jq/jq_1.4.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "Lightweight and flexible command-line JSON processor" | ||
| 2 | DESCRIPTION = "jq is like sed for JSON data, you can use it to slice and \ | ||
| 3 | filter and map and transform structured data with the same \ | ||
| 4 | ease that sed, awk, grep and friends let you play with text." | ||
| 5 | HOMEPAGE = "http://stedolan.github.io/jq/" | ||
| 6 | BUGTRACKER = "https://github.com/stedolan/jq/issues" | ||
| 7 | SECTION = "utils" | ||
| 8 | |||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=244a1fb9cf472474a062d67069dec653" | ||
| 11 | |||
| 12 | DEPENDS = "flex-native bison-native" | ||
| 13 | |||
| 14 | SRC_URI = "http://stedolan.github.io/${BPN}/download/source/${BP}.tar.gz \ | ||
| 15 | " | ||
| 16 | SRC_URI[md5sum] = "e3c75a4f805bb5342c9f4b3603fb248f" | ||
| 17 | SRC_URI[sha256sum] = "998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d" | ||
| 18 | |||
| 19 | inherit autotools | ||
| 20 | |||
| 21 | # Don't build documentation (generation requires ruby) | ||
| 22 | EXTRA_OECONF = "--disable-docs" | ||
diff --git a/meta-oe/recipes-devtools/lemon/files/lemon.1 b/meta-oe/recipes-devtools/lemon/files/lemon.1 new file mode 100644 index 0000000000..914ee07013 --- /dev/null +++ b/meta-oe/recipes-devtools/lemon/files/lemon.1 | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | .Dd 2002-10-04 | ||
| 2 | .Dt LEMON 1 | ||
| 3 | .Os "Debian GNU/Linux" | ||
| 4 | .\" Manual page created by Guus Sliepen <guus@debian.org> | ||
| 5 | .Sh NAME | ||
| 6 | .Nm lemon | ||
| 7 | .Nd The Lemon Parser Generator | ||
| 8 | .Sh SYNOPSIS | ||
| 9 | .Nm | ||
| 10 | .Op Fl bcgmqsx | ||
| 11 | .Ar input | ||
| 12 | .Sh DESCRIPTION | ||
| 13 | .Nm | ||
| 14 | is an LALR(1) parser generator for C or C++. | ||
| 15 | It does the same job as bison and yacc. | ||
| 16 | But | ||
| 17 | .Nm | ||
| 18 | is not another bison or yacc clone. | ||
| 19 | It uses a different grammar syntax which is designed to reduce the number of coding errors. | ||
| 20 | .Nm | ||
| 21 | also uses a more sophisticated parsing engine that is faster than yacc and bison | ||
| 22 | and which is both reentrant and thread-safe. | ||
| 23 | Furthermore, | ||
| 24 | .Nm | ||
| 25 | implements features that can be used to eliminate resource leaks, | ||
| 26 | making is suitable for use in long-running programs such as graphical user interfaces or embedded controllers. | ||
| 27 | .Pp | ||
| 28 | .Nm | ||
| 29 | will read the grammer from | ||
| 30 | .Ar input | ||
| 31 | and write out a parser for that grammar in the C language. | ||
| 32 | .Sh OPTIONS | ||
| 33 | .Bl -tag -width indent | ||
| 34 | .It Fl b | ||
| 35 | Print only the basis in report. | ||
| 36 | .It Fl c | ||
| 37 | Don't compress the action table. | ||
| 38 | .It Fl g | ||
| 39 | Print grammar without actions. | ||
| 40 | .It Fl m | ||
| 41 | Output a makeheaders compatible file. | ||
| 42 | .It Fl q | ||
| 43 | (Quiet) Don't print the report file. | ||
| 44 | .It Fl s | ||
| 45 | Print parser stats to standard output. | ||
| 46 | .It Fl x | ||
| 47 | Print the version number. | ||
| 48 | .El | ||
| 49 | .Sh FILES | ||
| 50 | .Bl -tag -width indent | ||
| 51 | .It Pa /usr/share/lemon/lempar.c | ||
| 52 | Driver template for the | ||
| 53 | .Nm | ||
| 54 | parser generator. | ||
| 55 | .El | ||
| 56 | .Sh AUTHOR | ||
| 57 | .Nm | ||
| 58 | has been written by | ||
| 59 | .An D. Richard Hipp Aq drh@hwaci.com . | ||
| 60 | .Pp | ||
| 61 | This manual page was written by | ||
| 62 | .An Guus Sliepen Aq guus@debian.org | ||
| 63 | for the Debian GNU/Linux system. | ||
diff --git a/meta-oe/recipes-devtools/lemon/lemon.inc b/meta-oe/recipes-devtools/lemon/lemon.inc new file mode 100644 index 0000000000..57b9fb710e --- /dev/null +++ b/meta-oe/recipes-devtools/lemon/lemon.inc | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | DESCRIPTION = "The Lemon Parser Generator" | ||
| 2 | HOMEPAGE = "http://www.hwaci.com/sw/lemon/" | ||
| 3 | LICENSE = "PD" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \ | ||
| 7 | file://lemon.1" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/sqlite-${PV}/tool" | ||
| 10 | |||
| 11 | do_compile() { | ||
| 12 | ${CC} ${CFLAGS} lemon.c -c -o lemon.o | ||
| 13 | ${CCLD} ${LDFLAGS} lemon.o -o lemon | ||
| 14 | } | ||
| 15 | |||
| 16 | do_install() { | ||
| 17 | install -d ${D}${bindir} | ||
| 18 | install -m 0755 lemon ${D}${bindir} | ||
| 19 | install -m 0644 lempar.c ${D}${bindir} | ||
| 20 | install -d ${D}${mandir}/man1 | ||
| 21 | install -m 0644 ${WORKDIR}/lemon.1 ${D}${mandir}/man1/ | ||
| 22 | } | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
| 25 | |||
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.5.4.bb b/meta-oe/recipes-devtools/lemon/lemon_3.5.4.bb new file mode 100644 index 0000000000..7df47d41f5 --- /dev/null +++ b/meta-oe/recipes-devtools/lemon/lemon_3.5.4.bb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | require lemon.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "f17da840eed792e896c3408d0ce97718" | ||
| 6 | SRC_URI[sha256sum] = "47daba209bd3bcffa1c5fcd5fdfc4f524eae619b4fa855aeeb1bbbc8bd2bb04f" | ||
| 7 | |||
diff --git a/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch b/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch new file mode 100644 index 0000000000..f729ee2074 --- /dev/null +++ b/meta-oe/recipes-devtools/libc-client/files/quote_cctype.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | diff -urN imap-2007.orig/Makefile imap-2007/Makefile | ||
| 2 | --- imap-2007.orig/Makefile 2007-12-20 23:11:10.000000000 +0100 | ||
| 3 | +++ imap-2007/Makefile 2008-03-19 14:08:47.000000000 +0100 | ||
| 4 | @@ -690,7 +690,7 @@ | ||
| 5 | @$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)' | ||
| 6 | @echo Rebuilding c-client for `$(CAT) OSTYPE`... | ||
| 7 | @$(TOUCH) SPECIALS | ||
| 8 | - $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \ | ||
| 9 | + $(CD) c-client;$(MAKE) all CC="`$(CAT) CCTYPE`" \ | ||
| 10 | CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS` | ||
| 11 | |||
| 12 | rebuildclean: | ||
diff --git a/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb new file mode 100644 index 0000000000..150ff9028d --- /dev/null +++ b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | SUMMARY = "UW c-client library for mail protocols" | ||
| 2 | SECTION = "devel" | ||
| 3 | |||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97" | ||
| 6 | |||
| 7 | DEPENDS = "openssl libpam" | ||
| 8 | |||
| 9 | PR = "r1" | ||
| 10 | |||
| 11 | SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \ | ||
| 12 | file://quote_cctype.patch" | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "7903800dc2604000016de070e0c55840" | ||
| 15 | SRC_URI[sha256sum] = "4b1137b87249782496ec3eeacaf83bbf09312a7d2ae3aead262179041b55565f" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/imap-${PV}" | ||
| 18 | |||
| 19 | EXTRA_OEMAKE = "CC='${CC}'" | ||
| 20 | |||
| 21 | HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h" | ||
| 22 | |||
| 23 | do_compile() { | ||
| 24 | echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS | ||
| 25 | oe_runmake lnp | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | install -d ${D}${includedir}/c-client | ||
| 30 | install ${HEADERS} ${D}${includedir}/c-client | ||
| 31 | install -d ${D}${libdir} | ||
| 32 | install c-client/c-client.a ${D}${libdir}/libc-client.a | ||
| 33 | } | ||
| 34 | |||
| 35 | ALLOW_EMPTY_${PN} = "1" | ||
diff --git a/meta-oe/recipes-devtools/libedit/libedit_20130712-3.1.bb b/meta-oe/recipes-devtools/libedit/libedit_20130712-3.1.bb new file mode 100644 index 0000000000..1f76bb2c74 --- /dev/null +++ b/meta-oe/recipes-devtools/libedit/libedit_20130712-3.1.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | SUMMARY = "BSD replacement for libreadline" | ||
| 2 | DESCRIPTION = "Command line editor library providing generic line editing, \ | ||
| 3 | history, and tokenization functions" | ||
| 4 | HOMEPAGE = "http://www.thrysoee.dk/editline/" | ||
| 5 | SECTION = "libs" | ||
| 6 | LICENSE = "BSD" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533" | ||
| 8 | |||
| 9 | DEPENDS = "ncurses" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
| 13 | # upstream site does not allow wget's User-Agent | ||
| 14 | FETCHCMD_wget += "-U bitbake" | ||
| 15 | SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/${BPN}-${PV}" | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "0891336c697362727a1fa7e60c5cb96c" | ||
| 20 | SRC_URI[sha256sum] = "5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37" | ||
diff --git a/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.2.bb b/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.2.bb new file mode 100644 index 0000000000..cb4bc24a87 --- /dev/null +++ b/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.2.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | SUMMARY = "Fribidi library for bidirectional text" | ||
| 2 | SECTION = "libs" | ||
| 3 | PR = "r1" | ||
| 4 | LICENSE = "LGPLv2.1" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
| 6 | BBCLASSEXTEND = "native" | ||
| 7 | |||
| 8 | PROVIDES = "libfribidi" | ||
| 9 | |||
| 10 | inherit autotools lib_package pkgconfig | ||
| 11 | |||
| 12 | CFLAGS_append = " -DPAGE_SIZE=4096 " | ||
| 13 | |||
| 14 | SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.gz" | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "626db17d2d99b43615ad9d12500f568a" | ||
| 17 | SRC_URI[sha256sum] = "49cf91586e48b52fe25872ff66c1da0dff0daac2593f9f300e2af12f44f64177" | ||
diff --git a/meta-oe/recipes-devtools/libgee/libgee.inc b/meta-oe/recipes-devtools/libgee/libgee.inc new file mode 100644 index 0000000000..fcfd0776e9 --- /dev/null +++ b/meta-oe/recipes-devtools/libgee/libgee.inc | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | DESCRIPTION = "libgee is a collection library providing GObject-based interfaces \ | ||
| 2 | and classes for commonly used data structures." | ||
| 3 | HOMEPAGE = "http://live.gnome.org/Libgee" | ||
| 4 | SECTION = "libs" | ||
| 5 | DEPENDS = "glib-2.0" | ||
| 6 | BBCLASSEXTEND = "native" | ||
| 7 | LICENSE = "LGPLv2.1" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
| 9 | INC_PR = "r6" | ||
| 10 | PE = "1" | ||
| 11 | |||
| 12 | inherit autotools vala pkgconfig | ||
| 13 | do_configure_prepend() { | ||
| 14 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
| 15 | for i in ${MACROS}; do | ||
| 16 | rm -f m4/$i | ||
| 17 | done | ||
| 18 | } | ||
diff --git a/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb b/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb new file mode 100644 index 0000000000..fbd14662fd --- /dev/null +++ b/meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | require libgee.inc | ||
| 2 | PE = "1" | ||
| 3 | PR = "${INC_PR}.2" | ||
| 4 | DEPENDS += "gobject-introspection-stub" | ||
| 5 | DEPENDS_virtclass-native += "gobject-introspection-stub-native" | ||
| 6 | |||
| 7 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
| 8 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgee/${SHRT_VER}/${BP}.tar.xz" | ||
| 9 | SRC_URI[md5sum] = "a32bf498cf33d5e3417823a7b252ad22" | ||
| 10 | SRC_URI[sha256sum] = "55f39f3b28e676f6cbd9377d83edd031084436a4da41280a9503c94faffb1665" | ||
diff --git a/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb new file mode 100644 index 0000000000..6201774721 --- /dev/null +++ b/meta-oe/recipes-devtools/log4cplus/log4cplus_1.1.1.bb | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | SUMMARY = "log4cplus provides a simple C++ logging API for log management" | ||
| 2 | SECTION = "libs" | ||
| 3 | HOMEPAGE = "http://sourceforge.net/projects/log4cplus/" | ||
| 4 | BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/" | ||
| 5 | |||
| 6 | LICENSE = "Apache-2.0 BSD-2-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=65053a46f707ee2b93f09ad22f692170" | ||
| 8 | |||
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz" | ||
| 10 | SRC_URI[md5sum] = "104bd6dd07ee71bc52ee9adca4d4d5fc" | ||
| 11 | SRC_URI[sha256sum] = "96905e763fc6f1e3a854c3d1964c21e877de909bdddd0aed99806c62a68be838" | ||
| 12 | |||
| 13 | inherit autotools pkgconfig | ||
| 14 | |||
| 15 | BBCLASSEXTEND += "native" | ||
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch new file mode 100644 index 0000000000..56b0333ca4 --- /dev/null +++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Make-sure-to-include-generated-header.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 4a8f24892514cd5e4d11b9105c843db49eea921b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 19 Feb 2014 19:41:33 -0800 | ||
| 4 | Subject: [PATCH] wdt_test_suite: Make sure to include generated headers | ||
| 5 | |||
| 6 | This makes sure that its using the generated headers | ||
| 7 | and not the raw headers from kernel, generated headers | ||
| 8 | are built for the given machine already when kernel is | ||
| 9 | built and are available in configured/compiled kernel tree | ||
| 10 | already | ||
| 11 | |||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | testcases/ddt/wdt_test_suite/Makefile | 4 ++-- | ||
| 15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile | ||
| 18 | index 90a6a90..22a1cfd 100644 | ||
| 19 | --- a/testcases/ddt/wdt_test_suite/Makefile | ||
| 20 | +++ b/testcases/ddt/wdt_test_suite/Makefile | ||
| 21 | @@ -20,8 +20,8 @@ INCLUDES = -I $(KERNEL_INC) -I src/interface/common -I ../utils/user | ||
| 22 | INCLUDES = -I src/parser \ | ||
| 23 | -I src/interface/common \ | ||
| 24 | -I ../utils/user \ | ||
| 25 | - -I $(KERNEL_INC)/include \ | ||
| 26 | - -I $(KERNEL_INC)/arch/arm/include | ||
| 27 | + -I $(KERNEL_INC)/include/generated \ | ||
| 28 | + -I $(KERNEL_INC)/arch/arm/include/generated \ | ||
| 29 | |||
| 30 | #List of source files- Update this on adding a new C file | ||
| 31 | SOURCES := \ | ||
| 32 | -- | ||
| 33 | 1.9.0 | ||
| 34 | |||
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb new file mode 100644 index 0000000000..db62ac63a5 --- /dev/null +++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" | ||
| 2 | HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git" | ||
| 3 | SECTION = "console/utils" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
| 6 | |||
| 7 | PROVIDES += "ltp" | ||
| 8 | DEPENDS += "zip-native virtual/kernel alsa-lib" | ||
| 9 | |||
| 10 | RDEPENDS_${PN} += "pm-qa" | ||
| 11 | |||
| 12 | inherit autotools-brokensep module-base kernel-module-split | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 16 | SRCREV = "903f70a11eb77cbad62d7ecbe7dcbaf61be8ff99" | ||
| 17 | BRANCH ?= "master" | ||
| 18 | |||
| 19 | SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \ | ||
| 20 | file://0001-wdt_test_suite-Make-sure-to-include-generated-header.patch \ | ||
| 21 | " | ||
| 22 | |||
| 23 | S = "${WORKDIR}/git" | ||
| 24 | |||
| 25 | LTPROOT = "/opt/ltp" | ||
| 26 | |||
| 27 | EXTRA_OEMAKE_append = " \ | ||
| 28 | prefix=${LTPROOT} \ | ||
| 29 | CROSS_COMPILE=${HOST_PREFIX} \ | ||
| 30 | SKIP_IDCHECK=1 \ | ||
| 31 | KERNEL_PATH=${STAGING_KERNEL_DIR} \ | ||
| 32 | KERNEL_INC=${STAGING_KERNEL_DIR} \ | ||
| 33 | KERNEL_USR_INC=${STAGING_INCDIR} \ | ||
| 34 | ALSA_INCPATH=${STAGING_INCDIR} \ | ||
| 35 | ALSA_LIBPATH=${STAGING_LIBDIR} \ | ||
| 36 | PLATFORM=${MACHINE} \ | ||
| 37 | RANLIB=${RANLIB} \ | ||
| 38 | DESTDIR=${D} \ | ||
| 39 | CC='${CC}' \ | ||
| 40 | KERNEL_CC='${KERNEL_CC}' \ | ||
| 41 | " | ||
| 42 | |||
| 43 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 44 | |||
| 45 | FILES_${PN}-dbg += " \ | ||
| 46 | ${LTPROOT}/.debug \ | ||
| 47 | ${LTPROOT}/bin/.debug \ | ||
| 48 | ${LTPROOT}/runtest/.debug \ | ||
| 49 | ${LTPROOT}/testcases/bin/.debug \ | ||
| 50 | ${LTPROOT}/testcases/bin/*/bin/.debug \ | ||
| 51 | ${LTPROOT}/testcases/bin/*/test/.debug \ | ||
| 52 | ${LTPROOT}/testcases/bin/ddt/.debug \ | ||
| 53 | ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \ | ||
| 54 | ${LTPROOT}/testcases/bin/ddt/*/test/.debug \ | ||
| 55 | ${LTPROOT}/testcases/realtime/*/*/.debug \ | ||
| 56 | " | ||
| 57 | |||
| 58 | FILES_${PN}-staticdev += "${LTPROOT}/lib" | ||
| 59 | FILES_${PN} += "${LTPROOT}/*" | ||
| 60 | |||
| 61 | do_configure() { | ||
| 62 | cp ${S}/include/config.h.default ${S}/include/config.h | ||
| 63 | cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk | ||
| 64 | cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk | ||
| 65 | echo "${TAG}" > ${S}/ChangeLog | ||
| 66 | } | ||
| 67 | |||
| 68 | kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt" | ||
| 69 | |||
| 70 | do_compile_append () { | ||
| 71 | oe_runmake modules | ||
| 72 | } | ||
| 73 | |||
| 74 | do_install() { | ||
| 75 | oe_runmake install | ||
| 76 | install -d ${D}${datadir} | ||
| 77 | install -d ${D}${kmoddir} | ||
| 78 | cp -a ${D}${LTPROOT}/share/* ${D}${datadir} | ||
| 79 | rm -rf ${D}${LTPROOT}/share/ | ||
| 80 | mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir} | ||
| 81 | } | ||
| 82 | |||
| 83 | # do_make_scripts should be a separate task for the lock to work | ||
| 84 | addtask make_scripts before do_compile | ||
| 85 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
| 86 | do_make_scripts[deptask] = "do_populate_sysroot" | ||
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch b/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch new file mode 100644 index 0000000000..8f3c0ecea1 --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | diff --git a/value.c b/value.c | ||
| 2 | index d18db17..b98298e 100644 | ||
| 3 | --- a/value.c | ||
| 4 | +++ b/value.c | ||
| 5 | @@ -1,6 +1,6 @@ | ||
| 6 | /* | ||
| 7 | * This file is part of ltrace. | ||
| 8 | - * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc. | ||
| 9 | + * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc. | ||
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or | ||
| 12 | * modify it under the terms of the GNU General Public License as | ||
| 13 | @@ -282,9 +282,9 @@ value_init_deref(struct value *ret_val, struct value *valp) | ||
| 14 | if (value_extract_word(valp, &l, NULL) < 0) | ||
| 15 | return -1; | ||
| 16 | |||
| 17 | - /* We need "long" to be long enough to hold platform | ||
| 18 | + /* We need "long" to be long enough to hold target | ||
| 19 | * pointers. */ | ||
| 20 | - typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))]; | ||
| 21 | + assert(sizeof(l) >= sizeof(arch_addr_t)); | ||
| 22 | |||
| 23 | value_common_init(ret_val, valp->inferior, valp, | ||
| 24 | valp->type->u.ptr_info.info, 0); | ||
| 25 | diff --git a/lens_default.c b/lens_default.c | ||
| 26 | index ed3d0e1..5d00814 100644 | ||
| 27 | --- a/lens_default.c | ||
| 28 | +++ b/lens_default.c | ||
| 29 | @@ -1,6 +1,6 @@ | ||
| 30 | /* | ||
| 31 | * This file is part of ltrace. | ||
| 32 | - * Copyright (C) 2011,2012 Petr Machata, Red Hat Inc. | ||
| 33 | + * Copyright (C) 2011,2012,2013 Petr Machata, Red Hat Inc. | ||
| 34 | * Copyright (C) 1998,2004,2007,2008,2009 Juan Cespedes | ||
| 35 | * Copyright (C) 2006 Ian Wienand | ||
| 36 | * Copyright (C) 2006 Steve Fink | ||
| 37 | @@ -342,9 +342,9 @@ format_array(FILE *stream, struct value *value, struct value_dict *arguments, | ||
| 38 | struct expr_node *length, size_t maxlen, int before, | ||
| 39 | const char *open, const char *close, const char *delim) | ||
| 40 | { | ||
| 41 | - /* We need "long" to be long enough to cover the whole address | ||
| 42 | - * space. */ | ||
| 43 | - typedef char assert__long_enough_long[-(sizeof(long) < sizeof(void *))]; | ||
| 44 | + /* We need "long" to be long enough to cover the whole target | ||
| 45 | + * address space. */ | ||
| 46 | + assert(sizeof(long) >= sizeof(arch_addr_t)); | ||
| 47 | long l; | ||
| 48 | if (expr_eval_word(length, value, arguments, &l) < 0) | ||
| 49 | return -1; | ||
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb new file mode 100644 index 0000000000..507747ae18 --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "ltrace intercepts and records dynamic library calls" | ||
| 2 | |||
| 3 | DESCRIPTION = "ltrace intercepts and records dynamic library calls \ | ||
| 4 | which are called by an executed process and the signals received by that process. \ | ||
| 5 | It can also intercept and print the system calls executed by the program.\ | ||
| 6 | " | ||
| 7 | HOMEPAGE = "http://ltrace.org/" | ||
| 8 | |||
| 9 | LICENSE = "GPLv2" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 11 | |||
| 12 | PE = "1" | ||
| 13 | PV = "7.2+git${SRCPV}" | ||
| 14 | SRCREV = "f44b28421979cec88d6d6a778fc27a8cd514f508" | ||
| 15 | |||
| 16 | DEPENDS = "elfutils" | ||
| 17 | RDEPENDS_${PN} = "elfutils" | ||
| 18 | SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git \ | ||
| 19 | file://ltrace-0.7.2-unused-typedef.patch \ | ||
| 20 | " | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | inherit autotools | ||
| 24 | |||
| 25 | PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" | ||
| 26 | |||
| 27 | do_configure_prepend () { | ||
| 28 | ( cd ${S}; ./autogen.sh ) | ||
| 29 | } | ||
diff --git a/meta-oe/recipes-devtools/lua/lua-test/lua-test.patch b/meta-oe/recipes-devtools/lua/lua-test/lua-test.patch new file mode 100644 index 0000000000..be260c2198 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua-test/lua-test.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | diff --git a/lua-5.2.2-tests/strings.lua b/lua-5.2.2-tests/strings.lua | ||
| 2 | index b9ef470..a921da4 100644 | ||
| 3 | --- a/strings.lua | ||
| 4 | +++ b/strings.lua | ||
| 5 | @@ -209,7 +209,6 @@ check("%d %d", "no value") | ||
| 6 | |||
| 7 | -- integers out of range | ||
| 8 | assert(not pcall(string.format, "%d", 2^63)) | ||
| 9 | -assert(not pcall(string.format, "%x", 2^64)) | ||
| 10 | assert(not pcall(string.format, "%x", -2^64)) | ||
| 11 | assert(not pcall(string.format, "%x", -1)) | ||
| 12 | |||
diff --git a/meta-oe/recipes-devtools/lua/lua-test/run-ptest b/meta-oe/recipes-devtools/lua/lua-test/run-ptest new file mode 100644 index 0000000000..8e085e1af9 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua-test/run-ptest | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | cd test | ||
| 4 | lua -e"_U=true" all.lua > lua-test.tmp | ||
| 5 | |||
| 6 | echo "--- test output ---" | ||
| 7 | cat lua-test.tmp | ||
| 8 | echo "" | ||
| 9 | echo "" | ||
| 10 | echo "--- ptest result ---" | ||
| 11 | |||
| 12 | grep "final OK \!\!\!" lua-test.tmp > /dev/null | ||
| 13 | if [ $? -eq 0 ]; then | ||
| 14 | echo "PASS: lua" | ||
| 15 | else | ||
| 16 | echo "FAIL: lua" | ||
| 17 | fi | ||
| 18 | |||
| 19 | rm -f lua-test.tmp | ||
diff --git a/meta-oe/recipes-devtools/lua/lua-test_5.2.2.bb b/meta-oe/recipes-devtools/lua/lua-test_5.2.2.bb new file mode 100644 index 0000000000..877df8e374 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua-test_5.2.2.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "Lua test suites" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 5 | HOMEPAGE = "http://www.lua.org/" | ||
| 6 | |||
| 7 | DEPENDS = "lua" | ||
| 8 | SRC_URI = "http://www.lua.org/tests/lua-${PV}-tests.tar.gz \ | ||
| 9 | file://lua-test.patch \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | |||
| 13 | S = "${WORKDIR}/lua-${PV}-tests" | ||
| 14 | |||
| 15 | SRC_URI[md5sum] = "a3dabd30e5a364c87191b0c1e6f64178" | ||
| 16 | SRC_URI[sha256sum] = "07c1071c66d9cb4dc80200ed430fc21ebbbccf1f55148b87eb0b9522932e4eb6" | ||
| 17 | |||
| 18 | inherit ptest | ||
| 19 | |||
| 20 | do_install_ptest () { | ||
| 21 | cp -a ${S} ${D}${PTEST_PATH}/test | ||
| 22 | } | ||
diff --git a/meta-oe/recipes-devtools/lua/lua/lua.pc b/meta-oe/recipes-devtools/lua/lua/lua.pc new file mode 100644 index 0000000000..e6f8b6f096 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua/lua.pc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | prefix=/usr | ||
| 2 | libdir=${prefix}/lib | ||
| 3 | includedir=${prefix}/include | ||
| 4 | |||
| 5 | Name: Lua | ||
| 6 | Description: Lua language engine | ||
| 7 | Version: 5.2.2 | ||
| 8 | Requires: | ||
| 9 | Libs: -L${libdir} -llua | ||
| 10 | Libs.private: -lm | ||
| 11 | Cflags: -I${includedir} | ||
diff --git a/meta-oe/recipes-devtools/lua/lua/uclibc-pthread.patch b/meta-oe/recipes-devtools/lua/lua/uclibc-pthread.patch new file mode 100644 index 0000000000..f4cdc5d8c5 --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua/uclibc-pthread.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: lua-5.1.4/src/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- a/src/Makefile.orig 2013-10-22 22:17:19.929103523 -0400 | ||
| 4 | +++ a/src/Makefile 2013-10-22 22:18:27.992104545 -0400 | ||
| 5 | @@ -9,7 +9,7 @@ | ||
| 6 | CC= gcc | ||
| 7 | CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS) | ||
| 8 | LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS) | ||
| 9 | -LIBS= -lm $(SYSLIBS) $(MYLIBS) | ||
| 10 | +LIBS= -lm -lpthread $(SYSLIBS) $(MYLIBS) | ||
| 11 | |||
| 12 | AR= ar rcu | ||
| 13 | RANLIB= ranlib | ||
diff --git a/meta-oe/recipes-devtools/lua/lua_5.2.2.bb b/meta-oe/recipes-devtools/lua/lua_5.2.2.bb new file mode 100644 index 0000000000..9da170060c --- /dev/null +++ b/meta-oe/recipes-devtools/lua/lua_5.2.2.bb | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | DESCRIPTION = "Lua is a powerful light-weight programming language designed \ | ||
| 2 | for extending applications." | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=364;endline=398;md5=ad3069a42853ac3efd7d379d87f6088b" | ||
| 5 | HOMEPAGE = "http://www.lua.org/" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | DEPENDS = "readline" | ||
| 10 | PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}" | ||
| 11 | ALLOW_EMPTY_lua-ptest = "1" | ||
| 12 | RDEPENDS_lua-ptest_class-target = "lua-test-ptest" | ||
| 13 | SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz \ | ||
| 14 | file://lua.pc \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "efbb645e897eae37cad4344ce8b0a614" | ||
| 18 | SRC_URI[sha256sum] = "3fd67de3f5ed133bf312906082fa524545c6b9e1b952e8215ffbd27113f49f00" | ||
| 19 | |||
| 20 | inherit pkgconfig binconfig | ||
| 21 | |||
| 22 | UCLIBC_PATCHES += "file://uclibc-pthread.patch" | ||
| 23 | SRC_URI_append_libc-uclibc = "${UCLIBC_PATCHES}" | ||
| 24 | |||
| 25 | TARGET_CC_ARCH += " -fPIC ${LDFLAGS}" | ||
| 26 | EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -DLUA_USE_LINUX -fPIC' MYLDFLAGS='${LDFLAGS}'" | ||
| 27 | |||
| 28 | do_configure_prepend() { | ||
| 29 | sed -i -e s:/usr/local:${prefix}:g src/luaconf.h | ||
| 30 | } | ||
| 31 | |||
| 32 | do_compile () { | ||
| 33 | oe_runmake linux | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install () { | ||
| 37 | oe_runmake \ | ||
| 38 | 'INSTALL_TOP=${D}${prefix}' \ | ||
| 39 | 'INSTALL_BIN=${D}${bindir}' \ | ||
| 40 | 'INSTALL_INC=${D}${includedir}/' \ | ||
| 41 | 'INSTALL_MAN=${D}${mandir}/man1' \ | ||
| 42 | 'INSTALL_SHARE=${D}${datadir}/lua' \ | ||
| 43 | 'INSTALL_LIB=${D}${libdir}' \ | ||
| 44 | 'INSTALL_CMOD=${D}${libdir}/lua/5.2' \ | ||
| 45 | install | ||
| 46 | install -d ${D}${libdir}/pkgconfig | ||
| 47 | install -m 0644 ${WORKDIR}/lua.pc ${D}${libdir}/pkgconfig/ | ||
| 48 | rmdir ${D}${datadir}/lua/5.2 | ||
| 49 | rmdir ${D}${datadir}/lua | ||
| 50 | } | ||
| 51 | |||
| 52 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch new file mode 100644 index 0000000000..f123b3f55a --- /dev/null +++ b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 528009f5ca0685c95ef27f6c8957160499c0576a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 10 May 2013 10:42:45 -0700 | ||
| 4 | Subject: [PATCH] Do not strip automatically, this leaves the stripping | ||
| 5 | busines to OE | ||
| 6 | |||
| 7 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 8 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | src/Makefile | 2 -- | ||
| 12 | 1 file changed, 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/src/Makefile b/src/Makefile | ||
| 15 | index 278324a..5ecd6d5 100644 | ||
| 16 | --- a/src/Makefile | ||
| 17 | +++ b/src/Makefile | ||
| 18 | @@ -665,12 +665,10 @@ $(LUAJIT_A): $(LJVMCORE_O) | ||
| 19 | $(LUAJIT_SO): $(LJVMCORE_O) | ||
| 20 | $(E) "DYNLINK $@" | ||
| 21 | $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) $(TARGET_ALIBS) | ||
| 22 | - $(Q)$(TARGET_STRIP) $@ | ||
| 23 | |||
| 24 | $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) | ||
| 25 | $(E) "LINK $@" | ||
| 26 | $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) $(TARGET_O) $(TARGET_ALIBS) | ||
| 27 | - $(Q)$(TARGET_STRIP) $@ | ||
| 28 | $(E) "OK Successfully built LuaJIT" | ||
| 29 | |||
| 30 | ############################################################################## | ||
| 31 | -- | ||
| 32 | 1.7.9.5 | ||
| 33 | |||
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb new file mode 100644 index 0000000000..48137e3852 --- /dev/null +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | SUMMARY = "Just-In-Time Compiler for Lua" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=97b6446bbf9d55616838f821585c5978" | ||
| 4 | HOMEPAGE = "http://luajit.org" | ||
| 5 | |||
| 6 | SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ | ||
| 7 | file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ | ||
| 8 | " | ||
| 9 | SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" | ||
| 10 | SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/LuaJIT-${PV}" | ||
| 13 | |||
| 14 | inherit pkgconfig binconfig | ||
| 15 | |||
| 16 | BBCLASSEXTEND = "native" | ||
| 17 | |||
| 18 | do_configure_prepend() { | ||
| 19 | sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile | ||
| 20 | sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile | ||
| 21 | } | ||
| 22 | |||
| 23 | EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} \ | ||
| 24 | TARGET_CFLAGS="${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}" \ | ||
| 25 | TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" \ | ||
| 26 | TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}"' | ||
| 27 | EXTRA_OEMAKE_append_powerpc = ' HOST_CC="${BUILD_CC} -m32"' | ||
| 28 | EXTRA_OEMAKE_append_x86-64 = ' HOST_CC="${BUILD_CC}"' | ||
| 29 | EXTRA_OEMAKE_append_i586 = ' HOST_CC="${BUILD_CC} -m32"' | ||
| 30 | EXTRA_OEMAKE_append_powerpc64 = ' HOST_CC="${BUILD_CC}"' | ||
| 31 | EXTRA_OEMAKE_append_arm = ' HOST_CC="${BUILD_CC} -m32"' | ||
| 32 | EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"' | ||
| 33 | |||
| 34 | do_compile () { | ||
| 35 | oe_runmake | ||
| 36 | } | ||
| 37 | |||
| 38 | do_install () { | ||
| 39 | oe_runmake 'DESTDIR=${D}' install | ||
| 40 | rmdir ${D}${datadir}/lua/5.* \ | ||
| 41 | ${D}${datadir}/lua \ | ||
| 42 | ${D}${libdir}/lua/5.* \ | ||
| 43 | ${D}${libdir}/lua | ||
| 44 | } | ||
| 45 | |||
| 46 | PACKAGES += 'luajit-common' | ||
| 47 | |||
| 48 | FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \ | ||
| 49 | ${libdir}/libluajit-5.1.so.${PV} \ | ||
| 50 | " | ||
| 51 | FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ | ||
| 52 | ${libdir}/libluajit-5.1.so \ | ||
| 53 | ${libdir}/pkgconfig/luajit.pc \ | ||
| 54 | " | ||
| 55 | FILES_luajit-common = "${datadir}/${BPN}-${PV}" | ||
| 56 | |||
diff --git a/meta-oe/recipes-devtools/mcpp/files/ice-mcpp.patch b/meta-oe/recipes-devtools/mcpp/files/ice-mcpp.patch new file mode 100644 index 0000000000..8103cf0920 --- /dev/null +++ b/meta-oe/recipes-devtools/mcpp/files/ice-mcpp.patch | |||
| @@ -0,0 +1,208 @@ | |||
| 1 | diff -r -c -N ../mcpp-2.7.2-old/noconfig/vc2010.dif ./noconfig/vc2010.dif | ||
| 2 | *** ../mcpp-2.7.2-old/noconfig/vc2010.dif Wed Dec 31 20:30:00 1969 | ||
| 3 | --- ./noconfig/vc2010.dif Fri May 14 12:47:22 2010 | ||
| 4 | *************** | ||
| 5 | *** 0 **** | ||
| 6 | --- 1,67 ---- | ||
| 7 | + *** noconfig.H Thu Sep 25 15:34:56 2008 | ||
| 8 | + --- noconfig.H.vc2005 Thu Sep 25 17:23:49 2008 | ||
| 9 | + *************** | ||
| 10 | + *** 15,21 **** | ||
| 11 | + */ | ||
| 12 | + | ||
| 13 | + /* Define target operating-system. */ | ||
| 14 | + ! #define SYSTEM SYS_FREEBSD | ||
| 15 | + | ||
| 16 | + /* Define target compiler. */ | ||
| 17 | + #ifndef COMPILER | ||
| 18 | + --- 15,21 ---- | ||
| 19 | + */ | ||
| 20 | + | ||
| 21 | + /* Define target operating-system. */ | ||
| 22 | + ! #define SYSTEM SYS_WIN32 | ||
| 23 | + | ||
| 24 | + /* Define target compiler. */ | ||
| 25 | + #ifndef COMPILER | ||
| 26 | + *************** | ||
| 27 | + *** 26,36 **** | ||
| 28 | + #define HOST_SYSTEM SYSTEM | ||
| 29 | + | ||
| 30 | + /* Define host compiler. */ | ||
| 31 | + ! #define HOST_COMPILER GNUC | ||
| 32 | + | ||
| 33 | + /* Version message. */ | ||
| 34 | + /* "MCPP V.2.* (200y/mm) compiled by " precedes VERSION_MSG */ | ||
| 35 | + ! #define VERSION_MSG "GCC 3.4" | ||
| 36 | + #if 0 | ||
| 37 | + "LCC-Win32 2006-03" | ||
| 38 | + "Visual C 2005" | ||
| 39 | + --- 26,36 ---- | ||
| 40 | + #define HOST_SYSTEM SYSTEM | ||
| 41 | + | ||
| 42 | + /* Define host compiler. */ | ||
| 43 | + ! #define HOST_COMPILER MSC | ||
| 44 | + | ||
| 45 | + /* Version message. */ | ||
| 46 | + /* "MCPP V.2.* (200y/mm) compiled by " precedes VERSION_MSG */ | ||
| 47 | + ! #define VERSION_MSG "Visual C 2010" | ||
| 48 | + #if 0 | ||
| 49 | + "LCC-Win32 2006-03" | ||
| 50 | + "Visual C 2005" | ||
| 51 | + *************** | ||
| 52 | + *** 212,221 **** | ||
| 53 | + #define ONE_PASS TRUE | ||
| 54 | + #endif | ||
| 55 | + #define COMPILER_EXT "_MSC_VER" | ||
| 56 | + ! #define COMPILER_EXT_VAL "1500" /* VC 6.0: "1200" */ | ||
| 57 | + /* VC 2002: "1300", VC 2003: "1310", VC 2005: "1400", VC 2008: "1500" */ | ||
| 58 | + #define COMPILER_EXT2 "_MSC_FULL_VER" | ||
| 59 | + ! #define COMPILER_EXT2_VAL "150021022" /* VC 6.0: "12008804" */ | ||
| 60 | + /* VC 2002: "13009466", VC 2003: "13103077", VC 2005: "140050320" */ | ||
| 61 | + /* VC 2008: "150021022" */ | ||
| 62 | + #define COMPILER_SP1 "_MSC_EXTENSIONS" | ||
| 63 | + --- 212,221 ---- | ||
| 64 | + #define ONE_PASS TRUE | ||
| 65 | + #endif | ||
| 66 | + #define COMPILER_EXT "_MSC_VER" | ||
| 67 | + ! #define COMPILER_EXT_VAL "1600" /* VC 6.0: "1200" */ | ||
| 68 | + /* VC 2002: "1300", VC 2003: "1310", VC 2005: "1400", VC 2008: "1500" */ | ||
| 69 | + #define COMPILER_EXT2 "_MSC_FULL_VER" | ||
| 70 | + ! #define COMPILER_EXT2_VAL "160030319" /* VC 6.0: "12008804" */ | ||
| 71 | + /* VC 2002: "13009466", VC 2003: "13103077", VC 2005: "140050320" */ | ||
| 72 | + /* VC 2008: "150021022" */ | ||
| 73 | + #define COMPILER_SP1 "_MSC_EXTENSIONS" | ||
| 74 | diff -r -c -N ../mcpp-2.7.2-old/src/internal.H ./src/internal.H | ||
| 75 | *** ../mcpp-2.7.2-old/src/internal.H Wed Aug 27 10:31:16 2008 | ||
| 76 | --- ./src/internal.H Fri May 14 12:40:56 2010 | ||
| 77 | *************** | ||
| 78 | *** 390,395 **** | ||
| 79 | --- 390,397 ---- | ||
| 80 | extern char identifier[]; /* Lastly scanned name */ | ||
| 81 | extern IFINFO ifstack[]; /* Information of #if nesting */ | ||
| 82 | extern char work_buf[]; | ||
| 83 | + extern FILEINFO * sh_file; | ||
| 84 | + extern int sh_line; | ||
| 85 | /* Temporary buffer for directive line and macro expansion */ | ||
| 86 | |||
| 87 | /* main.c */ | ||
| 88 | *************** | ||
| 89 | *** 557,562 **** | ||
| 90 | #endif | ||
| 91 | #endif | ||
| 92 | |||
| 93 | ! #if HOST_HAVE_STPCPY | ||
| 94 | extern char * stpcpy( char * dest, const char * src); | ||
| 95 | #endif | ||
| 96 | --- 559,564 ---- | ||
| 97 | #endif | ||
| 98 | #endif | ||
| 99 | |||
| 100 | ! #if HOST_HAVE_STPCPY && !defined(stpcpy) | ||
| 101 | extern char * stpcpy( char * dest, const char * src); | ||
| 102 | #endif | ||
| 103 | diff -r -c -N ../mcpp-2.7.2-old/src/main.c ./src/main.c | ||
| 104 | *** ../mcpp-2.7.2-old/src/main.c Wed Nov 5 05:04:46 2008 | ||
| 105 | --- ./src/main.c Fri May 14 12:40:56 2010 | ||
| 106 | *************** | ||
| 107 | *** 326,331 **** | ||
| 108 | --- 326,333 ---- | ||
| 109 | = FALSE; | ||
| 110 | option_flags.trig = TRIGRAPHS_INIT; | ||
| 111 | option_flags.dig = DIGRAPHS_INIT; | ||
| 112 | + sh_file = NULL; | ||
| 113 | + sh_line = 0; | ||
| 114 | } | ||
| 115 | |||
| 116 | int mcpp_lib_main | ||
| 117 | diff -r -c -N ../mcpp-2.7.2-old/src/support.c ./src/support.c | ||
| 118 | *** ../mcpp-2.7.2-old/src/support.c Tue Jun 10 06:02:33 2008 | ||
| 119 | --- ./src/support.c Fri May 14 12:40:56 2010 | ||
| 120 | *************** | ||
| 121 | *** 188,194 **** | ||
| 122 | size_t length | ||
| 123 | ) | ||
| 124 | { | ||
| 125 | ! if (mem_buf_p->bytes_avail < length) { /* Need to allocate more memory */ | ||
| 126 | size_t size = MAX( BUF_INCR_SIZE, length); | ||
| 127 | |||
| 128 | if (mem_buf_p->buffer == NULL) { /* 1st append */ | ||
| 129 | --- 188,194 ---- | ||
| 130 | size_t length | ||
| 131 | ) | ||
| 132 | { | ||
| 133 | ! if (mem_buf_p->bytes_avail < length + 1) { /* Need to allocate more memory */ | ||
| 134 | size_t size = MAX( BUF_INCR_SIZE, length); | ||
| 135 | |||
| 136 | if (mem_buf_p->buffer == NULL) { /* 1st append */ | ||
| 137 | *************** | ||
| 138 | *** 1722,1727 **** | ||
| 139 | --- 1722,1729 ---- | ||
| 140 | sp -= 2; | ||
| 141 | while (*sp != '\n') /* Until end of line */ | ||
| 142 | mcpp_fputc( *sp++, OUT); | ||
| 143 | + mcpp_fputc( '\n', OUT); | ||
| 144 | + wrong_line = TRUE; | ||
| 145 | } | ||
| 146 | goto end_line; | ||
| 147 | default: /* Not a comment */ | ||
| 148 | diff -r -c -N ../mcpp-2.7.2-old/src/system.c ./src/system.c | ||
| 149 | *** ../mcpp-2.7.2-old/src/system.c 2008-11-26 10:53:51.000000000 +0100 | ||
| 150 | --- ./src/system.c 2011-02-21 16:18:05.678058106 +0100 | ||
| 151 | *************** | ||
| 152 | *** 3534,3539 **** | ||
| 153 | --- 3534,3565 ---- | ||
| 154 | FILEINFO * file; | ||
| 155 | const char * too_many_include_nest = | ||
| 156 | "More than %.0s%ld nesting of #include"; /* _F_ _W4_ */ | ||
| 157 | + | ||
| 158 | + // | ||
| 159 | + // When encoding is UTF-8, skip BOM if present. | ||
| 160 | + // | ||
| 161 | + if(mbchar == UTF8 && fp != NULL && ftell(fp) == 0) | ||
| 162 | + { | ||
| 163 | + const unsigned char UTF8_BOM[3] = {0xEF, 0xBB, 0xBF}; | ||
| 164 | + unsigned char FILE_HEAD[3] = {0, 0, 0}; | ||
| 165 | + int i; | ||
| 166 | + for(i = 0; i < 3; ++i) | ||
| 167 | + { | ||
| 168 | + FILE_HEAD[i] = getc(fp); | ||
| 169 | + if(FILE_HEAD[i] != UTF8_BOM[i]) | ||
| 170 | + { | ||
| 171 | + if(FILE_HEAD[i] == (unsigned char)EOF) | ||
| 172 | + { | ||
| 173 | + i--; | ||
| 174 | + } | ||
| 175 | + for(; i >= 0; --i) | ||
| 176 | + { | ||
| 177 | + ungetc(FILE_HEAD[i], fp); | ||
| 178 | + } | ||
| 179 | + break; | ||
| 180 | + } | ||
| 181 | + } | ||
| 182 | + } | ||
| 183 | |||
| 184 | filename = set_fname( filename); /* Search or append to fnamelist[] */ | ||
| 185 | fullname = set_fname( fullname); /* Search or append to fnamelist[] */ | ||
| 186 | *************** | ||
| 187 | *** 3858,3863 **** | ||
| 188 | --- 3884,3892 ---- | ||
| 189 | } | ||
| 190 | #endif | ||
| 191 | |||
| 192 | + FILEINFO* sh_file; | ||
| 193 | + int sh_line; | ||
| 194 | + | ||
| 195 | void sharp( | ||
| 196 | FILEINFO * sharp_file, | ||
| 197 | int flag /* Flag to append to the line for GCC */ | ||
| 198 | *************** | ||
| 199 | *** 3868,3875 **** | ||
| 200 | * else (i.e. 'sharp_file' is NULL) 'infile'. | ||
| 201 | */ | ||
| 202 | { | ||
| 203 | - static FILEINFO * sh_file; | ||
| 204 | - static int sh_line; | ||
| 205 | FILEINFO * file; | ||
| 206 | int line; | ||
| 207 | |||
| 208 | --- 3897,3902 ---- | ||
diff --git a/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb new file mode 100644 index 0000000000..a7163a35a8 --- /dev/null +++ b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | SUMMARY = "MCPP is a portable C/C++ preprocessor" | ||
| 2 | HOMEPAGE = "http://mcpp.sourceforge.net/" | ||
| 3 | LICENSE = "BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5ca370b75ec890321888a00cea9bc1d5" | ||
| 5 | |||
| 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | ||
| 7 | file://ice-mcpp.patch " | ||
| 8 | SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05" | ||
| 9 | SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
| 13 | EXTRA_OECONF = " --enable-mcpplib " | ||
| 14 | |||
| 15 | BBCLASSEXTEND = "native nativesdk" | ||
| 16 | |||
diff --git a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb new file mode 100644 index 0000000000..825215372c --- /dev/null +++ b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Display virtual memory allocation" | ||
| 2 | DESCRIPTION = "Lists all the processes, executables, and shared libraries \ | ||
| 3 | that are using up virtual memory. It's helpful to see how the shared memory \ | ||
| 4 | is used and which 'old' libs are loaded. \ | ||
| 5 | " | ||
| 6 | HOMEPAGE = "http://memstattool.sourceforge.net/" | ||
| 7 | SECTION = "devtool" | ||
| 8 | |||
| 9 | LICENSE = "GPLv2" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/memstattool" | ||
| 12 | |||
| 13 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb" | ||
| 14 | |||
| 15 | SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462" | ||
| 19 | SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" | ||
| 20 | |||
| 21 | do_install_append(){ | ||
| 22 | install -d ${D}${bindir} | ||
| 23 | install -m 0755 memstat ${D}${bindir} | ||
| 24 | install -d ${D}${sysconfdir} | ||
| 25 | install -m 0755 memstat.conf ${D}${sysconfdir} | ||
| 26 | install -d ${D}${mandir}/man1 | ||
| 27 | install -m 0644 memstat.1 ${D}${mandir}/man1 | ||
| 28 | install -d ${D}${docdir}/${BPN} | ||
| 29 | install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN} | ||
| 30 | } | ||
diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_3.0.1.bb b/meta-oe/recipes-devtools/mercurial/mercurial-native_3.0.1.bb new file mode 100644 index 0000000000..9a5eebe32a --- /dev/null +++ b/meta-oe/recipes-devtools/mercurial/mercurial-native_3.0.1.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "The Mercurial distributed SCM" | ||
| 2 | HOMEPAGE = "http://mercurial.selenic.com/" | ||
| 3 | SECTION = "console/utils" | ||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 6 | DEPENDS = "python-native" | ||
| 7 | |||
| 8 | SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz" | ||
| 9 | SRC_URI[md5sum] = "15de301a673b77f839325dba10ed4fc0" | ||
| 10 | SRC_URI[sha256sum] = "36e48b59a84ef5a222d06596971e955ac8217e56b076dfb94c8ce5a0c29fd705" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/mercurial-${PV}" | ||
| 13 | |||
| 14 | inherit native | ||
| 15 | |||
| 16 | EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | ||
| 17 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}" | ||
| 18 | |||
| 19 | do_configure_append () { | ||
| 20 | sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile | ||
| 21 | } | ||
| 22 | |||
| 23 | do_install () { | ||
| 24 | oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} | ||
| 25 | } | ||
| 26 | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch new file mode 100644 index 0000000000..6268d6940e --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | From bf701e7cb3616631a354ed9ecbed6dd16f60c60d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Wed, 30 Jan 2013 10:43:47 +0100 | ||
| 4 | Subject: [PATCH] gcc has a builtin define to denote hard abi when in use, e.g. | ||
| 5 | when using -mfloat-abi=hard it will define __ARM_PCS_VFP to 1 and therefore | ||
| 6 | we should check that to determine which calling convention is in use and not | ||
| 7 | __VFP_FP__ which merely indicates presence of VFP unit | ||
| 8 | |||
| 9 | The fix has been provided by Khem Raj <raj.khem@gmail.com> | ||
| 10 | |||
| 11 | Upstream-Status: Forwarded | ||
| 12 | |||
| 13 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 14 | --- | ||
| 15 | deps/v8/src/arm/assembler-arm.cc | 4 ++-- | ||
| 16 | deps/v8/src/platform-linux.cc | 4 ++-- | ||
| 17 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/deps/v8/src/arm/assembler-arm.cc b/deps/v8/src/arm/assembler-arm.cc | ||
| 20 | index 1787d15..c64ef58 100644 | ||
| 21 | --- a/deps/v8/src/arm/assembler-arm.cc | ||
| 22 | +++ b/deps/v8/src/arm/assembler-arm.cc | ||
| 23 | @@ -71,10 +71,10 @@ static unsigned CpuFeaturesImpliedByCompiler() { | ||
| 24 | // If the compiler is allowed to use VFP then we can use VFP too in our code | ||
| 25 | // generation even when generating snapshots. ARMv7 and hardware floating | ||
| 26 | // point support implies VFPv3, see ARM DDI 0406B, page A1-6. | ||
| 27 | -#if defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__VFP_FP__) \ | ||
| 28 | +#if defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__ARM_PCS_VFP) \ | ||
| 29 | && !defined(__SOFTFP__) | ||
| 30 | answer |= 1u << VFP3 | 1u << ARMv7 | 1u << VFP2; | ||
| 31 | -#endif // defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__VFP_FP__) | ||
| 32 | +#endif // defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(__ARM_PCS_VFP) | ||
| 33 | // && !defined(__SOFTFP__) | ||
| 34 | #endif // _arm__ | ||
| 35 | |||
| 36 | diff --git a/deps/v8/src/platform-linux.cc b/deps/v8/src/platform-linux.cc | ||
| 37 | index ed9eb79..10d1879 100644 | ||
| 38 | --- a/deps/v8/src/platform-linux.cc | ||
| 39 | +++ b/deps/v8/src/platform-linux.cc | ||
| 40 | @@ -170,7 +170,7 @@ bool OS::ArmCpuHasFeature(CpuFeature feature) { | ||
| 41 | // calling this will return 1.0 and otherwise 0.0. | ||
| 42 | static void ArmUsingHardFloatHelper() { | ||
| 43 | asm("mov r0, #0":::"r0"); | ||
| 44 | -#if defined(__VFP_FP__) && !defined(__SOFTFP__) | ||
| 45 | +#if defined(__ARM_PCS_VFP) && !defined(__SOFTFP__) | ||
| 46 | // Load 0x3ff00000 into r1 using instructions available in both ARM | ||
| 47 | // and Thumb mode. | ||
| 48 | asm("mov r1, #3":::"r1"); | ||
| 49 | @@ -195,7 +195,7 @@ static void ArmUsingHardFloatHelper() { | ||
| 50 | #else | ||
| 51 | asm("vmov d0, r0, r1"); | ||
| 52 | #endif // __thumb__ | ||
| 53 | -#endif // defined(__VFP_FP__) && !defined(__SOFTFP__) | ||
| 54 | +#endif // defined(__ARM_PCS_VFP) && !defined(__SOFTFP__) | ||
| 55 | asm("mov r1, #0":::"r1"); | ||
| 56 | } | ||
| 57 | |||
| 58 | -- | ||
| 59 | 1.8.1 | ||
| 60 | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch b/meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch new file mode 100644 index 0000000000..2b9838f0c6 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | diff --git a/deps/libev/wscript b/deps/libev/wscript | ||
| 2 | index 4f6c9a8..1796749 100644 | ||
| 3 | --- a/deps/libev/wscript | ||
| 4 | +++ b/deps/libev/wscript | ||
| 5 | @@ -58,7 +58,7 @@ def configure(conf): | ||
| 6 | return 0; | ||
| 7 | } | ||
| 8 | """ | ||
| 9 | - conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=True, | ||
| 10 | + conf.check_cc(fragment=code, define_name="HAVE_CLOCK_SYSCALL", execute=False, | ||
| 11 | msg="Checking for SYS_clock_gettime") | ||
| 12 | |||
| 13 | have_librt = conf.check(lib='rt', uselib_store='RT') | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb new file mode 100644 index 0000000000..7e67bcb338 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | SUMMARY = "nodeJS Evented I/O for V8 JavaScript" | ||
| 2 | HOMEPAGE = "http://nodejs.org" | ||
| 3 | LICENSE = "MIT & zlib" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6237f3a840aef5b7880fb4e49eecfe5" | ||
| 5 | |||
| 6 | DEPENDS = "openssl" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | http://nodejs.org/dist/node-v${PV}.tar.gz \ | ||
| 10 | file://libev-cross-cc_${PV}.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI[md5sum] = "a6375eaa43db5356bf443e25b828ae16" | ||
| 13 | SRC_URI[sha256sum] = "c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/node-v${PV}" | ||
| 16 | |||
| 17 | # v8 errors out if you have set CCACHE | ||
| 18 | CCACHE = "" | ||
| 19 | |||
| 20 | do_configure () { | ||
| 21 | sed -i -e 's:/usr/lib:${STAGING_LIBDIR}:g' wscript | ||
| 22 | sed -i -e 's:/usr/local/lib:${STAGING_LIBDIR}:g' wscript | ||
| 23 | ./configure --prefix=${prefix} --without-snapshot | ||
| 24 | } | ||
| 25 | |||
| 26 | do_compile () { | ||
| 27 | make | ||
| 28 | } | ||
| 29 | |||
| 30 | do_install () { | ||
| 31 | oe_runmake install DESTDIR=${D} | ||
| 32 | |||
| 33 | # fix namespace conflicts with other nodejs recipes | ||
| 34 | mv ${D}${bindir}/node ${D}${bindir}/node4 | ||
| 35 | mv ${D}${bindir}/node-waf ${D}${bindir}/node4-waf | ||
| 36 | |||
| 37 | mv ${D}${includedir}/node ${D}${includedir}/node4 | ||
| 38 | |||
| 39 | mv ${D}${libdir}/node ${D}${libdir}/node4 | ||
| 40 | mv ${D}${libdir}/pkgconfig/nodejs.pc ${D}${libdir}/pkgconfig/nodejs4.pc | ||
| 41 | sed -i -e s:include/node:include/node4: ${D}${libdir}/pkgconfig/nodejs4.pc | ||
| 42 | |||
| 43 | mv ${D}${datadir}/man/man1/node.1 ${D}${datadir}/man/man1/node4.1 | ||
| 44 | } | ||
| 45 | |||
| 46 | FILES_${PN} += "${libdir}/node4/wafadmin" | ||
| 47 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb new file mode 100644 index 0000000000..839bfa425f --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs_0.8.18.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "nodeJS Evented I/O for V8 JavaScript" | ||
| 2 | HOMEPAGE = "http://nodejs.org" | ||
| 3 | LICENSE = "MIT & BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=95a589a3257ab7dfe37d8a8379e3c72d" | ||
| 5 | |||
| 6 | DEPENDS = "openssl" | ||
| 7 | |||
| 8 | inherit pythonnative | ||
| 9 | |||
| 10 | SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz \ | ||
| 11 | file://0001-gcc-has-a-builtin-define-to-denote-hard-abi-when-in-.patch \ | ||
| 12 | " | ||
| 13 | SRC_URI[md5sum] = "25ed6aa5710ac46b867ff3f17a4da1d6" | ||
| 14 | SRC_URI[sha256sum] = "1d63dd42f9bd22f087585ddf80a881c6acbe1664891b1dda3b71306fe9ae00f9" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/node-v${PV}" | ||
| 17 | |||
| 18 | # v8 errors out if you have set CCACHE | ||
| 19 | CCACHE = "" | ||
| 20 | |||
| 21 | ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--with-arm-float-abi=hard', '--with-arm-float-abi=softfp', d)}" | ||
| 22 | ARCHFLAGS ?= "" | ||
| 23 | |||
| 24 | # Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi | ||
| 25 | do_configure () { | ||
| 26 | export LD="${CXX}" | ||
| 27 | |||
| 28 | ./configure --prefix=${prefix} --without-snapshot ${ARCHFLAGS} | ||
| 29 | } | ||
| 30 | |||
| 31 | do_compile () { | ||
| 32 | export LD="${CXX}" | ||
| 33 | make BUILDTYPE=Release | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install () { | ||
| 37 | oe_runmake install DESTDIR=${D} | ||
| 38 | } | ||
| 39 | |||
| 40 | RDEPENDS_${PN} = "curl python-shell python-datetime python-subprocess python-crypt python-textutils python-netclient " | ||
| 41 | RDEPENDS_${PN}_class-native = "" | ||
| 42 | |||
| 43 | FILES_${PN} += "${libdir}/node/wafadmin ${libdir}/node_modules ${libdir}/dtrace ${libdir}/*" | ||
| 44 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb b/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb new file mode 100644 index 0000000000..aafe63acfb --- /dev/null +++ b/meta-oe/recipes-devtools/packagegroups/packagegroup-sdk-target.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Packages required for a target (on-device) SDK" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" | ||
| 4 | |||
| 5 | PR = "r1" | ||
| 6 | |||
| 7 | inherit packagegroup allarch | ||
| 8 | |||
| 9 | RPROVIDES_${PN} += "packagegroup-native-sdk" | ||
| 10 | RREPLACES_${PN} += "packagegroup-native-sdk" | ||
| 11 | RCONFLICTS_${PN} += "packagegroup-native-sdk" | ||
| 12 | RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \ | ||
| 13 | binutils-symlinks \ | ||
| 14 | perl-modules \ | ||
| 15 | flex flex-dev \ | ||
| 16 | bison \ | ||
| 17 | gawk \ | ||
| 18 | sed \ | ||
| 19 | grep \ | ||
| 20 | autoconf automake \ | ||
| 21 | make \ | ||
| 22 | patch diffstat diffutils \ | ||
| 23 | libstdc++-dev \ | ||
| 24 | libtool libtool-dev libltdl-dev \ | ||
| 25 | pkgconfig" | ||
| 26 | |||
| 27 | # usefull, but not in oe-core/meta-oe yet: patchutils | ||
| 28 | RRECOMMENDS_${PN} = " g77-symlinks gfortran-symlinks" | ||
diff --git a/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch new file mode 100644 index 0000000000..ecf8e74933 --- /dev/null +++ b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch | |||
| @@ -0,0 +1,166 @@ | |||
| 1 | From 869e52a9055c72970fed036a1510f676e6ce0824 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 13 Jun 2013 01:24:19 -0700 | ||
| 4 | Subject: [PATCH] Don't call deprecated glib functions and use the new gthread | ||
| 5 | API. | ||
| 6 | |||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate[version Unmaintained Upstream] | ||
| 10 | --- | ||
| 11 | client/pk-console.c | 3 ++- | ||
| 12 | client/pk-generate-pack.c | 3 ++- | ||
| 13 | client/pk-monitor.c | 3 ++- | ||
| 14 | contrib/command-not-found/PackageKit.sh | 2 +- | ||
| 15 | contrib/command-not-found/pk-command-not-found.c | 4 ++-- | ||
| 16 | contrib/debuginfo-install/pk-debuginfo-install.c | 4 ++-- | ||
| 17 | src/pk-backend.c | 7 +++++++ | ||
| 18 | src/pk-main.c | 4 ++-- | ||
| 19 | 10 files changed, 20 insertions(+), 10 deletions(-) | ||
| 20 | |||
| 21 | diff --git a/client/pk-console.c b/client/pk-console.c | ||
| 22 | index de927e1..2435f27 100644 | ||
| 23 | --- a/client/pk-console.c | ||
| 24 | +++ b/client/pk-console.c | ||
| 25 | @@ -1264,11 +1264,12 @@ main (int argc, char *argv[]) | ||
| 26 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 27 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 28 | textdomain (GETTEXT_PACKAGE); | ||
| 29 | - | ||
| 30 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 31 | if (! g_thread_supported ()) | ||
| 32 | g_thread_init (NULL); | ||
| 33 | g_type_init (); | ||
| 34 | dbus_g_thread_init (); | ||
| 35 | +#endif | ||
| 36 | |||
| 37 | /* do stuff on ctrl-c */ | ||
| 38 | signal (SIGINT, pk_console_sigint_cb); | ||
| 39 | diff --git a/client/pk-generate-pack.c b/client/pk-generate-pack.c | ||
| 40 | index 0b2b40f..20d7e8d 100644 | ||
| 41 | --- a/client/pk-generate-pack.c | ||
| 42 | +++ b/client/pk-generate-pack.c | ||
| 43 | @@ -251,12 +251,13 @@ main (int argc, char *argv[]) | ||
| 44 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 45 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 46 | textdomain (GETTEXT_PACKAGE); | ||
| 47 | - | ||
| 48 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 49 | if (! g_thread_supported ()) | ||
| 50 | g_thread_init (NULL); | ||
| 51 | |||
| 52 | g_type_init (); | ||
| 53 | dbus_g_thread_init (); | ||
| 54 | +#endif | ||
| 55 | |||
| 56 | /* do stuff on ctrl-c */ | ||
| 57 | signal (SIGINT, pk_generate_pack_sigint_cb); | ||
| 58 | diff --git a/client/pk-monitor.c b/client/pk-monitor.c | ||
| 59 | index f230f7a..d43007f 100644 | ||
| 60 | --- a/client/pk-monitor.c | ||
| 61 | +++ b/client/pk-monitor.c | ||
| 62 | @@ -285,11 +285,12 @@ main (int argc, char *argv[]) | ||
| 63 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 64 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 65 | textdomain (GETTEXT_PACKAGE); | ||
| 66 | - | ||
| 67 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 68 | if (! g_thread_supported ()) | ||
| 69 | g_thread_init (NULL); | ||
| 70 | g_type_init (); | ||
| 71 | dbus_g_thread_init (); | ||
| 72 | +#endif | ||
| 73 | |||
| 74 | context = g_option_context_new (NULL); | ||
| 75 | /* TRANSLATORS: this is a program that monitors PackageKit */ | ||
| 76 | diff --git a/contrib/command-not-found/PackageKit.sh b/contrib/command-not-found/PackageKit.sh | ||
| 77 | index d08989c..d708fff 100644 | ||
| 78 | --- a/contrib/command-not-found/PackageKit.sh | ||
| 79 | +++ b/contrib/command-not-found/PackageKit.sh | ||
| 80 | @@ -18,7 +18,7 @@ command_not_found_handle () { | ||
| 81 | |||
| 82 | # run the command, or just print a warning | ||
| 83 | if [ $runcnf -eq 1 ]; then | ||
| 84 | - /home/hughsie/.root/libexec/pk-command-not-found $1 | ||
| 85 | + /usr/lib/packagekit/pk-command-not-found $1 | ||
| 86 | retval=$? | ||
| 87 | else | ||
| 88 | echo "bash: $1: command not found" | ||
| 89 | diff --git a/contrib/command-not-found/pk-command-not-found.c b/contrib/command-not-found/pk-command-not-found.c | ||
| 90 | index 70679c0..9f81ce4 100644 | ||
| 91 | --- a/contrib/command-not-found/pk-command-not-found.c | ||
| 92 | +++ b/contrib/command-not-found/pk-command-not-found.c | ||
| 93 | @@ -659,12 +659,12 @@ main (int argc, char *argv[]) | ||
| 94 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 95 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 96 | textdomain (GETTEXT_PACKAGE); | ||
| 97 | - | ||
| 98 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 99 | if (! g_thread_supported ()) | ||
| 100 | g_thread_init (NULL); | ||
| 101 | dbus_g_thread_init (); | ||
| 102 | g_type_init (); | ||
| 103 | - | ||
| 104 | +#endif | ||
| 105 | context = g_option_context_new (NULL); | ||
| 106 | /* TRANSLATORS: tool that gets called when the command is not found */ | ||
| 107 | g_option_context_set_summary (context, _("PackageKit Command Not Found")); | ||
| 108 | diff --git a/contrib/debuginfo-install/pk-debuginfo-install.c b/contrib/debuginfo-install/pk-debuginfo-install.c | ||
| 109 | index c12aca5..b0e1e7c 100644 | ||
| 110 | --- a/contrib/debuginfo-install/pk-debuginfo-install.c | ||
| 111 | +++ b/contrib/debuginfo-install/pk-debuginfo-install.c | ||
| 112 | @@ -532,11 +532,11 @@ main (int argc, char *argv[]) | ||
| 113 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 114 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 115 | textdomain (GETTEXT_PACKAGE); | ||
| 116 | - | ||
| 117 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 118 | if (! g_thread_supported ()) | ||
| 119 | g_thread_init (NULL); | ||
| 120 | g_type_init (); | ||
| 121 | - | ||
| 122 | +#endif | ||
| 123 | context = g_option_context_new (NULL); | ||
| 124 | /* TRANSLATORS: tool that gets called when the command is not found */ | ||
| 125 | g_option_context_set_summary (context, _("PackageKit Debuginfo Installer")); | ||
| 126 | diff --git a/src/pk-backend.c b/src/pk-backend.c | ||
| 127 | index 5216b63..5b83ae4 100644 | ||
| 128 | --- a/src/pk-backend.c | ||
| 129 | +++ b/src/pk-backend.c | ||
| 130 | @@ -2103,7 +2103,14 @@ pk_backend_thread_create (PkBackend *backend, PkBackendThreadFunc func) | ||
| 131 | egg_warning ("already has thread"); | ||
| 132 | return FALSE; | ||
| 133 | } | ||
| 134 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 135 | backend->priv->thread = g_thread_create ((GThreadFunc) func, backend, FALSE, NULL); | ||
| 136 | +#else | ||
| 137 | + backend->priv->thread = g_thread_try_new ("daemon thread", (GThreadFunc) func, backend, NULL); | ||
| 138 | + if (backend->priv->thread != NULL) { | ||
| 139 | + g_thread_unref(backend->priv->thread); | ||
| 140 | + } | ||
| 141 | +#endif | ||
| 142 | if (backend->priv->thread == NULL) { | ||
| 143 | egg_warning ("failed to create thread"); | ||
| 144 | return FALSE; | ||
| 145 | diff --git a/src/pk-main.c b/src/pk-main.c | ||
| 146 | index 4c758cd..8fa2482 100644 | ||
| 147 | --- a/src/pk-main.c | ||
| 148 | +++ b/src/pk-main.c | ||
| 149 | @@ -219,12 +219,12 @@ main (int argc, char *argv[]) | ||
| 150 | bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); | ||
| 151 | bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); | ||
| 152 | textdomain (GETTEXT_PACKAGE); | ||
| 153 | - | ||
| 154 | +#if !GLIB_CHECK_VERSION(2,32,0) | ||
| 155 | if (! g_thread_supported ()) | ||
| 156 | g_thread_init (NULL); | ||
| 157 | dbus_g_thread_init (); | ||
| 158 | g_type_init (); | ||
| 159 | - | ||
| 160 | +#endif | ||
| 161 | /* TRANSLATORS: describing the service that is running */ | ||
| 162 | context = g_option_context_new (_("PackageKit service")); | ||
| 163 | g_option_context_add_main_entries (context, options, NULL); | ||
| 164 | -- | ||
| 165 | 1.7.9.5 | ||
| 166 | |||
diff --git a/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/configurefix.patch b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/configurefix.patch new file mode 100644 index 0000000000..48f959186a --- /dev/null +++ b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/configurefix.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: PackageKit-0.6.0/configure.ac | ||
| 2 | =================================================================== | ||
| 3 | --- PackageKit-0.6.0.orig/configure.ac 2010-01-04 16:32:18.000000000 +0000 | ||
| 4 | +++ PackageKit-0.6.0/configure.ac 2010-01-29 11:33:48.000000000 +0000 | ||
| 5 | @@ -90,7 +90,7 @@ | ||
| 6 | enable_strict=$default_strict) | ||
| 7 | if test x$enable_strict != xno; then | ||
| 8 | if test "$GCC" = "yes"; then | ||
| 9 | - WARNINGFLAGS_CPP="$WARNINGFLAGS_CPP -Werror" | ||
| 10 | + : | ||
| 11 | fi | ||
| 12 | fi | ||
| 13 | |||
diff --git a/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/opkgfixes.patch b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/opkgfixes.patch new file mode 100644 index 0000000000..5a73a19d5f --- /dev/null +++ b/meta-oe/recipes-devtools/packagekit/packagekit-0.5.6/opkgfixes.patch | |||
| @@ -0,0 +1,422 @@ | |||
| 1 | Index: PackageKit-0.6.0/backends/opkg/pk-backend-opkg.c | ||
| 2 | =================================================================== | ||
| 3 | --- PackageKit-0.6.0.orig/backends/opkg/pk-backend-opkg.c 2010-01-29 09:39:33.000000000 +0000 | ||
| 4 | +++ PackageKit-0.6.0/backends/opkg/pk-backend-opkg.c 2010-01-29 11:30:51.000000000 +0000 | ||
| 5 | @@ -29,8 +29,7 @@ | ||
| 6 | |||
| 7 | +#include <stdio.h> | ||
| 8 | #include <libopkg/opkg.h> | ||
| 9 | |||
| 10 | -static opkg_t *opkg; | ||
| 11 | - | ||
| 12 | enum { | ||
| 13 | SEARCH_NAME, | ||
| 14 | SEARCH_DESCRIPTION, | ||
| 15 | @@ -62,7 +60,7 @@ | ||
| 16 | * check an opkg package for known GUI dependancies | ||
| 17 | */ | ||
| 18 | static gboolean | ||
| 19 | -opkg_is_gui_pkg (opkg_package_t *pkg) | ||
| 20 | +opkg_is_gui_pkg (pkg_t *pkg) | ||
| 21 | { | ||
| 22 | |||
| 23 | /* TODO: check appropriate tag */ | ||
| 24 | @@ -84,7 +82,7 @@ | ||
| 25 | * check an opkg package to determine if it is a development package | ||
| 26 | */ | ||
| 27 | static gboolean | ||
| 28 | -opkg_is_devel_pkg (opkg_package_t *pkg) | ||
| 29 | +opkg_is_devel_pkg (pkg_t *pkg) | ||
| 30 | { | ||
| 31 | if (g_strrstr (pkg->name, "-dev")) | ||
| 32 | return TRUE; | ||
| 33 | @@ -105,7 +103,7 @@ | ||
| 34 | * returns true if the tag is present | ||
| 35 | */ | ||
| 36 | static gboolean | ||
| 37 | -opkg_check_tag (opkg_package_t *pkg, const gchar *tag) | ||
| 38 | +opkg_check_tag (pkg_t *pkg, const gchar *tag) | ||
| 39 | { | ||
| 40 | if (pkg->tags && tag) | ||
| 41 | return (g_strrstr (pkg->tags, tag) != NULL); | ||
| 42 | @@ -118,7 +116,7 @@ | ||
| 43 | { | ||
| 44 | switch (err) | ||
| 45 | { | ||
| 46 | - case OPKG_NO_ERROR: | ||
| 47 | +/* case OPKG_NO_ERROR: | ||
| 48 | break; | ||
| 49 | case OPKG_PACKAGE_NOT_INSTALLED: | ||
| 50 | pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_NOT_INSTALLED, NULL); | ||
| 51 | @@ -140,7 +138,7 @@ | ||
| 52 | break; | ||
| 53 | case OPKG_PACKAGE_NOT_AVAILABLE: | ||
| 54 | pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, NULL); | ||
| 55 | - break; | ||
| 56 | + break;*/ | ||
| 57 | default: | ||
| 58 | opkg_unknown_error (backend, err, "Update package"); | ||
| 59 | } | ||
| 60 | @@ -152,7 +150,7 @@ | ||
| 61 | static void | ||
| 62 | backend_initialize (PkBackend *backend) | ||
| 63 | { | ||
| 64 | - opkg = opkg_new (); | ||
| 65 | + int opkg = opkg_new (); | ||
| 66 | |||
| 67 | if (!opkg) { | ||
| 68 | pk_backend_error_code (backend, | ||
| 69 | @@ -162,8 +160,8 @@ | ||
| 70 | } | ||
| 71 | |||
| 72 | #ifdef OPKG_OFFLINE_ROOT | ||
| 73 | - opkg_set_option (opkg, (char *) "offline_root", OPKG_OFFLINE_ROOT); | ||
| 74 | - opkg_re_read_config_files (opkg); | ||
| 75 | + opkg_set_option ((char *) "offline_root", OPKG_OFFLINE_ROOT); | ||
| 76 | + opkg_re_read_config_files (); | ||
| 77 | #endif | ||
| 78 | |||
| 79 | } | ||
| 80 | @@ -174,22 +172,22 @@ | ||
| 81 | static void | ||
| 82 | backend_destroy (PkBackend *backend) | ||
| 83 | { | ||
| 84 | - opkg_free (opkg); | ||
| 85 | + opkg_free (); | ||
| 86 | } | ||
| 87 | |||
| 88 | |||
| 89 | static void | ||
| 90 | -pk_opkg_progress_cb (opkg_t *_opkg, const opkg_progress_data_t *pdata, void *data) | ||
| 91 | +pk_opkg_progress_cb (const opkg_progress_data_t *pdata, void *data) | ||
| 92 | { | ||
| 93 | - PkBackend *backend = PK_BACKEND (data); | ||
| 94 | + PkBackend *backend = (PkBackend*) data; | ||
| 95 | if (!backend) | ||
| 96 | return; | ||
| 97 | |||
| 98 | pk_backend_set_percentage (backend, pdata->percentage); | ||
| 99 | - if (pdata->package) | ||
| 100 | + if (pdata->pkg) | ||
| 101 | { | ||
| 102 | gchar *uid; | ||
| 103 | - opkg_package_t *pkg = pdata->package; | ||
| 104 | + pkg_t *pkg = pdata->pkg; | ||
| 105 | gint status = PK_INFO_ENUM_UNKNOWN; | ||
| 106 | |||
| 107 | uid = g_strdup_printf ("%s;%s;%s;", | ||
| 108 | @@ -225,12 +223,12 @@ | ||
| 109 | { | ||
| 110 | int ret; | ||
| 111 | |||
| 112 | - ret = opkg_update_package_lists (opkg, pk_opkg_progress_cb, backend); | ||
| 113 | + ret = opkg_update_package_lists (pk_opkg_progress_cb, backend); | ||
| 114 | |||
| 115 | if (ret) { | ||
| 116 | - if (ret == OPKG_DOWNLOAD_FAILED) | ||
| 117 | - pk_backend_error_code (backend, PK_ERROR_ENUM_REPO_NOT_AVAILABLE, NULL); | ||
| 118 | - else | ||
| 119 | +// if (ret == OPKG_DOWNLOAD_FAILED) | ||
| 120 | +// pk_backend_error_code (backend, PK_ERROR_ENUM_REPO_NOT_AVAILABLE, NULL); | ||
| 121 | +// else | ||
| 122 | opkg_unknown_error (backend, ret, "Refreshing cache"); | ||
| 123 | } | ||
| 124 | pk_backend_finished (backend); | ||
| 125 | @@ -256,7 +254,7 @@ | ||
| 126 | */ | ||
| 127 | |||
| 128 | static void | ||
| 129 | -pk_opkg_package_list_cb (opkg_t *_opkg, opkg_package_t *pkg, void *data) | ||
| 130 | +pk_opkg_package_list_cb (pkg_t *pkg, void *data) | ||
| 131 | { | ||
| 132 | SearchParams *params = (SearchParams*) data; | ||
| 133 | gchar *uid; | ||
| 134 | @@ -298,7 +296,7 @@ | ||
| 135 | uid = g_strdup_printf ("%s;%s;%s;", | ||
| 136 | pkg->name, pkg->version, pkg->architecture); | ||
| 137 | |||
| 138 | - if (pkg->installed) | ||
| 139 | + if (pkg->state_status == SS_INSTALLED) | ||
| 140 | status = PK_INFO_ENUM_INSTALLED; | ||
| 141 | else | ||
| 142 | status = PK_INFO_ENUM_AVAILABLE; | ||
| 143 | @@ -318,10 +316,10 @@ | ||
| 144 | opkg_is_gui_pkg (pkg)) | ||
| 145 | goto end_handle; | ||
| 146 | if (pk_bitfield_contain(filters, PK_FILTER_ENUM_INSTALLED) && | ||
| 147 | - (!pkg->installed)) | ||
| 148 | + (pkg->state_status != SS_INSTALLED)) | ||
| 149 | goto end_handle; | ||
| 150 | if (pk_bitfield_contain(filters, PK_FILTER_ENUM_NOT_INSTALLED) && | ||
| 151 | - (pkg->installed)) | ||
| 152 | + (pkg->state_status == SS_INSTALLED)) | ||
| 153 | goto end_handle; | ||
| 154 | |||
| 155 | pk_backend_package (params->backend, status, uid, pkg->description); | ||
| 156 | @@ -338,7 +336,7 @@ | ||
| 157 | |||
| 158 | params = pk_backend_get_pointer (backend, "search-params"); | ||
| 159 | |||
| 160 | - opkg_list_packages (opkg, pk_opkg_package_list_cb, params); | ||
| 161 | + opkg_list_packages (pk_opkg_package_list_cb, params); | ||
| 162 | |||
| 163 | pk_backend_finished (params->backend); | ||
| 164 | |||
| 165 | @@ -349,7 +347,7 @@ | ||
| 166 | } | ||
| 167 | |||
| 168 | static void | ||
| 169 | -backend_search_name (PkBackend *backend, PkBitfield filters, const gchar *search) | ||
| 170 | +backend_search_name (PkBackend *backend, PkBitfield filters, gchar **search) | ||
| 171 | { | ||
| 172 | SearchParams *params; | ||
| 173 | |||
| 174 | @@ -360,7 +358,7 @@ | ||
| 175 | params = g_new0 (SearchParams, 1); | ||
| 176 | params->filters = filters; | ||
| 177 | params->search_type = SEARCH_NAME; | ||
| 178 | - params->needle = g_utf8_strdown (search, -1); | ||
| 179 | + params->needle = g_utf8_strdown (search[0], -1); | ||
| 180 | params->backend = backend; | ||
| 181 | |||
| 182 | pk_backend_set_pointer (backend, "search-params", params); | ||
| 183 | @@ -371,7 +369,7 @@ | ||
| 184 | * backend_search_description: | ||
| 185 | */ | ||
| 186 | static void | ||
| 187 | -backend_search_description (PkBackend *backend, PkBitfield filters, const gchar *search) | ||
| 188 | +backend_search_description (PkBackend *backend, PkBitfield filters, gchar **search) | ||
| 189 | { | ||
| 190 | SearchParams *params; | ||
| 191 | |||
| 192 | @@ -382,7 +380,7 @@ | ||
| 193 | params = g_new0 (SearchParams, 1); | ||
| 194 | params->filters = filters; | ||
| 195 | params->search_type = SEARCH_DESCRIPTION; | ||
| 196 | - params->needle = g_utf8_strdown (search, -1); | ||
| 197 | + params->needle = g_utf8_strdown (search[0], -1); | ||
| 198 | params->backend = backend; | ||
| 199 | |||
| 200 | pk_backend_set_pointer (backend, "search-params", params); | ||
| 201 | @@ -390,7 +388,7 @@ | ||
| 202 | } | ||
| 203 | |||
| 204 | static void | ||
| 205 | -backend_search_group (PkBackend *backend, PkBitfield filters, const gchar *search) | ||
| 206 | +backend_search_group (PkBackend *backend, PkBitfield filters, gchar **search) | ||
| 207 | { | ||
| 208 | SearchParams *params; | ||
| 209 | |||
| 210 | @@ -401,7 +399,7 @@ | ||
| 211 | params = g_new0 (SearchParams, 1); | ||
| 212 | params->filters = filters; | ||
| 213 | params->search_type = SEARCH_TAG; | ||
| 214 | - params->needle = g_strdup_printf ("group::%s", search); | ||
| 215 | + params->needle = g_strdup_printf ("group::%s", search[0]); | ||
| 216 | params->backend = backend; | ||
| 217 | |||
| 218 | pk_backend_set_pointer (backend, "search-params", params); | ||
| 219 | @@ -412,9 +410,9 @@ | ||
| 220 | static gboolean | ||
| 221 | backend_install_packages_thread (PkBackend *backend) | ||
| 222 | { | ||
| 223 | - PkPackageId *pi; | ||
| 224 | gint err, i; | ||
| 225 | gchar **package_ids; | ||
| 226 | + gchar **parts; | ||
| 227 | |||
| 228 | package_ids = pk_backend_get_strv (backend, "pkids"); | ||
| 229 | |||
| 230 | @@ -424,13 +422,13 @@ | ||
| 231 | { | ||
| 232 | pk_backend_package (backend, PK_INFO_ENUM_INSTALLING, package_ids[i], NULL); | ||
| 233 | |||
| 234 | - pi = pk_package_id_new_from_string (package_ids[i]); | ||
| 235 | + parts = pk_package_id_split (package_ids[i]); | ||
| 236 | |||
| 237 | - err = opkg_install_package (opkg, pi->name, pk_opkg_progress_cb, backend); | ||
| 238 | + err = opkg_install_package (parts[PK_PACKAGE_ID_NAME], pk_opkg_progress_cb, backend); | ||
| 239 | if (err) | ||
| 240 | handle_install_error (backend, err); | ||
| 241 | |||
| 242 | - pk_package_id_free (pi); | ||
| 243 | + g_strfreev (parts); | ||
| 244 | if (err != 0) | ||
| 245 | break; | ||
| 246 | } | ||
| 247 | @@ -453,9 +451,9 @@ | ||
| 248 | static gboolean | ||
| 249 | backend_remove_packages_thread (PkBackend *backend) | ||
| 250 | { | ||
| 251 | - PkPackageId *pi; | ||
| 252 | gint err, i; | ||
| 253 | gchar **package_ids; | ||
| 254 | + gchar **parts; | ||
| 255 | gboolean allow_deps; | ||
| 256 | gboolean autoremove; | ||
| 257 | gpointer *data; | ||
| 258 | @@ -467,29 +465,30 @@ | ||
| 259 | autoremove = GPOINTER_TO_INT (data[2]); | ||
| 260 | g_free (data); | ||
| 261 | |||
| 262 | - opkg_set_option (opkg, (char *)"autoremove", &autoremove); | ||
| 263 | - opkg_set_option (opkg, (char *)"force_removal_of_dependent_packages", &allow_deps); | ||
| 264 | + opkg_set_option ((char *)"autoremove", &autoremove); | ||
| 265 | + opkg_set_option ((char *)"force_removal_of_dependent_packages", &allow_deps); | ||
| 266 | |||
| 267 | err = 0; | ||
| 268 | |||
| 269 | for (i = 0; package_ids[i]; i++) | ||
| 270 | { | ||
| 271 | - pi = pk_package_id_new_from_string (package_ids[i]); | ||
| 272 | pk_backend_package (backend, PK_INFO_ENUM_REMOVING, package_ids[i], NULL); | ||
| 273 | |||
| 274 | - err = opkg_remove_package (opkg, pi->name, pk_opkg_progress_cb, backend); | ||
| 275 | + parts = pk_package_id_split (package_ids[i]); | ||
| 276 | + | ||
| 277 | + err = opkg_remove_package (parts[PK_PACKAGE_ID_NAME], pk_opkg_progress_cb, backend); | ||
| 278 | |||
| 279 | switch (err) | ||
| 280 | { | ||
| 281 | - case OPKG_NO_ERROR: | ||
| 282 | - break; | ||
| 283 | - case OPKG_PACKAGE_NOT_INSTALLED: | ||
| 284 | - pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_NOT_INSTALLED, NULL); | ||
| 285 | - break; | ||
| 286 | + //case OPKG_NO_ERROR: | ||
| 287 | + // break; | ||
| 288 | + //case OPKG_PACKAGE_NOT_INSTALLED: | ||
| 289 | + // pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_NOT_INSTALLED, NULL); | ||
| 290 | + // break; | ||
| 291 | default: | ||
| 292 | opkg_unknown_error (backend, err, "Remove"); | ||
| 293 | } | ||
| 294 | - pk_package_id_free (pi); | ||
| 295 | + g_strfreev (parts); | ||
| 296 | |||
| 297 | if (err != 0) | ||
| 298 | break; | ||
| 299 | @@ -540,7 +539,7 @@ | ||
| 300 | gint err; | ||
| 301 | |||
| 302 | /* FIXME: support only_trusted */ | ||
| 303 | - err = opkg_upgrade_all (opkg, pk_opkg_progress_cb, backend); | ||
| 304 | + err = opkg_upgrade_all (pk_opkg_progress_cb, backend); | ||
| 305 | |||
| 306 | if (err) | ||
| 307 | opkg_unknown_error (backend, err, "Upgrading system"); | ||
| 308 | @@ -564,29 +563,28 @@ | ||
| 309 | static gboolean | ||
| 310 | backend_update_package_thread (PkBackend *backend) | ||
| 311 | { | ||
| 312 | - PkPackageId *pi; | ||
| 313 | + gchar **parts; | ||
| 314 | gint err = 0; | ||
| 315 | const gchar *package_id; | ||
| 316 | |||
| 317 | /* FIXME: support only_trusted */ | ||
| 318 | package_id = pk_backend_get_string (backend, "pkgid"); | ||
| 319 | - pi = pk_package_id_new_from_string (package_id); | ||
| 320 | + parts = pk_package_id_split (package_id); | ||
| 321 | |||
| 322 | - if (!pi->name || !pi->version) | ||
| 323 | + if (!parts) | ||
| 324 | { | ||
| 325 | pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_NOT_FOUND, | ||
| 326 | "Package not found"); | ||
| 327 | - pk_package_id_free (pi); | ||
| 328 | pk_backend_finished (backend); | ||
| 329 | return FALSE; | ||
| 330 | } | ||
| 331 | |||
| 332 | - err = opkg_upgrade_package (opkg, pi->name, pk_opkg_progress_cb, backend); | ||
| 333 | + err = opkg_upgrade_package (parts[PK_PACKAGE_ID_NAME], pk_opkg_progress_cb, backend); | ||
| 334 | if (err) | ||
| 335 | handle_install_error (backend, err); | ||
| 336 | |||
| 337 | |||
| 338 | - pk_package_id_free (pi); | ||
| 339 | + g_strfreev (parts); | ||
| 340 | pk_backend_finished (backend); | ||
| 341 | return (err != 0); | ||
| 342 | } | ||
| 343 | @@ -610,13 +608,13 @@ | ||
| 344 | */ | ||
| 345 | |||
| 346 | static void | ||
| 347 | -pk_opkg_list_upgradable_cb (opkg_t *_opkg, opkg_package_t *pkg, void *data) | ||
| 348 | +pk_opkg_list_upgradable_cb (pkg_t *pkg, void *data) | ||
| 349 | { | ||
| 350 | - PkBackend *backend = PK_BACKEND (data); | ||
| 351 | + PkBackend *backend = (PkBackend*) data; | ||
| 352 | gchar *uid; | ||
| 353 | gint status; | ||
| 354 | |||
| 355 | - if (pkg->installed) | ||
| 356 | + if (pkg->state_status == SS_INSTALLED) | ||
| 357 | status = PK_INFO_ENUM_INSTALLED; | ||
| 358 | else | ||
| 359 | status = PK_INFO_ENUM_AVAILABLE; | ||
| 360 | @@ -631,7 +629,7 @@ | ||
| 361 | static gboolean | ||
| 362 | backend_get_updates_thread (PkBackend *backend) | ||
| 363 | { | ||
| 364 | - opkg_list_upgradable_packages (opkg, pk_opkg_list_upgradable_cb, backend); | ||
| 365 | + opkg_list_upgradable_packages (pk_opkg_list_upgradable_cb, backend); | ||
| 366 | pk_backend_finished (backend); | ||
| 367 | return TRUE; | ||
| 368 | } | ||
| 369 | @@ -668,16 +666,18 @@ | ||
| 370 | static gboolean | ||
| 371 | backend_get_details_thread (PkBackend *backend) | ||
| 372 | { | ||
| 373 | - PkPackageId *pi; | ||
| 374 | gchar **package_ids; | ||
| 375 | + gchar **parts; | ||
| 376 | int group_index; | ||
| 377 | PkGroupEnum group = 0; | ||
| 378 | - opkg_package_t *pkg; | ||
| 379 | + pkg_t *pkg; | ||
| 380 | gchar *newid; | ||
| 381 | |||
| 382 | package_ids = pk_backend_get_strv(backend, "package_ids"); | ||
| 383 | - pi = pk_package_id_new_from_string (package_ids[0]); | ||
| 384 | - if (pi == NULL) | ||
| 385 | + parts = pk_package_id_split (package_ids[0]); | ||
| 386 | + | ||
| 387 | + | ||
| 388 | + if (!parts) | ||
| 389 | { | ||
| 390 | pk_backend_error_code (backend, PK_ERROR_ENUM_PACKAGE_ID_INVALID, "invalid package id"); | ||
| 391 | pk_backend_finished (backend); | ||
| 392 | @@ -685,8 +685,8 @@ | ||
| 393 | } | ||
| 394 | |||
| 395 | |||
| 396 | - pkg = opkg_find_package (opkg, pi->name, pi->version, pi->arch, pi->data); | ||
| 397 | - pk_package_id_free (pi); | ||
| 398 | + pkg = opkg_find_package (parts[PK_PACKAGE_ID_NAME], parts[PK_PACKAGE_ID_VERSION], parts[PK_PACKAGE_ID_ARCH], parts[PK_PACKAGE_ID_DATA]); | ||
| 399 | + g_strfreev (parts); | ||
| 400 | |||
| 401 | if (!pkg) | ||
| 402 | { | ||
| 403 | @@ -695,7 +695,7 @@ | ||
| 404 | return FALSE; | ||
| 405 | } | ||
| 406 | |||
| 407 | - newid = g_strdup_printf ("%s;%s;%s;%s", pkg->name, pkg->version, pkg->architecture, pkg->repository); | ||
| 408 | + newid = g_strdup_printf ("%s;%s;%s;%s", pkg->name, pkg->version, pkg->architecture, pkg->src->name); | ||
| 409 | |||
| 410 | if (pkg->tags) { | ||
| 411 | for (group_index = 0; group < PK_GROUP_ENUM_LAST; group_index++) { | ||
| 412 | @@ -706,9 +706,8 @@ | ||
| 413 | } | ||
| 414 | } | ||
| 415 | |||
| 416 | - pk_backend_details (backend, newid, NULL, group, pkg->description, pkg->url, pkg->size); | ||
| 417 | + pk_backend_details (backend, newid, NULL, group, pkg->description, NULL, pkg->size); | ||
| 418 | g_free (newid); | ||
| 419 | - opkg_package_free(pkg); | ||
| 420 | pk_backend_finished (backend); | ||
| 421 | return TRUE; | ||
| 422 | } | ||
diff --git a/meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb b/meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb new file mode 100644 index 0000000000..96cc468e38 --- /dev/null +++ b/meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | SUMMARY = "PackageKit package management abstraction" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "GPL-2.0+" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 5 | DEPENDS = "gtk+ python polkit dbus dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native" | ||
| 6 | RDEPENDS_${PN} = "opkg" | ||
| 7 | |||
| 8 | inherit gnome pythonnative | ||
| 9 | |||
| 10 | SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz;name=archive \ | ||
| 11 | file://configurefix.patch \ | ||
| 12 | file://opkgfixes.patch \ | ||
| 13 | file://0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[archive.md5sum] = "6c8d9c48e21b82abeea15c3fd5066242" | ||
| 17 | SRC_URI[archive.sha256sum] = "0eafd1be5516a41ebc0f0c3acff0b0763da105a4178b5eee0ff16d66ccd04408" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/PackageKit-${PV}" | ||
| 20 | |||
| 21 | PACKAGECONFIG ??= "" | ||
| 22 | PACKAGECONFIG[service-packs] = "--enable-service-packs,--disable-service-packs,libarchive" | ||
| 23 | |||
| 24 | EXTRA_OECONF = "--with-security-framework=dummy \ | ||
| 25 | --with-default-backend=opkg \ | ||
| 26 | --enable-opkg \ | ||
| 27 | --disable-tests \ | ||
| 28 | --disable-ruck \ | ||
| 29 | --disable-qt \ | ||
| 30 | --disable-gstreamer-plugin \ | ||
| 31 | --disable-local \ | ||
| 32 | --disable-networkmanager \ | ||
| 33 | ac_cv_path_XMLTO=no \ | ||
| 34 | " | ||
| 35 | |||
| 36 | #do_configure_prepend() { | ||
| 37 | # mkdir -p m4 | ||
| 38 | # echo "EXTRA_DIST=" > gtk-doc.make | ||
| 39 | #} | ||
| 40 | |||
| 41 | do_configure_append() { | ||
| 42 | for i in $(find . -name Makefile) ; do | ||
| 43 | sed -i -e s:${STAGING_DIR_NATIVE}::g \ | ||
| 44 | -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \ | ||
| 45 | -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \ | ||
| 46 | $i | ||
| 47 | done | ||
| 48 | } | ||
| 49 | |||
| 50 | PACKAGES =+ "${PN}-website" | ||
| 51 | FILES_${PN}-website = "${datadir}/PackageKit/website" | ||
| 52 | |||
| 53 | PACKAGES =+ "${PN}-python" | ||
| 54 | FILES_${PN}-python = "${libdir}/python*" | ||
| 55 | |||
| 56 | PACKAGES =+ "${PN}-gtkmodule" | ||
| 57 | FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so" | ||
| 58 | |||
| 59 | FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit" | ||
| 60 | FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug" | ||
| 61 | FILES_${PN}-dev += "${libdir}/packagekit-backend/*.la ${libdir}/gtk-2.0/*/*.la" | ||
| 62 | FILES_${PN}-staticdev += "${libdir}/packagekit-backend/*.a ${libdir}/gtk-2.0/*/*.a" | ||
diff --git a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.10.bb b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.10.bb new file mode 100644 index 0000000000..88db683b81 --- /dev/null +++ b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.10.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | SUMMARY = "Perl module for pseudo tty IO" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
| 4 | LIC_FILES_CHKSUM = "file://META.yml;beginline=7;endline=8;md5=f86a66cc3d9522a227298d6898b181a2" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.cpan.org/modules/by-module/IO/IO-Tty-${PV}.tar.gz" | ||
| 7 | |||
| 8 | SRC_URI[md5sum] = "46baec86a145e57f0ec661fa412b097c" | ||
| 9 | SRC_URI[sha256sum] = "31a6e21ad187ec5ea93c2b898d6b3519647c5fce9f394b6d3c05a1f7c3f6f8b1" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/IO-Tty-${PV}" | ||
| 12 | |||
| 13 | inherit cpan | ||
| 14 | |||
diff --git a/meta-oe/recipes-devtools/php/php/0001-acinclude-use-pkgconfig-for-libxml2-config.patch b/meta-oe/recipes-devtools/php/php/0001-acinclude-use-pkgconfig-for-libxml2-config.patch new file mode 100644 index 0000000000..51a5e43b60 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/0001-acinclude-use-pkgconfig-for-libxml2-config.patch | |||
| @@ -0,0 +1,90 @@ | |||
| 1 | From 003c9feaae6ed5c173edcea51193e49bc94ac39a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen.kooi@linaro.org> | ||
| 3 | Date: Tue, 17 Jun 2014 09:53:00 +0200 | ||
| 4 | Subject: [PATCH 3/8] acinclude: use pkgconfig for libxml2 config | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> | ||
| 7 | Upstream-Status: pending | ||
| 8 | --- | ||
| 9 | acinclude.m4 | 63 ++++++++++++++++++++++-------------------------------------- | ||
| 10 | 1 file changed, 23 insertions(+), 40 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
| 13 | index 206fcbf..a6c0d84 100644 | ||
| 14 | --- a/acinclude.m4 | ||
| 15 | +++ b/acinclude.m4 | ||
| 16 | @@ -2530,48 +2530,31 @@ dnl | ||
| 17 | dnl Common setup macro for libxml | ||
| 18 | dnl | ||
| 19 | AC_DEFUN([PHP_SETUP_LIBXML], [ | ||
| 20 | -AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path, | ||
| 21 | -[ | ||
| 22 | - | ||
| 23 | - ac_cv_php_xml2_config_path="$PHP_LIBXML_DIR/xml2-config" | ||
| 24 | - | ||
| 25 | +PKG_CHECK_MODULES([LIBXML], [libxml-2.0 > 2.6.11], [ | ||
| 26 | + PHP_EVAL_LIBLINE($LIBXML_LIBS, $1) | ||
| 27 | + PHP_EVAL_INCLINE($LIBXML_CFLAGS) | ||
| 28 | + | ||
| 29 | + dnl Check that build works with given libs | ||
| 30 | + AC_CACHE_CHECK(whether libxml build works, php_cv_libxml_build_works, [ | ||
| 31 | + PHP_TEST_BUILD(xmlInitParser, | ||
| 32 | + [ | ||
| 33 | + php_cv_libxml_build_works=yes | ||
| 34 | + AC_MSG_RESULT(yes) | ||
| 35 | + ], [ | ||
| 36 | + AC_MSG_RESULT(no) | ||
| 37 | + AC_MSG_ERROR([build test failed. Please check the config.log for details.]) | ||
| 38 | + ], [ | ||
| 39 | + [$]$1 | ||
| 40 | + ]) | ||
| 41 | + ]) | ||
| 42 | + if test "$php_cv_libxml_build_works" = "yes"; then | ||
| 43 | + AC_DEFINE(HAVE_LIBXML, 1, [ ]) | ||
| 44 | + fi | ||
| 45 | + $2 | ||
| 46 | +], [ | ||
| 47 | + AC_MSG_ERROR([$LIBXML_PKG_ERRORS]) | ||
| 48 | ]) | ||
| 49 | |||
| 50 | - if test -x "$ac_cv_php_xml2_config_path"; then | ||
| 51 | - XML2_CONFIG="$ac_cv_php_xml2_config_path" | ||
| 52 | - libxml_full_version=`$XML2_CONFIG --version` | ||
| 53 | - ac_IFS=$IFS | ||
| 54 | - IFS="." | ||
| 55 | - set $libxml_full_version | ||
| 56 | - IFS=$ac_IFS | ||
| 57 | - LIBXML_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3` | ||
| 58 | - if test "$LIBXML_VERSION" -ge "2006011"; then | ||
| 59 | - LIBXML_LIBS=`$XML2_CONFIG --libs` | ||
| 60 | - LIBXML_INCS=`$XML2_CONFIG --cflags` | ||
| 61 | - PHP_EVAL_LIBLINE($LIBXML_LIBS, $1) | ||
| 62 | - PHP_EVAL_INCLINE($LIBXML_INCS) | ||
| 63 | - | ||
| 64 | - dnl Check that build works with given libs | ||
| 65 | - AC_CACHE_CHECK(whether libxml build works, php_cv_libxml_build_works, [ | ||
| 66 | - PHP_TEST_BUILD(xmlInitParser, | ||
| 67 | - [ | ||
| 68 | - php_cv_libxml_build_works=yes | ||
| 69 | - ], [ | ||
| 70 | - AC_MSG_RESULT(no) | ||
| 71 | - AC_MSG_ERROR([build test failed. Please check the config.log for details.]) | ||
| 72 | - ], [ | ||
| 73 | - [$]$1 | ||
| 74 | - ]) | ||
| 75 | - ]) | ||
| 76 | - if test "$php_cv_libxml_build_works" = "yes"; then | ||
| 77 | - AC_DEFINE(HAVE_LIBXML, 1, [ ]) | ||
| 78 | - fi | ||
| 79 | - $2 | ||
| 80 | - else | ||
| 81 | - AC_MSG_ERROR([libxml2 version 2.6.11 or greater required.]) | ||
| 82 | - fi | ||
| 83 | -ifelse([$3],[],,[else $3]) | ||
| 84 | - fi | ||
| 85 | ]) | ||
| 86 | |||
| 87 | dnl ------------------------------------------------------------------------- | ||
| 88 | -- | ||
| 89 | 1.9.3 | ||
| 90 | |||
diff --git a/meta-oe/recipes-devtools/php/php/0001-php-don-t-use-broken-wrapper-for-mkdir.patch b/meta-oe/recipes-devtools/php/php/0001-php-don-t-use-broken-wrapper-for-mkdir.patch new file mode 100644 index 0000000000..2f7d581555 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/0001-php-don-t-use-broken-wrapper-for-mkdir.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From ebc101e0728b9db6c687cff525e5dfc8eb0edbf3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Thu, 3 Nov 2011 14:27:15 +0100 | ||
| 4 | Subject: [PATCH 2/8] php: don't use broken wrapper for mkdir | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 7 | --- | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate | ||
| 10 | |||
| 11 | Makefile.global | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/Makefile.global b/Makefile.global | ||
| 15 | index ff858c2..ae554b4 100644 | ||
| 16 | --- a/Makefile.global | ||
| 17 | +++ b/Makefile.global | ||
| 18 | @@ -1,4 +1,4 @@ | ||
| 19 | -mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p | ||
| 20 | +mkinstalldirs = mkdir -p | ||
| 21 | INSTALL = $(top_srcdir)/build/shtool install -c | ||
| 22 | INSTALL_DATA = $(INSTALL) -m 644 | ||
| 23 | |||
| 24 | -- | ||
| 25 | 1.9.3 | ||
| 26 | |||
diff --git a/meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch b/meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch new file mode 100644 index 0000000000..30811a74bd --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | Upstream-status: Unknown | ||
| 2 | |||
| 3 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
| 4 | index 4fd452e..206fcbf 100644 | ||
| 5 | --- a/acinclude.m4 | ||
| 6 | +++ b/acinclude.m4 | ||
| 7 | @@ -2532,12 +2532,9 @@ dnl | ||
| 8 | AC_DEFUN([PHP_SETUP_LIBXML], [ | ||
| 9 | AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path, | ||
| 10 | [ | ||
| 11 | - for i in $PHP_LIBXML_DIR /usr/local /usr; do | ||
| 12 | - if test -x "$i/bin/xml2-config"; then | ||
| 13 | - ac_cv_php_xml2_config_path="$i/bin/xml2-config" | ||
| 14 | - break | ||
| 15 | - fi | ||
| 16 | - done | ||
| 17 | + | ||
| 18 | + ac_cv_php_xml2_config_path="$PHP_LIBXML_DIR/xml2-config" | ||
| 19 | + | ||
| 20 | ]) | ||
| 21 | |||
| 22 | if test -x "$ac_cv_php_xml2_config_path"; then | ||
| 23 | -- | ||
| 24 | 1.9.3 | ||
| 25 | |||
diff --git a/meta-oe/recipes-devtools/php/php/iconv.patch b/meta-oe/recipes-devtools/php/php/iconv.patch new file mode 100644 index 0000000000..255fbb062c --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/iconv.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | Upstream-status: Unknown | ||
| 2 | |||
| 3 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
| 4 | index a6c0d84..df11abd 100644 | ||
| 5 | --- a/acinclude.m4 | ||
| 6 | +++ b/acinclude.m4 | ||
| 7 | @@ -2452,7 +2452,8 @@ AC_DEFUN([PHP_SETUP_ICONV], [ | ||
| 8 | dnl Check libc first if no path is provided in --with-iconv | ||
| 9 | dnl | ||
| 10 | |||
| 11 | - if test "$PHP_ICONV" = "yes"; then | ||
| 12 | + dnl must check against no, not against yes as PHP_ICONV can also include a path, which implies yes | ||
| 13 | + if test "$PHP_ICONV" != "no"; then | ||
| 14 | dnl Reset LIBS temporarily as it may have already been included | ||
| 15 | dnl -liconv in. | ||
| 16 | LIBS_save="$LIBS" | ||
| 17 | diff --git a/ext/iconv/config.m4 b/ext/iconv/config.m4 | ||
| 18 | index d673b0a..1fbef13 100644 | ||
| 19 | --- a/ext/iconv/config.m4 | ||
| 20 | +++ b/ext/iconv/config.m4 | ||
| 21 | @@ -15,7 +15,7 @@ if test "$PHP_ICONV" != "no"; then | ||
| 22 | |||
| 23 | if test "$iconv_avail" != "no"; then | ||
| 24 | if test -z "$ICONV_DIR"; then | ||
| 25 | - for i in /usr/local /usr; do | ||
| 26 | + for i in $PHP_ICONV /usr/local /usr; do | ||
| 27 | if test -f "$i/include/iconv.h" || test -f "$i/include/giconv.h"; then | ||
| 28 | PHP_ICONV_PREFIX="$i" | ||
| 29 | break | ||
| 30 | -- | ||
| 31 | 1.9.3 | ||
| 32 | |||
diff --git a/meta-oe/recipes-devtools/php/php/imap-fix-autofoo.patch b/meta-oe/recipes-devtools/php/php/imap-fix-autofoo.patch new file mode 100644 index 0000000000..da04c2d953 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/imap-fix-autofoo.patch | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | Upstream-status: Unknown | ||
| 2 | |||
| 3 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
| 4 | index df11abd..06e7236 100644 | ||
| 5 | --- a/acinclude.m4 | ||
| 6 | +++ b/acinclude.m4 | ||
| 7 | @@ -2357,7 +2357,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ | ||
| 8 | PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl" | ||
| 9 | fi | ||
| 10 | |||
| 11 | - for i in $PHP_OPENSSL_DIR; do | ||
| 12 | + for i in $PHP_OPENSSL_DIR $PHP_OPENSSL_DIR/usr; do | ||
| 13 | if test -r $i/include/openssl/evp.h; then | ||
| 14 | OPENSSL_INCDIR=$i/include | ||
| 15 | fi | ||
| 16 | diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 | ||
| 17 | index 3fcf674..f08caf7 100644 | ||
| 18 | --- a/ext/imap/config.m4 | ||
| 19 | +++ b/ext/imap/config.m4 | ||
| 20 | @@ -109,7 +109,7 @@ if test "$PHP_IMAP" != "no"; then | ||
| 21 | PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared) | ||
| 22 | AC_DEFINE(HAVE_IMAP,1,[ ]) | ||
| 23 | |||
| 24 | - for i in $PHP_IMAP /usr/local /usr; do | ||
| 25 | + for i in $PHP_IMAP $PHP_IMAP/usr /usr/local /usr; do | ||
| 26 | IMAP_INC_CHK() | ||
| 27 | el[]IMAP_INC_CHK(/include/c-client) | ||
| 28 | el[]IMAP_INC_CHK(/include/imap) | ||
| 29 | @@ -198,13 +198,7 @@ if test "$PHP_IMAP" != "no"; then | ||
| 30 | AC_MSG_ERROR(Cannot find rfc822.h. Please check your c-client installation.) | ||
| 31 | fi | ||
| 32 | |||
| 33 | - if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c-client.a" ; then | ||
| 34 | - ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1 | ||
| 35 | - elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then | ||
| 36 | - ln -s "$IMAP_DIR/$PHP_LIBDIR/c-client.a" "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" >/dev/null 2>&1 | ||
| 37 | - fi | ||
| 38 | - | ||
| 39 | - for lib in c-client4 c-client imap; do | ||
| 40 | + for lib in /usr/lib c-client4 c-client imap; do | ||
| 41 | IMAP_LIB=$lib | ||
| 42 | IMAP_LIB_CHK($PHP_LIBDIR) | ||
| 43 | IMAP_LIB_CHK(c-client) | ||
| 44 | -- | ||
| 45 | 1.9.3 | ||
| 46 | |||
diff --git a/meta-oe/recipes-devtools/php/php/pear-makefile.patch b/meta-oe/recipes-devtools/php/php/pear-makefile.patch new file mode 100644 index 0000000000..9927d2d967 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/pear-makefile.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Upstream-status: Unknown | ||
| 2 | |||
| 3 | diff --git a/pear/Makefile.frag b/pear/Makefile.frag | ||
| 4 | index 00bacae..739eeca 100644 | ||
| 5 | --- a/pear/Makefile.frag | ||
| 6 | +++ b/pear/Makefile.frag | ||
| 7 | @@ -11,7 +11,7 @@ PEAR_PREFIX = -dp a${program_prefix} | ||
| 8 | PEAR_SUFFIX = -ds a$(program_suffix) | ||
| 9 | |||
| 10 | install-pear-installer: $(SAPI_CLI_PATH) | ||
| 11 | - @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX} | ||
| 12 | + @$(PHP_NATIVE_DIR)/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX} | ||
| 13 | |||
| 14 | install-pear: | ||
| 15 | @echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/" | ||
| 16 | -- | ||
| 17 | 1.9.3 | ||
| 18 | |||
diff --git a/meta-oe/recipes-devtools/php/php/phar-makefile.patch b/meta-oe/recipes-devtools/php/php/phar-makefile.patch new file mode 100644 index 0000000000..8a1136da51 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/phar-makefile.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | Upstream-status: Unknown | ||
| 2 | |||
| 3 | diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag | ||
| 4 | old mode 100644 | ||
| 5 | new mode 100755 | ||
| 6 | index ed6de9f..9d03198 | ||
| 7 | --- a/ext/phar/Makefile.frag | ||
| 8 | +++ b/ext/phar/Makefile.frag | ||
| 9 | @@ -5,19 +5,8 @@ pharcmd: $(builddir)/phar.php $(builddir)/phar.phar | ||
| 10 | |||
| 11 | PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' | ||
| 12 | PHP_PHARCMD_EXECUTABLE = ` \ | ||
| 13 | - if test -x "$(top_builddir)/$(SAPI_CLI_PATH)"; then \ | ||
| 14 | - $(top_srcdir)/build/shtool echo -n -- "$(top_builddir)/$(SAPI_CLI_PATH) -n"; \ | ||
| 15 | - if test "x$(PHP_MODULES)" != "x"; then \ | ||
| 16 | - $(top_srcdir)/build/shtool echo -n -- " -d extension_dir=$(top_builddir)/modules"; \ | ||
| 17 | - for i in bz2 zlib phar; do \ | ||
| 18 | - if test -f "$(top_builddir)/modules/$$i.la"; then \ | ||
| 19 | - . $(top_builddir)/modules/$$i.la; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \ | ||
| 20 | - fi; \ | ||
| 21 | - done; \ | ||
| 22 | - fi; \ | ||
| 23 | - else \ | ||
| 24 | - $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; \ | ||
| 25 | - fi;` | ||
| 26 | + $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; ` | ||
| 27 | + | ||
| 28 | PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` | ||
| 29 | |||
| 30 | $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc | ||
| 31 | -- | ||
| 32 | 1.9.3 | ||
| 33 | |||
diff --git a/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf new file mode 100644 index 0000000000..77cdd82a74 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # Taken from http://wiki.apache.org/httpd/PHP-FPM | ||
| 2 | |||
| 3 | LoadModule proxy_module lib/apache2/modules/mod_proxy.so | ||
| 4 | LoadModule proxy_fcgi_module lib/apache2/modules/mod_proxy_fcgi.so | ||
| 5 | |||
| 6 | ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/usr/share/apache2/htdocs/ | ||
diff --git a/meta-oe/recipes-devtools/php/php/php-fpm.conf b/meta-oe/recipes-devtools/php/php/php-fpm.conf new file mode 100644 index 0000000000..21e3dfb5c1 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/php-fpm.conf | |||
| @@ -0,0 +1,510 @@ | |||
| 1 | ;;;;;;;;;;;;;;;;;;;;; | ||
| 2 | ; FPM Configuration ; | ||
| 3 | ;;;;;;;;;;;;;;;;;;;;; | ||
| 4 | |||
| 5 | ; All relative paths in this configuration file are relative to PHP's install | ||
| 6 | ; prefix (/usr). This prefix can be dynamicaly changed by using the | ||
| 7 | ; '-p' argument from the command line. | ||
| 8 | |||
| 9 | ; Include one or more files. If glob(3) exists, it is used to include a bunch of | ||
| 10 | ; files from a glob(3) pattern. This directive can be used everywhere in the | ||
| 11 | ; file. | ||
| 12 | ; Relative path can also be used. They will be prefixed by: | ||
| 13 | ; - the global prefix if it's been set (-p arguement) | ||
| 14 | ; - /usr otherwise | ||
| 15 | ;include=etc/fpm.d/*.conf | ||
| 16 | |||
| 17 | ;;;;;;;;;;;;;;;;;; | ||
| 18 | ; Global Options ; | ||
| 19 | ;;;;;;;;;;;;;;;;;; | ||
| 20 | |||
| 21 | [global] | ||
| 22 | ; Pid file | ||
| 23 | ; Note: the default prefix is /var | ||
| 24 | ; Default Value: none | ||
| 25 | ;pid = run/php-fpm.pid | ||
| 26 | |||
| 27 | ; Error log file | ||
| 28 | ; If it's set to "syslog", log is sent to syslogd instead of being written | ||
| 29 | ; in a local file. | ||
| 30 | ; Note: the default prefix is /var | ||
| 31 | ; Default Value: log/php-fpm.log | ||
| 32 | ;error_log = log/php-fpm.log | ||
| 33 | |||
| 34 | ; syslog_facility is used to specify what type of program is logging the | ||
| 35 | ; message. This lets syslogd specify that messages from different facilities | ||
| 36 | ; will be handled differently. | ||
| 37 | ; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON) | ||
| 38 | ; Default Value: daemon | ||
| 39 | ;syslog.facility = daemon | ||
| 40 | |||
| 41 | ; syslog_ident is prepended to every message. If you have multiple FPM | ||
| 42 | ; instances running on the same server, you can change the default value | ||
| 43 | ; which must suit common needs. | ||
| 44 | ; Default Value: php-fpm | ||
| 45 | ;syslog.ident = php-fpm | ||
| 46 | |||
| 47 | ; Log level | ||
| 48 | ; Possible Values: alert, error, warning, notice, debug | ||
| 49 | ; Default Value: notice | ||
| 50 | ;log_level = notice | ||
| 51 | |||
| 52 | ; If this number of child processes exit with SIGSEGV or SIGBUS within the time | ||
| 53 | ; interval set by emergency_restart_interval then FPM will restart. A value | ||
| 54 | ; of '0' means 'Off'. | ||
| 55 | ; Default Value: 0 | ||
| 56 | ;emergency_restart_threshold = 0 | ||
| 57 | |||
| 58 | ; Interval of time used by emergency_restart_interval to determine when | ||
| 59 | ; a graceful restart will be initiated. This can be useful to work around | ||
| 60 | ; accidental corruptions in an accelerator's shared memory. | ||
| 61 | ; Available Units: s(econds), m(inutes), h(ours), or d(ays) | ||
| 62 | ; Default Unit: seconds | ||
| 63 | ; Default Value: 0 | ||
| 64 | ;emergency_restart_interval = 0 | ||
| 65 | |||
| 66 | ; Time limit for child processes to wait for a reaction on signals from master. | ||
| 67 | ; Available units: s(econds), m(inutes), h(ours), or d(ays) | ||
| 68 | ; Default Unit: seconds | ||
| 69 | ; Default Value: 0 | ||
| 70 | ;process_control_timeout = 0 | ||
| 71 | |||
| 72 | ; The maximum number of processes FPM will fork. This has been design to control | ||
| 73 | ; the global number of processes when using dynamic PM within a lot of pools. | ||
| 74 | ; Use it with caution. | ||
| 75 | ; Note: A value of 0 indicates no limit | ||
| 76 | ; Default Value: 0 | ||
| 77 | ; process.max = 128 | ||
| 78 | |||
| 79 | ; Specify the nice(2) priority to apply to the master process (only if set) | ||
| 80 | ; The value can vary from -19 (highest priority) to 20 (lower priority) | ||
| 81 | ; Note: - It will only work if the FPM master process is launched as root | ||
| 82 | ; - The pool process will inherit the master process priority | ||
| 83 | ; unless it specified otherwise | ||
| 84 | ; Default Value: no set | ||
| 85 | ; process.priority = -19 | ||
| 86 | |||
| 87 | ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging. | ||
| 88 | ; Default Value: yes | ||
| 89 | ;daemonize = yes | ||
| 90 | |||
| 91 | ; Set open file descriptor rlimit for the master process. | ||
| 92 | ; Default Value: system defined value | ||
| 93 | ;rlimit_files = 1024 | ||
| 94 | |||
| 95 | ; Set max core size rlimit for the master process. | ||
| 96 | ; Possible Values: 'unlimited' or an integer greater or equal to 0 | ||
| 97 | ; Default Value: system defined value | ||
| 98 | ;rlimit_core = 0 | ||
| 99 | |||
| 100 | ; Specify the event mechanism FPM will use. The following is available: | ||
| 101 | ; - select (any POSIX os) | ||
| 102 | ; - poll (any POSIX os) | ||
| 103 | ; - epoll (linux >= 2.5.44) | ||
| 104 | ; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0) | ||
| 105 | ; - /dev/poll (Solaris >= 7) | ||
| 106 | ; - port (Solaris >= 10) | ||
| 107 | ; Default Value: not set (auto detection) | ||
| 108 | ; events.mechanism = epoll | ||
| 109 | |||
| 110 | ;;;;;;;;;;;;;;;;;;;; | ||
| 111 | ; Pool Definitions ; | ||
| 112 | ;;;;;;;;;;;;;;;;;;;; | ||
| 113 | |||
| 114 | ; Multiple pools of child processes may be started with different listening | ||
| 115 | ; ports and different management options. The name of the pool will be | ||
| 116 | ; used in logs and stats. There is no limitation on the number of pools which | ||
| 117 | ; FPM can handle. Your system will tell you anyway :) | ||
| 118 | |||
| 119 | ; Start a new pool named 'www'. | ||
| 120 | ; the variable $pool can we used in any directive and will be replaced by the | ||
| 121 | ; pool name ('www' here) | ||
| 122 | [www] | ||
| 123 | |||
| 124 | ; Per pool prefix | ||
| 125 | ; It only applies on the following directives: | ||
| 126 | ; - 'slowlog' | ||
| 127 | ; - 'listen' (unixsocket) | ||
| 128 | ; - 'chroot' | ||
| 129 | ; - 'chdir' | ||
| 130 | ; - 'php_values' | ||
| 131 | ; - 'php_admin_values' | ||
| 132 | ; When not set, the global prefix (or /usr) applies instead. | ||
| 133 | ; Note: This directive can also be relative to the global prefix. | ||
| 134 | ; Default Value: none | ||
| 135 | ;prefix = /path/to/pools/$pool | ||
| 136 | |||
| 137 | ; Unix user/group of processes | ||
| 138 | ; Note: The user is mandatory. If the group is not set, the default user's group | ||
| 139 | ; will be used. | ||
| 140 | user = nobody | ||
| 141 | ;group = nobody | ||
| 142 | |||
| 143 | ; The address on which to accept FastCGI requests. | ||
| 144 | ; Valid syntaxes are: | ||
| 145 | ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on | ||
| 146 | ; a specific port; | ||
| 147 | ; 'port' - to listen on a TCP socket to all addresses on a | ||
| 148 | ; specific port; | ||
| 149 | ; '/path/to/unix/socket' - to listen on a unix socket. | ||
| 150 | ; Note: This value is mandatory. | ||
| 151 | listen = 127.0.0.1:9000 | ||
| 152 | |||
| 153 | ; Set listen(2) backlog. A value of '-1' means unlimited. | ||
| 154 | ; Default Value: 128 (-1 on FreeBSD and OpenBSD) | ||
| 155 | ;listen.backlog = -1 | ||
| 156 | |||
| 157 | ; Set permissions for unix socket, if one is used. In Linux, read/write | ||
| 158 | ; permissions must be set in order to allow connections from a web server. Many | ||
| 159 | ; BSD-derived systems allow connections regardless of permissions. | ||
| 160 | ; Default Values: user and group are set as the running user | ||
| 161 | ; mode is set to 0666 | ||
| 162 | ;listen.owner = nobody | ||
| 163 | ;listen.group = nobody | ||
| 164 | ;listen.mode = 0666 | ||
| 165 | |||
| 166 | ; List of ipv4 addresses of FastCGI clients which are allowed to connect. | ||
| 167 | ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original | ||
| 168 | ; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address | ||
| 169 | ; must be separated by a comma. If this value is left blank, connections will be | ||
| 170 | ; accepted from any ip address. | ||
| 171 | ; Default Value: any | ||
| 172 | ;listen.allowed_clients = 127.0.0.1 | ||
| 173 | |||
| 174 | ; Specify the nice(2) priority to apply to the pool processes (only if set) | ||
| 175 | ; The value can vary from -19 (highest priority) to 20 (lower priority) | ||
| 176 | ; Note: - It will only work if the FPM master process is launched as root | ||
| 177 | ; - The pool processes will inherit the master process priority | ||
| 178 | ; unless it specified otherwise | ||
| 179 | ; Default Value: no set | ||
| 180 | ; priority = -19 | ||
| 181 | |||
| 182 | ; Choose how the process manager will control the number of child processes. | ||
| 183 | ; Possible Values: | ||
| 184 | ; static - a fixed number (pm.max_children) of child processes; | ||
| 185 | ; dynamic - the number of child processes are set dynamically based on the | ||
| 186 | ; following directives. With this process management, there will be | ||
| 187 | ; always at least 1 children. | ||
| 188 | ; pm.max_children - the maximum number of children that can | ||
| 189 | ; be alive at the same time. | ||
| 190 | ; pm.start_servers - the number of children created on startup. | ||
| 191 | ; pm.min_spare_servers - the minimum number of children in 'idle' | ||
| 192 | ; state (waiting to process). If the number | ||
| 193 | ; of 'idle' processes is less than this | ||
| 194 | ; number then some children will be created. | ||
| 195 | ; pm.max_spare_servers - the maximum number of children in 'idle' | ||
| 196 | ; state (waiting to process). If the number | ||
| 197 | ; of 'idle' processes is greater than this | ||
| 198 | ; number then some children will be killed. | ||
| 199 | ; ondemand - no children are created at startup. Children will be forked when | ||
| 200 | ; new requests will connect. The following parameter are used: | ||
| 201 | ; pm.max_children - the maximum number of children that | ||
| 202 | ; can be alive at the same time. | ||
| 203 | ; pm.process_idle_timeout - The number of seconds after which | ||
| 204 | ; an idle process will be killed. | ||
| 205 | ; Note: This value is mandatory. | ||
| 206 | pm = dynamic | ||
| 207 | |||
| 208 | ; The number of child processes to be created when pm is set to 'static' and the | ||
| 209 | ; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. | ||
| 210 | ; This value sets the limit on the number of simultaneous requests that will be | ||
| 211 | ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork. | ||
| 212 | ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP | ||
| 213 | ; CGI. The below defaults are based on a server without much resources. Don't | ||
| 214 | ; forget to tweak pm.* to fit your needs. | ||
| 215 | ; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' | ||
| 216 | ; Note: This value is mandatory. | ||
| 217 | pm.max_children = 5 | ||
| 218 | |||
| 219 | ; The number of child processes created on startup. | ||
| 220 | ; Note: Used only when pm is set to 'dynamic' | ||
| 221 | ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 | ||
| 222 | pm.start_servers = 2 | ||
| 223 | |||
| 224 | ; The desired minimum number of idle server processes. | ||
| 225 | ; Note: Used only when pm is set to 'dynamic' | ||
| 226 | ; Note: Mandatory when pm is set to 'dynamic' | ||
| 227 | pm.min_spare_servers = 1 | ||
| 228 | |||
| 229 | ; The desired maximum number of idle server processes. | ||
| 230 | ; Note: Used only when pm is set to 'dynamic' | ||
| 231 | ; Note: Mandatory when pm is set to 'dynamic' | ||
| 232 | pm.max_spare_servers = 3 | ||
| 233 | |||
| 234 | ; The number of seconds after which an idle process will be killed. | ||
| 235 | ; Note: Used only when pm is set to 'ondemand' | ||
| 236 | ; Default Value: 10s | ||
| 237 | ;pm.process_idle_timeout = 10s; | ||
| 238 | |||
| 239 | ; The number of requests each child process should execute before respawning. | ||
| 240 | ; This can be useful to work around memory leaks in 3rd party libraries. For | ||
| 241 | ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS. | ||
| 242 | ; Default Value: 0 | ||
| 243 | ;pm.max_requests = 500 | ||
| 244 | |||
| 245 | ; The URI to view the FPM status page. If this value is not set, no URI will be | ||
| 246 | ; recognized as a status page. It shows the following informations: | ||
| 247 | ; pool - the name of the pool; | ||
| 248 | ; process manager - static, dynamic or ondemand; | ||
| 249 | ; start time - the date and time FPM has started; | ||
| 250 | ; start since - number of seconds since FPM has started; | ||
| 251 | ; accepted conn - the number of request accepted by the pool; | ||
| 252 | ; listen queue - the number of request in the queue of pending | ||
| 253 | ; connections (see backlog in listen(2)); | ||
| 254 | ; max listen queue - the maximum number of requests in the queue | ||
| 255 | ; of pending connections since FPM has started; | ||
| 256 | ; listen queue len - the size of the socket queue of pending connections; | ||
| 257 | ; idle processes - the number of idle processes; | ||
| 258 | ; active processes - the number of active processes; | ||
| 259 | ; total processes - the number of idle + active processes; | ||
| 260 | ; max active processes - the maximum number of active processes since FPM | ||
| 261 | ; has started; | ||
| 262 | ; max children reached - number of times, the process limit has been reached, | ||
| 263 | ; when pm tries to start more children (works only for | ||
| 264 | ; pm 'dynamic' and 'ondemand'); | ||
| 265 | ; Value are updated in real time. | ||
| 266 | ; Example output: | ||
| 267 | ; pool: www | ||
| 268 | ; process manager: static | ||
| 269 | ; start time: 01/Jul/2011:17:53:49 +0200 | ||
| 270 | ; start since: 62636 | ||
| 271 | ; accepted conn: 190460 | ||
| 272 | ; listen queue: 0 | ||
| 273 | ; max listen queue: 1 | ||
| 274 | ; listen queue len: 42 | ||
| 275 | ; idle processes: 4 | ||
| 276 | ; active processes: 11 | ||
| 277 | ; total processes: 15 | ||
| 278 | ; max active processes: 12 | ||
| 279 | ; max children reached: 0 | ||
| 280 | ; | ||
| 281 | ; By default the status page output is formatted as text/plain. Passing either | ||
| 282 | ; 'html', 'xml' or 'json' in the query string will return the corresponding | ||
| 283 | ; output syntax. Example: | ||
| 284 | ; http://www.foo.bar/status | ||
| 285 | ; http://www.foo.bar/status?json | ||
| 286 | ; http://www.foo.bar/status?html | ||
| 287 | ; http://www.foo.bar/status?xml | ||
| 288 | ; | ||
| 289 | ; By default the status page only outputs short status. Passing 'full' in the | ||
| 290 | ; query string will also return status for each pool process. | ||
| 291 | ; Example: | ||
| 292 | ; http://www.foo.bar/status?full | ||
| 293 | ; http://www.foo.bar/status?json&full | ||
| 294 | ; http://www.foo.bar/status?html&full | ||
| 295 | ; http://www.foo.bar/status?xml&full | ||
| 296 | ; The Full status returns for each process: | ||
| 297 | ; pid - the PID of the process; | ||
| 298 | ; state - the state of the process (Idle, Running, ...); | ||
| 299 | ; start time - the date and time the process has started; | ||
| 300 | ; start since - the number of seconds since the process has started; | ||
| 301 | ; requests - the number of requests the process has served; | ||
| 302 | ; request duration - the duration in µs of the requests; | ||
| 303 | ; request method - the request method (GET, POST, ...); | ||
| 304 | ; request URI - the request URI with the query string; | ||
| 305 | ; content length - the content length of the request (only with POST); | ||
| 306 | ; user - the user (PHP_AUTH_USER) (or '-' if not set); | ||
| 307 | ; script - the main script called (or '-' if not set); | ||
| 308 | ; last request cpu - the %cpu the last request consumed | ||
| 309 | ; it's always 0 if the process is not in Idle state | ||
| 310 | ; because CPU calculation is done when the request | ||
| 311 | ; processing has terminated; | ||
| 312 | ; last request memory - the max amount of memory the last request consumed | ||
| 313 | ; it's always 0 if the process is not in Idle state | ||
| 314 | ; because memory calculation is done when the request | ||
| 315 | ; processing has terminated; | ||
| 316 | ; If the process is in Idle state, then informations are related to the | ||
| 317 | ; last request the process has served. Otherwise informations are related to | ||
| 318 | ; the current request being served. | ||
| 319 | ; Example output: | ||
| 320 | ; ************************ | ||
| 321 | ; pid: 31330 | ||
| 322 | ; state: Running | ||
| 323 | ; start time: 01/Jul/2011:17:53:49 +0200 | ||
| 324 | ; start since: 63087 | ||
| 325 | ; requests: 12808 | ||
| 326 | ; request duration: 1250261 | ||
| 327 | ; request method: GET | ||
| 328 | ; request URI: /test_mem.php?N=10000 | ||
| 329 | ; content length: 0 | ||
| 330 | ; user: - | ||
| 331 | ; script: /home/fat/web/docs/php/test_mem.php | ||
| 332 | ; last request cpu: 0.00 | ||
| 333 | ; last request memory: 0 | ||
| 334 | ; | ||
| 335 | ; Note: There is a real-time FPM status monitoring sample web page available | ||
| 336 | ; It's available in: /usr/share/fpm/status.html | ||
| 337 | ; | ||
| 338 | ; Note: The value must start with a leading slash (/). The value can be | ||
| 339 | ; anything, but it may not be a good idea to use the .php extension or it | ||
| 340 | ; may conflict with a real PHP file. | ||
| 341 | ; Default Value: not set | ||
| 342 | ;pm.status_path = /status | ||
| 343 | |||
| 344 | ; The ping URI to call the monitoring page of FPM. If this value is not set, no | ||
| 345 | ; URI will be recognized as a ping page. This could be used to test from outside | ||
| 346 | ; that FPM is alive and responding, or to | ||
| 347 | ; - create a graph of FPM availability (rrd or such); | ||
| 348 | ; - remove a server from a group if it is not responding (load balancing); | ||
| 349 | ; - trigger alerts for the operating team (24/7). | ||
| 350 | ; Note: The value must start with a leading slash (/). The value can be | ||
| 351 | ; anything, but it may not be a good idea to use the .php extension or it | ||
| 352 | ; may conflict with a real PHP file. | ||
| 353 | ; Default Value: not set | ||
| 354 | ;ping.path = /ping | ||
| 355 | |||
| 356 | ; This directive may be used to customize the response of a ping request. The | ||
| 357 | ; response is formatted as text/plain with a 200 response code. | ||
| 358 | ; Default Value: pong | ||
| 359 | ;ping.response = pong | ||
| 360 | |||
| 361 | ; The access log file | ||
| 362 | ; Default: not set | ||
| 363 | ;access.log = log/$pool.access.log | ||
| 364 | |||
| 365 | ; The access log format. | ||
| 366 | ; The following syntax is allowed | ||
| 367 | ; %%: the '%' character | ||
| 368 | ; %C: %CPU used by the request | ||
| 369 | ; it can accept the following format: | ||
| 370 | ; - %{user}C for user CPU only | ||
| 371 | ; - %{system}C for system CPU only | ||
| 372 | ; - %{total}C for user + system CPU (default) | ||
| 373 | ; %d: time taken to serve the request | ||
| 374 | ; it can accept the following format: | ||
| 375 | ; - %{seconds}d (default) | ||
| 376 | ; - %{miliseconds}d | ||
| 377 | ; - %{mili}d | ||
| 378 | ; - %{microseconds}d | ||
| 379 | ; - %{micro}d | ||
| 380 | ; %e: an environment variable (same as $_ENV or $_SERVER) | ||
| 381 | ; it must be associated with embraces to specify the name of the env | ||
| 382 | ; variable. Some exemples: | ||
| 383 | ; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e | ||
| 384 | ; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e | ||
| 385 | ; %f: script filename | ||
| 386 | ; %l: content-length of the request (for POST request only) | ||
| 387 | ; %m: request method | ||
| 388 | ; %M: peak of memory allocated by PHP | ||
| 389 | ; it can accept the following format: | ||
| 390 | ; - %{bytes}M (default) | ||
| 391 | ; - %{kilobytes}M | ||
| 392 | ; - %{kilo}M | ||
| 393 | ; - %{megabytes}M | ||
| 394 | ; - %{mega}M | ||
| 395 | ; %n: pool name | ||
| 396 | ; %o: ouput header | ||
| 397 | ; it must be associated with embraces to specify the name of the header: | ||
| 398 | ; - %{Content-Type}o | ||
| 399 | ; - %{X-Powered-By}o | ||
| 400 | ; - %{Transfert-Encoding}o | ||
| 401 | ; - .... | ||
| 402 | ; %p: PID of the child that serviced the request | ||
| 403 | ; %P: PID of the parent of the child that serviced the request | ||
| 404 | ; %q: the query string | ||
| 405 | ; %Q: the '?' character if query string exists | ||
| 406 | ; %r: the request URI (without the query string, see %q and %Q) | ||
| 407 | ; %R: remote IP address | ||
| 408 | ; %s: status (response code) | ||
| 409 | ; %t: server time the request was received | ||
| 410 | ; it can accept a strftime(3) format: | ||
| 411 | ; %d/%b/%Y:%H:%M:%S %z (default) | ||
| 412 | ; %T: time the log has been written (the request has finished) | ||
| 413 | ; it can accept a strftime(3) format: | ||
| 414 | ; %d/%b/%Y:%H:%M:%S %z (default) | ||
| 415 | ; %u: remote user | ||
| 416 | ; | ||
| 417 | ; Default: "%R - %u %t \"%m %r\" %s" | ||
| 418 | ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%" | ||
| 419 | |||
| 420 | ; The log file for slow requests | ||
| 421 | ; Default Value: not set | ||
| 422 | ; Note: slowlog is mandatory if request_slowlog_timeout is set | ||
| 423 | ;slowlog = log/$pool.log.slow | ||
| 424 | |||
| 425 | ; The timeout for serving a single request after which a PHP backtrace will be | ||
| 426 | ; dumped to the 'slowlog' file. A value of '0s' means 'off'. | ||
| 427 | ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) | ||
| 428 | ; Default Value: 0 | ||
| 429 | ;request_slowlog_timeout = 0 | ||
| 430 | |||
| 431 | ; The timeout for serving a single request after which the worker process will | ||
| 432 | ; be killed. This option should be used when the 'max_execution_time' ini option | ||
| 433 | ; does not stop script execution for some reason. A value of '0' means 'off'. | ||
| 434 | ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) | ||
| 435 | ; Default Value: 0 | ||
| 436 | ;request_terminate_timeout = 0 | ||
| 437 | |||
| 438 | ; Set open file descriptor rlimit. | ||
| 439 | ; Default Value: system defined value | ||
| 440 | ;rlimit_files = 1024 | ||
| 441 | |||
| 442 | ; Set max core size rlimit. | ||
| 443 | ; Possible Values: 'unlimited' or an integer greater or equal to 0 | ||
| 444 | ; Default Value: system defined value | ||
| 445 | ;rlimit_core = 0 | ||
| 446 | |||
| 447 | ; Chroot to this directory at the start. This value must be defined as an | ||
| 448 | ; absolute path. When this value is not set, chroot is not used. | ||
| 449 | ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one | ||
| 450 | ; of its subdirectories. If the pool prefix is not set, the global prefix | ||
| 451 | ; will be used instead. | ||
| 452 | ; Note: chrooting is a great security feature and should be used whenever | ||
| 453 | ; possible. However, all PHP paths will be relative to the chroot | ||
| 454 | ; (error_log, sessions.save_path, ...). | ||
| 455 | ; Default Value: not set | ||
| 456 | ;chroot = | ||
| 457 | |||
| 458 | ; Chdir to this directory at the start. | ||
| 459 | ; Note: relative path can be used. | ||
| 460 | ; Default Value: current directory or / when chroot | ||
| 461 | ;chdir = /var/www | ||
| 462 | |||
| 463 | ; Redirect worker stdout and stderr into main error log. If not set, stdout and | ||
| 464 | ; stderr will be redirected to /dev/null according to FastCGI specs. | ||
| 465 | ; Note: on highloaded environement, this can cause some delay in the page | ||
| 466 | ; process time (several ms). | ||
| 467 | ; Default Value: no | ||
| 468 | ;catch_workers_output = yes | ||
| 469 | |||
| 470 | ; Limits the extensions of the main script FPM will allow to parse. This can | ||
| 471 | ; prevent configuration mistakes on the web server side. You should only limit | ||
| 472 | ; FPM to .php extensions to prevent malicious users to use other extensions to | ||
| 473 | ; exectute php code. | ||
| 474 | ; Note: set an empty value to allow all extensions. | ||
| 475 | ; Default Value: .php | ||
| 476 | ;security.limit_extensions = .php .php3 .php4 .php5 | ||
| 477 | |||
| 478 | ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from | ||
| 479 | ; the current environment. | ||
| 480 | ; Default Value: clean env | ||
| 481 | ;env[HOSTNAME] = $HOSTNAME | ||
| 482 | ;env[PATH] = /usr/local/bin:/usr/bin:/bin | ||
| 483 | ;env[TMP] = /tmp | ||
| 484 | ;env[TMPDIR] = /tmp | ||
| 485 | ;env[TEMP] = /tmp | ||
| 486 | |||
| 487 | ; Additional php.ini defines, specific to this pool of workers. These settings | ||
| 488 | ; overwrite the values previously defined in the php.ini. The directives are the | ||
| 489 | ; same as the PHP SAPI: | ||
| 490 | ; php_value/php_flag - you can set classic ini defines which can | ||
| 491 | ; be overwritten from PHP call 'ini_set'. | ||
| 492 | ; php_admin_value/php_admin_flag - these directives won't be overwritten by | ||
| 493 | ; PHP call 'ini_set' | ||
| 494 | ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. | ||
| 495 | |||
| 496 | ; Defining 'extension' will load the corresponding shared extension from | ||
| 497 | ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not | ||
| 498 | ; overwrite previously defined php.ini values, but will append the new value | ||
| 499 | ; instead. | ||
| 500 | |||
| 501 | ; Note: path INI options can be relative and will be expanded with the prefix | ||
| 502 | ; (pool, global or /usr) | ||
| 503 | |||
| 504 | ; Default Value: nothing is defined by default except the values in php.ini and | ||
| 505 | ; specified at startup with the -d argument | ||
| 506 | ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com | ||
| 507 | ;php_flag[display_errors] = off | ||
| 508 | ;php_admin_value[error_log] = /var/log/fpm-php.www.log | ||
| 509 | ;php_admin_flag[log_errors] = on | ||
| 510 | ;php_admin_value[memory_limit] = 32M | ||
diff --git a/meta-oe/recipes-devtools/php/php/php_exec_native.patch b/meta-oe/recipes-devtools/php/php/php_exec_native.patch new file mode 100644 index 0000000000..0506bddaf4 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php/php_exec_native.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Upstream-status: Inappriate | ||
| 2 | |||
| 3 | diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4 | ||
| 4 | index cdfa1f7..0fe11e3 100644 | ||
| 5 | --- a/sapi/cli/config.m4 | ||
| 6 | +++ b/sapi/cli/config.m4 | ||
| 7 | @@ -36,7 +36,7 @@ if test "$PHP_CLI" != "no"; then | ||
| 8 | esac | ||
| 9 | |||
| 10 | dnl Set executable for tests | ||
| 11 | - PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)" | ||
| 12 | + PHP_EXECUTABLE="${PHP_NATIVE_DIR}/php" | ||
| 13 | PHP_SUBST(PHP_EXECUTABLE) | ||
| 14 | |||
| 15 | dnl Expose to Makefile | ||
| 16 | -- | ||
| 17 | 1.9.3 | ||
| 18 | |||
diff --git a/meta-oe/recipes-devtools/php/php_5.4.36.bb b/meta-oe/recipes-devtools/php/php_5.4.36.bb new file mode 100644 index 0000000000..43c7736e43 --- /dev/null +++ b/meta-oe/recipes-devtools/php/php_5.4.36.bb | |||
| @@ -0,0 +1,150 @@ | |||
| 1 | DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the CGI." | ||
| 2 | HOMEPAGE = "http://www.php.net" | ||
| 3 | SECTION = "console/network" | ||
| 4 | |||
| 5 | LICENSE = "PHP-3.0" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb564efdf78cce8ea6e4b5a4f7c05d97" | ||
| 7 | |||
| 8 | BBCLASSEXTEND = "native" | ||
| 9 | DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native \ | ||
| 10 | libc-client openssl" | ||
| 11 | DEPENDS_virtclass-native = "zlib-native libxml2-native" | ||
| 12 | |||
| 13 | # The new PHP downloads server groups PHP releases by major version so find | ||
| 14 | # the major version of the PHP recipe. | ||
| 15 | PHP_MAJVER = "${@d.getVar('PV',1).split('.')[0]}" | ||
| 16 | |||
| 17 | SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ | ||
| 18 | file://acinclude-xml2-config.patch \ | ||
| 19 | file://0001-php-don-t-use-broken-wrapper-for-mkdir.patch \ | ||
| 20 | file://0001-acinclude-use-pkgconfig-for-libxml2-config.patch \ | ||
| 21 | " | ||
| 22 | |||
| 23 | SRC_URI_append_class-target += " \ | ||
| 24 | file://iconv.patch \ | ||
| 25 | file://imap-fix-autofoo.patch \ | ||
| 26 | file://pear-makefile.patch \ | ||
| 27 | file://phar-makefile.patch \ | ||
| 28 | file://php_exec_native.patch \ | ||
| 29 | file://php-fpm.conf \ | ||
| 30 | file://php-fpm-apache.conf \ | ||
| 31 | " | ||
| 32 | |||
| 33 | SRC_URI[md5sum] = "70e223be4bb460e465b7a9d7cb5b9cac" | ||
| 34 | SRC_URI[sha256sum] = "b0951608c3e8afb978a624c7f79a889980210f5258f666c1d997bd6491e13241" | ||
| 35 | |||
| 36 | S = "${WORKDIR}/php-${PV}" | ||
| 37 | |||
| 38 | inherit autotools pkgconfig pythonnative gettext | ||
| 39 | |||
| 40 | SSTATE_SCAN_FILES += "build-defs.h" | ||
| 41 | |||
| 42 | # Common EXTRA_OECONF | ||
| 43 | COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared" | ||
| 44 | EXTRA_OECONF = "--enable-mbstring \ | ||
| 45 | --enable-wddx \ | ||
| 46 | --enable-fpm \ | ||
| 47 | --with-imap=${STAGING_DIR_HOST} \ | ||
| 48 | --with-gettext=${STAGING_LIBDIR}/.. \ | ||
| 49 | --with-imap-ssl=${STAGING_DIR_HOST} \ | ||
| 50 | --with-zlib=${STAGING_LIBDIR}/.. \ | ||
| 51 | --with-iconv=${STAGING_LIBDIR}/.. \ | ||
| 52 | ${COMMON_EXTRA_OECONF} \ | ||
| 53 | " | ||
| 54 | EXTRA_OECONF_virtclass-native = " \ | ||
| 55 | --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \ | ||
| 56 | --without-iconv \ | ||
| 57 | ${COMMON_EXTRA_OECONF} \ | ||
| 58 | " | ||
| 59 | |||
| 60 | PACKAGECONFIG ??= "mysql sqlite3" | ||
| 61 | PACKAGECONFIG_class-native = "" | ||
| 62 | |||
| 63 | PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \ | ||
| 64 | --with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \ | ||
| 65 | --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \ | ||
| 66 | , \ | ||
| 67 | ,mysql5" | ||
| 68 | |||
| 69 | PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \ | ||
| 70 | --with-pdo-sqlite=${STAGING_LIBDIR}/.. \ | ||
| 71 | , \ | ||
| 72 | ,sqlite3" | ||
| 73 | |||
| 74 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | ||
| 75 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" | ||
| 76 | CFLAGS += " -D_GNU_SOURCE" | ||
| 77 | |||
| 78 | EXTRA_OEMAKE = "INSTALL_ROOT=${D}" | ||
| 79 | |||
| 80 | acpaths = "" | ||
| 81 | |||
| 82 | do_install_append_class-native() { | ||
| 83 | rm -rf ${D}/${libdir}/php/.registry | ||
| 84 | rm -rf ${D}/${libdir}/php/.channels | ||
| 85 | rm -rf ${D}/${libdir}/php/.[a-z]* | ||
| 86 | } | ||
| 87 | |||
| 88 | # fixme | ||
| 89 | do_install_append_class-target() { | ||
| 90 | install -d ${D}/${sysconfdir}/ | ||
| 91 | if [ -d ${D}/${STAGING_DIR_NATIVE}/${sysconfdir} ];then | ||
| 92 | mv ${D}/${STAGING_DIR_NATIVE}/${sysconfdir}/* ${D}/${sysconfdir}/ | ||
| 93 | fi | ||
| 94 | rm -rf ${D}/${TMPDIR} | ||
| 95 | rm -rf ${D}/.registry | ||
| 96 | rm -rf ${D}/.channels | ||
| 97 | rm -rf ${D}/.[a-z]* | ||
| 98 | rm -rf ${D}/var | ||
| 99 | rm -f ${D}/${sysconfdir}/php-fpm.conf.default | ||
| 100 | sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf | ||
| 101 | install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf | ||
| 102 | install -d ${D}/${sysconfdir}/apache2/conf.d | ||
| 103 | install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf | ||
| 104 | install -d ${D}${sysconfdir}/init.d | ||
| 105 | sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm | ||
| 106 | sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm | ||
| 107 | sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm | ||
| 108 | install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm | ||
| 109 | TMP=`dirname ${D}/${TMPDIR}` | ||
| 110 | while test ${TMP} != ${D}; do | ||
| 111 | rmdir ${TMP} | ||
| 112 | TMP=`dirname ${TMP}`; | ||
| 113 | done | ||
| 114 | } | ||
| 115 | |||
| 116 | PACKAGES = "${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 ${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}" | ||
| 117 | |||
| 118 | RDEPENDS_${PN}-pear = "${PN}" | ||
| 119 | RDEPENDS_${PN}-cli = "${PN}" | ||
| 120 | RDEPENDS_${PN}-dev = "${PN}" | ||
| 121 | |||
| 122 | INITSCRIPT_PACKAGES = "${PN}-fpm" | ||
| 123 | inherit update-rc.d | ||
| 124 | |||
| 125 | FILES_${PN}-dbg =+ "${bindir}/.debug" | ||
| 126 | FILES_${PN}-doc += "${libdir}/php/doc" | ||
| 127 | FILES_${PN}-cli = "${bindir}/php" | ||
| 128 | FILES_${PN}-cgi = "${bindir}/php-cgi" | ||
| 129 | FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm" | ||
| 130 | FILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" | ||
| 131 | CONFFILES_${PN}-fpm = "${sysconfdir}/php-fpm.conf" | ||
| 132 | CONFFILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" | ||
| 133 | INITSCRIPT_NAME_${PN}-fpm = "php-fpm" | ||
| 134 | INITSCRIPT_PARAMS_${PN}-fpm = "defaults 60" | ||
| 135 | FILES_${PN}-pear = "${bindir}/pear* ${bindir}/pecl ${libdir}/php/PEAR \ | ||
| 136 | ${libdir}/php/PEAR.php ${libdir}/php/System.php \ | ||
| 137 | ${libdir}php/peclcmd.php ${libdir}/php/pearcmd.php \ | ||
| 138 | ${libdir}/php/.channels ${libdir}/php/.channels/.alias \ | ||
| 139 | ${libdir}/php/.channels\__uri.reg \ | ||
| 140 | ${libdir}/php/.channels\pear.php.net.reg \ | ||
| 141 | ${libdir}/php/.channels/pecl.php.net.reg \ | ||
| 142 | ${libdir}/php/.registry ${libdir}/php/Archive/Tar.php \ | ||
| 143 | ${libdir}/php/Console/Getopt.php ${libdir}/php/OS/Guess.php \ | ||
| 144 | ${sysconfdir}/pear.conf" | ||
| 145 | FILES_${PN}-dev = "${includedir}/php ${libdir}/build ${bindir}/phpize \ | ||
| 146 | ${bindir}/php-config ${libdir}/php/.depdb \ | ||
| 147 | ${libdir}/php/.depdblock ${libdir}/php/.filemap \ | ||
| 148 | ${libdir}/php/.lock ${libdir}/php/test" | ||
| 149 | FILES_${PN} = "${libdir}/php" | ||
| 150 | FILES_${PN} += "${bindir}" | ||
diff --git a/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb b/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb new file mode 100644 index 0000000000..dc16aef977 --- /dev/null +++ b/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | DESCRIPTION = "Utilities for testing Power Management" | ||
| 2 | HOMEPAGE = "https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQa" | ||
| 3 | |||
| 4 | LICENSE = "GPLv2" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 6 | |||
| 7 | PV = "0.4.14" | ||
| 8 | |||
| 9 | BRANCH ?= "master" | ||
| 10 | |||
| 11 | # Corresponds to tag pm-qa-v0.4.14 | ||
| 12 | SRCREV = "9111d1930f02337394cf16e84ad2a27f33607cbb" | ||
| 13 | |||
| 14 | SRC_URI = "git://git.linaro.org/power/pm-qa.git;protocol=git;branch=${BRANCH}" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | CFLAGS += "-pthread" | ||
| 19 | |||
| 20 | do_compile () { | ||
| 21 | # Find all the .c files in this project and build them. | ||
| 22 | for x in `find . -name "*.c"` | ||
| 23 | do | ||
| 24 | util=`echo ${x} | sed s/.c$//` | ||
| 25 | oe_runmake ${util} | ||
| 26 | done | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install () { | ||
| 30 | install -d ${D}${bindir} | ||
| 31 | install -d ${D}${libdir}/${PN} | ||
| 32 | |||
| 33 | # Install the compiled binaries that were built in the previous step | ||
| 34 | for x in `find . -name "*.c"` | ||
| 35 | do | ||
| 36 | util=`echo ${x} | sed s/.c$//` | ||
| 37 | util_basename=`basename ${util}` | ||
| 38 | install -m 0755 ${util} ${D}${bindir}/${util_basename} | ||
| 39 | done | ||
| 40 | |||
| 41 | # Install the helper scripts in a subdirectory of $libdir | ||
| 42 | for script in `find . -name "*.sh" | grep include` | ||
| 43 | do | ||
| 44 | # Remove hardcoded relative paths | ||
| 45 | sed -i -e 's#..\/utils\/##' ${script} | ||
| 46 | |||
| 47 | script_basename=`basename ${script}` | ||
| 48 | install -m 0755 $script ${D}${libdir}/${PN}/${script_basename} | ||
| 49 | done | ||
| 50 | |||
| 51 | # Install the shell scripts NOT in the $libdir directory since those | ||
| 52 | # will be installed elsewhere | ||
| 53 | for script in `find . -name "*.sh" | grep -v include` | ||
| 54 | do | ||
| 55 | # if the script includes any helper scripts from the $libdir | ||
| 56 | # directory then change the source path to the absolute path | ||
| 57 | # to reflect the install location of the helper scripts. | ||
| 58 | sed -i -e "s#source ../include#source ${libdir}/${PN}#g" ${script} | ||
| 59 | # Remove hardcoded relative paths | ||
| 60 | sed -i -e 's#..\/utils\/##' ${script} | ||
| 61 | |||
| 62 | script_basename=`basename ${script}` | ||
| 63 | install -m 0755 $script ${D}${bindir}/${script_basename} | ||
| 64 | done | ||
| 65 | } | ||
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb new file mode 100644 index 0000000000..8386206ea1 --- /dev/null +++ b/meta-oe/recipes-devtools/protobuf/protobuf_2.4.1.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "Protocol Buffers - structured data serialisation mechanism" | ||
| 2 | DESCRIPTION = "Protocol Buffers are a way of encoding structured data in an \ | ||
| 3 | efficient yet extensible format. Google uses Protocol Buffers for almost \ | ||
| 4 | all of its internal RPC protocols and file formats." | ||
| 5 | HOMEPAGE = "http://code.google.com/p/protobuf/" | ||
| 6 | SECTION = "console/tools" | ||
| 7 | LICENSE = "BSD-3-Clause" | ||
| 8 | |||
| 9 | DEPENDS = "zlib" | ||
| 10 | |||
| 11 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514" | ||
| 12 | |||
| 13 | SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz" | ||
| 14 | |||
| 15 | SRC_URI[md5sum] = "dc84e9912ea768baa1976cb7bbcea7b5" | ||
| 16 | SRC_URI[sha256sum] = "eac6969b617f397247e805267da2b0db3ff9e5a9163b123503a192fbb5776567" | ||
| 17 | |||
| 18 | EXTRA_OECONF += " --with-protoc=echo" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb b/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb new file mode 100644 index 0000000000..817a9179a2 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-futures_2.1.5.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | DESCRIPTION = "The concurrent.futures module provides a high-level interface for asynchronously executing callables." | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e96d16356742ac95c07be571717e51a3" | ||
| 5 | HOMEPAGE = "http://code.google.com/p/pythonfutures" | ||
| 6 | DEPENDS = "python" | ||
| 7 | |||
| 8 | SRC_URI = "https://pypi.python.org/packages/source/f/futures/futures-${PV}.tar.gz" | ||
| 9 | SRC_URI[md5sum] = "2fc924890ccd30a5fe676fa9bbcf0ab8" | ||
| 10 | SRC_URI[sha256sum] = "8f5a627d3aee94cc1859a942965fdebb714be8cdd2366d819cb8fb9b7cc628a6" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/futures-${PV}" | ||
| 13 | |||
| 14 | inherit setuptools | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb b/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb new file mode 100644 index 0000000000..01f43da271 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyopenssl_0.13.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | SUMMARY = "Simple Python wrapper around the OpenSSL library" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | |||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 6 | |||
| 7 | SRCNAME = "pyOpenSSL" | ||
| 8 | |||
| 9 | DEPENDS = "openssl" | ||
| 10 | PR = "r1" | ||
| 11 | |||
| 12 | SRC_URI = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${PV}.tar.gz" | ||
| 13 | SRC_URI[md5sum] = "767bca18a71178ca353dff9e10941929" | ||
| 14 | SRC_URI[sha256sum] = "21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 17 | |||
| 18 | inherit distutils | ||
| 19 | |||
| 20 | PACKAGES =+ "${PN}-tests" | ||
| 21 | FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" | ||
| 22 | |||
| 23 | RDEPENDS_${PN} = "python-threading" | ||
| 24 | RDEPENDS_${PN}-tests = "${PN}" | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb b/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb new file mode 100644 index 0000000000..607007ff6a --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | SUMMARY = "Python Qt4 Bindings" | ||
| 2 | AUTHOR = "Phil Thomson @ riverbank.co.uk" | ||
| 3 | HOMEPAGE = "http://riverbankcomputing.co.uk" | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION" | ||
| 6 | LIC_FILES_CHKSUM = "\ | ||
| 7 | file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \ | ||
| 8 | file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \ | ||
| 9 | file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \ | ||
| 10 | file://LICENSE.GPL2;md5=577ff65f6653562af318bfc3944b1f20 \ | ||
| 11 | file://LICENSE.GPL3;md5=feee51612c3c1191a1d5f41156fa2c75 \ | ||
| 12 | " | ||
| 13 | DEPENDS = "sip sip-native qt4-x11-free python" | ||
| 14 | |||
| 15 | SRC_URI = "\ | ||
| 16 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ | ||
| 17 | " | ||
| 18 | SRC_URI[md5sum] = "997c3e443165a89a559e0d96b061bf70" | ||
| 19 | SRC_URI[sha256sum] = "853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686" | ||
| 20 | |||
| 21 | S = "${WORKDIR}/PyQt-x11-gpl-${PV}" | ||
| 22 | |||
| 23 | PARALLEL_MAKE = "" | ||
| 24 | |||
| 25 | inherit qmake2 pythonnative python-dir | ||
| 26 | |||
| 27 | DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager" | ||
| 28 | |||
| 29 | DISABLED_FEATURES_append_arm = " PyQt_qreal_double" | ||
| 30 | |||
| 31 | do_configure() { | ||
| 32 | echo "py_platform = linux" > pyqt.cfg | ||
| 33 | echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
| 34 | echo "py_pylib_dir = %(sysroot)/${libdir}/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
| 35 | echo "py_pylib_lib = python%(py_major).%(py_minor)mu" >> pyqt.cfg | ||
| 36 | echo "pyqt_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> pyqt.cfg | ||
| 37 | echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg | ||
| 38 | echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt4" >> pyqt.cfg | ||
| 39 | echo "pyuic_interpreter = ${D}/${bindir}/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
| 40 | echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg | ||
| 41 | echo "qt_shared = True" >> pyqt.cfg | ||
| 42 | echo "[Qt 4.8]" >> pyqt.cfg | ||
| 43 | echo "pyqt_modules = QtCore QtGui QtDeclarative QtNetwork QtSvg QtWebKit" >> pyqt.cfg | ||
| 44 | echo yes | python configure-ng.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/qmake2 --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} | ||
| 45 | } | ||
| 46 | do_install() { | ||
| 47 | oe_runmake install | ||
| 48 | } | ||
| 49 | |||
| 50 | RDEPENDS_${PN} = "python-core python-sip" | ||
| 51 | |||
| 52 | FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt4/" | ||
| 53 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*/.debug/" | ||
| 54 | |||
diff --git a/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb b/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb new file mode 100644 index 0000000000..7e42a7c142 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-simplejson_2.2.1.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" | ||
| 2 | HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | |||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8a9f8dcfcd28c34daa443e5b1d29813b" | ||
| 7 | PR = "r1" | ||
| 8 | |||
| 9 | SRCNAME = "simplejson" | ||
| 10 | |||
| 11 | SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz" | ||
| 12 | SRC_URI[md5sum] = "070c6467462bd63306f1756b01df6d70" | ||
| 13 | SRC_URI[sha256sum] = "e85c5ae24dd9827113893c1dd2c799528195057388096f0fc45ad4b32b378c26" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 16 | |||
| 17 | inherit distutils | ||
| 18 | |||
| 19 | RDEPENDS_${PN} = "\ | ||
| 20 | python-core \ | ||
| 21 | python-re \ | ||
| 22 | python-io \ | ||
| 23 | python-netserver \ | ||
| 24 | python-numbers \ | ||
| 25 | " | ||
| 26 | |||
| 27 | |||
diff --git a/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch new file mode 100644 index 0000000000..0b0d471a42 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-tornado/0001-disable-AI_ADDRCONFIG-flag.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From d7fb0a6ef3f3cbdfc1f21f5a67d54fa9d2c1e183 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Wed, 2 Nov 2011 11:07:24 +0100 | ||
| 4 | Subject: [PATCH] disable AI_ADDRCONFIG flag | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 7 | |||
| 8 | Upstream-Status: unknown | ||
| 9 | --- | ||
| 10 | tornado/netutil.py | 6 ------ | ||
| 11 | 1 files changed, 0 insertions(+), 6 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/tornado/netutil.py b/tornado/netutil.py | ||
| 14 | index cfff0ba..c181f24 100644 | ||
| 15 | --- a/tornado/netutil.py | ||
| 16 | +++ b/tornado/netutil.py | ||
| 17 | @@ -238,12 +238,6 @@ def bind_sockets(port, address=None, family=socket.AF_UNSPEC, backlog=128): | ||
| 18 | if address == "": | ||
| 19 | address = None | ||
| 20 | flags = socket.AI_PASSIVE | ||
| 21 | - if hasattr(socket, "AI_ADDRCONFIG"): | ||
| 22 | - # AI_ADDRCONFIG ensures that we only try to bind on ipv6 | ||
| 23 | - # if the system is configured for it, but the flag doesn't | ||
| 24 | - # exist on some platforms (specifically WinXP, although | ||
| 25 | - # newer versions of windows have it) | ||
| 26 | - flags |= socket.AI_ADDRCONFIG | ||
| 27 | for res in set(socket.getaddrinfo(address, port, family, socket.SOCK_STREAM, | ||
| 28 | 0, flags): | ||
| 29 | af, socktype, proto, canonname, sockaddr = res | ||
| 30 | -- | ||
| 31 | 1.7.2.5 | ||
| 32 | |||
diff --git a/meta-oe/recipes-devtools/python/python-tornado_git.bb b/meta-oe/recipes-devtools/python/python-tornado_git.bb new file mode 100644 index 0000000000..28026b352b --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-tornado_git.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://README;md5=e7fb9954003d7cd93322ccf282210d1c" | ||
| 4 | |||
| 5 | PV = "2.2.1+git${SRCPV}" | ||
| 6 | |||
| 7 | SRCREV = "c501917eba46dec30b1f2ef12497dffc4beec505" | ||
| 8 | SRC_URI = "git://github.com/facebook/tornado.git;branch=branch2.2 \ | ||
| 9 | file://0001-disable-AI_ADDRCONFIG-flag.patch \ | ||
| 10 | " | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | inherit setuptools | ||
| 15 | |||
| 16 | |||
diff --git a/meta-oe/recipes-devtools/swig/swig.inc b/meta-oe/recipes-devtools/swig/swig.inc new file mode 100644 index 0000000000..9821fa560b --- /dev/null +++ b/meta-oe/recipes-devtools/swig/swig.inc | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | DESCRIPTION = "SWIG - Simplified Wrapper and Interface Generator" | ||
| 2 | HOMEPAGE = "http://swig.sourceforge.net/" | ||
| 3 | LICENSE = "BSD & GPLv3" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \ | ||
| 5 | file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 6 | file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08" | ||
| 7 | |||
| 8 | SECTION = "devel" | ||
| 9 | |||
| 10 | DEPENDS = "libpcre python" | ||
| 11 | |||
| 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
| 13 | |||
| 14 | inherit autotools pythonnative | ||
| 15 | |||
| 16 | EXTRA_OECONF = " \ | ||
| 17 | --with-python=${PYTHON} \ | ||
| 18 | --without-allegrocl \ | ||
| 19 | --without-android \ | ||
| 20 | --without-boost \ | ||
| 21 | --without-chicken \ | ||
| 22 | --without-clisp \ | ||
| 23 | --without-csharp \ | ||
| 24 | --without-d \ | ||
| 25 | --without-gcj \ | ||
| 26 | --without-go \ | ||
| 27 | --without-guile \ | ||
| 28 | --without-java \ | ||
| 29 | --without-lua \ | ||
| 30 | --without-mzscheme \ | ||
| 31 | --without-ocaml \ | ||
| 32 | --without-octave \ | ||
| 33 | --without-perl5 \ | ||
| 34 | --without-pike \ | ||
| 35 | --without-php \ | ||
| 36 | --without-python3 \ | ||
| 37 | --without-r \ | ||
| 38 | --without-ruby \ | ||
| 39 | --without-tcl \ | ||
| 40 | " | ||
| 41 | |||
| 42 | BBCLASSEXTEND = "native nativesdk" | ||
| 43 | |||
| 44 | do_configure() { | ||
| 45 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/Tools/config | ||
| 46 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/Tools/config | ||
| 47 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | ||
| 48 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | ||
| 49 | oe_runconf | ||
| 50 | } | ||
| 51 | |||
| 52 | do_install_append_class-nativesdk() { | ||
| 53 | cd ${D}${bindir} | ||
| 54 | ln -s swig swig2.0 | ||
| 55 | } | ||
| 56 | |||
| 57 | def swiglib_relpath(d): | ||
| 58 | swiglib = d.getVar('datadir', True) + "/" + d.getVar('BPN', True) + "/" + d.getVar('PV', True) | ||
| 59 | return os.path.relpath(swiglib, d.getVar('bindir', True)) | ||
| 60 | |||
| 61 | do_install_append_class-native() { | ||
| 62 | create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)} | ||
| 63 | } | ||
diff --git a/meta-oe/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch b/meta-oe/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch new file mode 100644 index 0000000000..81df3e264f --- /dev/null +++ b/meta-oe/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | From a4a0440a644c6c5e5da096efe3cf05ba309a284f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "NODA, Kai" <nodakai@gmail.com> | ||
| 3 | Date: Sun, 22 Apr 2012 17:01:02 +0900 | ||
| 4 | Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32 | ||
| 5 | platforms. | ||
| 6 | |||
| 7 | If it wasn't found, then fall back to a fixed string just as before. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted | ||
| 10 | http://sourceforge.net/mailarchive/message.php?msg_id=29179733 | ||
| 11 | |||
| 12 | --- | ||
| 13 | Source/Modules/main.cxx | 24 ++++++++++++++++++++++-- | ||
| 14 | 1 file changed, 22 insertions(+), 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx | ||
| 17 | index d2f5d3b..cbb0a12 100644 | ||
| 18 | --- a/Source/Modules/main.cxx | ||
| 19 | +++ b/Source/Modules/main.cxx | ||
| 20 | @@ -26,6 +26,11 @@ char cvsroot_main_cxx[] = "$Id$"; | ||
| 21 | #include "cparse.h" | ||
| 22 | #include <ctype.h> | ||
| 23 | #include <limits.h> // for INT_MAX | ||
| 24 | +#ifndef _WIN32 | ||
| 25 | +#include <cstddef> | ||
| 26 | +#include <unistd.h> // for readlink | ||
| 27 | +#include <sys/stat.h> // for stat | ||
| 28 | +#endif | ||
| 29 | |||
| 30 | // Global variables | ||
| 31 | |||
| 32 | @@ -902,9 +907,9 @@ int SWIG_main(int argc, char *argv[], Language *l) { | ||
| 33 | |||
| 34 | // Check for SWIG_LIB environment variable | ||
| 35 | if ((c = getenv("SWIG_LIB")) == (char *) 0) { | ||
| 36 | + char *p; | ||
| 37 | #if defined(_WIN32) | ||
| 38 | char buf[MAX_PATH]; | ||
| 39 | - char *p; | ||
| 40 | if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, '\\')) == 0)) { | ||
| 41 | *(p + 1) = '\0'; | ||
| 42 | SwigLib = NewStringf("%sLib", buf); // Native windows installation path | ||
| 43 | @@ -914,7 +919,22 @@ int SWIG_main(int argc, char *argv[], Language *l) { | ||
| 44 | if (Len(SWIG_LIB_WIN_UNIX) > 0) | ||
| 45 | SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation path using a drive letter (for msys/mingw) | ||
| 46 | #else | ||
| 47 | - SwigLib = NewString(SWIG_LIB); | ||
| 48 | + char buf[PATH_MAX]; | ||
| 49 | + if (0 < ::readlink("/proc/self/exe", buf, sizeof(buf)) && | ||
| 50 | + (p = ::strstr(buf, "/bin/swig"))) { | ||
| 51 | + int major, minor, patch; | ||
| 52 | + const int ret = ::sscanf(VERSION, "%d.%d.%d", &major, &minor, &patch); | ||
| 53 | + if (3 == ret) { | ||
| 54 | + const ::ptrdiff_t dir_part_len = p - buf; | ||
| 55 | + ::snprintf(p, PATH_MAX - dir_part_len, "/share/swig/%d.%d.%d", major, minor, patch); | ||
| 56 | + struct ::stat stat_res; | ||
| 57 | + if (0 == ::stat(buf, &stat_res) && S_ISDIR(stat_res.st_mode)) { | ||
| 58 | + SwigLib = NewString(buf); | ||
| 59 | + } | ||
| 60 | + } | ||
| 61 | + } | ||
| 62 | + if (NULL == SwigLib) | ||
| 63 | + SwigLib = NewString(SWIG_LIB); | ||
| 64 | #endif | ||
| 65 | } else { | ||
| 66 | SwigLib = NewString(c); | ||
| 67 | -- | ||
| 68 | 1.7.9.5 | ||
| 69 | |||
diff --git a/meta-oe/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch b/meta-oe/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch new file mode 100644 index 0000000000..1b1128acab --- /dev/null +++ b/meta-oe/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | From 5c4d6d8538994d5fe9b3b46bfafaf0a605e3bda6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen.kooi@linaro.org> | ||
| 3 | Date: Tue, 17 Jun 2014 08:18:17 +0200 | ||
| 4 | Subject: [PATCH] configure: use pkg-config for pcre detection | ||
| 5 | |||
| 6 | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> | ||
| 7 | Upstream-Status: pending | ||
| 8 | --- | ||
| 9 | configure.ac | 38 +++++++------------------------------- | ||
| 10 | 1 file changed, 7 insertions(+), 31 deletions(-) | ||
| 11 | |||
| 12 | diff --git a/configure.ac b/configure.ac | ||
| 13 | index 0c984b7..6edcec1 100644 | ||
| 14 | --- a/configure.ac | ||
| 15 | +++ b/configure.ac | ||
| 16 | @@ -70,38 +70,14 @@ AC_MSG_RESULT([$with_pcre]) | ||
| 17 | |||
| 18 | dnl To make configuring easier, check for a locally built PCRE using the Tools/pcre-build.sh script | ||
| 19 | if test x"${with_pcre}" = xyes ; then | ||
| 20 | - AC_MSG_CHECKING([whether to use local PCRE]) | ||
| 21 | - local_pcre_config=no | ||
| 22 | - if test -z $PCRE_CONFIG; then | ||
| 23 | - if test -f `pwd`/pcre/pcre-swig-install/bin/pcre-config; then | ||
| 24 | - PCRE_CONFIG=`pwd`/pcre/pcre-swig-install/bin/pcre-config | ||
| 25 | - local_pcre_config=$PCRE_CONFIG | ||
| 26 | - fi | ||
| 27 | - fi | ||
| 28 | - AC_MSG_RESULT([$local_pcre_config]) | ||
| 29 | -fi | ||
| 30 | -AS_IF([test "x$with_pcre" != xno], | ||
| 31 | - [AX_PATH_GENERIC([pcre], | ||
| 32 | - [], dnl Minimal version of PCRE we need -- accept any | ||
| 33 | - [], dnl custom sed script for version parsing is not needed | ||
| 34 | - [AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library]) | ||
| 35 | - LIBS="$LIBS $PCRE_LIBS" | ||
| 36 | - CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS" | ||
| 37 | - ], | ||
| 38 | - [AC_MSG_FAILURE([ | ||
| 39 | - Cannot find pcre-config script from PCRE (Perl Compatible Regular Expressions) | ||
| 40 | - library package. This dependency is needed for configure to complete, | ||
| 41 | - Either: | ||
| 42 | - - Install the PCRE developer package on your system (preferred approach). | ||
| 43 | - - Download the PCRE source tarball, build and install on your system | ||
| 44 | - as you would for any package built from source distribution. | ||
| 45 | - - Use the Tools/pcre-build.sh script to build PCRE just for SWIG to statically | ||
| 46 | - link against. Run 'Tools/pcre-build.sh --help' for instructions. | ||
| 47 | - (quite easy and does not require privileges to install PCRE on your system) | ||
| 48 | - - Use configure --without-pcre to disable regular expressions support in SWIG | ||
| 49 | - (not recommended).]) | ||
| 50 | - ]) | ||
| 51 | + PKG_CHECK_MODULES([PCRE], [libpcre], [ | ||
| 52 | + AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library]) | ||
| 53 | + LIBS="$LIBS $PCRE_LIBS" | ||
| 54 | + CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS" | ||
| 55 | + ], [ | ||
| 56 | + AC_MSG_WARN([$PCRE_PKG_ERRORS]) | ||
| 57 | ]) | ||
| 58 | +fi | ||
| 59 | |||
| 60 | |||
| 61 | dnl CCache | ||
| 62 | -- | ||
| 63 | 1.9.3 | ||
| 64 | |||
diff --git a/meta-oe/recipes-devtools/swig/swig_3.0.2.bb b/meta-oe/recipes-devtools/swig/swig_3.0.2.bb new file mode 100644 index 0000000000..ac41914586 --- /dev/null +++ b/meta-oe/recipes-devtools/swig/swig_3.0.2.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require ${BPN}.inc | ||
| 2 | |||
| 3 | SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ | ||
| 4 | file://0001-configure-use-pkg-config-for-pcre-detection.patch \ | ||
| 5 | " | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "62f9b0d010cef36a13a010dc530d0d41" | ||
| 8 | SRC_URI[sha256sum] = "a2669657cabcedc371f63c0457407a183e0b6b2ef4e7e303c1ec9a3964cc7813" | ||
diff --git a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch b/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch new file mode 100644 index 0000000000..358cbefdde --- /dev/null +++ b/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ting Liu <b28495@freescale.com> | ||
| 3 | Date: Mon, 15 Apr 2013 16:28:37 +0800 | ||
| 4 | Subject: [PATCH] Makefile.am: disable docs | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [OE specific] | ||
| 7 | |||
| 8 | docs need some generating tool (for example, doxygen) from host which may | ||
| 9 | be not available. Disable it to avoid build issue. | ||
| 10 | |||
| 11 | Signed-off-by: Ting Liu <b28495@freescale.com> | ||
| 12 | --- | ||
| 13 | Makefile.am | 2 +- | ||
| 14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/Makefile.am b/Makefile.am | ||
| 17 | index 0a6ebc9..6b42f41 100644 | ||
| 18 | --- a/Makefile.am | ||
| 19 | +++ b/Makefile.am | ||
| 20 | @@ -1,7 +1,7 @@ | ||
| 21 | |||
| 22 | ACLOCAL_AMFLAGS = -I config | ||
| 23 | |||
| 24 | -SUBDIRS = include examples docs tests msc config | ||
| 25 | +SUBDIRS = include examples tests msc config | ||
| 26 | |||
| 27 | pkgconfigdir = $(libdir)/pkgconfig | ||
| 28 | pkgconfig_DATA = $(PACKAGE).pc | ||
| 29 | -- | ||
| 30 | 1.7.5 | ||
| 31 | |||
diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb new file mode 100644 index 0000000000..c6bedea097 --- /dev/null +++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | SUMMARY = "Templatized C++ Command Line Parser" | ||
| 2 | HOMEPAGE = "http://tclap.sourceforge.net/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453" | ||
| 5 | |||
| 6 | SRCREV = "3627d9402e529770df9b0edf2aa8c0e0d6c6bb41" | ||
| 7 | SRC_URI = "git://git.code.sf.net/p/tclap/code \ | ||
| 8 | file://Makefile.am-disable-docs.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | inherit autotools | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch new file mode 100644 index 0000000000..a0c157f5ad --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --- a/configure.in.orig 2014-05-10 14:35:39.859147385 +0000 | ||
| 2 | +++ b/configure.in 2014-05-10 14:36:20.282925184 +0000 | ||
| 3 | @@ -554,8 +554,8 @@ | ||
| 4 | dnl make sure package configurator (xft-config or pkg-config | ||
| 5 | dnl says that xft is present. | ||
| 6 | found_xft=yes | ||
| 7 | - XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no" | ||
| 8 | - XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no" | ||
| 9 | + XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no" | ||
| 10 | + XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no" | ||
| 11 | AC_MSG_RESULT([$found_xft]) | ||
| 12 | dnl make sure that compiling against Xft header file doesn't bomb | ||
| 13 | if test "$found_xft" = "yes" ; then | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff new file mode 100644 index 0000000000..c51e475426 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5 | ||
| 2 | and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian | ||
| 3 | installation. | ||
| 4 | |||
| 5 | --- tk8.5-8.5.8.orig/unix/configure | ||
| 6 | +++ tk8.5-8.5.8/unix/configure | ||
| 7 | @@ -1431,6 +1431,7 @@ | ||
| 8 | `ls -d ${prefix}/lib 2>/dev/null` \ | ||
| 9 | `ls -d /usr/local/lib 2>/dev/null` \ | ||
| 10 | `ls -d /usr/contrib/lib 2>/dev/null` \ | ||
| 11 | + `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \ | ||
| 12 | `ls -d /usr/lib 2>/dev/null` \ | ||
| 13 | ; do | ||
| 14 | if test -f "$i/tclConfig.sh" ; then | ||
| 15 | --- tk8.5-8.5.8.orig/unix/tcl.m4 | ||
| 16 | +++ tk8.5-8.5.8/unix/tcl.m4 | ||
| 17 | @@ -93,6 +93,7 @@ | ||
| 18 | `ls -d ${prefix}/lib 2>/dev/null` \ | ||
| 19 | `ls -d /usr/local/lib 2>/dev/null` \ | ||
| 20 | `ls -d /usr/contrib/lib 2>/dev/null` \ | ||
| 21 | + `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \ | ||
| 22 | `ls -d /usr/lib 2>/dev/null` \ | ||
| 23 | ; do | ||
| 24 | if test -f "$i/tclConfig.sh" ; then | ||
| 25 | @@ -223,6 +224,7 @@ | ||
| 26 | `ls -d ${prefix}/lib 2>/dev/null` \ | ||
| 27 | `ls -d /usr/local/lib 2>/dev/null` \ | ||
| 28 | `ls -d /usr/contrib/lib 2>/dev/null` \ | ||
| 29 | + `ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \ | ||
| 30 | `ls -d /usr/lib 2>/dev/null` \ | ||
| 31 | ; do | ||
| 32 | if test -f "$i/tkConfig.sh" ; then | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff new file mode 100644 index 0000000000..d1bb7105c6 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | --- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200 | ||
| 2 | +++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200 | ||
| 3 | @@ -526,13 +526,9 @@ | ||
| 4 | found_xft="yes" | ||
| 5 | dnl make sure package configurator (xft-config or pkg-config | ||
| 6 | dnl says that xft is present. | ||
| 7 | - XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no" | ||
| 8 | - XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no" | ||
| 9 | - if test "$found_xft" = "no" ; then | ||
| 10 | found_xft=yes | ||
| 11 | XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no" | ||
| 12 | XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no" | ||
| 13 | - fi | ||
| 14 | AC_MSG_RESULT([$found_xft]) | ||
| 15 | dnl make sure that compiling against Xft header file doesn't bomb | ||
| 16 | if test "$found_xft" = "yes" ; then | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff new file mode 100644 index 0000000000..9309fc48e1 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | Patch by Sergei Golovan (originally by Mike Markley and Chris Waters) fixes | ||
| 2 | building on non-linux Debian architectures. | ||
| 3 | |||
| 4 | --- tk8.5-8.5.8.orig/unix/configure | ||
| 5 | +++ tk8.5-8.5.8/unix/configure | ||
| 6 | @@ -4742,6 +4742,9 @@ | ||
| 7 | if test "`uname -s`" = "AIX" ; then | ||
| 8 | tcl_cv_sys_version=AIX-`uname -v`.`uname -r` | ||
| 9 | fi | ||
| 10 | + if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then | ||
| 11 | + tcl_cv_sys_version=NetBSD-Debian | ||
| 12 | + fi | ||
| 13 | fi | ||
| 14 | fi | ||
| 15 | |||
| 16 | @@ -5546,7 +5549,7 @@ | ||
| 17 | fi | ||
| 18 | |||
| 19 | ;; | ||
| 20 | - Linux*) | ||
| 21 | + Linux*|GNU*|NetBSD-Debian) | ||
| 22 | SHLIB_CFLAGS="-fPIC" | ||
| 23 | SHLIB_LD_LIBS='${LIBS}' | ||
| 24 | SHLIB_SUFFIX=".so" | ||
| 25 | --- tk8.5-8.5.8.orig/unix/tcl.m4 | ||
| 26 | +++ tk8.5-8.5.8/unix/tcl.m4 | ||
| 27 | @@ -962,6 +962,9 @@ | ||
| 28 | if test "`uname -s`" = "AIX" ; then | ||
| 29 | tcl_cv_sys_version=AIX-`uname -v`.`uname -r` | ||
| 30 | fi | ||
| 31 | + if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then | ||
| 32 | + tcl_cv_sys_version=NetBSD-Debian | ||
| 33 | + fi | ||
| 34 | fi | ||
| 35 | fi | ||
| 36 | ]) | ||
| 37 | @@ -1422,7 +1425,7 @@ | ||
| 38 | ]) | ||
| 39 | ]) | ||
| 40 | ;; | ||
| 41 | - Linux*) | ||
| 42 | + Linux*|GNU*|NetBSD-Debian) | ||
| 43 | SHLIB_CFLAGS="-fPIC" | ||
| 44 | SHLIB_LD_LIBS='${LIBS}' | ||
| 45 | SHLIB_SUFFIX=".so" | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff new file mode 100644 index 0000000000..ee38c2a1a5 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | --- tk8.5-8.5.8.orig/unix/configure | ||
| 2 | +++ tk8.5-8.5.8/unix/configure | ||
| 3 | @@ -11070,7 +11070,7 @@ | ||
| 4 | TCL_STUB_FLAGS="-DUSE_TCL_STUBS" | ||
| 5 | fi | ||
| 6 | |||
| 7 | -TK_LIBRARY='$(prefix)/lib/tk$(VERSION)' | ||
| 8 | +test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)' | ||
| 9 | PRIVATE_INCLUDE_DIR='$(includedir)' | ||
| 10 | HTML_DIR='$(DISTDIR)/html' | ||
| 11 | TK_PKG_DIR='tk$(VERSION)' | ||
| 12 | --- tk8.5-8.5.8.orig/unix/configure.in | ||
| 13 | +++ tk8.5-8.5.8/unix/configure.in | ||
| 14 | @@ -607,7 +607,7 @@ | ||
| 15 | TCL_STUB_FLAGS="-DUSE_TCL_STUBS" | ||
| 16 | fi | ||
| 17 | |||
| 18 | -TK_LIBRARY='$(prefix)/lib/tk$(VERSION)' | ||
| 19 | +test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)' | ||
| 20 | PRIVATE_INCLUDE_DIR='$(includedir)' | ||
| 21 | HTML_DIR='$(DISTDIR)/html' | ||
| 22 | TK_PKG_DIR='tk$(VERSION)' | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff new file mode 100644 index 0000000000..4e15469736 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | Patch by Chris Waters sets path which are normally point to a directory | ||
| 2 | with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules | ||
| 3 | puts private Tk headers there). | ||
| 4 | |||
| 5 | --- tk8.5-8.5.8.orig/unix/tkConfig.sh.in | ||
| 6 | +++ tk8.5-8.5.8/unix/tkConfig.sh.in | ||
| 7 | @@ -55,7 +55,7 @@ | ||
| 8 | |||
| 9 | # String to pass to linker to pick up the Tk library from its | ||
| 10 | # build directory. | ||
| 11 | -TK_BUILD_LIB_SPEC='@TK_BUILD_LIB_SPEC@' | ||
| 12 | +TK_BUILD_LIB_SPEC='@TK_LIB_SPEC@' | ||
| 13 | |||
| 14 | # String to pass to linker to pick up the Tk library from its | ||
| 15 | # installed directory. | ||
| 16 | @@ -71,7 +71,7 @@ | ||
| 17 | # different place than the directory containing the source files, this | ||
| 18 | # points to the location of the sources, not the location where Tk was | ||
| 19 | # compiled. | ||
| 20 | -TK_SRC_DIR='@TK_SRC_DIR@' | ||
| 21 | +TK_SRC_DIR='@includedir@/tk-private' | ||
| 22 | |||
| 23 | # Needed if you want to make a 'fat' shared library library | ||
| 24 | # containing tk objects or link a different wish. | ||
| 25 | @@ -86,14 +86,14 @@ | ||
| 26 | |||
| 27 | # String to pass to linker to pick up the Tk stub library from its | ||
| 28 | # build directory. | ||
| 29 | -TK_BUILD_STUB_LIB_SPEC='@TK_BUILD_STUB_LIB_SPEC@' | ||
| 30 | +TK_BUILD_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@' | ||
| 31 | |||
| 32 | # String to pass to linker to pick up the Tk stub library from its | ||
| 33 | # installed directory. | ||
| 34 | TK_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@' | ||
| 35 | |||
| 36 | # Path to the Tk stub library in the build directory. | ||
| 37 | -TK_BUILD_STUB_LIB_PATH='@TK_BUILD_STUB_LIB_PATH@' | ||
| 38 | +TK_BUILD_STUB_LIB_PATH='@TK_STUB_LIB_PATH@' | ||
| 39 | |||
| 40 | # Path to the Tk stub library in the install directory. | ||
| 41 | TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@' | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb new file mode 100644 index 0000000000..1177d03688 --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | SUMMARY = "Tool Command Language ToolKit Extension" | ||
| 2 | HOMEPAGE = "http://tcl.sourceforge.net" | ||
| 3 | SECTION = "devel/tcltk" | ||
| 4 | |||
| 5 | # http://www.tcl.tk/software/tcltk/license.html | ||
| 6 | LICENSE = "tcl" | ||
| 7 | LIC_FILES_CHKSUM = "file://../license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 8 | file://../compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 9 | file://../doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 10 | file://../library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 11 | file://../macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 12 | file://../tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 13 | file://../unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 14 | file://../win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 15 | file://../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | ||
| 16 | " | ||
| 17 | |||
| 18 | DEPENDS = "tcl virtual/libx11 libxt" | ||
| 19 | |||
| 20 | SRC_URI = "\ | ||
| 21 | ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ | ||
| 22 | file://confsearch.diff;striplevel=2 \ | ||
| 23 | file://non-linux.diff;striplevel=2 \ | ||
| 24 | file://tklibrary.diff;striplevel=2 \ | ||
| 25 | file://tkprivate.diff;striplevel=2 \ | ||
| 26 | file://fix-xft.diff \ | ||
| 27 | file://configure.use.fontconfig.with.xft.patch \ | ||
| 28 | " | ||
| 29 | SRC_URI[md5sum] = "b883a1a3c489c17413fb602a94bf54e8" | ||
| 30 | SRC_URI[sha256sum] = "5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6" | ||
| 31 | |||
| 32 | S = "${WORKDIR}/${BPN}${PV}/unix" | ||
| 33 | |||
| 34 | # Short version format: "8.6" | ||
| 35 | VER = "${@os.path.splitext(d.getVar('PV', True))[0]}" | ||
| 36 | |||
| 37 | LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" | ||
| 38 | inherit autotools | ||
| 39 | |||
| 40 | EXTRA_OECONF = "\ | ||
| 41 | --enable-threads \ | ||
| 42 | --with-x \ | ||
| 43 | --with-tcl=${STAGING_BINDIR_CROSS} \ | ||
| 44 | --libdir=${libdir} \ | ||
| 45 | " | ||
| 46 | |||
| 47 | do_install_append() { | ||
| 48 | ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0 | ||
| 49 | oe_libinstall -so libtk${VER} ${D}${libdir} | ||
| 50 | ln -sf wish${VER} ${D}${bindir}/wish | ||
| 51 | |||
| 52 | # Even after passing libdir=${libdir} at config, some incorrect dirs are still generated for the multilib build | ||
| 53 | if [ "$libdir" != "/usr/lib" ]; then | ||
| 54 | # Move files to correct library directory | ||
| 55 | mv ${D}/usr/lib/tk${VER}/* ${D}/${libdir}/tk${VER}/ | ||
| 56 | # Remove unneeded/incorrect dir ('usr/lib/') | ||
| 57 | rm -rf ${D}/usr/lib | ||
| 58 | fi | ||
| 59 | } | ||
| 60 | |||
| 61 | PACKAGECONFIG ??= "xft" | ||
| 62 | PACKAGECONFIG[xft] = "--enable-xft,--disable-xft,xft" | ||
| 63 | PACKAGECONFIG[xss] = "--enable-xss,--disable-xss,libxscrnsaver libxext" | ||
| 64 | |||
| 65 | PACKAGES =+ "${PN}-lib" | ||
| 66 | |||
| 67 | FILES_${PN}-lib = "${libdir}/libtk${VER}.so*" | ||
| 68 | FILES_${PN} += "${libdir}/tk*" | ||
| 69 | |||
| 70 | # isn't getting picked up by shlibs code | ||
| 71 | RDEPENDS_${PN} += "tk-lib" | ||
| 72 | RDEPENDS_${PN}_class-native = "" | ||
| 73 | |||
| 74 | BBCLASSEXTEND = "native" | ||
| 75 | |||
| 76 | # Fix the path in sstate | ||
| 77 | SSTATE_SCAN_FILES += "*Config.sh" | ||
diff --git a/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool.inc b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool.inc new file mode 100644 index 0000000000..7c8e341a3e --- /dev/null +++ b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool.inc | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "Vala DBus Binding Tool" | ||
| 2 | SECTION = "devel" | ||
| 3 | DEPENDS = "vala libgee libxml2 intltool-native" | ||
| 4 | HOMEPAGE = "http://wiki.freesmartphone.org/index.php/Implementations/vala-dbus-binding-tool" | ||
| 5 | LICENSE = "GPLv3" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 7 | PE = "1" | ||
| 8 | INC_PR = "r3" | ||
| 9 | |||
| 10 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" | ||
| 11 | |||
| 12 | SRC_URI = "http://downloads.freesmartphone.org/sources/${BPN}/${BP}.tar.bz2;name=archive" | ||
| 13 | |||
| 14 | inherit autotools perlnative pkgconfig | ||
| 15 | |||
| 16 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_0.4.0.bb b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_0.4.0.bb new file mode 100644 index 0000000000..3473971b2d --- /dev/null +++ b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_0.4.0.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require vala-dbus-binding-tool.inc | ||
| 2 | |||
| 3 | SRC_URI[archive.md5sum] = "b7537a087f9f468e25170e81df0ed93f" | ||
| 4 | SRC_URI[archive.sha256sum] = "6b0d3796e92b031839e2e2f484e294153ad9eaf9d32915056199a49ce8328722" | ||
diff --git a/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_git.bb b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_git.bb new file mode 100644 index 0000000000..32d2818a0b --- /dev/null +++ b/meta-oe/recipes-devtools/vala-dbus-binding-tool/vala-dbus-binding-tool_git.bb | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | require vala-dbus-binding-tool.inc | ||
| 2 | |||
| 3 | DEFAULT_PREFERENCE = "-1" | ||
| 4 | |||
| 5 | SRCREV = "53d56816a4154e3467f07bd22f4e27d166e3e3f3" | ||
| 6 | PV = "0.4.0+gitr${SRCPV}" | ||
| 7 | |||
| 8 | SRC_URI = "${FREESMARTPHONE_GIT}/vala-dbus-binding-tool.git;branch=master" | ||
| 9 | S = "${WORKDIR}/git" | ||
diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb new file mode 100644 index 0000000000..1bf538955e --- /dev/null +++ b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Yet Another JSON Library." | ||
| 2 | |||
| 3 | DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \ | ||
| 4 | written in ANSI C, and a small validating JSON generator." | ||
| 5 | |||
| 6 | HOMEPAGE = "http://lloyd.github.com/yajl/" | ||
| 7 | |||
| 8 | LICENSE = "ISC" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=39af6eb42999852bdd3ea00ad120a36d" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/lloyd/yajl" | ||
| 12 | SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit cmake lib_package | ||
| 17 | |||
| 18 | EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}" | ||
