pkgsrc-WIP-changes archive

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

ladybird-git: builds again, and shows more of github.com (on NetBSD) than ever before



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

Modified Files:
	ladybird-git/PLIST
	ladybird-git/TODO
	ladybird-git/distinfo
Added Files:
	ladybird-git/patches/patch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h

Log Message:
ladybird-git: builds again, and shows more of github.com (on NetBSD) than ever before

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

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

diffstat:
 ladybird-git/PLIST                                       | 15 ++++++++++++---
 ladybird-git/TODO                                        | 13 +------------
 ladybird-git/distinfo                                    |  1 +
 ...ch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h | 16 ++++++++++++++++
 4 files changed, 30 insertions(+), 15 deletions(-)

diffs:
diff --git a/ladybird-git/PLIST b/ladybird-git/PLIST
index 064ec84b2a..9b621cee3e 100644
--- a/ladybird-git/PLIST
+++ b/ladybird-git/PLIST
@@ -30,9 +30,6 @@ lib/liblagom-gemini.so.${PKGVERSION}
 lib/liblagom-gfx.so
 lib/liblagom-gfx.so.0
 lib/liblagom-gfx.so.${PKGVERSION}
-lib/liblagom-gui.so
-lib/liblagom-gui.so.0
-lib/liblagom-gui.so.${PKGVERSION}
 lib/liblagom-http.so
 lib/liblagom-http.so.0
 lib/liblagom-http.so.${PKGVERSION}
@@ -249,6 +246,7 @@ share/Lagom/emoji/U+1F1E8_U+1F1F2.png
 share/Lagom/emoji/U+1F1E8_U+1F1F3.png
 share/Lagom/emoji/U+1F1E8_U+1F1F4.png
 share/Lagom/emoji/U+1F1E8_U+1F1F5.png
+share/Lagom/emoji/U+1F1E8_U+1F1F6.png
 share/Lagom/emoji/U+1F1E8_U+1F1F7.png
 share/Lagom/emoji/U+1F1E8_U+1F1FA.png
 share/Lagom/emoji/U+1F1E8_U+1F1FB.png
@@ -1604,6 +1602,9 @@ share/Lagom/emoji/U+1F939.png
 share/Lagom/emoji/U+1F939_U+200D_U+2640.png
 share/Lagom/emoji/U+1F939_U+200D_U+2642.png
 share/Lagom/emoji/U+1F93A.png
+share/Lagom/emoji/U+1F93D.png
+share/Lagom/emoji/U+1F93D_U+200D_U+2640.png
+share/Lagom/emoji/U+1F93D_U+200D_U+2642.png
 share/Lagom/emoji/U+1F93E.png
 share/Lagom/emoji/U+1F93E_U+200D_U+2640.png
 share/Lagom/emoji/U+1F93E_U+200D_U+2642.png
@@ -1706,6 +1707,7 @@ share/Lagom/emoji/U+1F9A4.png
 share/Lagom/emoji/U+1F9A5.png
 share/Lagom/emoji/U+1F9A6.png
 share/Lagom/emoji/U+1F9A7.png
+share/Lagom/emoji/U+1F9A8.png
 share/Lagom/emoji/U+1F9A9.png
 share/Lagom/emoji/U+1F9AA.png
 share/Lagom/emoji/U+1F9AB.png
@@ -1845,6 +1847,8 @@ share/Lagom/emoji/U+1FA84.png
 share/Lagom/emoji/U+1FA85.png
 share/Lagom/emoji/U+1FA87.png
 share/Lagom/emoji/U+1FA88.png
+share/Lagom/emoji/U+1FA89.png
+share/Lagom/emoji/U+1FA8F.png
 share/Lagom/emoji/U+1FA90.png
 share/Lagom/emoji/U+1FA91.png
 share/Lagom/emoji/U+1FA92.png
