Comments (12)
@danyeaw sure.
from gvsbuild.
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/commit/ae6966167b93c28abc4435a6904671ebba67b9b0 seems to add gtk4 as a requirment to meson.build
from gvsbuild.
Hi @doadin, thanks for the issue report. Adwaita-icon-theme supports both gtk-update-icon-cache and gtk4-update-icon-cache, so it should still support GTK3.
What command are you using, what version of Gvsbuild do you have and how did you install it, and can you provide the larger portion of the build log where you got the failure? Thanks!
from gvsbuild.
@danyeaw https://github.com/doadin/gvsbuild-release/blob/main/.github/workflows/release.yml is the workflow file so you can see the whole process.
- name: Build run: > gvsbuild build --platform=${{ matrix.arch }} --vs-ver=${{ matrix.vstudio }} --enable-gi --py-wheel gtk3 pygobject lz4 enchant
https://github.com/doadin/gvsbuild-release/actions/runs/8443289392/job/23126574349
that is the step used to run the build. Everything else seems to build fine other than pycairo, with the same messon issue with python I reported here like 6 months ago. I just reported the issue to them have not got a responce yet. ( I mention this because thats what the "# Delete unused python versions to avoid meson issue in cairo." is for in the workflow file. Thoughh this did not help that issue either. That being said one issue at a time.
from gvsbuild.
Hi @doadin, I updated our official CI build to also build pygobject with GTK3 at #1299 and it builds fine. Some differences I noticed from our build:
1, Starting with Gvsbuild 2024.2.0, moving the Git bin folder out of the way is no longer required
2. We are passing the -j2 option, since we have seen GitHub Action runners run out of memory
3. We are using VS version 17, and not passing in the --vs-ver
4. We aren't getting the cairo meson errors causing you to have to delete other Python versions
from gvsbuild.
ok, I am running a new build now to test I adjusted for
1
2
3 im assuming it defaults to vs17 if you dont specify --vs-ver?, for this test I only removed that arg
4 still have it deleting python for now as it should not hurt, as they should be unused anyways. but if I still have issue I will remove or if it works I will try and remove for testing.
The only other difference I saw was use of poetry, I wouldnt think that should cause errors though?
from gvsbuild.
@danyeaw ok that test did not get far, it errored :
"Run gvsbuild build --platform=x86 --ninja-opts -j2 --enable-gi --py-wheel gtk3 pygobject lz4 enchant
Build type is debug-optimized
Cleaning up the build environment
Checking msys tool
Using C:\msys64 for msys installation
Checking Msvc tool
Visual Studio installation(s) found:
Visual Studio Enterprise 2019 @ C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise
Error: Unable to find Visual Studio, try using --vs-ver or --vs-install-path to
specify Visual Studio version or install location"
Visual Studio installation(s) found .....proceded by Unable to find Visual Studio, seems it can't mkae up its mind.
Edit: I think Visual Studio Enterprise 2019 is vsver 16? maybe you are using runner windows-2022 I think that has Visual Studio Enterprise 2022 on it which is 17-19 compatible?
Edit2: Visual Studio Enterprise 2022 is version 17.9.34701.34
from gvsbuild.
@danyeaw still same error after changing runner to windows-2022 to get vs 17.
https://github.com/doadin/gvsbuild-release/actions/runs/8461761735/workflow
x64 build works fine because meson "finds" x86_64" but 32-bit build fails.
I also tried changing to using poetry but still x86 messeon error.
https://github.com/doadin/gvsbuild-release/actions/runs/8462399966
https://github.com/doadin/gvsbuild-release/actions/runs/8462399966/workflow
from gvsbuild.
@danyeaw so, I was able to I guess workaround the issue by using the same method as other projects( meson_params="-Dpython=%s\python.exe -Dcairo_libname=cairo-gobject-2.dll") and specifying the meson python param, doadin@5e241a4
after that commit
gvsbuild build --platform=x64 --ninja-opts -j2 --enable-gi --py-wheel gtk3 pygobject lz4 enchant is successful
I have not tested Adwaita-icon-theme yet.
Edit: Adwaita-icon-theme worked now too.
from gvsbuild.
Ok great, do you want to please submit a PR?
from gvsbuild.
@danyeaw looks like gtk3 and 4 both built in the PR so no regression in adding this change even for your builds so thats nice!
from gvsbuild.
Closed by #1301.
from gvsbuild.
Related Issues (20)
- SVG icons are not rendered in GTK4 app HOT 12
- Add librsvg to gtk4 dependencies HOT 4
- Error while building Glib HOT 1
- OpenSSL is Shown as Outdated
- 'python3.EXE is not a valid python or it is missing distutils' error when installing PyGObject HOT 7
- Can't run `gvsbuild build gtk4` HOT 2
- It says `pkg-config` is not installed? HOT 1
- Install gvsbuild error HOT 3
- gtk4 build failed HOT 1
- `gvsbuild build libadwaita --enable-gi` does not create Adw*.typelib / Unclear how to build Adw typelib HOT 2
- 2024.2.0 build fails on Windows 10 (runs out of memory) HOT 11
- CERTIFICATE_VERIFY_FAILED on Windows 11 HOT 1
- GTK App crashes with g_atomic_ref_count_dec: assertion 'old_value > 0' failed HOT 2
- nghttp2 update to version 1.60.0 fails
- Building GTK4 fails HOT 4
- GTK4 build fails HOT 2
- gobject-introspection fails without setuptools on Python 3.12
- Link to binaries HOT 1
- Include patch to fix pango font rendering HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvsbuild.