diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | README.md | 40 | ||||
-rw-r--r-- | appveyor.yml | 24 |
3 files changed, 56 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index eef7b6c..18e0e81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +dist: trusty +sudo: required language: c before_install: - sed -i -e 's|AC_PREREQ(\[2.69\])|AC_PREREQ([2.68])|' configure.ac @@ -18,15 +18,29 @@ Build status ------------ [](https://travis-ci.org/jonls/redshift) - -Building from source --------------------- - -See the file [HACKING](HACKING.md) for more details on building from source. +[](https://ci.appveyor.com/project/jonls/redshift) FAQ --- +**How do I install Redshift?** + +Use the packages provided by your distribution, e.g. for Ubuntu: `apt-get install redshift` or `apt-get install redshift-gtk`. For developers, please see _Building from source_ and _Latest builds from master branch_ below. + +**How do I setup a configuration file?** + +A configuration file is not required but is useful for saving custom +configurations and manually defining the location in case of issues with the +automatic location provider. An example configuration can be found in +[redshift.conf.sample](redshift.conf.sample). + +The configuration file should be saved in the following location depending on +the platform: + +- Linux/macOS: `~/.config/redshift.conf`. +- Windows: Put `redshift.conf` in `%USERPROFILE%\AppData\Local\` + (aka `%localappdata%`). + **Where can I find my coordinates to put in the configuration file?** There are multiple web sites that provide coordinates for map locations, for @@ -45,13 +59,13 @@ adjustments to the gamma ramp. Redshift has a brightness adjustment setting but it does not work the way most people might expect. In fact it is a fake brightness adjustment obtained by manipulating the gamma ramps which means that it does not reduce the backlight -of the screen. Preferable only use it if your normal backlight adjustment is +of the screen. Preferably only use it if your normal backlight adjustment is too coarse-grained. **Why doesn't Redshift work on Wayland (e.g. Fedora 25)?** The Wayland protocol does not support Redshift. There is currently no way for -Redshift adjust the color temperature in Wayland. +Redshift to adjust the color temperature in Wayland. **Why doesn't Redshift work on Ubuntu with Mir enabled?** @@ -91,7 +105,13 @@ Please go to [the issue tracker](https://github.com/jonls/redshift/issues) and check if your issue has already been reported. If not, please open a new issue describing you problem. -Donations ---------- +Latest builds from master branch +-------------------------------- + +- [Ubuntu PPA](https://launchpad.net/~dobey/+archive/ubuntu/redshift-daily/+packages) (`sudo add-apt-repository ppa:dobey/redshift-daily`) +- [Windows x64](https://ci.appveyor.com/api/projects/jonls/redshift/artifacts/redshift.zip?branch=master) -[](https://flattr.com/thing/57936/Redshift) +Building from source +-------------------- + +See the file [HACKING](HACKING.md) for more details on building from source. diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d903d78 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +image: +- Visual Studio 2015 + +environment: + MSYS_ARCH: x86_64 + +build: + verbosity: detailed + +build_script: +- echo %PATH% +- set PATH=C:\msys64\usr\bin;C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% +- set CC=gcc +- set MSYSTEM=MINGW64 +- bash -lc "pwd" +- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap" +- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./configure --enable-static --disable-shared --disable-drm --disable-randr --disable-vidmode --enable-wingdi --disable-quartz --disable-geoclue --disable-geoclue2 --disable-corelocation --disable-gui --disable-ubuntu --disable-nls --host=x86_64-w64-mingw32" +- bash -lc "cd $APPVEYOR_BUILD_FOLDER && make" + +after_build: +- cmd: >- + 7z a redshift.zip ./src/redshift.exe COPYING NEWS README.md + + appveyor PushArtifact redshift.zip |