@@ -1890,6 +1894,7 @@ share/Lagom/emoji/U+1FABA.png
 share/Lagom/emoji/U+1FABB.png
 share/Lagom/emoji/U+1FABC.png
 share/Lagom/emoji/U+1FABD.png
+share/Lagom/emoji/U+1FABE.png
 share/Lagom/emoji/U+1FABF.png
 share/Lagom/emoji/U+1FAC0.png
 share/Lagom/emoji/U+1FAC1.png
@@ -1897,6 +1902,7 @@ share/Lagom/emoji/U+1FAC2.png
 share/Lagom/emoji/U+1FAC3.png
 share/Lagom/emoji/U+1FAC4.png
 share/Lagom/emoji/U+1FAC5.png
+share/Lagom/emoji/U+1FAC6.png
 share/Lagom/emoji/U+1FACE.png
 share/Lagom/emoji/U+1FACF.png
 share/Lagom/emoji/U+1FAD0.png
@@ -1911,6 +1917,8 @@ share/Lagom/emoji/U+1FAD8.png
 share/Lagom/emoji/U+1FAD9.png
 share/Lagom/emoji/U+1FADA.png
 share/Lagom/emoji/U+1FADB.png
+share/Lagom/emoji/U+1FADC.png
+share/Lagom/emoji/U+1FADF.png
 share/Lagom/emoji/U+1FAE0.png
 share/Lagom/emoji/U+1FAE1.png
 share/Lagom/emoji/U+1FAE2.png
@@ -1920,6 +1928,7 @@ share/Lagom/emoji/U+1FAE5.png
 share/Lagom/emoji/U+1FAE6.png
 share/Lagom/emoji/U+1FAE7.png
 share/Lagom/emoji/U+1FAE8.png
+share/Lagom/emoji/U+1FAE9.png
 share/Lagom/emoji/U+1FAF0.png
 share/Lagom/emoji/U+1FAF1.png
 share/Lagom/emoji/U+1FAF2.png
diff --git a/ladybird-git/TODO b/ladybird-git/TODO
index 6535dce8e0..14c4de5a70 100644
--- a/ladybird-git/TODO
+++ b/ladybird-git/TODO
@@ -12,17 +12,6 @@ Downloads files during build:
 -- Downloading file public_suffix_list.dat from https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat
 -- Downloading file commonmark.spec.json from https://spec.commonmark.org/0.30/spec.json
 
-Currently doesn't build with:
-
-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
-
-Core dumps when visiting any websites.
+Sometimes core dumps problems when visiting web pages.
 Reported at
 https://github.com/SerenityOS/serenity/issues/23375
diff --git a/ladybird-git/distinfo b/ladybird-git/distinfo
index afc76512f4..1777dd4682 100644
--- a/ladybird-git/distinfo
+++ b/ladybird-git/distinfo
@@ -1,2 +1,3 @@
 $NetBSD$
 
+SHA1 (patch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h) = f7ed5a136558d68cd853c10f5b69fc14ebc852ec
diff --git a/ladybird-git/patches/patch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h b/ladybird-git/patches/patch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h
new file mode 100644
index 0000000000..c36a7b157e
--- /dev/null
+++ b/ladybird-git/patches/patch-Userland_Libraries_LibGfx_EdgeFlagPathRasterizer.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+popcount conflict on NetBSD.
+https://github.com/SerenityOS/serenity/issues/23375
+
+--- Userland/Libraries/LibGfx/EdgeFlagPathRasterizer.h.orig	2024-06-06 21:18:50.814506936 +0000
++++ Userland/Libraries/LibGfx/EdgeFlagPathRasterizer.h
+@@ -21,7 +21,7 @@ namespace Detail {
+ static auto constexpr coverage_lut = [] {
+     Array<u8, 256> coverage_lut {};
+     for (u32 sample = 0; sample <= 255; sample++)
+-        coverage_lut[sample] = popcount(sample);
++        coverage_lut[sample] = AK::popcount(sample);
+     return coverage_lut;
+ }();
+ 


Home | Main Index | Thread Index | Old Index