Hello community, here is the log from the commit of package leechcraft for openSUSE:Factory checked in at 2020-09-25 16:32:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/leechcraft (Old) and /work/SRC/openSUSE:Factory/.leechcraft.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "leechcraft" Fri Sep 25 16:32:12 2020 rev:61 rq:835711 version:0.6.70+git.13907.g785196c688 Changes: -------- --- /work/SRC/openSUSE:Factory/leechcraft/leechcraft.changes 2020-09-14 12:28:51.413118874 +0200 +++ /work/SRC/openSUSE:Factory/.leechcraft.new.4249/leechcraft.changes 2020-09-25 16:32:53.123962333 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 07:28:57 UTC 2020 - Luigi Baldoni <aloi...@gmx.com> + +- Use legacy libtorrent-rasterbar on Tumbleweed +- Add leechcraft-libtorrent-legacy.patch + +------------------------------------------------------------------- New: ---- leechcraft-libtorrent-legacy.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ leechcraft.spec ++++++ --- /var/tmp/diff_new_pack.NXkC20/_old 2020-09-25 16:32:53.963963079 +0200 +++ /var/tmp/diff_new_pack.NXkC20/_new 2020-09-25 16:32:53.971963086 +0200 @@ -59,6 +59,8 @@ Patch0: leechcraft-Qt5_12.patch # PATCH-FIX-OPENSUSE vs. Leap 15.2 qtermwidget' pkgconfig issue. Patch1: leechcraft-qtermwidget-Leap-15_2.patch +# PATCH-FIX-OPENSUSE leechcraft-libtorrent-legacy.patch +Patch2: leechcraft-libtorrent-legacy.patch BuildRequires: cmake >= 3.8 BuildRequires: fdupes @@ -150,8 +152,13 @@ %endif BuildRequires: pkgconfig(libtcmalloc) %ifarch %ix86 x86_64 %arm ppc64le +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(libtorrent-rasterbar-1) >= 1.2.0 +%else BuildRequires: pkgconfig(libtorrent-rasterbar) >= 1.2.0 %endif +%endif + BuildRequires: pkgconfig(libudev) %if 0%{?suse_version} > 1325 || 0%{?sle_version} >= 120300 BuildRequires: pkgconfig(poppler-cpp) @@ -2261,6 +2268,9 @@ %patch0 -p1 %patch1 -p1 %endif +%if 0%{?suse_version} > 1500 +%patch2 -p1 +%endif #removing non-free icons rm -rf src/plugins/azoth/share/azoth/iconsets/clients/default ++++++ leechcraft-libtorrent-legacy.patch ++++++ From: Luigi Baldoni <aloi...@gmx.com> Date: 2020-09-11 13:10:50 +0200 Subject: Use legacy libtorrent-rasterbar Leechcraft has not yet been ported to the libtorrent v2 API --- Index: leechcraft-0.6.70-13907-g785196c688/src/plugins/bittorrent/CMakeLists.txt =================================================================== --- leechcraft-0.6.70-13907-g785196c688.orig/src/plugins/bittorrent/CMakeLists.txt +++ leechcraft-0.6.70-13907-g785196c688/src/plugins/bittorrent/CMakeLists.txt @@ -3,7 +3,7 @@ project (leechcraft_bittorrent) include (InitLCPlugin NO_POLICY_SCOPE) find_package (PkgConfig) -pkg_check_modules (Libtorrent REQUIRED IMPORTED_TARGET libtorrent-rasterbar) +pkg_check_modules (Libtorrent REQUIRED IMPORTED_TARGET libtorrent-rasterbar-1) option (ENABLE_BITTORRENT_GEOIP "Enable support for GeoIP in BitTorrent" OFF)