Open exdeniz opened 3 years ago
I just delete that file and no more lags on opened document.
The useless and problematic files are:
libstdc++.so.6
libm.so.6
libpng16.so.16
libz.so.1
libvulkan.so.1
lib
directoryusr
directoryFor cleanness' sake, the package could also omit the icons
folder, since all icons should be moved to the appropriate location.
The PKGBUILD should have some instructions that strip them before packaging the Arch package
EDIT: I looked at the actual package and there are a lot of things that could be dropped! This is insane bloat on the system
This seems to be because they're building the snap in a really poor fashion. Instead of packaging the snap manually, they should delete all of the libraries except for libfreetype.so.6 as to prevent unnecessary (and right now harmful, as it breaks GPU acceleration) inclusion of libraries, and then use electron-builder's snap feature to build Snap packages. The libraries should be packaged by specifying the Ubuntu packages instead of including them in the folder with the program.
Deleting these files does seem to have no effect on the program's operation, at least on Arch.
All in all, it isn't really good to include libs in the repo at all
and the AUR package should be redone for so many reasons, but to cite a few:
figma-linux-bin
);create symlink from /usr/lub/libstdc++.so.6
what does this means?
i have removed /opt/figma-linux/libstdc++.so.6 this but now don't know what to do next
I added a post-install hook to remove the list of files in the earlier comment after installation/upgrade:
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = figma-linux
[Action]
When = PostTransaction
Exec = /bin/sh -c "rm -r /opt/figma-linux/libstdc++.so.6 /opt/figma-linux/libm.so.6 /opt/figma-linux/libpng16.so.16 /opt/figma-linux/libz.so.1 /opt/figma-linux/libvulkan.so.1 /opt/figma-linux/lib/ /opt/figma-linux/usr/"
I've only tested it with installation so far.
Check new release v0.9.6, that removed libstdc++. Works for me
Great!
figma-linux 0.7.4 from AUR
Fixed delete
/opt/figma-linux/libstdc++.so.6
and create symlink from/usr/lub/libstdc++.so.6
. After OpenGL work fine.