Commit Graph

34 Commits

Author SHA1 Message Date
Martin Jansa e722be5fac recipes: Drop remaining PR values from recipes
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:10 -07:00
Lee Chee Yang 49c97b4eef libsdl: fix CVE-2022-34568
CVE-2022-34568 affected
From (including) 1.2.1
Up to (including) 1.2.15

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-12 19:34:09 -07:00
Khem Raj 5312b6999a libsdl2-ttf: Define SRCREV_FORMAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-11 10:15:33 -07:00
Andrej Valek 8af2f17a6f cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 08:54:40 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj 5e77da23ea libsdl-image: Fix build with clang16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-02 00:31:38 -08:00
Khem Raj d28518a1d5 libsdl2-ttf: Upgrade to 2.20.2
Fix build with clang16 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-02 00:31:38 -08:00
Hitomi Hasegawa 8803be17aa libsdl: add CVE-2019-14906 to allowlist
CVE-2019-14906 is a Red Hat vulnerability and Yocto is not applicable.
So add it to the allowlist.

Signed-off-by: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 08:14:17 -07:00
Wang Mingyu 812f20667a libsdl2-ttf: upgrade 2.20.0 -> 2.20.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 19:12:52 -07:00
Wolfgang Meyer 67b3fc7ad0 libsdl2-ttf: upgrade 2.0.18 -> 2.20.0
Changelog:
 * Added support for building with CMake
 * Added TTF_GetFontWrappedAlign() and TTF_SetFontWrappedAlign() to set alignment on wrapped text
 * Added functions to render using FreeType LCD algorithm:
    TTF_RenderText_LCD()
    TTF_RenderUTF8_LCD()
    TTF_RenderUNICODE_LCD()
    TTF_RenderText_LCD_Wrapped()
    TTF_RenderUTF8_LCD_Wrapped()
    TTF_RenderUNICODE_LCD_Wrapped()
    TTF_RenderGlyph_LCD()
    TTF_RenderGlyph32_LCD()
 * Added TTF_SetFontDirection() and TTF_SetFontScriptName() for additional control over fonts using HarfBuzz
 * Updated to FreeType version 2.12.1 and HarfBuzz version 2.9.1, fixing CVE-2018-25032
 * Fixed crash when loading fonts at certain sizes on Windows
 * Fix memory corruption loading malformed TTF files (CVE-2022-27470)

Signed-off-by: Wolfgang Meyer <Wolfgang.Meyer@gossenmetrawatt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
Andrew Davis 40a55b3215 libsdl: The libsdl and libsdl2 are not virtual
There is only one provider, these should not be virtual.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-08 22:43:03 -04:00
Khem Raj 02422135f3 libsdl2-ttf: Change depenendency from virtual/libgl to virtual/egl
Fixes build on graphics drivers not providing GL implementation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-09 07:37:42 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy 74e71f017a libsdl2-ttf: upgrade 2.0.15 -> 2.0.18
refresh automake_foreign.patch

License-Update: year updated to 2022.

Changelog:
=========
-Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion()
-Added support for Signed Distance Field rendering with TTF_SetFontSDF() and
 TTF_GetFontSDF()
-Added optional DPI-scaling of fonts, with the following new functions:
 TTF_OpenFontDPI()
 TTF_OpenFontIndexDPI()
 TTF_OpenFontDPIRW()
 TTF_OpenFontIndexDPIRW()
 TTF_SetFontSizeDPI()
-Added 32-bit character support with:
 TTF_GlyphIsProvided32()
 TTF_GlyphMetrics32()
 TTF_RenderGlyph32_Solid()
 TTF_RenderGlyph32_Shaded()
 TTF_RenderGlyph32_Blended()
 TTF_GetFontKerningSizeGlyphs32()
-Added functions to set direction and script when using Harfbuzz:
 TTF_SetDirection()
 TTF_SetScript()
-Added extended API for text measurement:
 TTF_MeasureText()
 TTF_MeasureUTF8()
 TTF_MeasureUNICODE()
-Added TTF_SetFontSize() to set font size dynamically
-Added 'Shaded' and 'Solid' text wrapped functions:
 TTF_RenderText_Solid_Wrapped()
 TTF_RenderUTF8_Solid_Wrapped()
 TTF_RenderUNICODE_Solid_Wrapped()
 TTF_RenderText_Shaded_Wrapped()
 TTF_RenderUTF8_Shaded_Wrapped()
 TTF_RenderUNICODE_Shaded_Wrapped()
-Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a
 performance cost

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-19 09:01:04 -08:00
Marek Vasut 1c1670a8c4 libsdl2-ttf: Remove incorrect x11 from REQUIRED_DISTRO_FEATURES
The SDL2 TTF library does not depend on X11, only on GL, remove the
X11 requirement.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-06 12:54:03 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
wangmy 57ae91d291 libsdl: Fix CVE-2019-13616
References
  https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13616

  SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read
  in BlitNtoN in video/SDL_blit_N.c when called from SDL_SoftBlit in video/SDL_blit.c.

  Upstream-Status: Backport [https://github.com/libsdl-org/SDL/commit/97fefd050976bbbfca9608499f6a7d9fb86e70db]
  CVE: CVE-2019-13616

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 09:17:49 -07:00
Khem Raj 759c64ee0e libsdl2-mixer: Fix build with autoconf 2.70+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-08 10:17:23 -08:00
jabdoa2 69bae2a236 libsdl2-mixer: set --disable-music-ogg-shared to link statically
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-31 11:43:37 -08:00
jabdoa2 074c7d9a1e libsdl2-mixer: Fix ogg/vorbis support in libsdl2-mixer
Remove --enable-music-ogg-tremor  as it broke vorbis support:

checking tremor/ivorbisfile.h usability... no
checking tremor/ivorbisfile.h presence... no
checking for tremor/ivorbisfile.h... no
checking for ov_open_callbacks in -lvorbisidec... no
configure: WARNING: *** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)
configure: WARNING: Ogg Vorbis support disabled

With this change:

checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for ov_open_callbacks in -lvorbisfile... yes
-- dynamic libvorbisfile -> libvorbisfile.so.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-31 11:43:37 -08:00
Wang Mingyu 7ec6afebf7 libsdl2-ttf: upgrade 2.0.14 -> 2.0.15
-License-Update: Copyright year updated to 2019.

use.pkg-config.for.freetype2.patch
Removed since source is changed.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Wang Mingyu 3254dcee6d libsdl2-mixer: upgrade 2.0.2 -> 2.0.4
-License-Update: Copyright year updated to 2018.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Wang Mingyu 8f1ef16dcc libsdl2-image: upgrade 2.0.3 -> 2.0.5
-License-Update: Copyright year updated to 2019.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Zheng Ruoqin 012054dea6 libsdl: Refresh patch
Refresh CVE-2019-7577.patch as it can't be applyed when using PATCHTOOL = "patch".

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-24 23:49:55 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Anuj Mittal 915098ffae libsdl: import from OE-Core
Include the recipe from OE-Core along with some additional patches to
fix CVEs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-23 18:39:29 -07:00
Andreas Müller 184c136614 libsdl-gfx: initial add 2.0.25
Recipes like this live in in meta-games and meta-game-emulators. Once applied
here, pull requests will go out.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04 08:52:54 -07:00
Andreas Müller 5577f91f09 libsdl2-image: upgrade 2.0.1 -> 2.0.3
Licensse checksum was changed by update of copyright year

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Andreas Müller 23561de348 move all libsdl recipes in one folder and follow oe-core's folder for libsdl
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Andreas Müller 227b687ecd libsdl2-net: initial add 2.0.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Andreas Müller 95f1ee0f66 libsdl-net: initial add 1.2.8
This is a cleaned up version of libsdl-net in meta-games. Once applied, a patch
to remove there will be send out.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Martin Jansa f3ca7acd0b libsdl-x11: drop from meta-oe
* there is libsdl in oe-core and nothing depends on libsdl-x11 here

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-30 08:52:38 +01:00
Paul Eggleton 040f75eca2 Drop PRIORITY variable
As discussed on the mailing list, this variable isn't useful and if wanted
would be better implemented by distros using pn-X overrides.

This patch executes:

find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d'

against the tree removing the references. Thanks to Phil Blundell for
the command.

(Prompted by oe-core rev: d122343362669c683acc4af295971a62cbc823fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-14 16:49:27 +01:00
Koen Kooi fee27f922a libsdl 1.2.14: import from OE rev 58b79786c6
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:25 +02:00