Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71539 - telegram-desktop 2.8.11-1 build script

Attached to Project: Community Packages
Opened by Grigory Vasilyev (nullik) - Sunday, 18 July 2021, 15:20 GMT
Last edited by Jiachen Yang (farseerfc) - Monday, 19 July 2021, 11:58 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please remove this strings from build script. This is an unnecessary action. You added 'jemalloc' as depend and not makedepend.
In this case it's pointless! Cmake try detect system jemalloc and use it if found and build or use .a file only if system jemalloc not found.


```
# cp libjemalloc from jemalloc package
mkdir -p external/jemalloc/jemalloc-prefix/src/jemalloc/lib/
cp /usr/lib/libjemalloc_pic.a external/jemalloc/jemalloc-prefix/src/jemalloc/lib/libjemalloc.a
```

See telegram jemalloc cmake file. `NOT JEMALLOC_FOUND`
https://github.com/desktop-app/cmake_helpers/blob/a79798285dfc49f63022d4f3aaa1a0da7b49bafa/external/jemalloc/CMakeLists.txt

Telegram already use system jemalloc.
```
lsof /usr/lib/libjemalloc.so
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
telegram- 17939 xxx mem REG 259,7 457024 809175732 /usr/lib/libjemalloc.so.2
telegram- 17958 xxx mem REG 259,7 457024 809175732 /usr/lib/libjemalloc.so.2
telegram- 17960 xxx mem REG 259,7 457024 809175732 /usr/lib/libjemalloc.so.2
```
This task depends upon

Closed by  Jiachen Yang (farseerfc)
Monday, 19 July 2021, 11:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 2.8.11-2

Loading...