Compare commits

...

7 Commits

@ -3,24 +3,22 @@
Tinge is a mobile first application for controlling Philips Hue lights on Linux
## Installation
Install wxPython (don't use pip to install it) eg. for PostmarketOS:
On Debian/Mobian
```
sudo apk add py3-wxpython
```
or for Debian/Mobian:
```
sudo apt install python3-wxgtk4.0
wget -O - https://repo.mic.ke/PUBLIC.KEY | sudo gpg --output /usr/share/keyrings/micke-archive-unstable.gpg --dearmor
echo "deb [signed-by=/usr/share/keyrings/micke-archive-unstable.gpg] https://repo.mic.ke/debian/ unstable main
deb-src [signed-by=/usr/share/keyrings/micke-archive-unstable.gpg] https://repo.mic.ke/debian/ unstable main" | \
sudo tee /etc/apt/sources.list.d/debian-micke-unstable.list
sudo apt update && sudo apt install python3-tinge
```
clone this repository:
```
git clone https://code.smolnet.org/micke/tinge
```
Run the crude installer:
```
cd tinge
./install.sh
```
If you want to help with packaging in other format, please get in touch by commenting on the appropriate issue:
- [Alpine](https://code.smolnet.org/micke/tinge/issues/10)
- [Appimage](https://code.smolnet.org/micke/tinge/issues/22)
- [Arch](https://code.smolnet.org/micke/tinge/issues/20)
- [Flatpak](https://code.smolnet.org/micke/tinge/issues/21)
- [RPM](https://code.smolnet.org/micke/tinge/issues/9)
## Requirements
Requires a recent Python3 and pip3, most likely python >= 3.7. It is only tested with 3.9 on PostmarketOS on the PinePhone and on Debian Bullseye though.

@ -15,10 +15,11 @@
# 1.0.0
- [x] [Debian package](https://code.smolnet.org/micke/tinge/issues/8)
- [ ] [RPM](https://code.smolnet.org/micke/tinge/issues/9)
- [ ] [Alpine package](https://code.smolnet.org/micke/tinge/issues/10)
- [ ] [Arch package](https://code.smolnet.org/micke/tinge/issues/20)
- [ ] [RPM](https://code.smolnet.org/micke/tinge/issues/9)
- [x] [Custom icon/logo for project](https://code.smolnet.org/micke/tinge/issues/11)
- [x] [Debian package](https://code.smolnet.org/micke/tinge/issues/8)
# 2.0.0
- [ ] [Schedules](https://code.smolnet.org/micke/tinge/issues/12)

@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Where I keep the sources
deb_version=${1}
if [[ "x${deb_version}" == "x" ]]; then
deb_version=1
fi
BASEDIR=~/sources
SRCDIR="${BASEDIR}/tinge"
# Version of Tinge
VERSION=$(grep version= ${SRCDIR}/setup.py | awk -F '"' '{print $2}' )
# Change to source dir
olddir=$(pwd)
cd ${SRCDIR}
# Build deb
python3 setup.py --command-packages=stdeb.command bdist_deb #--debian-version ${deb_version}
cp deb_dist/* ${olddir}
rm -r ${SRCDIR}/deb_dist/ ${SRCDIR}/tinge-${VERSION}.tar.gz
cd ${olddir}

@ -0,0 +1,3 @@
[DEFAULT]
Depends3: python3-upnpy, python3-wxgtk4.0, python3-toml, python3-requests
Debian-Version: 2
Loading…
Cancel
Save