summaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAgeFilesLines
* build: Rename another optionMatthias Clasen2023-05-094-4/+4
|
* Use GTK_COMPILATION throughoutMatthias Clasen2023-05-091-1/+1
| | | | | It is a bit ugly that it doesn't fit the neat namespace schema, but it is what we use everywhere.
* Make it buildMatthias Clasen2023-05-091-1/+1
| | | | | | | | | | 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.
* Generate version and deprecation macros at build timeEmmanuele Bassi2023-05-091-0/+201
| | | | | | | | | | | Let's poach the same script used by GLib to avoid having to add all the version macros by hand every time we increment the GTK version. This is a work in progress: - need to rename the GLIB_STATIC_COMPILATION check - circular dependency: libgtkcss depends on gdkversionmacros.h, but libgdk depends on libgtkcss
* meson: Remove post-install scriptXavier Claessens2022-09-281-45/+0
| | | | GTK depends on Meson >= 0.60 so it was never used.
* flatpak: add a NodeEditor demoJordan Petridis2022-07-251-0/+138
|
* flatpak: Bump boost to 1.79Corey Berla2022-07-111-2/+2
|
* flatpak: Remove benchmarks build option for grapheneCorey Berla2022-07-113-6/+3
| | | | | benchmarks was removed in https://github.com/ebassi/graphene/commit/419edb99f0a314f51157b04d645cd24a959598d2
* flatpak: Change option enable_vulkan=no to vulkan=disabledCorey Berla2022-07-113-3/+3
| | | | Syntax was modified in c4d350c260879c11ea94641ac820b331aeaccc7c
* flatpak: Use "main" branch for waylandEmmanuele Bassi2022-01-283-3/+6
| | | | | The default branch for wayland has changed, but the "master" branch is still available with an older version.
* post install: query media modulesLuca Bacci2022-01-141-4/+4
|
* Update references to master in the repositoryMatthias Clasen2021-11-293-3/+6
|
* flatpak: Add pango to manifestMatthias Clasen2021-11-093-0/+45
| | | | | | We have a tight coupling with pango, whenever new pango API appears, our build usually breaks. So just make our flatpak manifests build pango from git.
* gen-demo-header.py: Fix running without gitChun-wei Fan2021-05-181-8/+13
| | | | | | | | | | | The script assumes that the git program is in the PATH which may not be always the case, so if git was not found, fallback to the former behavior of making VCS_TAG an empty string if the profile option was not set to 'devel'. Also fix the call to the script so that we do indeed call GIT on the source GIT repo so that we can get the right short SHA1 sum. Re-organize the code a bit in the process, so that things seem cleaner.
* build: Check CI envvars before rev-parseEmmanuele Bassi2021-05-171-0/+21
| | | | | | | | | The CI pipeline does not do a full clone, so we cannot use `git rev-parse` to get the short SHA checksum for the current commit. Of course, since nothing's ever easy, we cannot use vcs_tag() with a custom command, so we need to generate our out `demo_conf.h` header straight from a script.
* Update the URL for the Boost archiveEmmanuele Bassi2021-05-131-1/+1
| | | | | | The old URL seems to have failed, and now it returns 301. Use the URL from the Boost website.
* Fix dist script for theme reorgMatthias Clasen2021-05-031-4/+4
|
* flatpak: Include highlight in gtk4-demo flatpakflatpak-highlightMatthias Clasen2021-04-122-0/+114
| | | | | | Include the highlight utility to make syntax highlighting work in gtk4-demo. This requires building its dependencies as well, boost and lua.
* build: Dist the API referencesEmmanuele Bassi2021-03-302-19/+39
| | | | | Copy them into the dist root from the build root, so that they will be available in the release archive.
* Revert "flatpak: No need to build sassc anymore"Matthias Clasen2021-03-063-0/+90
| | | | This reverts commit 9a540841fd5c18394456a3dfcfde721a69ed4724.
* flatpak: Fix the gtk4-demo buildMatthias Clasen2021-03-051-2/+2
| | | | This was overlooked in 8e7e821033abb291391c26aa288a8.
* Flatpak: Update build manifestsJakub Steiner2021-03-053-10/+7
| | | | | | - point to the upstream repo for wayland - disable disabling of sassc - switch wayland from autotools to meson
* flatpak: Try harder to disable sasscflatpak-tweaksMatthias Clasen2021-02-123-0/+3
|
* Add devel styling to nightly flatpaksMatthias Clasen2021-02-123-3/+6
| | | | | Pass -Dprofile=devel to the gtk build for our nightly flatpaks, so they pick up devel styling.
* flatpak: No need to build sassc anymoreMatthias Clasen2021-02-113-90/+0
| | | | | We should be able to do a gtk build without rebuilding css nowadays.
* dist: Fix css theme disting after HighContrast-dark changeswip/kalev/dist-HighContrast-darkKalev Lember2021-01-191-1/+1
| | | | | Commit f60d245e327a760a188e8b5a40844f5fe092df43 renamed it from HighContrast-inverse.css to HighContrast-dark.css.
* dist: Add a dist script to generate cssMatthias Clasen2021-01-121-0/+19
| | | | | | When I added the sassc option, I failed to ensure that the theme css is included in the tarballs. This is required to make tarball builds with -Dsassc=disabled work.
* Call the newly installed gtk4-update-icon-cacheebassi/issue-3495Emmanuele Bassi2020-12-201-23/+25
| | | | Otherwise we rely on whatever it's inside the PATH.
* flatpak: builder optionsJakub Steiner2020-08-133-66/+102
| | | | - avoid vulkan from crashing the inspector
* Adwaita: sidebar color for file pickerJakub Steiner2020-07-131-31/+45
| | | | | | - avoid using the selected blue for the sidebar Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1586
* build-aux: fallback to default glib-compile-schemas & gio-querymodules.Jehan2020-06-281-0/+6
| | | | | | The pkg-config variables have been added in GLib 2.62.0. Let's fallback to default names for these tools in such case (`pkg-config` still returns a 0 return value, but with empty output for absent variables).
* build-aux: search various Glib/GIO utilities in .pc file.Jehan2020-06-281-3/+9
| | | | | | | Some distributions are renaming Glib/GIO utilities for multi-arch reasons so pkg-config variables have been added to find the correct name of a tool. GTK+ should use these variables instead of searching in PATH. See glib#1796.
* flatpak: Build against the master runtimeMatthias Clasen2020-02-071-1/+1
| | | | | This is what the ci is set up to use, and building against 3.34 fails there.
* Build sassc as a dependency for flatpaksMatthias Clasen2020-02-063-1/+91
| | | | | | | Downloading the subproject during the GTK build fails in a flatpak build due to lack of network access. flatpak-builder insists on having these things explicitly spelled out as dependencies.
* Add a flatpak manifest for org.gtk.IconBrowser4Matthias Clasen2019-04-021-0/+72
| | | | And build it in ci.
* flatpaks: Drop dconf permissionsMatthias Clasen2019-04-022-6/+4
| | | | | | | | We are building against the 3.32 sdk, which has a new-enough glib to default to the keyfile settings backend. Also, use fallback-x11, so we prefer Wayland.
* widget-factory: Rename to org.gtk.WidgetFactory4Matthias Clasen2019-04-021-1/+1
|
* gtk-demo: Rename to org.gtk.Demo4Matthias Clasen2019-04-021-1/+1
|
* post-install: Use gtk4-update-icon-cacheMatthias Clasen2019-04-021-1/+1
| | | | | | I was building GTK in a minimal container without GTK3 installed, and this caused install to fail. We should use the tool that we just installed.
* build: use condense the mkdir calls to onelinersJordan Petridis2019-02-271-4/+2
|
* build: no need to replace path separatorsJordan Petridis2019-02-271-2/+2
| | | | Python APIs accept both `\` and `/` as path separators.
* build: Use python3 for the post install scriptJordan Petridis2019-02-271-1/+1
| | | | | | | | | While *some* systems alias python to python3 nowdays, this is not true for eveything. Especially systems that can potentially offer both python2 and python3. According to both PEP 394 and PEP 441 its recommended to always add the 3 in the shebang.
* Merge branch 'wip/fanc999/meson.msvc' into 'master'Chun-wei Fan2019-02-232-26/+33
|\ | | | | | | | | GTK+ 4: Improve Windows/Visual Studio build experience See merge request GNOME/gtk!185
| * build: Make post-install script a Python scriptChun-wei Fan2018-12-062-26/+33
| | | | | | | | | | | | | | | | | | | | The existing post-install shell script will most likely not work on Visual Studio builds as there is normally no shell interpreter installed on the system where the build is done, but the build is normally done in a standard Windows cmd.exe console. Instead, use a Python script so that it will work on the platforms that Python supports.
* | flatpak: Stop renaming iconsMatthias Clasen2019-02-092-2/+0
|/ | | | | | | We are now installing properly named icons, no need to rename anymore. This was causing ci to fail.
* demos: Make desktop file names match the application idGuido Günther2018-08-022-2/+0
|
* ci: Disable tests when building GrapheneEmmanuele Bassi2018-05-082-2/+6
| | | | | | | | Our flatpak-builder manifests include building Graphene from Git; since we're building the GTK demos, it's pointless to build the Graphene tests as well. Disabling tests and benchmarks avoids pointless installations inside the Flatpak build repo that will just be removed by the time we bundle the demo.
* flatpak: Bundle wayland for nowMatthias Clasen2018-04-152-0/+28
| | | | | We need a newer wayland than is available in the runtime currently, so use the power of flatpak and bundle it.
* Add flatpak builder manifests for our demosEmmanuele Bassi2018-03-202-0/+118
| | | | | We can use manifests as targets when building GTK inside a flatpak environment; or we can use them for CI purposes.
* Use gio-querymodulesMatthias Clasen2018-03-061-0/+8
| | | | | | | GIO has this facility, so we should use it. At the same time, make sure the immodules directory exists, even if we don't install any modules there outselves.