Skip to content

[asutils] build dummy library when asimage not build - #23857

Open
linev wants to merge 4 commits into
root-project:masterfrom
linev:asutils_backup
Open

linev wants to merge 4 commits into
root-project:masterfrom
linev:asutils_backup

Conversation

@linev

@linev linev commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

When asimage disabled just build dummy library
It will does nothing and will not try to link with libAfterImage

Avoid complex workaround in different places where ASUtils are used now.
Also better shows places where asimage is really required

@linev linev added this to the 6.42.00 milestone Oct 27, 2026
@linev linev self-assigned this Oct 27, 2026
Comment thread graf2d/padpainter/src/TPadPainter.cxx
linev added 2 commits October 27, 2026 11:33
When asimage disabled just build dummy library
It will does nothing and will not try to link with libAfterImage

Avoid complex workaround in different places where ASUtils are used now.
Also better shows places where asimage is really required
No need for special workarounds when asimage is disabled - now it is done in the asutils intself
@linev linev added the clean build Ask CI to do non-incremental build on PR label Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Test Results

    2 files      2 suites   5h 4m 20s ⏱️
2 638 tests 2 638 ✅ 0 💤 0 ❌
4 961 runs  4 961 ✅ 0 💤 0 ❌

Results for commit 64dc376.

♻️ This comment has been updated with latest results.

Add optional mask argument
It can be used by TASUtils::FromPixmap method
It also resolves Windows problem where invocation of
bitmap2asimage from ASUtils fails.

@bellenot bellenot left a comment

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.

I confirm this fixes the issue on Windows, so good for me, after addressing the other review comments and once the builds are green

@dpiparo dpiparo modified the milestones: 6.42.00, 6.42.00-rc1 Oct 28, 2026
@linev linev closed this Oct 28, 2026
@linev linev reopened this Oct 28, 2026
Configure gui library after ASImageUtils
Add NO_GLOB_HEADERS to avoid multiple rules for same headers

This branch has not been deployed

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

Labels

clean build Ask CI to do non-incremental build on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants