termux / science-packages Goto Github PK
View Code? Open in Web Editor NEWScience packages for Termux
License: Other
Science packages for Termux
License: Other
Package description
Describe what this package do and why it should be available.
Link to home page and sources
Additional information
Have you compiled or tried to compile the package on device?
It would be great if the Spatialite library was packaged for termux. gdal is already packaged, but since spatialite is missing, it is compiled without Spatialite support, so it would be great if, once there is a Spatialite package, if the gdal package could also be compiled with Spatialite support.
Not every package request can be fulfilled. Our repository is big enough to imply some issues with maintaining and hosting.
Additional information
Have you compiled or tried to compile the package on device?
No, my use case is to use it with gdal, which is already a termux package.
Problem description
$ orterun --help
Bad system call
Strace:
rt_tgsigqueueinfo(2019, 2019, SIGSYS, {si_signo=SIGSYS, si_code=SYS_SECCOMP, si_call_addr=0x7bdf96b240, si_syscall=__NR_shmget, si_arch=AUDIT_ARCH_AARCH64}) = 0
Seems like it tries to use shmget() from kernel which is not possible without root on Android. Maybe it should link with libandroid-shmem ?
I have libreadline.so.8 installed, but gnucap ask for the older version.
Output of termux-info:
Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages-21 x11/main
https://dl.bintray.com/grimler/science-packages-21 science/stable
https://dl.bintray.com/grimler/termux-root-packages-21 root/stable
https://its-pointless.github.io/files termux/extras
https://its-pointless.github.io/files termux/extras
https://dl.bintray.com/grimler/game-packages-21 games/stable
https://termux.net stable/main
https://termux.net stable/main
System information:
Linux localhost 3.18.14-15071035-QB23093188 #1 SMP PREEMPT Mon Apr 8 23:23:33 KST 2019 armv8l Android
Termux-packages arch:
arm
Android version:
8.0.0
Device manufacturer:
samsung
Device model:
SM-J400M
Continuation of #50.
Problem description
Trying to compile a tex file with lualatex, or just generating the lualatex format file, fails with something like
fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by FILE* 0x79ede74418
on android 11 (reported by @panbroggi).
Steps to reproduce
Run lualatex test.tex
on some minimal test.tex file, or run luahbtex -ini -jobname=lualatex -progname=lualatex lualatex.ini
(which should generate the format file).
Expected behavior
lualatex format file should be generated (if it does not exist) and then the file should be compiled to a pdf.
Additional information
Installing a debug build of texlive-bin and then running
gdb -ex r --args luahbtex -ini -jobname=lualatex -progname=lualatex lualatex.ini
gives this backtrace:
[...]
\font\g__regex_submatch_prev_intarray=cmr10 at 0.00012pt
\font\g__regex_submatch_begin_intarray=cmr10 at 0.00014pt
\font\g__regex_submatch_end_intarray=cmr10 at 0.00015pt
fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by FILE* 0xb6a1c00c
Program received signal SIGABRT, Aborted.
0xb6a939e8 in fdsan_error(char const*, ...) () from /apex/com.android.runtime/lib/bionic/libc.so
(gdb) bt
#0 0xb6a939e8 in fdsan_error(char const*, ...) () from /apex/com.android.runtime/lib/bionic/libc.so
#1 0xb6a936fe in android_fdsan_close_with_tag () from /apex/com.android.runtime/lib/bionic/libc.so
#2 0xb6a93d6e in close () from /apex/com.android.runtime/lib/bionic/libc.so
#3 0xb655a8f4 in gzclose_w () from /data/data/com.termux/files/usr/lib/libz.so.1.2.11
#4 0x7f627526 in store_fmt_file () at /home/builder/.termux-build/texlive-bin/src/texk/web2c/luatexdir/tex/dumpdata.c:324
#5 0x7f6336bc in main_body () at /home/builder/.termux-build/texlive-bin/src/texk/web2c/luatexdir/tex/mainbody.c:580
#6 0x7f5c9516 in main (ac=<optimized out>, av=<optimized out>) at /home/builder/.termux-build/texlive-bin/src/texk/web2c/luatexdir/luatex.c:609
lualatex's source consists of c-files so should be easier to add the disable fdsan patch compared to for pdflatex
Package description
The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library.
GLPK supports the GNU MathProg modeling language, which is a subset of the AMPL language.
The GLPK package includes the following main components:
primal and dual simplex methods
primal-dual interior-point method
branch-and-cut method
translator for GNU MathProg
application program interface (API)
stand-alone LP/MIP solver
Link to home page and sources
Problem description
mosh worked fine on Android 10, but no longer works.
Error message:
fdsan: attempted to close file descriptor 11, expected to be unowned, actually owned by FILE* 0x7d642414b8
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).
Likely related to: https://developer.android.com/about/versions/11/behavior-changes-all
Steps to reproduce
pkg install mosh
mosh user@hostname
Expected behavior
Run without issue
Additional information
Migrated from: termux/termux-packages#5790
Problem description
Hello,
this is a fresh install of termux on a Pixel 4 with the current Android 11 beta 3 / release candidate.
After installing texlive-full I tried running pdflatex on a document created on the same phone before doing the update to beta 3 (from Android 10).
The result ends in
fdsan: attempted to close file descriptor 3, expected to be unowned, actually owned by FILE* 0x773f6a14b8
mktexfmt [INFO]: log file copied to: /data/data/com.termux/files/home/.texlive2020/texmf-var/web2c/pdftex/pdflatex.log
mktexfmt [ERROR]: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini >&2 </dev/null' return status: 0.0234375
mktexfmt [ERROR]: returning error due to option --strict
mktexfmt [INFO]: disabled formats: 19
mktexfmt [INFO]: not selected formats: 40
mktexfmt [INFO]: failed to build: 1 (pdftex/pdflatex)
mktexfmt [INFO]: total formats: 60
mktexfmt [INFO]: exiting with status 1
I can't find the format file `pdflatex.fmt'!
Steps to reproduce
Expected behavior
I expected to run pdflatex on a syntactically correct .tex-file without error, resulting in a .pdf-file.
Additional information
[u0_a359@localhost]-[~] termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://dl.bintray.com/termux/termux-packages-24/ stable main
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
Updatable packages:
All packages up to date
Android version:
11
Kernel build information:
Linux localhost 4.14.180-g051355490483-ab6669324 #1 SMP PREEMPT Fri Jul 10 09:40 :47 UTC 2020 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 4 XL
Please find the content of /data/data/com.termux/files/home/.texlive2020/texmf-var/web2c/pdftex/pdflatex.log attached as advised in https://www.reddit.com/r/termux/comments/ib8j7z/pdflatex_not_working_on/
Problem description
The builds of gnucap, mapserver, proj
don't create static libraries, meaning that pkg-static
isn't created.
Steps to reproduce
Build one of these packages with ./build-package.sh -i {pkg}
Expected behavior
Static libraries should be built and packaged in pkg-static
.
Additional information
http://tomcat.apache.org/native-doc/
Edit: Link correction
Problem description
I have installed with Termux 1.04 texlive-full
successfully on my tablet. I uninstalled Termux and reinstalled 1.07.
pkg install texlive-full
installs successfully all packages.
Running the command pdftex
returns
The program pdftex is not installed. Install it by execturing:
pkg install texlive-bin
Running the above mentioned command installs 0 packages and nothing is changed.
Expected behavior
After installation I would like to run the commands. But somehow they are not available.
Additional information
By "ogr2ogr --formats" I see that this GDAL version doesn't support PostgreSQL format.
Package description
PostGIS is an extension to PostgreSQL to do geospatial queries. I would like to use it for a project involving doing a mass import into OpenStreetMap.
Link to home page and sources
Additional information
Have you compiled or tried to compile the package on device?
No
Running apt install on Pixel 5, Android 11, using app version 0.101 results in
$ pkg install openssh
Testing the available mirrors:
[] https://dl.bintray.com/termux/termux-packages-24: bad
[] https://grimler.se/termux-packages-24: ok
[] https://main.termux-mirror.ml: ok
[] https://termux.mentality.rip/termux-packages-24: ok
Picking mirror: https://termux.mentality.rip/termux-packages-24
Get:1 https://termux.mentality.rip/termux-packages-24 stable InRelease [13.1 kB]
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Ign:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Err:4 https://dl.bintray.com/grimler/game-packages-24 games Release
403 Forbidden
Err:5 https://dl.bintray.com/grimler/science-packages-24 science Release
403 Forbidden
Get:6 https://termux.mentality.rip/termux-packages-24 stable/main all Packages [21.6 kB]
Get:7 https://termux.mentality.rip/termux-packages-24 stable/main aarch64 Packages [268 kB]
Reading package lists... Done
E: The repository 'https://dl.bintray.com/grimler/game-packages-24 games Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
E: The repository 'https://dl.bintray.com/grimler/science-packages-24 science Release' does not have a Release file.
N: Metadata integrity can't be verified, repository is disabled now.
N: Possible cause: repository is under maintenance or down (wrong sources.list URL?).
Seems it may not involve just science-packages..
I discovered that texlive was moved to science-packages in commit a5145df but the commit history was not preserved, making it very difficult to use things like 'git blame' (not to "blame" someone of course, but to easily view what parts of a file changed when.)
It appears that the files as they existed on May 1 were copied and committed into science-packages as if they were new files.
There is an alternative that should allow for the preservation of edit/commit history -- see: https://stackoverflow.com/questions/1365541/how-to-move-files-from-one-git-repo-to-another-not-a-clone-preserving-history and https://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/
This is a GREAT CLI CAD, it could be tought as ImageMagick of 3D.
Package description
Describe what this package do and why it should be available.
This is a parametric CAD, working from command line, that allows to do nearly whatever you can with apps like SketchUp.
Link to home page and sources
Additional information
Have you compiled or tried to compile the package on device? No
Thanks for reading
Hello,
I installed the headless build of openscad using the package manager, but get the following message when I try to run the program:
CANNOT LINK EXECUTABLE "openscad": library "libboost_filesystem.so.1.72.0" not found
I checked my usr/lib, and I have "libboost_filesystem.so.1.73.0", the newer version.
Is it possible to update openscad to work with the newer library? If so, how?
Thanks for any help you can give.
In case it is helpful, below is my termux-info:
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
Updatable packages:
All packages up to date
Android version:10
Kernel build information:
Linux localhost 4.14.117-perf+ #1 SMP PREEMPT Fri Jul 3 00:55:28 CST 2020 aarch64 Android
Device manufacturer:
OnePlus
Device model:
GM1917
I get the following error:
The following packages have unmet dependencies:
libhdf5-static : Depends: libhdf5 (= 1.12.0-2) but 1.12.0-3 is to be installed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.