Skip to content

Commit

Permalink
chore: Added types for GNOME 45, bumb version 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Nov 13, 2023
1 parent 1bd51b2 commit 88bafe0
Show file tree
Hide file tree
Showing 374 changed files with 1,354,919 additions and 1,038 deletions.
37 changes: 23 additions & 14 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -34,11 +29,25 @@ 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, install the dependencies and build:
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
- Create a Reporter to create a text or json file with warnings like unknown types, renaming, etc and a summary of all that (e.g. 5 type conflicts resolved, 8 unknown types of *gint)
- Update types for GJS v1.75.2, see https://gitlab.gnome.org/GNOME/gjs/-/commit/666755b3b09d765e43d415e76105b828517b5509

# 3.2.4
- Upgrade dependencies
- Add instruction to install `GnomeBluetooth-3.0.gir` on Fedora
- Add more *.gir files to `./girs` directory

# 3.2.3
- Upgrade dependencies
- Upgrade gir files
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/adw-1-hello/package.json
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.4",
"description": "Simple GJS Typescript hello-world example using Libadwaita",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat-alias/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-cat-alias-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat-packages/package.json
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.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat-promisify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-cat-promisify-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat-types-only/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-cat-types-only-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-cat-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-dbus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-dbus-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "GJS example showing how to build a DBus server/client",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-list-model/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gio-2-list-model-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "An example of implementing the GListModel interface in GJS",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/glib-2-spawn-command/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-glib-2-spawn-command-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"module": "dist/main.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/glib-2-variant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-glib-2-variant-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "ts-for-gir GVariant example based on https://gjs.guide/guides/glib/gvariant.html",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-application/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-application-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app to demonstrate how you can use and extend Gtk.Application",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-browser-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"module": "dist/main.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-builder-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-calc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-calc-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 calculator example app",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-editor-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-gettext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-gettext-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-hello-2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-hello-2-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app to demonstrate how you can connect to Gtk signals",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-hello/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-hello-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-template-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app to demonstrate how you can use .ui template XML files",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-webkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-3-webkit-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 3 example app to demonstrate how you can use WebKit2",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-custom-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gjs-gtk-4-custom-widget-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "This example shows the usage of custom widgets and virtual functions in GJS",
"main": "dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-list-store/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-4-list-store-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "It takes the hassle away from building Gtk4 application in Python So you can create a cool application, without all the boilerplate code",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-gtk-4-template-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 4 example app to demonstrate how you can use .ui template XML files",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/soup-3-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-soup-3-http-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "GJS example showing how to build a http server/client using Soap 3",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/soup-3-websocket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-soup-3-websocket-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Soup 3 example app to demonstrate how you can use WebSockets",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/timers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-timers-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple GJS Gtk 4 example app to demonstrate how you can use .ui template XML files",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gio-2-cat-packages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-gio-2-cat-promisify-packages",
"version": "3.2.3",
"version": "3.2.4",
"description": "Simple Node Gtk 3 example app that shows how you can translate strings with gettext",
"main": "index.js",
"type": "commonjs",
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/glib-2-spawn-command/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-glib-2-spawn-command-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gtk-3-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-3-browser-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "dist/main.js",
"private": true,
Expand Down
3 changes: 2 additions & 1 deletion examples/node-gtk/gtk-3-browser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"lib": ["ESNext"],
"types": ["node"],
"target": "ESNext",
"module": "ESNext",
"module": "NodeNext",
"moduleResolution":"NodeNext",
"declaration": true,
"noImplicitAny": false,
"removeComments": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-3-builder-auto-connect-signals-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gtk-3-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-3-builder-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gtk-3-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-3-editor-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "main.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gtk-3-hello/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-3-hello-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "dist/main.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/gtk-4-custom-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-gtk-gtk-4-custom-widget-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "This example shows the usage of custom widgets and virtual functions in node-gtk",
"main": "dist/index.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/node-gtk/soup-3-http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-for-gir-node-soup-3-http-example",
"version": "3.2.3",
"version": "3.2.4",
"description": "Node-gtk example showing how to build a http server/client using Soap 3",
"main": "dist/http-server.js",
"private": true,
Expand Down
Binary file added girs/AccountsService-1.0.typelib
Binary file not shown.
Loading

0 comments on commit 88bafe0

Please sign in to comment.