Skip to content

Commit 4870656

Browse files
committed
Update: unify and clean License to Apache2.0
1 parent 023426a commit 4870656

30 files changed

+93
-93
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,18 @@ Before sending code out for review, run all the tests for the whole tree to make
3030

3131
In addition to the owner, Changes to Robotgo must be reviewed before they are accepted, no matter who makes the change even if it is a maintainer. We use GitHub's pull request workflow to do that and we also use [LGTM](http://lgtm.co) to ensure every PR is reviewed by vz or least 2 maintainers.
3232

33-
3433
## Sign your work
3534

36-
The sign-off is a simple line at the end of the explanation for the patch. Your signature certifies that you wrote the patch or otherwise have the right to pass it on as an open-source patch.
35+
The sign-off is a simple line at the end of the explanation for the patch. Your signature certifies that you wrote the patch or otherwise have the right to pass it on as an open-source patch.
3736

3837
## Maintainers
3938

40-
To make sure every PR is checked, we got team maintainers. A maintainer should be a contributor of Robotgo and contributed at least 4 accepted PRs.
39+
To make sure every PR is checked, we got team maintainers. A maintainer should be a contributor of Robotgo and contributed at least 4 accepted PRs.
4140

4241
## Owners
4342

4443
Since Robotgo is a pure community organization without any company support, Copyright 2016 The go-vgo Project Developers.
4544

46-
4745
## Versions
4846

4947
Robotgo has the `master` branch as a tip branch and has version branches such as `v0.30.0`. `v0.40.0` is a release branch and we will tag `v0.40.0` for binary download. If `v0.40.0` has bugs, we will accept pull requests on the `v0.40.0` branch and publish a `v0.40.1` tag, after bringing the bug fix also to the master branch.
@@ -60,9 +58,9 @@ Code that you contribute should use the standard copyright header:
6058
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
6159
//
6260
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
63-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
64-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
65-
// option. This file may not be copied, modified, or distributed
61+
// http://www.apache.org/licenses/LICENSE-2.0>
62+
//
63+
// This file may not be copied, modified, or distributed
6664
// except according to those terms.
6765
```
6866

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ GCC
6161
```
6262

6363
#### For MacOS:
64+
6465
```
6566
brew install go
6667
```
@@ -72,6 +73,7 @@ xcode-select --install
7273
```
7374

7475
#### For Windows:
76+
7577
```
7678
winget install Golang.go
7779
```
@@ -535,6 +537,6 @@ func main() {
535537

536538
## License
537539

538-
Robotgo is primarily distributed under the terms of "both the MIT license and the Apache License (Version 2.0)", with portions covered by various BSD-like licenses.
540+
Robotgo is primarily distributed under the terms of "the Apache License (Version 2.0)", with portions covered by various BSD-like licenses.
539541

540-
See [LICENSE-APACHE](http://www.apache.org/licenses/LICENSE-2.0), [LICENSE-MIT](https://github.com/go-vgo/robotgo/blob/master/LICENSE).
542+
See [LICENSE-APACHE](http://www.apache.org/licenses/LICENSE-2.0), [LICENSE](https://github.com/go-vgo/robotgo/blob/master/LICENSE).

doc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

examples/key/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package main

examples/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package main

examples/mouse/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package main

examples/screen/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package main

examples/window/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package main

img.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

key.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

key/key.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package key

key/keypress_c.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
#include "../base/deadbeef_rand_c.h"

keycode.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

mouse/mouse.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package mouse

ps.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

robot_info_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo_test

robotgo.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
/*

robotgo_mac.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build darwin

robotgo_mac_unix.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build !windows

robotgo_mac_win.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build darwin || windows

robotgo_ocr.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build ocr

robotgo_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build darwin || windows

robotgo_win.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build windows

robotgo_x11.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
//go:build !darwin && !windows

screen.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
package robotgo

screen/goScreen.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
#include "../base/types.h"

window/goWindow.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
#include "alert_c.h"

window/pub.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// https://github.com/go-vgo/robotgo/blob/master/LICENSE
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
6+
// http://www.apache.org/licenses/LICENSE-2.0>
7+
//
8+
// This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

1111
// #include "../base/os.h"

0 commit comments

Comments
 (0)