Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: www/ungoogled-chromium: fix hyphenation
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
Robert Nagy <robert@openbsd.org>, OpenBSD ports <ports@openbsd.org>
Date:
Fri, 15 May 2026 16:57:31 +0200

Download raw body.

Thread
On Fri May 15, 2026 at 04:54:10PM +0200, Kirill A. Korinsky wrote:
> Robert, ports@,
> 
> I'd like to fix hyphenation in www/ungoogled-chromium
> 
> It has a different way to support it, instead of downloading from google the
> database, it builds it during the build and the only things which needed
> is... install it!
> 
> Details: https://github.com/ungoogled-software/ungoogled-chromium/pull/3697
> 
> Test on: https://clagnut.com/sandbox/hyphenation.html
> 
> Ok?
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/www/ungoogled-chromium/Makefile,v
> diff -u -p -r1.229 Makefile
> --- Makefile	14 May 2026 10:21:26 -0000	1.229
> +++ Makefile	15 May 2026 08:37:27 -0000
> @@ -14,6 +14,7 @@ DPB_PROPERTIES+=	lonesome
>  COMMENT=		Chromium browser sans integration with Google
>  
>  V=			148.0.7778.167
> +REVISION=		0
>  UGV=			${V}-1
>  
>  DISTNAME=		ungoogled-chromium-${V}
> @@ -339,6 +340,10 @@ do-install:
>  .for f in snapshot_blob.bin v8_context_snapshot.bin
>  	${INSTALL_DATA} ${BUILDDIR}/${f} ${PREFIX}/${DIST_TARGET_DIR}
>  .endfor
> +
> +	# ungoogled-chromium builds hyphen-data as an artifact
> +	${INSTALL_DATA_DIR} ${PREFIX}/${DIST_TARGET_DIR}/hyphen-data
> +	${INSTALL_DATA} ${BUILDDIR}/hyphen-data/* ${PREFIX}/${DIST_TARGET_DIR}/hyphen-data
>  
>  	# ANGLE, EGL, Vk
>  .for f in libEGL libGLESv2
> Index: pkg/PLIST
> ===================================================================
> RCS file: /home/cvs/ports/www/ungoogled-chromium/pkg/PLIST,v
> diff -u -p -r1.12 PLIST
> --- pkg/PLIST	22 Jan 2026 17:30:08 -0000	1.12
> +++ pkg/PLIST	15 May 2026 14:40:36 -0000
> @@ -26,9 +26,9 @@ share/examples/ungoogled-chromium/unveil
>  share/examples/ungoogled-chromium/unveil.utility_video
>  @sample ${SYSCONFDIR}/ungoogled-chromium/unveil.utility_video
>  share/icons/hicolor/128x128/apps/ungoogled-chromium.png
> -share/icons/hicolor/22_monox22_mono/
> -share/icons/hicolor/22_monox22_mono/apps/
> -share/icons/hicolor/22_monox22_mono/apps/ungoogled-chromium.png
> +share/icons/hicolor/${MODCLANG_VERSION}_monox${MODCLANG_VERSION}_mono/
> +share/icons/hicolor/${MODCLANG_VERSION}_monox${MODCLANG_VERSION}_mono/apps/
> +share/icons/hicolor/${MODCLANG_VERSION}_monox${MODCLANG_VERSION}_mono/apps/ungoogled-chromium.png

${MODCLANG_VERSION} is wrong here otherwise it looks good.

>  share/icons/hicolor/24x24/apps/ungoogled-chromium.png
>  share/icons/hicolor/256x256/apps/ungoogled-chromium.png
>  share/icons/hicolor/48x48/apps/ungoogled-chromium.png
> @@ -39,6 +39,60 @@ ungoogled-chromium/
>  ungoogled-chromium/chrome_100_percent.pak
>  ungoogled-chromium/chrome_200_percent.pak
>  ungoogled-chromium/headless_command_resources.pak
> +ungoogled-chromium/hyphen-data/
> +ungoogled-chromium/hyphen-data/hyph-af.hyb
> +ungoogled-chromium/hyphen-data/hyph-as.hyb
> +ungoogled-chromium/hyphen-data/hyph-be.hyb
> +ungoogled-chromium/hyphen-data/hyph-bg.hyb
> +ungoogled-chromium/hyphen-data/hyph-bn.hyb
> +ungoogled-chromium/hyphen-data/hyph-cs.hyb
> +ungoogled-chromium/hyphen-data/hyph-cu.hyb
> +ungoogled-chromium/hyphen-data/hyph-cy.hyb
> +ungoogled-chromium/hyphen-data/hyph-da.hyb
> +ungoogled-chromium/hyphen-data/hyph-de-1901.hyb
> +ungoogled-chromium/hyphen-data/hyph-de-1996.hyb
> +ungoogled-chromium/hyphen-data/hyph-de-ch-1901.hyb
> +ungoogled-chromium/hyphen-data/hyph-el.hyb
> +ungoogled-chromium/hyphen-data/hyph-en-gb.hyb
> +ungoogled-chromium/hyphen-data/hyph-en-us.hyb
> +ungoogled-chromium/hyphen-data/hyph-es.hyb
> +ungoogled-chromium/hyphen-data/hyph-et.hyb
> +ungoogled-chromium/hyphen-data/hyph-eu.hyb
> +ungoogled-chromium/hyphen-data/hyph-fr.hyb
> +ungoogled-chromium/hyphen-data/hyph-ga.hyb
> +ungoogled-chromium/hyphen-data/hyph-gl.hyb
> +ungoogled-chromium/hyphen-data/hyph-gu.hyb
> +ungoogled-chromium/hyphen-data/hyph-hi.hyb
> +ungoogled-chromium/hyphen-data/hyph-hr.hyb
> +ungoogled-chromium/hyphen-data/hyph-hu.hyb
> +ungoogled-chromium/hyphen-data/hyph-hy.hyb
> +ungoogled-chromium/hyphen-data/hyph-it.hyb
> +ungoogled-chromium/hyphen-data/hyph-ka.hyb
> +ungoogled-chromium/hyphen-data/hyph-kn.hyb
> +ungoogled-chromium/hyphen-data/hyph-la.hyb
> +ungoogled-chromium/hyphen-data/hyph-lt.hyb
> +ungoogled-chromium/hyphen-data/hyph-lv.hyb
> +ungoogled-chromium/hyphen-data/hyph-ml.hyb
> +ungoogled-chromium/hyphen-data/hyph-mn-cyrl.hyb
> +ungoogled-chromium/hyphen-data/hyph-mr.hyb
> +ungoogled-chromium/hyphen-data/hyph-mul-ethi.hyb
> +ungoogled-chromium/hyphen-data/hyph-nb.hyb
> +ungoogled-chromium/hyphen-data/hyph-nl.hyb
> +ungoogled-chromium/hyphen-data/hyph-nn.hyb
> +ungoogled-chromium/hyphen-data/hyph-or.hyb
> +ungoogled-chromium/hyphen-data/hyph-pa.hyb
> +ungoogled-chromium/hyphen-data/hyph-pt.hyb
> +ungoogled-chromium/hyphen-data/hyph-ru.hyb
> +ungoogled-chromium/hyphen-data/hyph-sk.hyb
> +ungoogled-chromium/hyphen-data/hyph-sl.hyb
> +ungoogled-chromium/hyphen-data/hyph-sq.hyb
> +ungoogled-chromium/hyphen-data/hyph-sv.hyb
> +ungoogled-chromium/hyphen-data/hyph-ta.hyb
> +ungoogled-chromium/hyphen-data/hyph-te.hyb
> +ungoogled-chromium/hyphen-data/hyph-tk.hyb
> +ungoogled-chromium/hyphen-data/hyph-uk.hyb
> +ungoogled-chromium/hyphen-data/hyph-und-ethi.hyb
> +ungoogled-chromium/hyphen-data/manifest.json
>  @so ungoogled-chromium/libEGL.so
>  @so ungoogled-chromium/libGLESv2.so
>  %%component%%
> 
> 
> -- 
> wbr, Kirill
>