[wl-kmod] Fix patch for kernel >= 5.1.x - get_ds function removed even for WEXT
by Nicolas Viéville
commit a6620a72e964ae9e6f65c5ad70ca99f51723a676
Author: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
Date: Sat Jun 1 21:38:36 2019 +0200
Fix patch for kernel >= 5.1.x - get_ds function removed even for WEXT
wl-kmod-015_kernel_5.1_get_ds_removed.patch | 15 +++++++++++++++
wl-kmod.spec | 5 ++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/wl-kmod-015_kernel_5.1_get_ds_removed.patch b/wl-kmod-015_kernel_5.1_get_ds_removed.patch
index 39c6888..92947ab 100644
--- a/wl-kmod-015_kernel_5.1_get_ds_removed.patch
+++ b/wl-kmod-015_kernel_5.1_get_ds_removed.patch
@@ -13,3 +13,18 @@ diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_
#if defined(WL_USE_NETDEV_OPS)
err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
#else
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_iw.c 2017-06-03 15:26:57.095475000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_iw.c 2019-05-30 01:29:32.766280636 +0200
+@@ -117,7 +117,11 @@
+ ifr.ifr_data = (caddr_t) &ioc;
+
+ fs = get_fs();
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
++ set_fs(KERNEL_DS);
++#else
+ set_fs(get_ds());
++#endif
+ #if defined(WL_USE_NETDEV_OPS)
+ ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+ #else
diff --git a/wl-kmod.spec b/wl-kmod.spec
index ea853cf..079f609 100644
--- a/wl-kmod.spec
+++ b/wl-kmod.spec
@@ -8,7 +8,7 @@
Name: wl-kmod
Version: 6.30.223.271
-Release: 25%{?dist}
+Release: 26%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -257,6 +257,9 @@ chmod 0755 $RPM_BUILD_ROOT%{kmodinstdir_prefix}*%{kmodinstdir_postfix}/* || :
rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Jun 01 2019 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 6.30.223.271-26
+- Fix patch for kernel >= 5.1.x - get_ds function removed even for WEXT
+
* Sun May 19 2019 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 6.30.223.271-25
- Add patch for f30 new wpa_supplicant - fix unsupported mesh point RHBZ#1703745
5 years, 4 months
[telegram-desktop/f29: 6/6] Updated to version 1.7.3.
by Vitaly Zaitsev
commit bdd2e66e281d5fc1ac8b3aa2330afbbbd74805e3
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Jun 1 16:25:30 2019 +0200
Updated to version 1.7.3.
.gitignore | 2 ++
sources | 4 ++--
telegram-desktop-build-fixes.patch | 10 +++++-----
telegram-desktop-system-fonts.patch | 2 +-
telegram-desktop-unbundle-minizip.patch | 6 +++---
telegram-desktop.spec | 14 ++++++++++++--
6 files changed, 25 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9268b18..c7386f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -84,3 +84,5 @@
/crl-d259aeb.tar.gz
/qtlottie-6cd5e32.tar.gz
/tdesktop-1.7.1.tar.gz
+/qtlottie-ddccffe.tar.gz
+/tdesktop-1.7.3.tar.gz
diff --git a/sources b/sources
index ca56694..5a8950f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
22d696169c7e4ae7dbd2ab1e979cadd7 crl-d259aeb.tar.gz
-a2346ad2b0fb2d43b9882058bc65a03f qtlottie-6cd5e32.tar.gz
-4cd9ec4fb81acd45cff94424ad4353e5 tdesktop-1.7.1.tar.gz
+76de58d74aa53accb2ad1e13985e3cd2 qtlottie-ddccffe.tar.gz
+d3089ab1fd5523586541d7254cef0515 tdesktop-1.7.3.tar.gz
diff --git a/telegram-desktop-build-fixes.patch b/telegram-desktop-build-fixes.patch
index dcbcd57..6ce2f6d 100644
--- a/telegram-desktop-build-fixes.patch
+++ b/telegram-desktop-build-fixes.patch
@@ -1,4 +1,4 @@
-From c2ac9062ba855d63d9fcdc3337eedd0a4779a872 Mon Sep 17 00:00:00 2001
+From 600fe56f65749506b4a71bacf218e952b0439961 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH 1/3] Fixed build under Fedora using rpmbuild and mock.
@@ -204,7 +204,7 @@ index dfe1193be..75bcd675d 100644
IMPLICIT_DEPENDS CXX "${_pch_header}"
COMMENT "Precompiling header ${_name} for ${_target} (C++)")
diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp
-index 7370115f0..b48eb774c 100644
+index 57d81be5f..65c98afb4 100644
--- a/Telegram/gyp/Telegram.gyp
+++ b/Telegram/gyp/Telegram.gyp
@@ -51,15 +51,13 @@
@@ -268,8 +268,8 @@ index 7370115f0..b48eb774c 100644
],
'sources': [
'<@(qrc_files)',
-@@ -132,7 +114,6 @@
- 'TDESKTOP_OFFICIAL_TARGET=<(official_build_target)',
+@@ -133,7 +115,6 @@
+ 'TDESKTOP_FORCE_GTK_FILE_DIALOG',
],
'dependencies': [
- 'utils.gyp:Packer',
@@ -815,7 +815,7 @@ index ffe0e5a96..9bc686d44 100644
],
}], ['<!(pkg-config ayatana-appindicator3-0.1; echo $?) == 0', {
diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index 43e043a55..bdf6f80f2 100644
+index bd8dc1a67..a043c3869 100644
--- a/Telegram/gyp/telegram_sources.txt
+++ b/Telegram/gyp/telegram_sources.txt
@@ -861,7 +861,7 @@
diff --git a/telegram-desktop-system-fonts.patch b/telegram-desktop-system-fonts.patch
index 2e2714f..0da5933 100644
--- a/telegram-desktop-system-fonts.patch
+++ b/telegram-desktop-system-fonts.patch
@@ -1,4 +1,4 @@
-From 67936057480c18f23723d95cfa9bf5ad4913a226 Mon Sep 17 00:00:00 2001
+From 94d2e8d53304dcb0eb3223277e6a8adf8638940f Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun, 24 Jun 2018 22:59:34 +0200
Subject: [PATCH 2/3] Backported and rebased patch from Debian maintainer
diff --git a/telegram-desktop-unbundle-minizip.patch b/telegram-desktop-unbundle-minizip.patch
index 7817fa7..c59ad4c 100644
--- a/telegram-desktop-unbundle-minizip.patch
+++ b/telegram-desktop-unbundle-minizip.patch
@@ -1,4 +1,4 @@
-From 1792a6c2892fef18a1b09f0a58c6ef0632f0c5f2 Mon Sep 17 00:00:00 2001
+From d6708c89d73c8984a79972514b97f8e21c4640ef Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed, 17 Oct 2018 17:57:59 +0200
Subject: [PATCH 3/3] Use packaged version of minizip on Fedora <= 29.
@@ -10,7 +10,7 @@ Subject: [PATCH 3/3] Use packaged version of minizip on Fedora <= 29.
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/Telegram/gyp/Telegram.gyp b/Telegram/gyp/Telegram.gyp
-index b48eb774c..c34617aa2 100644
+index 65c98afb4..063f2b053 100644
--- a/Telegram/gyp/Telegram.gyp
+++ b/Telegram/gyp/Telegram.gyp
@@ -18,7 +18,6 @@
@@ -50,7 +50,7 @@ index 9bc686d44..806374202 100644
'lzma',
'xxhash',
diff --git a/Telegram/gyp/telegram_sources.txt b/Telegram/gyp/telegram_sources.txt
-index bdf6f80f2..c20b61824 100644
+index a043c3869..7d319595f 100644
--- a/Telegram/gyp/telegram_sources.txt
+++ b/Telegram/gyp/telegram_sources.txt
@@ -868,13 +868,6 @@
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index e8ef23d..3dcb4ba 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -19,7 +19,7 @@
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
# Git revision of qtlottie...
-%global commit2 6cd5e323645746620f96450487e05900a0fbc7ce
+%global commit2 ddccffed3c87ce6763dd73a6453b1edfb1389743
%global shortcommit2 %(c=%{commit2}; echo ${c:0:7})
# Decrease debuginfo verbosity to reduce memory consumption...
@@ -32,20 +32,24 @@
Summary: Telegram Desktop official messaging app
Name: telegram-desktop
-Version: 1.7.1
+Version: 1.7.3
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * S0 (Telegram Desktop) - GPLv3+ with OpenSSL exception -- main source;
# * S1 (crl) - GPLv3+ -- build-time dependency;
+# * S2 (qtlottie) - GPLv3+ -- build-time dependency;
# * P0 (qt_functions.cpp) - LGPLv3 -- build-time dependency.
License: GPLv3+ and LGPLv3
URL: %{upstreambase}/%{appname}
ExclusiveArch: i686 x86_64
+# Source files...
Source0: %{url}/archive/v%{version}.tar.gz#/%{appname}-%{version}.tar.gz
Source1: %{upstreambase}/crl/archive/%{commit1}.tar.gz#/crl-%{shortcommit1}.tar.gz
Source2: %{upstreambase}/qtlottie/archive/%{commit2}.tar.gz#/qtlottie-%{shortcommit2}.tar.gz
+
+# Downstream patches...
Patch0: %{name}-build-fixes.patch
Patch1: %{name}-system-fonts.patch
Patch2: %{name}-unbundle-minizip.patch
@@ -55,6 +59,9 @@ Requires: qt5-qtimageformats%{?_isa}
Requires: hicolor-icon-theme
Requires: open-sans-fonts
+# Special patched version of qtlottie required.
+Provides: bundled(qtlottie) = 0
+
# Compilers and tools...
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -208,6 +215,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_metainfodir}/%{name}.appdata.xml
%changelog
+* Sat Jun 01 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.7.3-1
+- Updated to 1.7.3.
+
* Wed May 29 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.7.1-1
- Updated to 1.7.1 (beta).
5 years, 4 months
[telegram-desktop/f29] (6 commits) ...Updated to version 1.7.3.
by Vitaly Zaitsev
Summary of changes:
7da828c... Switched to special metainfo macro instead of hardcoded pat (*)
1eafaf3... Switched to clang as temporary workaround until GCC regress (*)
aff64ec... Use clang compiler only for Fedora 30+. (*)
be063b5... Updated changelog entry. (*)
26f0eb0... Updated to 1.7.1 (beta). (*)
bdd2e66... Updated to version 1.7.3.
(*) This commit already existed in another branch; no separate mail sent
5 years, 4 months
[unifi/f29] Update to 5.10.24.
by Richard Shaw
Summary of changes:
b173be5... Update to 5.10.24. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 4 months
[unifi] Update to 5.10.24.
by Richard Shaw
Summary of changes:
b173be5... Update to 5.10.24. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 4 months
[unifi/f30] Update to 5.10.24.
by Richard Shaw
commit b173be58f17e135d09dbe8bbffe826f1b822967d
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Sat Jun 1 07:24:41 2019 -0500
Update to 5.10.24.
.gitignore | 1 +
sources | 2 +-
unifi.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10f98bb..98df7ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/UniFi-5.10.19.unix.zip
/UniFi-5.10.21.unix.zip
/UniFi-5.10.23.unix.zip
+/UniFi-5.10.24.unix.zip
diff --git a/sources b/sources
index efda87e..a9acf0f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0d1e76b0ca27668c4f8504b63d04afc3 UniFi-5.10.23.unix.zip
+2c410f186dccfb12675b78a2f2bf640a UniFi-5.10.24.unix.zip
diff --git a/unifi.spec b/unifi.spec
index 4ad27a6..e120ca3 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -4,8 +4,8 @@
%global __strip /bin/true
Name: unifi
-Version: 5.10.23
-Release: 2%{?dist}
+Version: 5.10.24
+Release: 1%{?dist}
Summary: Ubiquiti UniFi controller
License: Proprietary
@@ -303,6 +303,9 @@ fi
%changelog
+* Sat Jun 01 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.10.24-1
+- Update to 5.10.24.
+
* Wed May 29 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.10.23-2
- Require /usr/bin/mongod on F30+.
5 years, 4 months