Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

build: new build system #178

Merged
merged 17 commits into from
May 19, 2024
Merged

build: new build system #178

merged 17 commits into from
May 19, 2024

Conversation

nullishamy
Copy link
Contributor

@nullishamy nullishamy commented May 14, 2024

TODO:

  • Assets
  • Install helper May be integrated in the future if deemed required / someone contributes it
  • Refactor build.py into a library No longer relevant, we will simply generate everything in CI
  • Uninstall helper May be integrated in the future if deemed required / someone contributes it
  • Add palette to patched colloid files (patches/colloid)
  • Whatever this code does, if we need it?
    ^: We don't need the renaming anymore, we just handle that. Users will link with libadwaita themselves
  • Cleanup dead code / refactor build.py

This completely reworks the build system. We are now sidestepping colloid's build system, and instead run a version of it re-implemented in python to suite our needs.

This changes the way we patch colloid too, now using git apply to apply patches to the submodule before building. We now properly integrate with colloid's palette system, eliminating the need to completely reset colloid's submodule at every run.

@nullishamy nullishamy changed the title build: start new build system build: new build system May 18, 2024
@nullishamy nullishamy marked this pull request as ready for review May 18, 2024 22:21
@nullishamy
Copy link
Contributor Author

Can be reviewed from a code perspective, the theme itself is still being evaluated, and will be improved over time.

