Commit Graph

60 Commits

Author SHA1 Message Date
agnostic-apollo 571db28a3d termux_step_configure_cmake: Revert CMAKE_INSTALL_LIBDIR old behaviour changed in 2af00064
Absolute paths are still allowed in `DCMAKE_INSTALL_LIBDIR` as per https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

Different packages have different way of handling `DCMAKE_INSTALL_LIBDIR`. The `libprotobuf` is appending an absolute path to `build` directory (#10068), while `libjpeg-turbo` is not appending a relative `lib` path to `DCMAKE_INSTALL_PREFIX` and instead  appending to `build` directory and so all the lib files stay at `/home/builder/.termux-build/libjpeg-turbo/build/lib` and hence won't get added to the `deb`, which results in `openjdk-17` failing if `-i` is not passed to `build-package.sh`, since it can't find `libjpeg.so` with `-L${TERMUX_PREFIX}/lib` after compilation from source, unless `-L$TERMUX_TOPDIR/libjpeg-turbo/build/lib` is passed.

Considering that most packages would likely be considering an absolute path passed in `DCMAKE_INSTALL_LIBDIR` to actually be absolute, the default behaviour should be reverted, specially considering it is what's been working, otherwise lot of packages would need testing, like from https://github.com/termux/termux-packages/commit/9155acd040.

```
checking for which libjpeg to use... system
checking jpeglib.h usability... yes
configure: WARNING: jpeglib.h: accepted by the compiler, rejected by the preprocessor!
checking jpeglib.h presence... no
checking for jpeglib.h... yes
configure: WARNING: jpeglib.h: proceeding with the compiler's result
configure: error: --with-libjpeg=system specified, but no libjpeg found
checking for jpeg_CreateDecompress in -ljpeg... no
configure exiting with result code 1
```

```
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/libturbojpeg.so
-- Installing: /data/data/com.termux/files/usr/bin/tjbench
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/libturbojpeg.a
-- Installing: /data/data/com.termux/files/usr/include/turbojpeg.h
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/libjpeg.a
-- Installing: /data/data/com.termux/files/usr/bin/rdjpgcom
-- Installing: /data/data/com.termux/files/usr/bin/wrjpgcom
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/README.ijg
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/README.md
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/example.txt
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/tjexample.c
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/libjpeg.txt
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/structure.txt
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/usage.txt
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/wizard.txt
-- Installing: /data/data/com.termux/files/usr/share/doc/libjpeg-turbo/LICENSE.md
-- Installing: /data/data/com.termux/files/usr/share/man/man1/cjpeg.1
-- Installing: /data/data/com.termux/files/usr/share/man/man1/djpeg.1
-- Installing: /data/data/com.termux/files/usr/share/man/man1/jpegtran.1
-- Installing: /data/data/com.termux/files/usr/share/man/man1/rdjpgcom.1
-- Installing: /data/data/com.termux/files/usr/share/man/man1/wrjpgcom.1
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/pkgconfig/libjpeg.pc
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/pkgconfig/libturbojpeg.pc
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/cmake/libjpeg-turbo/libjpeg-turboConfig.cmake
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/cmake/libjpeg-turbo/libjpeg-turboConfigVersion.cmake
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/cmake/libjpeg-turbo/libjpeg-turboTargets.cmake
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/cmake/libjpeg-turbo/libjpeg-turboTargets-release.cmake
-- Installing: /data/data/com.termux/files/usr/include/jconfig.h
-- Installing: /data/data/com.termux/files/usr/include/jerror.h
-- Installing: /data/data/com.termux/files/usr/include/jmorecfg.h
-- Installing: /data/data/com.termux/files/usr/include/jpeglib.h
-- Installing: /home/builder/.termux-build/libjpeg-turbo/build/lib/libjpeg.so
-- Installing: /data/data/com.termux/files/usr/bin/cjpeg
-- Installing: /data/data/com.termux/files/usr/bin/djpeg
-- Installing: /data/data/com.termux/files/usr/bin/jpegtran
...
2022-07-28 15:27:20 +05:00
Leonid Pliushch 1014918743
libprotobuf: disable automatic updates
Cause protobuf setup scripts to be out of date.
2022-01-17 11:04:50 +02:00
Termux Github Actions 9d33cc8879 libprotobuf: update to 3.19.3
This commit has been automatically submitted by Github Actions.
2022-01-11 18:19:33 +00:00
Termux Github Actions f8c8edc537 libprotobuf: update to 3.19.2
This commit has been automatically submitted by Github Actions.
2022-01-06 00:26:23 +00:00
Termux Github Actions dac0575528 libprotobuf: update to 3.19.1
This commit has been automatically submitted by Github Actions.
2021-10-29 00:24:44 +00:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Termux Github Actions fa8cd42e13 libprotobuf: update to 3.19.0
This commit has been automatically submitted by Github Actions.
2021-10-21 00:22:46 +00:00
Termux Github Actions 9ce4c746c4 libprotobuf: update to 3.18.1
This commit has been automatically submitted by Github Actions.
2021-10-06 00:22:30 +00:00
Leonid Pliushch 27afd9e665
auto updates: migrate config from github-projects.txt to build.sh-specific
Re-enable automatic updates after deleting github-projects.txt.

%ci:no-build
2021-10-04 13:43:31 +03:00
Termux Github Actions 038600e461 libprotobuf: update to 3.18.0
This commit has been automatically submitted by Github Actions.
2021-09-15 18:24:58 +00:00
Termux Github Actions d4af11cb45 libprotobuf: update to 3.17.3
This commit has been automatically submitted by Github Actions.
2021-06-14 12:14:43 +00: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 84c46a917a
libprotobuf: update to 3.14.0 2020-12-07 23:01:02 +00:00
Leonid Pliushch 16d55adac2 libprotobuf: package has been moved to protocolbuffers/protobuf + downgrade to 3.13.0
Has to downgrade to 3.13.0 as host tools are not available for 3.13.0.1. Error:

 Downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0.1/protoc-3.13.0.1-linux-x86_64.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 curl: (22) The requested URL returned error: 404 Not Found
 Failed to download https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0.1/protoc-3.13.0.1-linux-x86_64.zip
2020-10-22 22:56:08 +03:00
Henrik Grimler a3e3611231 libprotobuf: bump revision 2020-10-18 08:26:22 +02:00
Henrik Grimler 7b9de8f241 libprotobuf: update to 3.13.0.1 2020-10-17 21:15:44 +02:00
Leonid Pliushch 15571a0d3c libprotobuf: bump revision 2020-08-21 14:09:30 +03:00
Butta b6c702b46e protobuf: update from 3.12.4 to 3.13.0 and bump libgrpc, librotobuf-c, and mosh dependent packages
parted: update from 3.2 to 3.3

rhash: update from 1.3.9 to 1.4.0

seafile-client: update from 7.0.8 to 7.0.9

sensible-utils: update from 0.0.12 to 0.0.13

util-linux: update from 2.35.2 to 2.36
2020-08-21 15:45:26 +05:30
Fredrik Fornwall 2bee455487 Rebump libprotof and users 2020-08-12 12:40:07 +02:00
Fredrik Fornwall 4c36fc447d libprotobuf: Update from 3.12.2 to 3.12.4 2020-08-12 12:07:38 +02:00
Henrik Grimler dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Leonid Pliushch a6910acef5 downgrade protobuf to 3.12.2 as 3.12.3 causes problems with mosh (and other?) 2020-06-08 14:44:57 +03:00
Henrik Grimler 6ef0e5876a Bump pending packages again
Seems previous build failed due to game-packages metadata being updated.
2020-06-07 07:24:03 +02:00
Leonid Pliushch 78e74e209d re-run build for pending packages 2020-06-07 04:04:27 +03:00
Henrik Grimler ffc346b57d Bump recently updated packages, except mksh, to restart build 2020-06-06 21:48:02 +02:00
Henrik Grimler b8c62f6e8d libprotobuf: update to 3.12.3 2020-06-06 20:38:28 +02:00
Fredrik Fornwall 38c780b18e libprotobuf: Update from 3.11.4 to 3.12.2 2020-06-02 08:34:56 +02:00
Leonid Pliushch d8fde31951 libprotobuf: update to 3.11.4 2020-02-17 15:44:59 +02:00
Leonid Pliushch 349118ad61 libprotobuf: update to 3.11.3 2020-02-04 17:30:46 +02:00
Leonid Pliushch c6abaa5b79 libprotobuf: update to 3.11.2 2019-12-21 20:49:55 +02:00
Fredrik Fornwall f317c7cf7d protobuf: Update from 3.9.1 to 3.11.1 2019-12-05 23:58:28 +01: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 826c217cc3 libprotobuf: update to 3.9.1 2019-08-11 20:03:59 +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
Leonid Pliushch 28e932bba6 libprotobuf: update to 3.9.0 2019-07-28 01:52:44 +03:00
Leonid Pliushch 39570297c8 libprotobuf: bump revision 2019-06-20 00:27:00 +03:00
Tom Yan fa7fca94dc mosh: fix unwinding 2019-05-14 17:53:00 +03:00
Fredrik Fornwall 503c204164 protobuf: Update from 3.6.1 to 3.7.1 2019-05-12 00:22:25 +02:00
Leonid Pliushch 9cedeb229f libprotobuf: bump revision after 0d1170cc 2019-05-06 19:18:12 +03:00
Leonid Pliushch 11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +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 77fd6046fc protobuf: Update from 3.6.0.1 to 3.6.1 2018-08-01 22:48:16 +02:00
Fredrik Fornwall 0b23a888c8 protobuf: Update from 3.5.2 to 3.6.0.1 2018-07-02 01:42:57 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
Fredrik Fornwall 42119def68 libprotobuf: Update from 3.5.1 to 3.5.2 2018-05-19 01:46:57 +02:00
Fredrik Fornwall 9684accd9e libprotobuf: Update from 3.5.0.1 to 3.5.1 2017-12-22 03:15:47 +01:00
Fredrik Fornwall 4f1e836086 libprotobuf: Update from 3.5.0 to 3.5.0.1 2017-12-08 09:48:52 +01:00