Skip to content

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

Merged
dpiparo merged 4 commits into
root-project:masterfrom
linev:asutils_backup
Oct 28, 2026
Merged

dpiparo merged 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

    24 files      24 suites   4d 2h 14m 8s ⏱️
 3 898 tests  3 898 ✅ 0 💤 0 ❌
83 482 runs  83 482 ✅ 0 💤 0 ❌

Results for commit 4eadfe5.

♻️ 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
@dpiparo
dpiparo merged commit e8c9600 into root-project:master Oct 28, 2026
35 of 36 checks passed
@linev
linev deleted the asutils_backup branch October 29, 2026 06:16
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