Commit Graph

197 Commits

Author SHA1 Message Date
Michael Weiss
393b3e8746
tdesktop: 1.9.3 -> 1.9.4 (#78274) 2020-01-22 14:29:47 +01:00
Michael Weiss
1835ac1d79
tdesktop: 1.8.15 -> 1.9.3
The GYP build is now deprecated [0].
This results in a large number of changes and many custom Nix patches
aren't required anymore (and probably haven't been required for quite
some time now, the derivation got a bit outdated...).

A lot of the changes in this commit are based on the changes of the
Arch package [1][2] (which our package is based upon).

Rough overview of the changes:
- gcc9 -> ninja (optional but let's follow Arch here)
- Dropped GYP, only CMake now
  - But: Python is still required
- fetchFromGitHub -> fetchurl (optional?)
- Apply all Arch patches and remove old patches
  - Requires one new patch for range-v3
- New dependencies: enchant2, lz4, xxHash
  - TODO: Plus a few new dependencies that shouldn't be required
- Cleanup: Irrelevant flags (e.g. GYP_DEFINES) and patches (e.g. sed)
  - Simplifies quite a few things :)
- Some additional documentation and TODOs

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>

[0]: https://github.com/telegramdesktop/tdesktop/issues/7001
[1]: https://git.archlinux.org/svntogit/community.git/commit/?id=23eff2b1ef7435441e93120618ca899f0b0e7e61
[2]: https://git.archlinux.org/svntogit/community.git/commit/?id=6a19e949724b2e2bfcdcf2081111ecd46108e449
2020-01-18 23:28:10 +01:00
Michael Weiss
8468a6f90f
tdesktop: 1.8.13 -> 1.8.15 2019-10-08 14:55:50 +02:00
Michael Weiss
c1b1270255
tdesktop: 1.8.9 -> 1.8.13 2019-10-04 22:00:54 +02:00
Michael Weiss
27a335c963
tdesktop: 1.8.8 -> 1.8.9 2019-09-29 21:21:50 +02:00
Michael Weiss
0d71e69101
tdesktop: 1.8.4 -> 1.8.8 2019-09-11 12:17:50 +02:00
Michael Weiss
4de4d2e57a
tdesktop: 1.8.2 -> 1.8.4
I didn't include the additional sed patching from Arch [0] as the build
ran fine without it and I didn't notice any issues at runtime.
The fixes for "ranges::sized_iterator_range" might only be required on
Arch due to other library versions.

