Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package transmission for openSUSE:Factory 
checked in at 2023-03-16 22:58:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transmission (Old)
 and      /work/SRC/openSUSE:Factory/.transmission.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transmission"

Thu Mar 16 22:58:16 2023 rev:96 rq:1072280 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/transmission/transmission.changes        
2023-02-07 18:47:30.702624292 +0100
+++ /work/SRC/openSUSE:Factory/.transmission.new.31432/transmission.changes     
2023-03-16 22:58:18.067446056 +0100
@@ -1,0 +2,143 @@
+Thu Mar 16 07:00:14 UTC 2023 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 4.0.2:
+  + Highlights:
+    - Fixed 4.0.1 bug where some torrents thought they were
+      magnet links.
+    - Fixed 4.0.0 bug where download speed limits were ignored for
+      uTP peers.
+    - Fixed 4.0.0 bug using announce-list when creating
+      single-tracker private torrents.
+  + All platforms:
+    - Restored support for path.utf-8 keys in torrent info dictionaries.
+    - Fixed value of TR_TIME_LOCALTIME environment variable in
+      torrent scripts.
+    - Limited in-kernel file copying to 2 GiB blocks at a time to avoid
+      potential issues with CIFS mounts.
+    - Simplified filename info in log messages.
+    - Fixed std::clamp() assertion failures.
+    - Fixed small error calculating protocol overhead when receiving
+      peer messages.
+    - Fixed incorrect escaping of non-BMP characters when
+      generating JSON. 
+    - Fixed 4.0.0 crash when receiving malformed piece data from peers.
+    - Fixed 4.0.0 potential crash when downloading from webseeds. 
+    - Improved handling of the leechers param in trackers'
+      announce responses.
+    - Fixed 4.0.0 regression that stopped increasing the download
+      priority of files' first and last pieces. These pieces are
+      important for making incomplete files previewable / playable
+      while still being downloaded.
+    - Fixed display of IPv6 tracker URLs.
+    - Fixed code that could stop being interested in peers that
+      have pieces we want to download.
+    - Improved sanity checking of magnet links added via RPC.
+    - Fixed a misleading error message when Transmission is unable to
+      write to the incomplete-dir.
+    - Worked around an older libdht bug that could provide
+      invalid peer info.
+    - Restored RPC torrentGet.wanted return value
+      to match 3.00 behavior.
+  + QT client:
+    - Ensured that "Open File" opens the torrent's folder for
+      multi-file torrents.
+    - Fixed 4.0.0 bug that prevented batch-adding trackers to
+      multiple torrents at once.
+    - Fixed per-torrent ratio display in main window. 
+  + GTK client:
+    - Fixed 4.0.0 ignoring -m/--minimized command line option. 
+    - Fixed assertion failure in the progress display when creating
+      a new torrent. 
+  + Web client:
+    - Fixed minor UI bugs, e.g. layout and control alignment.
+    - Fixed 4.0.0 bug that that failed to save alternate speed begin/end
+      settings changes.
+    - Improved colors in both light & dark mode.
+  + Daemon:
+    - Made the "unrecognized argument" error message more readable.
+  + transmission-remote:
+    - Fixed a spurious error message when adding magnet links.
+
+-------------------------------------------------------------------
+Thu Feb 23 22:52:10 UTC 2023 - Luciano Santos <luc1...@opensuse.org>
+
+- Update to version 4.0.1:
+  + Issues fixed:
+    - Poor speed and some checksums being incorrectly marked as
+      failed in somes torrents.
+    - Beachballing / jank.
+    - Blocklists using more memory than necessary.
+    - Failure to migrate magnet links from Transmission 3.
+    - Many other fixes.
+- Changes from version 4.0.0:
+  + Added many performance improvements, and numerous bugfixes.
+  + The entire codebase has been migrated from C to C++.
+  + The remote control GUIs (transmission-qt and transmission-web)
+    now use the RPC API "table" mode, resulting in smaller payloads
+    / less bandwidth use.
+  + Added support for GTK 4, and both Qt5 and Qt6.
+  + The GTK client has been ported to gtkmm.
+  + New Features:
+    - Support for using BitTorrent v2 and hybrid torrents.
+    - Users can now set "default" trackers that can be used to
+      announce all public torrents.
+    - Newly-added seeds can start immediately and verify pieces on
+      demand now.
+    - Added an option to omit potentially-identifying information
+      (e.g. User-Agent and date created) when creating new
+      torrents.
+    - The Web client has been rewritten and now supports mobile
+      use.
+    - When creating new torrents, users can now specify the piece
+      size.
+    - IPv6 blocklists are now supported.
+    - Dozens of other new features.
+  + Fix small scrape/announce packet size that could trip SYN flood
+    detection on some systems.
+  + Remove the 1024 open files limit previously required by how
+    libcurl was used.
+  + Add configurable anti-brute force settings.
+  + Fetch metadata of stopped magnets.
+  + Stop logging excessive error messages after they repeat too
+    many times.
+  + The web client has been given a major overhaul.
+  + User-visible highlights include:
+    - Mobile is now fully supported.
+    - Added fullscreen support on mobile.
+    - Better support for dark mode.
+    - Added mime icons to the torrent list.
+    - Improved theme consistency across the app.
+- Port build system from Autotools to CMake: replace libtool build
+  requirement with cmake and ninja; replace Autotool macros with
+  CMake's.
+- Add explicit build requirement on CMake modules: Qt5Gui,
+  Qt5LinguistTools, Qt5Network, Qt5Svg, and Qt5Widgets.
+- Drop libqt5-linguist-devel, now that its CMake module is being
+  used instead.
+- Use our own libdeflate as build requirement instead of the
+  bundled one.
+- Replace openssl-devel with the more reliable pkgconfig(openssl).
+- Replace intltool build requirement with gettext-tools.
+- Replace glib-2.0 and gtk+-3.0 with giomm-2.68, glibmm-2.68, and
+  gtkmm-4.0 pkgconfig modules following code base switch from C to
+  C++.
+- Drop libappindicator3-devel build requirement. AppIndicator is no
+  longer supported.
+- Drop fdupes build requirement/macro. There isn't duplicate files
+  anymore.
+- Drop no longer needed %desktop_database_post and
+  %icon_theme_cache_post macros targeted at pre-Leap openSUSE/SUSE
+  releases.
+- Drop no longer needed patches:
+  transmission-hybrid-torrent-length.patch, and
+  transmission-3.00-openssl-3.patch.
+- Refresh harden_transmission-daemon.service.patch patch with
+  Quilt.
+- Drop transmission-qt.desktop source file favoring the one
+  provided by upstream.
+- Add transmission.rpmlintrc file to filter the "file-not-in-%lang"
+  warning, since we are excluding the English translations from the
+  lang sub-packages and packaging them in the common sub-package
+  instead.
+
+-------------------------------------------------------------------

