Commit Graph
70 Commits
Author SHA1 Message Date
Cameron Norman 122a26ac79 Add AppArmor profile 2017-10-10 23:24:21 -07:00
Jon Lund Steffensen df10508e30 corelocation: Update continuously 2017-08-17 20:24:32 -07:00
Jon Lund Steffensen 4adb93a448 Remove deprecated geoclue 1 location provider 2017-08-16 20:46:53 -07:00
Jon Lund Steffensen 4e6f2fa7ab Add Windows resources 2017-07-30 15:39:08 -07:00
Jon Lund Steffensen 6e3d806208 configure.ac: Bump version to 1.11 2016-01-02 17:00:25 -05:00
Jon Lund Steffensen 8a63df181a configure.ac: Update version to 1.10 2015-01-04 14:53:16 -05:00
Jon Lund Steffensen 8839dcd530 Add CoreLocation (OSX) location provider
Similarly to the Geoclue provider, the CoreLocation provider only
requests the location on startup.
2014-12-15 20:36:35 -05:00
Jon Lund Steffensen 980a993c98 Add Quartz (OSX) gamma adjustment method 2014-12-15 20:31:51 -05:00
Jon Lund Steffensen ee7e91dd86 Fix #80: Add Geoclue2 location provider
This simply runs a GLib main loop when the location is requested
and tries to get the location from GeoClue2. We need to run a
main loop since the location is not immediately available, instead
it becomes available through a signal.
2014-12-15 01:47:49 -05:00
Jon Lund Steffensen 0af9072793 systemtime: Use gettimeofday if POSIX timers not available 2014-12-15 01:40:37 -05:00
Jon Lund Steffensen 3fc0c8cdbc contrib: Do not generate RPM spec
The RPM spec needs to be maintained manually anyway so it does not make
sense to autogenerate the file with the latest version number. This should
be done manually while updating dependencies and changelog.
2014-12-15 01:38:44 -05:00
Jon Lund Steffensen cf779a7c17 configure.ac: Fix undefined GETTEXT_PACKAGE on install 2014-08-16 23:23:42 -04:00
Jon Lund Steffensen 4697c37a83 Make desktop file translatable
Changes bootstrap script to run libtoolize. Some extra magic was needed for
autoreconf (taken from GNOME projects).
The INTLTOOL_DESKTOP_RULE should be used in Makefile.am but is unfortunately
broken at this time for out-of-source builds. The rule is instead copied and
fixed in Makefile.am.
2014-05-28 21:49:11 -04:00
Jon Lund Steffensen 565ffc3c50 Update NEWS and configure.ac for 1.9.1 release 2014-04-20 19:55:26 +02:00
Jon Lund Steffensen 254b1e2a57 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-20 19:36:03 +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 3d44d2c506 Fix #52: Require Python 3.2 for GUI script 2014-03-26 11:23:25 +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
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 0f9b6df60a Update bug report URL to github 2014-03-21 01:14:13 +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
TingPing 8768ba76f8 Port redshift-gtk to Python3
Python 2 is no longer supported
2014-01-01 14:11:11 -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 79bfe9eed4 Remove Gnome Clock location provider
This was basically a hack that happened to work because the Gnome Clock
applet could store the current location of the user, and Redshift was able
to fetch this location through GConf. Since Redshift for some time now has
supported a config file where the location can be set, there is not really
any reason to use an external, fragile solution to do the same.
2013-12-09 14:07:01 -05:00
Jon Lund Steffensen 2d4a5ad26b Add dummy gamma adjustment method
This method does not do anything but print the temperature to the terminal.
An external program implementing a color temperature adjustment scheme that
is not supported by redshift can use this method to determine the desired
color temperature. It is also useful for testing other parts of redshift on
systems where neither RandR nor VidMode works.
2013-12-09 10:48:45 -05:00
Jon Lund Steffensen 1a8a6ec230 Fix configure script status output for GUI 2013-12-08 14:32:31 -05:00
Jon Lund Steffensen d9f35a5989 Clean up install instructions in README, INSTALL, HACKING
Setup automake to "foreign" so that no additional files are required to be present.
Remove AUTHORS and ChangeLog (this info can be found in the git repository), and remove INSTALL.
Add a reference to the HACKING document in README.
Add dependency information in HACKING.
2013-11-23 17:12:07 -05:00
Jon Lund Steffensen d185fa7a1c Bump version to 1.8 2013-10-21 16:18:42 -04:00
Jon Lund Steffensen 4735bf9221 configure.ac: Require autoconf 2.69
From fedora bug report:
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in
autoconf 2.69.  redshift appears to use an earlier version of
autoconf, preventing its being built.
(Thanks Miloš Komarčević, Dennis Gilmore)
2013-10-21 14:59:42 -04:00
Jon Lund Steffensen 30c805f5e7 Rename gtk-redshift -> redshift-gtk.
This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix.
2013-03-05 23:17:54 +01:00
Jon Lund Steffensen 942a3fdb5e Update NEWS and configure.ac for 1.7 release. 2011-07-04 15:25:02 +02:00
Albert Lee 4b05bbee41 Use signal.h instead of sys/signal.h for POSIX compliance. 2011-07-04 14:20:51 +02:00
Jon Lund Steffensen adbcc89b3e Install Ubuntu icons as option (--enable-ubuntu). (Francesco Marella) 2011-07-04 14:14:44 +02:00
Jon Lund Steffensen 28d553ddbb Merge Geoclue location provider by Mathieu Trudel-Lapierre with some tweaks. 2011-03-28 00:14:58 +02:00
Mathieu Trudel-Lapierre 3bf1f85267 Add first pass of Geoclue location provider. 2011-02-09 23:31:17 -05:00
Jon Lund Steffensen 5209055f5c Update AUTHORS, NEWS and configure.ac for 1.6 release. 2010-10-18 00:17:49 +02:00
Jon Lund Steffensen dd36e21b6d Update NEWS, AUTHORS and configure.ac for 1.5 release. 2010-08-18 20:57:42 +02:00
Jon Lund Steffensen fb7f1b5a4a Merge GUI optimization from Francesco Marella with a few tweaks. 2010-07-28 00:48:49 +02:00
Francesco Marella 34a288486d Optimize indicators code.
User, at configure time, chooses to enable or disable the gui. Determine 
at runtime whether to use the appindicator or status icon as fallback.
2010-07-21 16:30:08 +02:00
Jon Lund Steffensen 7db6532b9d Move gtk-redshift.desktop file to data dir. 2010-06-30 20:10:12 +02:00
Jon Lund Steffensen d16a13f85d Update AUTHORS, NEWS, configure.ac for 1.4.1. 2010-06-15 12:58:59 +02:00
Jon Lund Steffensen 20e4e5c51c Fix build in Fedora. 2010-06-15 12:27:57 +02:00
Jon Lund Steffensen 57afd85c00 Add missing file to Makefile.am.
Fix detection of GUI dependencies in configure.ac.
2010-06-13 23:53:36 +02:00
Jon Lund Steffensen aa95d01f78 Update configure.ac for 1.4 release. 2010-06-13 22:29:01 +02:00
Francesco Marella 6ffa6e458e Use AM_SILENT_RULES, if available, to supress verbose make output. 2010-06-10 13:38:15 +02:00
Jon Lund Steffensen 79d6d29889 Merge application indicator support from Franesco Marella.
Change GUI configuration parameter in configure.ac to --enable-gui.
Distribute defs.py.in and gtk-redshift.in even if GUI is disabled.
Update POTFILES.in and update translation files.
2010-06-06 23:34:49 +02:00
Francesco Marella a5b9ff65c4 Add the autofoo needed to choose GTK+ status icon or app-indicator
Passing 'enable-appindicator=yes' to the configure script the GTK+ status icon will be disabled.
2010-06-04 12:42:31 +02:00
Jon Lund Steffensen 38aea51b22 Add location provider that reads location from the gconf key associated
with the GNOME Clock applet. The implementation is rather simplistic as
 it only reads the location once on init but that'll have to do for now.
2010-05-25 01:23:42 +02:00
Jon Lund Steffensen 52a5a370fd systemtime.c: Portably read current time on posix and windows.
w32gdi.c: Implements gamma ramp method for Windows GDI API.
Use double as a cross platform time representation.
Add WinGDI as a selectable method (currently limitied to minimum 4500K).
Fix a bug where redshift would crash if RANDR failed and VidMode wasn't
 compiled in.
2010-05-06 23:56:52 +02:00
Jon Lund Steffensen 9b3e5c5eb7 configure.ac: Remove useless malloc check, add check for sys/signal.h. 2010-05-06 23:49:04 +02:00