3/18: Functional package installation backend

This commit is contained in:
lw-everestlinux committed 2026-03-18 09:57:09 -04:00
1 parent e79c96a987
commit 6819fe7c69
24 files changed
+1011 -145

No files matched your search

+4 -3
View File
@@ -37,6 +37,7 @@ typedef struct {
char *pkg_desc;
char *pkg_maint;
char *pkg_copyright;
char *pkg_repo;
dep_t *pkg_dependencies;
conf_t *pkg_conflicts;
}
@@ -62,8 +63,8 @@ void gl_free_semver(semver_t *v);
gl_pkg_t *gl_spawn_pkg(
char *name, semver_t *ver, char *desc,
char *maint, char *copy, dep_t *dep,
conf_t conf
char *maint, char *copy, char *repo,
dep_t *dep, conf_t *conf
);
void gl_show_pkg_props(const gl_pkg_t *pkg);
@@ -77,7 +78,7 @@ dir_t gl_return_dir_and_ver(const dir_t *base, gl_pkg_t *pkg, mode_t mode);
void gl_free_path(char *path);
void gl_free_dir(dir_t *dir);
int gl_gpm2gpkg(const char *filename, gl_pkg_t pkg);
int gl_gpm2gpkg(const char *filename, gl_pkg_t *pkg);
int gl_prepare_pkgdir(gl_pkg_t *pkg, bool is_syspkg);
char *join_with_cwd(const char *path);