public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/strawberry] epel9: Update to version 1.2.31 (fedora#2529617)
Date: Sun, 22 Nov 2026 18:15:27 GMT	[thread overview]
Message-ID: <179537132769.1.3671334002803674882.rpms-strawberry-5a3dfe67cc21@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/strawberry
            Branch : epel9
            Commit : 5a3dfe67cc2195c3f2f29beef4b21ebc817b2c2c
            Author : Ondrej Mosnáček <omosnacek@gmail.com>
            Date   : 2026-11-22T17:39:25+01:00
            Stats  : +76/-3 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/strawberry/c/5a3dfe67cc2195c3f2f29beef4b21ebc817b2c2c?branch=epel9

            Log:
            Update to version 1.2.31 (fedora#2529617)

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index cb105f3..c10b7de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /strawberry-*.tar.gz
+/strawberry-*.tar.xz

diff --git a/sources b/sources
index 8ab1d7a..c040d2b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (strawberry-1.2.28.tar.gz) = b68977026bba0b83821f3ca70cb4607d031381d48cbad421238dcef2c39cd18ce8403ee1fcdf1b2ba3b1418022fa001a87ef7c265d461520757c284c3b0b59c4
+SHA512 (strawberry-1.2.31.tar.xz) = 694e79a8cce0fbb71758850a0aa985630a5ca475e71007eaf1e66244e8da7769aec50d8f65787f40ce72d6cd40d6c7a7e231035024e26a0ab3492e506fcee399

diff --git a/strawberry.spec b/strawberry.spec
index 6f29d99..8a9b4f2 100644
--- a/strawberry.spec
+++ b/strawberry.spec
@@ -12,7 +12,7 @@
 %global giturl https://github.com/strawberrymusicplayer/strawberry
 
 Name:           strawberry
-Version:        1.2.28
+Version:        1.2.31
 Release:        %autorelease
 Summary:        Audio player and music collection organizer
 
@@ -31,7 +31,25 @@ Summary:        Audio player and music collection organizer
 #   everything else
 License:        Apache-2.0 AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT
 URL:            https://www.strawberrymusicplayer.org/
-Source:         %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz
+# Use the official release tarball to pick up the bundled API credentials.
+# These credentials are intentionally not present in git, only in the release
+# tarball in obfuscated form (encrypted with a non-secret key), to make them
+# harder to find by bots (presumably). They are, however, provided by the
+# author intentionally for use by distributions.
+#
+# See also:
+# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XCTZGIUBCKKV7DAED3FVGFCZ4VUSWUUR/
+#
+# IMPORTANT: When rebasing to a new upstream version, verify the contents of
+# this tarball against the GitHub one by running:
+#
+# ./verify-tarball-against-github.sh
+#
+# The only difference it should show is the added API secrets. It may also
+# show some unimportant files intentionally missing from the official release
+# tarball (such as .clang-format or .github/...) - in that case edit the
+# script to exclude them from the diff.
+Source:         %{giturl}/releases/download/%{version}/%{name}-%{version}.tar.xz
 
 BuildRequires:  boost-devel
 BuildRequires:  cmake
@@ -55,14 +73,17 @@ BuildRequires:  pkgconfig(icu-uc)
 BuildRequires:  pkgconfig(icu-i18n)
 BuildRequires:  pkgconfig(libcdio)
 BuildRequires:  pkgconfig(libchromaprint)
+BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(libebur128)
 BuildRequires:  pkgconfig(libmtp)
 BuildRequires:  pkgconfig(libpulse)
+BuildRequires:  pkgconfig(libsecret-1)
 %if %{with streamtagreader}
 BuildRequires:  pkgconfig(libsparsehash)
 %endif
 BuildRequires:  pkgconfig(sqlite3) >= 3.9
 BuildRequires:  pkgconfig(taglib) >= 1.12
+BuildRequires:  pkgconfig(uchardet)
 %if %{with gpod}
 BuildRequires:  pkgconfig(libgpod-1.0)
 %endif

diff --git a/verify-tarball-against-github.sh b/verify-tarball-against-github.sh
new file mode 100755
index 0000000..a298c5c
--- /dev/null
+++ b/verify-tarball-against-github.sh
@@ -0,0 +1,51 @@
+#!/usr/bin/env bash
+#
+# A script to allow the maintainer to check the release tarball for changes
+# against the corresponding GitHub-generated tarball.
+
+set -ex
+
+here="$(dirname "$0")"
+
+if [ $# == 0 ]; then
+    spec="$here/strawberry.spec"
+    version="$(grep '^Version:' "$spec" | head -n 1 | sed 's/^Version:[[:space:]]*\([0-9.]*\)[[:space:]]*$/\1/')"
+elif [ $# == 1 ]; then
+    version="$1"
+else
+    echo "usage: $0 [VERSION]" 1>&2
+    echo
+    echo "Use VERSION if specified, otherwise detect it from the specfile." 1>&2
+    exit 2
+fi
+
+tmpdir="$(mktemp -d)"
+trap 'rm -rf "$tmpdir"' EXIT
+
+local_tarball="strawberry-$version.tar.xz"
+github_tarball="$tmpdir/strawberry-$version.tar.gz"
+
+github_tarball_url="https://github.com/strawberrymusicplayer/strawberry/archive/$version/strawberry-$version.tar.gz"
+
+curl -L -o "$github_tarball" "$github_tarball_url"
+
+local_tarball_dir="$tmpdir/official"
+github_tarball_dir="$tmpdir/github"
+
+mkdir "$local_tarball_dir"
+mkdir "$github_tarball_dir"
+
+tar -xJf "$local_tarball" -C "$local_tarball_dir"
+tar -xzf "$github_tarball" -C "$github_tarball_dir"
+
+# Remove files known to be only in the GitHub tarball
+rm  -f "$github_tarball_dir/strawberry-$version/.clang-format"
+rm  -f "$github_tarball_dir/strawberry-$version/.coderabbit.yaml"
+rm -rf "$github_tarball_dir/strawberry-$version/.github"
+rm  -f "$github_tarball_dir/strawberry-$version/.gitignore"
+rm  -f "$github_tarball_dir/strawberry-$version/.gitmodules"
+rm  -f "$github_tarball_dir/strawberry-$version/crowdin.yml"
+
+git diff --no-index \
+    "$github_tarball_dir/strawberry-$version" \
+    "$local_tarball_dir/strawberry-$version"

                 reply	other threads:[~2026-11-22 18:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179537132769.1.3671334002803674882.rpms-strawberry-5a3dfe67cc21@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox