mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
Compare commits
No commits in common. "master" and "0.1.0" have entirely different histories.
2
AUTHORS
2
AUTHORS
@ -2,7 +2,7 @@ Copyright (C) 2021 June Tate-Gans <june@theonelab.com>
|
||||
|
||||
Original Authors:
|
||||
|
||||
"ecraven" (original g13d C++ daemon, which this code base diverged from and was ultimately totally rewritten from)
|
||||
"ecraven" (original g13d C++ daemon, which this code base diverged from)
|
||||
James Fowler (C++ fixes in the original codebase)
|
||||
|
||||
Contributors:
|
||||
|
@ -1,26 +0,0 @@
|
||||
## 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,10 +10,6 @@ subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
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
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
|
45
PKGBUILD
Normal file
45
PKGBUILD
Normal file
@ -0,0 +1,45 @@
|
||||
# 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,9 +54,8 @@ your appropriate distro-specific location.
|
||||
|
||||
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
|
||||
build for Debian, Ubuntu, and an experimental package for Fedora. Patches are
|
||||
welcome to help improve availability on other platforms and will be considered
|
||||
on a case by case basis to protect the project's copyrights.
|
||||
build for Debian, Ubuntu, Arch, Manjaro, and an experimental package for
|
||||
Fedora. Patches are welcome to help improve availability on other platforms.
|
||||
|
||||
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
|
||||
@ -81,9 +80,21 @@ install using `make install`.
|
||||
|
||||
#### Arch and Arch derivatives
|
||||
|
||||
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
|
||||
First, setup your system with build tooling:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user