Skip to content

Commit 054e547

Browse files
committed
Replace popen and fork/exec with GIO subprocessing
Should help make the code more robust, reap child process correctly, etc., and saves a few lines.
1 parent 1f739c1 commit 054e547

File tree

3 files changed

+263
-208
lines changed

3 files changed

+263
-208
lines changed

cmake/dependencies.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import_pkgconfig_target(TARGET_NAME libfuse PKGCONFIG_TARGET fuse)
1212
# openssl is required for optional tools only, and doesn't need to be enforced
1313
# FIXME: remove dependency to openssl by implementing own SHA hashes in libappimage_hashlib
1414
import_pkgconfig_target(TARGET_NAME libssl PKGCONFIG_TARGET openssl OPTIONAL)
15+
import_pkgconfig_target(TARGET_NAME libgio PKGCONFIG_TARGET gio OPTIONAL)
1516

1617

1718
if(USE_CCACHE)

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ target_link_libraries(appimagetool
3535
xdg-basedir
3636
libappimage_shared
3737
libglib
38+
libgio
3839
libzlib
3940
xz
4041
)

0 commit comments

Comments
 (0)