0LNetworkCommunity / carpe

Apache License 2.0
96 stars 49 forks source link

Please create a linux version? #78

Closed dimyself closed 1 year ago

dimyself commented 2 years ago

Hi there. Can you please have/create a linux version of Carpe?

Unless, there is some way to run it in Linux I'm not aware of??

Thanks!

soaresa commented 2 years ago

Hello @dimyself.

We already have a Carpe builder for linux but it is not fully tested.

Could you please try the linux installer on in this candidate release and give us feedback? https://github.com/OLSF/carpe/releases/tag/v0.3.0-rc.1

Thanks!

dimyself commented 2 years ago

I downloaded the carpe_0.3.0_amd64.AppImage file. I cant seem to "execute" it from a gui file manager

But, on Arch linux cli, I can execute it, but it fails on my system here:

$ ./carpe_0.3.0_amd64.AppImage 
Gtk-Message: 19:24:24.810: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:24:24.812: Failed to load module "xapp-gtk3-module"
Gtk-Message: 19:24:24.813: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:24:24.814: Failed to load module "canberra-gtk-module"

** (carpe:204668): ERROR **: 19:24:25.065: Unable to spawn a new child process: Failed to execute child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)
Trace/breakpoint trap (core dumped)
$ 

Is there something I should be installing, or a list of requirements?

or, should it all be in the AppImage? Was that the correct file to download and test, or which linux installer file are you referring to?

I set some of the variables, and tried the other scripts, and this is what i've got so far:

$ ./linuxdeploy-x86_64.AppImage --appdir="/home/user/Documents/crypto/miner_carpe_OLSF/"
linuxdeploy version 1-alpha (git commit ID ed42a40), GitHub actions build 75 built on 2022-03-15 12:03:03 UTC

-- Creating basic AppDir structure -- 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/bin/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/lib/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/applications/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/16x16/apps/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/32x32/apps/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/64x64/apps/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/128x128/apps/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/256x256/apps/ 
Creating directory /home/user/Documents/crypto/miner_carpe_OLSF/usr/share/icons/hicolor/scalable/apps/ 

-- Deploying dependencies for existing files in AppDir -- 

-- Copying files into AppDir -- 

-- Copying files into AppDir -- 

-- Deploying files into AppDir root directory -- 
WARNING: Could not find desktop file in AppDir, cannot create links for AppRun, desktop file and icon in AppDir root 

and

$ export DEPLOY_GTK_VERSION="4"
$
$ export LINUXDEPLOY=/home/user/Documents/crypto/miner_carpe_OLSF/linuxdeploy-plugin-gtk.sh
$
$ ./linuxdeploy-plugin-gtk.sh --appdir /home/user/Documents/crypto/miner_carpe_OLSF
Installing AppRun hook
Installing GLib schemas
Installing GTK 4.0 modules
Installing GDK PixBufs
Updating pixbuf cache in /home/user/Documents/crypto/miner_carpe_OLSF//usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
Copying more libraries
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
find: ‘/usr/lib/firmware/b43’: Permission denied
Invalid argument: --appdir=/home/user/Documents/crypto/miner_carpe_OLSF

Usage: /home/user/Documents/crypto/miner_carpe_OLSF/linuxdeploy-plugin-gtk.sh --appdir <path to AppDir>

Bundles resources for applications that use GTK into an AppDir

Required variables:
  LINUXDEPLOY=".../linuxdeploy" path to linuxdeploy (e.g., AppImage); set automatically when plugin is run directly by linuxdeploy

Optional variables:
  DEPLOY_GTK_VERSION (major version of GTK to deploy, e.g. '2', '3' or '4'; auto-detect by default)
$

Thanks!

soaresa commented 2 years ago

Hi, try using the linux installer: https://github.com/OLSF/carpe/releases/download/v0.3.0-rc.1/carpe_0.3.0_amd64.deb

dimyself commented 2 years ago

i'm not using debian or ubuntu linux....i'm using arch linux. it uses pacman and the AUR and PKGBUILD

some of the other standalone stuff i have is all kinda bundled together (atomic wallet, ledger live, other wallets, etc). So, maybe thats an option? or, i can try to compile it

thank you!

On 3/25/22, soaresa @.***> wrote:

Hi, try using the linux installer: https://github.com/OLSF/carpe/releases/download/v0.3.0-rc.1/carpe_0.3.0_amd64.deb

-- Reply to this email directly or view it on GitHub: https://github.com/OLSF/carpe/issues/78#issuecomment-1079071341 You are receiving this because you were mentioned.

Message ID: @.***>

willrnch commented 1 year ago

@soaresa

Here are the logs I get when I install the deb package. I don't know if that is a problem in itself as I manage to run the application after doing this:

$ dpkg -i ./carpe-canary_0.5.0_amd64.deb

Selecting previously unselected package carpe-canary.
(Reading database ... 276647 files and directories currently installed.)
Preparing to unpack ./carpe-canary_0.5.0_amd64.deb ...
Unpacking carpe-canary (0.5.0) ...
dpkg: dependency problems prevent configuration of carpe-canary:
 carpe-canary depends on libwebkit2gtk-4.0-37; however:
  Package libwebkit2gtk-4.0-37 is not installed.

dpkg: error processing package carpe-canary (--install):
 dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu4) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 carpe-canary

$ apt --fix-broken install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  enchant-2 libenchant-2-2 libjavascriptcoregtk-4.0-18 libmanette-0.2-0
  libwebkit2gtk-4.0-37 libwoff1 libwpe-1.0-1 libwpebackend-fdo-1.0-1
  xdg-dbus-proxy xdg-desktop-portal-gtk
Suggested packages:
  libenchant-2-voikko gstreamer1.0-libav gstreamer1.0-plugins-bad
  gstreamer1.0-alsa evince xdg-desktop-portal-gnome
The following NEW packages will be installed:
  enchant-2 libenchant-2-2 libjavascriptcoregtk-4.0-18 libmanette-0.2-0
  libwebkit2gtk-4.0-37 libwoff1 libwpe-1.0-1 libwpebackend-fdo-1.0-1
  xdg-dbus-proxy xdg-desktop-portal-gtk
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 26.1 MB of archives.
After this operation, 91.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

However, when I run the app, I get this error when I try to create or import an account:

Error (103): handleAdd: Secret Service Error: Dbus error: "Object does not exist at path “/org/freedesktop/secrets/collection/login”"
0o-de-lally commented 1 year ago

Marking this a wontfix.

If you want a linux version you will have to build yourself. Note that v1.0.0 has a linux build issue related to a rust dependency zbus.