pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ladybird-git: some progress, still not building



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Jun 6 23:03:31 2024 +0200
Changeset:	53a6d7f5945a12333c15991130d549b414c54652

Modified Files:
	ladybird-git/Makefile
	ladybird-git/TODO

Log Message:
ladybird-git: some progress, still not building

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=53a6d7f5945a12333c15991130d549b414c54652

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ladybird-git/Makefile |  2 +-
 ladybird-git/TODO     | 13 +++++--------
 2 files changed, 6 insertions(+), 9 deletions(-)

diffs:
diff --git a/ladybird-git/Makefile b/ladybird-git/Makefile
index 417e619d48..288d7fa397 100644
--- a/ladybird-git/Makefile
+++ b/ladybird-git/Makefile
@@ -13,7 +13,7 @@ TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
 
 USE_LANGUAGES=		c c++
 USE_CXX_FEATURES+=	c++20
-GCC_REQD+=		12
+GCC_REQD+=		13
 
 CMAKE_ARGS+=		-S Ladybird
 # build broken with make
diff --git a/ladybird-git/TODO b/ladybird-git/TODO
index 81b6cb66a6..6535dce8e0 100644
--- a/ladybird-git/TODO
+++ b/ladybird-git/TODO
@@ -14,14 +14,11 @@ Downloads files during build:
 
 Currently doesn't build with:
 
-In file included from /scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/SystemTheme.h:17,
-                 from /scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/Palette.h:15,
-                 from /scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibSyntax/Highlighter.h:11,
-                 from /scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibSyntax/Language.cpp:9:
-/scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/Color.h: In member function 'constexpr u8 Gfx::Color::luminosity() const':
-/scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/Color.h:321:28: error: call to non-'constexpr' function 'I AK::Rounding::round_to(float) [with I = unsigned char]'
-  321 |         return round_to<u8>(red() * 0.2126f + green() * 0.7152f + blue() * 0.0722f);
-      |                ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+In file included from /scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/EdgeFlagPathRasterizer.cpp:12:
+/scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/EdgeFlagPathRasterizer.h:26:2:   in 'constexpr' expansion of '<lambda closure object>Gfx::Detail::<lambda()>().Gfx::Detail::<lambda()>()'
+/scratch/wip/ladybird-git/work/serenity/Userland/Libraries/LibGfx/EdgeFlagPathRasterizer.h:24:40: error: call to non-'constexpr' function 'unsigned int popcount(unsigned int)'
+   24 |         coverage_lut[sample] = popcount(sample);
+      |                                ~~~~~~~~^~~~~~~~
 
 Reported here:
 https://github.com/SerenityOS/serenity/issues/23375


Home | Main Index | Thread Index | Old Index