summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/tcltk
AgeCommit message (Collapse)AuthorFiles
2014-05-08tcl: cleanupMatthieu Crapet1
Changes: - add missing licence file: tcl - use binconfig to patch tclConfig.sh paths - avoid subshell in do_configure() - use ${PV} Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-03-25tcl: fix path in Config.sh for sstateRobert Yang1
We need fix the path in tclConfig.sh, tdbcConfig.sh and itclConfig.sh for sstate, otherwise there would be build failures when use the sstate across different builds. e.g., when building expect: [snip] tmp/sysroots/qemuarma9/usr/include/tcl8.6 checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /path/to/another/build/tmp/sysroots/qemuarma9/usr/include/tcl8.6.1 Configure failed. [snip] [YOCTO #6035] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-04tcl-native: Depend on zlib-nativeRichard Purdie1
tcl can use its internal zlib. If it detects zlib during configure, then it gets removed from the sysroot during the build (since its no in DEPENDS), it causes build failures. Worse, if the configure test fails to find zlib, it still appents -lz to the other autoconf tests meaning several fail when they shouldn't. This results in conflicts with system macros and other bizarre issues. The easiest fix is to depend on zlib-native and make things determinstic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-17tcl: fix the TCL_INCLUDE_SPECRobert Yang1
We have moved the header files to ${includedir}/tcl${VERSION}, but we didn't fix the TCL_INCLUDE_SPEC which is still ${includedir}, it should also be ${includedir}/tcl${VERSION} Note: this commit modifiey alter-includedir.patch, so it doesn't look very clear, I only fixed one line in both configure and configure.in: -eval "TCL_INCLUDE_SPEC=\"-I${includedir}\"" +eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\"" The other changes are because I use git to create the patch while the previous one uses svn. [YOCTO #5732] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-08tcl: enable ptest supportChong Lu2
Install tcl test suite and run it as ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02tcl: Fix ${bindir}/tclsh symlinkMartin Jansa1
* 8.6.1 version installs tclsh8.6 binary and tclsh symlink to tclsh${VER} (tclsh8.6.1) which doesn't exist lrwxrwxrwx 1 bitbake bitbake 12 Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh -> ./tclsh8.6.1 -rwxr-xr-x 2 bitbake bitbake 8.8K Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh8.6 * add another symlinks tclsh8.6.1 -> tclsh8.6 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton1
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-05tcl: fix tclConfig.sh to point to the correct private headersSaul Wold1
When building expect with rm_work enabled, it was not finding the correct private header files because they were removed from the WORKDIR, this fixes the tclConfig.sh to point to the sysroot private area instead. This also fixes the -L directory to point to STAGING_LIBDIR instead if INCDIR! [YOCTO #5620] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-27tcl: fix version string and make recipe multilib build compatibleNick D'Ademo1
Explicitly set libdir in EXTRA_OECONF so that the correct library folder is generated in a multilib build. The version string (VER) has been changed to 8.6.1 and the library paths have been updated accordingly so that the related tk recipe can correctly detect tcl (this search is done using the tclConfig.sh script which contains the tcl version number). Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-20tcl: Install header into 8.6 instead of PN-PV in user/includeKhem Raj7
This helps in compiling other programs like expect which depend on private headers but 8.5, 8.6 and so on is enough granularity and currently we had 8.6.x and so on which means that expect recipe will need to be touched whenever there is minor update of tcl. Additionally the encode creating symlink to shared object in patch and remove it from recipe Refresh patches after making changes to Configure.in we propertly generate configure and not patch is directly as was the case. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-26tcl: upgrade to 8.6.1Laurentiu Palcu3
Following patches were removed/refreshed: * let-DST-include-year-2099.patch - removed, fixed upstream * tcl-add-soname.patch - refreshed Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-06tcl: Add dependency on zlibMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18tcl: fix typo of upstream status in patch fileKai Kang1
Fix typo of upstream status in tcl-remove-hardcoded-install-path.patch that may cause some scripts out of work. Fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-20tcl: fix unit test boundary year issueKai Kang2
Unit test clock.test check the boundary year 2099 which is not inclusive. Include 2099 to be a valide year number. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20tcl: remove hardcoded library install pathKai Kang2
Remove hardcoded library install path and then install library to ${libdir}. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12tcl: upgraded to 8.6.0Bogdan Marinescu5
The license checksum changed because of a small correction in the license text. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-23tcl: Fix the location of the installed headersMark Hatle1
Having '${S}' in the for loop was causing the headers to be installed into the wrong location. Move the 'S' to the install line. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18tcltk: Fix for ${B} != ${S}Richard Purdie1
This change allows ${B} != ${S} builds to work since otherwise gnu-configise is executed in the wrong places and various source paths aren't correct. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07tcl: updated to version 8.5.13Bogdan Marinescu4
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)Robert Yang1
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-28tcl: Fix dangerous do_install staging referencesRichard Purdie1
Nothing should ever be poking files directly into the staging/sysroot directories, it should always go through ${D}. This patch ensures this recipe does this and hence fixes various potential build issues such as lack of sstate tracking of files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15tcl: uncomment a line that causing TCL_SRC_DIR point to the workdir.Jackie Huang1
The line 'sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh' is commented somehow in previous commit, so that TCL_SRC_DIR point to the tcl workdir which will cause package that use it fail to configure or compile when the tcl workdir is removed, so uncomment it back. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06tcl: Add ${bindir_crossscripts}/tclConfig.sh to sysroot stageJackie Huang1
tclConfig.sh is changed in do_install for cross compile and is installed to STAGING_BINDIR_CROSS, but if SSTATE_DIR is set and tcl is from sstage, tclConfig.sh can't be found in STAGING_BINDIR_CROSS, add ${bindir_crossscripts}/tclConfig.sh to sysroot stage can fix it. [YOCTO #2891] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18tcl: fix tcl INCLUDE_SPEC and LIB_SPECYao Zhao1
TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile TCL_LIB_SPEC -L${libdir} will cause problems too when link. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-30tcl: fix target recipe build issue on older distrosNitin A Kamble2
the builddir is put in front of the LD_LIBRARY_PATH, causing dynamically linking of target library with native tclsh. Fix this behavior to cross build tcl correctly. This issue got exposed when eglibc-2.15 was configured for the target. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16tcl: Fix bad RPATH QA warningRichard Purdie1
WARNING: QA Issue: tcl-lib: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl-lib/usr/lib/libtcl8.5.so contains probably-redundant RPATH /usr/lib WARNING: QA Issue: tcl: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl/usr/bin/tclsh contains probably-redundant RPATH /usr/lib WARNING: QA Issue: tcl: /work/i586-poky-linux/tcl-8.5.11-r4/packages-split/tcl/usr/bin/tclsh8.5 contains probably-redundant RPATH /usr/lib Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tcl: Ensure native verison has correct dependencies and buildsRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tcl 8.5.11: fix packaging for native versionRichard Purdie1
Fix an issue in the previous commit: ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing. by replacing ${PN}-lib with tcl-lib Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-28tcl 8.5.11: fix packagingKoen Kooi1
Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-08OECore license fixes: meta/*Elizabeth Flanagan1
This is a quick audit of only the most obviously wrong licenses found within OECore. These fixes fall into four areas: - LICENSE field had incorrect format so that the parser choked - LICENSE field has a license with no version - LICENSE field was actually incorrect - LICENSE field has an imaginary license that didn't exist This fixes most of the LICENSE warnings thrown, along with my prior commit adding additional licenses to common-licenses and additional SPDXLICENSEMAP entries. HOWEVER..... there is much to be done on the license front. For a list of recipes with licenses that need obvious fixing see: https://wiki.yoctoproject.org/wiki/License_Audit That said, I would suggest another license audit as I've found enough inconsistencies. A good suggestion is when in doubt, look at how openSuse or Gentoo or Debian license the package. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
2011-11-17tcl: upgrade from 8.5.10 to 8.5.11Nitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-24tcl: upgrade from 8.5.9 to 8.5.10Nitin A Kamble3
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-08-03tcl: Fix packaging of platform independent filesKumar Gala1
Tcl's doesn't utilize ${baselib} for platform independent files but defines it as follows: TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION) Match that so if ${baselib} is not just /lib things work properly. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-13recipes: Update upstream-status of patchesNitin A Kamble3
python: update upstream-status for patches binutils: update upstream-status for patches gcc 4.5.1 4.6.0: update upstream-status for patches autoconf: update upstream-status for patches automake: update upstream-status for patches bison: update upstream-status for patches distcc: update upstream-status of patches fstests: update upstream-status for patches gdb: update upstream-status of patches intltool: update upstream-status of patches libtool: update upstream status of patches linux-libc-headers: update upstream-status for patches make: update upstream-status for patches perl: update upstream-status for patches python-pycurl: update upstream-status for patches python-pygobject: update upstream status for patches python-pyrex: update upstream-status for patches quilt: update upstream-status of patches tcl: update upstream-status for patches gnu-config: update upstream-status for patches gmp: update upstream-status for patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-12-10tcl: Correct license checksumsDarren Hart1
Correct a typo in LIC_FILES_CHKSUM in the tcl recipe and the changed md5sums that appeared during a test build. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2010-12-06tcl: upgrade from 8.5.8 to 8.5.9Nitin A Kamble3
Rebased this patch to the newer upstream code. modified: fix_non_native_build_issue.patch Deleted following patch as the newer upstream code includes it already. deleted: tcl/mips-tclstrtod.patch tcl: update checksums Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-11-10tcltk: Fix moving libtcl8.5.so into tcl-lib.Jingdong Lu1
Move /usr/lib/libtcl8.5.so into tcl-lib package. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
2010-09-02tcl: fix from missing sys/fpu.h and undefined mipsCRSaul Wold2
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie4
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>