Skip to content

Commit

Permalink
Include GOM dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Sep 30, 2024
1 parent 2e4e318 commit efb14d9
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Among other things, Workbench comes with

- Live GTK/CSS preview
- Library of 100+ examples
<!-- - JavaScript, TypeScript, Rust, Python and Vala support -->
- JavaScript, Rust, Python and Vala support
- Declarative user interface syntax
- Autosave, sessions and projects
Expand All @@ -32,8 +33,8 @@ Among other things, Workbench comes with
| ---------- | --------- | ------ | ---------------- |
| JavaScript ||| 99 |
| Python ||| 92 |
| Vala ||| 92 |
| Rust ||| 45 |
| Vala ||| 91 |
| Rust ||| 52 |
| Blueprint ||| |
| CSS ||| |

Expand Down
2 changes: 1 addition & 1 deletion build-aux/modules/gom.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"type": "archive",
"url": "https://download.gnome.org/sources/gom/0.5/gom-0.5.3.tar.xz",
"sha256": "814fdbf0e0f352e067c6118af5f7454b41e9ef49"
"sha256": "069d0909fbdc6b4d27edf7a879366194e3ab508b03548bf5b89ff63546d20177"
}
]
}
1 change: 1 addition & 0 deletions build-aux/re.sonny.Workbench.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"modules/libshumate.json",
"modules/libportal.json",
"modules/libspelling.json",
"modules/gom.json",
"modules/GTKCssLanguageServer.json",
"modules/python-python-lsp-server.json",
"modules/python-ruff.json",
Expand Down
1 change: 1 addition & 0 deletions build-aux/re.sonny.Workbench.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"modules/libshumate.json",
"modules/libportal.json",
"modules/libspelling.json",
"modules/gom.json",
"modules/GTKCssLanguageServer.json",
"modules/python-python-lsp-server.json",
"modules/python-ruff.json",
Expand Down
10 changes: 5 additions & 5 deletions build-aux/wip/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ if (!exists(`${path}/.flatpak/repo`)) {
]);
}

if (!exists(`${path}/.flatpak/flatpak-builder`)) {
await downloadSources();
await buildModules();
}

const prefix = [
"flatpak-builder",
"--ccache",
Expand Down Expand Up @@ -99,6 +94,11 @@ async function buildModules() {
]);
}

if (!exists(`${path}/.flatpak/flatpak-builder`)) {
await downloadSources();
await buildModules();
}

// builds workbench
if (!exists(`${path}/_build`)) {
await buildCommand([
Expand Down
8 changes: 5 additions & 3 deletions data/app.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@
<ul>
<li>Use GNOME 47</li>
<li>Add code suggestions/completions support</li>
<li>Add TypeScript support</li>
<li>Add initial TypeScript support</li>
<li>Add Language and Category filters to the Library</li>
<li>Add option to create new blank project</li>
</ul>
<p>Library:</p>
<ul>
<li>Add "Button Row" demo</li>
<li>Update "Spinner" to use AdwSpinner</li>
<li>Port "Dialog" to Python</li>
<li>Port "Level Bars" to Rust</li>
<li>Port "Text Fields" to Rust</li>
Expand Down Expand Up @@ -85,18 +87,18 @@
<li>Port "Frame" to Vala</li>
<li>Port "Actions" to Vala</li>
<li>Port "Dialog" to Vala</li>
<li>Port "CSS Gradients" to Vala</li>
</ul>
<p>Dependencies:</p>
<ul>
<!-- <li>Replace Biome with TypeScript Language Server</li> -->
<li>Add GOM dependency 0.5.3</li>
<li>Update Biome to 1.9.2</li>
<li>Update gst-plugin-gtk4 to 1.12.7</li>
<li>Update libshumate to 1.3</li>
<li>Update Blueprint to 0.14.0</li>
<li>Update vte to 0.78.0</li>
<li>Update libspelling to 0.4.0</li>
<li>Update libportal to 0.8.1</li>
<li>Add GOM dependency 0.5.3</li>
</ul>
</description>
</release>
Expand Down
2 changes: 1 addition & 1 deletion src/Previewer/Internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function Internal({
const prop_name = prop.get_name();
// AdwWindow and AdwApplicationWindow have child and titlebar properties but do not support setting them
// "Using gtk_window_get_titlebar() and gtk_window_set_titlebar() is not supported and will result in a crash."
// https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/class.Window.html
// https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.6/class.Window.html
// https://github.com/workbenchdev/Workbench/issues/130
if (
(object_preview instanceof Adw.Window ||
Expand Down

0 comments on commit efb14d9

Please sign in to comment.