Commit Graph
348 Commits
Author SHA1 Message Date
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 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
Jon Lund Steffensen 87c736f39f Merge pull request #19 from TingPing/patch-1
Load config from %LOCALAPPDATA%\redshift.conf on Windows
2013-12-29 19:03:28 -08:00
Jon Lund Steffensen 90dc9a8190 Merge pull request #20 from TingPing/patch-2
gamma-dummy: Remove unused header file

Fixes building on windows
2013-12-29 14:36:31 -08:00
TingPing e8ce0e39b4 Fix building on Windows 2013-12-29 16:06:02 -05:00
TingPing bf14e7bd12 Load config from %LOCALAPPDATA%\redshift.conf on Windows 2013-12-29 14:46:17 -05:00
Jon Lund Steffensen dc9fcec70c Update translation files
Add location-geoclue.c to POTFILES.in
Update .po files
2013-12-12 01:18:37 -05:00
Jon Lund Steffensen 9c85b708c1 Update RPM spec for Gtk/GLib GIR dependency
Depend on pygobject3-base for new Gtk/GLib GIR
Remove configure flag for deprecated GNOME Clock location provider
2013-12-12 01:06:10 -05:00
Jon Lund Steffensen 169fc05f11 Make redshift-gtk read output of the redshift child process.
This allows redshift-gtk to show the current state of the redshift
process. redshift-gtk follows the enable state of redshift and toggles
the icon accordingly.

The implementation is changed to use glib to spawn the child process
instead of relying on python subprocess module. This is necessary
because of inflexibility in the python module.
2013-12-12 00:54:40 -05:00
Jon Lund Steffensen b436a6cd8e redshift-gtk: Use new GIR Gtk/Glib/AppIndicator bindings 2013-12-11 23:34:15 -05:00
Jon Lund Steffensen 199eaed9fc Add updated RPM spec for redshift (based on 1.7-5 in Fedora)
Updated to 1.8.
Includes updates for renamed gtk-redshift to redshift-gtk.
Includes further updates to installed doc files and removes dependencies
for GNOME Clock location provider.
2013-12-11 00:15:50 -05:00
Jon Lund Steffensen 98a34e28c7 Fix errors when running dist targets
Distribute files HACKING, DESIGN and README-colorramp
Remove location-gnome-clock.c from POTFILES.in
2013-12-10 23:29:05 -05:00
Jon Lund Steffensen cf5c1a6fc7 redshift-gtk: Make custom rule in Makefile.am silent 2013-12-10 14:04:01 -05:00