Package Details: wlroots-nvidia 0.17.4-1

Git Clone URL: https://aur.archlinux.org/wlroots-nvidia.git (read-only, click to copy)
Package Base: wlroots-nvidia
Description: Modular Wayland compositor library, with fix for nvidia flickering
Upstream URL: https://gitlab.freedesktop.org/wlroots/wlroots
Licenses: MIT
Conflicts: wlroots, wlroots-git
Provides: libwlroots.so, wlroots
Submitter: kplant
Maintainer: kplant
Last Packager: kplant
Votes: 6
Popularity: 0.23
First Submitted: 2022-08-20 15:26 (UTC)
Last Updated: 2024-06-29 17:47 (UTC)

Dependencies (23)

Required by (54)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

t0xa commented on 2024-07-23 14:59 (UTC)

It seems debugedit package is a dependency

kplant commented on 2024-07-04 16:28 (UTC)

That repository is not the official repository for this package. Unfortunately there's nothing I can do for that issue, you need to have the appropriate version of libdisplay-info to build this package.

chrisco23 commented on 2024-07-04 13:57 (UTC)

Apparently now the libdisplay-info issue was dealt with, but the repo maintainer also says the repo is unmaintained.

https://github.com/rywng/wlroots-nvidia/issues/1

Mentioned is the possibility of forks etc. but I'm not really finding anything about that. (?)

For me this whole thing started when I relatively recently switched to Sway/Wayland from i3/X. There's no way I'm the only one running a Dell XPS 15 (other other integrated Nvidia situation) and running Sway/Wayland.

chrisco23 commented on 2024-06-29 18:06 (UTC) (edited on 2024-06-29 18:06 (UTC) by chrisco23)

Thank you, and it does indeed now compile for me.

Is there any plan to change the libdisplay-info dependency? As for that package I still get:

:: installing libdisplay-info (0.2.0-1) breaks dependency 'libdisplay-info.so=1-64' required by wlroots-nvidia

kplant commented on 2024-06-29 17:50 (UTC)

Looks like a fix has been merged upstream, I've bumped to 0.17.4 and am able to build with the libliftoff dependency. Please try again now.

kplant commented on 2024-06-29 15:46 (UTC)

I will review the patch and likely add it today.

chrisco23 commented on 2024-06-28 21:13 (UTC)

raku-cat,

Just returning to this as it's really not been a showstopper for me. I'm mostly tired of excluding this package with every update.

First the ssh was rejected but just to skip past that I cloned over http anyway.

Where did you find this screenshare patch?

Apparently the gitlab requires an account but you have to email about getting registered so I've just done that.

Is there any place besides right here I should be requesting these things fixed properly? The repo or something?

raku-cat commented on 2024-06-25 10:02 (UTC) (edited on 2024-06-25 10:04 (UTC) by raku-cat)

@chrisco23 The easiest way would be to manually build the package rather than an aur helper.
Clone the aur repo somewhere:
git clone ssh://aur@aur.archlinux.org/wlroots-nvidia.git && cd wlroots-nvidia
Add the contents of the below patch to a file named whatever you want (using libliftoff-fix.patch in the following example), and then edit the PKGBUILD to include this patch.
Edit the source section like so:

source=(
    "$wl_pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz"
    "https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig"
    "wlroots-nvidia-screenshare.patch"
    "libliftoff-fix.patch"
)

Add the patch below the existing one in prepare():

prepare() {
    patch --directory="$wl_pkgname-$pkgver" --forward --strip=0 \
        --input="$srcdir/wlroots-nvidia-screenshare.patch"
    patch --directory="$wl_pkgname-$pkgver" --forward --strip=0 \
        --input="$srcdir/libliftoff-fix.patch"
}

Run updpkgsums to update the checksums in the PKGBUILD, then build and install with makepkg -i.

chrisco23 commented on 2024-06-24 01:58 (UTC) (edited on 2024-06-24 02:28 (UTC) by chrisco23)

@raku-cat oops had posted wrong filename. Can you please give me a little more detail? I've never tried to patch an AUR package. In fact I can't remember the last time I even used "patch". Years and years. Getting old/no memory.

if it matters I'm using sway and yay.