Package Details: redshift-wayland-git 1.12.r25.g7da875d-1

Git Clone URL: https://aur.archlinux.org/redshift-wayland-git.git (read-only, click to copy)
Package Base: redshift-wayland-git
Description: Adjusts the color temperature of your screen according to your surroundings.
Upstream URL: http://jonls.dk/redshift/
Keywords: orbment sway
Licenses: GPL3
Conflicts: redshift, redshift-sway-git
Provides: redshift, redshift-sway-git
Submitter: Comminux
Maintainer: maximbaz
Last Packager: maximbaz
Votes: 51
Popularity: 0.000006
First Submitted: 2017-02-06 12:43 (UTC)
Last Updated: 2020-04-10 08:39 (UTC)

Required by (19)

Sources (1)

Latest Comments

ainola commented on 2020-04-10 02:13 (UTC)

maximbaz: I'm not really interested in maintaining this vaporware anymore. Take it if you want.

maximbaz commented on 2020-04-06 19:23 (UTC)

ainola: per https://github.com/jonls/redshift/pull/704#issuecomment-609986670, lets change back to minus7' fork

eggze commented on 2020-01-25 16:35 (UTC)

@otahontas according to https://wiki.archlinux.org/index.php/Arch_User_Repository

Ensure the base-devel package group is installed in full (pacman -S --needed base-devel).

and if you check https://www.archlinux.org/groups/x86_64/base-devel/ you'll see that base-devel package contains both autoconf and automake, so please make sure you install base-devel before installing anything from AUR.

Bonnee commented on 2019-12-21 14:07 (UTC)

The package requires xorgproto as a makedep. It won't build without it

suyash192 commented on 2019-12-08 08:06 (UTC) (edited on 2019-12-08 08:08 (UTC) by suyash192)

Needs 'git' in makedepends or else the build fails in chrooted environments (aurutils).

makedepends=('intltool' 'python' 'git')

flacks commented on 2019-08-27 19:43 (UTC)

alexf91, thanks for the update; I pushed the new commit hash.

alexf91 commented on 2019-08-27 18:56 (UTC) (edited on 2019-08-27 19:02 (UTC) by alexf91)

Build fails:

==> Extracting sources...
  -> Creating working copy of redshift git repo...
fatal: reference is not a tree: eecbfedac48f827e96ad5e151de8f41f6cd3af66
==> ERROR: Failure while creating working copy of redshift git repo
    Aborting...

Looks like the commit doesn't exist anymore. It works fine with 7da875d34854a6a34612d5ce4bd8718c32bec804.

eggze commented on 2019-08-24 07:56 (UTC)

@nperry the wayland branch was rebased, I think; I updated the PKGBUILD

nperry commented on 2019-08-24 05:14 (UTC)

looks like HEAD commit ref has changed?

Stunkymonkey commented on 2019-07-18 22:52 (UTC)

the package redshift-wlr-gamma-control-git works for me

imr0 commented on 2019-07-18 02:19 (UTC)

Ditto, same error here as well!

angusrush commented on 2019-07-17 20:31 (UTC) (edited on 2019-07-17 20:32 (UTC) by angusrush)

@Stunkymonkey I'm getting the same error, i.e.

$ redshift -m wayland
Waiting for initial location to become available...
Location: xx.xx N, xx.xx E
Data too big for buffer (6164 > 4096).
Error sending request: Argument list too long

freed00m commented on 2019-07-16 17:01 (UTC)

thx, pkgconf is truly in base-devel, I am stupid

jakebailey commented on 2019-07-16 16:58 (UTC)

No, pkgconf is in base-devel, which no AUR packages need to explicitly depend on.

Stunkymonkey commented on 2019-07-15 19:57 (UTC)

since today i receive the following error

$ redshift -m wayland
Waiting for initial location to become available...
Location: 48.xx N, 9.xx E
Data too big for buffer (6164 > 4096).
Error sending request: Argument list too long
Aborted (core dumped)

not sure if this is wayland related

eggze commented on 2019-06-01 20:01 (UTC)

@Spleeno you would need to ask the author of the patch; I think he's available on IRC channel for sway.

Spleeno commented on 2019-05-17 20:59 (UTC) (edited on 2019-05-17 21:02 (UTC) by Spleeno)

I just need different color temperatures on one screen so my old x11 redshift config ended with: [randr] crtc=0

Is there any way to target outputs on this version?

jakebailey commented on 2019-04-26 20:35 (UTC) (edited on 2019-04-26 20:35 (UTC) by jakebailey)

@rsa This package is just a patch on top of the normal redshift; enabling wayland means it can do that functionality in addition to what redshift normally supports and is a proper "provides". If you use both Sway and i3, for example, you'd need to uninstall one redshift and install another to switch between the two, as they'd conflict but offer mutually exclusive functionality.

rsa commented on 2019-04-26 20:31 (UTC)

Why enable randr and vidmode if this package is geared towards Wayland?

eggze commented on 2019-04-21 17:19 (UTC)

Thanks for the info @minus, the version is adjusted now.

drak3 commented on 2019-04-20 19:11 (UTC)

@ainola, yeah, just confirmed that it works on my laptop w/ intel graphics, but not my PC w/ AMD graphics.

(sorry for the delay, btw)

minus commented on 2019-04-20 09:37 (UTC)

I squashed a lot of commits, thus the version number that gets generated is lower than the one given in the PKGBUILD, thus yay rebuilds it every time I upgrade. Could you adjust the version please? The current version is 1.12.r25.geecbfed

m45t3r commented on 2019-03-24 00:55 (UTC)

@aionola This is strange, this works really well with my current Sway setup. Did you use set the wayland backend?

ainola commented on 2019-03-21 04:03 (UTC)

drak3, e00E, perchance are you two running AMD graphics cards? I believe that the wlroots gamma protocol is currently broken for amdgpu.

drak3 commented on 2019-03-20 23:33 (UTC)

@e00E, i'm getting the same error. I'm on Sway

ainola commented on 2019-03-18 00:36 (UTC)

@m45t3r, I can't get this to work on sway/wlroots, and I appear to not be the only one. I'd argue against using that branch until those issues are fixed: Gnome and Plasma have this functionality built-in, which really only leaves sway as the big Wayland player that needs this functionality. The current branch is breaky but at least works.

m45t3r commented on 2019-03-17 23:21 (UTC) (edited on 2019-03-17 23:23 (UTC) by m45t3r)

Would you please consider to switch it to https://github.com/jonls/redshift/pull/704? This is based in a more recently upstream.

Here is a patch:

From 58a40f21ce30ffb571cd9877244d664b87c55987 Mon Sep 17 00:00:00 2001
From: Thiago Kenji Okada <thiagokokada@gmail.com>
Date: Sun, 17 Mar 2019 20:22:30 -0300
Subject: [PATCH] Change url source

---
 PKGBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 04a853c..caacbba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,8 @@
 # Contributor: Mattias Andrée

 pkgname=redshift-wayland-git
-pkgver=1.11.r158.gab3a34c
-pkgrel=2
+pkgver=1.12.r25.g39c162c
+pkgrel=1
 pkgdesc="Adjusts the color temperature of your screen (with Wayland patches)"
 arch=('i686' 'x86_64')
 url='https://github.com/jonls/redshift'
@@ -24,7 +24,7 @@ optdepends=('python-gobject: for redshift-gtk'
             'sway-git: supporting wayland environment'
             'orbital-git: supporting wayland environment')
 makedepends=('intltool' 'python' 'git')
-source=(redshift::"git+https://github.com/breznak/redshift.git#branch=Lourens-Rich-master")
+source=(redshift::"git+https://github.com/CameronNemo/redshift.git#branch=wlroots-nemo")
 md5sums=('SKIP')

 pkgver() {
-- 
2.21.0

e00E commented on 2019-02-21 19:55 (UTC)

Does not work for me:

Data too big for buffer (24596 > 4096). Error sending request: Argument list too long Aborted (core dumped)

eggze commented on 2019-02-10 09:47 (UTC)

@jakebailey Sorry for the delay, wayland is now added to makedepends.

@evernow It seems to me that you need to use manual method or install geoclue2 properly. I think I had this issue with a regular redshift as well, that's why I have location-provider=manual in my config file, check the man page please.

jakebailey commented on 2019-02-07 00:01 (UTC)

Pinging about the wayland makedep. (It'd nice to be able to build this for my aurutils repo.)

@evernow Are you using sway-git? This package assumes you're using it (since I don't think wlr-gamma-control is implemented by anything else). It's been working for me for a while.

evernow commented on 2019-01-19 22:05 (UTC)

This does not work for me.

Getting "Failed to run Redshift

Trying location provider 'geoclue2'... Cannot connect to wayland display, exiting. Failed to start adjustment method wayland. Trying next method... Waiting for initial location to become available... Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.NoReply:Message recipient disconnected from message bus without replying. Unable to get location from provider

Comminux commented on 2019-01-11 21:36 (UTC)

@eggze , can you take charge of this package?

ainola commented on 2019-01-05 05:40 (UTC)

@OhDaeto, do you have any intention on switching the source to that other repo? I can confirm that the segfaults are fixed with it.

jakebailey commented on 2019-01-04 18:00 (UTC)

Forgive the quick followup, but I realized after posting that I should test it under X to see if it works without wayland as well, and it does. A makedep is probably the right way to go given this package just adds the wayland support without affecting any other functionality. I tested the package with wayland as a makedep with i3, and it works as expected.

jakebailey commented on 2019-01-04 17:53 (UTC)

Wonderful, thank you. One more thing I've found now that I can build it; this depends on the wayland package to build as well. I'm not sure if it should be a makedep or a regular dependency, though. Most likely a regular dependency given you need wayland at runtime to actually use this.

Adding wayland to depends lets the package build, and I confirmed that it works with sway-git.

eggze commented on 2019-01-01 12:56 (UTC)

@jakebailey added

jakebailey commented on 2018-12-31 17:27 (UTC)

Can git be added as a makedep? Right now, this can't be built in a clean chroot (e.g. with aurutils).

eggze commented on 2018-06-17 14:10 (UTC) (edited on 2018-06-17 14:16 (UTC) by eggze)

Would you consider to switch it to https://github.com/jonls/redshift/pull/568? This seems to be updated version of the original attempt to implement wayland into redshift.

I just tested it with the branch from the PR with usage of the current PKGBUILD and it seems to work just fine. And I also do not have segfaults when I press Ctrl+C to kill running redshift process…

bobsaintcool commented on 2018-02-24 10:36 (UTC)

Hi @OhDaeto, I belive that the package 'wayland' is missing as a make dependencies (as well as the git package is). It would be lovely to update your package.

Thanks!

xduugu commented on 2017-11-25 20:28 (UTC)

'git' is missing in makedepends and 'wayland' has to be added as dependency.

hedgepigdaniel commented on 2017-04-02 01:24 (UTC)

checking whether python2 version is >= 3.2... no configure: error: Python interpreter is too old lol

BunnyApocalypse commented on 2017-02-18 03:14 (UTC) (edited on 2017-02-18 03:28 (UTC) by BunnyApocalypse)

I'm getting an unexplained segfault running this with sway, even when I pass it the -v option the only info I get is Segmentation fault (core dumped) beyond the normal information about color temperatures and location. This only happens when passing it the -m wayland option. Any help would be greatly appreciated. Edit: This was because this only works when you are using wlc and sway's git versions and is not yet on the stable branch, installing sway-git fixes the problem.

miku84 commented on 2017-02-07 18:40 (UTC)

I got this on Plasma 5.9 wayland Do you know how it can be solved? Thanks! 2017. 02. 07. 19:31 systemd-coredump Process 1897 (redshift) of user 1000 dumped core. Stack trace of thread 1897: #0 0x00007fb2b8ed3289 wl_proxy_marshal (libwayland-client.so.0) #1 0x0000000000407fcf n/a (redshift) #2 0x00000000004052cc n/a (redshift) #3 0x0000000000403e73 n/a (redshift) #4 0x00007fb2b73b7291 __libc_start_main (libc.so.6) #5 0x0000000000404f1a n/a (redshift) Stack trace of thread 1898: #0 0x00007fb2b747648d poll (libc.so.6) #1 0x00007fb2b7ca0786 n/a (libglib-2.0.so.0) #2 0x00007fb2b7ca089c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007fb2b7ca08e1 n/a (libglib-2.0.so.0) #4 0x00007fb2b7cc80d5 n/a (libglib-2.0.so.0) #5 0x00007fb2b773c454 start_thread (libpthread.so.0) #6 0x00007fb2b747f7df __clone (libc.so.6) Stack trace of thread 1900: #0 0x00007fb2b747648d poll (libc.so.6) #1 0x00007fb2b7ca0786 n/a (libglib-2.0.so.0) #2 0x00007fb2b7ca0b12 g_main_loop_run (libglib-2.0.so.0) #3 0x00007fb2b8286316 n/a (libgio-2.0.so.0) #4 0x00007fb2b7cc80d5 n/a (libglib-2.0.so.0) #5 0x00007fb2b773c454 start_thread (libpthread.so.0) #6 0x00007fb2b747f7df __clone (libc.so.6) Stack trace of thread 1899: #0 0x00007fb2b747af19 syscall (libc.so.6) #1 0x00007fb2b7ce603a g_cond_wait_until (libglib-2.0.so.0) #2 0x00007fb2b7c74e89 n/a (libglib-2.0.so.0) #3 0x00007fb2b7c754ac g_async_queue_timeout_pop (libglib-2.0.so.0) #4 0x00007fb2b7cc8b9d n/a (libglib-2.0.so.0) #5 0x00007fb2b7cc80d5 n/a (libglib-2.0.so.0) #6 0x00007fb2b773c454 start_thread (libpthread.so.0) #7 0x00007fb2b747f7df __clone (libc.so.6)

Comminux commented on 2017-02-06 17:51 (UTC)

@miha84, yes, you right, but you can use patched colord package or use future release of GNOME from git.

miku84 commented on 2017-02-06 15:27 (UTC)

On which environments does it work? Gnome/Plasma? Thanks!

Comminux commented on 2017-02-06 12:54 (UTC)

Please, update this package or replace to redshift-wayland-git!

HER0_01 commented on 2017-01-12 16:24 (UTC)

I think this package name/base should be changed. The wayland support in redshift is not specific to sway and was even made for orbital. Sway adopted the same api later, so that the same patch would work. Actually, it would make sense to add orbital-git as another optional dependency.

Comminux commented on 2017-01-08 08:40 (UTC)

Working with: redshift -m wayland