Thanks, applied as eae4fb16ff5456c16a6f5683ed4fd0474c07b6de.

Michael

[sent from post-receive hook]

On Fri, 07 Oct 2022 09:38:47 +0200, Bastian Krause <[email protected]> wrote:
> - cog 0.16 switches the build system from CMake to Meson
> - building without D-Bus is no longer possible
> - allow install of cogctl for D-Bus user bus
> 
> Signed-off-by: Bastian Krause <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/cog.in b/rules/cog.in
> index 81313c636dba..47651073bdc7 100644
> --- a/rules/cog.in
> +++ b/rules/cog.in
> @@ -3,12 +3,11 @@
>  menuconfig COG
>       tristate
>       prompt "cog                           "
> -     select HOST_CMAKE
> -     select HOST_NINJA
> +     select HOST_MESON
> +     select DBUS
>       select WAYLAND_PROTOCOLS
>       select WPEWEBKIT
>       select WPEBACKEND_FDO
> -     select DBUS                     if COG_REMOTE_DBUS_SYSTEM_BUS
>       help
>         Cog launcher and webapp container.
>  
> @@ -20,7 +19,6 @@ config COG_REMOTE_DBUS_SYSTEM_BUS
>  
>  config COG_COGCTL
>       bool
> -     select COG_REMOTE_DBUS_SYSTEM_BUS
>       prompt "Install cogctl"
>  
>  endif
> diff --git a/rules/cog.make b/rules/cog.make
> index 43c661344a69..e8be1f7097a4 100644
> --- a/rules/cog.make
> +++ b/rules/cog.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_COG) += cog
>  #
>  # Paths and names
>  #
> -COG_VERSION          := 0.14.1
> -COG_MD5                      := 69d72ac046a0fc485ea7b61b96e7e7fc
> +COG_VERSION          := 0.16.0
> +COG_MD5                      := 2705472ea4f333290973722c0862b21d
>  COG                  := cog-$(COG_VERSION)
>  COG_SUFFIX           := tar.xz
>  COG_URL                      := 
> https://wpewebkit.org/releases/$(COG).$(COG_SUFFIX)
> @@ -31,26 +31,21 @@ COG_LICENSE_FILES := 
> file://COPYING;md5=bf1229cd7425b302d60cdb641b0ce5fb
>  #
>  # cmake
>  #
> -COG_CONF_TOOL        := cmake
> +COG_CONF_TOOL        := meson
>  COG_CONF_OPT := \
> -     $(CROSS_CMAKE_USR) \
> -     -G Ninja \
> -     -DBUILD_DOCS=OFF \
> -     -DCOG_APPID= \
> -     -DCOG_BUILD_PROGRAMS=ON \
> -     -DCOG_DBUS_OWN_USER= \
> -     -DCOG_DBUS_SYSTEM_BUS=$(call 
> ptx/onoff,PTXCONF_COG_REMOTE_DBUS_SYSTEM_BUS) \
> -     -DCOG_HOME_URI=https://ptxdist.org/ \
> -     -DCOG_MODULEDIR=/usr/lib/cog/modules \
> -     -DCOG_PLATFORM_DRM=OFF \
> -     -DCOG_PLATFORM_GTK4=OFF \
> -     -DCOG_PLATFORM_HEADLESS=OFF \
> -     -DCOG_PLATFORM_WL=ON \
> -     -DCOG_PLATFORM_X11=OFF \
> -     -DCOG_WESTON_DIRECT_DISPLAY=OFF \
> -     -DINSTALL_MAN_PAGES=OFF \
> -     -DUSE_SOUP2=ON \
> -     
> -DWAYLAND_PROTOCOLS=$(PTXDIST_SYSROOT_TARGET)/usr/share/wayland-protocols
> +     $(CROSS_MESON_USR) \
> +     -Dcog_appid=com.igalia.Cog \
> +     -Dcog_dbus_control=$(call ptx/ifdef, 
> PTXCONF_COG_REMOTE_DBUS_SYSTEM_BUS,system,user) \
> +     -Dcog_dbus_system_owner= \
> +     -Dcog_home_uri=https://ptxdist.org/ \
> +     -Ddocumentation=false \
> +     -Dmanpages=false \
> +     -Dplatforms=wayland \
> +     -Dplugin_path=/usr/lib/cog/modules \
> +     -Dprograms=true \
> +     -Dsoup2=enabled \
> +     -Dwayland_weston_content_protection=false \
> +     -Dwayland_weston_direct_display=false
>  
>  # 
> ----------------------------------------------------------------------------
>  # Target-Install

Reply via email to