summaryrefslogtreecommitdiff
path: root/package/perl
AgeCommit message (Collapse)Author
2017-01-23perl: bump to version 5.24.1Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-18perl: fix static build with gdbm + gettextFrancois Perrad
see http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-06package/perl: change tarball compression to xzJerzy Grzegorek
Also update hash file. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-04perl-cross: bump to version 1.1.2Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-04perl: bump to version 5.24.0Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-10-29perl: use $(HOST_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-29perl: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-26perl: update cnf/config.{sub, guess} using autotools hookErico Nunes
perl may fail to build on newer host architectures such as aarch64 due to its inability to guess the host architecture to build 'miniperl', which is built during the process. An error message looks like this: Configuring build-time miniperl for unknown ERROR: No $target defined (?!) ERROR: configure --mode=buildmini failed This happens because the config.sub and config.guess files from perl are not modified and may become outdated. These files are normally updated automatically by a Buildroot hook for autotools packages, to avoid problems like these. Although perl uses the config.sub and config.guess files, it is not a strict autotools package, so it is not defined as an "autotools-package" in Buildroot and so it doesn't inherit the hook. This commit makes perl borrow the hook from the autotools infrastructure so that it can build on newer build architectures. This has been tested by building it on an aarch64 host machine. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-04Revert "package/perl: bump version to 5.24.0"Thomas Petazzoni
This reverts commit e1a4b820fff98cd5ba9ba12c4e7605496e7793b9. As explained by François Perrad: """ perl-cross 1.1.0 is not mature (11 issues opened on september), it is a full refactor, there are already 19 commits after this tag. I never bump a perl version 5.x.0, I always wait the version 5.x.1 If you really need a perl 5.24.0, cross-compiled it with perl-5.24.0-cross-1.0.3. When I bump a perl version, I run on target the full Perl test suite (~ 800 000 tests), and failures are not expected. With cross-perl 1.0.3 and 1.1.0 tags, there have failures described in https://github.com/arsv/perl-cross/issues/33 """ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-03package/perl: bump version to 5.24.0Bernd Kuhls
perl-cross has a new version scheme since 1.1.0: https://github.com/arsv/perl-cross/releases perl does not contain a version-specific perldelta.pod anymore: https://rt.perl.org/Public/Bug/Display.html?id=129328#txn-1424561 Therefore PERL_CROSS_SET_POD was changed accordingly. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05packages: use the <PKG>_TARGET_FINALIZE_HOOKSYann E. MORIN
Register package-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS. This incidentally fixes luarocks, which was registering target-finalize hooks even when it was not enabled. To be noted, the skeleton package is not converted, because it is not optional, we always have it; so its hooks would always be registered anyway. Besides, the followup patches would render this conversion moot anyway, since those hooks would be spread across the various skeleton packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05package/perl: use dummy hostnameYann E. MORIN
The hostname does not look like it serves any useful purpose, except maybe to set set perladmin email. Which is undoubtfully useless on the target. A followup commit will make the hostname depend on the default skeleton, so it won't always be available. We can not rely on it to be set. Besides, even today it is not guaranteed to be set; a user may well leave it empty. Use a dummy hostname. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-04scancpan: improve message when bad host perl versionFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: - add comment in scancpan about the version dependency, suggested by Yann E. Morin. - add comment in perl.mk about the need to sync any version change with scancpan, also suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03perl: remove empty host dependencies definitionJulien Floret
Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-30perl: bump to version 5.22.2Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-01-12perl: bump to version 5.22.1Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-11-03perl-cross: bump to version 1.0.1Francois Perrad
all patches merged Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-30host-perl: fix patchingFrancois Perrad
see http://autobuild.buildroot.net/results/c8e/c8e6bbe50ca71835bdde9503a9fe23ace8236a09/ the newest patches are against perl-cross, so we need to extract perl-cross in the host-perl case. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-27perl: fetch lastest upstream patches from perl-crossFrancois Perrad
my previous patch about static build (0001-fix-EUMM.patch) was not the good fix. see discussion: http://github.com/arsv/perl-cross/issues/18 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-04perl: Remove ccache handlingArnout Vandecappelle
Now the ccache handling has moved to the toolchain wrapper, it is no longer necessary to pass TARGET_CC_NOCCACHE. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-13perl: fix static buildFrancois Perrad
see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-06perl: bump to version 5.22.0Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-21perl: only run finalize hook when necessaryDanomi Manchego
The PERL_FINALIZE_TARGET always runs, even if perl is not installed. This results in errors from the find command when it fails to find anything, even when doing "make -s": >>> Finalizing target directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory This is not helpful for projects that do not select Perl. Silence this by making the hook conditional on package selection. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-12packages: do not use TAR_STRIP_COMPONENTS, but directly --strip-componentsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-29perl-cross: bump to version 0.9.7Francois Perrad
fix some build failures, see https://github.com/arsv/perl-cross/issues/17 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-23package/perl: Fix typos in HOSTCC specificationAlbert Lee
Signed-off-by: Albert Lee <trisk@omniti.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-04-22packages: remove non-IPv6 enabler patchesGustavo Zacarias
These are no longer required so remove them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-01packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias
Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-30perl: use <pkg>_EXTRA_DOWNLOADSThomas Petazzoni
Instead of manually using the DOWNLOAD macro (which should remain an internal macro), this commit converts the Perl package to use <pkg>_EXTRA_DOWNLOADS, now that it has been extended to allow full URLs. [Thomas: as suggested by Yann, keep comment explaining how we handle perl-cross.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-03-08perl-cross: bump to version 0.9.6Francois Perrad
this release contains a fix for yacc/bison issue, see http://github.com/arsv/perl-cross/issues/13 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-04perl: fix build caused by bison generated codeFrancois Perrad
This commit makes sure the date of a C file is newer than the date of the corresponding Bison source file, so that the build process doesn't try to regenerate it. This avoids the need to have host-bison as a dependency for the perl build. Fixes: http://autobuild.buildroot.net/results/1c2/1c261b09f5a4a314d5dcbc1e5811af9c7d18658a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-19perl: bump to version 5.20.2Francois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-08perl: remove poisoned path from dynaloader hintsAlex Suykov
Fixes http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/ http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03package/*: rename patches according to the new policyPeter Korsgaard
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-31perl: add hash for the perl-cross fileFabio Porcedda
Fix: WARNING: No hash found for perl-5.20.1-cross-0.9.4.tar.gz Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-11Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-11-18perl-cross: bump to version 0.9.4Francois Perrad
this release fixes the build when BR2_PREFER_STATIC_LIB see http://autobuild.buildroot.net/results/057/057a4b9976fd6b9c5cddd117a3f29de51efe719f/build-end.log see https://github.com/arsv/perl-cross/issues/11 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-25package: indentation cleanupJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-20host-perl: fix dependenciesFrancois Perrad
see autobuilder http://autobuild.buildroot.net/results/5557b262bfc344700ed04563a40f10bc2a23eb31/ http://autobuild.buildroot.net/results/8b22b950ba9d1635991a97e477ad5268f08b4004/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-17perl-cross: bump to version 0.9.3Francois Perrad
this version fixes the issue with big endian, see https://github.com/arsv/perl-cross/issues/10 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-17perl: remove useless hacksFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-17perl: add host variantFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-07.mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire
The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-05perl: fix build on big endian archFrancois Perrad
see http://autobuild.buildroot.org/results/3a1/3a1c2f0bc802d3cec26ffd4ded8f5c04473a3d4b/build-end.log Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-02perl: bump to version 5.20.1Francois Perrad
[Peter: squash 'add hash' patch into it] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-21perl: fix build of native modulesFrancois Perrad
CORE/vutil.h is required when the host perl version is 5.20 see http://autobuild.buildroot.net/results/c3d/c3d48c3b3d6c1e616d8e20a2f65d8ba33abe61da/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-11perl: fix warnings at runtimeFrancois Perrad
autosplit.ix files are used by AutoLoader.pm Can't locate auto/Net/SSLeay/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.2/arm-linux /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/5.18.2/arm-linux /usr/lib/perl5/5.18.2 .) at /usr/lib/perl5/5.18.2/AutoLoader.pm line 181. at /usr/lib/perl5/site_perl/5.18.2/arm-linux/Net/SSLeay.pm line 24. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-29perl: refactor with TARGET_FINALIZE_HOOKSFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-28perl: handle BR2_PREFER_STATIC_LIBFrancois Perrad
[Thomas: fix commit title, use one line for both CONF_OPT options.] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>