Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

package request: libsecret #5416

Closed
zababurinsv opened this issue Jun 17, 2020 · 14 comments
Closed

package request: libsecret #5416

zababurinsv opened this issue Jun 17, 2020 · 14 comments
Labels
package request A new package was requested

Comments

@zababurinsv
Copy link

zababurinsv commented Jun 17, 2020

i need install npm install keytar on termux
But this library uses libsecret-1-dev
Install on Debian/Ubuntu
sudo apt-get install libsecret-1-dev
But i don't have sudo on termux and i can't install this library
How can i use this ?

Problem description

Steps to reproduce

Expected behavior

Additional information


@Grimler91
Copy link
Member

Termux isn't ubuntu or debian so you don't need sudo.

You need to compile libsecret from source for now, until someone compiles the package for our repository

@Grimler91 Grimler91 changed the title i need install npm install keytar on termux But this library uses libsecret-1-dev Install on Debian/Ubuntu sudo apt-get install libsecret-1-dev But i don't have sudo on termux and i can't install this library How can i use this ? package request: libsecret Jun 17, 2020
@zababurinsv
Copy link
Author

Termux isn't ubuntu or debian so you don't need sudo.

You need to compile libsecret from source for now, until someone compiles the package for our repository

How can i do this ? Is there any documentation ?

@Grimler91
Copy link
Member

@zababurinsv https://gitlab.gnome.org/GNOME/libsecret/-/blob/master/README.md

@ghost
Copy link

ghost commented Jun 17, 2020

Requires gobject-introspection which is not available as Termux package.

Meson is required too, but it can be just downloaded from https://github.com/mesonbuild/meson/releases/download/0.54.3/meson-0.54.3.tar.gz and added to PATH.

@ghost
Copy link

ghost commented Jun 17, 2020

If you are trying to install code-server which requires keytar as npm dependency, then use

yarn global add code-server

That will eliminate requirement of libsecret.

Build-time dependency of libsecret gobject-introspection isn't going to be added, at least for now. Anyone who know how to properly cross-compile it is welcome to submit pull request.

@zababurinsv
Copy link
Author

Thank yours very mach/ Yes i want install server-code and without auth it is work.

But for the system to be complete, this library is needed.

@kcubeterm
Copy link
Member

Re-opening as libsecret is't available in termux.

@kcubeterm kcubeterm reopened this Jan 16, 2021
@kcubeterm kcubeterm added the package request A new package was requested label Jan 16, 2021
@alensiljak
Copy link

One apparent use is as a Git credentials helper (source). I'd be quite interested in this.

@creepy-pasta101
Copy link
Contributor

creepy-pasta101 commented May 6, 2021

@kcubeterm I was able to compile libsecret natively on my device with a simple patch , but faced issues while doing the same in the build environment (docker image)....it has compilation issues...

@creepy-pasta101
Copy link
Contributor

Well.. since gobject-introspection is now available...
Hence libsecret

@creepy-pasta101
Copy link
Contributor

@xeffyr please close this

@nerd190
Copy link

nerd190 commented Jan 28, 2022

This should be more than add a binary, it needs to populate files within $PREFIX/share/doc/git/contrib/credential/libsecret,
I am unable to use libsecret to store my git credentials as there is nothing to make :(
@kcubeterm @suhan-paradkar

@sukulent
Copy link

sukulent commented Mar 22, 2022

Hello, I am unable to use libsecret with git.
Seems similar to @nerd190 's problem
Throws this error (after git push):

/usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret get: 1: /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret: not found

@dwolfeu
Copy link

dwolfeu commented Nov 7, 2023

We also have this problem. We have posted a question on SO.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
package request A new package was requested
Projects
None yet
Development

No branches or pull requests

8 participants