Commit Graph
609 Commits
Author SHA1 Message Date
Jon Lund Steffensen f436cf69bf Fix #64: Fix Geoclue support when run outside of X
Fix check of error value returned.
Geoclue requires DISPLAY to be set, so try DISPLAY=:0 if not already set.
2014-04-13 22:41:26 +02:00
Jon Lund Steffensen 0cf506e9cb Fix #66: Do not distribute redshift-gtk, only redshift-gtk.in 2014-04-13 22:18:44 +02:00
Jon Lund Steffensen 07c8ee9e76 Fix #67: Geoclue should pull in Glib as dependency
Add checks in configure.ac for Glib and pull in through Makefile.am when
Geoclue support is enabled.
2014-04-13 22:10:34 +02:00
Mattias Andrée 5ad49f9e49 Try to use DISPLAY=:0 if not in X
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-11 07:28:14 +02:00
Mattias Andrée 4202e1d6f4 Do not segfault just because an error has not been given
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-04-11 07:24:57 +02:00
Jon Lund Steffensen 9426e9fba0 redshift-gtk: Fix crash when toggling state using the status icon 2014-04-11 00:26:57 +02:00
Jon Lund Steffensen a889017084 Update po files from source 2014-04-06 21:21:19 +02:00
Jon Lund Steffensen 6f7060d05a Merge release branch for 1.9 2014-04-06 21:19:21 +02:00
Jon Lund Steffensen 76e91c9631 contrib: Update Fedora RPM spec for 1.9 2014-04-06 21:18:49 +02:00
Jon Lund Steffensen e6507d7778 HACKING: Update to Markdown syntax; add notes on making releases 2014-04-06 21:02:45 +02:00
Jon Lund Steffensen d8c512ab73 Update NEWS and configure.ac for 1.9 release 2014-04-06 20:24:53 +02:00
Jon Lund Steffensen de959594f3 Update translations from launchpad 2014-04-06 19:49:33 +02:00
Jon Lund Steffensen 3d44d2c506 Fix #52: Require Python 3.2 for GUI script 2014-03-26 11:23:25 +01:00
Mattias Andrée 41d6333cd9 Typo in DESIGN: whic => which
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-23 06:06:24 +01:00
Mattias Andrée 47241e0fc7 Update .gitignore with data/systemd/redshift{,-gtk}.service
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-23 06:00:47 +01:00
Jon Lund Steffensen 7685169385 Fix #22: remove initial underscore from include guards 2014-03-23 01:34:05 +01:00
Philipp Hagemeister ae5c6f5d83 [redshift-gtk] Add BSD support to proc title setting 2014-03-23 01:16:44 +01:00
Mattias Andrée 3eac70572d Fix #40: redshift-gtk: toggle_item is checkbox that follows the icon
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-23 00:52:32 +01:00
Jon Lund Steffensen ee7252e6fd Merge pull request #46 from maandree/gamma
Apply gamma after brightness and temperature
2014-03-23 00:00:54 +01:00
Jon Lund Steffensen 09efaddd23 Merge pull request #42 from maandree/gamma-drm
Support for running Redshift outside X using libdrm
2014-03-22 20:13:00 +01:00
Jon Lund Steffensen bf858504d8 Update Fedora spec file with systemd unit install
Install user unit files into %{_userunitdir}.
Update build requirements.
Fix invalid date in changelog.
2014-03-22 19:55:36 +01:00
Mattias Andrée 67f479d057 Support for running Redshift without a graphical environment in Linux by using Direct Rendering Manager
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-22 19:46:11 +01:00
Jon Lund Steffensen 8e0c6dd3ac Makefile.am: Substitute AM_CPPFLAGS for deprecated INCLUDES 2014-03-22 18:23:32 +01:00
Jon Lund Steffensen 0f9b6df60a Update bug report URL to github 2014-03-21 01:14:13 +01:00
Jon Lund Steffensen 00bb68332d Merge branch 'systemd-service'
Add systemd user unit files for redshift and redshift-gtk.
Fixes #35, fixes #50.
2014-03-20 17:27:51 +01:00
Jon Lund Steffensen fd6cb64a74 Add systemd user unit file for redshift-gtk 2014-03-20 17:27:00 +01:00
Henry de Valence a6f07cbb0e Add systemd .service file for redshift
Add a systemd user .service file to allow users to run redshift as a
daemon using systemd. Also adds a new configure option,
`--with-systemduserunitdir`, which gives the install path.

