-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: packages | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
workflow_dispatch: | ||
|
||
env: | ||
RELEASE_VERSION: 0.8.0 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: '0' | ||
submodules: 'recursive' | ||
- name: install-dependencies | ||
run: | | ||
git submodule sync | ||
sudo apt-get update -qq -y | ||
sudo apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot build-essential | ||
- name: import-signing-key | ||
run: | | ||
mkdir -p ~/.gnupg/ | ||
printf "$GPG_SIGNING_KEY" | base64 --decode > ~/.gnupg/private.key | ||
gpg --import ~/.gnupg/private.key | ||
env: | ||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | ||
- name: package-build | ||
run: | | ||
git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz | ||
tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | ||
ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz | ||
cd lagrange-${RELEASE_VERSION} | ||
debuild | ||
cd .. | ||
mkdir -p artifacts | ||
mv *deb artifacts/ | ||
shell: bash | ||
- name: plain-build | ||
run: | | ||
mkdir builddir | ||
cd builddir | ||
cmake .. -DCMAKE_BUILD_TYPE=Release | ||
cmake --build . | ||
mkdir -p ../artifacts/ | ||
tar -czvf ../artifacts/lagrange-${RELEASE_VERSION}-linux-amd64.tar.gz lagrange | ||
cd .. | ||
- name: upload-artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ubuntu-latest | ||
path: artifacts | ||
debian_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: '0' | ||
submodules: 'recursive' | ||
- name: get-repo-name | ||
run: | | ||
echo "REPOSITORY_NAME="$(echo $GITHUB_REPOSITORY | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV | ||
shell: bash | ||
- name: install-dependencies | ||
run: | | ||
git submodule sync | ||
- name: debian_docker | ||
uses: ./.github/workflows/docker-debian/ | ||
- name: upload-debian-artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: debian | ||
path: /home/runner/work/${{env.REPOSITORY_NAME}}/${{env.REPOSITORY_NAME}}/artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: 'docker' | ||
runs: | ||
using: 'docker' | ||
image: 'debian-dockerfile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Container image that runs your code | ||
FROM debian:buster | ||
|
||
# Copies your code file from your action repository to the filesystem path `/` of the container | ||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
# Code file to execute when the docker container starts up (`entrypoint.sh`) | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh -xv | ||
|
||
apt-get update -qq -y | ||
apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot git build-essential | ||
git submodule sync | ||
|
||
git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz | ||
tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | ||
ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz | ||
cd lagrange-${RELEASE_VERSION} | ||
debuild | ||
cd .. | ||
mkdir -p artifacts | ||
mv *deb artifacts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
lagrange (0.8.0-1) unstable; urgency=low | ||
|
||
* Added support for Gopher. | ||
* Added support for the full palette of 8-bit ANSI foreground colors. | ||
* Added option to disable smooth scrolling. | ||
* Added button to manually set server certificate as trusted (if the certificate is valid but untrusted). | ||
* Added keybindings for Back/Forward navigation. | ||
* Added a context menu item for opening HTTP links in the default browser even when a proxy is configured. | ||
* Revised identity creation dialog: changed field order, added warning about temporary identities not being saved. | ||
* Ctrl+Click opens tab in background, Shift+Ctrl+Click opens as foreground tab. The same modifier keys work with keyboard navigation. | ||
* Improved word wrapping of emoticons (:D). | ||
* Automatic redirects allowed when the destination URL uses the same scheme as the originating URL. For example, when using a proxy, HTTP(S) is allowed to automatically redirect to other HTTP(S) URLs. | ||
|
||
-- Jaakko Keränen (skyjake) <[email protected]> Sun, 08 Nov 2020 17:11:46 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Source: lagrange | ||
Section: net | ||
Priority: optional | ||
Maintainer: Jaakko Keränen (skyjake) <[email protected]> | ||
Build-Depends: cmake, debhelper (>=11~), libsdl2-dev, libssl-dev, libpcre3-dev, zlib1g-dev, libunistring-dev, libmpg123-dev | ||
Standards-Version: 4.1.4 | ||
Homepage: https://gmi.skyjake.fi/lagrange/ | ||
|
||
Package: lagrange | ||
Architecture: any | ||
Multi-Arch: foreign | ||
Depends: ${misc:Depends}, ${shlibs:Depends} | ||
Description: Lagrange - A Beautiful Gemini Client | ||
Lagrange is a desktop GUI client for browsing Geminispace. | ||
It offers modern conveniences familiar from web browsers, | ||
such as smooth scrolling, inline image viewing, multiple | ||
tabs, visual themes, Unicode fonts, bookmarks, history, | ||
and page outlines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: lagrange | ||
Upstream-Contact: Jaakko Keränen (skyjake) <[email protected]> | ||
Source: https://codeberg.org/skyjake/lagrange | ||
|
||
Files: * | ||
Copyright: 2020 Jaakko Keränen | ||
License: BSD-2-Clause | ||
|
||
Files: src/audio/stb_vorbic.c | ||
src/stb_image.h | ||
src/stb_truetype.h | ||
Copyright: 2007 Sean Barrett | ||
License: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# You must remove unused comment lines for the released package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/make -f | ||
export DH_VERBOSE = 1 | ||
export DEB_BUILD_MAINT_OPTIONS=hardening=-format | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_configure: | ||
cmake .. -DENABLE_WINDOWPOS_FIX=YES -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(pwd)/../usr | ||
|
||
override_dh_build_configure: | ||
cmake --build . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#abort-on-upstream-changes | ||
#unapply-patches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version=3 |