diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 13:52:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 13:52:05 -0600 |
| commit | 0090da64fc2427895232a8998b0fe676f3fd2467 (patch) | |
| tree | 05e329fbdbfa8112930d6ae0014e4002368f22ae | |
| parent | a08bbaf04ff536e8fae3ab5396dc54c290945301 (diff) | |
move the debian packaging to gui/toolkits
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | .gitignore | 14 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | debian/Makefile | 49 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 9 | ||||
| -rw-r--r-- | debian/index.html | 25 | ||||
| -rwxr-xr-x | debian/postinst | 1 |
7 files changed, 0 insertions, 105 deletions
@@ -1,15 +1 @@ *.swp - -# ignore compiled plugins -*.so - -examples/buttons/buttons -examples/console-ui-helloworld/console-ui-helloworld -examples/helloworld/helloworld - -# protobuf compiled files -protobuf/*.pb.go - -# temporary files when building debian packages -/*.deb -/files @@ -37,11 +37,6 @@ update: git pull go get -v -t -u ./... -deb: - cd debian && make - dpkg-deb -c go-wit-gui*.deb - -wit mirrors - examples: \ all \ examples-helloworld \ @@ -87,7 +82,6 @@ goget: clean: rm -f toolkit/*.so - cd debian && make clean plugins: plugins-gocui plugins-andlabs diff --git a/debian/Makefile b/debian/Makefile deleted file mode 100644 index 0b81eba..0000000 --- a/debian/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# GITVERSION=$(shell git rev-parse FETCH_HEAD) -VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') - -BASENAME=go-wit-gui - -all: help deb - -help: - @echo - @echo "make deb # attempt to build the .deb package using dpkg" - @echo - -deb: clean extract DEBIAN build - -clean: - rm -rf ../files - rm -f ../*.deb - rm -f ../*.tar.xz data.tar.xz - rm -rf DEBIAN - -extract: - mkdir -p ../files/usr/lib/go-gui - cp ../toolkit/*.so ../files/usr/lib/go-gui/ - cp ../README.md ../files/usr/lib/go-gui/ - cp ../cmds/textbox/textbox ../files/usr/lib/go-gui/textbox-demo - -# makes the DEBIAN/ directory -DEBIAN: - mkdir -p DEBIAN - - # make the md5sum file - cd ../files/ && find -type f -exec md5sum '{}' \; |sort -k2 >../md5sums - mv ../md5sums DEBIAN/ - - # make the control there - mkdir -p DEBIAN - cp control DEBIAN/ - echo Version: ${VERSION} >>DEBIAN/control - - cp postinst DEBIAN - -build: - mv DEBIAN ../files/ - cd .. && dpkg-deb --build files ${BASENAME}_${VERSION}_amd64.deb - @echo - @echo '#######################' - cd .. && dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb - @echo '#######################' - @echo diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control deleted file mode 100644 index 906f089..0000000 --- a/debian/control +++ /dev/null @@ -1,9 +0,0 @@ -Source: go-wit-gui -Build-Depends: golang -Package: go-wit-gui -Maintainer: Jeff Carr <[email protected]> -Architecture: amd64 -Depends: -Recommends: libgtk-3-0 -Description: a abstraction layer for Go visual elements (GTK, QT, etc) - Package gui implements a abstraction layer for Go visual elements. diff --git a/debian/index.html b/debian/index.html deleted file mode 100644 index e2a3dd5..0000000 --- a/debian/index.html +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="utf-8"> -<title>go.wit.com/gui</title> -<meta name="go-import" content="go.wit.com/gui git https://github.com/wit-go/gui"> -<meta name="go-source" content="go.wit.com/gui https://github.com/wit-go/gui https://github.com/wit-go/gui/tree/master{/dir} https://github.com/wit-go/gui/blob/master{/dir}/{file}#L{line}"> -<style> -* { font-family: sans-serif; } -body { margin-top: 0; } -.content { display: inline-block; } -code { display: block; font-family: monospace; font-size: 1em; background-color: #d5d5d5; padding: 1em; margin-bottom: 16px; } -ul { margin-top: 16px; margin-bottom: 16px; } -</style> -</head> -<body> -<div class="content"> -<h2>go.wit.com/gui</h2> -<code>go get -v go.wit.com/gui</code> -<code>import "go.wit.com/gui"</code> -Home: <a href="https://godoc.org/go.wit.com/gui">https://godoc.org/go.wit.com/gui</a><br/> -Source: <a href="https://github.com/wit-go/gui">https://github.com/wit-go/gui</a><br/> -</div> -</body> -</html> diff --git a/debian/postinst b/debian/postinst deleted file mode 100755 index 1a24852..0000000 --- a/debian/postinst +++ /dev/null @@ -1 +0,0 @@ -#!/bin/sh |
