diff options
| author | Jeff Carr <[email protected]> | 2024-02-12 15:18:50 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-12 15:18:50 -0600 |
| commit | ac4999c7217a27fd53fd81f80df9805de21e0599 (patch) | |
| tree | 2b0a27b2ed88674c0def75890abbf5e4c604095a | |
| parent | a9acc5d707cd7c1dda95035a81cb18123b59b24e (diff) | |
start moving to a go-gui-toolkit package
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | README.md | 17 | ||||
| -rwxr-xr-x | build | 8 | ||||
| -rw-r--r-- | debian/Makefile | 7 |
5 files changed, 22 insertions, 15 deletions
@@ -1,7 +1,6 @@ *.swp go.mod go.sum -build # ignore compiled plugins *.so @@ -1,8 +1,8 @@ .PHONY: debian -all: build debian - GO111MODULE=off go build -o build main.go +all: build + # GO111MODULE=off go build -o build main.go build: nocui gocui andlabs @@ -12,26 +12,25 @@ because the underlying OS is proprietary. Whenever possible, the Linux ones are ### Download and Install -#### Binary Distributions - -Official binary distributions are available at TODO: finish this - #### Install From Source -To download the toolkit packages: +To build all the toolkits so you can build your own GUI applications: ```go go get -v go.wit.com/toolkits/debian cd ~/go/src/toolkits/debian make ``` -To build the debian package +To build the go-gui-toolkits .deb package: ```go - go get -v go.wit.com/toolkits/debian - cd ~/go/src/toolkits/debian - make debian + go get go.wit.com/apps/go-deb@latest + go-deb go.wit.com/toolkits/debian ``` +#### Binary Distributions + +Official binary distributions are available at TODO: finish this + ### Contributing To contribute, please refer to [go.wit.com](http://go.wit.com) @@ -0,0 +1,8 @@ +#!/bin/bash -x + +make -C ../nocui +make -C ../gocui +make -C ../andlabs + +mkdir -p files/usr/lib/go-gui +cp ../*.so files/usr/lib/go-gui/ diff --git a/debian/Makefile b/debian/Makefile index 5c55c9a..f13e124 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -49,10 +49,11 @@ DEBIAN: build: mv DEBIAN ../files/ - cd .. && dpkg-deb --build files ../${BASENAME}_${VERSION}_amd64.deb + -mkdir ~/incoming/ + cd .. && dpkg-deb --build files ~/incoming/${BASENAME}_${VERSION}_amd64.deb @echo @echo '#######################' - cd .. && dpkg-deb --info ../${BASENAME}_${VERSION}_amd64.deb - cd .. && dpkg-deb -c ../${BASENAME}_${VERSION}_amd64.deb + cd .. && dpkg-deb --info ~/incoming/${BASENAME}_${VERSION}_amd64.deb + cd .. && dpkg-deb -c ~/incoming/${BASENAME}_${VERSION}_amd64.deb @echo '#######################' @echo |
