From ae12d5962188e968b0a462c2b76f11d23a61c4cf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 20 2018 10:32:49 +0000 Subject: Upstream is dead --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a66efc9..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/cutegram-c67ce70.tar.gz -/cutegram-bfdceb3.tar.gz diff --git a/0001-Install-cutegram-binary-when-BinaryMode-is-enabled.patch b/0001-Install-cutegram-binary-when-BinaryMode-is-enabled.patch deleted file mode 100644 index 43dea9c..0000000 --- a/0001-Install-cutegram-binary-when-BinaryMode-is-enabled.patch +++ /dev/null @@ -1,26 +0,0 @@ -From a9755b7ca244a7ac515e1f81603c8b4286178828 Mon Sep 17 00:00:00 2001 -From: Vitaly Zaitsev -Date: Sat, 23 Jul 2016 18:54:44 +0500 -Subject: [PATCH 1/3] Install 'cutegram' binary when BinaryMode is enabled - -Closes: #231 ---- - cutegram.pro | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/cutegram.pro b/cutegram.pro -index 2bb3824..d87ed00 100644 ---- a/cutegram.pro -+++ b/cutegram.pro -@@ -2,6 +2,8 @@ contains(CONFIG, binaryMode) { - CONFIG += c++11 - TARGET = cutegram - QT += qml quick gui widgets core -+ target.path = $$PREFIX/bin -+ INSTALLS += target - TEMPLATE = app - SOURCES += main.cpp - RESOURCES += \ --- -2.9.2 - diff --git a/0002-desktop-Exec-cutegram-when-binaryMode-is-enabled.patch b/0002-desktop-Exec-cutegram-when-binaryMode-is-enabled.patch deleted file mode 100644 index 997f07d..0000000 --- a/0002-desktop-Exec-cutegram-when-binaryMode-is-enabled.patch +++ /dev/null @@ -1,63 +0,0 @@ -From c1b3c335b7ac700ee5b19b56b527f8d4d1a99435 Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Sat, 23 Jul 2016 16:37:03 +0200 -Subject: [PATCH 2/3] desktop: Exec=cutegram when binaryMode is enabled - -Closes: #231 -Signed-off-by: Igor Gnatenko ---- - cutegram.pro | 7 ++++++- - share/{Cutegram.desktop => Cutegram.desktop.in} | 2 +- - 2 files changed, 7 insertions(+), 2 deletions(-) - rename share/{Cutegram.desktop => Cutegram.desktop.in} (84%) - -diff --git a/cutegram.pro b/cutegram.pro -index d87ed00..9bbe2dd 100644 ---- a/cutegram.pro -+++ b/cutegram.pro -@@ -9,15 +9,19 @@ contains(CONFIG, binaryMode) { - RESOURCES += \ - resource.qrc \ - emojis/emojis.qrc -+ SHORTCUT = cutegram - } else { - TEMPLATE = aux -+ SHORTCUT = qmlscene /usr/share/cutegram/3.0/main.qml - } - - OTHER_FILES += $$files(*, true) - VERSION = 3.0 - -+shortcut.input = share/Cutegram.desktop.in -+shortcut.output = share/Cutegram.desktop - shortcut.path = $$PREFIX/share/applications/ --shortcut.files = share/Cutegram.desktop -+shortcut.files = $$shortcut.output - icons.path = $$PREFIX/share/icons - icons.files = share/hicolor - pixmaps.path = $$PREFIX/share/pixmaps -@@ -44,4 +48,5 @@ qmlFiles.files = \ - GPL.txt \ - LICENSE - -+QMAKE_SUBSTITUTES += shortcut - INSTALLS += qmlFiles shortcut icons pixmaps -diff --git a/share/Cutegram.desktop b/share/Cutegram.desktop.in -similarity index 84% -rename from share/Cutegram.desktop -rename to share/Cutegram.desktop.in -index c5710b9..a8bf3fc 100644 ---- a/share/Cutegram.desktop -+++ b/share/Cutegram.desktop.in -@@ -1,7 +1,7 @@ - [Desktop Entry] - Categories=Network;Application; - Comment=A telegram client by Aseman --Exec=qmlscene /usr/share/cutegram/3.0/main.qml -+Exec=$$SHORTCUT - GenericName=Telegram client - Icon=cutegram - Name=Cutegram --- -2.9.2 - diff --git a/0003-don-t-install-qmlFiles-when-binaryMode-is-enabled.patch b/0003-don-t-install-qmlFiles-when-binaryMode-is-enabled.patch deleted file mode 100644 index 232ee0d..0000000 --- a/0003-don-t-install-qmlFiles-when-binaryMode-is-enabled.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 1c2f4449084811e66dfa2d1a73c2849e08ecfd9f Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Sat, 23 Jul 2016 20:02:21 +0200 -Subject: [PATCH 3/3] don't install qmlFiles when binaryMode is enabled - -Signed-off-by: Igor Gnatenko ---- - cutegram.pro | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/cutegram.pro b/cutegram.pro -index 9bbe2dd..fffea20 100644 ---- a/cutegram.pro -+++ b/cutegram.pro -@@ -2,8 +2,6 @@ contains(CONFIG, binaryMode) { - CONFIG += c++11 - TARGET = cutegram - QT += qml quick gui widgets core -- target.path = $$PREFIX/bin -- INSTALLS += target - TEMPLATE = app - SOURCES += main.cpp - RESOURCES += \ -@@ -49,4 +47,10 @@ qmlFiles.files = \ - LICENSE - - QMAKE_SUBSTITUTES += shortcut --INSTALLS += qmlFiles shortcut icons pixmaps -+contains(CONFIG, binaryMode) { -+ target.path = $$PREFIX/bin -+ INSTALLS += target -+} else { -+ INSTALLS += qmlFiles -+} -+INSTALLS += shortcut icons pixmaps --- -2.9.2 - diff --git a/cutegram.spec b/cutegram.spec deleted file mode 100644 index 243ed30..0000000 --- a/cutegram.spec +++ /dev/null @@ -1,107 +0,0 @@ -%global origname Cutegram - -%global commit bfdceb350b593bc26133e6f4e29ce84bf89952fb -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: cutegram -Version: 3.0 -Release: 0.12git%{shortcommit}%{?dist} -Summary: Cutegram is a telegram client by Aseman Land - -# Bundled JS stuff: -# js-linkify: MIT -# js-twemoji: MIT and CC-BY-4.0 -# awesome-fonts: MIT and OFL-1.0 -License: GPLv3+ and MIT and CC-BY-4.0 and OFL -URL: https://github.com/Aseman-Land/%{origname} -Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz -# https://github.com/Aseman-Land/Cutegram/pull/233 -Patch0001: 0001-Install-cutegram-binary-when-BinaryMode-is-enabled.patch -Patch0002: 0002-desktop-Exec-cutegram-when-binaryMode-is-enabled.patch -Patch0003: 0003-don-t-install-qmlFiles-when-binaryMode-is-enabled.patch - -BuildRequires: gcc-c++ - -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel - -BuildRequires: /usr/bin/desktop-file-validate - -Provides: bundled(js-linkify) -Provides: bundled(js-twemoji) -Provides: bundled(awesome-fonts) - -Requires: hicolor-icon-theme - -Requires: aseman-qt-tools%{?_isa} -Requires: telegramqml%{?_isa} -Requires: qt5-qtquickcontrols%{?_isa} -Requires: qt5-qtgraphicaleffects%{?_isa} -Requires: qt5-qtimageformats%{?_isa} - -%description -A different telegram client from Aseman team. Cutegram forked from Sigram -by Sialan Labs. Cutegram project are released under the terms of the GPLv3 -license. - -%prep -%autosetup -n %{origname}-%{commit} -p1 -mkdir %{_target_platform} - -%build -pushd %{_target_platform} - %qmake_qt5 PREFIX=%{_prefix} CONFIG+=binaryMode .. -popd -%make_build -C %{_target_platform} - -%install -%make_install INSTALL_ROOT=%{buildroot} -C %{_target_platform} - -%check -desktop-file-validate %{buildroot}%{_datadir}/applications/%{origname}.desktop - -%files -%license GPL.txt -%{_bindir}/%{name} -%{_datadir}/icons/hicolor/*/apps/%{name}.png -%{_datadir}/pixmaps/%{name}.png -%{_datadir}/applications/%{origname}.desktop - -%changelog -* Thu Jul 12 2018 Fedora Release Engineering - 3.0-0.12gitbfdceb3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 3.0-0.11gitbfdceb3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 11 2018 Igor Gnatenko - 3.0-0.10gitbfdceb3 -- Remove obsolete scriptlets - -* Wed Aug 02 2017 Fedora Release Engineering - 3.0-0.9gitbfdceb3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 3.0-0.8gitbfdceb3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 3.0-0.7gitbfdceb3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat Aug 06 2016 Igor Gnatenko - 3.0-0.6gitbfdceb3 -- Update to latest snapshot -- Add runtime req: qt5-qtimageformats to display stickers - -* Mon Jul 25 2016 Igor Gnatenko - 3.0-0.5gitc67ce70 -- Add Provides and License for awesome-fonts -- Run update-desktop-database due to MimeType in %%post and %%postun - -* Sat Jul 23 2016 Igor Gnatenko - 3.0-0.4git7294861 -- Add missing Requires: qt5-qtgraphicaleffects - -* Sat Jul 23 2016 Igor Gnatenko - 3.0-0.3git7294861 -- Apply patch to not install uncompressed qml files (we use one-binary mode) - -* Sat Jul 23 2016 Igor Gnatenko - 3.0-0.2git7294861 -- Fix BuildRequires and Requires - -* Sat Jul 23 2016 Vitaly Zaitsev - 3.0-0.1git7294861 -- Initial commit. diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..c7e3db5 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Upstream is dead diff --git a/sources b/sources deleted file mode 100644 index 248912f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -890e605fe4778f6b05950cf9e2e656d4 cutegram-bfdceb3.tar.gz