Commit Graph

2665 Commits

Author SHA1 Message Date
Jeremy Soller
fe8ca261e8 Merge branch 'patch9' into 'master'
fix(netsurf)

See merge request redox-os/cookbook!441
2025-01-31 21:10:34 +00:00
Jeremy Soller
0afb194125 Merge branch 'patch1' into 'master'
fix(cook): copy source only if newer

See merge request redox-os/cookbook!440
2025-01-31 21:10:25 +00:00
Anhad Singh
af662f716f
fix(netsurf)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-31 22:22:44 +11:00
Anhad Singh
eede787cbf
fix(cook): copy source only if newer
Fixes the bug where libgcc was unnecessarily building multiple times.
Which in turn caused other packages to rebuild.

Example: The source path is set to `prefix/${TARGET}/sysroot`. Currently
the way `cook` handles `source.path` ends up messing the timestamp of
`recipes/libs/libgcc/source` as it just performs `copy_dir_all(path,
&source_dir)` without checking if the timestamp of the source path
specified in the recipe was changed. This would consequently update the
timestamp of the source and cause it to rebuild.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-31 18:39:52 +11:00
Jeremy Soller
3d492f9ae3 Merge branch 'dynamic_linking' into 'master'
fix(cook): build shared dependencies

See merge request redox-os/cookbook!438
2025-01-28 18:31:31 +00:00
Jeremy Soller
5ae8c495eb Merge branch 'patch1' into 'master'
feat(cosmic-files): dynamic

See merge request redox-os/cookbook!439
2025-01-28 18:31:12 +00:00
Anhad Singh
d6a499b29f
feat(cosmic-files): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-28 22:13:10 +11:00
Anhad Singh
212692e1ea
fix(cook): build shared dependencies
Before it was not check if the shared dependencies of a package had been
built. This resulted in the installer panicking as it tried to install
a non-built package. This commit fixes that issue.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-28 21:52:34 +11:00
Jeremy Soller
ba8ee6251e Merge branch 'dynamic_linking' into 'master'
feat(gettext): dynamic

See merge request redox-os/cookbook!437
2025-01-27 13:02:33 +00:00
Anhad Singh
443b55efd9
feat(gettext): bump to 0.22.5
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-27 20:31:39 +11:00
Anhad Singh
3dc8a10685
feat(gettext): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-27 20:31:15 +11:00
Jeremy Soller
3cdfa5c4ba Merge branch 'package-boost' into 'master'
Update Boost recipe

See merge request redox-os/cookbook!436
2025-01-25 00:06:27 +00:00
Jeremy Soller
9c359bcffb Merge branch 'dynamic_linking' into 'master'
fix(coobook): separate shared deps

See merge request redox-os/cookbook!435
2025-01-25 00:05:35 +00:00
Anhad Singh
1eb6a6b0e8
chore: delete old WIP patchelf recipe
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-24 22:19:07 +11:00
Anhad Singh
a8aec7a510
feat(patchelf)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-23 21:39:26 +11:00
Josh Megnauth
d060cff101
Update Boost recipe
Boost depends on some missing `wchar.h` functions which are wrapped and
exposed by C++. Some of the libraries seem to either depend on `openat`
or depend on external libraries that depend on `openat`.

The main purpose of this patch is to update the recipe to an almost
working state until those issues are resolved.
2025-01-23 00:35:59 -05:00
Anhad Singh
8b663ee368 fix(cookbook): shared dependencies
These shall only be added iff `PREFER_STATIC` is not set.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-23 16:12:12 +11:00
Anhad Singh
88ee0be35d
feat(ion): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-23 13:12:39 +11:00
Ribbon
c3a830830c Add the quick-serve recipe 2025-01-20 21:49:14 +00:00
Jeremy Soller
2b4e757048 Merge branch 'dynamic_linking' into 'master'
feat: dynamic

See merge request redox-os/cookbook!432
2025-01-20 20:03:13 +00:00
Anhad Singh
3ee1f4da00 feat(cookbook): add the option to prefer static
By default all libraries and applications that can be dynamically linked
will be dynamically linked. You can override this behaviour by setting
the `COOKBOOK_PREFER_STATIC` environment variable. Note that if you
perviously did not use this flag, it might (most likely will) require a
complete userland sysroot recompilation.

It will look like this:
```bash
$ make clean
$ COOKBOOK_PREFER_STATIC=yes make image
```

For testing, the following will also work:
```bash
$ COOKBOOK_PREFER_STATIC=yes make cr.{PACKAGE_NAME} # obviously replace
                                                    # PACKAGE_NAME with
                                                    # the name of a package :)
```

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:55:37 +11:00
Anhad Singh
48bed31e92
misc(libiconv): set the flags instead of appending
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:11:39 +11:00
Anhad Singh
9f2cb652a3 feat(cookbook): rust dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
bbead114d1 feat(openssl1): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
61b536c275 feat(gcc13): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
4958040529 Revert "feat(llvm): dynamic"
This reverts commit 3ded192f52b46f635d59bfd0b3141d02c56ce7c0.
2025-01-20 19:01:36 +11:00
Anhad Singh
80c7e5a438 Revert "feat(mesa): dynamic"
This reverts commit c284034cff0dcefd7fc8ac2983e231ec4c23af5c.
2025-01-20 19:01:36 +11:00
Anhad Singh
75e944f6a5 feat(mesa): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
9e3aa1b480 feat(llvm): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
dff2dcd4d6 feat(git): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
aa7c69999e misc(recipes): remove mpc from WIP
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
30cd0e845d feat(recipes): libgcc
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
11c96f8bee feat(nghttp2): bump to v1.64.0
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
f92b72224d feat(nghttp2): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
3e45672be6 feat(mpc)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
a1c6409153 feat(gnu-binutils): dynamic
* dynamic
* shell to toml recipe

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
e4f0e28b57 feat(libiconv): bump to 1.17
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
51e8e1a015 feat(libiconv): dynamic
We also statically build as cosmic-files requires it.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
ebfbfde532 feat(zlib): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
55fcf436d1 feat(libmpfr): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
2551aeeea0 feat(libgmp): bump to 6.3.0
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
b4dcf6b9c0 feat(libgmp): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:36 +11:00
Anhad Singh
69e5aef6f3 feat(gnu-make): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:34 +11:00
Anhad Singh
0f6a6e259c feat(cook): prescript for source scripts
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-01-20 19:01:07 +11:00
Ribbon
5c59a25ac8 Add recipes 2025-01-18 16:10:13 +00:00
Ribbon
7b0cc7f404 Add recipes 2025-01-17 15:04:37 +00:00
Jeremy Soller
c224b9a101
Revert "Fix llvm18 recipe on newer Pop"
This reverts commit f953d63d65.
2025-01-14 19:56:47 -07:00
Jeremy Soller
49fc9c0ce3
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/cookbook 2025-01-14 15:23:19 -07:00
Jeremy Soller
f953d63d65
Fix llvm18 recipe on newer Pop 2025-01-14 15:23:15 -07:00
Ribbon
e5ccc5c852 Add the boulette recipe 2025-01-11 12:43:00 +00:00