termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.28k stars 3.06k forks source link

package request: snapcraft #1279

Open ghost opened 7 years ago

ghost commented 7 years ago

please add snappy http://snapcraft.io

ghost commented 5 years ago

Requires python modules, but we do not package them:

click~=6.0
configparser==3.5.0
jsonschema==2.5.1
progressbar33==2.4
http://pyyaml.org/download/pyyaml/PyYAML-3.13-cp35-cp35m-win_amd64.whl; sys_platform == 'win32'
PyYAML==3.13; sys_platform != 'win32'
pyxdg==0.25
requests==2.20.0
requests_unixsocket==0.1.5
https://launchpad.net/ubuntu/+archive/primary/+files/python-apt_1.1.0~beta1build1.tar.xz; sys_platform == 'linux'
https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz
requests-toolbelt==0.6.0
responses==0.5.1
petname==1.12
pyelftools==0.24
pymacaroons==0.9.2; sys_platform != 'win32'
pymacaroons-pynacl==0.9.3; sys_platform == 'win32'
pysha3==1.0.2; python_version < '3.6'
raven==6.5.0
simplejson==3.8.2
tabulate==0.7.5
python-debian==0.1.28
chardet==3.0.4
cx_Freeze>=5.0.2; sys_platform == 'win32'
https://files.pythonhosted.org/packages/16/4a/b085a04d6dad79aa5c00c65c9b2bbcb2c6c22e5ac341e7968e0ad2c57e2f/lxml-4.3.0.tar.gz; sys_platform != 'win32'
lxml==4.3.0; sys_platform == 'win32'
Maxython commented 1 year ago

I think that due to the policy change about adding python-related packages, this request can be reopened.

Grimler91 commented 1 year ago

What would one use snappy for though? Packages from snapcraft.io would not work on termux so not sure what snappy would be useful for

Maxython commented 1 year ago

What would one use snappy for though? Packages from snapcraft.io would not work on termux so not sure what snappy would be useful for

Well, to answer this question, first need to compile it ;)

Maxython commented 1 year ago

I compiled snapd on termux (it's showing signs of life), but for it to work properly, need systemd to create a socket for snapd. Quality replacement for systemd, maybe termux-services?

error: cannot communicate with server: Post "http://localhost/v2/snaps/spotify": dial unix /data/data/com.termux/files/usr/tmp/snapd.socket: connect: no such file or directory

PS: If this request closes again, do need the following packages that I compiled (these are snapd dependencies): xfsprogs, liburcu and eudev (libeudev)?

sylirre commented 1 year ago

Termux-services do not support on-demand service launch once socket got a connection.

It's unlikely that snapd will work without root as it depends on at least file system mounting feature.

twaik commented 2 months ago

I think here we have the same restrictions we have with docker. Package will not work without specific kernel features enabled at compile time. Probably this package request should be closed.