Skip to content

qgis: update to 4.0.2; New package: libblend2d-devel-0.21.2#60786

Open
nezos wants to merge 3 commits into
void-linux:masterfrom
nezos:master
Open

qgis: update to 4.0.2; New package: libblend2d-devel-0.21.2#60786
nezos wants to merge 3 commits into
void-linux:masterfrom
nezos:master

Conversation

@nezos
Copy link
Copy Markdown
Contributor

@nezos nezos commented May 27, 2026

Testing the changes

  • I tested the changes in this PR: YES

New package (libblend2d-devel)

Local build testing

  • I built this PR locally for my native architecture: x86_64-glibc

Note: Fixes also incompatibility problems installing plugins due to qt6 build of the latest 3.x version.
Note2: blend2d was introduced as it is required for building qgis

@ar-jan if you want to review it also, thanks.

@nezos
Copy link
Copy Markdown
Contributor Author

nezos commented May 28, 2026

Dropped support for 32bit. There is no package for qt6-webengine in 32bit plus since 2020 it was announced that moving to qt6, 32bit will no longer be supported:
https://blog.qgis.org/2020/10/15/phasing-out-32-bit-support-in-qgis/

Comment thread srcpkgs/qgis/template
@@ -0,0 +1,13 @@
# Template file for 'libblend2d-devel'
pkgname=libblend2d-devel
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be called libblend2d and have a -devel subpackage. Look at other library packages for examples. You'll also need an entry in common/shlibs.

Copy link
Copy Markdown
Contributor Author

@nezos nezos May 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahesford I named the package this way cause I considered it only for development. The package contains header files, cmake files and a static library, i.e.:

/usr/include/blend2d/blend2d-debug.h
/usr/include/blend2d/blend2d-impl.h
/usr/include/blend2d/blend2d.h
/usr/include/blend2d/core/api-impl.h
/usr/include/blend2d/core/api.h
/usr/include/blend2d/core/array.h
/usr/include/blend2d/core/bitarray.h
/usr/include/blend2d/core/bitset.h
/usr/include/blend2d/core/context.h
/usr/include/blend2d/core/filesystem.h
/usr/include/blend2d/core/font.h
/usr/include/blend2d/core/fontdata.h
/usr/include/blend2d/core/fontdefs.h
/usr/include/blend2d/core/fontface.h
/usr/include/blend2d/core/fontfeaturesettings.h
/usr/include/blend2d/core/fontmanager.h
/usr/include/blend2d/core/fontvariationsettings.h
/usr/include/blend2d/core/format.h
/usr/include/blend2d/core/geometry.h
/usr/include/blend2d/core/glyphbuffer.h
/usr/include/blend2d/core/glyphrun.h
/usr/include/blend2d/core/gradient.h
/usr/include/blend2d/core/image.h
/usr/include/blend2d/core/imagecodec.h
/usr/include/blend2d/core/imagedecoder.h
/usr/include/blend2d/core/imageencoder.h
/usr/include/blend2d/core/matrix.h
/usr/include/blend2d/core/object.h
/usr/include/blend2d/core/path.h
/usr/include/blend2d/core/pattern.h
/usr/include/blend2d/core/pixelconverter.h
/usr/include/blend2d/core/random.h
/usr/include/blend2d/core/rgba.h
/usr/include/blend2d/core/runtime.h
/usr/include/blend2d/core/runtimescope.h
/usr/include/blend2d/core/string.h
/usr/include/blend2d/core/var.h
/usr/lib/cmake/blend2d/blend2d-config.cmake
/usr/lib/cmake/blend2d/blend2d-targets-none.cmake
/usr/lib/cmake/blend2d/blend2d-targets.cmake
/usr/lib/libblend2d.a

Should I change it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not be building only static libraries. Either build only the shared library or both.

Comment thread srcpkgs/libblend2d-devel/template
Comment thread srcpkgs/libblend2d-devel/template
Copy link
Copy Markdown
Contributor

@ar-jan ar-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the update! I hadn't gotten around to adding libblend2d yet. You can also update it to 4.0.3 now.

Comment thread srcpkgs/qgis/template
pkgname=qgis
version=3.44.4
revision=4
version=4.0.2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0.3 was just released

Comment thread srcpkgs/qgis/template
version=3.44.4
revision=4
version=4.0.2
revision=1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can add archs="~i686*" here as ahesford indicated (with a comment mentioning why)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have more 32-bit architectures than i686.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have nocross, I was about to set:
archs="x86_64"
wouldn't this be correct?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems the most readable version to me (though x86_64* for including musl)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. We'll need to determine whether it can be built natively on aarch64.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another option to preserve original intent would be to mark the template broken when $XBPS_TARGET_WORDSIZE is 32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants