From b30346bc9671ffbd422e2820d7fd31670db5eb24 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 3 Jan 2024 13:52:05 -0600 Subject: [PATCH] move the debian packaging to gui/toolkits Signed-off-by: Jeff Carr --- .gitignore | 14 -------------- Makefile | 6 ------ debian/Makefile | 49 ----------------------------------------------- debian/compat | 1 - debian/control | 9 --------- debian/index.html | 25 ------------------------ debian/postinst | 1 - 7 files changed, 105 deletions(-) delete mode 100644 debian/Makefile delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/index.html delete mode 100755 debian/postinst diff --git a/.gitignore b/.gitignore index 250f176..1377554 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/Makefile b/Makefile index 7c89fb9..59328a0 100644 --- a/Makefile +++ b/Makefile @@ -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 -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 @@ - - - - -go.wit.com/gui - - - - - -
-

go.wit.com/gui

-go get -v go.wit.com/gui -import "go.wit.com/gui" -Home: https://godoc.org/go.wit.com/gui
-Source: https://github.com/wit-go/gui
-
- - 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