debian/: Packaging updates

parent de760a29
#!/bin/bash
# I use this script to build and publish deb packages in ppa:mikhailnov/pulseeffects (https://launchpad.net/~mikhailnov/+archive/ubuntu/pulseeffects)
# I publish it to allow other people to use it and make it possible to maintain a new PPA easily in case I stop doing it for some reason
# I think, it can also be used for maintaining packages in mainline Debian (minor modifications required)
pkg_name="pulseeffects"
# this allows the script to be ran both from the root of the source tree and from ./debian directory
dir_start="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$(basename "${dir_start}")" = 'debian' ]; then
cd ..
fi
debian/rules clean
dir0="$(pwd)"
old_header=$(head -1 ./debian/changelog)
old_format_source=$(cat ./debian/source/format)
tmp_suffix="buildPPA_$(date +%s)_tmp"
for i in bionic cosmic disco
do
old_version="$(cat ./debian/changelog | head -n 1 | awk -F "(" '{print $2}' | awk -F ")" '{print $1}')"
new_version="${old_version}~${i}1"
real_version="$(echo "$old_version" | cut -d'-' -f1)"
sed -i -re "s/${old_version}/${new_version}/g" ./debian/changelog
sed -i -re "1s/unstable/$i/" ./debian/changelog
if grep -q '(git)' ./debian/source/format; then
GIT=1
old_source_format="$(cat ./debian/source/format)"
# TODO: Launchpad PPA does not accept in '3.0 (git)' for some reasons
rm -fv ./debian/source/format
git add .
# dpkg-buildpackage also tries to diff current git vs tarball if it finds it in ../
while read line
do
# TODO: check if target file already exists
mv -v "$line" "${line}.${tmp_suffix}"
done < <(find ../ -maxdepth 1 -name "${pkg_name}_${real_version}.orig.tar*")
fi
# -I to exclude .git; -d to allow building .changes file without build dependencies installed
dpkg-buildpackage -I -S -sa -d
sed -i -re "1s/.*/${old_header}/" ./debian/changelog
[ "$GIT" = 1 ] && git reset
[ -n "$old_source_format" ] && echo "$old_source_format" > ./debian/source/format
# dpkg-buildpackage also tries to diff current git vs tarball if it finds it in ../
while read line
do
new_name="$(echo "$line" | sed -e "s/.${tmp_suffix}$//g")"
# TODO: check if target file already exists
mv -v "$line" "$new_name"
done < <(find ../ -maxdepth 1 -name "*.${tmp_suffix}")
cd ..
# change PPA names to yours, you may leave only one PPA; I upload hw-probe to 2 different PPAs at the same time
for ppa_name in ppa:mikhailnov/pulseeffects ppa:mikhailnov/utils ppa:mikhailnov/desktop1-dev
do
# example file name: pulseeffects_4.4.3-1~bionic1_source.changes
if [ -f "${pkg_name}_${new_version}_source.changes" ]
then dput -f "$ppa_name" "${pkg_name}_${new_version}_source.changes"
else echo ".changes file ${pkg_name}_${new_version}_source.changes not found, not uploading anything!"
fi
done
cd "$dir0"
sleep 1
done
debian/rules clean
cd "$dir_start"
pulseeffects (4.4.3-1) unstable; urgency=low
pulseeffects (4.5.6-1) UNRELEASED; urgency=medium
* Version 4.4.3 upstream (autobuild)
* Updated Russian translation
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 31 Dec 2018 07:12:30 +0300
pulseeffects (4.4.1-1) unstable; urgency=low
* Initial release. (Closes: #881224).
* Version 4.4.1 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 04 Dec 2018 07:12:38 +0300
pulseeffects (4.4.0-1) unstable; urgency=low
* Version 4.4.0 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 25 Nov 2018 21:11:18 +0300
pulseeffects (4.3.9-1) unstable; urgency=low
* Version 4.3.9 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 24 Oct 2018 13:10:55 +0300
pulseeffects (4.3.8-1) unstable; urgency=low
* Version 4.3.8 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 17 Oct 2018 20:10:22 +0300
pulseeffects (4.3.7-1) unstable; urgency=low
* Version 4.3.7 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 26 Sep 2018 16:09:41 +0300
pulseeffects (4.3.5-1) unstable; urgency=low
* Version 4.3.5 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 18 Sep 2018 01:09:27 +0300
pulseeffects (4.3.4-1) unstable; urgency=low
* Version 4.3.4 upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 02 Sep 2018 18:09:10 +0300
pulseeffects (4.3.3-1) unstable; urgency=low
* Version 4.3.3 upstream
* Translated new language strings to Russian
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 31 Aug 2018 16:32:00 +0300
pulseeffects (4.3.2-2) unstable; urgency=low
* Version 4.3.2 upstream
* Fixed libboost-*-dev build dependencies to fix building on Debian Sid
Debian Sid defaults to older libboost version 1.62, while we need >= 1.65
* dconf settings will be reset, see upstream changelog:
"Settings are automatically reset after an upgrade. If you want to know the reason why take a look at the issues #327, #318 and #293 in PulseEffects github page. A few users have configuration problems after an upgrade that are only solved after resetting PulseEffects settings. In all of the cases I could not reproduce the issue they had in my computers. As in some of the cases the crash was so severe that the only way to reset was using dconf in command line I decided to implement an automatic reset after upgrades or downgrades. As almost all PulseEffects settings are saved to the presets file this shouldn't be too annoying for the users."
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Thu, 30 Aug 2018 22:29:00 +0300
pulseeffects (4.3.1-2) unstable; urgency=low
* Fix https://github.com/wwmm/pulseeffects/issues/324
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 29 Aug 2018 04:35:00 +0300
pulseeffects (4.3.1-1) unstable; urgency=low
* version 4.3.1 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 29 Aug 2018 00:59:00 +0300
pulseeffects (4.2.9-1) unstable; urgency=low
* version 4.2.9 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 26 Aug 2018 23:46:00 +0300
pulseeffects (4.2.8-4) unstable; urgency=low
* use dh_scour
May help https://github.com/wwmm/pulseeffects/issues/308
But scour seems to fail for this svg for now
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Thu, 23 Aug 2018 15:29:00 +0300
pulseeffects (4.2.8-3) unstable; urgency=low
* adapter plugin now is a sctrict dependency
Fixes https://github.com/wwmm/pulseeffects/issues/307
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Thu, 23 Aug 2018 15:29:00 +0300
pulseeffects (4.2.8-2) unstable; urgency=low
* version 4.2.8 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 21 Aug 2018 20:53:00 +0300
pulseeffects (4.2.6-1) unstable; urgency=low
* version 4.2.6 upstream
* package adapter gstreamer plugin as
gstreamer1.0-adapter-pulseeffects
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sat, 11 Aug 2018 18:35:00 +0300
pulseeffects (4.2.2-2) unstable; urgency=low
* version 4.2.2 upstream
* small fixes to Russian localization
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 30 Jul 2018 03:31:00 +0300
pulseeffects (4.2.1-3) unstable; urgency=low
* add mda-lv2 optional dependency
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 29 Jul 2018 20:54:00 +0300
pulseeffects (4.2.1-1) unstable; urgency=low
* update to version 4.2.1 upstream
* fixed Russian localization
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 29 Jul 2018 12:54:00 +0300
pulseeffects (4.2.0-1) unstable; urgency=low
* update to version 4.2.0 upstream
* fixed Russian localization
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 25 Jul 2018 03:13:00 +0300
pulseeffects (4.1.9-6-git20180723) unstable; urgency=low
* git code between v4.1.9 and v4.2
* fixes in Russian translation
* Started Russian translation of help
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sat, 23 Jul 2018 15:02:00 +0300
pulseeffects (4.1.9-3) unstable; urgency=low
* updated Russian translation
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 18 Jul 2018 21:40:00 +0300
pulseeffects (4.1.9-1) unstable; urgency=low
* update to version 4.1.9 upstream
* package crystalizer gstreamer plugin as
gstreamer1.0-crystalizer-pulseeffects
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 18 Jul 2018 20:26:00 +0300
pulseeffects (4.1.8-1) unstable; urgency=low
* update to version 4.1.8 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 17 Jul 2018 11:28:00 +0300
pulseeffects (4.1.7-3) unstable; urgency=low
* package gstreamer plugin peconvolver as a separate package
gstreamer1.0-convolver-pulseeffects
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 16 Jul 2018 02:20:00 +0300
pulseeffects (4.1.7-1) unstable; urgency=low
* update to version 4.1.7 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 15 Jul 2018 12:13:00 +0300
pulseeffects (4.1.6-2) unstable; urgency=low
* Fixed Russian localization a bit (still requires a lot of work and fixes of regressions)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 15 Jul 2018 01:24:00 +0300
pulseeffects (4.1.6-1) unstable; urgency=low
* update to version 4.1.6 upstream
* add libzita-convolver-dev build dependency
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sat, 14 Jul 2018 20:56:00 +0300
pulseeffects (4.1.3-1) unstable; urgency=low
* update to version 4.1.3 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 08 Jul 2018 23:10:00 +0300
pulseeffects (4.1.2-2) unstable; urgency=low
* update to version 4.1.2 upstream
* Preparing to get this package into Debian repository
* debian/compat: bump version 10 to 11
* debian/control: bump Standards-Version from 3.9.6 to 4.1.4
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 02 Jul 2018 09:10:00 +0300
pulseeffects (4.1.1-3) unstable; urgency=low
* version dependency 'calf-plugins (>= 0.90.0)' to fix https://github.com/wwmm/pulseeffects/issues/227
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 29 Jun 2018 18:45:00 +0300
pulseeffects (4.1.1-2) unstable; urgency=low
* update to version 4.1.1 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 29 Jun 2018 18:08:00 +0300
pulseeffects (4.1.0-1) unstable; urgency=low
* update to version 4.1.0 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 22 Jun 2018 00:43:00 +0300
pulseeffects (4.0.8-1) unstable; urgency=low
* update to version 4.0.8 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 20 Jun 2018 15:55:00 +0300
pulseeffects (4.0.7-1) unstable; urgency=low
* update to version 4.0.7 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 18 Jun 2018 11:30:00 +0300
pulseeffects (4.0.4-3) unstable; urgency=low
* update to version 4.0.4 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 15 Jun 2018 12:27:00 +0300
pulseeffects (4.0.0-4) unstable; urgency=low
* update to version 4.0 upstream
* transition from Python to C++
* new build and runtime dependencies
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 04 Jun 2018 04:40:00 +0300
pulseeffects (3.2.3-1) unstable; urgency=low
* update to version 3.2.3 upstream (added gstreamer webrtcdsp plugin)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 22 Apr 2018 23:59:00 +0300
pulseeffects (3.2.1-4) unstable; urgency=low
* Update Russian localization
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Fri, 09 Mar 2018 01:55:00 +0300
pulseeffects (3.2.1-1) unstable; urgency=low
* update to version 3.2.1 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 01 Mar 2018 22:01:00 +0300
pulseeffects (3.2.0-1) unstable; urgency=low
* update to version 3.2.0 upstream
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 13 Feb 2018 05:12:00 +0300
pulseeffects (3.1.6-2) unstable; urgency=low
* update to version 3.1.6 upstream
* add zam-plugins as a new dependency
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Sun, 21 Jan 2018 00:27:00 +0300
pulseeffects (3.1.3-3) unstable; urgency=low
* fix dependency: calf-ladspa --> calf-plugins
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 14 Dec 2017 20:02:00 +0300
pulseeffects (3.1.3-2) unstable; urgency=low
* Make the package architecture-independent
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 14 Dec 2017 19:51:00 +0300
pulseeffects (3.1.3) unstable; urgency=low
* Level meters: conversion from decibel to linear scale uses the correct factor
* Auto volume: It is working in service mode and it does not reset the limiter
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Tue, 14 Dec 2017 19:43:00 +0300
pulseeffects (3.1.2-git131220170843msk) unstable; urgency=low
* add gstreamer1.0-pulseaudio as a dependency
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 13 Dec 2017 08:43:00 +0300
pulseeffects (3.1.2-git131220170732msk) unstable; urgency=low
* version 3.1.2 + latest Git
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Wed, 13 Dec 2017 07:33:00 +0300
pulseeffects (3.0.7.5) unstable; urgency=low
* fix 3.0.7.4 git merging
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 08 Nov 2017 22:21:00 +0300
pulseeffects (3.0.7.4) unstable; urgency=low
* = v3.0.7 upstream (synced with upstream versioning, all previous v3.0.7 here were v.3.0.6+git-master from upstream)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 08 Nov 2017 22:21:00 +0300
pulseeffects (3.0.7.3) unstable; urgency=high
* Additional fixes for https://github.com/wwmm/pulseeffects/issues/111
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 08 Nov 2017 22:21:00 +0300
pulseeffects (3.0.7.2) unstable; urgency=high
* Fix https://github.com/wwmm/pulseeffects/issues/111 (loosing files while building the deb package)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 06 Nov 2017 22:21:00 +0300
pulseeffects (3.0.7) unstable; urgency=medium
* Add Russian (ru) localisation
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 06 Nov 2017 22:21:00 +0300
pulseeffects (3.0.6) unstable; urgency=medium
* Package pulseeffects created
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> Mon, 06 Nov 2017 22:21:00 +0300
-- Boyuan Yang <byang@debian.org> Tue, 19 Mar 2019 11:13:04 -0400
pulseeffects (%new_version%-1) unstable; urgency=low
* Version %new_version% upstream (autobuild)
-- Mikhail Novosyolov <mikhailnov@dumalogiya.ru> %day_name%, %day_month% %month_name% %year% %time% %timezone%
Source: pulseeffects
Section: sound
Priority: optional
Maintainer: Mikhail Novosyolov <mikhailnov@dumalogiya.ru>
Standards-Version: 4.1.4
Homepage: https://github.com/wwmm/pulseeffects
Maintainer: Boyuan Yang <byang@debian.org>
Standards-Version: 4.3.0
Build-Depends:
appstream-util,
debhelper (>=11),
debhelper-compat (= 12),
desktop-file-utils,
itstool,
libboost-filesystem-dev (>= 1.65) | libboost-filesystem1.70-dev (>= 1.65) | libboost-filesystem1.69-dev (>= 1.65) | libboost-filesystem1.68-dev (>= 1.65) | libboost-filesystem1.67-dev (>= 1.65) | libboost-filesystem1.66-dev (>= 1.65) | libboost-filesystem1.65-dev (>= 1.65),
libboost-system-dev (>= 1.65) | libboost-system1.70-dev (>= 1.65) | libboost-system1.69-dev (>= 1.65) | libboost-system1.68-dev (>= 1.65) | libboost-system1.67-dev (>= 1.65) | libboost-system1.66-dev (>= 1.65) | libboost-system1.65-dev (>= 1.65),
libboost-filesystem-dev (>= 1.65),
libboost-system-dev (>= 1.65),
libbs2b-dev,
libebur128-dev,
libglibmm-2.4-dev,
......@@ -28,6 +27,9 @@ Build-Depends:
meson (>=0.40),
pkg-config,
scour,
Homepage: https://github.com/wwmm/pulseeffects
Vcs-Git: https://salsa.debian.org/debian/pulseeffects.git
Vcs-Browser: https://salsa.debian.org/debian/pulseeffects.git
Package: gstreamer1.0-adapter-pulseeffects
Architecture: any
......
#!/usr/bin/make -f
export DH_VERBOSE=255
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --with scour
# Fail the build if some produced files
# are not included in neither of multiple packages
......@@ -8,6 +24,3 @@ override_dh_missing:
override_dh_auto_test:
echo "Auto-tests are disabled due to a very strange issue https://github.com/wwmm/pulseeffects/issues/304"
%:
dh $@ --with scour
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
https://github.com/wwmm/pulseeffects/tags .*/v?(\d\S+)\.tar\.gz
https://github.com/wwmm/pulseeffects/tags .*/v?(\d\S+)\.tar\.gz debian uupdate
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