Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-22 Thread Markus Volk
On Fri, Mar 22 2024 at 07:17:14 AM +01:00:00, Martin Jansa 
 wrote:

The packageconfig for x11 doesn't seem to be enough to disable x11
when it's not in DISTRO_FEATURES.


-DWITH_SHADOW=OFF would avoid the libx11 dependency.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109513): 
https://lists.openembedded.org/g/openembedded-devel/message/109513
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-21 Thread Martin Jansa
The packageconfig for x11 doesn't seem to be enough to disable x11
when it's not in DISTRO_FEATURES.

CMake Error at 
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

Call Stack (most recent call first):
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
  
TOPDIR/BUILD/work/raspberrypi4_64-oe-linux/freerdp3/3.4.0/recipe-sysroot-native/usr/share/cmake-3.28/Modules/FindX11.cmake:665
(find_package_handle_standard_args)
  server/shadow/X11/CMakeLists.txt:1 (find_package)

On Wed, Mar 20, 2024 at 7:10 PM Markus Volk  wrote:
>
> On Wed, Mar 20 2024 at 06:49:43 PM +01:00:00, Markus Volk  
> wrote:
>
> their dependencies are which are not yet in master branch of the core
>
>
> I tried to mention in the commit message, if an update requires a change to 
> oe-core.
>
> For now that would be
> gnome-settings-daemon, which requires gsettings-desktop-schemas 46.0
> gnome-calculator, which requires libsoup with vala support
> gnome-calendar, which requires libadwaita-1.5.0
>
> additionally to complete the gnome-46 port there would be
> nautilus, which will require glib-2.80
> gnome-console and gnome-terminal, which will require vte 0.76
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109511): 
https://lists.openembedded.org/g/openembedded-devel/message/109511
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Markus Volk
On Wed, Mar 20 2024 at 06:49:43 PM +01:00:00, Markus Volk 
 wrote:

their dependencies are which are not yet in master branch of the core


I tried to mention in the commit message, if an update requires a 
change to oe-core.


For now that would be
gnome-settings-daemon, which requires gsettings-desktop-schemas 46.0
gnome-calculator, which requires libsoup with vala support
gnome-calendar, which requires libadwaita-1.5.0

additionally to complete the gnome-46 port there would be
nautilus, which will require glib-2.80
gnome-console and gnome-terminal, which will require vte 0.76


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109498): 
https://lists.openembedded.org/g/openembedded-devel/message/109498
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Markus Volk
On Wed, Mar 20 2024 at 10:31:48 AM -07:00:00, Khem Raj 
 wrote:

Alright, take a look at master-next and I would like to know what
their dependencies are which are not yet in master branch of the core
layer.


I had another look at freerdp3 buildsystem and swscale can be 
configured separately from ffmpeg.
That makes the fix easy. I'll send a v3 for the freerdp3 patch that 
should address both issues you have




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109496): 
https://lists.openembedded.org/g/openembedded-devel/message/109496
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Khem Raj
On Wed, Mar 20, 2024 at 10:28 AM  wrote:
>
> On Wed, Mar 20 2024 at 09:22:01 AM -07:00:00, Khem Raj  
> wrote:
>
> next issue, it can not find heimdal krb5 module.
>
>
> This can probably be fixed by adding:
> PACKAGECONFIG[krb5] = "-DWITH_KRB5=ON 
> -DWITH_KRB5_NO_NTLM_FALLBACK=ON,-DWITH_KRB5=OFF,krb5"
>
> I'll send a patch for the krb issue but this will take a few days, because 
> I'm not at home for the next days
>
> The bigger problem seems to be the ffmpeg dependency.  A commercial license 
> is not necessarily required to use swscale.

Alright, take a look at master-next and I would like to know what
their dependencies are which are not yet in master branch of the core
layer.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109495): 
https://lists.openembedded.org/g/openembedded-devel/message/109495
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Markus Volk
On Wed, Mar 20 2024 at 09:22:01 AM -07:00:00, Khem Raj 
 wrote:

next issue, it can not find heimdal krb5 module.


This can probably be fixed by adding:
PACKAGECONFIG[krb5] = "-DWITH_KRB5=ON 
-DWITH_KRB5_NO_NTLM_FALLBACK=ON,-DWITH_KRB5=OFF,krb5"


I'll send a patch for the krb issue but this will take a few days, 
because I'm not at home for the next days


