aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add join_ex() [simplified join() function]Joseph Hunkeler2020-02-282-0/+60
|
* Multiple things:Joseph Hunkeler2020-02-2615-79/+356
| | | | | | | | * Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records
* Refactor:Joseph Hunkeler2020-02-251-60/+42
| | | | | | | * Move installation code out * Refactor spm_* variable names * Add missing arguments to usage * Add --yes (-y) argument to disable interactive prompts
* Fix invalid array access on short stringsJoseph Hunkeler2020-02-251-3/+9
|
* Break out of scanning loop when a match is discoveredJoseph Hunkeler2020-02-251-1/+2
|
* Free ManifestPackage variablesJoseph Hunkeler2020-02-251-1/+4
|
* Use user_input.h headerJoseph Hunkeler2020-02-251-0/+1
|
* Refactor spm_* directory names:Joseph Hunkeler2020-02-251-20/+23
| | | | * Add spm_pkgconfigdir
* Refactor installation:Joseph Hunkeler2020-02-252-38/+171
| | | | | | | | * install() accepts a temporary directory as an argument * Add install_package_record() * Add is_installed() * Add do_install() wrapper * Use spm_user_yesno() before installation
* Remove unused stub functionJoseph Hunkeler2020-02-251-4/+0
|
* Add spm_mkdtemp() functionJoseph Hunkeler2020-02-252-1/+19
|
* Implement prompt_user flagJoseph Hunkeler2020-02-252-0/+2
|
* Add user_input.c to cmakeJoseph Hunkeler2020-02-251-2/+2
|
* Initial commit of user_input.[c,h]Joseph Hunkeler2020-02-252-0/+53
|
* Add pkg-config environment variableJoseph Hunkeler2020-02-241-0/+4
|
* Set LD_LIBRARY_PATH to help tether the runtime environmentJoseph Hunkeler2020-02-241-0/+1
|
* Remove reference to deps.hJoseph Hunkeler2020-02-241-1/+0
|
* Remove deps.hJoseph Hunkeler2020-02-241-19/+0
|
* Bootstrap: Ignore or append filesystem packageJoseph Hunkeler2020-02-241-1/+4
|
* Use package.h and resolve.hJoseph Hunkeler2020-02-241-1/+2
|
* Use package.hJoseph Hunkeler2020-02-241-12/+7
|
* Rename ambiguous variablesJoseph Hunkeler2020-02-241-96/+32
| | | | * Hook up resolve.c functions
* Replace deps.c with resolve.cJoseph Hunkeler2020-02-241-1/+1
|
* Add install_show_package()Joseph Hunkeler2020-02-242-0/+10
|
* Add comparison function, refactor definesJoseph Hunkeler2020-02-242-18/+47
|
* Initial commit of resolve.c (deps.c replacement)Joseph Hunkeler2020-02-242-4/+55
|
* Remove deps.cJoseph Hunkeler2020-02-241-223/+0
|
* Move exists() from deps.h to fs.hJoseph Hunkeler2020-02-243-2/+10
|
* Metadata:Joseph Hunkeler2020-02-206-11/+45
| | | | | | | * Add .SPM_FILELIST * Add .SPM_DESCRIPTOR * Add generators for both to spmbuild Add new metadata to runtime and arrays
* Fix increment warningJoseph Hunkeler2020-02-191-2/+1
|
* Finish removing find_package calls:Joseph Hunkeler2020-02-193-17/+15
| | | | * Add a root search path to dependency functions
* Update cmake configsJoseph Hunkeler2020-02-184-6/+33
|
* Decrease verbosity during installation (unless requested)Joseph Hunkeler2020-02-181-10/+18
|
* Allow compilation on OSX. Not much else I assumeJoseph Hunkeler2020-02-186-4/+22
|
* Add missing formatter stringsJoseph Hunkeler2020-02-182-2/+2
|
* Rework dependency scanning:Joseph Hunkeler2020-02-189-57/+105
| | | | | | | | | * Stop resolving dependencies during manifest creation * Resolve dependencies by path * Die on failure to resolve * Fixed an off-by-one error in manifest_read * Add CLI argument -M|--override-manifest to disable default manifest(s) * Clean up expandpath() a bit
* Refactor continues:Joseph Hunkeler2020-02-1716-144/+222
| | | | | | | | | * Implement multiple manifests * Random bug fixes * More bugs added * Start removing references to SPM_GLOBAL.package_dir * Start using manifests for everything * Simplify mkmanifest_interface
* Implement ManifestList:Joseph Hunkeler2020-02-133-26/+132
| | | | * Initial support for multiple manifests at once
* Initial commit of spmbuildJoseph Hunkeler2020-02-131-0/+343
|
* Begin refactoring to support multiple manifests:Joseph Hunkeler2020-02-135-17/+62
| | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments
* Add get_package_ext and check_rt_env command interfacesJoseph Hunkeler2020-02-111-2/+31
|
* Refactor project structure:Joseph Hunkeler2020-02-1120-283/+352
| | | | | * Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header
* Do not modify PATH anymoreJoseph Hunkeler2020-02-101-13/+2
|
* Clean up record allocationJoseph Hunkeler2020-02-101-3/+1
|
* Fix RPATH generation:Joseph Hunkeler2020-02-101-28/+34
| | | | | * Continue processing if a lib directory does not contain NEEDED libraries * Clean up a few allocations
* Add relocate_auto()Joseph Hunkeler2020-02-103-40/+53
| | | | * Move relocation code out of install()
* Match more possible mime typesJoseph Hunkeler2020-02-101-1/+1
|
* Add a few commentsJoseph Hunkeler2020-02-101-0/+5
|
* Add shlib.c to buildJoseph Hunkeler2020-02-071-1/+1
|
* Fix missing equals in -rpath argumentJoseph Hunkeler2020-02-071-1/+1
|