@nullishamy nullishamy requested review from sgoudham, ghostx31 and rubyowo and removed request for ghostx31 May 18, 2024 22:23
@nullishamy nullishamy merged commit 4050bab into main May 19, 2024
scottames referenced this pull request in scottames/dots Jun 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [catppuccin/gtk](https://togithub.com/catppuccin/gtk) | major |
`v0.7.5` -> `v1.0.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>catppuccin/gtk (catppuccin/gtk)</summary>

### [`v1.0.3`](https://togithub.com/catppuccin/gtk/releases/tag/v1.0.3)

[Compare
Source](https://togithub.com/catppuccin/gtk/compare/v1.0.2...v1.0.3)

> \[!IMPORTANT]
> **This will be the last release before this repository is archived.**
To understand why, see
[#&#8203;262](https://togithub.com/catppuccin/gtk/issues/262).

##### Performance Improvements

- improving performance, layout
([#&#8203;215](https://togithub.com/catppuccin/gtk/issues/215))
([cadc3e2](https://togithub.com/catppuccin/gtk/commit/cadc3e2ac24f93c6641f9f87ee5d044433c65ce7))

### [`v1.0.2`](https://togithub.com/catppuccin/gtk/releases/tag/v1.0.2)

[Compare
Source](https://togithub.com/catppuccin/gtk/compare/v.1.0.0...v1.0.2)

Skipped 1.0.1 because of troubles with the release-please integration.

##### Bug Fixes

- alt tab menu
([#&#8203;209](https://togithub.com/catppuccin/gtk/issues/209))
([cae57c8](https://togithub.com/catppuccin/gtk/commit/cae57c80f81fd1cc40fab2655109b09fa97103b9))

### [`v1.0.0`](https://togithub.com/catppuccin/gtk/releases/tag/v1.0.0)

[Compare
Source](https://togithub.com/catppuccin/gtk/compare/v0.7.5...v.1.0.0)

This marks the first stable release after the massive refactorings we
did. Great work.

#### What's Changed

- build: new build system by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/178](https://togithub.com/catppuccin/gtk/pull/178)
- docs: update readme to support new build system
([#&#8203;183](https://togithub.com/catppuccin/gtk/issues/183)) by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/185](https://togithub.com/catppuccin/gtk/pull/185)
- refactor: build scripts by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/186](https://togithub.com/catppuccin/gtk/pull/186)
- docs(README): overhaul with updated information by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/187](https://togithub.com/catppuccin/gtk/pull/187)
- chore: Configure Renovate by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/catppuccin/gtk/pull/184](https://togithub.com/catppuccin/gtk/pull/184)
- fix: use `v1.0.0-rc1` for the install script by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/192](https://togithub.com/catppuccin/gtk/pull/192)
- refactor: reduce repeated code by
[@&#8203;isabelroses](https://togithub.com/isabelroses) in
[https://github.com/catppuccin/gtk/pull/198](https://togithub.com/catppuccin/gtk/pull/198)
- docs: improve and fix the readme by
[@&#8203;somerand0mcat](https://togithub.com/somerand0mcat) in
[https://github.com/catppuccin/gtk/pull/197](https://togithub.com/catppuccin/gtk/pull/197)
- fix: argument `--accent` behaves like the old argument by
[@&#8203;isabelroses](https://togithub.com/isabelroses) in
[https://github.com/catppuccin/gtk/pull/200](https://togithub.com/catppuccin/gtk/pull/200)
- fix: use rc2 in the install script by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/201](https://togithub.com/catppuccin/gtk/pull/201)
- fix: actually apply our accents by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/199](https://togithub.com/catppuccin/gtk/pull/199)
- fix: disallow 'all' in install.py accent options by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/205](https://togithub.com/catppuccin/gtk/pull/205)
- ci: build in PRs by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/202](https://togithub.com/catppuccin/gtk/pull/202)
- feat: xfwm4 asset generation by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/206](https://togithub.com/catppuccin/gtk/pull/206)
- chore: update install script to rc3 by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/207](https://togithub.com/catppuccin/gtk/pull/207)
- docs: add resources to contributing guide by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/211](https://togithub.com/catppuccin/gtk/pull/211)
- docs: add new build reqs in by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/208](https://togithub.com/catppuccin/gtk/pull/208)
- fix: installation by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/210](https://togithub.com/catppuccin/gtk/pull/210)
- docs: upstreaming procedure by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/219](https://togithub.com/catppuccin/gtk/pull/219)
- docs: flatpak guide by
[@&#8203;somerand0mcat](https://togithub.com/somerand0mcat) in
[https://github.com/catppuccin/gtk/pull/221](https://togithub.com/catppuccin/gtk/pull/221)
- chore: issue template by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/222](https://togithub.com/catppuccin/gtk/pull/222)
- feat: reintroduce black tweak as OLED-esque variant by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/213](https://togithub.com/catppuccin/gtk/pull/213)
- fix(patches): allow to work on windows by
[@&#8203;isabelroses](https://togithub.com/isabelroses) in
[https://github.com/catppuccin/gtk/pull/226](https://togithub.com/catppuccin/gtk/pull/226)
- chore: update install script to rc4 by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/227](https://togithub.com/catppuccin/gtk/pull/227)
- fix: patches by
[@&#8203;isabelroses](https://togithub.com/isabelroses) in
[https://github.com/catppuccin/gtk/pull/229](https://togithub.com/catppuccin/gtk/pull/229)
- ci: exit with non zero exit code when a build fails by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/231](https://togithub.com/catppuccin/gtk/pull/231)
- fix: allow all accents to be used by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/232](https://togithub.com/catppuccin/gtk/pull/232)
- chore: update install script to rc5 by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/233](https://togithub.com/catppuccin/gtk/pull/233)
- docs: architecture docs by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/242](https://togithub.com/catppuccin/gtk/pull/242)
- fix: add build suffix by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/241](https://togithub.com/catppuccin/gtk/pull/241)
- fix: xfwm4 assets by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/240](https://togithub.com/catppuccin/gtk/pull/240)
- fix: titlebars should be mantle not crust by
[@&#8203;nullishamy](https://togithub.com/nullishamy) in
[https://github.com/catppuccin/gtk/pull/238](https://togithub.com/catppuccin/gtk/pull/238)

#### New Contributors

- [@&#8203;renovate](https://togithub.com/renovate) made their first
contribution in
[https://github.com/catppuccin/gtk/pull/184](https://togithub.com/catppuccin/gtk/pull/184)

**Full Changelog**:
catppuccin/gtk@v0.7.5...v1.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone
America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/scottames/dots).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant