Commit Graph

75 Commits

Author SHA1 Message Date
luchsj@rpi.edu
983d339866 Updated uninstall script to remove darlingserver and darling-coredump. 2024-05-19 21:33:57 -07:00
luzpaz
7126e7ca68
Fix various typos
Fixes misc. source comment typos
2023-08-10 09:02:52 -04:00
Ariel Abreu
be134fcbec Build RPMs with the CI; enable ccache on CI 2023-05-12 10:05:41 -07:00
Ariel Abreu
f1153d9b1a Major overhaul for RPM packaging
First of all, the RPM packaging code hadn't been updated in quite a
while (it was still using the LKM), so this updates it to build with
darlingserver instead of the LKM.

Second, this update also adds a dependency generator that is used at
build time to automatically pick up the ELF dependencies in installed
Mach-Os. I prefer Debian's approach to this (simply having the option to
dynamically generate the requirements into a file at build time). This
seems like a convoluted approach (having to install a `fileattribute`
globally on the build machine), but at least it works.

Finally, this update also splits the package into multiple component
packages like the Debian packages. Note that `darling-cli-devenv` needs
to install files with the same names as those installed by
`darling-gui`, so it has to be built as a completely separate package. To
avoid having to rebuild a large portion of the project (about 8000
files), we simply generate a binary "source" tarball when building the
main Darling packages and then use this as the source for
`darling-cli-devenv`.
2023-05-12 10:05:41 -07:00
Ariel Abreu
c0102e5d01 [deb] Split package into multiple component packages 2023-05-12 10:05:41 -07:00
Ariel Abreu
8974de2700 Add a script to generate minimal stubs for some frameworks needed by Xcode
This is mainly used for the modular build, so that we have
dependency-free stubs for certain GUI frameworks that Xcode loads but
doesn't actually use in the CLI.
2023-05-12 10:01:53 -07:00
Thomas A
fbf27b717b Don't use backslashes for "${FRAMEWORK_VERSION}" 2022-09-08 20:29:43 -07:00
Thomas A
1cc5b56fd8 WIP changes for adding SDK header generating methods to stub generator
Code is currently untested.
2022-09-06 22:19:14 -07:00
Andrew Hyatt
2761c84286 PPA source package build script 2021-07-05 09:53:48 -04:00
Ariel Abreu
537b6625c8
Post-checkout script is no longer necessary 2021-05-05 09:21:50 -04:00
Ariel Abreu
d793942aea
Try to setup Github Actions (again)
We originally stopped using it because we were running into the disk space limit, but the builds were much faster with it. I've recently stumbled into a neat trick that should let us have more disk space on the runners.

