-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add zstd compression #158
base: master
Are you sure you want to change the base?
add zstd compression #158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see major issues on merging this but you need to limit the changes in files to the PR intention.
@@ -2,10 +2,6 @@ | |||
#include <appimage/appimage.h> | |||
|
|||
extern "C" { | |||
ssize_t appimage_get_elf_size(const char* fname) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limit the changes in files to the PR intention.
@@ -117,6 +117,41 @@ static off_t read_elf64(FILE* fd) | |||
return sht_end > last_section_end ? sht_end : last_section_end; | |||
} | |||
|
|||
ssize_t appimage_get_elf_size(const char* fname) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Limit the changes in files to the PR intention.
This needs to go in a separated PR. |
Fixes AppImage/AppImageKit#478
I have add zstd compression for AppImageKit. The final result is at https://github.com/hchunhui/AppImageKit/releases . Now we can run
appimagetool
with--comp zstd
to use zstd compression.This PR updates libappimage. If it can be merged, I will submit another PR to AppImageKit. It consists of 3 commits:
appimage_get_elf_size
previously implemented inlibappimage_shared
.