Old:
----
  transmission-3.00-openssl-3.patch
  transmission-3.00.tar.xz
  transmission-hybrid-torrent-length.patch
  transmission-qt.desktop

New:
----
  transmission-4.0.2.tar.xz
  transmission.rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ transmission.spec ++++++
--- /var/tmp/diff_new_pack.3uzrS6/_old  2023-03-16 22:58:19.195451519 +0100
+++ /var/tmp/diff_new_pack.3uzrS6/_new  2023-03-16 22:58:19.199451539 +0100
@@ -16,44 +16,71 @@
 #
 
 
-%global WITH_APPINDICATOR 1
+# Ninja has greater speed than GNU Make. And it provides better error output.
+%bcond_without ninja
+%bcond_with    webui
+
+%define qt5_version    5.6
+%define glibmm_version 2.60.0
+
+%if %{with ninja}
+%define __builder ninja
+#BuildIgnore:     make
+%endif
+
+%if %{with webui}
+%define webui_opt ON
+%else
+%define webui_opt OFF
+%endif
+
 Name:           transmission
-Version:        3.00
+Version:        4.0.2
 Release:        0
 Summary:        A BitTorrent client with multiple UIs
 License:        (GPL-2.0-only OR GPL-3.0-only) AND MIT
 Group:          Productivity/Networking/Other
 URL:            https://www.transmissionbt.com/
-Source0:        
https://github.com/%{name}/%{name}-releases/raw/master/%{name}-%{version}.tar.xz
-Source1:        transmission-qt.desktop
-Source3:        README.openSUSE
+Source0:        
https://github.com/transmission/transmission/releases/download/%{version}/%{name}-%{version}.tar.xz
+Source1:        README.openSUSE
+Source99:       %{name}.rpmlintrc
 Patch0:         harden_transmission-daemon.service.patch
-Patch1:         transmission-hybrid-torrent-length.patch
-Patch2:         transmission-3.00-openssl-3.patch
+
+BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  intltool
+BuildRequires:  gettext-tools
 BuildRequires:  libb64-devel
-BuildRequires:  libcurl-devel
+BuildRequires:  libcurl-devel >= 7.28.0
+BuildRequires:  libdeflate-devel
 BuildRequires:  libevent-devel >= 2.0.0
 BuildRequires:  libminiupnpc-devel
-BuildRequires:  libqt5-linguist-devel >= 5.12
-BuildRequires:  libqt5-qtbase-devel >= 5.12
-BuildRequires:  libtool
-BuildRequires:  openssl-devel >= 0.9.7
+BuildRequires:  libpsl-devel
+BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(glib-2.0) >= 2.32.0
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.4.0
-BuildRequires:  pkgconfig(libsystemd) >= 209
+BuildRequires:  cmake(Qt5Gui) >= %{qt5_version}
+BuildRequires:  cmake(Qt5LinguistTools) >= %{qt5_version}
+BuildRequires:  cmake(Qt5Network) >= %{qt5_version}
+BuildRequires:  cmake(Qt5Svg) >= %{qt5_version}
+BuildRequires:  cmake(Qt5Widgets) >= %{qt5_version}
+BuildRequires:  pkgconfig(giomm-2.68) >= %{glibmm_version}
+BuildRequires:  pkgconfig(glibmm-2.68) >= %{glibmm_version}
+BuildRequires:  pkgconfig(gtkmm-4.0) >= 3.24.0
+BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(zlib) >= 1.2.3
+%if %{with ninja}
+BuildRequires:  ninja
+%endif
+%if %{with webui}
+BuildRequires:  npm >= 8.1.307
+%endif
+
 Requires:       %{name}-common = %{version}
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 Provides:       %{name}-ui = %{version}
-%if 0%{?WITH_APPINDICATOR}
-BuildRequires:  libappindicator3-devel >= 0.4.90
-%endif
 
 %description
 Transmission is a BitTorrent client. It has GTK+ and Qt GUI clients,
@@ -122,53 +149,46 @@
 %lang_package -n %{name}-qt
 
 %prep
-%setup
-cp %{SOURCE3} .
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1
+cp %{SOURCE1} .
 
 %build