In addition, this commit also moves the darling-swift repository away from LFS. Note that it is now necessary to run a post-checkout script.
2021-05-03 22:21:41 -04:00
Ariel Abreu
2880f15a5d
Merge pull request #825 from TheBrokenRail/better-deb
Use elfdep To get shlibdeps for DEB
2021-04-30 23:47:28 -04:00
TheBrokenRail
75861db3d3
Update tools/debian/make-deb
Co-authored-by: Ariel Abreu <facekapow@outlook.com>
2021-04-30 23:19:27 -04:00
TheBrokenRail
fb73c7e2e9
Auto-Calculate Darling Prefix in tools/uninstall (#829)
* Auto-Calculate Darling Prefix in tools/uninstall

Also switched the shebang to ```/bin/sh```  since the script seemed ```sh``` compatible, and there are faster ```sh``` implementations than ```bash``` like ```dash```.

* Improve Readability
2021-02-09 16:53:44 -05:00
TheBrokenRail
bb7cbcb416 Disable Lintian; The warnings/errors are not applicable to Darling 2020-06-08 17:37:38 -04:00
TheBrokenRail
690de07dc6 Clean Up Scripts 2020-06-08 15:52:37 -04:00
TheBrokenRail
579eafdfed Use elfdep To get shlibdeps for DEB 2020-06-07 20:44:18 -04:00
Thomas A
1b7aaa099f darling-stub-gen: Add support for iOSSupport path 2020-05-18 18:08:52 -07:00
Andrew Hyatt
5edd655c90
CoreUI private framework stub 2020-03-19 15:37:29 -04:00
Andrew Hyatt
61a5abb268
Clean up build output
No warnings in src/frameworks and src/private-frameworks now.
-Werror has been turned on there to keep it that way.
2020-03-19 14:57:43 -04:00
TheBrokenRail
fd488202b2
Do not check build dependencies when creating source package 2020-02-17 12:06:44 -05:00
TheBrokenRail
eeab5f5b5e --exclude-vcs Breaks the DSC Build (#627)
* --exclude-vcs Breaks the DSC Build

* Allow Customizing Distro and Email

* Python 2 is required to build

* Remove Unneeded Arg

* Update lintian-overrides

* Prevent https://bugs.launchpad.net/launchpad/+bug/330711
2020-01-11 19:33:14 -05:00
TheBrokenRail
899d82294f
Fix "Cannot Update Compressed Archives" 2020-01-10 18:53:27 -05:00
TheBrokenRail
9fc7eecbf9
Use .gitignore DSC 2020-01-10 12:12:51 -05:00
TheBrokenRail
540ad556d0
Update makedeb 2020-01-10 08:23:44 -05:00
TheBrokenRail
26fc80f8e8
Update makedeb 2020-01-10 08:04:47 -05:00
TheBrokenRail
120408fcc0 Allow Building DSC (#621) 2020-01-09 23:45:42 -05:00
Andrew Hyatt
7df5cc8042
Add uninstall command and tool
Invoke as 'make uninstall' in CMake build directory
or run as tools/uninstall

Fixes #590
2020-01-03 22:20:04 -05:00
Andrew Hyatt
7628a26e5f
deb package build improvements 2020-01-03 10:08:37 -05:00
TheBrokenRail
f334841c58 Fix DEB Build (#594)
* Toolchain.cmake was removed in 49d29fa159

* Ignore debbuild

* Fix generated changelog
2020-01-02 19:15:42 -05:00
Andrew Hyatt
fd6bc3536f
Fix new shutdown script not working 2019-11-25 23:54:54 -05:00
Andrew Hyatt
48b099771b
Shut down running instances during install
This prevents forgetting to shut down darling and wondering why
your changes have no effect.
2019-11-23 17:30:06 -05:00
Andrew Hyatt
e68d9249e7
Some framework stubs
* VideoToolbox
* QTKit
* AudioUnit
* CoreMediaIO
2019-07-20 20:00:35 -04:00
Andrew Hyatt
29d6e20650
Fix output name including lib twice 2019-06-02 16:39:48 -04:00
Andrew Hyatt
dec7a4dc70
Get stub generator to work outside /usr/lib 2019-06-02 16:18:39 -04:00
Andrew Hyatt
c47c0cedf9
Make darling-stub-gen detect username 2019-05-25 19:10:47 -04:00
Andrew Hyatt
cc92bf228a
Make darling-stub-gen work with indirect symbols 2019-03-18 09:19:03 -04:00
Andrew Hyatt
fc91d432a7 More Foundation classes (#445)
Also update stub generator
2019-01-10 16:12:53 -05:00
Andrew Hyatt
dc6a43a00f
Update stub generators
They work with Swift 4 and the copyrights are for 2018
2018-09-04 20:23:45 -04:00
Andrew Hyatt
65ad2b5104
Create tool to rename lines recursively 2018-06-03 15:10:43 -04:00
Andrew Hyatt
4f56312503
Complete the target renaming tool 2018-05-26 12:09:42 -04:00
Andrew Hyatt
ac94c1365c
Improve rename-target regex 2018-05-22 23:24:07 -04:00
Andrew Hyatt
128db97f82
Implement rename-target 2018-05-22 22:50:28 -04:00
Andrew Hyatt
41c73e7db1
Set exslt version 2018-05-18 20:20:49 -04:00
Andrew Hyatt
5f96f6c7fb
Rename tools to remove their file extensions
This makes it easy to add the folder to PATH and run commands
2018-05-17 10:02:35 -04:00
Andrew Hyatt
a8ce793bf4 darling-stub-gen fixes 2017-12-24 00:49:28 -08:00
Andrew Hyatt
e706c4c429 Switch back to generating empty classes 2017-12-22 00:28:05 -08:00
Andrew Hyatt
6115eeae20 Detect more C header data 2017-12-21 22:39:57 -08:00
Andrew Hyatt
fa856191b7 Rewrite stub generator to also generate CMakeLists
This combines the C function stub generator and
the Objective-C class generator.

It also detects the dylib current and compat
versions.

It basically creates a stub folder that you can
copy directly into /src.
2017-12-20 23:28:40 -08:00
Lubos Dolezel
ff98b0c051 Introduce pyc() CMake function, use it to generate .pyc files 2017-07-18 13:50:26 +02:00