[0]: https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/telegram-desktop&id=4c2b019d7f3d7f399ffa3d94cf6eaddfe9972792
2019-09-06 21:46:11 +02:00
Robin Gloster
57353fcee6
telegram-cli: remove
Dead project, broken with openssl 1.1
2019-08-21 21:03:50 +02:00
Robin Gloster
f4fc845e5b
Merge remote-tracking branch 'upstream/master' into openssl-1.1 2019-08-21 14:25:13 +02:00
Michael Weiss
324ec3be51
tdesktop: 1.8.1 -> 1.8.2
Unfortunately the previous release (1.8.1) was crashing due to a
segmentation fault (didn't have time to investigate), but this release
works fine so far.
2019-08-21 12:05:26 +02:00
Michael Weiss
b5ee206c16
tdesktop: 1.8.0 -> 1.8.1
Had to switch from GCC 8 to GCC 9 due to the following internal compiler
error:

/nix/store/qsc6w1cnjp4pr7d90bhc0sid01i8k0a0-range-v3-0.5.0/include/range/v3/utility/compressed_pair.hpp:50:92: internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12200
                     meta::if_<meta::strict_and<std::is_constructible<Ts, Args>...>, int> = 0>
                                                                                            ^
2019-08-21 12:05:26 +02:00
Robin Gloster
a75971078b
cutegram: remove
dead project, no openssl 1.1 and qt >= 5.9 compat
2019-08-20 23:08:00 +02:00
Michael Weiss
7680b512cb
tdesktop: 1.7.14 -> 1.8.0 2019-08-10 13:01:23 +02:00
Michael Weiss
1d102b90e6
tdesktopPackages.*: Remove the attributes in favour of tdesktop
This is a refactoring of "tdesktop", i.e. the resulting derivation isn't
affected by this commit (only the tdesktopPackages.* attributes are
removed).

I decided to remove the attributes "tdesktopPackages.*" as I don't
maintain the preview version anymore. There are regular stable releases
and we depend on the patches from Arch Linux which only track the stable
version as well, i.e. I would have to maintain our own patches, which
would either require an additional repository or "bloat" Nixpkgs (apart
from the fact that it would be unnecessarily time-consuming).
2019-07-30 17:34:35 +02:00
Frederik Rietdijk
22cb7f25f2 Merge master into staging-next 2019-07-11 09:40:10 +02:00
uHOOCCOOHu
1bc8cd8ff5
tdesktop: 1.7.10 -> 1.7.14 2019-07-11 00:15:44 +08:00
Frederik Rietdijk
7cf5909fad Merge staging-next into staging 2019-07-09 15:44:08 +02:00
Thomas Tuegel
51d78034a1
wrapQtAppsHook: Remove ad hoc Qt wrappers 2019-07-05 10:42:08 -05:00
Rok Garbas
65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
Michael Weiss
5b4b6b6c24
tdesktop: 1.7.7 -> 1.7.10 2019-06-25 17:33:56 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Weiss
7e2dc8d27b
tdesktop: Update the Arch patches for a HiDPI fix
See: https://bugs.archlinux.org/task/62594
2019-06-14 22:09:15 +02:00
Michael Weiss
d1d75e542a
tdesktop: 1.7.3 -> 1.7.7 2019-06-11 14:45:28 +02:00
Michael Weiss
28556f054f
tdesktop: 1.7.0 -> 1.7.3
GCC 8.x is required to avoid the following error:

cc1plus: error: -Werror=class-memaccess: no option -Wclass-memaccess

If we build without "-Wno-error=class-memaccess" the build should fail
and the upstream requirements were raised from GCC 7 to GCC 8 anyway:
b2f821d3de

The two additional patches are required to avoid build errors like this:

/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.cpp:123:12:
error: invalid use of incomplete type 'class QDebug'
   qWarning()
            ^
In file included from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qglobal.h:1200,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qalgorithms.h:43,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qlist.h:43,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/QList:1,
                 from
/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.h:31,
                 from
/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.cpp:29:
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qlogging.h:57:7:
note: forward declaration of 'class QDebug'
 class QDebug;
       ^~~~~~
2019-06-04 22:03:34 +02:00
Michael Weiss
a6388e030a
tdesktop: 1.6.7 -> 1.7.0 2019-05-10 23:33:04 +02:00
Michael Weiss
41ac07b29f
tdesktop: 1.6.3 -> 1.6.7 2019-04-14 15:33:13 +02:00
Michael Weiss
698a3f7edd
tdesktop: 1.6.2 -> 1.6.3
tdesktopPackages.preview: 1.6.2 -> 1.6.3
2019-03-25 17:07:14 +01:00
Michael Weiss
abadb74b71
tdesktop: 1.6.1 -> 1.6.2
tdesktopPackages.preview: 1.6.1 -> 1.6.2
2019-03-25 14:14:22 +01:00
Michael Weiss
61e59fbba0
tdesktop: 1.6.0 -> 1.6.1
tdesktopPackages.preview: 1.6.0 -> 1.6.1
2019-03-20 20:59:49 +01:00
Michael Weiss
101901649b
tdesktop: 1.5.15 -> 1.6.0
tdesktopPackages.preview: 1.5.18 -> 1.6.0
2019-03-18 20:46:42 +01:00
Michael Weiss
da1a2b1eea
tdesktopPackages.preview: 1.5.17 -> 1.5.18 2019-03-16 13:48:55 +01:00
Michael Weiss
c4c37f3414
tdesktopPackages.preview: 1.5.15 -> 1.5.17 2019-03-14 12:00:08 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Frederik Rietdijk
7257dedd7c Merge master into staging-next 2019-02-13 12:33:29 +01:00
Michael Weiss
cfe6277e62
tdesktop: 1.5.12 -> 1.5.15
tdesktopPackages.preview: 1.5.12 -> 1.5.15
2019-02-12 19:54:28 +01:00
Michael Weiss
9905c44eca
tdesktop: 1.5.11 -> 1.5.12
tdesktopPackages.preview: 1.5.11 -> 1.5.12
2019-02-10 20:38:20 +01:00
Matthew Bauer
5c09d977c7 Merge remote-tracking branch 'origin/master' into staging 2019-02-09 12:14:06 -05:00
Michael Weiss
bc845dee8a
tdesktop: 1.5.9 -> 1.5.11
tdesktopPackages.preview: 1.5.9 -> 1.5.11
2019-02-02 13:29:11 +01:00
Michael Weiss
95a18ab60b
tdesktop: 1.5.8 -> 1.5.9
tdesktopPackages.preview: 1.5.8 -> 1.5.9
2019-02-01 12:20:46 +01:00
Vladimír Čunát
3fe32b675e
Merge branch 'master' into staging 2019-01-22 15:59:42 +01:00
Michael Weiss
4b6020faf5
tdesktop: 1.5.4 -> 1.5.8
tdesktopPackages.preview: 1.5.7 -> 1.5.8
2019-01-22 13:23:23 +01:00
Michael Weiss
db8e3654e2
tdesktop: Drop the patch for a GCC bug
GCC 7.4.0 is now the default and not affected by this bug.
2019-01-19 14:43:24 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Michael Weiss
0da3f68519
tdesktopPackages.preview: 1.5.4 -> 1.5.7 2019-01-14 20:29:35 +01:00
Michael Weiss
a47c3b32ab tdesktop: 1.5.3 -> 1.5.4
tdesktopPackages.preview: 1.5.3 -> 1.5.4
2018-12-24 11:43:53 +01:00
Michael Weiss
ff70335091 tdesktop: 1.5.2 -> 1.5.3
tdesktopPackages.preview: 1.5.2 -> 1.5.3
2018-12-23 12:27:05 +01:00
Michael Weiss
1928f801a6 tdesktop: 1.5.1 -> 1.5.2
tdesktopPackages.preview: 1.5.1 -> 1.5.2
2018-12-17 14:22:24 +01:00
Michael Weiss
e12009f390 tdesktop: 1.4.3 -> 1.5.1
tdesktopPackages.preview: 1.4.8 -> 1.5.1
2018-12-12 12:28:34 +01:00
Michael Weiss
20c6acb436 tdesktopPackages.preview: 1.4.7 -> 1.4.8 2018-12-06 21:50:49 +01:00
Renaud
cde945a165
Merge pull request #48044 from schneefux/pkg/fetchfromgithub
treewide: Use fetchFromGitHub instead of fetchurl
2018-11-14 09:48:22 +01:00
Michael Weiss
39a9e2d65f tdesktopPackages.preview: 1.4.4 -> 1.4.7
TODO: We're still using the old API ID (like the Arch package) which
should be used for testing only.
I've tried to contact the Telegram team multiple times via different
channels but didn't get a response so far. See [0],[1] for more details.

[0]: https://github.com/telegramdesktop/tdesktop/issues/4717
[1]: 65b2db2160
2018-11-10 22:10:28 +01:00
Michael Weiss
ea691fc8ee tdesktopPackages.preview: 1.4.3 -> 1.4.4 2018-10-17 19:40:54 +02:00
Michael Weiss
972aa96f27 tdesktop: 1.4.2 -> 1.4.3
tdesktopPackages.preview: 1.4.2 -> 1.4.3
2018-10-13 14:54:16 +02:00
Michael Weiss
f9d247a8d8 tdesktop: 1.4.0 -> 1.4.2
tdesktopPackages.preview: 1.4.0 -> 1.4.2
2018-10-10 20:40:06 +02:00
schneefux
314593950e tdesktop: use fetchFromGitHub instead of fetchgit 2018-10-08 14:29:28 +02:00
Michael Weiss
4652b54f38 tdesktop: Update the Arch patches 2018-10-01 20:22:57 +02:00
Michael Weiss
766e3228c2 tdesktop: 1.3.14 -> 1.4.0
tdesktopPackages.preview: 1.3.14 -> 1.4.0
2018-09-30 14:59:15 +02:00
gnidorah
e79ccc1100 tdesktop: support opening urls under wayland 2018-09-25 20:26:46 +03:00
Michael Weiss
792425934b tdesktop: 1.3.13 -> 1.3.14
tdesktopPackages.preview: 1.3.13 -> 1.3.14
2018-08-28 18:12:11 +02:00
Michael Weiss
9006cd339c tdesktop: 1.3.10 -> 1.3.13
tdesktopPackages.preview: 1.3.12 -> 1.3.13
2018-08-28 11:05:48 +02:00
Michael Weiss
c3266a03a8 tdesktopPackages.preview: 1.3.11 -> 1.3.12 2018-08-05 11:56:10 +02:00
Michael Weiss
1ebee36c23 tdesktopPackages.preview: 1.3.10 -> 1.3.11 2018-08-03 14:15:22 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Michael Weiss
bf2a009380 tdesktop: 1.3.7 -> 1.3.10
tdesktopPackages.preview: 1.3.7 -> 1.3.10

Without the patch the build will fail with the following error:

[ 15%] Building CXX object CMakeFiles/lib_export.dir/build/tdesktop/Telegram/SourceFiles/export/export_api_wrap.o
/build/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp: In lambda function:
/build/tdesktop/Telegram/SourceFiles/export/export_api_wrap.cpp:712:56: internal compiler error: Segmentation fault
   if constexpr (MTPDphotos_photos::Is<decltype(data)>()) {
                                                        ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [CMakeFiles/lib_export.dir/build.make:77: CMakeFiles/lib_export.dir/build/tdesktop/Telegram/SourceFiles/export/export_api_wrap.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1101: CMakeFiles/lib_export.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
2018-07-17 21:17:21 +02:00
Matthew Bauer
9a2345e963
Merge pull request #40880 from lheckemann/tdesktop-other
tdesktop: enable on other platforms
2018-06-28 20:33:48 -04:00
Michael Weiss
92ab620a4c tdesktop: 1.3.0 -> 1.3.7
tdesktopPackages.preview: 1.3.4 -> 1.3.7
2018-06-12 15:49:10 +02:00
Michael Weiss
72f07e74f3 tdesktopPackages.preview: 1.3.3 -> 1.3.4 2018-06-08 13:49:37 +02:00
Michael Weiss
01040d9c27 tdesktopPackages.preview: 1.3.1 -> 1.3.3 2018-06-07 13:08:36 +02:00
Michael Weiss
137a372d70 tdesktop: 1.2.17 -> 1.3.0
It still displays "Version 1.3 alpha" but other than that it should be
fine.
2018-06-05 17:27:13 +02:00
Michael Weiss
dcfaef2b8e tdesktopPackages.preview: 1.3.0 -> 1.3.1 2018-06-05 17:18:49 +02:00
Michael Weiss
c69cc21338 tdesktopPackages.preview: 1.2.24 -> 1.3.0
Note: I'm not packaging this as stable for now as there might be some
issues left (see GitHub), it says "Version 1.3 alpha" in the bottom left
corner, and I've only got a "New in version 1.2.25" message.
2018-06-01 15:11:57 +02:00
Michael Weiss
9cec6df630 tdesktopPackages.preview: 1.2.23 -> 1.2.24 2018-05-27 14:19:30 +02:00
Michael Weiss
66aed8fd38 tdesktopPackages.preview: 1.2.22 -> 1.2.23 2018-05-26 11:39:03 +02:00
Michael Weiss
0fd98c6897 tdesktopPackages.preview: 1.2.21 -> 1.2.22 2018-05-25 21:06:47 +02:00
Linus Heckemann
bf22a10ccb tdesktop: enable on other platforms 2018-05-21 13:44:20 +01:00
Michael Weiss
70c60a2fdc tdesktopPackages.preview: 1.2.20 -> 1.2.21 2018-05-19 14:31:57 +02:00
Michael Weiss
3efea84fa1 tdesktopPackages.preview: 1.2.19 -> 1.2.20 2018-05-15 21:52:17 +02:00
Carlos José Ruiz-Henestrosa Ruiz
5f8ee95642 tdesktop: Fix the icon path (#40298)
The `.desktop` file now refers to the icon as `telegram` instead of `telegram-desktop`. This caused a placeholder icon to be shown instead.
2018-05-11 15:55:24 +02:00
Michael Weiss
038bf4f68b tdesktopPackages.preview: 1.2.17 -> 1.2.19 2018-05-09 23:22:13 +02:00
Michael Weiss
0288f77c30 tdesktop: 1.2.15 -> 1.2.17
tdesktopPackages.preview: 1.2.15 -> 1.2.17
2018-04-09 00:36:15 +02:00
Michael Weiss
9a4871ad82 tdesktop: 1.2.14 -> 1.2.15
tdesktopPackages.preview: 1.2.14 -> 1.2.15
2018-03-27 12:03:17 +02:00
Michael Weiss
40aabe9d48
Merge pull request #37587 from not-fl3/master
tdesktop: fixed GLib-GIO-ERROR
2018-03-22 21:08:05 +01:00
Michael Weiss
2fdec94fbf tdesktop: 1.2.6 -> 1.2.14
tdesktopPackages.preview: 1.2.12 -> 1.2.14
2018-03-22 17:14:23 +01:00
Michael Weiss
f60d7e2add tdesktop: Clean up the patching 2018-03-22 00:43:30 +01:00
Fedor Logachev
654ebf8232 tdesktop: fixed GLib-GIO-ERROR 2018-03-21 20:07:30 +03:00
Michael Weiss
e8fe2e1548 tdesktopPackages.preview: init at 1.2.12
Start tracking the pre-releases. I'll have to refactor/improve the
patching soon.
2018-03-20 00:42:33 +01:00
Nikolay Amiantov
4c3c71fdd4 tdesktop: disable on AArch64
Errors out with "please add support for your architecture".
2018-03-09 16:35:10 +03:00
Jan Malakhovski
7966e0efeb telegram/tdesktop: fix pulseaudio references 2018-03-06 13:46:28 +00:00
Vasyl Solovei
1865ce4abc tdesktop: add native notifications support
By patching paths to required libs in sources, application
is able to load them and provide an option to use native notifications.
2018-02-26 01:46:11 +03:00
Vladimír Čunát
e96741cdb1
treewide: remove explicit overrides to gcc7
They're not needed on this branch.
2018-02-17 16:29:31 +01:00
Profpatsch
53e790e7a8 maintainers: capitalize the Profpatsch attribute (vanity)
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00
Profpatsch
2922bee722 remove profpatsch from maintainer list of a few packages 2018-02-12 06:24:38 +01:00
Michael Weiss
a03b2b99af tdesktop: Fix the execution in a pure environment
Telegram was crashing when executed within a pure environment
(nix-shell -p tdesktop --pure).
Setting the environment variables QT_PLUGIN_PATH and XDG_RUNTIME_DIR
should resolve this issue. Fix #33729.
2018-01-22 22:25:48 +01:00
Michael Weiss
26f86b4069 tdesktop: 1.2.1 -> 1.2.6 2018-01-21 17:52:26 +01:00
Michael Weiss
d1a04efbf7 tdesktop: 1.1.23 -> 1.2.1 2018-01-21 15:42:08 +01:00
Orivej Desh
8bd10a17c6 breakpad: delete
This library does not compile with the current glibc and is unused since
74f7db075a.
2017-11-16 20:43:33 +03:00
David Izquierdo
f79c0b8627 tdesktop: 1.1.22 -> 1.1.23 2017-09-24 12:55:41 +02:00
David Izquierdo
d195a98504 tdesktop: update 1.1.7 -> 1.1.19 2017-08-20 12:48:54 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
David Izquierdo
aa2b643e4b tdesktop: 1.0.27 -> 1.1.7 2017-06-22 09:20:51 +02:00