The bigger problem seems to be the ffmpeg dependency.  A commercial 
license is not necessarily required to use swscale.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109494): 
https://lists.openembedded.org/g/openembedded-devel/message/109494
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Markus Volk
On Wed, Mar 20 2024 at 07:34:19 AM -07:00:00, Khem Raj 
 wrote:

I have pushed the fix for it into master-next to put ffmpeg dep as
part of package config.


Does this work for you? In my tests ffmpeg was required as a hard 
dependency and the build otherwise failed with ffmpeg disabled because 
freerdp3 still needs to find  swscale



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109493): 
https://lists.openembedded.org/g/openembedded-devel/message/109493
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Khem Raj
next issue, it can not find heimdal krb5 module.

https://errors.yoctoproject.org/Errors/Details/759578/

On Wed, Mar 20, 2024 at 7:34 AM Khem Raj  wrote:
>
> it ends in
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3727
>
> I have pushed the fix for it into master-next to put ffmpeg dep as
> part of package config.
>
> On Tue, Mar 19, 2024 at 2:29 AM Markus Volk  wrote:
> >
> > v2 removes fuse3 as a hard dependency. ffmpeg is still needed in any case 
> > because of swscale
> >
> > On Tue, Mar 19 2024 at 10:27:58 AM +01:00:00, Markus Volk 
> >  wrote:
> >
> > freerdp3 is required to build gnome-remote-desktop-46.0 Signed-off-by: 
> > Markus Volk  --- 
> > .../recipes-support/freerdp/freerdp3_3.4.0.bb | 59 +++ 1 
> > file changed, 59 insertions(+) create mode 100644 
> > meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb diff --git 
> > a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb 
> > b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb new file mode 100644 
> > index 0..f04be56c6 --- /dev/null +++ 
> > b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb @@ -0,0 +1,59 @@ 
> > +DESCRIPTION = "FreeRDP RDP client & server library" +HOMEPAGE = 
> > "http://www.freerdp.com"; +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = 
> > "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "openssl 
> > ffmpeg libusb1 uriparser cairo icu pkcs11-helper zlib jpeg" + +inherit 
> > pkgconfig cmake + +SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7" 
> > +SRC_URI = 
> > "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https" + +S = 
> > "${WORKDIR}/git" + +PACKAGECONFIG ??= " \ + 
> > ${@bb.utils.filter('DISTRO_FEATURES', 'pam pulseaudio wayland x11', d)} \ + 
> > gstreamer cups pcsc \ +" + +EXTRA_OECMAKE = " \ + 
> > -DRDTK_FORCE_STATIC_BUILD=ON \ + -DUWAC_FORCE_STATIC_BUILD=ON \ + 
> > -DWITH_ADD=ON \ + -DWITH_BINARY_VERSIONING=ON \ + -DWITH_CHANNELS=ON \ + 
> > -DWITH_CLIENT_CHANNELS=ON \ + -DWITH_JPEG=ON \ + -DWITH_PKCS11=ON \ + 
> > -DWITH_SERVER_CHANNELS=ON \ + -DWITH_SERVER=ON \ + 
> > -DPKG_CONFIG_RELOCATABLE=OFF \ + -DWITH_ALSA=OFF \ + -DWITH_CLIENT_SDL=OFF 
> > \ + -DWITH_SAMPLE=OFF \ + " + +X11_DEPS = "virtual/libx11 libxinerama 
> > libxext libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr 
> > libxkbfile" +PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON 
> > -DWITH_XEXT=ON -DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON 
> > -DWITH_XRENDER=ON -DWITH_XFIXES=ON -DWITH_XDAMAGE=ON -DWITH_XRANDR=ON 
> > -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}" +PACKAGECONFIG[wayland] = 
> > "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native libxkbcommon" 
> > +PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam" 
> > +PACKAGECONFIG[pulseaudio] = 
> > "-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio" 
> > +PACKAGECONFIG[gstreamer] = 
> > "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 
> > gstreamer1.0-plugins-base" +PACKAGECONFIG[cups] = 
> > "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" +PACKAGECONFIG[fuse] = 
> > "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3" +PACKAGECONFIG[pcsc] = 
> > "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite" +PACKAGECONFIG[manpages] = 
> > "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF, libxslt-native 
> > docbook-xsl-stylesheets-native" +PACKAGECONFIG[ffmpeg] = 
> > "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON, -DWITH_DSP_FFMPEG=OFF 
> > -DWITH_FFMPEG=OFF" +PACKAGECONFIG[openh264] = 
> > "-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264" +PACKAGECONFIG[opencl] = 
> > "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-icd-loader" +PACKAGECONFIG[lame] 
> > = "-DWITH_LAME=ON,-DWITH_LAME=OFF,lame" +PACKAGECONFIG[faad] = 
> > "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faad2" +PACKAGECONFIG[faac] = 
> > "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faac" + +do_configure:append() { + sed -i 
> > -e 's|${WORKDIR}||g' ${B}/include/freerdp/buildflags.h + sed -i -e 
> > 's|${WORKDIR}||g' ${B}/winpr/include/winpr/buildflags.h +} + +FILES:${PN} 
> > += "${datadir}"
> > --
> > 2.44.0
> >
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109491): 
https://lists.openembedded.org/g/openembedded-devel/message/109491
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-20 Thread Khem Raj
it ends in

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3727

