macaroni-os / mark-issues

Macaroni Automated Repositories Kit Issues
4 stars 1 forks source link

[net-kit] net-misc/freerdp-3.6.2 broken #84

Closed geaaru closed 3 weeks ago

geaaru commented 3 months ago

freerdp doesn't compile because needs disabling of AAD feature that require cJSON library not available in the tree and probably a more updated openx264 version:

In file included from /var/tmp/portage/net-misc/freerdp-3.6.2/work/freerdp-3.6.2/libfreerdp/codec/h264_openh264.c:29:
/usr/include/openh264/wels/codec_def.h:62:27: warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]
   62 |   videoFormatVFlip      = 0x80000000
      |                           ^~~~~~~~~~
/var/tmp/portage/net-misc/freerdp-3.6.2/work/freerdp-3.6.2/libfreerdp/codec/h264_openh264.c: In function ‘openh264_compress’:
/var/tmp/portage/net-misc/freerdp-3.6.2/work/freerdp-3.6.2/libfreerdp/codec/h264_openh264.c:242:45: error: ‘SCREEN_CONTENT_NON_REAL_TIME’ undeclared (first use in this function); did you mean ‘SCREEN_CONTENT_REAL_TIME’?
  242 |                                 usageType = SCREEN_CONTENT_NON_REAL_TIME;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             SCREEN_CONTENT_REAL_TIME
/var/tmp/portage/net-misc/freerdp-3.6.2/work/freerdp-3.6.2/libfreerdp/codec/h264_openh264.c:242:45: note: each undeclared identifier is reported only once for each function it appears in

Last release available on Macaroni is 3.5.1, we can eventually pin this version and work on this later.

geaaru commented 3 months ago

About aad it's needed add this on configure:

        -DWITH_AAD=OFF
geaaru commented 3 weeks ago

Upgrade openh264 is something that could break our old Gnome stuff. I prefer pin to last version compiled on Macaroni 3.5.1 and later upgrade the package together with Gnome stuff.