Skip to content
Snippets Groups Projects
Commit b7539153 authored by Sebastian's avatar Sebastian Committed by Mikolai Gütschow
Browse files

Set license and copyright info for deb packages

parent 0f9a00f5
Branches
Tags
1 merge request!78Set license and copyright info for deb packages
Pipeline #8977 passed
AGPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
...@@ -99,6 +99,8 @@ compose.desktop { ...@@ -99,6 +99,8 @@ compose.desktop {
packageVersion = "0.0.1" packageVersion = "0.0.1"
description = "Secure messaging, anywhere" description = "Secure messaging, anywhere"
vendor = "The Briar Project" vendor = "The Briar Project"
copyright = "2021-2022 The Briar Project"
licenseFile.set(project.file("LICENSE.txt"))
// As described at https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution#configuring-included-jdk-modules // As described at https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution#configuring-included-jdk-modules
// the Gradle plugin does not automatically determine necessary JDK modules to ship // the Gradle plugin does not automatically determine necessary JDK modules to ship
// so that we need to define required modules here: // so that we need to define required modules here:
......
#!/bin/bash
# A script for extracting the deb artifact to a local directory for
# debugging its content.
set -e
DIR=$(dirname $0)
REPO="$DIR/.."
OUTPUT="$REPO/deb"
echo "Creating output directory"
mkdir -p "$OUTPUT"
echo "Extracting debian archive"
ar --output "$OUTPUT" x "$REPO/build/compose/binaries/main/deb"/briar-desktop*.deb
echo "Extracting control.tar.xz"
mkdir -p "$OUTPUT/control"
tar xv --directory "$OUTPUT/control" -f "$OUTPUT/control.tar.xz"
echo "Extracting data.tar.xz"
mkdir -p "$OUTPUT/data"
tar xv --directory "$OUTPUT/data" -f "$OUTPUT/data.tar.xz"
#!/bin/bash
# A script for building a deb package on Debian based distributions.
# Expects JDKs 11 and 17 to be installed at /usr/lib/jvm/java-11-openjdk-amd64/
# and /usr/lib/jvm/java-17-openjdk-amd64/ respectively.
set -e
DIR=$(dirname $0)
REPO="$DIR/.."
cd "$REPO"
./gradlew -Dorg.gradle.java.home=/usr/lib/jvm/java-11-openjdk-amd64/ kaptKotlin
./gradlew -Dorg.gradle.java.home=/usr/lib/jvm/java-17-openjdk-amd64/ -x kaptKotlin packageDeb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment