Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Upload Caido to the AUR (Arch Linux User Repository) #365

Open
ZeddGrayhem opened this issue Jan 30, 2023 · 12 comments
Open

Upload Caido to the AUR (Arch Linux User Repository) #365

ZeddGrayhem opened this issue Jan 30, 2023 · 12 comments

Comments

@ZeddGrayhem
Copy link

There's currently no easy way to install Caido for Arch users. Outside of just installing the debian release which I've noticed causes a few things to stop working.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Description

Use cases

@Sytten
Copy link
Member

Sytten commented Jan 30, 2023

We have no experience related to distribution on Arch linux, so any guide / directions you can point us toward would be much appreciated 👍

@ZeddGrayhem
Copy link
Author

I'm not extremely familiar with the process, but afaik it's quite straight forward. Arch wiki has a pretty clear, and well written guide on how to create and distribute a package.

https://wiki.archlinux.org/title/Creating_packages

@apehex
Copy link

apehex commented Mar 5, 2023

I'm in the same spot as @ZeddGrayhem !
I never wrapped a package for Arch, but this is exactly the time to learn so I'd be willing to help :D

@Sytten
Copy link
Member

Sytten commented Mar 6, 2023

There are a few things to consider:

I would suggest we start with the CLI as a github action that runs on release in this repository. I don't expect I will have time to craft myself soon, so feel free to give it a shot @apehex.

For the desktop application, I am more inclined to wait for the tauri bundler to be ready so I can just add it to our build pipeline, but we can also do something similar to the CLI in the distribution pipeline.

@apehex
Copy link

apehex commented Jun 16, 2023

Sorry @Sytten !! I've been swept away by other projects, I don't use web proxies anymore ^^'
Still, I've seen that the standalone binary actually works out of the box on Archlinux !
Did you have the same experience @ZeddGrayhem ?

@Sytten
Copy link
Member

Sytten commented Jun 16, 2023

All good, we will take care of it. Thanks for confirming ♥

@Sytten
Copy link
Member

Sytten commented Sep 3, 2023

There is now an unofficial package https://aur.archlinux.org/packages/caido-desktop

@rew1nter
Copy link

This unofficial package doesn't work for me at least. Shows a blank white screen only.

@Sytten
Copy link
Member

Sytten commented Sep 26, 2023

Yeah its likely the gtk webview bug as #406, we still have not gotten around to finding a fix for it. It's a bug in the javascript JIT.

@cocoonkid
Copy link

cocoonkid commented Nov 4, 2023

The AUR packages work great.

But I can confirm from my side that I had
JSC_useDFGJIT=0 in the first release enabled (but did not really use it until now).

The latest version 0.29.x works great and I removed JSC_useDFGJIT=0.

No issues at all. LMK if any additional informations regarding my system is helpful.

>> electron --version
`v25.9.3`
>> uname -a
`Linux arch 6.5.9-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:51:53 +0000 x86_64 GNU/Linux`

@Sytten
Copy link
Member

Sytten commented Nov 7, 2023

Interesting, I will have to take a look. @cocoonkid could you let me know the version of webkit gtk you have (apt list | grep webkit)

@meme-lord
Copy link

The commands caido and JSC_useDFGJIT=0 caido show blank window for me with this error output:

src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x600: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x600: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

I was able to get it working with this comand:

WEBKIT_DISABLE_DMABUF_RENDERER=1 caido

Which I got from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

6 participants