public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: Update and unbundle dependencies
Date: Mon, 20 Jul 2026 20:37:53 GMT	[thread overview]
Message-ID: <178457987347.1.17802900315328047866.rpms-transmission-64211d0c9b32@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : 64211d0c9b32de1b64e14677279b778f22db958c
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-04-01T21:35:36-04:00
            Stats  : +28/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/64211d0c9b32de1b64e14677279b778f22db958c?branch=epel10

            Log:
            Update and unbundle dependencies

- libnotify is replaced by GDBus calls;
- libcanberra is replaced by system calls to canberra-gtk-play;
- dbus-glib is replaced by GDBus;
- libapplication-gtk3 is only used in conjunction with gtk3;
- libdeflate, libpsl, and miniupnpc system versions are preferred,
  only falling back to bundled versions when absent;
- fast_float, libb64, and utf8cpp can be unbundled and built with
  system versions;
- fmt cannot be unbundled yet as the code is incompatible with fmt-10;
- Declare bundled provides for dependencies which are still needed.

---
diff --git a/transmission.spec b/transmission.spec
index b6776f4..5935e80 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
 Name:           transmission
 Version:        4.0.5
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 # See COPYING. This licensing situation is... special.
 License:        MIT and GPL-2.0-only
@@ -20,10 +20,7 @@ BuildRequires:  openssl-devel
 BuildRequires:  glib2-devel >= 2.32.0
 BuildRequires:  gtk4-devel
 BuildRequires:  gtkmm4.0-devel
-BuildRequires:  libnotify-devel >= 0.4.3
-BuildRequires:  libcanberra-devel
 BuildRequires:  libcurl-devel >= 7.16.3
-BuildRequires:  dbus-glib-devel >= 0.70
 BuildRequires:  libevent-devel >= 2.0.10
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext intltool
@@ -32,7 +29,14 @@ BuildRequires:  qt6-qtsvg-devel
 BuildRequires:  qt6-qttools-devel
 BuildRequires:  systemd-devel
 BuildRequires:  libnatpmp-devel >= 20150609-1
-BuildRequires:  libappindicator-gtk3-devel
+BuildRequires:  pkgconfig(libdeflate)
+BuildRequires:  pkgconfig(miniupnpc)
+BuildRequires:  pkgconfig(libpsl)
+# unbundled dependencies
+BuildRequires:  fast_float-static
+#BuildRequires:  fmt-static
+BuildRequires:  libb64-static
+BuildRequires:  utf8cpp-static
 # Default
 Requires: transmission-gtk%{?_isa}
 
@@ -44,6 +48,12 @@ back-end.
 
 %package common
 Summary:       Transmission common files
+Provides:      bundled(dht) = 0.27
+# remove, unbundle, and BR: fmt-static once ported to fmt-10
+Provides:      bundled(fmt) = 9.0.0
+Provides:      bundled(libutp) = 3.4
+Provides:      bundled(wide-integer)
+Provides:      bundled(wildmat)
 %description common
 Common files for Transmission BitTorrent client sub-packages. It includes
 the web user interface, icons and transmission-remote, transmission-create,
@@ -66,6 +76,8 @@ Transmission BitTorrent client daemon.
 %package gtk
 Summary:       Transmission GTK interface
 Requires:      transmission-common%{?_isa}
+# for canberra-gtk-play
+Recommends:    libcanberra-gtk3%{?_isa}
 
 %description gtk
 GTK graphical interface of Transmission BitTorrent client.
@@ -73,6 +85,8 @@ GTK graphical interface of Transmission BitTorrent client.
 %package qt
 Summary:       Transmission Qt interface
 Requires:      transmission-common%{?_isa}
+# for canberra-gtk-play
+Recommends:    libcanberra-gtk3%{?_isa}
 
 %description qt
 Qt graphical interface of Transmission BitTorrent client.
@@ -87,6 +101,12 @@ exit 0
 %prep
 %autosetup -p1
 
+# unbundle
+pushd third-party
+find fast_float/ libb64/ libdeflate/ libevent/ libnatpmp/ libpsl/ \
+     miniupnpc/ utfcpp/ -type f -delete
+popd
+
 # fix icon location for Transmission Qt
 sed -i 's|Icon=%{name}-qt|Icon=%{name}|g' qt/%{name}-qt.desktop
 
@@ -175,6 +195,9 @@ desktop-file-install \
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Tue Apr 02 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 4.0.5-4
+- Update and unbundle dependencies
+
 * Tue Mar 12 2024 Gwyn Ciesla <gwync@protonmail.com> - 4.0.5-3
 - Fix translation ownership.
 - Move gtk client to gtk4, qt to qt6.

                 reply	other threads:[~2026-07-20 20:37 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=178457987347.1.17802900315328047866.rpms-transmission-64211d0c9b32@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=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