Code Monkey home page Code Monkey logo

Comments (12)

doadin avatar doadin commented on August 17, 2024 1

@danyeaw sure.

from gvsbuild.

doadin avatar doadin commented on August 17, 2024

https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/commit/ae6966167b93c28abc4435a6904671ebba67b9b0 seems to add gtk4 as a requirment to meson.build

from gvsbuild.

danyeaw avatar danyeaw commented on August 17, 2024

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.

doadin avatar doadin commented on August 17, 2024

@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.

danyeaw avatar danyeaw commented on August 17, 2024

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.

doadin avatar doadin commented on August 17, 2024

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.

doadin avatar doadin commented on August 17, 2024

@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.

doadin avatar doadin commented on August 17, 2024

@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.

doadin avatar doadin commented on August 17, 2024

@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.

danyeaw avatar danyeaw commented on August 17, 2024

Ok great, do you want to please submit a PR?

from gvsbuild.

doadin avatar doadin commented on August 17, 2024

@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.

danyeaw avatar danyeaw commented on August 17, 2024

Closed by #1301.

from gvsbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.