Commit Graph

63 Commits

Author SHA1 Message Date
Yaksh Bariya
2b8b24fe09 perl: Do not unset AR for global scope 2021-11-21 17:58:52 +05:30
xtkoba
77bce9623a perl: Use thread support 2021-11-21 17:58:52 +05:30
Henrik Grimler
9b0735b7ce
Revert "perl: add -pie flag when compiling perl modules on arm and i686"
After clang symlinks were fixed in f32b2c0e7e ("libllvm: replace
arm-linux-androideabi-clang symlink with wrapper") this should no
longer be an issue for perl, -pie is automatically added when we
target armv7a and api level >= 21.

This reverts commit 93fca0f5c3.
2021-10-26 11:33:15 +02:00
Henrik Grimler
a118b17124 perl: specify AR to fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Lucy Phipps
52fcf6d530
new package: subversion-perl 2021-08-21 16:12:02 +01:00
Lucy Phipps
b9a3b00d10
new package: libregexp-assemble-perl 2021-07-07 20:19:03 +01:00
Lucy Phipps
991fa41252
new packages: apt-file, libapt-pkg-perl 2021-07-07 01:57:16 +01:00
Lucy Phipps
d6cbbe2ff1
perl: update to 5.34.0 2021-07-06 16:40:33 +01:00
Henrik Grimler
93fca0f5c3 perl: add -pie flag when compiling perl modules on arm and i686
Before, trying to compile some perl modules on arm fails with an
error like

t/01-simple.t ..... 5/7 "./add": error: Android 5.0 and later only support position-independent executables (-fPIE).

No idea why it occurs on arm but not on aarch64 or x86_64. Error
should probably be fixed properly elsewhere in perl's source code, but
let's go for this easy fix for now. Adding -pie here also introduces
warnings when building perl packages on device due to clang -E not
recognizing it, but at least they compile..

Tested on lineage-18.1 arm tablet.
2021-07-04 21:46:28 +02:00
Henrik Grimler
c7443b67fe perl: dont pass linker flags to clang -E
I.e. preprocessor mode. This silences warning messages both when
cross-compiling perl and when compiling perl packages on device.

Note that the main perl binary ends up with RUNPATH set to
$PREFIX/lib/perl5/5.32.1/arm-android/CORE, instead of $PREFIX/lib
_and_ $PREFIX/lib/perl5/5.32.1/arm-android/CORE.  perl only links
against the standard libraries and libperl.so though, and the latter
is in $PREFIX/lib/perl5/5.32.1/arm-android/CORE so there should be no
need to add $PREFIX/lib to RUNPATH (unless I am missing something).

Tested by running perl and installing some perl modules on an arm
tablet,
2021-07-04 21:38:43 +02:00
Leonid Pliushch
b329e2c0d5
perl: update to 5.32.1 2021-02-08 17:48:25 +02:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Henrik Grimler
7c74bf9726 Rename termux_step_post_extract_package->termux_step_post_get_source 2020-07-21 10:14:19 +02:00
Leonid Pliushch
a4fab11a39 perl: bump revision 2020-07-09 01:45:27 +03:00
Leonid Pliushch
0229bc5b38 perl: remove Cwd.pm.patch 2020-07-09 01:44:36 +03:00
Henrik Grimler
6a7a1cf7cc perl: update to 5.32.0 2020-07-04 10:36:52 +02:00
Leonid Pliushch
557d58e1ce rebuild exiftool & irssi 2020-06-13 12:05:07 +03:00
Leonid Pliushch
ef48a3cd60 perl: fix syntax error in build.sh 2020-06-07 03:41:32 +03:00
Henrik Grimler
ffc346b57d Bump recently updated packages, except mksh, to restart build 2020-06-06 21:48:02 +02:00
Henrik Grimler
25f82e5778 perl: update to 5.30.3 2020-06-06 20:38:29 +02:00
Henrik Grimler
38227f42d6 Update various packages (#5114)
* cpio: update to 2.13

* gmic: update to 2.9.0

* ffsend: update to 0.2.59

* libgrpc: update to 1.28.0

* librsvg: update to 2.48.2

* perl: update to 5.30.2

* ruby: update to 2.7.1

* ripgrep: update to 12.0.1

* repology/excluded_packages: ignore aircrack-ng and guile18

* mpd: update to 0.21.22
2020-04-04 03:49:59 +02:00
Leonid Pliushch
288ec2029a perl: fix perlio.c.patch
See issue https://github.com/termux/termux-packages/issues/4738.
2020-01-04 01:39:40 +02:00
Leonid Pliushch
78753592c7 perl: update to 5.30.1 2019-12-21 20:49:55 +02:00
Leonid Pliushch
be6b7c30a8 perl: replace hardcoded prefix path with variable in build.sh 2019-09-20 00:44:47 +03:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Fredrik Fornwall
475456104e perl: Update from 5.28.2 to 5.30.0 2019-06-09 19:43:24 +02:00
Henrik Grimler
eb5f59aa0e perl: fix default libpath
Makes it easier to install cpan modules
2019-05-17 21:42:07 +02:00
Fredrik Fornwall
07b64c55e4 perl: Update from 5.28.1 to 5.28.2 2019-04-22 18:22:04 +02:00
Leonid Pliushch
1b7c4a5f80 perl: force-enable DT_RUNPATH 2019-03-24 21:27:53 +02:00
Wetitpig
d50c847f11 Shell script compliance 2019-02-15 18:01:09 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
28b91acbdf perl: Update from 5.28.0 to 5.28.1 2018-12-09 23:11:18 +01:00
Fredrik Fornwall
161259f190 perl: Build with -Dosname=android 2018-09-22 03:11:38 +02:00
Fredrik Fornwall
3cdea45b3a perl: Adopt to -linux folder names (was: -android)
The ndk r18 update caused this. We still need to find out if this is ok
or causes any issues.
2018-09-20 02:03:19 +02:00
Fredrik Fornwall
8bca499af5 perl: Update from 5.26.2 to 5.28.0 2018-09-17 18:52:13 +02:00
Leonid Pliushch
576a2e05bc perl: fix tmpdir path in 'libperl.so' 2018-06-20 10:45:26 +02:00
Henrik Grimler
71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
Fredrik Fornwall
fff0d4a41d perl: Update from 5.26.1 to 5.26.2 2018-04-22 22:04:23 +02:00
Fredrik Fornwall
ff58b27ce0 perl: Update from 5.26.0 to 5.26.1 2017-10-02 11:00:31 +02:00
Fredrik Fornwall
7c481d0da6 perl: Fix building with unified headers 2017-06-28 11:49:23 +02:00
Fredrik Fornwall
ecff2cea84 perl: Update from 5.24.1 to 5.26.0 2017-06-12 02:55:48 +02:00
Fredrik Fornwall
0e2bd86d00 perl: Bump build revision after patch added 2017-03-08 18:32:40 +01:00
rnauber
d415b125a8 Enable texlive (#752) 2017-03-08 17:41:26 +01:00
Fredrik Fornwall
cba558f6fe perl: Update perl-cross from 1.1.3 to 1.1.4 2017-02-24 21:12:49 +01:00
its-pointless
a7d4cb0351 fixes the config so cpan works on install. (#789)
* fixes the config so cpan works on install.

* fix so it actually works..
2017-02-24 20:46:47 +01:00
Fredrik Fornwall
84a0ee4ca5 perl: Update from 5.24.0 to 5.24.1 2017-01-28 15:50:49 +01:00
Fredrik Fornwall
a0e9a6368f perl: Cleanup build (fixes #669) 2017-01-19 10:16:52 +01:00