Update to redshift-1.9.1.

This commit is contained in:
ajacoutot 2014-08-29 22:07:38 +00:00
parent 8df83daf34
commit 0fcb9af26c
5 changed files with 69 additions and 22 deletions

View File

@ -1,10 +1,13 @@
# $OpenBSD: Makefile,v 1.18 2014/03/13 18:11:43 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.19 2014/08/29 22:07:38 ajacoutot Exp $
COMMENT= automatic color temperature adjustment
V= 1.8
V= 1.9.1
DISTNAME= redshift-${V}
EXTRACT_SUFX= .tar.bz2
GH_PROJECT= redshift
GH_ACCOUNT= jonls
DISTFILES= v${V}${EXTRACT_SUFX}
CATEGORIES= misc graphics
@ -13,27 +16,36 @@ HOMEPAGE= http://jonls.dk/redshift/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xxf86vm c dbus-1 dbus-glib-1 gconf-2 geoclue glib-2.0
WANTLIB += X11 Xxf86vm c dbus-1 dbus-glib-1 drm geoclue glib-2.0
WANTLIB += gobject-2.0 m pthread xcb xcb-randr xml2
MASTER_SITES= http://launchpad.net/redshift/trunk/${V:C/^([0-9]+\.[0-9]+).*/\1/}/+download/
MODULES= devel/gettext \
lang/python
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
MODPY_ADJ_FILES= src/redshift-gtk/redshift-gtk.in
LIB_DEPENDS= geo/geoclue
RUN_DEPENDS= devel/desktop-file-utils \
x11/py-gtk2 \
devel/py-xdg \
devel/py-xdg${MODPY_FLAVOR} \
x11/gtk+2,-guic
LIB_DEPENDS= devel/gconf2 \
geo/geoclue
# pygobject GTK3 introspection (not provided by indirect dependencies)
RUN_DEPENDS += x11/gtk+3
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-gui
MODPY_ADJ_FILES= src/redshift-gtk/redshift-gtk
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.14
pre-configure:
cd ${WRKSRC} && \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf -i
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (redshift-1.8.tar.bz2) = keB5h7zR9TKvOY2YfcOlGm5KW1/B2y43cChQvJ0T1hg=
SIZE (redshift-1.8.tar.bz2) = 276449
SHA256 (v1.9.1.tar.gz) = MWNqdsNUTNHv081D9EPZe2P50nxLzJBhmJfPSJ6nR2Y=
SIZE (v1.9.1.tar.gz) = 163257

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_gamma-drm_c,v 1.1 2014/08/29 22:07:38 ajacoutot Exp $
--- src/gamma-drm.c.orig Fri Aug 29 23:37:37 2014
+++ src/gamma-drm.c Fri Aug 29 23:37:43 2014
@@ -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

@ -0,0 +1,14 @@
$OpenBSD: patch-src_location-geoclue_c,v 1.1 2014/08/29 22:07:38 ajacoutot Exp $
--- src/location-geoclue.c.orig Sun Apr 20 19:55:26 2014
+++ src/location-geoclue.c Fri Aug 29 23:51:06 2014
@@ -36,8 +36,8 @@
# define _(s) s
#endif
-#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.UbuntuGeoIP"
-#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/UbuntuGeoIP"
+#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.Hostip"
+#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/Hostip"
int
location_geoclue_init(location_geoclue_state_t *state)

View File

@ -1,42 +1,52 @@
@comment $OpenBSD: PLIST,v 1.6 2014/03/13 18:11:43 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.7 2014/08/29 22:07:38 ajacoutot Exp $
@bin bin/redshift
bin/redshift-gtk
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/__init__.py
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}defs.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}defs.${MODPY_PYC_MAGIC_TAG}pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}statusicon.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}statusicon.${MODPY_PYC_MAGIC_TAG}pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/defs.py
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/defs.pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/defs.pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/statusicon.py
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/statusicon.pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/statusicon.pyo
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/utils.py
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/utils.pyc
lib/python${MODPY_VERSION}/site-packages/redshift_gtk/utils.pyo
@man man/man1/redshift.1
share/applications/redshift-gtk.desktop
share/icons/hicolor/scalable/apps/redshift-status-off.svg
share/icons/hicolor/scalable/apps/redshift-status-on.svg
share/icons/hicolor/scalable/apps/redshift.svg
share/locale/ar/LC_MESSAGES/redshift.mo
share/locale/bg/LC_MESSAGES/redshift.mo
share/locale/ca/LC_MESSAGES/redshift.mo
share/locale/cs/LC_MESSAGES/redshift.mo
share/locale/da/LC_MESSAGES/redshift.mo
share/locale/de/LC_MESSAGES/redshift.mo
share/locale/el/LC_MESSAGES/redshift.mo
share/locale/es/LC_MESSAGES/redshift.mo
share/locale/et/LC_MESSAGES/redshift.mo
share/locale/eu/LC_MESSAGES/redshift.mo
share/locale/fi/LC_MESSAGES/redshift.mo
share/locale/fr/LC_MESSAGES/redshift.mo
share/locale/gl/LC_MESSAGES/redshift.mo
share/locale/he/LC_MESSAGES/redshift.mo
share/locale/hi/LC_MESSAGES/redshift.mo
share/locale/hr/LC_MESSAGES/redshift.mo
share/locale/it/LC_MESSAGES/redshift.mo
share/locale/ja/LC_MESSAGES/redshift.mo
share/locale/ka/LC_MESSAGES/redshift.mo
share/locale/lt/LC_MESSAGES/redshift.mo
share/locale/nb/LC_MESSAGES/redshift.mo
share/locale/nl/LC_MESSAGES/redshift.mo
share/locale/pl/LC_MESSAGES/redshift.mo
share/locale/pt/LC_MESSAGES/redshift.mo
share/locale/pt_BR/LC_MESSAGES/redshift.mo
share/locale/ru/LC_MESSAGES/redshift.mo
share/locale/sv/LC_MESSAGES/redshift.mo
share/locale/zh_CN/LC_MESSAGES/redshift.mo
@exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
@unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor