Skip to content

Commit b15466c

Browse files
committed
Prepare releasing SongRec 0.4.0
1 parent d40f184 commit b15466c

File tree

10 files changed

+35
-18
lines changed

10 files changed

+35
-18
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/marin-m/SongRec"
77
readme = "README.md"
88
keywords = ["shazam", "audio", "audio-fingerprinting"]
99
categories = ["multimedia::audio", "command-line-utilities"]
10-
version = "0.3.3"
10+
version = "0.4.0"
1111
authors = ["marin-m"]
1212
edition = "2018"
1313

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,26 +105,26 @@ rustup update
105105
Debian:
106106

107107
```bash
108-
sudo apt install build-essential libasound2-dev libgtk-3-dev libssl-dev
108+
sudo apt install build-essential libasound2-dev libpulse-dev libgtk-3-dev libssl-dev
109109
```
110110

111111
Void Linux (libressl):
112112

113113
```shell
114-
sudo xbps-install base-devel alsa-lib-devel gtk+3-devel libressl-devel
114+
sudo xbps-install base-devel alsa-lib-devel pulseaudio-devel gtk+3-devel libressl-devel
115115
```
116116

117117
Void Linux (openssl):
118118

119119
```shell
120-
sudo xbps-install base-devel alsa-lib-devel gtk+3-devel openssl-devel
120+
sudo xbps-install base-devel alsa-lib-devel pulseaudio-devel gtk+3-devel openssl-devel
121121
```
122122

123123
Fedora Linux:
124124

125125
```shell
126126
sudo dnf groupinstall "Development Tools"
127-
sudo dnf install alsa-lib-devel openssl-devel dbus-devel pkgconf-pkg-config glib gtk3-devel
127+
sudo dnf install alsa-lib-devel pulseaudio-libs-devel openssl-devel dbus-devel pkgconf-pkg-config glib gtk3-devel
128128
```
129129

130130
### Compiling the project

packaging/archlinux-git/PKGBUILD

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
pkgname=songrec-git
22
_pkgname=songrec
3-
pkgver=r137.c2011e8
4-
pkgrel=2
3+
pkgver=r272.d40f184
4+
pkgrel=1
55
provides=('songrec')
66
conflicts=('songrec')
77
pkgdesc='An open-source, unofficial Shazam client for Linux, written in Rust.'
88
url='https://github.com/marin-m/SongRec'
99
arch=('x86_64')
1010
license=('GPL3')
1111
makedepends=('cargo' 'rust' 'pkgconf' 'git')
12-
depends=('gtk3' 'alsa-lib' 'openssl' 'ffmpeg')
12+
depends=('gtk3' 'alsa-lib' 'libpulse' 'openssl' 'ffmpeg')
1313
optdepends=('libpulse')
1414
source=("$_pkgname::git+https://github.com/marin-m/songrec.git")
1515
sha256sums=('SKIP')

packaging/ppa/build_binary_package.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ trap cleanup_dirs INT TERM
1717

1818
rm -rf ../../target/ ../../vendor/ ../../.flatpak-builder ../flatpak/.flatpak-builder ../../repo
1919

20-
cp -ra ../../ "${temp_dir}/songrec-0.3.3"
20+
cp -ra ../../ "${temp_dir}/songrec-0.4.0"
2121

22-
cd "${temp_dir}/songrec-0.3.3"
22+
cd "${temp_dir}/songrec-0.4.0"
2323

2424
mkdir -p .cargo
2525
cargo vendor --locked vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config

packaging/ppa/debian/changelog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
songrec (0.4.0) bionic; urgency=log
2+
3+
* Use `libpulse` (when available) for displaying the list of selectable audio input devices by default, instead of `alsalib` for listing audio inputs and `pactl` for switching to a monitor mode device, so that the list of devices displays correct values on PipeWire/PulseAudio-based systems.
4+
* Make the dependencies over `libpulse` and DBus MPRIS fully optional, through Cargo features.
5+
* Disable MPRIS signalling in default builds, as it may interfer inopportunely with media keys control from other media players (as submitted in issue #89)
6+
* Fix build issues on non-Linux platforms (thanks to pull request #144 from @dotX12)
7+
8+
-- Marin <marin-m@users.noreply.github.com> Sun, 24 Dec 2023 08:24:00 +0100
9+
110
songrec (0.3.3) bionic; urgency=low
211

312
* Add a Favourite songs list in the interface (thanks to pull request #123 from @damonhayhurst)

packaging/ppa/upload_source_package.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ function cleanup_dirs {
1717

1818
trap cleanup_dirs INT TERM
1919

20-
for version in bionic focal jammy lunar mantic; do
20+
for version in bionic focal jammy lunar mantic noble; do
2121

2222
rm -rf ../../target/ ../../vendor/ ../../.flatpak-builder ../flatpak/.flatpak-builder ../../repo ../../.cargo
2323

24-
cp -ra ../../ "${temp_dir}/songrec-0.3.3${version}"
24+
cp -ra ../../ "${temp_dir}/songrec-0.4.0${version}"
2525

26-
cd "${temp_dir}/songrec-0.3.3${version}"
26+
cd "${temp_dir}/songrec-0.4.0${version}"
2727

2828
mkdir -p .cargo
2929
cargo vendor --locked vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config
@@ -49,11 +49,11 @@ for version in bionic focal jammy lunar mantic; do
4949

5050
# Push to Launchpad
5151

52-
dput ppa:marin-m/songrec "../../songrec_0.3.3${version}_source.changes"
52+
dput ppa:marin-m/songrec "../../songrec_0.4.0${version}_source.changes"
5353

5454
cd "${ORIG_DIR}"
5555

56-
rm -rf "${temp_dir}/songrec-0.3.3${version}"
56+
rm -rf "${temp_dir}/songrec-0.4.0${version}"
5757

5858
done
5959

packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ https://hughsie.github.io/oars/index.html
2828
-->
2929
<content_rating type="oars-1.0" />
3030
<releases>
31+
<release version="0.4.0" date="2023-12-24">
32+
<description>
33+
<p>Use libpulse (when available) for displaying the list of selectable audio input devices by default, instead of alsalib for listing audio inputs and pactl for switching to a monitor mode device, so that the list of devices displays correct values on PipeWire/PulseAudio-based systems.</p>
34+
<p>Make the dependencies over libpulse and DBus MPRIS fully optional, through Cargo features.</p>
35+
<p>Disable MPRIS signalling in default builds, as it may interfer inopportunely with media keys control from other media players (as submitted in issue #89)</p>
36+
<p>Fix build issues on non-Linux platforms (thanks to pull request #144 from @dotX12)</p>
37+
</description>
38+
</release>
3139
<release version="0.3.3" date="2023-10-15">
3240
<description>
3341
<p>Add a Favourite songs list in the interface (thanks to pull request #123 from @damonhayhurst)</p>

packaging/snap-not-working/snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: songrec # you probably want to 'snapcraft register <name>'
22
base: core20 # the base snap is the execution environment for this snap
3-
version: '0.3.3' # just for humans, typically '1.2+git' or '1.3.2'
3+
version: '0.4.0' # just for humans, typically '1.2+git' or '1.3.2'
44
summary: An open-source, unofficial Shazam client for Linux, written in Rust # 79 char long summary
55
description: |
66
Features:

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ use clap::{App, Arg};
6262
macro_rules! base_app {
6363
() => {
6464
App::new("SongRec")
65-
.version("0.3.3")
65+
.version("0.4.0")
6666
.about(gettext("An open-source Shazam client for Linux, written in Rust.").as_str())
6767
.subcommand(
6868
App::new("listen")

0 commit comments

Comments
 (0)