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

Consider a release in the AUR repository #24

Closed
zilexa opened this issue Nov 8, 2021 · 12 comments
Closed

Consider a release in the AUR repository #24

zilexa opened this issue Nov 8, 2021 · 12 comments
Labels

Comments

@zilexa
Copy link

zilexa commented Nov 8, 2021

Many Gnome extensions are also available in the Arch User Repository (not a distribution repository).
The benefit for users of Arch based distributions such as Manjaro: you can easily find and install your extension in 1 single location: the 'app store', for example on Manjaro the "Add/Remove programs" or Pamac tool, which allows you to discover, install and update system packages, apps in the official repository and AUR packages (even Flatpak can be enabled).

Another major benefit is that the extension will be updated by the system together with system and other app updates.

Currently, there are a few other old and outdated gesture extensions available when a user searches for it, as AUR. It would be a lot easier to discover your extension + keep it updated if it was available as AUR.

@yochananmarqos
Copy link

Done.

@harshadgavali
Copy link
Owner

@yochananmarqos
Thank you so much for these!! I haven't tested them aur packages yet.
But for https://aur.archlinux.org/packages/gnome-x11-gesture-daemon/
On line 40

install -Dm644 "$_name.service" -t "$pkgdir/usr/lib/systemd/system"

I think it should be

install -Dm644 "$_name.service" -t "$pkgdir/usr/lib/systemd/user"

I'll test them.
Btw were are these files hosted (To create pull request), (Can you share tutorial/guide for this, please? I'm not familar with AUR structure).

@yochananmarqos
Copy link

You're right it should be a user service, just fixed it.

Aurweb doesn't support PR's, unfortunately. It can be set as a remote, but I never set it up that way.

I can add you as a Co-Maintainer if you have an account.

See here for more info.

@zilexa
Copy link
Author

zilexa commented Nov 9, 2021

@harshadgavali is linking to a different package (the old X11 gestures).

But thanks for creating this new package as AUR!

@harshadgavali
Copy link
Owner

@yochananmarqos
Thank you so much again!!
Can you add me Co-Maintainer for both packages? my account harshadgavali ?

@zilexa I was linking optional dependency package, extension depends on it for running on X11.

@yochananmarqos
Copy link

@harshadgavali Done.

@yochananmarqos
Copy link

yochananmarqos commented Nov 9, 2021

@harshadgavali Please revert this commit, the gschema file does indeed need to be installed there when an extension is installed to the system. Technically, the compiled schema doesn't need to be installed at all, but some extensions will not work if they expect it there.

Why did you remove the message about enabling the service?

@harshadgavali
Copy link
Owner

@yochananmarqos I tested on ManjaroVM schema file was not necessary I think(it was also giving warning so I removed it),
compiled schema is present in zip anyway.
arc-menu-git also doesn't need it I think.
If you're facing issue with it, please revert the change.

Enabling service is not necessary, as service will be automatically started by extension on X11 session(this way, on wayland it won't be running.)

@yochananmarqos
Copy link

yochananmarqos commented Nov 9, 2021

@harshadgavali Ah, I see. Some extensions won't work properly unless the gschema file is installed in the glib folder. I guess it must depend on the extension. I normally symlink it for every extension I package just to make sure.

I see now your README states the service will be automatically enabled. I'm just so used to having to enable services manually. How does the extension do it?

By the way, when making changes that effects a current installation, be sure and bump the pkgrel.

It's always nice to receive developer feedback for applications I package, thank you.

@harshadgavali
Copy link
Owner

@yochananmarqos
Oh thanks for mentioning pkgrel .

Since service in installed in user folder instead of system, it can be started/stopped without password

Util.spawn(['systemctl', '--user', 'start', 'gesture_improvements_gesture_daemon.service']);

Another way would be to make service dbus-activatable (if service must be installed in system folder)
https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#activation_dbus

@yochananmarqos
Copy link

yochananmarqos commented Nov 10, 2021

@harshadgavali Oh neat. I'll have to look closer tomorrow. I wanted to figure out how to only start the touchegg service when logged into a Xorg session with gnome-shell-extension-x11gestures. I'll have to poke @JoseExposito about it.

@JoseExposito
Copy link

I'd need to add D-Bus activation upstream:
JoseExposito/touchegg#456

The Fedora guys already requested it, but I have not found the time to implement it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants