mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a6462488dc | ||
|
9d6901848c | ||
|
a656ea5fb3 | ||
|
3a5c06f881 | ||
|
cdbb2e6dc3 | ||
|
f645e786eb | ||
|
d1b264281b | ||
|
d6129a05f7 | ||
|
40847a233d | ||
|
174a429271 | ||
|
832e8cac26 |
2
AUTHORS
2
AUTHORS
@ -2,7 +2,7 @@ Copyright (C) 2021 June Tate-Gans <june@theonelab.com>
|
|||||||
|
|
||||||
Original Authors:
|
Original Authors:
|
||||||
|
|
||||||
"ecraven" (original g13d C++ daemon, which this code base diverged from)
|
"ecraven" (original g13d C++ daemon, which this code base diverged from and was ultimately totally rewritten from)
|
||||||
James Fowler (C++ fixes in the original codebase)
|
James Fowler (C++ fixes in the original codebase)
|
||||||
|
|
||||||
Contributors:
|
Contributors:
|
||||||
|
26
CONTRIBUTING.md
Normal file
26
CONTRIBUTING.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
## Contributing Code
|
||||||
|
|
||||||
|
You are welcome to contribute code to G13GUI (hereafter, the Project) in
|
||||||
|
order to fix bugs or implement new features.
|
||||||
|
|
||||||
|
There are three important things to know:
|
||||||
|
|
||||||
|
1. You must be aware of the [license](LICENSE) this project is licensed
|
||||||
|
under, and *agree to the Contributors License Agreement* below. This
|
||||||
|
is common practice in all major Open Source projects.
|
||||||
|
|
||||||
|
2. *Not all proposed contributions will be accepted*.
|
||||||
|
|
||||||
|
## Contributor License Agreement
|
||||||
|
|
||||||
|
When you contribute (code, documentation, or anything else) you have to be
|
||||||
|
aware that your contribution will be licensed by the same license that is
|
||||||
|
applied to the project itself.
|
||||||
|
|
||||||
|
This applies to all contributors, including those contributing on behalf of
|
||||||
|
a company. If you agree to its content, you simply have to write "I agree
|
||||||
|
to the Contributor License Agreement" in a comment on your pull request.
|
||||||
|
|
||||||
|
An explicit carveout is provided for trivial fixes, such as typos, or any
|
||||||
|
other contribution of less than three lines of code changed or added, which
|
||||||
|
does not require agreement to the CLA.
|
4
LICENSE
4
LICENSE
@ -10,6 +10,10 @@ subject to the following conditions:
|
|||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
Packaging of this software for use in a software distribution or software
|
||||||
|
archive is explicitly denied without prior written permission and approval
|
||||||
|
from the author.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
45
PKGBUILD
45
PKGBUILD
@ -1,45 +0,0 @@
|
|||||||
# Maintainer: June Tate-Gans <june@theonelab.com>
|
|
||||||
|
|
||||||
pkgbase="g13gui"
|
|
||||||
pkgname="g13gui-git"
|
|
||||||
pkgrel=1
|
|
||||||
pkgver="(replaceme)"
|
|
||||||
pkgdesc="A user-space driver and GUI configurator for the Logitech G13"
|
|
||||||
arch=('any')
|
|
||||||
url="https://github.com/jtgans/g13gui"
|
|
||||||
license=('MIT')
|
|
||||||
depends=(
|
|
||||||
'python>=3.8'
|
|
||||||
'python-appdirs'
|
|
||||||
'python-cffi'
|
|
||||||
'python-dbus'
|
|
||||||
'python-evdev'
|
|
||||||
'python-gobject'
|
|
||||||
'python-pillow>=10.0.1'
|
|
||||||
'python-psutil'
|
|
||||||
'python-pyusb>=1.0.2'
|
|
||||||
'python-xlib'
|
|
||||||
'gtk3'
|
|
||||||
'xorg-fonts-misc'
|
|
||||||
)
|
|
||||||
makedepends=('git' 'meson')
|
|
||||||
source=("${pkgname}::git+http://github.com/jtgans/g13gui.git")
|
|
||||||
sha256sums=('SKIP')
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "${srcdir}"
|
|
||||||
git rev-parse --short HEAD
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "${srcdir}"
|
|
||||||
git checkout master
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
arch-meson "${srcdir}/${pkgname}" build
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
meson install -C build --destdir "${pkgdir}"
|
|
||||||
}
|
|
23
README.md
23
README.md
@ -54,8 +54,9 @@ your appropriate distro-specific location.
|
|||||||
|
|
||||||
In the major distributions, it should just be possible to run `make` to build
|
In the major distributions, it should just be possible to run `make` to build
|
||||||
a package for your specific distro. As of this writing, there is support to
|
a package for your specific distro. As of this writing, there is support to
|
||||||
build for Debian, Ubuntu, Arch, Manjaro, and an experimental package for
|
build for Debian, Ubuntu, and an experimental package for Fedora. Patches are
|
||||||
Fedora. Patches are welcome to help improve availability on other platforms.
|
welcome to help improve availability on other platforms and will be considered
|
||||||
|
on a case by case basis to protect the project's copyrights.
|
||||||
|
|
||||||
For the most up-to-date build instructions, have a look at the
|
For the most up-to-date build instructions, have a look at the
|
||||||
[.drone.yml](.drone.yml) file, but below are more human-friendly instructions
|
[.drone.yml](.drone.yml) file, but below are more human-friendly instructions
|
||||||
@ -80,21 +81,9 @@ install using `make install`.
|
|||||||
|
|
||||||
#### Arch and Arch derivatives
|
#### Arch and Arch derivatives
|
||||||
|
|
||||||
First, setup your system with build tooling:
|
Arch Linux packaging is explicitly denied due to the project's lack of understanding of
|
||||||
|
legal consent when it comes to copyright. See also the objection from an ex-lawyer on silent
|
||||||
```
|
"consent" here: https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/0040#note_222407
|
||||||
lupin:~/src/g13gui$ sudo pacman -Syu
|
|
||||||
lupin:~/src/g13gui$ sudo pacman -S base-devel python meson lsb-release git
|
|
||||||
```
|
|
||||||
|
|
||||||
And build the package:
|
|
||||||
|
|
||||||
```
|
|
||||||
lupin:~/src/g13gui$ make
|
|
||||||
```
|
|
||||||
|
|
||||||
After this completes, you should have a shiny new `zst` package in `build/` that you can
|
|
||||||
install using `make install`.
|
|
||||||
|
|
||||||
#### Fedora and RPM derivatives
|
#### Fedora and RPM derivatives
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user