Opened 5 years ago

Last modified 5 years ago

#15128 assigned enhancement

noto_sans_cjk: make it a supplement of haiku package

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

https://git.haiku-os.org/haiku/tree/src/data/package_infos/x86_64/haiku#n133

Having noto_sans_cjk (which the largest (117MB) package) installed by default is fine, however it could be made a supplement of haiku package instead of requiring it.

A bit of discussion is here https://discuss.haiku-os.org/t/hakilo-ex-hupe-hakipkg-by-s40in/8156/93

Change History (10)

comment:1 by korli, 5 years ago

"make it a supplement" means modifying noto_sans_cjk. Just remove the requirement. However switching to some cjk languages should propose to install the package if absent.

comment:2 by diver, 5 years ago

Should't noto_sans_cjk be added to SUPPLEMENTS block in package_infos files? Like this:

SUPPLEMENTS="
	noto_sans_cjk
	"

comment:3 by pulkomandy, 5 years ago

I think being able to display CJK characters is an important feature of the OS and worth the few extra megabytes. It is used not only when you switch the system to CJK, but also when you visit a web page using these languages, for example. Making it optional is only making life more complex for our users who need these languages. They could just as well say that the non-CJK fonts are useless and need not be a dependency of the OS.

comment:4 by diver, 5 years ago

True, however making it a supplement provides a way to delete this package for those who needs extra space which is the case at least for those who dd'ed anyboot image and is constrained to image size. I imagine there could be other use cases as well.

comment:5 by tqh, 5 years ago

Could it be an optional install in the installer, but enabled by default?

comment:6 by diver, 5 years ago

That would be the best.

comment:7 by pulkomandy, 5 years ago

That problem is solved by adding more free space to the image, or by finishing the work on the filesystem resizer, not by allowing people to remove parts of the OS.

If people agree that Haiku does not need it, I will next argue that WebPositive does, and start requiring it in any of my apps that may need to display CJK text. And no problem will be solved :)

comment:8 by diver, 5 years ago

I'm not saying that Haiku does not need it :) I'm just saying giving a user a choice to remove it if needed would be nice, that's it.

comment:9 by pulkomandy, 5 years ago

As an application and Haiku developer, I prefer to know that I can rely on the font being there. If we let people uninstall it, then all applications have to worry about this case and handle it properly (by showing an appropriate error message in that case, and documenting how to install/reinstall the fonts).

As I said, I don't want to bother with doing this in all my apps that may need to display CJK test, so WebPositive will require these fonts anyway - they are needed for the app to function properly, and the same could be said of app_server, which hardcodes this font name currently when trying to display such characters, whatever the font you are trying to use.

comment:10 by waddlesplash, 5 years ago

Owner: changed from waddlesplash to nobody
Note: See TracTickets for help on using tickets.