-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
446 changed files
with
1,358,223 additions
and
4,724 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
[submodule "test/girs/vala-girs"] | ||
path = vala-girs | ||
url = https://github.com/nemequ/vala-girs.git | ||
branch = master | ||
[submodule "types"] | ||
path = types | ||
url = https://github.com/gjsify/types | ||
branch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Install GObject Introspection Repository files: | ||
|
||
```bash | ||
# Ubuntu 22.04 | ||
# Ubuntu | ||
sudo apt-get update && sudo apt-get install \ | ||
libappindicator3-dev \ | ||
libgda-5.0-dev \ | ||
|
@@ -15,14 +15,9 @@ sudo apt-get update && sudo apt-get install \ | |
libsoup2.4-dev \ | ||
libsoup-3.0-dev \ | ||
libwebkit2gtk-4.0-dev \ | ||
libadwaita-1-dev \ | ||
# The following are for GNOME Shell types | ||
gnome-shell-common \ | ||
libmutter-10-dev \ | ||
libgcr-3-dev \ | ||
libgnome-desktop-3-dev # GnomeDesktop-3.0.gir | ||
|
||
# Fedora 37 | ||
libadwaita-1-dev | ||
|
||
# Fedora | ||
sudo dnf update && sudo dnf install \ | ||
libappindicator-gtk3-devel \ | ||
libgda-devel \ | ||
|
@@ -34,27 +29,52 @@ sudo dnf update && sudo dnf install \ | |
libnotify-devel \ | ||
libsoup-devel \ | ||
webkit2gtk3-devel \ | ||
libadwaita-devel \ | ||
# The following are for GNOME Shell types | ||
gnome-shell \ | ||
gcr-devel \ | ||
gnome-desktop3-devel # GnomeDesktop-3.0.gir | ||
libadwaita-devel | ||
``` | ||
|
||
## GNOME Shell types | ||
|
||
```bash | ||
|
||
# Ubuntu | ||
sudo apt-get install gnome-shell-common libmutter-10-dev libgcr-3-dev libgnome-desktop-3-dev | ||
|
||
# Fedora | ||
sudo dnf install gnome-shell gcr-devel gnome-desktop3-devel | ||
``` | ||
|
||
## Other GNOME types | ||
|
||
```bash | ||
# Fedora | ||
sudo dnf install gnome-bluetooth-libs-devel | ||
``` | ||
|
||
Checkout this repository: | ||
|
||
```bash | ||
git clone --recurse-submodules [email protected]:gjsify/ts-for-gir.git | ||
cd ts-for-gir | ||
``` | ||
|
||
Checkout this repository, install the dependencies and build: | ||
Alternatively, you can fetch the submodules after cloning the repository: | ||
|
||
```bash | ||
git clone https://github.com/gjsify/ts-for-gir | ||
cd ts-for-gir | ||
git submodule update --init | ||
``` | ||
|
||
Install the dependencies and build: | ||
|
||
```bash | ||
yarn install | ||
yarn run build | ||
``` | ||
|
||
Generate example type definitions: | ||
|
||
```bash | ||
yarn run test:girs:gtk4 | ||
yarn run test:girs:gjs:gtk4 | ||
``` | ||
|
||
## Gir XML Format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ts-for-gir-adw-1-hello-example", | ||
"version": "3.2.3", | ||
"version": "3.2.8", | ||
"description": "Simple GJS Typescript hello-world example using Libadwaita", | ||
"main": "index.js", | ||
"type": "module", | ||
|
@@ -21,11 +21,11 @@ | |
"author": "Pascal Garber <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.23.2", | ||
"@babel/core": "^7.23.9", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@ts-for-gir/cli": "workspace:^", | ||
"rollup": "^4.2.0", | ||
"typescript": "^5.2.2", | ||
"vite": "^4.5.0" | ||
"rollup": "^4.11.0", | ||
"typescript": "5.2.2", | ||
"vite": "^5.1.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ts-for-gir-gio-2-cat-promisify-packages", | ||
"version": "3.2.3", | ||
"version": "3.2.8", | ||
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext", | ||
"main": "index.js", | ||
"type": "module", | ||
|
@@ -19,7 +19,7 @@ | |
"author": "Pascal Garber <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"esbuild": "^0.19.5", | ||
"typescript": "^5.2.2" | ||
"esbuild": "^0.20.0", | ||
"typescript": "5.2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.