-sed -i '/^Icon=/ s/$/-qt/' qt/transmission-qt.desktop
-%configure \
-    --prefix=/usr \
-    --enable-cli
-%make_build
-cd qt
-%qmake5 
DEFINES+=TRANSLATIONS_DIR=\\\\\\\"/usr/share/transmission/translations\\\\\\\"
-lrelease-qt5 translations/*.ts
+# Turning INSTALL_DOC off breaks the package because it doesn't install
+# transmission.1 manpage, argh!
+%cmake \
+    -D ENABLE_CLI=ON \
+    -D ENABLE_GTK=ON \
+    -D ENABLE_QT=ON \
+    -D ENABLE_WEB=%{webui_opt}
+%cmake_build
 
 %install
-%make_install
-(
-cd qt
-mkdir -p %{buildroot}/%{_datadir}/%{name}/translations
-mv translations/*qm %{buildroot}/%{_datadir}/%{name}/translations
-)
-make -C qt INSTALL_ROOT=%{buildroot}/usr install
-mkdir -p %{buildroot}%{_unitdir}
-install -m0644 daemon/transmission-daemon.service  %{buildroot}%{_unitdir}/
-mkdir -p %{buildroot}%{_sharedstatedir}/transmission
-install -d %{buildroot}%{_sbindir}
-ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rctransmission-daemon
-mkdir -p %{buildroot}%{_localstatedir}/lib/transmission
+%cmake_install
+
+%find_lang %{name}-gtk %{?no_lang_C}
+%find_lang transmission transmission-qt.lang --with-qt --without-mo 
%{?no_lang_C}
+%suse_update_desktop_file transmission-gtk
+%suse_update_desktop_file transmission-qt
+
+# The installation scripts don't install the Systemd service file for some
+# reason.
+install -v -m 0644 daemon/transmission-daemon.service \
+    -D -t %{buildroot}%{_unitdir}
+
 # create targets for transmission below /etc/alternatives/
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/transmission 
%{buildroot}/%{_bindir}/transmission
-ln -s -f %{_sysconfdir}/alternatives/transmission.1.gz 
%{buildroot}/%{_mandir}/man1/transmission.1.gz
+ln -s -f %{_sysconfdir}/alternatives/transmission \
+         %{buildroot}/%{_bindir}/transmission
+ln -s -f %{_sysconfdir}/alternatives/transmission.1.gz \
+         %{buildroot}/%{_mandir}/man1/transmission.1.gz
 # fix doc
 rm -rf %{buildroot}%{_datadir}/doc/transmission
-%find_lang transmission-gtk %{?no_lang_C}
-%find_lang transmission transmission-qt.lang --with-qt --without-mo 
%{?no_lang_C}
-%suse_update_desktop_file transmission-gtk
-%suse_update_desktop_file -i transmission-qt
-%fdupes %{buildroot}
 
 %pre daemon
 getent group transmission >/dev/null || groupadd -r transmission
 getent passwd transmission >/dev/null || \
-    useradd -r -g transmission -d %{_localstatedir}/lib/transmission -s 
/sbin/nologin \
-    -c "Transmission BT daemon user" transmission
+    useradd -r -g transmission -d %{_localstatedir}/lib/transmission \
+        -s /sbin/nologin -c "Transmission BT daemon user" transmission
 %service_add_pre transmission-daemon.service
 
 %post daemon
@@ -181,23 +201,26 @@
 %service_del_postun transmission-daemon.service
 
 %post
-update-alternatives --install %{_bindir}/transmission           transmission   
   %{_bindir}/transmission-cli 5         \
-                    --slave   %{_mandir}/man1/transmission.1.gz 
transmission.1.gz %{_mandir}/man1/transmission-cli.1.gz
+update-alternatives \
+    --install %{_bindir}/transmission transmission \
+              %{_bindir}/transmission-cli 5 \
+    --slave   %{_mandir}/man1/transmission.1.gz transmission.1.gz \
+              %{_mandir}/man1/transmission-cli.1.gz
 
 %post gtk
-update-alternatives --install %{_bindir}/transmission           transmission   
   %{_bindir}/transmission-gtk 15        \
-                    --slave   %{_mandir}/man1/transmission.1.gz 
transmission.1.gz %{_mandir}/man1/transmission-gtk.1.gz
+update-alternatives \
+    --install %{_bindir}/transmission transmission \
+              %{_bindir}/transmission-gtk 15 \
+    --slave   %{_mandir}/man1/transmission.1.gz transmission.1.gz \
+              %{_mandir}/man1/transmission-gtk.1.gz
 %desktop_database_post
 
 %post qt
-update-alternatives --install %{_bindir}/transmission           transmission   
   %{_bindir}/transmission-qt 10         \
-                    --slave   %{_mandir}/man1/transmission.1.gz 
transmission.1.gz %{_mandir}/man1/transmission-qt.1.gz
-%if 0%{?suse_version} < 1500
-%desktop_database_post
-
-%post common
-%icon_theme_cache_post
-%endif
+update-alternatives \
+    --install %{_bindir}/transmission transmission \
+              %{_bindir}/transmission-qt 10 \
+    --slave   %{_mandir}/man1/transmission.1.gz transmission.1.gz \
+              %{_mandir}/man1/transmission-qt.1.gz
 
 %postun
 # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
@@ -210,25 +233,17 @@
 if [ ! -f %{_bindir}/transmission-gtk ]; then
   update-alternatives --remove transmission %{_bindir}/transmission-gtk
 fi
-%if 0%{?suse_version} < 1500
-%desktop_database_postun
-%endif
 
 %postun qt
 # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
 if [ ! -f %{_bindir}/transmission-qt ]; then
   update-alternatives --remove transmission %{_bindir}/transmission-qt
 fi
-%if 0%{?suse_version} < 1500
-%desktop_database_postun
-
-%postun common
-%icon_theme_cache_postun
-%endif
 
 %files
-%doc AUTHORS NEWS.md README.md README.openSUSE
-%doc extras/rpc-spec.txt extras/send-email-when-torrent-done.sh
+%doc docs/* news/* AUTHORS README.md README.openSUSE
+%doc extras/send-email-when-torrent-done.sh extras/encryption.txt
+%doc extras/extended-messaging.txt
 %license COPYING
 %{_bindir}/%{name}-cli
 %{_bindir}/%{name}-create
@@ -240,59 +255,77 @@
 %{_mandir}/man1/%{name}-edit.1%{?ext_man}
 %{_mandir}/man1/%{name}-remote.1%{?ext_man}
 %{_mandir}/man1/%{name}-show.1%{?ext_man}
-# Update-Alternative managed
+
+# Binary and manpage provided via update-alternatives
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
+
 %ghost %{_sysconfdir}/alternatives/%{name}
 %ghost %{_sysconfdir}/alternatives/%{name}.1.gz
 
 %files daemon
-%doc AUTHORS NEWS.md README.md README.openSUSE
+%doc docs/* news/* AUTHORS README.md README.openSUSE
+%doc extras/send-email-when-torrent-done.sh extras/encryption.txt
+%doc extras/extended-messaging.txt
 %license COPYING
-%dir %{_localstatedir}/lib/%{name}
-%{_mandir}/man1/%{name}-daemon.1%{?ext_man}
 %{_bindir}/%{name}-daemon
-%{_sbindir}/rc%{name}-daemon
+%{_mandir}/man1/%{name}-daemon.1%{?ext_man}
 %{_unitdir}/%{name}-daemon.service
-%attr(-,transmission,transmission)%{_localstatedir}/lib/transmission/
-
-%files -n %{name}-gtk-lang -f %{name}-gtk.lang
 
 %files gtk
-%doc AUTHORS NEWS.md README.md README.openSUSE
+%doc docs/* news/* AUTHORS README.md README.openSUSE
+%doc extras/send-email-when-torrent-done.sh extras/encryption.txt
+%doc extras/extended-messaging.txt
 %license COPYING
 %{_bindir}/%{name}-gtk
 %{_datadir}/applications/%{name}-gtk.desktop
 %{_mandir}/man1/%{name}-gtk.1%{?ext_man}
-# Update-Alternative managed
+%dir %{_datadir}/metainfo
+%{_datadir}/metainfo/%{name}-gtk.metainfo.xml
+
+# Binary and manpage provided via update-alternatives
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
+
 %ghost %{_sysconfdir}/alternatives/%{name}
 %ghost %{_sysconfdir}/alternatives/%{name}.1.gz
-%dir %{_datadir}/appdata
-%{_datadir}/appdata/%{name}-gtk.appdata.xml
-
-%files -n %{name}-qt-lang -f %{name}-qt.lang
-%dir %{_datadir}/%{name}/translations
 
 %files qt
-%doc AUTHORS NEWS.md README.md README.openSUSE
+%doc docs/* news/* AUTHORS README.md README.openSUSE
+%doc extras/send-email-when-torrent-done.sh extras/encryption.txt
+%doc extras/extended-messaging.txt
 %license COPYING
 %{_bindir}/%{name}-qt
 %{_datadir}/applications/%{name}-qt.desktop
 %{_mandir}/man1/%{name}-qt.1%{?ext_man}
-# Update-Alternative managed
+
+# Binary and manpage provided via update-alternatives
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
+
 %ghost %{_sysconfdir}/alternatives/%{name}
 %ghost %{_sysconfdir}/alternatives/%{name}.1.gz
 
 %files common
-%{_datadir}/%{name}/
-%{_datadir}/icons/*/*/apps/%{name}.*
-%{_datadir}/icons/hicolor/symbolic/apps/transmission-symbolic.svg
-%{_datadir}/icons/hicolor/scalable/apps/transmission-devel.svg
-%{_datadir}/pixmaps/transmission.png
-%exclude %{_datadir}/%{name}/translations
+%{_datadir}/icons/*/*/apps/%{name}*.svg
+# English translations should be generally available
+%{_datadir}/locale/en_AU/LC_MESSAGES/
+%{_datadir}/locale/en_CA/LC_MESSAGES/
+%{_datadir}/locale/en_GB/LC_MESSAGES/
+%{_datadir}/%{name}/translations/transmission_en.qm
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/public_html
+%{_datadir}/%{name}/public_html/*
+
+%files gtk-lang -f %{name}-gtk.lang
+# English translations should be generally available
+%exclude %{_datadir}/locale/en_AU/LC_MESSAGES/
+%exclude %{_datadir}/locale/en_CA/LC_MESSAGES/
+%exclude %{_datadir}/locale/en_GB/LC_MESSAGES/
+
+%files qt-lang -f %{name}-qt.lang
+%dir %{_datadir}/%{name}/translations
+# English translations should be generally available
+%exclude %{_datadir}/%{name}/translations/transmission_en.qm
 
 %changelog

++++++ harden_transmission-daemon.service.patch ++++++
--- /var/tmp/diff_new_pack.3uzrS6/_old  2023-03-16 22:58:19.243451752 +0100
+++ /var/tmp/diff_new_pack.3uzrS6/_new  2023-03-16 22:58:19.243451752 +0100
@@ -1,9 +1,7 @@
-Index: transmission-3.00/daemon/transmission-daemon.service
-===================================================================
---- transmission-3.00.orig/daemon/transmission-daemon.service
-+++ transmission-3.00/daemon/transmission-daemon.service
-@@ -3,6 +3,18 @@ Description=Transmission BitTorrent Daem
- After=network.target
+--- a/daemon/transmission-daemon.service
++++ b/daemon/transmission-daemon.service
+@@ -4,6 +4,18 @@ Wants=network-online.target
+ After=network-online.target
  
  [Service]
 +# added automatically, for details please see
@@ -20,5 +18,5 @@
 +# end of automatic additions 
  User=transmission
  Type=notify
- ExecStart=/usr/bin/transmission-daemon -f --log-error
+ ExecStart=/usr/bin/transmission-daemon -f --log-level=error
 

++++++ transmission-3.00.tar.xz -> transmission-4.0.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/transmission/transmission-3.00.tar.xz 
/work/SRC/openSUSE:Factory/.transmission.new.31432/transmission-4.0.2.tar.xz 
differ: char 25, line 1

++++++ transmission.rpmlintrc ++++++
# We are excluding the English translations from the lang sub-packages.
addFilter("W: file-not-in-%lang")

Reply via email to