Commit Graph

275 Commits

Author SHA1 Message Date
Sandro
5e8a721a61
Merge pull request #131275 from superherointj/package-telegram-cli-20200106 2021-08-02 14:14:58 +00:00
superherointj
88cb7c8f63 telegram-cli: init 20200106
Co-authored-by: @sikmir @SuperSandro2000
2021-08-02 10:51:15 -03:00
Yuka
682442d027
tdesktop: 2.8.11 -> 2.9.0 (#132195) 2021-07-31 12:55:43 +02:00
Michael Weiss
63935e7160
tdesktop: remove abbradar from maintainers
Their last tdesktop commit is 4c3c71fdd4 from 2018.
Thank you for maintaining Telegram-Desktop in the past.
2021-07-25 13:07:26 +02:00
Michael Weiss
f6c5598f54
tdesktop: Cleanup/refactor
Drop old/outdated comments and some reordering for consistency.
2021-07-25 12:47:45 +02:00
oxalica
27585b9897
tdesktop: bundle the default font
It's worth to think about setting -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF
since it's impossible to install fonts as dependencies of packages with
Nix and tdesktop's widgets are developed only with Open Sans in mind (it
has a lot of hardcoded values and wide fonts like DejaVu may
even go out of widgets' bounds)

https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649
2021-07-23 05:38:54 +08:00
oxalica
6019d8abff
tdesktop: patch dlopen paths 2021-07-23 05:38:54 +08:00
oxalica
cb0861b999
tdesktop: clean up and fix outdated comments 2021-07-23 05:38:53 +08:00
oxalica
f3959d8e8b
libtgvoip: remove
It's removed because:
1. It's an internal library which is only used by telegram itself, and
   it's fine to use its bundled source in telegram.
2. It's forced to produce static library, is very fast to build
   (less than 1min) and is quite small (<2 MiB).
3. Reduce extra maintenance work and have almost no other drawback.
2021-07-23 05:38:53 +08:00
oxalica
2a12ba467c
tdesktop: use bundled libtgvoip 2021-07-23 05:38:53 +08:00
oxalica
548ff79765
tdesktop.tg_owt: rework and clean up
- Build shared library to keep binary small.

- Prefer system-wide libraries instead of bundled ones.

- `abseil-cpp` (absl) is required for downstream build and appears in
  output cmake file. So it's added to `propagatedBuildInputs`.
2021-07-23 05:38:52 +08:00
Nick Cao
e57ccfdaf3
tdesktop: 2.8.4 -> 2.8.11 2021-07-18 18:12:20 +08:00
Michael Weiss
733756ccfc
tdesktop: Drop the enchant2 and dee dependencies
Ilya Fedin informed me that they aren't required anymore. Thanks :)
2021-07-03 17:10:33 +02:00
Ilan Joselevich
b7515545b5 tdesktop: 2.8.3 -> 2.8.4 2021-07-03 16:47:01 +03:00
Michael Weiss
3864c36b79
tdesktop: 2.8.1 -> 2.8.3 2021-06-28 19:05:14 +02:00
Michael Weiss
bbd9f938d4 tdesktop: Finalize the update script
Now the fetchgit sources are properly prefetched.
2021-06-27 15:48:14 +02:00
Michael Weiss
dc87cf5298 tdesktop: 2.8.0 -> 2.8.1
This also improves the packaging (see #128219).
2021-06-27 15:48:14 +02:00
Michael Weiss
f287805faf
kotatogram-desktop: Copy the old tg_owt.nix from tdesktop
The current tg_owt version (since the update of tdesktop to version
2.8.0 in 0d509d366d) isn't compatible with kotatogram-desktop anymore.
2021-06-26 18:47:26 +02:00
Michael Weiss
0d509d366d
tdesktop: 2.7.5 -> 2.8.0 2021-06-26 18:12:37 +02:00
Michael Weiss
ea0c0603f5
tdesktop: Add an update script
To make sure that all dependencies are updated as well.
Last TODO: tg_owt_hash (requires nix-prefetch-git for the submodules).
2021-06-26 17:18:43 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Jonathan Ringer
a0899b2773 tdesktop: add optional dependencies 2021-06-03 17:00:07 -07:00
Jonathan Ringer
7ab7322b0e tdesktop: 2.7.4 -> 2.7.5 2021-06-03 17:00:07 -07:00
Ilya Fedin
0425a60e55 kotatogram-desktop: 1.4 -> 1.4.1 2021-05-01 11:28:24 +04:00
Sameer Hoosen
2bd34a98af
tdesktop: 2.7.1 -> 2.7.4 (#120994) 2021-04-29 12:57:49 +02:00
Ilya Fedin
c52a769c7f kotatogram-desktop: 1.2 -> 1.4 2021-04-14 21:38:44 +04:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Michael Weiss
fb98c03108
tdesktop: 2.6.1 -> 2.7.1 2021-03-26 15:09:48 +01:00
Michael Weiss
ed113c9bd5
tdesktop: 2.6.0 -> 2.6.1 2021-02-26 13:43:29 +01:00
Michael Weiss
2c042fe9c8
tdesktop: 2.5.9 -> 2.6.0
This also adds libthai and libdatrie as optional dependencies for gtk3.
2021-02-24 17:49:59 +01:00
Michael Weiss
b78942f040
tdesktop: 2.5.8 -> 2.5.9 2021-02-18 15:32:07 +01:00
Ben Siraphob
a6ac3eedbd treewide: xdg_utils -> xdg-utils 2021-02-01 15:05:09 +07:00
Michael Weiss
19ac92915a
tdesktop: 2.5.7 -> 2.5.8 2021-01-30 01:06:35 +01:00
Michael Weiss
2b66bbd845
tdesktop: 2.5.1 -> 2.5.7 2021-01-30 00:38:48 +01:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Michael Weiss
2688e2d3fe
tdesktop: 2.5.0 -> 2.5.1 2020-12-23 15:53:27 +01:00
Michael Weiss
019eb959e3
tdesktop: 2.4.7 -> 2.5.0
TODO: Add a "dev" output for tdesktop.tg_owt (now built as a shared
library).
2020-12-23 15:01:42 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Michael Weiss
eee7e054a5
tdesktop: 2.4.6 -> 2.4.7 2020-11-05 20:37:05 +01:00
Michael Weiss
844665bdf3
tdesktop: 2.4.5 -> 2.4.6 2020-11-02 19:56:10 +01:00
Michael Weiss
680d320123
tdesktop: 2.4.4 -> 2.4.5 2020-10-31 14:24:49 +01:00
Michael Weiss
253c9cb0b8
tdesktop: 2.4.3 -> 2.4.4 2020-10-24 20:22:56 +02:00
Michael Weiss
7ca4469122
tdesktop: Drop unused CMake variables and passthru tg_owt
Before this change:
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     BUILD_TESTING
>     CMAKE_EXPORT_NO_PACKAGE_REGISTRY
>     CMAKE_POLICY_DEFAULT_CMP0025
>     DESKTOP_APP_USE_PACKAGED_GSL
>     DESKTOP_APP_USE_PACKAGED_RLOTTIE
>     DESKTOP_APP_USE_PACKAGED_VARIANT
>     TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME
>     TDESKTOP_USE_PACKAGED_TGVOIP
2020-10-16 16:15:22 +02:00
oxalica
4c59c0b1da
tdesktop: 2.3.0 -> 2.4.3 and enable webrtc (#100450)
Enables WebRTC by packaging tg_owt.
2020-10-16 15:41:07 +02:00
Thomas Tuegel
1c58417138
kotatogram-desktop: properly depend on libdbusmenu 2020-09-07 11:46:41 -05:00
Michael Weiss
f9c74c3f4b
Revert "tdesktop: Add a temporary workaround to fix the Linux build"
This reverts commit e7987936c1.
With 57f0574595 in master this workaround is not required anymore.
2020-08-25 19:22:20 +02:00
Michael Weiss
a86d317da8
tdesktop: Use the API ID of the Snap package
Thanks to Ilya Fedin and John Preston we're now allowed to reuse the
API ID of the Snap package to avoid hitting rate limits.

This finally resolves #55271 #YAY \o/
2020-08-16 21:15:46 +02:00
Michael Weiss
dc63d382bb
tdesktop: 2.2.0 -> 2.3.0
This disables the WebRTC integration for now (I didn't really look into
it so far, but probably until we have something like
TDESKTOP_USE_PACKAGED_WEBRTC=OFF).
2020-08-16 21:13:38 +02:00
Michael Weiss
e7987936c1
tdesktop: Add a temporary workaround to fix the Linux build 2020-08-08 15:52:38 +02:00
oxalica
2bd78b209d
tdesktop: 2.1.13 -> 2.2.0 (#93901) 2020-07-26 14:11:21 +02:00
Michael Weiss
10b11fe5c8
tdesktop: 2.1.12 -> 2.1.13 2020-06-24 20:46:51 +02:00
Michael Weiss
b713e97c30
tdesktop: 2.1.11 -> 2.1.12 2020-06-18 18:09:45 +02:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Michael Weiss
a1aecffc97
tdesktop: 2.1.10 -> 2.1.11 2020-06-09 18:34:08 +02:00
Michael Weiss
7ef22b9ff1
tdesktop: 2.1.7 -> 2.1.10 2020-06-05 21:55:05 +02:00
Michael Weiss
6d923b36cd
tdesktop: 2.1.6 -> 2.1.7 2020-05-25 17:28:59 +02:00
Michael Weiss
6e5b1a71eb
tdesktop: 2.1.4 -> 2.1.6 2020-05-16 19:26:09 +02:00
Michael Weiss
22fef8ebb1
tdesktop: 2.1.2 -> 2.1.4 2020-05-10 15:08:06 +02:00
Michael Weiss
69dc7e64ad
tdesktop: 2.1.1 -> 2.1.2 2020-05-06 13:27:54 +02:00
Michael Weiss
e9e2f81590
tdesktop: 2.1.0 -> 2.1.1
Regarding microsoft_gsl: The CMake scripts from Telegram-Desktop did not
find it anymore (I didn't investigate this) and Arch already made this
change during the last update. It's probably best to do the same here
especially since Telegram-Desktop is currently based on GSL 3.0.1 while
our version is still at 2.1.0.
2020-05-02 21:30:07 +02:00
Michael Weiss
03399906ec
tdesktop: 2.0.1 -> 2.1.0 2020-04-24 15:19:11 +02:00
Alexey Shmalko
5eca80f7eb
Merge pull request #82883 from ilya-fedin/update-kotatogram
kotatogram-desktop: 1.1.5 -> 1.2
2020-04-12 15:02:41 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Michael Weiss
606baf03ba
tdesktop: 1.9.21 -> 2.0.1 (#83790)
* tdesktop: 1.9.21 -> 2.0.0
* tdesktop: 2.0.0 -> 2.0.1
2020-04-01 14:52:34 +02:00
Ilya Fedin
4d5326e4fd kotatogram-desktop: 1.1.5 -> 1.2 2020-03-19 01:36:41 +04:00
Michael Weiss
2b25d0e2a9
tdesktop: 1.9.14 -> 1.9.21 (#82806) 2020-03-18 20:53:09 +01:00
Michael Weiss
4af086aa94
tdesktop: 1.9.13 -> 1.9.14 2020-02-20 19:24:57 +01:00
Michael Weiss
a59a557cf6
tdesktop: 1.9.12 -> 1.9.13 2020-02-14 00:43:20 +01:00
Michael Weiss
d0729f8323
tdesktop: 1.9.9 -> 1.9.12
Note: I skipped the packaging of mapbox-variant for now.
2020-02-12 00:56:36 +01:00
Ilya Fedin
34890e42af kotatogram-desktop: init at 1.1.5 2020-01-30 19:15:40 -08:00
Michael Weiss
40be1827ee
tdesktop: Use CMake to install all files 2020-01-30 20:20:46 +01:00
Michael Weiss
4a83868646
tdesktop: 1.9.8 -> 1.9.9
`tg.protocol` was removed and shouldn't be required anymore as
`telegramdesktop.desktop` already registers the handler:
MimeType=x-scheme-handler/tg;
2020-01-29 00:41:38 +01:00
Michael Weiss
5e46d5a7b5
tdesktop: Remove the last custom patch from Arch Linux
This patch is not required anymore [0][1].
Thanks @ilya-fedin for pointing this out.

[0]: https://git.archlinux.org/svntogit/community.git/commit/?id=a6dbffec8b2f6f319822df8b7db3ba66f81407ce
[1]: https://bugs.archlinux.org/task/65259
2020-01-27 21:48:44 +01:00
Michael Weiss
faab2914f3
tdesktop: Remove NIX_CFLAGS_COMPILE and CPPFLAGS
This is not required anymore and therefore a refactoring/cleanup
(verified with diffoscope that only the output paths change).
Credit to @ilya-fedin for bringing this to my attention.
2020-01-27 16:41:49 +01:00
Michael Weiss
ae09f2a671
tdesktop: 1.9.7 -> 1.9.8 2020-01-24 20:36:51 +01:00
Michael Weiss
0d97ef510b
tdesktop: 1.9.4 -> 1.9.7 (#78390)
This also properly enables the spell checking with enchant2.

Note: This requires a proper configuration.
A quick and dirty solution (not recommended) could look like this:
install -Dt ~/.config/enchant/hunspell/ $(nix-build -A hunspellDicts.en_US)/share/hunspell/en_US.{aff,dic}
2020-01-23 23:51:05 +01:00
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