Skip to content

Commit

Permalink
chore: Replace github.com/getlantern/systray with github.com/fyne-io/…
Browse files Browse the repository at this point in the history
…systray (#59)
  • Loading branch information
sonjek authored Dec 9, 2024
1 parent 8c82cc1 commit 4e5831e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 160 deletions.
33 changes: 6 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,19 @@ Additionally, the program allows you to disable the keyboard programmatically (M

### Prepare Build Environment (macOS)

For macOS systems, the installation of build essential tools and development libraries is not needed.
For macOS systems, the installation of additional tools and development libraries is not needed.

### Prepare Build Environment (Debian-Based Linux)
### Prepare Build Environment (Linux/BSD)

To build the application on Debian-based Linux systems, follow these steps to install the necessary dependencies:

1. **Install Build Essential Tools**:
Install the essential tools required for building software on Debian-based systems:

```bash
sudo apt install build-essential
```

2. **Install Development Libraries**:

- **libx11-dev**:
Install the development files for the X11 library, which is required for graphical applications:

```bash
sudo apt install libx11-dev
```

- **libayatana-appindicator3-dev**:
Install the development files for the Ayatana AppIndicator library, which is used for creating application indicators:

```bash
sudo apt install libayatana-appindicator3-dev
```
You may require a proxy app which can convert the new DBus calls to the old format.
More info in [systray](https://github.com/fyne-io/systray?tab=readme-ov-file#linuxbsd) library info.
For Debian-based systems with GTK based trays, use [this](https://gist.github.com/archisman-panigrahi/cd571ddea1aa2c5e2b4fa7bcbee7d5df) script to install **snixembed**.


### Build the Application


1. Verify that you have `Go 1.22+` installed
1. Verify that you have `Go 1.23+` installed
```sh
$ go version
```
Expand Down
29 changes: 7 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,38 @@ module github.com/sonjek/mouse-stay-up
go 1.23

require (
fyne.io/systray v1.11.0
github.com/adrg/xdg v0.5.3
github.com/getlantern/systray v1.2.2
github.com/go-vgo/robotgo v0.110.5
gopkg.in/ini.v1 v1.67.0
)

require (
github.com/dblohm7/wingoes v0.0.0-20240820181039-f2b84150679e // indirect
github.com/ebitengine/purego v0.8.1 // indirect
github.com/ebitengine/purego v0.8.0 // indirect
github.com/gen2brain/shm v0.1.1 // indirect
github.com/getlantern/context v0.0.0-20220418194847-3d5e7a086201 // indirect
github.com/getlantern/errors v1.0.4 // indirect
github.com/getlantern/golog v0.0.0-20230503153817-8e72de7e0a65 // indirect
github.com/getlantern/hex v0.0.0-20220104173244-ad7e4b9194dc // indirect
github.com/getlantern/hidden v0.0.0-20220104173330-f221c5a24770 // indirect
github.com/getlantern/ops v0.0.0-20231025133620-f368ab734534 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/jezek/xgb v1.1.1 // indirect
github.com/kbinani/screenshot v0.0.0-20240820160931-a8a2c5d0e191 // indirect
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
github.com/lxn/win v0.0.0-20210218163916-a377121e959e // indirect
github.com/otiai10/gosseract v2.2.1+incompatible // indirect
github.com/otiai10/mint v1.6.3 // indirect
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/robotn/xgb v0.10.0 // indirect
github.com/robotn/xgbutil v0.10.0 // indirect
github.com/shirou/gopsutil/v4 v4.24.11 // indirect
github.com/tailscale/win v0.0.0-20241018163102-cfd3289ef17f // indirect
github.com/shirou/gopsutil/v4 v4.24.9 // indirect
github.com/tailscale/win v0.0.0-20240926211701-28f7e73c7afb // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.9.0 // indirect
github.com/vcaesar/gops v0.40.0 // indirect
github.com/vcaesar/imgo v0.40.2 // indirect
github.com/vcaesar/keycode v0.10.1 // indirect
github.com/vcaesar/tt v0.20.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/otel v1.32.0 // indirect
go.opentelemetry.io/otel/metric v1.32.0 // indirect
go.opentelemetry.io/otel/trace v1.32.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d // indirect
golang.org/x/image v0.23.0 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 // indirect
golang.org/x/image v0.21.0 // indirect
golang.org/x/net v0.32.0 // indirect
golang.org/x/sys v0.28.0 // indirect
)
Loading

0 comments on commit 4e5831e

Please sign in to comment.