Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 13:45:20 -0600 (CST)
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/152554: New Port: accessibililty/redshift
Message-ID:  <201011241945.oAOJjK8j081567@nas.feld.me>
Resent-Message-ID: <201011242010.oAOKADgh078471@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152554
>Category:       ports
>Synopsis:       New Port: accessibililty/redshift
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 24 20:10:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Mark Felder
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD nas.feld.me 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
Redshift is an application to automatically change the color
temperature of your screen according to your surroundings.
This program was inspired by f.lux, which is based on
research that the color temp of your screen can affect
sleep patterns.

Also, it makes your screen really easy on your eyes at night.
>How-To-Repeat:
	
>Fix:

	

--- redshift.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	redshift
#	redshift/Makefile
#	redshift/distinfo
#	redshift/pkg-descr
#	redshift/pkg-plist
#
echo c - redshift
mkdir -p redshift > /dev/null 2>&1
echo x - redshift/Makefile
sed 's/^X//' >redshift/Makefile << '4aa48a5d92f1fab3727acd45363807a9'
X# New ports collection makefile for:   redshift
X# Date created:        Wed Nov 24 12:35:17 CST 2010
X# Whom:                Mark Felder <feld@feld.me>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	redshift
XPORTVERSION=	1.6
XCATEGORIES=	accessibility
XMASTER_SITES=	http://launchpad.net/redshift/trunk/${PORTVERSION}/+download/
XDISTFILES=	redshift-1.6.tar.bz2
X
XMAINTAINER=	feld@feld.me
XCOMMENT=	Adjusts the color temperature of your screen.
X
XFETCH_ARGS=	"-pRr"
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_ICONS=	yes
XMAN1=		redshift.1
XMANCOMPRESSED=	no
X
XWRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
XCONFIGURE_ARGS+=--disable-wingdi --disable-gnome-clock --disable-gui
X
X.if !defined(WITHOUT_NLS)
XUSE_GETTEXT=	yes
XCONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
X		--with-libintl-prefix=${LOCALBASE}
XPLIST_SUB=	NLS=""
X.else
XCONFIGURE_ARGS+=--disable-nls
XPLIST_SUB=	NLS="@comment "
X.endif
X
XOPTIONS=	GUI		"Tray icon & location via Gnome clock" off \
X		RANDR		"Support RANDR for changing colors" on \
X		VIDMODE		"Support VIDMODE for changing colors (NVIDIA)" off
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_RANDR)
XCONFIGURE_ARGS+=--enable-randr
X.else
XCONFIGURE_ARGS+=--disable-randr
X.endif
X
X.if defined(WITH_VIDMODE)
XCONFIGURE_ARGS+=--enable-vidmode
X.else
XCONFIGURE_ARGS+=--disable-vidmode
X.endif
X
X.if defined(WITH_GUI)
XCONFIGURE_ARGS+=--enable-gui --enable-gnome-clock
XRUN_DEPENDS+=	py-gtk2:${PORTSDIR}/x11-toolkits/py-gtk2 \
X		py-xdg:${PORTSDIR}/devel/py-xdg
XPLIST_SUB+=	GUI=""
X.else
XCONFIGURE_ARGS+=--disable-gui --disable-gnome-clock
XPLIST_SUB+=	GUI="@comment "
X.endif
X
X.include <bsd.port.mk>
4aa48a5d92f1fab3727acd45363807a9
echo x - redshift/distinfo
sed 's/^X//' >redshift/distinfo << 'f3d02fc539267c5d14f74d46829d0c65'
XSHA256 (redshift-1.6.tar.bz2) = 9107451dee3c71c6ea146cb5409390814bf85b56ea495fb576c28f6e31fc863c
XSIZE (redshift-1.6.tar.bz2) = 266881
f3d02fc539267c5d14f74d46829d0c65
echo x - redshift/pkg-descr
sed 's/^X//' >redshift/pkg-descr << '9c2b29f07cd1eac308bcf8375b16bd81'
XRedshift adjusts the color temperature of your screen according 
Xto your surroundings. This may help your eyes hurt less if you 
Xare working in front of the screen at night.
X
XWWW: http://jonls.dk/redshift/
9c2b29f07cd1eac308bcf8375b16bd81
echo x - redshift/pkg-plist
sed 's/^X//' >redshift/pkg-plist << 'd2d2ff050bb9f9025da1aa470c49befc'
Xbin/redshift
Xshare/icons/hicolor/scalable/apps/redshift.svg
Xshare/icons/hicolor/scalable/apps/redshift-status-off.svg
Xshare/icons/hicolor/scalable/apps/redshift-status-on.svg
Xshare/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg
Xshare/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg
Xshare/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg
Xshare/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg
X%%NLS%%share/locale/cs/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/da/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/de/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/es/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/eu/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/fi/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/he/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/it/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/ka/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/lt/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/pt_BR/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/ru/LC_MESSAGES/redshift.mo
X%%NLS%%share/locale/zh_CN/LC_MESSAGES/redshift.mo
X%%GUI%%bin/gtk-redshift
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/__init__.py
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/__init__.pyc
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/__init__.pyo
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/defs.py
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/defs.pyc
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/defs.pyo
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/statusicon.py
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/statusicon.pyc
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/statusicon.pyo
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/utils.py
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/utils.pyc
X%%GUI%%lib/python2.6/site-packages/gtk_redshift/utils.pyo
X%%GUI%%share/applications/gtk-redshift.desktop
X@dirrmtry share/icons/ubuntu-mono-dark/scalable/apps
X@dirrmtry share/icons/ubuntu-mono-dark/scalable
X@dirrmtry share/icons/ubuntu-mono-dark
X@dirrmtry share/icons/ubuntu-mono-light/scalable/apps
X@dirrmtry share/icons/ubuntu-mono-light/scalable
X@dirrmtry share/icons/ubuntu-mono-light
X@dirrmtry lib/python2.6/site-packages/gtk_redshift
d2d2ff050bb9f9025da1aa470c49befc
exit
--- redshift.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011241945.oAOJjK8j081567>