I have pushed the fix for it into master-next to put ffmpeg dep as
part of package config.

On Tue, Mar 19, 2024 at 2:29 AM Markus Volk  wrote:
>
> v2 removes fuse3 as a hard dependency. ffmpeg is still needed in any case 
> because of swscale
>
> On Tue, Mar 19 2024 at 10:27:58 AM +01:00:00, Markus Volk  
> wrote:
>
> freerdp3 is required to build gnome-remote-desktop-46.0 Signed-off-by: Markus 
> Volk  --- .../recipes-support/freerdp/freerdp3_3.4.0.bb | 
> 59 +++ 1 file changed, 59 insertions(+) create mode 100644 
> meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb diff --git 
> a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb 
> b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb new file mode 100644 
> index 0..f04be56c6 --- /dev/null +++ 
> b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb @@ -0,0 +1,59 @@ 
> +DESCRIPTION = "FreeRDP RDP client & server library" +HOMEPAGE = 
> "http://www.freerdp.com"; +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = 
> "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "openssl 
> ffmpeg libusb1 uriparser cairo icu pkcs11-helper zlib jpeg" + +inherit 
> pkgconfig cmake + +SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7" 
> +SRC_URI = 
> "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https" + +S = 
> "${WORKDIR}/git" + +PACKAGECONFIG ??= " \ + 
> ${@bb.utils.filter('DISTRO_FEATURES', 'pam pulseaudio wayland x11', d)} \ + 
> gstreamer cups pcsc \ +" + +EXTRA_OECMAKE = " \ + 
> -DRDTK_FORCE_STATIC_BUILD=ON \ + -DUWAC_FORCE_STATIC_BUILD=ON \ + 
> -DWITH_ADD=ON \ + -DWITH_BINARY_VERSIONING=ON \ + -DWITH_CHANNELS=ON \ + 
> -DWITH_CLIENT_CHANNELS=ON \ + -DWITH_JPEG=ON \ + -DWITH_PKCS11=ON \ + 
> -DWITH_SERVER_CHANNELS=ON \ + -DWITH_SERVER=ON \ + 
> -DPKG_CONFIG_RELOCATABLE=OFF \ + -DWITH_ALSA=OFF \ + -DWITH_CLIENT_SDL=OFF \ 
> + -DWITH_SAMPLE=OFF \ + " + +X11_DEPS = "virtual/libx11 libxinerama libxext 
> libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr libxkbfile" 
> +PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON 
> -DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON 
> -DWITH_XFIXES=ON -DWITH_XDAMAGE=ON -DWITH_XRANDR=ON 
> -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}" +PACKAGECONFIG[wayland] = 
> "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native libxkbcommon" 
> +PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam" 
> +PACKAGECONFIG[pulseaudio] = 
> "-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio" 
> +PACKAGECONFIG[gstreamer] = 
> "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 
> gstreamer1.0-plugins-base" +PACKAGECONFIG[cups] = 
> "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" +PACKAGECONFIG[fuse] = 
> "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3" +PACKAGECONFIG[pcsc] = 
> "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite" +PACKAGECONFIG[manpages] = 
> "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF, libxslt-native 
> docbook-xsl-stylesheets-native" +PACKAGECONFIG[ffmpeg] = 
> "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON, -DWITH_DSP_FFMPEG=OFF 
> -DWITH_FFMPEG=OFF" +PACKAGECONFIG[openh264] = 
> "-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264" +PACKAGECONFIG[opencl] = 
> "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-icd-loader" +PACKAGECONFIG[lame] = 
> "-DWITH_LAME=ON,-DWITH_LAME=OFF,lame" +PACKAGECONFIG[faad] = 
> "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faad2" +PACKAGECONFIG[faac] = 
> "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faac" + +do_configure:append() { + sed -i -e 
> 's|${WORKDIR}||g' ${B}/include/freerdp/buildflags.h + sed -i -e 
> 's|${WORKDIR}||g' ${B}/winpr/include/winpr/buildflags.h +} + +FILES:${PN} += 
> "${datadir}"
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109489): 
https://lists.openembedded.org/g/openembedded-devel/message/109489
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-19 Thread Markus Volk
v2 removes fuse3 as a hard dependency. ffmpeg is still needed in any 
case because of swscale


On Tue, Mar 19 2024 at 10:27:58 AM +01:00:00, Markus Volk 
 wrote:

freerdp3 is required to build gnome-remote-desktop-46.0

Signed-off-by: Markus Volk >

---
 .../recipes-support/freerdp/freerdp3_3.4.0.bb | 59 
+++

 1 file changed, 59 insertions(+)
 create mode 100644 meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb

diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb 
b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb

new file mode 100644
index 0..f04be56c6
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
@@ -0,0 +1,59 @@
+DESCRIPTION = "FreeRDP RDP client & server library"
+HOMEPAGE = "http://www.freerdp.com "
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 


+
+DEPENDS = "openssl ffmpeg libusb1 uriparser cairo icu pkcs11-helper 
zlib jpeg"

+
+inherit pkgconfig cmake
+
+SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7"
+SRC_URI = 
"git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https"

+
+S = "${WORKDIR}/git"
+
+PACKAGECONFIG ??= " \
+${@bb.utils.filter 
('DISTRO_FEATURES', 'pam pulseaudio 
wayland x11', d)} \

+gstreamer cups pcsc \
+"
+
+EXTRA_OECMAKE = " \
+-DRDTK_FORCE_STATIC_BUILD=ON \
+-DUWAC_FORCE_STATIC_BUILD=ON \
+-DWITH_ADD=ON \
+-DWITH_BINARY_VERSIONING=ON \
+-DWITH_CHANNELS=ON \
+-DWITH_CLIENT_CHANNELS=ON \
+-DWITH_JPEG=ON \
+-DWITH_PKCS11=ON \
+-DWITH_SERVER_CHANNELS=ON \
+-DWITH_SERVER=ON \
+-DPKG_CONFIG_RELOCATABLE=OFF \
+-DWITH_ALSA=OFF \
+-DWITH_CLIENT_SDL=OFF \
+-DWITH_SAMPLE=OFF \
+ "
+
+X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv 
libxi libxrender libxfixes libxdamage libxrandr libxkbfile"
+PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON 
-DWITH_XEXT=ON -DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON 
-DWITH_XRENDER=ON -DWITH_XFIXES=ON -DWITH_XDAMAGE=ON -DWITH_XRANDR=ON 
-DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}"
+PACKAGECONFIG[wayland] = 
"-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland wayland-native 
libxkbcommon"

+PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam"
+PACKAGECONFIG[pulseaudio] = 
"-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio"
+PACKAGECONFIG[gstreamer] = 
"-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 
gstreamer1.0-plugins-base"

+PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
+PACKAGECONFIG[fuse] = "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3"
+PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite"
+PACKAGECONFIG[manpages] = "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF, 
libxslt-native docbook-xsl-stylesheets-native"
+PACKAGECONFIG[ffmpeg] = "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON, 
-DWITH_DSP_FFMPEG=OFF -DWITH_FFMPEG=OFF"
+PACKAGECONFIG[openh264] = 
"-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264"
+PACKAGECONFIG[opencl] = 
"-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-icd-loader"

+PACKAGECONFIG[lame] = "-DWITH_LAME=ON,-DWITH_LAME=OFF,lame"
+PACKAGECONFIG[faad] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faad2"
+PACKAGECONFIG[faac] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faac"
+
+do_configure:append() {
+sed -i -e 's|${WORKDIR}||g' ${B}/include/freerdp/buildflags.h
+sed -i -e 's|${WORKDIR}||g' ${B}/winpr/include/winpr/buildflags.h
+}
+
+FILES:${PN} += "${datadir}"
--
2.44.0







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109477): 
https://lists.openembedded.org/g/openembedded-devel/message/109477
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-gnome][PATCHv2] freerdp3: add recipe

