commit cd44353db68cee075ffae5c22ddbedbb374686db
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun Apr 16 19:16:52 2017 +0500
Updated to 1.0.33.
.gitignore | 1 +
add_russian_locale.patch | 61 ----------------------------------------
fix_build_under_fedora.patch | 2 +-
sources | 2 +-
tdesktop-1.0.32-russian.strings | Bin 126480 -> 0 bytes
telegram-desktop.spec | 14 ++++-----
6 files changed, 9 insertions(+), 71 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2f68468..097d2d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/gyp-a7055b3.tar.gz
/tdesktop-1.0.32.tar.gz
/variant-916139a.tar.gz
+/tdesktop-1.0.33.tar.gz
diff --git a/fix_build_under_fedora.patch b/fix_build_under_fedora.patch
index 779b731..5fcbb56 100644
--- a/fix_build_under_fedora.patch
+++ b/fix_build_under_fedora.patch
@@ -1,4 +1,4 @@
-From 2ba1652200c05c044794509c29512c2c32d7b31f Mon Sep 17 00:00:00 2001
+From c99ca98baf3b25ec11fd969ab232ee7e87b8114f 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] Fixed build under Fedora using rpmbuild and mock.
diff --git a/sources b/sources
index 47359eb..63f0125 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
1ac9a7ddda444ccaa53f26887dd07700 GSL-3819df6.tar.gz
25f0e2a2cd43ab48eedc61244e02952f gyp-a7055b3.tar.gz
-c7bc514a4b73272aec4e896f5738d975 tdesktop-1.0.32.tar.gz
+cc31d37681372a4d0e338429422b99ef tdesktop-1.0.33.tar.gz
8cb2c878f46705b0295f77e9f1a8890c variant-916139a.tar.gz
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 15e0746..4f52dbd 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -15,7 +15,7 @@
Summary: Telegram is a new era of messaging
Name: telegram-desktop
-Version: 1.0.32
+Version: 1.0.33
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -23,8 +23,8 @@ Release: 1%{?dist}
# * S1 (GYP) - BSD -- build-time dependency;
# * S2 (GSL) - MIT -- build-time dependency;
# * S3 (Variant) - BSD -- build-time dependency;
-# * S4 (Russian language pack) - GPLv3 -- bundled into executable.
-License: GPLv3+ and GPLv3 and LGPLv3 and BSD and MIT
+# * P0 (qt_functions.cpp) - LGPLv3 -- build-time dependency.
+License: GPLv3+ and LGPLv3 and BSD and MIT
Group: Applications/Internet
URL:
https://github.com/telegramdesktop/%{appname}
ExclusiveArch: i686 x86_64
@@ -33,10 +33,8 @@ Source0:
%{url}/archive/v%{version}.tar.gz#/%{appname}-%{version}.tar.gz
Source1:
https://chromium.googlesource.com/external/gyp/+archive/%{commit1}.tar.gz...
Source2:
https://github.com/Microsoft/GSL/archive/%{commit2}.tar.gz#/GSL-%{shortco...
Source3:
https://github.com/mapbox/variant/archive/%{commit3}.tar.gz#/variant-%{sh...
-Source4:
https://tlgrm.ru/files/locales/tdesktop/Russian.strings#/%{appname}-%{ver...
Patch0: fix_build_under_fedora.patch
-Patch1: add_russian_locale.patch
Requires: hicolor-icon-theme
Requires: qt5-qtimageformats%{?_isa}
@@ -128,9 +126,6 @@ pushd third_party
mv variant-%{commit3} variant
popd
-# Unpacking additional locales from sources...
-iconv -f "UTF-16" -t "UTF-8" "%{SOURCE4}" >
Telegram/Resources/langs/lang_ru.strings
-
%build
# Exporting correct build flags...
export CFLAGS="%{optflags}"
@@ -212,6 +207,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Sun Apr 16 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.33-1
+- Updated to 1.0.33 (alpha).
+
* Thu Apr 13 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.32-1
- Updated to 1.0.32 (alpha).