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

Provide Arch Linux (AUR) packages #92

Open
GnuGorets opened this issue Jan 20, 2025 · 14 comments
Open

Provide Arch Linux (AUR) packages #92

GnuGorets opened this issue Jan 20, 2025 · 14 comments
Labels
distribution Distribution of the binaries enhancement New feature or request help wanted Extra attention is needed

Comments

@GnuGorets
Copy link

Hi) Could you help, please, are you able to add this package to AUR?

@GnuGorets GnuGorets added the enhancement New feature or request label Jan 20, 2025
@dex4er dex4er added the distribution Distribution of the binaries label Jan 20, 2025
@dex4er dex4er changed the title Add freelens to AUR Provide Arch Linux (AUR) packages Jan 20, 2025
@dex4er
Copy link
Collaborator

dex4er commented Jan 20, 2025

Hi. I see several problems here:

Electron-Builder builds packages in DEB and RPM formats only. Arch Linux prefers rather source packages that might be not possible to run at all because of ABI incompatibilities of older Electron-Builder with never OSes. This is also reason, that we use Ubuntu 20.04 (not 22.04 or 24.04) to build our binary packages.

With old binaries we would need to add old dependencies. Debian-based distributions still provide compatible packages on the latest versions so we are there fine. On others systems probably we would need to distribute them bundled. In the end we would solve the problem already solved by other package formats: Snap and Flatpak.

I would be happy to see some contribution from Arch Linux community and maybe someone will prepare the package on https://aur.archlinux.org/ for us.

@dex4er dex4er added the help wanted Extra attention is needed label Jan 20, 2025
@dex4er
Copy link
Collaborator

dex4er commented Jan 20, 2025

I think potential Arch Linux package would be similar to existing Electron packages, ie. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=signal-desktop-beta-bin

@GnuGorets
Copy link
Author

GnuGorets commented Jan 20, 2025

It looks like I did it successfully)

  1. unzip the archive
  2. do updpkgsums
  3. do makepkg -si

After I was able to run installed freelens. I hope this helps you?

==> Leaving fakeroot environment.
==> Finished making: freelens-bin 0.1.2-1 (Mon 20 Jan 2025 22:22:02 CET)
==> Installing package freelens-bin with pacman -U...
[sudo] password for $USER: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)   New Version  Net Change

freelens-bin  0.1.2-1      666.89 MiB

Image
freelens.zip

@robertobandini
Copy link
Member

Hi @GnuGorets thank you very much for your issue and your help!
If you have any other reports, suggestions or ideas, let us know, we are looking for collaborators!

@dex4er What do you think?
https://wiki.archlinux.org/title/Arch_User_Repository#Sharing_and_maintaining_packages

Thanks to both of you!

@notz
Copy link

notz commented Jan 28, 2025

After I added a package for freelens to aur, I came across this ticket. See here: https://aur.archlinux.org/packages/freelens-bin

@dex4er
Copy link
Collaborator

dex4er commented Jan 28, 2025

Thank you for your support!

@dex4er dex4er closed this as completed Jan 28, 2025
@robertobandini
Copy link
Member

@notz great, thanks!

@GnuGorets
Copy link
Author

GnuGorets commented Jan 28, 2025

Thank you very much) Could you add CI/CD for this too, please? I see 0.1.2 in AUR, but I see 0.1.3 in Github for 2 hours)

@robertobandini
Copy link
Member

Hi @GnuGorets, I reopen the issue so we can work about your request.
Let us know if someone can open a pr to contribute about that. Thanks

@dex4er
Copy link
Collaborator

dex4er commented Jan 31, 2025

I don't think we can/should update external repositories, especially if they are outside Github.

@robertobandini
Copy link
Member

I don't think we can/should update external repositories, especially if they are outside Github.

https://github.com/KSXGitHub/github-actions-deploy-aur
Could it be helpful?
I've imagined something like that.
Could be our way, just creating an user for that.

@dex4er
Copy link
Collaborator

dex4er commented Jan 31, 2025

@notz I can prepare automation for this AUR package. Can you make me a co-maintainer for this package? 😄

@notz
Copy link

notz commented Feb 1, 2025

@dex4er I have added your account

@robertobandini
Copy link
Member

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution Distribution of the binaries enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants