gtk4.git
2 years agodocs: Mention the current build options
Matthias Clasen [Sun, 14 May 2023 00:16:34 +0000 (20:16 -0400)]
docs: Mention the current build options

Some of these got renamed recently.

2 years agoci: Stop using deprecated build options
Matthias Clasen [Sun, 14 May 2023 00:13:01 +0000 (20:13 -0400)]
ci: Stop using deprecated build options

demos got renamed to build-demos.

2 years agoAdd a README to examples/hello
Matthias Clasen [Sun, 14 May 2023 00:11:56 +0000 (20:11 -0400)]
Add a README to examples/hello

Just so nobody wonders why there's a meson.build
in this subdirectory.

2 years agoMerge branch 'revert-78f68d79' into 'main'
Georges Basile Stavracas Neto [Sun, 14 May 2023 00:37:47 +0000 (00:37 +0000)]
Merge branch 'revert-78f68d79' into 'main'

Revert "Merge branch 'gbsneto/css-parser-annotation' into 'main'"

See merge request GNOME/gtk!5965

2 years agoMerge branch 'new-css-load-apis' into 'main'
Matthias Clasen [Sun, 14 May 2023 00:27:23 +0000 (00:27 +0000)]
Merge branch 'new-css-load-apis' into 'main'

Add new css provider load apis

See merge request GNOME/gtk!5966

2 years agoDeprecate gtk_css_provider_load_From_data
Matthias Clasen [Sat, 13 May 2023 23:46:08 +0000 (19:46 -0400)]
Deprecate gtk_css_provider_load_From_data

2 years agoStop using gtk_css_provider_load_from_data
Matthias Clasen [Sat, 13 May 2023 23:44:42 +0000 (19:44 -0400)]
Stop using gtk_css_provider_load_from_data

2 years agoAdd new css provider load apis
Matthias Clasen [Sat, 13 May 2023 23:37:51 +0000 (19:37 -0400)]
Add new css provider load apis

gtk_css_provider_load_from_data has turned out
to be problematic for language bindings. Add two
new variants, from_string and from_bytes, to
replace it.

2 years agoRevert "Merge branch 'gbsneto/css-parser-annotation' into 'main'"
Emmanuele Bassi [Sat, 13 May 2023 21:53:04 +0000 (21:53 +0000)]
Revert "Merge branch 'gbsneto/css-parser-annotation' into 'main'"

This reverts merge request !5964

2 years agoMerge branch 'gbsneto/css-parser-annotation' into 'main'
Georges Basile Stavracas Neto [Sat, 13 May 2023 20:51:00 +0000 (20:51 +0000)]
Merge branch 'gbsneto/css-parser-annotation' into 'main'

gtk/css-provider: Add back array length annotation

See merge request GNOME/gtk!5964

2 years agogtk/css-provider: Add back array length annotation
Georges Basile Stavracas Neto [Sat, 13 May 2023 20:00:30 +0000 (17:00 -0300)]
gtk/css-provider: Add back array length annotation

This partially reverts commit 93a875bf20ba6ed8cd13595ff1f6.

Removing this annotation broke bindings, which now treat the
length of the array as a standalone parameter.

This broke Spiel, and probably other non-C apps that rely on
GtkCssProvider through bindings.

2 years agoMerge branch 'more-marshaller-cleanup' into 'main'
Matthias Clasen [Sat, 13 May 2023 19:46:30 +0000 (19:46 +0000)]
Merge branch 'more-marshaller-cleanup' into 'main'

Add missing va marshallers

See merge request GNOME/gtk!5963

2 years agoWidget: Fix doubled word need, missing possessives
Daniel Boles [Sat, 13 May 2023 17:17:17 +0000 (18:17 +0100)]
Widget: Fix doubled word need, missing possessives

2 years agoDrop duplication between marshallers
Matthias Clasen [Sat, 13 May 2023 16:50:45 +0000 (12:50 -0400)]
Drop duplication between marshallers

gtk and gdk have their own marshallers, for historic
reasons. But there's no reason to duplicate the same
code here.

Eventually, we should just move all marshallers to
the same place.

2 years agoAdd missing va marshallers
Matthias Clasen [Sat, 13 May 2023 16:34:22 +0000 (12:34 -0400)]
Add missing va marshallers

Whenever we pass a marshaller to g_signal_new,
call g_signal_set_va_marshaller with the corresponding
va marshaller.

2 years agoMerge branch 'marshaller-cleanup' into 'main'
Matthias Clasen [Sat, 13 May 2023 15:35:14 +0000 (15:35 +0000)]
Merge branch 'marshaller-cleanup' into 'main'

Avoid generic marshallers

See merge request GNOME/gtk!5962

2 years agoDrop unused marshallers
Matthias Clasen [Sat, 13 May 2023 15:15:36 +0000 (11:15 -0400)]
Drop unused marshallers

This list was found by a combination of
grep, sed, and sort.

2 years agoAvoid generic marshallers
Matthias Clasen [Sat, 13 May 2023 13:21:48 +0000 (09:21 -0400)]
Avoid generic marshallers

The libffi-based generic marshallers give sysprof
difficulties in getting good stacktraces, so avoid
them.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 13 May 2023 12:40:35 +0000 (12:40 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

popover: Stop making assumptions about corners

See merge request GNOME/gtk!5961

2 years agopopover: Stop making assumptions about corners
Matthias Clasen [Sat, 13 May 2023 11:35:05 +0000 (07:35 -0400)]
popover: Stop making assumptions about corners

The popover tail drawing code was just assuming that
the corner values are numbers. Which they won't, anymore.

2 years agoImprove css parser test coverage
Matthias Clasen [Sat, 13 May 2023 02:04:05 +0000 (22:04 -0400)]
Improve css parser test coverage

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 13 May 2023 02:02:48 +0000 (02:02 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

css: Fix transition of font features

See merge request GNOME/gtk!5957

2 years agoMerge branch 'volumemedia' into 'main'
Matthias Clasen [Sat, 13 May 2023 01:43:59 +0000 (01:43 +0000)]
Merge branch 'volumemedia' into 'main'

mediacontrols: Set valign=center on volume button

See merge request GNOME/gtk!5955

2 years agotestsuite: Cosmetics
Matthias Clasen [Fri, 12 May 2023 23:26:38 +0000 (19:26 -0400)]
testsuite: Cosmetics

2 years agoTest the deprecation support
Matthias Clasen [Fri, 12 May 2023 23:27:04 +0000 (19:27 -0400)]
Test the deprecation support

Test gtk4-builder-tool validate --deprecations

2 years agoAdd tests for gtk4-builder-tool enumerate
Matthias Clasen [Fri, 12 May 2023 23:25:24 +0000 (19:25 -0400)]
Add tests for gtk4-builder-tool enumerate

2 years agoAdd tests for hsv<>rgb conversion
Matthias Clasen [Fri, 12 May 2023 22:47:21 +0000 (18:47 -0400)]
Add tests for hsv<>rgb conversion

2 years agoImprove test coverage for the css parser
Matthias Clasen [Fri, 12 May 2023 22:46:54 +0000 (18:46 -0400)]
Improve test coverage for the css parser

2 years agocss: Improve transition test coverage
Matthias Clasen [Fri, 12 May 2023 13:14:04 +0000 (09:14 -0400)]
css: Improve transition test coverage

2 years agocss: Fix initial rotate transform value
Matthias Clasen [Fri, 12 May 2023 22:11:14 +0000 (18:11 -0400)]
css: Fix initial rotate transform value

2 years agocss: Make some corner values static
Matthias Clasen [Fri, 12 May 2023 18:48:45 +0000 (14:48 -0400)]
css: Make some corner values static

Provide static value for uniform corners
with lengths from 0 to 8px. This covers
the majority of corners in widget-factory.

2 years agocss: More static length values
Matthias Clasen [Fri, 12 May 2023 18:47:36 +0000 (14:47 -0400)]
css: More static length values

Make all length values from 0px to 8px available
as static values. This will help with cutting
down on the number of corner values (we have a
lot of 5px corners).

2 years agoRevert "css: Simplify default values"
Matthias Clasen [Fri, 12 May 2023 18:09:36 +0000 (14:09 -0400)]
Revert "css: Simplify default values"

This reverts commit 1efa39672b94ba12f42f386d0eedb7ed6d7c3d03.

We want to use corner values for corner properties.

2 years agoRevert "csscornervalue: Accept other values if x == y"
Matthias Clasen [Fri, 12 May 2023 18:04:59 +0000 (14:04 -0400)]
Revert "csscornervalue: Accept other values if x == y"

This reverts commit 1f2f2777e1231468f613a2936989ded060f4e2a6.

It broke transitioning of corner values.

2 years agoUpdate Catalan translation
Jordi Mas [Fri, 12 May 2023 17:42:11 +0000 (19:42 +0200)]
Update Catalan translation

2 years agocss: Correct initial shadow filter values
Matthias Clasen [Fri, 12 May 2023 17:13:12 +0000 (13:13 -0400)]
css: Correct initial shadow filter values

This was using numbers instead of lengths,
causing confusion in the transition code.

2 years agoUpdate French translation
Guillaume Bernard [Fri, 12 May 2023 13:24:14 +0000 (13:24 +0000)]
Update French translation

2 years agocss: Fix transition of font features
Matthias Clasen [Fri, 12 May 2023 13:13:00 +0000 (09:13 -0400)]
css: Fix transition of font features

If we store ints as values, we better use
g_hash_table_lookup_extended, or zeros will
show up as missing values.

2 years agoImprove css parser test coverage
Matthias Clasen [Fri, 12 May 2023 12:23:56 +0000 (08:23 -0400)]
Improve css parser test coverage

2 years agomediacontrols: Set valign=center on volume button
Maximiliano Sandoval R [Fri, 12 May 2023 09:35:14 +0000 (11:35 +0200)]
mediacontrols: Set valign=center on volume button

To match the play button.

2 years agoOverlay: Add minimal doc blurb for property :child
Daniel Boles [Fri, 12 May 2023 09:30:37 +0000 (10:30 +0100)]
Overlay: Add minimal doc blurb for property :child

2 years agoImprove test coverage for list models
Matthias Clasen [Fri, 12 May 2023 03:24:23 +0000 (23:24 -0400)]
Improve test coverage for list models

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Fri, 12 May 2023 02:41:26 +0000 (02:41 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Add a little wait to focus tests

See merge request GNOME/gtk!5954

2 years agoAdd a little wait to focus tests
Matthias Clasen [Fri, 12 May 2023 02:23:01 +0000 (22:23 -0400)]
Add a little wait to focus tests

I don't know exactly why, but this seems
to help the tests not fail on X11.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Fri, 12 May 2023 02:08:37 +0000 (02:08 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

ci: Use the same options for the scan-build job

See merge request GNOME/gtk!5953

2 years agoMerge branch 'validate-uris' into 'main'
Matthias Clasen [Fri, 12 May 2023 00:19:07 +0000 (00:19 +0000)]
Merge branch 'validate-uris' into 'main'

urilauncher: Validate the uri

Closes #5829

See merge request GNOME/gtk!5952

2 years agogtk-demo: Rename the new Settings demo
Matthias Clasen [Fri, 12 May 2023 00:14:58 +0000 (20:14 -0400)]
gtk-demo: Rename the new Settings demo

"v2" does not look great in the sidebar.
Lets call this "Alternative Settings".

2 years agogtk-demo: Fix a typo
Matthias Clasen [Thu, 11 May 2023 23:53:42 +0000 (19:53 -0400)]
gtk-demo: Fix a typo

2 years agoci: Stop special-casing broadway
Matthias Clasen [Thu, 11 May 2023 14:18:22 +0000 (10:18 -0400)]
ci: Stop special-casing broadway

We are not running the broadway tests anymore,
so no need to special-case them in the run-test.sh
script either.

2 years agoci: Use the same options for the scan-build job
Matthias Clasen [Thu, 11 May 2023 14:16:34 +0000 (10:16 -0400)]
ci: Use the same options for the scan-build job

In particular, not building the tests should
help cutting down on time spent linking.

2 years agourilauncher: Validate the uri
Matthias Clasen [Thu, 11 May 2023 22:33:23 +0000 (18:33 -0400)]
urilauncher: Validate the uri

We don't want to send nonsense to the portal.

Fixes: #5829
2 years agoMerge branch 'fix-focus-tests' into 'main'
Matthias Clasen [Thu, 11 May 2023 22:28:46 +0000 (22:28 +0000)]
Merge branch 'fix-focus-tests' into 'main'

spinbutton: Update baseline child

See merge request GNOME/gtk!5950

2 years agoMerge branch 'shortcuts-focus' into 'main'
Matthias Clasen [Thu, 11 May 2023 20:16:07 +0000 (20:16 +0000)]
Merge branch 'shortcuts-focus' into 'main'

theme: Show focus in shortcuts windows

See merge request GNOME/gtk!5951

2 years agotheme: Show focus in shortcuts windows
Matthias Clasen [Thu, 11 May 2023 19:57:18 +0000 (15:57 -0400)]
theme: Show focus in shortcuts windows

The individual items are now focusable,
so we need to show a focus ring, otherwise
this is just confusing.

2 years agowidgetfocus: Sort children better for TAB
Matthias Clasen [Thu, 11 May 2023 19:35:27 +0000 (15:35 -0400)]
widgetfocus: Sort children better for TAB

When tabbing in a box, we really want to sort
children just along the main axis. Make it so.

2 years agospinbutton: Update baseline child
Matthias Clasen [Thu, 11 May 2023 19:34:44 +0000 (15:34 -0400)]
spinbutton: Update baseline child

When the orientation changes, the entry changes
position, so we need to update baseline-child to match.

2 years agoMerge branch 'balance-ci-jobs' into 'main'
Matthias Clasen [Thu, 11 May 2023 13:47:56 +0000 (13:47 +0000)]
Merge branch 'balance-ci-jobs' into 'main'

ci: Balance the work between jobs

See merge request GNOME/gtk!5949

2 years agotestsuite: Simplify shader test
Matthias Clasen [Thu, 11 May 2023 13:20:25 +0000 (09:20 -0400)]
testsuite: Simplify shader test

Simplify the shader to something GLES
will successfully compile.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 11 May 2023 13:11:56 +0000 (13:11 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gsk: Dispose the driver when the display is closed

See merge request GNOME/gtk!5948

2 years agoDrop the duplicate x11 testsuite run
Matthias Clasen [Thu, 11 May 2023 12:52:48 +0000 (08:52 -0400)]
Drop the duplicate x11 testsuite run

We currently run the testsuite against x11 in both
the debug and release builds. Once ought to
be enough.

2 years agoci: Balance the work between jobs
Matthias Clasen [Thu, 11 May 2023 12:39:38 +0000 (08:39 -0400)]
ci: Balance the work between jobs

The fedora-x86-64 build does not only build with debug,
it also does the hello build, and it runs the testsuite
multiple times.

Move the hello build to the fedora release build. The idea
is that this lets us do more work in parallel, and spend
less time waiting for the longest-running ci job.

2 years agoci: Drop the broadway test run
Matthias Clasen [Thu, 11 May 2023 12:34:14 +0000 (08:34 -0400)]
ci: Drop the broadway test run

We are ignoring failures here, and nobody is working
on fixing them. And the failures end up at the end
of the log, adding annoyance to finding the actual
failures.

2 years agotestsuite: fix another surface unref warning
Matthias Clasen [Thu, 11 May 2023 10:40:57 +0000 (06:40 -0400)]
testsuite: fix another surface unref warning

2 years agobuild: Cosmetics
Matthias Clasen [Thu, 11 May 2023 01:33:32 +0000 (21:33 -0400)]
build: Cosmetics

2 years agogsk: Comment out some debug code
Matthias Clasen [Thu, 11 May 2023 00:45:39 +0000 (20:45 -0400)]
gsk: Comment out some debug code

The calls of these functions are #ifdef'ed out,
so no point in compiling these functions.

2 years agogtk: Don't drop too many references
Matthias Clasen [Thu, 11 May 2023 00:19:23 +0000 (20:19 -0400)]
gtk: Don't drop too many references

We only have one reference to the surface,
and it is dropped by gdk_surface_destroy.

All the users of surfaces in gtk had the same
bug: they were all stealing an extra reference
to drop - the one that the renderer was leaking
until recently.

2 years agogsk: Fix some renderer gotchas
Matthias Clasen [Wed, 10 May 2023 20:55:16 +0000 (16:55 -0400)]
gsk: Fix some renderer gotchas

unrealize() needs to clean up the surface that was set
in realize(), and both need to emit property change
notification.

2 years agogsk: Improve test coverage
Matthias Clasen [Wed, 10 May 2023 14:38:13 +0000 (10:38 -0400)]
gsk: Improve test coverage

Add more tests for gsk transforms, render node
and renderer apis.

2 years agogsk: Drop an unused function
Matthias Clasen [Wed, 10 May 2023 18:59:58 +0000 (14:59 -0400)]
gsk: Drop an unused function

2 years agotestsuite: Close displays in the gsk tests
Matthias Clasen [Wed, 10 May 2023 11:36:22 +0000 (07:36 -0400)]
testsuite: Close displays in the gsk tests

This gives us better coverage of the dispose
codepath for a driver that has actually been
used.

2 years agogsk: Dispose the driver when the display is closed
Matthias Clasen [Wed, 10 May 2023 11:34:23 +0000 (07:34 -0400)]
gsk: Dispose the driver when the display is closed

This was the intention, but the object data by itself
does not achieve that: We do run dispose on the display
when it is closed, but object data is only cleared in
finalize. So listen to the ::closed signal and remove
the driver ourselves.

Fix up the drivers dispose implementation enough for
that to actually work.

2 years agoUse gsk_matrix_transform_point3d consistently
Matthias Clasen [Wed, 10 May 2023 17:44:24 +0000 (13:44 -0400)]
Use gsk_matrix_transform_point3d consistently

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Wed, 10 May 2023 10:38:07 +0000 (10:38 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

tests: Stop copying the tool tests

See merge request GNOME/gtk!5947

2 years agotests: Don't disable vertex arrays
Matthias Clasen [Wed, 10 May 2023 03:02:48 +0000 (23:02 -0400)]
tests: Don't disable vertex arrays

It doesn't work, and that makes tests fail.

2 years agoImprove coverage for half-float fallbacks
Matthias Clasen [Wed, 10 May 2023 03:02:30 +0000 (23:02 -0400)]
Improve coverage for half-float fallbacks

2 years agobuild: Rename another option
Matthias Clasen [Wed, 10 May 2023 01:39:20 +0000 (21:39 -0400)]
build: Rename another option

2 years agobuild: Deprecate an option
Matthias Clasen [Wed, 10 May 2023 01:28:52 +0000 (21:28 -0400)]
build: Deprecate an option

Rename the demos option to build-demos, to match
the other options for building optional parts.

2 years agobuild: Require meson 0.63
Matthias Clasen [Wed, 10 May 2023 01:33:21 +0000 (21:33 -0400)]
build: Require meson 0.63

This is needed for option deprecation.

2 years agotests: Stop copying the tool tests
Matthias Clasen [Wed, 10 May 2023 01:21:39 +0000 (21:21 -0400)]
tests: Stop copying the tool tests

No point in doing that, and the meson feature
we are using here is deprecated.

2 years agoPost-release version bump
Matthias Clasen [Wed, 10 May 2023 00:48:33 +0000 (20:48 -0400)]
Post-release version bump

2 years ago4.11.2
Matthias Clasen [Tue, 9 May 2023 17:36:21 +0000 (13:36 -0400)]
4.11.2

2 years agoUpdate baseline docs a bit
Matthias Clasen [Tue, 9 May 2023 20:42:38 +0000 (16:42 -0400)]
Update baseline docs a bit

2 years agoMerge branch 'deprecate-align-value' into 'main'
Matthias Clasen [Tue, 9 May 2023 20:53:59 +0000 (20:53 +0000)]
Merge branch 'deprecate-align-value' into 'main'

Deprecate GTK_ALIGN_BASELINE

See merge request GNOME/gtk!5946

2 years agoUpdate tests
Matthias Clasen [Tue, 9 May 2023 20:30:37 +0000 (16:30 -0400)]
Update tests

2 years agoDeprecate GTK_ALIGN_BASELINE
Matthias Clasen [Tue, 9 May 2023 17:08:34 +0000 (13:08 -0400)]
Deprecate GTK_ALIGN_BASELINE

We can deprecated enum values now.

2 years agoUse GTK_ALIGN_BASELINE_FILL
Matthias Clasen [Tue, 9 May 2023 17:08:08 +0000 (13:08 -0400)]
Use GTK_ALIGN_BASELINE_FILL

Replace GTK_ALIGN_BASELINE with its new name
everywhere.

2 years agoMerge branch 'wip/ebassi/gen-version-macros' into 'main'
Matthias Clasen [Tue, 9 May 2023 18:23:40 +0000 (18:23 +0000)]
Merge branch 'wip/ebassi/gen-version-macros' into 'main'

Generate version and deprecation macros at build time

See merge request GNOME/gtk!5945

2 years agobuild: Internal tests must set GTK_COMPILATION
Emmanuele Bassi [Tue, 9 May 2023 18:01:21 +0000 (19:01 +0100)]
build: Internal tests must set GTK_COMPILATION

Otherwise they won't be able to use the appropriate function visibility
on Windows.

2 years agoMinimize the amount of inclusions in public headers
Emmanuele Bassi [Tue, 9 May 2023 16:02:09 +0000 (17:02 +0100)]
Minimize the amount of inclusions in public headers

Public headers should mainly include gdktypes.h, which already include
the symbol visibility and versioning macros; we can also modify
gdktypes.h to include the enumerations.

2 years agoMerge branch 'wip/otte/sections' into 'main'
Matthias Clasen [Tue, 9 May 2023 16:36:55 +0000 (16:36 +0000)]
Merge branch 'wip/otte/sections' into 'main'

Add GtkSectionModel

See merge request GNOME/gtk!5818

2 years agoUse #pragma once
Matthias Clasen [Tue, 9 May 2023 15:17:26 +0000 (11:17 -0400)]
Use #pragma once

We switched over to using #pragma once, so lets
use it consistently, in generated headers as well.

2 years agoDrop the gdk/gdkversionmacros.h header
Matthias Clasen [Tue, 9 May 2023 15:16:31 +0000 (11:16 -0400)]
Drop the gdk/gdkversionmacros.h header

It was just added to avoid touching too many files.
Touching them now.

2 years agodemos: Drop symbol visibility macros from demo types
Emmanuele Bassi [Tue, 9 May 2023 14:31:27 +0000 (15:31 +0100)]
demos: Drop symbol visibility macros from demo types

Since the corresponding source files do not include "config.h", and are
not compiled with `GTK_COMPILATION`, they will generate the wrong symbol
exporting under Windows.

2 years agobuild: Minor style nitpicks
Emmanuele Bassi [Tue, 9 May 2023 12:13:44 +0000 (13:13 +0100)]
build: Minor style nitpicks

2 years agobuild: Use Meson's gnu_symbol_visibility
Emmanuele Bassi [Tue, 9 May 2023 12:13:00 +0000 (13:13 +0100)]
build: Use Meson's gnu_symbol_visibility

Instead of injecting `-fvisibility=hidden` depending on a compiler check
ourselves, let Meson do it for us.

This also avoids us having to filter `-fvisibility=hidden` when reusing
the common compiler flags.

2 years agoAdd a missing file
Matthias Clasen [Mon, 8 May 2023 20:03:16 +0000 (16:03 -0400)]
Add a missing file

2 years agoFix install location
Matthias Clasen [Mon, 8 May 2023 19:59:41 +0000 (15:59 -0400)]
Fix install location

2 years agoUse GTK_COMPILATION throughout
Matthias Clasen [Mon, 8 May 2023 19:53:42 +0000 (15:53 -0400)]
Use GTK_COMPILATION throughout

It is a bit ugly that it doesn't fit the neat
namespace schema, but it is what we use everywhere.

2 years agoDon't excessively define GDK_EXTERN
Matthias Clasen [Mon, 8 May 2023 19:53:27 +0000 (15:53 -0400)]
Don't excessively define GDK_EXTERN

Once is enough.

2 years agoMake it build
Matthias Clasen [Mon, 8 May 2023 19:43:08 +0000 (15:43 -0400)]
Make it build

Fix the circular dependency by moving the generated
headers to gdk/version/, and build that directory
first.

Misc other fixes, such as putting the custom targets
as sources, not depedencies, and using the correct
major version in the generator script.