mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] weston: build color management module
@ 2024-09-03 13:14 Benjamin Gaignard
  2024-09-04 14:19 ` Christian Melki
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Gaignard @ 2024-09-03 13:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Benjamin Gaignard

Add an option to build weston color management module.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
 rules/weston.in   | 1 +
 rules/weston.make | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/weston.in b/rules/weston.in
index 10f0e9172..bc742d2fc 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -40,6 +40,7 @@ menuconfig WESTON
 	select PIPEWIRE 		if WESTON_BACKEND_PIPEWIRE
 	select NEATVNC			if WESTON_BACKEND_VNC
 	select PAM			if WESTON_BACKEND_VNC
+	select LCMS			if WESTON_COLOR_MANAGEMENT_LCMS
 	prompt "weston                        "
 	help
 	  Wayland compositor reference implementation
diff --git a/rules/weston.make b/rules/weston.make
index 35ddab180..b44b661a7 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -45,7 +45,7 @@ WESTON_CONF_OPT		:= \
 	-Dbackend-vnc=$(call ptx/truefalse,PTXCONF_WESTON_BACKEND_VNC) \
 	-Dbackend-wayland=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
 	-Dbackend-x11=false \
-	-Dcolor-management-lcms=false \
+	-Dcolor-management-lcms=$(call ptx/truefalse,PTXCONF_WESTON_COLOR_MANAGEMENT_LCMS) \
 	-Ddemo-clients=$(call ptx/truefalse,PTXCONF_WESTON_IVISHELL_EXAMPLE) \
 	-Ddeprecated-color-management-colord=false \
 	-Ddeprecated-color-management-static=false \
-- 
2.43.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH v2] weston: build color management module
  2024-09-03 13:14 [ptxdist] [PATCH v2] weston: build color management module Benjamin Gaignard
@ 2024-09-04 14:19 ` Christian Melki
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Melki @ 2024-09-04 14:19 UTC (permalink / raw)
  To: Benjamin Gaignard; +Cc: ptxdist, Michael Tretter

Hello Benjamin,

On 9/3/24 3:14 PM, Benjamin Gaignard wrote:
> [Du får inte e-post ofta från benjamin.gaignard@collabora.com. Läs om varför det här är viktigt på https://aka.ms/LearnAboutSenderIdentification ]
> 
> Add an option to build weston color management module.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
> ---
>   rules/weston.in   | 1 +
>   rules/weston.make | 2 +-
>   2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/weston.in b/rules/weston.in
> index 10f0e9172..bc742d2fc 100644
> --- a/rules/weston.in
> +++ b/rules/weston.in
> @@ -40,6 +40,7 @@ menuconfig WESTON
>          select PIPEWIRE                 if WESTON_BACKEND_PIPEWIRE
>          select NEATVNC                  if WESTON_BACKEND_VNC
>          select PAM                      if WESTON_BACKEND_VNC
> +       select LCMS                     if WESTON_COLOR_MANAGEMENT_LCMS

Right. But you also need to make the option selectable.
You can look at the other WESTON_ marked options in the .in file.

Christian

>          prompt "weston                        "
>          help
>            Wayland compositor reference implementation
> diff --git a/rules/weston.make b/rules/weston.make
> index 35ddab180..b44b661a7 100644
> --- a/rules/weston.make
> +++ b/rules/weston.make
> @@ -45,7 +45,7 @@ WESTON_CONF_OPT               := \
>          -Dbackend-vnc=$(call ptx/truefalse,PTXCONF_WESTON_BACKEND_VNC) \
>          -Dbackend-wayland=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
>          -Dbackend-x11=false \
> -       -Dcolor-management-lcms=false \
> +       -Dcolor-management-lcms=$(call ptx/truefalse,PTXCONF_WESTON_COLOR_MANAGEMENT_LCMS) \
>          -Ddemo-clients=$(call ptx/truefalse,PTXCONF_WESTON_IVISHELL_EXAMPLE) \
>          -Ddeprecated-color-management-colord=false \
>          -Ddeprecated-color-management-static=false \
> --
> 2.43.0
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-04 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03 13:14 [ptxdist] [PATCH v2] weston: build color management module Benjamin Gaignard
2024-09-04 14:19 ` Christian Melki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox