Skip to content

Commit 3903735

Browse files
committed
Prepare releasing version 0.4.2
1 parent 058524d commit 3903735

9 files changed

+38
-13
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.4.1"
10+
version = "0.4.2"
1111
authors = ["marin-m"]
1212
edition = "2018"
1313

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,19 @@ This will compile and run the projet:
133133

134134
```bash
135135
# For the stable release:
136-
cargo install songrec
136+
cargo install songrec --no-default-features -F gui,ffmpeg,pulse,mpris
137137
songrec
138138

139139
# For the Github tree:
140-
git clone git@github.com:marin-m/songrec.git
140+
git clone https://github.com/marin-m/songrec
141141
cd songrec
142-
cargo run --release
142+
cargo run --release --no-default-features -F gui,ffmpeg,pulse,mpris
143143
```
144144

145145
For the latter, you will then find the project's binary (that you will be able to move or execute directly) at `target/release/songrec`.
146146

147+
Note: You may remove dependencies over GTK+, Pulseaudio/PipeWire's libpulse or DBus MPRIS through editing the `-F` flag passed to `cargo`.
148+
147149
## Sample usage
148150

149151
Passing no arguments or using the `gui` subcommand will launch the GUI, and try to recognize audio real-time as soon as the application is launched:

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.4.1"
20+
cp -ra ../../ "${temp_dir}/songrec-0.4.2"
2121

22-
cd "${temp_dir}/songrec-0.4.1"
22+
cd "${temp_dir}/songrec-0.4.2"
2323

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

packaging/ppa/debian/changelog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
songrec (0.4.2) bionic; urgency=low
2+
3+
* Add a Catalan translation (thanks to @pgiuli in issue #23)
4+
* Make the UI more clear so that it is visible that we are toggling the recognition from the speakers rather than the microphone when the monitor mode is on (see issue #149)
5+
* Fix a bug that had certain strings to be mistakenly copied at the bad places in the internationalized versions of the application, due to the fuzzy mode of msgmerge/gettext
6+
* Update the Dutch translation (thanks to @Vistaus in PR #150)
7+
* Update compilation instructions in the README.md file
8+
* Allow to compile the app with the libpulse and MPRIS module enabled on non-Linux UNIX systems such as BSD (see issue #152)
9+
* Possibly improve the compatibility of the recognize-from-speakers feature
10+
11+
-- Marin <marin-m@users.noreply.github.com> Mon, 22 Jan 2024 13:52:00 +0100
12+
113
songrec (0.4.1) bionic; urgency=low
214

315
* Add a Korean translation (thanks to @MarongHappy in PR #146)

packaging/ppa/upload_source_package.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ 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.4.1${version}"
24+
cp -ra ../../ "${temp_dir}/songrec-0.4.2${version}"
2525

26-
cd "${temp_dir}/songrec-0.4.1${version}"
26+
cd "${temp_dir}/songrec-0.4.2${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 noble; do
4949

5050
# Push to Launchpad
5151

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

5454
cd "${ORIG_DIR}"
5555

56-
rm -rf "${temp_dir}/songrec-0.4.1${version}"
56+
rm -rf "${temp_dir}/songrec-0.4.2${version}"
5757

5858
done
5959

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

+11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ https://hughsie.github.io/oars/index.html
2828
-->
2929
<content_rating type="oars-1.0" />
3030
<releases>
31+
<release version="0.4.2" date="2024-01-22">
32+
<description>
33+
<p>Add a Catalan translation (thanks to @pgiuli in issue #23)</p>
34+
<p>Make the UI more clear so that it is visible that we are toggling the recognition from the speakers rather than the microphone when the monitor mode is on (see issue #149)</p>
35+
<p>Fix a bug that had certain strings to be mistakenly copied at the bad places in the internationalized versions of the application, due to the fuzzy mode of msgmerge/gettext</p>
36+
<p>Update the Dutch translation (thanks to @Vistaus in PR #150)</p>
37+
<p>Update compilation instructions in the README.md file</p>
38+
<p>Allow to compile the app with the libpulse and MPRIS module enabled on non-Linux UNIX systems such as BSD (see issue #152)</p>
39+
<p>Possibly improve the compatibility of the recognize-from-speakers feature</p>
40+
</description>
41+
</release>
3142
<release version="0.4.1" date="2024-01-14">
3243
<description>
3344
<p>Add a Korean translation (thanks to @MarongHappy in PR #146)</p>

src/gui/interface.glade

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
<property name="type-hint">dialog</property>
231231
<property name="transient-for">window</property>
232232
<property name="program-name">SongRec</property>
233-
<property name="version">0.4.1</property>
233+
<property name="version">0.4.2</property>
234234
<property name="website">https://github.com/marin-m/SongRec</property>
235235
<property name="authors">© Marin Moulinier
236236
Contributors https://github.com/marin-m/SongRec/graphs/contributors</property>

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.4.1")
65+
.version("0.4.2")
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)