2024-03-19 Thread Markus Volk
freerdp3 is required to build gnome-remote-desktop-46.0

Signed-off-by: Markus Volk 
---
 .../recipes-support/freerdp/freerdp3_3.4.0.bb | 59 +++
 1 file changed, 59 insertions(+)
 create mode 100644 meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb

diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb 
b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
new file mode 100644
index 0..f04be56c6
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb
@@ -0,0 +1,59 @@
+DESCRIPTION = "FreeRDP RDP client & server library"
+HOMEPAGE = "http://www.freerdp.com";
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS = "openssl ffmpeg libusb1 uriparser cairo icu pkcs11-helper zlib jpeg"
+
+inherit pkgconfig cmake
+
+SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7"
+SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https"
+
+S = "${WORKDIR}/git"
+
+PACKAGECONFIG ??= " \
+${@bb.utils.filter('DISTRO_FEATURES', 'pam pulseaudio wayland x11', d)} \
+gstreamer cups pcsc \
+"
+
+EXTRA_OECMAKE = " \
+-DRDTK_FORCE_STATIC_BUILD=ON \
+-DUWAC_FORCE_STATIC_BUILD=ON \
+-DWITH_ADD=ON \
+-DWITH_BINARY_VERSIONING=ON \
+-DWITH_CHANNELS=ON \
+-DWITH_CLIENT_CHANNELS=ON \
+-DWITH_JPEG=ON \
+-DWITH_PKCS11=ON \
+-DWITH_SERVER_CHANNELS=ON \
+-DWITH_SERVER=ON \
+-DPKG_CONFIG_RELOCATABLE=OFF \
+-DWITH_ALSA=OFF \
+-DWITH_CLIENT_SDL=OFF \
+-DWITH_SAMPLE=OFF \
+ "
+
+X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi 
libxrender libxfixes libxdamage libxrandr libxkbfile"
+PACKAGECONFIG[x11] = "-DWITH_X11=ON -DWITH_XINERAMA=ON -DWITH_XEXT=ON 
-DWITH_XCURSOR=ON -DWITH_XV=ON -DWITH_XI=ON -DWITH_XRENDER=ON -DWITH_XFIXES=ON 
-DWITH_XDAMAGE=ON -DWITH_XRANDR=ON -DWITH_XKBFILE=ON,-DWITH_X11=OFF,${X11_DEPS}"
+PACKAGECONFIG[wayland] = "-DWITH_WAYLAND=ON,-DWITH_WAYLAND=OFF,wayland 
wayland-native libxkbcommon"
+PACKAGECONFIG[pam] = "-DWITH_PAM=ON,-DWITH_PAM=OFF,libpam"
+PACKAGECONFIG[pulseaudio] = 
"-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaudio"
+PACKAGECONFIG[gstreamer] = 
"-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 
gstreamer1.0-plugins-base"
+PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
+PACKAGECONFIG[fuse] = "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3"
+PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite"
+PACKAGECONFIG[manpages] = "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF, 
libxslt-native docbook-xsl-stylesheets-native"
+PACKAGECONFIG[ffmpeg] = "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON, 
-DWITH_DSP_FFMPEG=OFF -DWITH_FFMPEG=OFF"
+PACKAGECONFIG[openh264] = "-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264"
+PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-icd-loader"
+PACKAGECONFIG[lame] = "-DWITH_LAME=ON,-DWITH_LAME=OFF,lame"
+PACKAGECONFIG[faad] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faad2"
+PACKAGECONFIG[faac] = "-DWITH_FAAD=ON,-DWITH_FAAD=OFF,faac"
+
+do_configure:append() {
+sed -i -e 's|${WORKDIR}||g' ${B}/include/freerdp/buildflags.h
+sed -i -e 's|${WORKDIR}||g' ${B}/winpr/include/winpr/buildflags.h
+}
+
+FILES:${PN} += "${datadir}"
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109476): 
https://lists.openembedded.org/g/openembedded-devel/message/109476
Mute This Topic: https://lists.openembedded.org/mt/105020833/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-