Skip to content

Commit

Permalink
Merge pull request #225 from matt1432/types
Browse files Browse the repository at this point in the history
Annotate Vala namespaces to fix gir files
  • Loading branch information
Aylur authored Jan 7, 2025
2 parents f68d4ca + 4de428b commit fa2d55e
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/astal/gtk3/src/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "Astal", gir_version = "@API_VERSION@")]
namespace Astal {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/astal/gtk3/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/astal/gtk4/src/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "Astal", gir_version = "@API_VERSION@")]
namespace Astal {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/astal/gtk4/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/astal/io/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalIO", gir_version = "@API_VERSION@")]
namespace AstalIO {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/astal/io/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/battery/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalBattery", gir_version = "@API_VERSION@")]
namespace AstalBattery {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/battery/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/bluetooth/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalBluetooth", gir_version = "@API_VERSION@")]
namespace AstalBluetooth {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/bluetooth/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/greet/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalGreet", gir_version = "@API_VERSION@")]
namespace AstalGreet {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/greet/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/hyprland/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalHyprland", gir_version = "@API_VERSION@")]
namespace AstalHyprland {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/hyprland/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/mpris/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalMpris", gir_version = "@API_VERSION@")]
namespace AstalMpris {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/mpris/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/network/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalNetwork", gir_version = "@API_VERSION@")]
namespace AstalNetwork {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/network/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/notifd/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalNotifd", gir_version = "@API_VERSION@")]
namespace AstalNotifd {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/notifd/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/powerprofiles/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalPowerProfiles", gir_version = "@API_VERSION@")]
namespace AstalPowerProfiles {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/powerprofiles/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down
1 change: 1 addition & 0 deletions lib/tray/config.vala.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[CCode (gir_namespace = "AstalTray", gir_version = "@API_VERSION@")]
namespace AstalTray {
public const int MAJOR_VERSION = @MAJOR_VERSION@;
public const int MINOR_VERSION = @MINOR_VERSION@;
Expand Down
1 change: 1 addition & 0 deletions lib/tray/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ config = configure_file(
input: 'config.vala.in',
output: 'config.vala',
configuration: {
'API_VERSION': api_version,
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
Expand Down

0 comments on commit fa2d55e

Please sign in to comment.