pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/redshift redshift: Update to 1.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8222d995338
branches:  trunk
changeset: 422563:d8222d995338
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 29 11:26:11 2020 +0000

description:
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.

diffstat:

 x11/redshift/Makefile                      |  18 ++++++++----------
 x11/redshift/distinfo                      |  11 +++++------
 x11/redshift/patches/patch-src_gamma-drm.c |  16 ----------------
 3 files changed, 13 insertions(+), 32 deletions(-)

diffs (74 lines):

diff -r 867027c92f22 -r d8222d995338 x11/redshift/Makefile
--- a/x11/redshift/Makefile     Wed Jan 29 11:04:28 2020 +0000
+++ b/x11/redshift/Makefile     Wed Jan 29 11:26:11 2020 +0000
@@ -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@localhost
 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 -r 867027c92f22 -r d8222d995338 x11/redshift/distinfo
--- a/x11/redshift/distinfo     Wed Jan 29 11:04:28 2020 +0000
+++ b/x11/redshift/distinfo     Wed Jan 29 11:26:11 2020 +0000
@@ -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 -r 867027c92f22 -r d8222d995338 x11/redshift/patches/patch-src_gamma-drm.c
--- a/x11/redshift/patches/patch-src_gamma-drm.c        Wed Jan 29 11:04:28 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index