1
1
2
- Build from repository
3
- ---------------------
2
+ Building from git clone
3
+ -----------------------
4
4
5
5
``` shell
6
6
$ ./bootstrap
@@ -44,6 +44,7 @@ You can now run the python script. Example:
44
44
$ $HOME /redshift/root/bin/redshift-gtk
45
45
```
46
46
47
+
47
48
Dependencies
48
49
------------
49
50
@@ -57,18 +58,19 @@ Dependencies
57
58
* python3, pygobject, pyxdg (Optional, for GUI support)
58
59
* appindicator (Optional, for Ubuntu-style GUI status icon)
59
60
60
- Ubuntu users will find all these dependencies in the packages listed in `` .travis.yml `` .
61
+ Ubuntu users will find all these dependencies in the packages listed in `` .travis.yml `` .
61
62
62
- Coding style
63
- ------------
63
+
64
+ Coding style for C code
65
+ -----------------------
64
66
65
67
Redshift follows roughly the Linux coding style
66
68
< http://www.kernel.org/doc/Documentation/CodingStyle > . Some specific rules to
67
69
note are:
68
70
69
- * Lines should not be much longer than 80 chars but this is not strictly
70
- enforced. If lines are much longer than this the code could likely be improved
71
- by moving some parts to a smaller function.
71
+ * Lines should not be longer than 80 characters in new code. If lines are
72
+ longer than this the code could likely be improved by moving some parts to a
73
+ smaller function.
72
74
* All structures are typedef'ed.
73
75
* Avoid Yoda conditions; they make the logic unnecessarily hard to comprehend.
74
76
* Avoid multiline if-statements without braces; either use a single line or add
@@ -98,7 +100,7 @@ Creating a pull request
98
100
5 . Discussion will ensue. If you are not prepared to partake in the discussion
99
101
or further improve your patch for inclusion, please say so and someone else
100
102
may be able to take on responsibility for your patch. Otherwise we will
101
- assume that you will be open to critisism and suggestions for improvements
103
+ assume that you will be open to criticism and suggestions for improvements
102
104
and that you will take responsibility for further improving the patch. You
103
105
can add further commits to your topic branch and they will automatically be
104
106
added to the pull request when you push them to Github.
@@ -118,6 +120,15 @@ If you want to learn more about the Git branching model that we use please see
118
120
the ` master ` branch as ` develop ` .
119
121
120
122
123
+ Contributing translations
124
+ -------------------------
125
+
126
+ You can contribute translations directly at
127
+ [ Launchpad Translations for Redshift] ( https://translations.launchpad.net/redshift ) .
128
+ Updated translations will be pulled back into the ` po ` files on Github
129
+ before a release is made.
130
+
131
+
121
132
Creating a new release
122
133
----------------------
123
134
0 commit comments