Commit Graph

83 Commits

Author SHA1 Message Date
Kevin Williams a6c530b860 libprotobuf: Bump to 25.1
Signed-off-by: Kevin Williams <admin@utermux.dev>

Co-authored-by: Twaik Yont <twaikyont@gmail.com>
Co-Authored-By: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2023-12-24 22:25:26 +08:00
Chongyun Lee 94fe9814e9 aapt: Fix compile error
Closes #18349
2023-10-29 14:04:42 +08:00
Jia Yuan Lo 32689bfc7e
revbump(main,x11): libprotobuf update (#18296) 2023-10-19 07:46:42 +08:00
Leonid Pliushch d5c7becd7e
rebuild(main/aapt): after abseil-cpp and libprotobuf 2023-09-27 19:18:51 +03:00
Twaik Yont f68b051f54
rebuild(main/aapt): rebuild after bumping abseil-cpp 2023-09-27 16:15:02 +03:00
Chongyun Lee 29b826d63e aapt: revbump to rebuild
due to soname change in googletest
2023-08-03 09:04:42 +05:30
Tee KOBAYASHI 93912302ca aapt: Revbump to rebuild
due to SONAME change in libexpat.
2023-07-02 21:51:10 +09:00
Tee KOBAYASHI f3a7581b5e libprotobuf: Bump to 22.4 2023-05-06 13:50:16 +09:00
Tee KOBAYASHI 02e95796c2 libprotobuf: Bump to 22.1 2023-03-09 12:04:27 +00:00
Tee KOBAYASHI d4382a6b81 {,lib}protobuf: Revbump revdeps to rebuild 2023-02-19 10:28:34 +00:00
Tee KOBAYASHI c77d46b2f6 aapt: Fix underlinking 2023-01-18 06:21:48 +00:00
Tee KOBAYASHI b355119cbb aapt: Bump to 13.0.0.6 2022-09-29 07:59:30 +09:00
Tee KOBAYASHI 4798102f60 aapt: Remove host build of Bison
Ubuntu 22.04 has a working version.
2022-09-29 07:59:30 +09:00
JacobTDC 458a539a81 Rebuild aapt/aapt2 for libprotobuf 2:3.21.5 2022-09-02 13:38:30 +08:00
Henrik Grimler b281bc2145
rebuild(deps:libc++): bump termux-main packages that depend on libc++
All except libllvm, rust, rustc-nightly, openfoam and libdispatch,
those packages will be handled separately.
2022-08-13 12:21:20 +02:00
agnostic-apollo f743005751 fix(build-package.sh): Localize and do not use variables defined in `termux_step_host_build` in other functions
The `termux_step_host_build` runs only the first time package is built for its specific version, based on `TERMUX_HOSTBUILD_MARKER` in `termux_step_handle_hostbuild`. If `build-package.sh` is run twice, then second time, variables defined in `termux_step_host_build` won't be set in later functions since its not called, like `_PREFIX_FOR_BUILD` in `aapt/build.sh` would be unset inside `termux_step_pre_configure`, resulting in unbound variable error.

Even `termux_step_pre_configure` may not always run, depending on `$TERMUX_CONTINUE_BUILD`, so build scripts should not share variables between functions and redefine them again where necessary.

Also `_PREFIX_FOR_BUILD` should use a standard path `$TERMUX_PKG_HOSTBUILD_DIR/prefix` and not others like `$TERMUX_PKG_HOSTBUILD_DIR/_prefix`. Some build scripts use `$TERMUX_PKG_HOSTBUILD_DIR/src` for other stuff, so best use `prefix` sub directory.
2022-07-28 15:27:20 +05:00
Henrik Grimler 939d9c52b7 chore(main/aapt): do not use $_PREFIX_FOR_BUILD in pre_configure
The variable will be unset if termux_step_host_build is not run, which
is the case in repeated local builds.

%ci:no-build
2022-07-22 16:38:44 +02:00
Tee KOBAYASHI ee6a1d675b aapt: Use 'platforms;android-32' 2022-03-13 08:30:29 +09:00
Tee KOBAYASHI 715ce90c53 aapt: Fix inappropriate use after `std::move()`
* Specify `-DNDEBUG`
2022-02-12 20:10:57 +09:00
marcusz a622b738b8 aapt, aidl: depend on googletest package 2022-02-08 12:45:02 +09:00
Tee KOBAYASHI 57c85cf5d2 aapt: Update to 12.0.0.27 2022-02-08 10:26:57 +09:00
Tee KOBAYASHI 9b0a99a4d4 aapt: Update to 11.0.0.48 2022-02-07 11:38:05 +09:00
Tee KOBAYASHI eb3ebc715a aapt: Include aidl
as a subpackage.
2022-02-06 18:06:23 +09:00
Tee KOBAYASHI 32dadeb22f aapt: Update to 8.1.0.81 2022-02-06 18:06:23 +09:00
Tee KOBAYASHI 74f15f607a aapt: Include aapt2
as a subpackage.
2022-02-03 08:05:08 +09:00
Tee KOBAYASHI c2eb93ac13 aapt: Add necessary `-fPIC`
as a follow-up of commit 653a110ddb.
2021-12-29 08:26:45 +02:00
Henrik Grimler df86bb85e5 aapt: bump revision 2021-10-23 09:26:45 +02:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Henrik Grimler e410863adc aapt: fix build with ndk-r23
As we have seen [1], i686 seem to explicitly need -fPIC.  Pass
CPPFLAGS in more places when building aapt, to avoid an error like:

ld: error: relocation R_386_PC32 cannot be used against symbol config_free; recompile with -fPIC
>>> defined in /tmp/config_utils-70060d.o
>>> referenced by config_utils.c
>>>               /tmp/config_utils-70060d.o:(config_free)

[1] https://github.com/termux/termux-packages/issues/7215#issuecomment-906154438
2021-10-22 23:05:45 +02:00
Henrik Grimler 2a6eaf824f aapt: bump to rebuild
Package on repo has another revision.
2021-06-26 22:46:53 +02:00
Yaksh Bariya 3ff91e45e6 `aapt`: Revise version to force rebuild 2021-06-24 12:00:29 +03:00
Lucy Phipps b48c36333b
Revert "aapt: update to 7.1.2.39"
This reverts commit 51ded61030.
2021-02-22 15:15:59 +00:00
Lucy Phipps 51ded61030
aapt: update to 7.1.2.39 2021-02-22 14:58:34 +00:00
Henrik Grimler 742d86b568 Remove _FORTIFY_SOURCE workaround for some pkgs for debug builds
Not necessary after __USE_FORTIFY_LEVEL is set. No need to rebuild any
packages for this though:
%ci:no-build
2021-02-03 16:57:21 +01: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
Leonid Pliushch c757f6cbc6 aapt: bump revision 2020-08-01 02:29:13 +03:00
Henrik Grimler 325c152a3f aapt: bump to rebuild 2020-07-09 18:23:33 +02:00
Henrik Grimler 37ea624f96 aapt: bump again to build with new docker image 2020-07-09 16:03:38 +02:00
Henrik Grimler 70dec97ce7 aapt: bump to rebuild 2020-07-09 13:54:07 +02:00
its-pointless 5c1249295f fix aapt build 2020-07-09 13:51:35 +02:00
Leonid Pliushch 8701462951 add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.

To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
2019-08-14 14:27:55 +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 a99e5a1dc1 aapt: bump revision 2019-06-19 21:12:28 +03:00
Leonid Pliushch 153669ae6c aapt: use https for homepage 2019-05-15 02:37:52 +03:00
Leonid Pliushch e17f5f69b5 aapt: fix compilation error after adding own zlib 2019-04-14 20:05:50 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Fredrik Fornwall f24dca7956 aapt: Respect LDFLAGS more
This fixes DT_RUNPATH (see #3490).
2019-03-10 23:42:51 +01:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Wetitpig 13cec16263 Spaces to tabs 2019-02-09 21:06:31 +02:00