[GH-ISSUE #73] AUR Repository package #24

Closed
opened 2026-05-05 22:04:40 -06:00 by gitea-mirror · 13 comments
Owner

Originally created by @CupricReki on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/73

I created the lan-mouse package in the aur. Please review and let me know your thoughts. I've never worked with cargo and this is my first submission to the AUR.

https://aur.archlinux.org/packages/lan-mouse-git

I'm waiting for #72 before I add .desktop support. I'll add a service file for systemd once #70 and the daemon issues get sorted out.

AUR package for bin is forthcoming.

Originally created by @CupricReki on GitHub (Jan 15, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/73 I created the lan-mouse package in the aur. Please review and let me know your thoughts. I've never worked with cargo and this is my first submission to the AUR. https://aur.archlinux.org/packages/lan-mouse-git I'm waiting for #72 before I add .desktop support. I'll add a service file for systemd once #70 and the daemon issues get sorted out. AUR package for bin is forthcoming.
Author
Owner

@feschber commented on GitHub (Jan 15, 2024):

First of all: Thank you for your work!

I took a look and have nothing to complain.

One thing to note is that /usr/share/pixmaps is deprecated.
You should probably move the icon to /usr/share/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg now.

I also fixed the Icon Name and App Id such that it should now be correctly displayed:
13597b3587

<!-- gh-comment-id:1891489970 --> @feschber commented on GitHub (Jan 15, 2024): First of all: Thank you for your work! I took a look and have nothing to complain. One thing to note is that `/usr/share/pixmaps` is deprecated. You should probably move the icon to `/usr/share/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg` now. I also fixed the Icon Name and App Id such that it should now be correctly displayed: https://github.com/feschber/lan-mouse/commit/13597b358733e2f0673f0b6d0d9790a024af12c4
Author
Owner

@feschber commented on GitHub (Jan 15, 2024):

(sorry for already breaking the PKGBUILD) Could you add me as a maintainer? My name on the AUR is feschber as well.

<!-- gh-comment-id:1891492019 --> @feschber commented on GitHub (Jan 15, 2024): (sorry for already breaking the PKGBUILD) Could you add me as a maintainer? My name on the AUR is feschber as well.
Author
Owner

@feschber commented on GitHub (Jan 15, 2024):

If I put the icon under

/usr/share/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg

and run

sudo gtk-update-icon-cache /usr/share/icons/hicolor/

It appears in both Gnome and KDE.

<!-- gh-comment-id:1891550735 --> @feschber commented on GitHub (Jan 15, 2024): If I put the icon under ``` /usr/share/icons/hicolor/scalable/apps/de.feschber.LanMouse.svg ``` and run ```sh sudo gtk-update-icon-cache /usr/share/icons/hicolor/ ``` It appears in both Gnome and KDE.
Author
Owner

@feschber commented on GitHub (Jan 15, 2024):

And regarding the systemd service, maybe you can share some ideas, @alison-solsoft
( https://github.com/feschber/lan-mouse/issues/68#issuecomment-1888382031)

<!-- gh-comment-id:1891558587 --> @feschber commented on GitHub (Jan 15, 2024): And regarding the systemd service, maybe you can share some ideas, @alison-solsoft ( https://github.com/feschber/lan-mouse/issues/68#issuecomment-1888382031)
Author
Owner

@CupricReki commented on GitHub (Jan 15, 2024):

Thanks for the feedback and the updates. The AUR lan-mouse-git package has been updated.

<!-- gh-comment-id:1892290311 --> @CupricReki commented on GitHub (Jan 15, 2024): Thanks for the feedback and the updates. The AUR lan-mouse-git package has been updated.
Author
Owner

@CupricReki commented on GitHub (Jan 15, 2024):

Added the bin package as well.

https://aur.archlinux.org/packages/lan-mouse-bin

<!-- gh-comment-id:1892563642 --> @CupricReki commented on GitHub (Jan 15, 2024): Added the bin package as well. https://aur.archlinux.org/packages/lan-mouse-bin
Author
Owner

@alison-solsoft commented on GitHub (Jan 15, 2024):

Coincidentally, I was going to work on an AUR package myself once #70 was resolved, so thanks for taking it on already @CupricReki!

@feschber I have some thoughts relevant to running lan-mouse as a system daemon, but they are things that would need to be handled by packagers in general. I'll comment on the issue that Cupric created specific to the creation of a systemd unit (#76)

<!-- gh-comment-id:1892625493 --> @alison-solsoft commented on GitHub (Jan 15, 2024): Coincidentally, I was going to work on an AUR package myself once #70 was resolved, so thanks for taking it on already @CupricReki! @feschber I have some thoughts relevant to running lan-mouse as a system daemon, but they are things that would need to be handled by packagers in general. I'll comment on the issue that Cupric created specific to the creation of a systemd unit (#76)
Author
Owner

@feschber commented on GitHub (Jan 16, 2024):

FYI @CupricReki: Adding me in the AUR worked, thanks!

<!-- gh-comment-id:1893196049 --> @feschber commented on GitHub (Jan 16, 2024): FYI @CupricReki: Adding me in the AUR worked, thanks!
Author
Owner

@CupricReki commented on GitHub (Jan 17, 2024):

Should I add an an example config to the package? Seems like the the correct location would be /etc/lan-mouse/config.toml.

<!-- gh-comment-id:1894858944 --> @CupricReki commented on GitHub (Jan 17, 2024): Should I add an an example config to the package? Seems like the the correct location would be `/etc/lan-mouse/config.toml`.
Author
Owner

@alison-solsoft commented on GitHub (Jan 17, 2024):

An example config would be a good thing to include in the package. I would use /etc/lan-mouse/examples/config.toml to avoid potential conflicts if / when a package update modifies the example config, but that would only be an issue if it becomes possible to run lan-mouse as a system service, and /etc/lan-mouse/config.toml is used for configuration.

<!-- gh-comment-id:1894888619 --> @alison-solsoft commented on GitHub (Jan 17, 2024): An example config would be a good thing to include in the package. I would use ```/etc/lan-mouse/examples/config.toml``` to avoid potential conflicts if / when a package update modifies the example config, but that would only be an issue if it becomes possible to run lan-mouse as a system service, and ```/etc/lan-mouse/config.toml``` is used for configuration.
Author
Owner

@feschber commented on GitHub (Jan 19, 2024):

The config.toml from the repository basically already serves as an example config. I guess you could just install that alongside. Also could you add me as a maintainer for the -bin package as well?

<!-- gh-comment-id:1900362350 --> @feschber commented on GitHub (Jan 19, 2024): The `config.toml` from the repository basically already serves as an example config. I guess you could just install that alongside. Also could you add me as a maintainer for the -bin package as well?
Author
Owner

@feschber commented on GitHub (Jan 19, 2024):

I added the installation instructions to the README.md

Will close this issue for now

<!-- gh-comment-id:1900410019 --> @feschber commented on GitHub (Jan 19, 2024): I added the installation instructions to the README.md Will close this issue for now
Author
Owner

@feschber commented on GitHub (Jan 19, 2024):

closing

<!-- gh-comment-id:1900411120 --> @feschber commented on GitHub (Jan 19, 2024): closing
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#24
No description provided.