From abd9fd4773830f4ed4300a5b7c62fc51a23304a5 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 17 Mar 2025 20:32:36 +0100 Subject: [PATCH] Update dependencies --- flatpak/com.github.unrud.RemoteTouchpad.yaml | 10 +++++----- flatpak/modules.txt | 14 ++++++++++++++ go.mod | 6 ++++-- go.sum | 4 ++-- 4 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 flatpak/modules.txt diff --git a/flatpak/com.github.unrud.RemoteTouchpad.yaml b/flatpak/com.github.unrud.RemoteTouchpad.yaml index cc261a6..08934d7 100644 --- a/flatpak/com.github.unrud.RemoteTouchpad.yaml +++ b/flatpak/com.github.unrud.RemoteTouchpad.yaml @@ -15,9 +15,6 @@ modules: sources: - type: git path: .. - - type: shell - commands: - - . /usr/lib/sdk/golang/enable.sh; go mod vendor -e - type: git url: https://github.com/godbus/dbus tag: v5.1.0 @@ -29,9 +26,12 @@ modules: dest: vendor/github.com/skip2/go-qrcode - type: git url: https://github.com/golang/net - tag: v0.28.0 - commit: 4542a42604cd159f1adb93c58368079ae37b3bf6 + tag: v0.37.0 + commit: 99b3ae0643f9a2f9d820fcbba5f9e4c83b23bd48 dest: vendor/golang.org/x/net + - type: file + path: modules.txt + dest: vendor buildsystem: simple build-commands: - . /usr/lib/sdk/golang/enable.sh; go build -tags portal,x11 diff --git a/flatpak/modules.txt b/flatpak/modules.txt new file mode 100644 index 0000000..1ac92b8 --- /dev/null +++ b/flatpak/modules.txt @@ -0,0 +1,14 @@ +# github.com/bendahl/uinput v1.7.0 +## explicit; go 1.13 +github.com/bendahl/uinput +# github.com/godbus/dbus/v5 v5.1.0 +## explicit; go 1.12 +github.com/godbus/dbus/v5 +# github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e +## explicit; go 1.13 +github.com/skip2/go-qrcode +github.com/skip2/go-qrcode/bitset +github.com/skip2/go-qrcode/reedsolomon +# golang.org/x/net v0.37.0 +## explicit; go 1.23.0 +golang.org/x/net/websocket diff --git a/go.mod b/go.mod index 50d9d86..c99d2aa 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,12 @@ module github.com/unrud/remote-touchpad -go 1.20 +go 1.23.0 + +toolchain go1.23.7 require ( github.com/bendahl/uinput v1.7.0 github.com/godbus/dbus/v5 v5.1.0 github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e - golang.org/x/net v0.28.0 + golang.org/x/net v0.37.0 ) diff --git a/go.sum b/go.sum index 0f9b239..9cf18b6 100644 --- a/go.sum +++ b/go.sum @@ -4,5 +4,5 @@ github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0= github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod h1:XV66xRDqSt+GTGFMVlhk3ULuV0y9ZmzeVGR4mloJI3M= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c= +golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=