diff options
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk')
-rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/confsearch.diff) | 3 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff) | 4 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff) | 4 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb (renamed from meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb) | 46 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb | 101 |
5 files changed, 132 insertions, 26 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff index e13bf69b23..81d4735752 100644 --- a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff +++ b/meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff | |||
@@ -7,9 +7,8 @@ Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5 | |||
7 | and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian | 7 | and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian |
8 | installation. | 8 | installation. |
9 | 9 | ||
10 | --- | ||
11 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
12 | 11 | --- | |
13 | unix/configure | 1 + | 12 | unix/configure | 1 + |
14 | unix/tcl.m4 | 2 ++ | 13 | unix/tcl.m4 | 2 ++ |
15 | 2 files changed, 3 insertions(+) | 14 | 2 files changed, 3 insertions(+) |
diff --git a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff index fdf3c66535..c1e2f7344e 100644 --- a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff +++ b/meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff | |||
@@ -1,7 +1,7 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | --- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200 | 3 | --- a/unix/configure.in 2010-05-19 13:29:03.000000000 +0200 |
4 | +++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200 | 4 | +++ b/unix/configure.in 2010-05-19 13:42:05.000000000 +0200 |
5 | @@ -526,13 +526,9 @@ | 5 | @@ -526,13 +526,9 @@ |
6 | found_xft="yes" | 6 | found_xft="yes" |
7 | dnl make sure package configurator (xft-config or pkg-config | 7 | dnl make sure package configurator (xft-config or pkg-config |
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff index 62467af1d5..8cdcf20207 100644 --- a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff +++ b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff | |||
@@ -1,9 +1,9 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Patch by Chris Waters sets path which are normally point to a directory | 1 | Patch by Chris Waters sets path which are normally point to a directory |
4 | with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules | 2 | with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules |
5 | puts private Tk headers there). | 3 | puts private Tk headers there). |
6 | 4 | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | --- tk8.5-8.5.8.orig/unix/tkConfig.sh.in | 7 | --- tk8.5-8.5.8.orig/unix/tkConfig.sh.in |
8 | +++ tk8.5-8.5.8/unix/tkConfig.sh.in | 8 | +++ tk8.5-8.5.8/unix/tkConfig.sh.in |
9 | @@ -55,7 +55,7 @@ | 9 | @@ -55,7 +55,7 @@ |
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb b/meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb index 237c4e7389..8cb9f6cb5e 100644 --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb +++ b/meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb | |||
@@ -4,39 +4,43 @@ SECTION = "devel/tcltk" | |||
4 | 4 | ||
5 | # http://www.tcl.tk/software/tcltk/license.html | 5 | # http://www.tcl.tk/software/tcltk/license.html |
6 | LICENSE = "TCL" | 6 | LICENSE = "TCL" |
7 | LIC_FILES_CHKSUM = "file://${S}/../license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 7 | LIC_FILES_CHKSUM = "file://license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
8 | file://${S}/../compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 8 | file://compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
9 | file://${S}/../doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 9 | file://doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
10 | file://${S}/../library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 10 | file://library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
11 | file://${S}/../macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 11 | file://macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
12 | file://${S}/../tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 12 | file://tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
13 | file://${S}/../unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 13 | file://unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
14 | file://${S}/../win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 14 | file://win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
15 | file://${S}/../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 15 | file://xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
16 | " | 16 | " |
17 | 17 | ||
18 | DEPENDS = "tcl virtual/libx11 libxt" | 18 | DEPENDS = "tcl8 virtual/libx11 libxt" |
19 | 19 | ||
20 | SRC_URI = "\ | 20 | SRC_URI = "\ |
21 | ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ | 21 | ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \ |
22 | file://confsearch.diff;striplevel=2 \ | 22 | file://confsearch.diff \ |
23 | file://tkprivate.diff;striplevel=2 \ | 23 | file://tkprivate.diff \ |
24 | file://fix-xft.diff \ | 24 | file://fix-xft.diff \ |
25 | " | 25 | " |
26 | SRC_URI[md5sum] = "602a47ad9ecac7bf655ada729d140a94" | ||
27 | SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386" | ||
28 | 26 | ||
29 | S = "${WORKDIR}/${BPN}${PV}/unix" | 27 | SRC_URI[sha256sum] = "550969f35379f952b3020f3ab7b9dd5bfd11c1ef7c9b7c6a75f5c49aca793fec" |
30 | 28 | ||
31 | DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${S}/../=${TARGET_DBGSRC_DIR}/.." | 29 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/" |
30 | UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/" | ||
32 | 31 | ||
33 | PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}" | 32 | S = "${UNPACKDIR}/tk${PV}" |
34 | 33 | ||
35 | # Short version format: "8.6" | 34 | # Short version format: "8.6" |
36 | VER = "${@os.path.splitext(d.getVar('PV'))[0]}" | 35 | VER = "${@os.path.splitext(d.getVar('PV'))[0]}" |
37 | 36 | ||
38 | LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" | 37 | LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" |
38 | CFLAGS += "-I${STAGING_INCDIR}/tcl${VER}" | ||
39 | inherit autotools features_check pkgconfig | 39 | inherit autotools features_check pkgconfig |
40 | |||
41 | AUTOTOOLS_SCRIPT_PATH = "${S}/unix" | ||
42 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
43 | |||
40 | # depends on virtual/libx11 | 44 | # depends on virtual/libx11 |
41 | REQUIRED_DISTRO_FEATURES = "x11" | 45 | REQUIRED_DISTRO_FEATURES = "x11" |
42 | 46 | ||
@@ -46,7 +50,9 @@ EXTRA_OECONF = "\ | |||
46 | --with-tcl=${STAGING_BINDIR}/crossscripts \ | 50 | --with-tcl=${STAGING_BINDIR}/crossscripts \ |
47 | --libdir=${libdir} \ | 51 | --libdir=${libdir} \ |
48 | " | 52 | " |
49 | export TK_LIBRARY='${libdir}/tk${VER}' | 53 | |
54 | export TK_LIBRARY = '${libdir}/tk${VER}' | ||
55 | |||
50 | do_install:append() { | 56 | do_install:append() { |
51 | ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0 | 57 | ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0 |
52 | oe_libinstall -so libtk${VER} ${D}${libdir} | 58 | oe_libinstall -so libtk${VER} ${D}${libdir} |
@@ -68,7 +74,7 @@ FILES:${PN}-lib = "${libdir}/libtk${VER}.so*" | |||
68 | FILES:${PN} += "${libdir}/tk*" | 74 | FILES:${PN} += "${libdir}/tk*" |
69 | 75 | ||
70 | # isn't getting picked up by shlibs code | 76 | # isn't getting picked up by shlibs code |
71 | RDEPENDS:${PN} += "tk-lib" | 77 | RDEPENDS:${PN} += "tk8-lib" |
72 | RDEPENDS:${PN}:class-native = "" | 78 | RDEPENDS:${PN}:class-native = "" |
73 | 79 | ||
74 | BBCLASSEXTEND = "native nativesdk" | 80 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb b/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb new file mode 100644 index 0000000000..504b40927e --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb | |||
@@ -0,0 +1,101 @@ | |||
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 zip-native" | ||
19 | |||
20 | SRC_URI = "\ | ||
21 | ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ | ||
22 | " | ||
23 | SRC_URI[sha256sum] = "d6f01a4d598bfc6398be9584e1bab828c907b0758db4bbb351a1429106aec527" | ||
24 | |||
25 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/" | ||
26 | UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/" | ||
27 | |||
28 | S = "${UNPACKDIR}/${BPN}${PV}" | ||
29 | |||
30 | # Short version format: "8.6" | ||
31 | VER = "${@os.path.splitext(d.getVar('PV'))[0]}" | ||
32 | |||
33 | LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" | ||
34 | |||
35 | inherit autotools features_check pkgconfig | ||
36 | |||
37 | AUTOTOOLS_SCRIPT_PATH = "${S}/unix" | ||
38 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
39 | |||
40 | # depends on virtual/libx11 | ||
41 | REQUIRED_DISTRO_FEATURES = "x11" | ||
42 | |||
43 | EXTRA_OECONF = "\ | ||
44 | --with-x \ | ||
45 | --with-tcl=${STAGING_BINDIR}/crossscripts \ | ||
46 | --libdir=${libdir} \ | ||
47 | " | ||
48 | |||
49 | export TK_LIBRARY = '${libdir}/tk${VER}' | ||
50 | |||
51 | do_install:append() { | ||
52 | ln -sf wish${VER} ${D}${bindir}/wish | ||
53 | |||
54 | sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh | ||
55 | sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh | ||
56 | install -d ${D}${bindir_crossscripts} | ||
57 | install -m 0755 tkConfig.sh ${D}${bindir_crossscripts} | ||
58 | } | ||
59 | |||
60 | PACKAGECONFIG ??= "xft" | ||
61 | PACKAGECONFIG[xft] = "--enable-xft,--disable-xft,xft" | ||
62 | PACKAGECONFIG[xss] = "--enable-xss,--disable-xss,libxscrnsaver libxext" | ||
63 | |||
64 | PACKAGES =+ "${PN}-lib" | ||
65 | |||
66 | SOLIBS = ".so" | ||
67 | FILES_SOLIBSDEV = "" | ||
68 | |||
69 | FILES:${PN}-lib = "${libdir}/libtcl9tk${VER}.so*" | ||
70 | FILES:${PN} += "${libdir}/tk*" | ||
71 | |||
72 | # isn't getting picked up by shlibs code | ||
73 | RDEPENDS:${PN} += "tk-lib" | ||
74 | RDEPENDS:${PN}:class-native = "" | ||
75 | |||
76 | BBCLASSEXTEND = "native nativesdk" | ||
77 | |||
78 | # Fix the path in sstate | ||
79 | SSTATE_SCAN_FILES += "*Config.sh" | ||
80 | |||
81 | inherit binconfig | ||
82 | |||
83 | SYSROOT_DIRS += "${bindir_crossscripts}" | ||
84 | |||
85 | # Fix some paths that might be used by Tcl extensions | ||
86 | BINCONFIG_GLOB = "*Config.sh" | ||
87 | |||
88 | # Cleanup host path from ${libdir}/tclConfig.sh and remove the | ||
89 | # ${bindir_crossscripts}/tclConfig.sh from target | ||
90 | PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess" | ||
91 | tcl_package_preprocess() { | ||
92 | sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \ | ||
93 | -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \ | ||
94 | -e "s;${STAGING_INCDIR};${includedir};g" \ | ||
95 | -e "s;--sysroot=${RECIPE_SYSROOT};;g" \ | ||
96 | -e "s;${B};${libdir};g" \ | ||
97 | -e "s;${WORKDIR};${TARGET_DBGSRC_DIR};g" \ | ||
98 | ${PKGD}${libdir}/tkConfig.sh | ||
99 | |||
100 | rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh | ||
101 | } | ||