diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..351c7cb --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,14 @@ +name: release + +on: push + +jobs: + build-debs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: jtdor/build-deb-action@v1 + env: + DEB_BUILD_OPTIONS: noautodbgsym + with: + buildpackage-opts: --build=binary --no-sign diff --git a/.gitignore b/.gitignore index ad2d59c..6089293 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,12 @@ build debian/unisonweb +debian/files .#* *~ *.debhelper* *-stamp .envrc +.unisonHistory + + + diff --git a/.unisonHistory b/.unisonHistory deleted file mode 100644 index e69de29..0000000 diff --git a/debian/changelog b/debian/changelog index 1c500cd..23284a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,13 @@ -unisonweb (0.5.20~trunk+2024051601) UNRELEASED; urgency=medium +unisonweb (0.5.28~trunk+2024101501) UNRELEASED; urgency=low + + * adding github action - * new version + -- Stew O'Connor Tue, 15 Oct 2024 16:29:14 -0700 + +unisonweb (0.5.20~trunk+2024051601) UNRELEASED; urgency=medium + * new version +n -- Stew O'Connor Thu, 16 May 2024 10:52:50 -0700 unisonweb (0.5.20~trunk+2024041702) unstable; urgency=low diff --git a/debian/control b/debian/control index a81ece6..f058bdf 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,6 @@ Package: unisonweb Architecture: any Section: devel Multi-Arch: foreign -Depends: ${misc:Depends}, ${shlibs:Depends}, libncurses6, libtinfo6, less, locales +Depends: ${misc:Depends}, ${shlibs:Depends}, libncurses6, libtinfo6, less, locales, racket, racket-doc Description: A functional programming language diff --git a/debian/files b/debian/files deleted file mode 100644 index d1dc69f..0000000 --- a/debian/files +++ /dev/null @@ -1,2 +0,0 @@ -unisonweb_0.5.20~trunk+2024051601_amd64.buildinfo devel optional -unisonweb_0.5.20~trunk+2024051601_amd64.deb devel optional diff --git a/debian/rules b/debian/rules index 5aec5df..3958785 100755 --- a/debian/rules +++ b/debian/rules @@ -1,18 +1,22 @@ #!/usr/bin/make -f - -# UNISON_RELEASE:=https://github.com/unisonweb/unison/releases/download/trunk-build/ucm-linux.tar.gz -# UNISON_RELEASE:=https://github.com/unisonweb/unison/releases/download/jit-release-build/ucm-linux.tar.gz -UNISON_RELEASE:=https://github.com/unisonweb/unison/releases/download/trunk-build/ucm-linux.tar.gz +UNISON_RELEASE=https://github.com/unisonweb/unison/releases/download/trunk-build/ucm-linux-x64.tar.gz %: dh $@ override_dh_clean: + rm -r build dh_clean - rm -rf build override_dh_auto_build: mkdir -p build - wget "${UNISON_RELEASE}" -O- | tar xvzf - -C build + wget ${UNISON_RELEASE} -O- | tar xvzf - -C build + override_dh_install: dh_install + +override_dh_strip: + echo + +override_dh_shlibdeps: + dh_shlibdeps -Xunison-runtime diff --git a/debian/unisonweb.postinst b/debian/unisonweb.postinst index ee7d9c5..5262da5 100644 --- a/debian/unisonweb.postinst +++ b/debian/unisonweb.postinst @@ -4,10 +4,8 @@ set -eu if [ "$1" = 'configure' ]; then if raco pkg show -u | grep -q unison ; then - # i'm surprised we don't want update -stew - # raco pkg update --auto /usr/lib/unisonweb/racket/unison.zip - raco pkg install --auto /usr/lib/unisonweb/racket/unison.zip + raco pkg update --auto /usr/lib/unisonweb/racket/unison.zip else - raco pkg install --auto /usr/lib/unisonweb/racket/unison.zip + raco pkg install --no-docs --auto /usr/lib/unisonweb/racket/unison.zip fi fi diff --git a/debian/unisonweb.substvars b/debian/unisonweb.substvars deleted file mode 100644 index 471ebae..0000000 --- a/debian/unisonweb.substvars +++ /dev/null @@ -1,3 +0,0 @@ -shlibs:Depends=libc6 (>= 2.34), libgmp10 (>= 2:6.3.0+dfsg), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4) -misc:Depends= -misc:Pre-Depends=