Compare commits
	
		
			4 Commits
		
	
	
		
			645541e079
			...
			v0.0.7
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 271510d528 | |||
| 4d72a063b2 | |||
| 643245f16c | |||
| 5e66fe82ac | 
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,5 @@ | ||||
| /itctl | ||||
| /itd | ||||
| /itgui | ||||
| /version.txt | ||||
| /version.txt | ||||
| dist/ | ||||
|   | ||||
							
								
								
									
										111
									
								
								.goreleaser.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										111
									
								
								.goreleaser.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,111 @@ | ||||
| # This is an example .goreleaser.yml file with some sensible defaults. | ||||
| # Make sure to check the documentation at https://goreleaser.com | ||||
| before: | ||||
|   hooks: | ||||
|     # You may remove this if you don't use go modules. | ||||
|     - go mod tidy | ||||
| builds: | ||||
|   - id: itd | ||||
|     env: | ||||
|       - CGO_ENABLED=0 | ||||
|     binary: itd | ||||
|     goos: | ||||
|       - linux | ||||
|     goarch: | ||||
|       - 386 | ||||
|       - amd64 | ||||
|       - arm | ||||
|       - arm64 | ||||
|   - id: itctl | ||||
|     env: | ||||
|       - CGO_ENABLED=0 | ||||
|     main: ./cmd/itctl | ||||
|     binary: itctl | ||||
|     goos: | ||||
|       - linux | ||||
|     goarch: | ||||
|       - 386 | ||||
|       - amd64 | ||||
|       - arm | ||||
|       - arm64 | ||||
| archives: | ||||
|   - replacements: | ||||
|       386: i386 | ||||
|       amd64: x86_64 | ||||
|       arm64: aarch64 | ||||
|     files: | ||||
|       - LICENSE | ||||
|       - README.md | ||||
|       - itd.toml | ||||
|       - itd.service | ||||
| nfpms: | ||||
|   - id: itd | ||||
|     file_name_template: '{{.PackageName}}-{{.Version}}-{{.Os}}-{{.Arch}}' | ||||
|     description: "Companion daemon for the InfiniTime firmware on the PineTime smartwatch" | ||||
|     replacements: | ||||
|       386: i386 | ||||
|       amd64: x86_64 | ||||
|       arm64: aarch64 | ||||
|     homepage: 'https://gitea.arsenm.dev/Arsen6331/itd' | ||||
|     maintainer: 'Arsen Musyaelyan <arsen@arsenm.dev>' | ||||
|     license: GPLv3 | ||||
|     formats: | ||||
|       - apk | ||||
|       - deb | ||||
|       - rpm | ||||
|     dependencies: | ||||
|       - dbus | ||||
|       - bluez | ||||
|       - pulseaudio-utils | ||||
|     contents: | ||||
|       - src: itd.toml | ||||
|         dst: /etc/itd.toml | ||||
|         type: "config|noreplace" | ||||
|       - src: itd.service | ||||
|         dst: /usr/lib/systemd/user/itd.service | ||||
| aurs: | ||||
|   - name: itd-bin | ||||
|     homepage: 'https://gitea.arsenm.dev/Arsen6331/itd' | ||||
|     description: "Companion daemon for the InfiniTime firmware on the PineTime smartwatch" | ||||
|     maintainers: | ||||
|       - 'Arsen Musyaelyan <arsen@arsenm.dev>' | ||||
|     license: GPLv3 | ||||
|     private_key: '{{ .Env.AUR_KEY }}' | ||||
|     git_url: 'ssh://aur@aur.archlinux.org/itd-bin.git' | ||||
|     provides: | ||||
|       - itd | ||||
|       - itctl | ||||
|     conflicts: | ||||
|       - itd | ||||
|       - itctl | ||||
|     depends: | ||||
|       - dbus | ||||
|       - bluez | ||||
|       - libpulse | ||||
|     package: |- | ||||
|       # binaries | ||||
|       install -Dm755 "./itd" "${pkgdir}/usr/bin/itd" | ||||
|       install -Dm755 "./itctl" "${pkgdir}/usr/bin/itctl" | ||||
|  | ||||
|       # service | ||||
|       install -Dm644 "./itd.service" ${pkgdir}/usr/lib/systemd/user/itd.service | ||||
|  | ||||
|       # config | ||||
|       install -Dm644 "./itd.toml" ${pkgdir}/etc/itd.toml | ||||
|        | ||||
|       # license | ||||
|       install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/itd/LICENSE" | ||||
| release: | ||||
|   gitea: | ||||
|     owner: Arsen6331 | ||||
|     name: itd | ||||
| gitea_urls: | ||||
|   api: 'https://gitea.arsenm.dev/api/v1/' | ||||
|   download: 'https://gitea.arsenm.dev' | ||||
|   skip_tls_verify: false | ||||
| checksum: | ||||
|   name_template: 'checksums.txt' | ||||
| snapshot: | ||||
|   name_template: "{{ incpatch .Version }}-next" | ||||
| changelog: | ||||
|   sort: asc | ||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							| @@ -3,7 +3,7 @@ | ||||
|  | ||||
| `itd` is a daemon that uses my infinitime [library](https://go.arsenm.dev/infinitime) to interact with the [PineTime](https://www.pine64.org/pinetime/) running [InfiniTime](https://infinitime.io). | ||||
|  | ||||
| [](https://ci.appveyor.com/project/moussaelianarsen/itd) | ||||
| [](https://ci.appveyor.com/project/moussaelianarsen/itd-7t6ko) | ||||
| [](https://minio.arsenm.dev/minio/itd/) | ||||
| [](https://aur.archlinux.org/packages/itd-git/) | ||||
|  | ||||
| @@ -105,12 +105,22 @@ Use "itctl [command] --help" for more information about a command. | ||||
|  | ||||
| ### `itgui` | ||||
|  | ||||
| In `cmd/itgui`, there is a gui frontend to the socket of `itd`. It uses the [fyne library](https://fyne.io/) for Go. It can be compiled by running: | ||||
| In `cmd/itgui`, there is a gui frontend to the socket of `itd`. It uses the [Fyne library](https://fyne.io/) for Go. | ||||
|  | ||||
| #### Compilation | ||||
|  | ||||
| Before compiling, certain prerequisites must be installed. These are listed on the following page: https://developer.fyne.io/started/#prerequisites | ||||
|  | ||||
| It can be compiled by running: | ||||
|  | ||||
| ```shell | ||||
| go build ./cmd/itgui | ||||
| ``` | ||||
|  | ||||
| #### Cross-compilation | ||||
|  | ||||
| Due to the use of OpenGL, cross-compilation of `itgui` isn't as simple as that of `itd` and `itctl`. The following guide from the Fyne website should work for `itgui`: https://developer.fyne.io/started/cross-compiling. | ||||
|  | ||||
| #### Screenshots | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user