If set to `no`, systemd support is disabled.
If not set, we use `pkg-config` to find the path.
2014-03-20 17:27:00 +01:00
Jon Lund Steffensen 3aa48244b3 Update fedora spec file for Python3 dependency 2014-03-18 16:57:48 +01:00
Jon Lund Steffensen 0ca048651e HACKING: Remove PYTHONHOME from example
Should have been PYTHONPATH but since the path is set by the script it is no
longer necessary.
2014-03-18 16:29:01 +01:00
Jon Lund Steffensen f17e1d1f98 Merge pull request #45 from phihag/setproctitle
redshift-gtk: Set proc title using libc prctl
2014-03-18 16:25:51 +01:00
Jon Lund Steffensen fe002cf541 Merge pull request #48 from maandree/man
Man page improvement and fix typos
2014-03-18 16:13:58 +01:00
Mattias Andrée 757e274836 Use randr in example of conf file instead of vidmode, randr is superior to vidmode because it supports multple monitors where as vidmode only supports multiple screens
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-18 11:20:44 +01:00
Mattias Andrée e119de9aec spello: continously => continuously
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-18 11:17:36 +01:00
Mattias Andrée b724bf06c9 Apply gamma after brightness and termperature
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-18 07:11:24 +01:00
Philipp Hagemeister 3e58daa3f4 [gtk] Set proc title
Try to set the process title during startup. Before, redshift-gtk appeared as a python process.
This change enables `pgrep redshift-gtk` or `killall redshift-gtk`.
2014-03-17 15:37:37 +01:00
Jon Lund Steffensen f5da6bf71f Merge remote-tracking branch 'maandree/leaks' 2014-03-13 12:31:25 +01:00
Jon Lund Steffensen 32d5b17d6d Fixes #38: Merge branch 'xdg-config-dirs' 2014-03-13 01:50:43 +01:00
Jon Lund Steffensen 0ab205f50a config-ini: Simplify file path construction for XDG_CONFIG_DIRS
Add comment pointing to the XDG Base Directory Specification.
2014-03-13 01:42:04 +01:00
Mattias Andrée 9a33837a3f fopen directly instead of stat:ing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-13 01:42:04 +01:00
Mattias Andrée b2e2e4831c Free resources from config-ini.c on exit
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-13 00:29:58 +01:00
Mattias Andrée 68deadbda4 Look for configuration file in XDG_CONFIG_DIRS and /etc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-11 18:33:00 +01:00
Mattias Andrée bb155ac185 When looking for a redshift.conf file do not just check environment variable, also check that the file exists
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-11 18:20:35 +01:00
Mattias Andrée 058db22ada Add src/redshift to .gitignore
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-11 17:58:08 +01:00
Mattias Andrée f5a7d6e393 If even HOME is missing look up the user's home directory from passwd
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-11 17:57:30 +01:00
Jon Lund Steffensen e26337db2e Outcomment .gitignore line that erroneously blocks the src/redshift-gtk dir 2014-02-01 23:05:51 +01:00
Jon Lund Steffensen 2c5b79fe24 Merge pull request #21 from TingPing/py3k
Add Python 3 support
Update icon cache on install
Add more files to .gitignore
Fix PyGI deprecation warning
2014-01-06 11:39:33 -08:00
TingPing 5340f2eb40 Fix PyGI deprecated warnings 2014-01-01 14:11:11 -05:00
TingPing 635e192fb7 Update .gitignore 2014-01-01 14:11:11 -05:00
TingPing d7975feaea Update icon cache on install 2014-01-01 14:11:11 -05:00
TingPing 8768ba76f8 Port redshift-gtk to Python3
Python 2 is no longer supported
2014-01-01 14:11:11 -05:00