Commit 2ae32538 authored by Hugo Lefeuvre's avatar Hugo Lefeuvre Committed by Sébastien Blin

packaging: Debian packaging update

Backport various fixes from Alexandre's work on the official Debian
package:

Debian packaging:
* Add missing libqt5sql5-sqlite dependency
* Various copyright updates
* Update Standards-Version
* Priority optional (extra is deprecated now)
* Update Vcs-* fields
* Add missing copyright entry
* Remove useless gbp.conf file (only meaningful when using
  git-buildpackage in a git-buildpackage compatible repo which is
  not the case here)

Packaging scripts:
* Remove Ubuntu 14.04 and 15.10 related code
* Various copyright updates
* Set e-mail address before generating changelog entry

Change-Id: I18e523422d16fe129cf6773ab01a99b00232a5bb
Gitlab: #481Reviewed-by: Sébastien Blin's avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
parent c902ea1b
# -*- mode: makefile; -*- # -*- mode: makefile; -*-
# Copyright (C) 2016-2017 Savoir-faire Linux Inc. # Copyright (C) 2016-2018 Savoir-faire Linux Inc.
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
......
Source: ring Source: ring
Section: comm Section: comm
Priority: extra Priority: optional
Maintainer: Alexandre Viau <aviau@debian.org> Maintainer: Alexandre Viau <aviau@debian.org>
Build-Depends: debhelper (>= 9), Build-Depends: debhelper (>= 9),
autoconf, autoconf,
...@@ -56,15 +56,17 @@ Build-Depends: debhelper (>= 9), ...@@ -56,15 +56,17 @@ Build-Depends: debhelper (>= 9),
# other # other
yasm, yasm,
libsamplerate0-dev libsamplerate0-dev
Standards-Version: 3.9.8 Standards-Version: 4.1.5
Homepage: https://ring.cx Homepage: https://ring.cx
Vcs-Git: https://anonscm.debian.org/git/pkg-voip/ring.git Vcs-Git: https://git.ring.cx/savoirfairelinux/ring-project.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-voip/ring.git Vcs-Browser: https://git.ring.cx/savoirfairelinux/ring-project
Package: ring-all Package: ring-all
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, Depends: ${shlibs:Depends},
${misc:Depends} libqt5sql5-sqlite,
${misc:Depends},
gnupg
Replaces: ring, Replaces: ring,
ring-gnome, ring-gnome,
ring-daemon ring-daemon
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ring Upstream-Name: ring
Upstream-Contact: Alexandre Viau <alexandre.viau@savoirfairelinux.net> Upstream-Contact: Alexandre Viau <alexandre.viau@savoirfairelinux.net>
Source: https://dl.ring.cx/ring-release/tarballs/ Source: https://dl.ring.cx/ring-release/tarballs/
...@@ -11,7 +11,7 @@ Files-Excluded: client-electron/* ...@@ -11,7 +11,7 @@ Files-Excluded: client-electron/*
client-gnome/libqrencode/* client-gnome/libqrencode/*
Files: * Files: *
Copyright: 2004-2017 Savoir-faire Linux Inc. Copyright: 2004-2018 Savoir-faire Linux Inc.
1999 Tom Tromey 1999 Tom Tromey
1994-2009 Red Hat, Inc. 1994-2009 Red Hat, Inc.
2010 Michael Kerrisk 2010 Michael Kerrisk
...@@ -66,7 +66,7 @@ Files: daemon/src/media/audio/opensl/audio_common.h ...@@ -66,7 +66,7 @@ Files: daemon/src/media/audio/opensl/audio_common.h
daemon/src/media/audio/opensl/audio_recorder.h daemon/src/media/audio/opensl/audio_recorder.h
daemon/src/media/audio/opensl/buf_manager.h daemon/src/media/audio/opensl/buf_manager.h
Copyright: 2015 The Android Open Source Project Copyright: 2015 The Android Open Source Project
2015-2017 Savoir-faire Linux Inc. 2015-2018 Savoir-faire Linux Inc.
License: Apache-2.0 License: Apache-2.0
Files: daemon/extras/tools/bootstrap Files: daemon/extras/tools/bootstrap
...@@ -107,13 +107,25 @@ License: BSD-3-Clause ...@@ -107,13 +107,25 @@ License: BSD-3-Clause
################## ##################
Files: lrc/* Files: lrc/*
Copyright: 2009-2017 by Savoir-faire Linux Copyright: 2009-2018 by Savoir-faire Linux
License: LGPL-2.1+ License: LGPL-2.1+
################ ################
## End of lrc ## ## End of lrc ##
################ ################
###########################
## Start of gnome client ##
###########################
Files: client-gnome/web/linkify*
Copyright: 2016 SoapBox Innovations Inc.
License: Expat
#########################
## End of gnome client ##
#########################
###################### ######################
## Start of msgpack ## ## Start of msgpack ##
###################### ######################
...@@ -168,7 +180,7 @@ License: Boost-1.0 ...@@ -168,7 +180,7 @@ License: Boost-1.0
###################### ######################
Files: daemon/contrib/tarballs-unpacked/opendht*/opendht*/include/opendht/securedht.h Files: daemon/contrib/tarballs-unpacked/opendht*/opendht*/include/opendht/securedht.h
Copyright: 2014-2017 Savoir-faire Linux Inc. Copyright: 2014-2018 Savoir-faire Linux Inc.
License: GPL-3-with-openssl-exception License: GPL-3-with-openssl-exception
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -198,7 +210,7 @@ License: GPL-3-with-openssl-exception ...@@ -198,7 +210,7 @@ License: GPL-3-with-openssl-exception
Files: daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/include/opendht/dht.h Files: daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/include/opendht/dht.h
daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/src/dht.cpp daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/src/dht.cpp
Copyright: 2009-2014 Juliusz Chroboczek Copyright: 2009-2014 Juliusz Chroboczek
2014-2017 Savoir-faire Linux Inc 2014-2018 Savoir-faire Linux Inc
License: Expat License: Expat
Files: daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/m4/ax_cxx_compile_stdcxx.m4 Files: daemon/contrib/tarballs-unpacked/opendht-*/opendht-*/m4/ax_cxx_compile_stdcxx.m4
...@@ -219,6 +231,10 @@ Copyright: 2015 Daniel Dinu ...@@ -219,6 +231,10 @@ Copyright: 2015 Daniel Dinu
2015 Thomas Pornin 2015 Thomas Pornin
License: CC0 License: CC0
Files: daemon/src/ringdht/eth/*
Copyright: Ethereum Contributors
License: GPL-3+
License: CC0 License: CC0
/Statement of Purpose/ /Statement of Purpose/
. .
......
[DEFAULT]
pristine-tar = True
...@@ -32,7 +32,7 @@ RING_PPA_BASE="https://dl.ring.cx/ring-nightly" ...@@ -32,7 +32,7 @@ RING_PPA_BASE="https://dl.ring.cx/ring-nightly"
RING_KEY_FINGERPRINT="A295D773307D25A33AE72F2F64CD5FA175348F84" RING_KEY_FINGERPRINT="A295D773307D25A33AE72F2F64CD5FA175348F84"
RING_KEY="\ RING_KEY="\
-----BEGIN PGP PUBLIC KEY BLOCK----- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1 Version: GnuPG v2
mQENBFVSdlcBCAC9zC1rp12O2K08PGozI14Y+t4qC931eHicvkuEMF1B9gAhjdRF mQENBFVSdlcBCAC9zC1rp12O2K08PGozI14Y+t4qC931eHicvkuEMF1B9gAhjdRF
aIJS+UXwgQzoamDIHenxz1Q3fXUjKCMXytjGymB/0LUKccSbtH0Rcsl8kZ2z57KN aIJS+UXwgQzoamDIHenxz1Q3fXUjKCMXytjGymB/0LUKccSbtH0Rcsl8kZ2z57KN
...@@ -41,43 +41,32 @@ gmoV8Av714OlswsthSNtN+xQls3ozQ/dVGsOkZEyDbBzi88/rQEtuIDztTSWyD0V ...@@ -41,43 +41,32 @@ gmoV8Av714OlswsthSNtN+xQls3ozQ/dVGsOkZEyDbBzi88/rQEtuIDztTSWyD0V
x7WaY5+mVRwsJKzyPlgvsXpbP7A41IFykeOzPKh+vYz3k7dcLIRdOwse79oT2RXt x7WaY5+mVRwsJKzyPlgvsXpbP7A41IFykeOzPKh+vYz3k7dcLIRdOwse79oT2RXt
2VYEyTyTZIQlCJjGNTJYsU7GVffU4LnI7p/bABEBAAG0QFJpbmcgLSBTYXZvaXIt 2VYEyTyTZIQlCJjGNTJYsU7GVffU4LnI7p/bABEBAAG0QFJpbmcgLSBTYXZvaXIt
RmFpcmUgTGludXgsIEluYyA8cmluZ0BsaXN0cy5zYXZvaXJmYWlyZWxp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NafnzChG 4sRdAfS333T4Uifq4uOu
9//3tt82aPRm8fG5Lk5UfwCS2MSt2Ml8UZeujmEBnvU9hsJBWcGgzXhtBQwZqzmV =s2aQ
2vQg8436nTFY5L24TFBcQNOUJNzSy/dqps0SxcYleE57o24KHlW6ICBaEhz0JoZH
v5+7GtYz6XN2D7pkwTPYUIahyt4dY3geFrkuMzZdTS4qyFb8EE/Ypi/WgewO9ib5
3kt7FBrxmm0l+d9GR4jHCKGqaYjm8xzTsNa3m2C0Cf/C13bOaQVicgntfQ32IjjZ
daDMlRLQluYNQ0ETA1FE9+EVvrQYZ+kAEQEAAYkBHwQYAQgACQUCVVJ2VwIbDAAK
CRBkzV+hdTSPhMIaB/9DCrIZBDy7YOK3gdnNm57jemJRz6Cum7RTUiqCQ8ivSmEg
v1KmMIqMpjmnKKP43iHOmR4i7XDml6RBGynPys6cQcAlBWSuhOv9PGpRCaGyjJ4v
mQUsYhyD/+tCDZVdBuGgCxteSMbawxtMHESqX7dDlctc+njDjBcbcGj73sj36qoF
IjorjymZlT5IdK39oXVMHi1TssiWPOU0hQgn4BIreYnEZUA6xuFX10C7k2DVRFZr
XF7lpNgPQ8eNZTnQBIuwHUFCGSHO3/kzxSlkE1PBUX3IZ8PSFijyopBnWUhlSXuy
Rjte8OR7Fl/Rlf0IaOD14sRdAfS333T4Uifq4uOu
=vaci
-----END PGP PUBLIC KEY BLOCK-----" -----END PGP PUBLIC KEY BLOCK-----"
# System paths and generated variables # System paths and generated variables
...@@ -86,7 +75,6 @@ Rjte8OR7Fl/Rlf0IaOD14sRdAfS333T4Uifq4uOu ...@@ -86,7 +75,6 @@ Rjte8OR7Fl/Rlf0IaOD14sRdAfS333T4Uifq4uOu
# postrm paths should be modified as well # postrm paths should be modified as well
APT_FILE="/etc/apt/sources.list.d/ring-main.sources" APT_FILE="/etc/apt/sources.list.d/ring-main.sources"
APT_PREFS_FILE="/etc/apt/preferences.d/ring-main.pref" APT_PREFS_FILE="/etc/apt/preferences.d/ring-main.pref"
RING_KEY_FILE="/etc/apt/trusted.gpg.d/ring-main.gpg"
UPDATE_MANAGER_PATH="/etc/update-manager/release-upgrades.d/" UPDATE_MANAGER_PATH="/etc/update-manager/release-upgrades.d/"
RING_UPDATE_MANAGER_ID="ring-main" RING_UPDATE_MANAGER_ID="ring-main"
...@@ -119,11 +107,16 @@ fi ...@@ -119,11 +107,16 @@ fi
case "$1" in case "$1" in
configure) configure)
if [ "`command -v apt-key`" = "" ]; then
# we can only add key if apt-key is present
CAN_ADD_DEB_SOURCE=false
fi
if [ "$CAN_ADD_DEB_SOURCE" = "true" ]; then if [ "$CAN_ADD_DEB_SOURCE" = "true" ]; then
RING_PPA="${RING_PPA_BASE}/${ENDTAG}" RING_PPA="${RING_PPA_BASE}/${ENDTAG}"
# We first add the key to the trusted keyring. # We first add the key to the trusted keyring.
cat > $RING_KEY_FILE <<EOF apt-key add - > /dev/null 2>&1 << EOF
$RING_KEY $RING_KEY
EOF EOF
......
...@@ -14,10 +14,11 @@ set -e ...@@ -14,10 +14,11 @@ set -e
# [1] Configuration # # [1] Configuration #
############################################################################### ###############################################################################
RING_KEY_FINGERPRINT="A295D773307D25A33AE72F2F64CD5FA175348F84"
# System paths and generated variables # System paths and generated variables
APT_FILE="/etc/apt/sources.list.d/ring-main.sources" APT_FILE="/etc/apt/sources.list.d/ring-main.sources"
APT_PREFS_FILE="/etc/apt/preferences.d/ring-main.pref" APT_PREFS_FILE="/etc/apt/preferences.d/ring-main.pref"
RING_KEY_FILE="/etc/apt/trusted.gpg.d/ring-main.gpg"
UPDATE_MANAGER_PATH="/etc/update-manager/release-upgrades.d/" UPDATE_MANAGER_PATH="/etc/update-manager/release-upgrades.d/"
RING_UPDATE_MANAGER_ID="ring-main" RING_UPDATE_MANAGER_ID="ring-main"
...@@ -31,10 +32,11 @@ UPDATE_MANAGER_CFG_PATH="${UPDATE_MANAGER_PATH}/${RING_UPDATE_MANAGER_CFG}" ...@@ -31,10 +32,11 @@ UPDATE_MANAGER_CFG_PATH="${UPDATE_MANAGER_PATH}/${RING_UPDATE_MANAGER_CFG}"
case "$1" in case "$1" in
purge) purge)
# Remove key from trusted keyring
command -v apt-key > /dev/null && apt-key del "$RING_KEY_FINGERPRINT"
rm -f "$APT_FILE" rm -f "$APT_FILE"
rm -f "$APT_PREFS_FILE" rm -f "$APT_PREFS_FILE"
rm -f "$UPDATE_MANAGER_CFG_PATH" rm -f "$UPDATE_MANAGER_CFG_PATH"
rm -f "$RING_KEY_FILE"
;; ;;
esac esac
......
...@@ -220,7 +220,7 @@ get-orig-source: ...@@ -220,7 +220,7 @@ get-orig-source:
rm -rf ${tmpdir}/ring-project/daemon/contrib/tarballs rm -rf ${tmpdir}/ring-project/daemon/contrib/tarballs
# Create the new tarball # Create the new tarball
cd ${tmpdir} && tar -czf ${workdir}/ring_${version_to_download}~dfsg1.orig.tar.gz ring-project cd ${tmpdir} && tar -czf ${workdir}/ring_${version_to_download}~dfsg1.orig.tar.gz ring-project
# Clear the temp dir # Clear the temp dir
rm -rf ${tmpdir} rm -rf ${tmpdir}
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Copyright (C) 2016 Savoir-faire Linux Inc. # Copyright (C) 2016-2018 Savoir-faire Linux Inc.
# #
# Author: Alexandre Viau <alexandre.viau@savoirfairelinux.com> # Author: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
# #
...@@ -41,17 +41,12 @@ apt-get upgrade -o Acquire::Retires=10 -y ...@@ -41,17 +41,12 @@ apt-get upgrade -o Acquire::Retires=10 -y
mk-build-deps --remove --install debian/control -t "apt-get -y --no-install-recommends" mk-build-deps --remove --install debian/control -t "apt-get -y --no-install-recommends"
# create changelog file # create changelog file
dch --create --package ring --newversion ${DEBIAN_VERSION} "Automatic nightly release" DEBEMAIL="The Ring project <ring@gnu.org>" dch --create --package ring --newversion ${DEBIAN_VERSION} "Automatic nightly release"
dch --release --distribution "unstable" debian/changelog DEBEMAIL="The Ring project <ring@gnu.org>" dch --release --distribution "unstable" debian/changelog
# create orig tarball # create orig tarball
# mk-origtargz isn't in ubuntu_14.04 mk-origtargz ${RELEASE_TARBALL_FILENAME}
if [ "${DISTRIBUTION}" = "ubuntu_14.04" ] || [ "${DISTRIBUTION}" = "ubuntu_14.04_i386" ]; then rm --verbose ${RELEASE_TARBALL_FILENAME}
mv ${RELEASE_TARBALL_FILENAME} ../ring_${DEBIAN_VERSION}.orig.tar.gz
else
mk-origtargz ${RELEASE_TARBALL_FILENAME}
rm --verbose ${RELEASE_TARBALL_FILENAME}
fi
GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL=$(readlink -f ../ring_*.orig.tar.gz) debian/rules get-orig-source GET_ORIG_SOURCE_OVERRIDE_USCAN_TARBALL=$(readlink -f ../ring_*.orig.tar.gz) debian/rules get-orig-source
......
#!/usr/bin/env bash
# Build the Android app and install it on all connected devices.
set -e
./ubuntu-15.10-dependencies.sh
cd client-android
./compile.sh
# TODO use gradlew instead.
# From: http://stackoverflow.com/questions/8610733/how-can-i-adb-install-an-apk-to-multiple-connected-devices
adb devices | tail -n +2 | cut -sf 1 | xargs -i'{}' adb -s '{}' install ring-android/app/build/outputs/apk/app-debug.apk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment