summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-29 11:26:11 +0000
committernia <nia@pkgsrc.org>2020-01-29 11:26:11 +0000
commitf2f2e25429c6ef1a42c958d51fd63405f52fa201 (patch)
treec80d9704ce8f669b76fb3b8a4093bf762451b86d
parent8b5b29057bad3e54c875f1459429f598be31a8fc (diff)
downloadpkgsrc-f2f2e25429c6ef1a42c958d51fd63405f52fa201.tar.gz
redshift: Update to 1.12
v1.12 (2018-05-20) ------------------ - Change location providers to allow updates. GeoClue and CoreLocation now provide continuous location updates. - Allow time-based configuration i.e. setting the redness effect based on time of day instead of based on the elevation of the sun. See the man page for more information. - Now looks for the configuration file in `~/.config/redshift/redshift.conf` (or `${XDG_CONFIG_HOME}/redshift/redshift.conf`) if `$XDG_CONFIG_HOME` is set. The old location at `~/.config/redshift.conf` is deprecated but still searched as a fall back. - Run hooks when enabling/disabling Redshift. - Default temperatures changed to 6500K during daytime and 4500K during night. - With `randr`, allow multiple but not all CRTCs to be redshifted. - Removes deprecated original GeoClue location provider (use GeoClue 2 instead). - The option for enabling the short fade between color effects is now called `fade` instead of `transition` in the configuration file. The term transition caused a lot of confusion about what this option does (the old option still works but is deprecated). - The `preserve` option is enabled by default for `vidmode`, `randr`, Windows (`w32gdi`) and macOS (`quartz`). The option is now controlled by the `-P` command line option. - Work around issue where Windows adjustments sometimes fail. - Install AppArmor profile. - quartz: Fix incorrect use of display identifier. - Various bug fixes and updated translations.
-rw-r--r--x11/redshift/Makefile18
-rw-r--r--x11/redshift/distinfo11
-rw-r--r--x11/redshift/patches/patch-src_gamma-drm.c16
3 files changed, 13 insertions, 32 deletions
diff --git a/x11/redshift/Makefile b/x11/redshift/Makefile
index 9d2c1d7aa8d..3acb8c47c35 100644
--- a/x11/redshift/Makefile
+++ b/x11/redshift/Makefile
@@ -1,26 +1,24 @@
-# $NetBSD: Makefile,v 1.2 2019/11/03 09:14:17 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2020/01/29 11:26:11 nia Exp $
-DISTNAME= redshift-1.11
+DISTNAME= redshift-1.12
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=jonls/}
-GITHUB_RELEASE= v1.11
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= snj@NetBSD.org
HOMEPAGE= http://jonls.dk/redshift/
COMMENT= Adjust screen color temperature based on the position of the sun
-
LICENSE= gnu-gpl-v3
-BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= intltool pkg-config
+USE_TOOLS+= msgfmt msgmerge xgettext
+
CONFIGURE_ARGS+= --disable-gui
-USE_LIBTOOL= yes
-USE_TOOLS+= intltool pkg-config
.include "options.mk"
-
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/redshift/distinfo b/x11/redshift/distinfo
index 8fa3fc8a938..8dc4a0db41f 100644
--- a/x11/redshift/distinfo
+++ b/x11/redshift/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/05/18 22:18:43 snj Exp $
+$NetBSD: distinfo,v 1.2 2020/01/29 11:26:11 nia Exp $
-SHA1 (redshift-1.11.tar.xz) = 759f1619c7ff0ab1cadda267343ef3665229d935
-RMD160 (redshift-1.11.tar.xz) = 692e6e1a430895169971d8744a38e24eb4094971
-SHA512 (redshift-1.11.tar.xz) = 88d7a4aabfaf3073f88673bc77df19d7bd79cb19aa8e647670cc52c02443475a4602f109fc4a06bf1639d1829d16a2644854039f90a614fc1a51c9cb4c81de16
-Size (redshift-1.11.tar.xz) = 377372 bytes
-SHA1 (patch-src_gamma-drm.c) = c7785a4896ac7a0d80b7b64b56b04a71b1932a04
+SHA1 (redshift-1.12.tar.xz) = ee874faa0a2fd9ea6f7cab219cefa00038514824
+RMD160 (redshift-1.12.tar.xz) = bf7e9fa1d09353a8f38d3e9dbce53132c14ee999
+SHA512 (redshift-1.12.tar.xz) = 225e222e5f2c55be4571094ccaf02a92e162dfc35fd0fe504084e21e358b888a72f9992f9f9edaf1d496eb673af74a0d825ae5cf6ef7f0f1ab51d32419722c32
+Size (redshift-1.12.tar.xz) = 486072 bytes
diff --git a/x11/redshift/patches/patch-src_gamma-drm.c b/x11/redshift/patches/patch-src_gamma-drm.c
deleted file mode 100644
index f96b0d02f15..00000000000
--- a/x11/redshift/patches/patch-src_gamma-drm.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_gamma-drm.c,v 1.1 2016/05/18 22:18:43 snj Exp $
-
-No alloca.h on non-Linux/non-SunOS systems.
-
---- src/gamma-drm.c.orig 2015-05-20 00:07:57.000000000 -0700
-+++ src/gamma-drm.c 2015-05-20 00:08:01.000000000 -0700
-@@ -21,7 +21,9 @@
- #include <stdlib.h>
- #include <stdint.h>
- #include <string.h>
-+#if defined(__linux__) || defined(__sun)
- #include <alloca.h>
-+#endif
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>