accessibility/redshift: update to 1.11

This commit is contained in:
Steve Wills 2018-05-09 21:32:05 +00:00
parent bd26e3b2f4
commit 5d35dffde9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469472
4 changed files with 67 additions and 30 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= redshift
PORTVERSION= 1.7
PORTREVISION= 4
PORTVERSION= 1.11
CATEGORIES= accessibility
MASTER_SITES= http://launchpad.net/redshift/trunk/${PORTVERSION}/+download/
DISTVERSIONPREFIX= v
MAINTAINER= swills@FreeBSD.org
COMMENT= Adjusts the color temperature of your screen
@ -13,13 +12,23 @@ COMMENT= Adjusts the color temperature of your screen
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pkgconfig shebangfix tar:bzip2
USES= gettext gmake libtool localbase pkgconfig shebangfix tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= jonls
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
SHEBANG_FILES= src/gtk-redshift/gtk-redshift
SHEBANG_FILES= src/redshift-gtk/redshift-gtk.in
CONFIGURE_ARGS+= --disable-wingdi
BUILD_DEPENDS= autoconf-2.69:devel/autoconf \
automake-1.15:devel/automake \
libtoolize:devel/libtool \
intltool>=0:textproc/intltool
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libgeoclue-2.so:net/geoclue
OPTIONS_DEFINE= GNOME GUI NLS RANDR VIDMODE
OPTIONS_DEFAULT=RANDR
OPTIONS_SUB= yes
@ -31,7 +40,7 @@ VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA)
USE_XORG+= x11 xcb
NLS_USES= gettext iconv
NLS_USES= iconv
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE}
NLS_CONFIGURE_OFF= --disable-nls
@ -42,12 +51,16 @@ RANDR_CONFIGURE_ENABLE= randr
VIDMODE_USE= XORG=xxf86vm
VIDMODE_CONFIGURE_ENABLE= vidmode
GUI_USES= python:2.7
GUI_USES= python:3.6+
GUI_CONFIGURE_ENABLE= gui
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>0:x11-toolkits/py-gtk2@${PY_FLAVOR} \
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
GNOME_CONFIGURE_ENABLE= gnome-clock
GNOME_USE= GNOME=glib20,gconf2
pre-configure:
@cd ${WRKSRC} ; ./bootstrap
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (redshift-1.7.tar.bz2) = 9bfa3c3d4a9ce6ea06a5e6235ab4e8215a456c08d6e7451c0389456a37d010c8
SIZE (redshift-1.7.tar.bz2) = 269820
TIMESTAMP = 1525880857
SHA256 (jonls-redshift-v1.11_GH0.tar.gz) = a89cee0dc822fa2bfda0703d8ecedeccc08da3aebdf1880593f28da81c3dc879
SIZE (jonls-redshift-v1.11_GH0.tar.gz) = 543804

View File

@ -0,0 +1,10 @@
--- src/gamma-drm.c.orig 2018-05-09 16:23:00 UTC
+++ src/gamma-drm.c
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
-#include <alloca.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

View File

@ -1,38 +1,51 @@
bin/redshift
man/man1/redshift.1.gz
share/icons/hicolor/scalable/apps/redshift.svg
share/icons/hicolor/scalable/apps/redshift-status-off.svg
share/icons/hicolor/scalable/apps/redshift-status-on.svg
%%GUI%%share/icons/hicolor/scalable/apps/redshift.svg
%%GUI%%share/icons/hicolor/scalable/apps/redshift-status-off.svg
%%GUI%%share/icons/hicolor/scalable/apps/redshift-status-on.svg
%%GUI%%share/appdata/redshift-gtk.appdata.xml
%%GUI%%share/applications/redshift-gtk.desktop
%%GUI%%share/applications/redshift.desktop
%%NLS%%share/locale/ar/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/bg/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/ca/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/gl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/nl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/pl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/cs/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/da/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/de/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/el/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/es/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/et/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/eu/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/fi/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/fr/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/gl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/he/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/hi/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/hr/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/hu/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/it/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/ja/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/ka/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/lt/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/nb/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/nl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/pl/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/pt/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/ru/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/sv/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/tr/LC_MESSAGES/redshift.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/redshift.mo
%%GUI%%bin/gtk-redshift
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/__init__.py
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/__init__.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/__init__.pyo
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/defs.py
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/defs.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/defs.pyo
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/statusicon.py
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/statusicon.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/statusicon.pyo
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/utils.py
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/utils.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/gtk_redshift/utils.pyo
%%GUI%%share/applications/gtk-redshift.desktop
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__init__.py
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/__init__.cpython-36.%%PYTHON_PYOEXTENSION%%
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/__init__.cpython-36.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/defs.cpython-36.%%PYTHON_PYOEXTENSION%%
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/defs.cpython-36.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/statusicon.cpython-36.%%PYTHON_PYOEXTENSION%%
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/statusicon.cpython-36.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/utils.cpython-36.%%PYTHON_PYOEXTENSION%%
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/__pycache__/utils.cpython-36.pyc
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/defs.py
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/statusicon.py
%%GUI%%%%PYTHON_SITELIBDIR%%/redshift_gtk/utils.py
%%GUI%%bin/redshift-gtk