From patchwork Fri Nov 15 21:36:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8226 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2K1ZcKz3wpd for ; Fri, 15 Nov 2024 21:36:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Xqr2G034rz13c; Fri, 15 Nov 2024 21:36:53 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Xqr2F4mH9z34Bj; Fri, 15 Nov 2024 21:36:53 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2C4GZgz32sM for ; Fri, 15 Nov 2024 21:36:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Xqr2B4L1Cz1Yq; Fri, 15 Nov 2024 21:36:50 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1731706610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sHsePZYnilQxs+PhBLb2gKD0XpqOHV/iRo93A7dgyYU=; b=8fIk3mTPJ/5o4HSY9lO6YefZgl2UKRIIEJOvFmGoIhiGXc39MDL5xdP632w//1woPU8don x0Lk+6kmCDgcXLBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1731706610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sHsePZYnilQxs+PhBLb2gKD0XpqOHV/iRo93A7dgyYU=; b=IEvas6zgLaAI/W+ydDnZPoIY3As0aF/9D7SCbpwvTN9bKaiZvIpqi+hlWmwKj7XCzxOCar Ryzn3RgVKIdy1fLXQ5onTuW+5pwtyuRap4CH+Bk15H2/UJ5yFp8w+XTeMpNq0LZSSSRLxd p5WAm1OLAE8F3ibgba1azzaidVnlcRc/7CxHkUqptPCO4/KugLWwtGNgfOBhAS4wAkaGCr OpnIuID/lFc+S8izbUfCSnN+qd6cMqljgYMbnWdB9+PbPwmEZ34+zH8irQdAjdgotDfaOj gshA6+aDhyNqGepnVJVEBHkQFPka3/0cnO6NHv/84WxAZah201DAK2ekTVyJ+w== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] cairo: Update to version 1.18.2 Date: Fri, 15 Nov 2024 22:36:32 +0100 Message-ID: <20241115213640.899223-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: X7AEGQS2LNB4LNQUGVCYYF2YIC5QO76B X-Message-ID-Hash: X7AEGQS2LNB4LNQUGVCYYF2YIC5QO76B X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 1.17.6 to 1.18.2 - Update of rootfile - Changelog 1.18.2 The malloc-stats code has been removed from the tests directory [#640]; the canonical location for it is: https://github.com/behdad/malloc-stats Cairo now requires a version of pixman equal to, or newer than, 0.40. [!522] There have been multiple build fixes for newer versions of GCC [!525, !542]; for MSVC [#808]; for Solaris [!540]; and on macOS 10.7 [#810]. PNG errors caused by loading malformed data are correctly propagated to callers, so they can handle the case. [!524] Both stroke and fill colors are now set when showing glyphs on a PDF surface. [#813] All the font options are copied when creating a fallback font object. [#819] When drawing text on macOS, Cairo now tries harder to select the appropriate font name. [#811] Cairo now prefers the COLRv1 table inside a font, if one is available. [!537] Cairo requires a C11 toolchain when building. [!479] 1.18.0 All the API added in the 1.17 development cycle is now considered stable, and will not change. Many thanks to all the contributors for this release. The cairo-sphinx tool has been removed; we could not find any instruction on how to use it, and no user answered our call for help. If you were using cairo-sphinx, please reach out to the cairo maintainers. Cairo now implements Type 3 color fonts for PDF. Thanks to Adrian Johnson for his work on this feature. Khaled Hosny contributed multiple documentation fixes, to ensure that the cairo API reference is up to date. Khaled also fixed multiple compiler warnings generated when building cairo. The XML surface has been removed; it was disabled by default when building cairo, and we could not find any downstream distributor that would enable it. The Tee surface is now automatically enabled. Downstream distributors of cairo have been enabling for years it in order to build Firefox. Fujii Hironori and Adrian Johnson fixed multiple issues with the DWrite font backend. John Ralls improved the Quartz surface; mainly, Quartz surfaces now use the main display ColorSpace, speeding up rendering operations. Cairo now hides all private symbols by default on every platform; the old "slim" symbols hack to alias internally used symbols has been dropped, in favor of using `-Bsymbolic-functions` with toolchains that support it. Uli Schlachter fixed multiple memory leaks in the code base and test suite, and helped with many reviews and general maintenance. Marc Jeanmougin added new API to expose the Pixman dithering filter to cairo patterns; this is currently implemented only for image surfaces. 1.17.8 In a continuing effort to reduce the amount of legacy code, and increase the long-term maintainability of cairo, the following backends have been removed: - GL and GLES drawing Additionally, cairo's Autotools build system has been removed; from now on, cairo will only support the Meson build system. While the end result should be identical, further testing is appreciated. In this snapshot, cairo gained support for rendering COLRv1 fonts, and rendering SVG and COLRv1 fonts with custom palettes. Support for macOS and Windows has been improved, with lots of build and bug fixes. Lots of safety issues have been fixed, with array bounds checking and plugging memory leaks, as well as fixes for bugs identified via fuzzying. This is going to be the last snapshot of the 1.17 development cycle; we only expect minor bug fixing and improvements until the 1.18.0 release. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/cairo | 13 ++++++------- lfs/cairo | 12 ++++++------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/config/rootfiles/common/cairo b/config/rootfiles/common/cairo index c83ed107c..2e4474607 100644 --- a/config/rootfiles/common/cairo +++ b/config/rootfiles/common/cairo @@ -9,23 +9,21 @@ #usr/include/cairo/cairo-script-interpreter.h #usr/include/cairo/cairo-script.h #usr/include/cairo/cairo-svg.h +#usr/include/cairo/cairo-tee.h #usr/include/cairo/cairo-version.h #usr/include/cairo/cairo.h #usr/lib/cairo -#usr/lib/cairo/libcairo-trace.la +#usr/lib/cairo/libcairo-fdr.so #usr/lib/cairo/libcairo-trace.so -#usr/lib/libcairo-gobject.la #usr/lib/libcairo-gobject.so usr/lib/libcairo-gobject.so.2 -usr/lib/libcairo-gobject.so.2.11706.0 -#usr/lib/libcairo-script-interpreter.la +usr/lib/libcairo-gobject.so.2.11802.2 #usr/lib/libcairo-script-interpreter.so usr/lib/libcairo-script-interpreter.so.2 -usr/lib/libcairo-script-interpreter.so.2.11706.0 -#usr/lib/libcairo.la +usr/lib/libcairo-script-interpreter.so.2.11802.2 #usr/lib/libcairo.so usr/lib/libcairo.so.2 -usr/lib/libcairo.so.2.11706.0 +usr/lib/libcairo.so.2.11802.2 #usr/lib/pkgconfig/cairo-fc.pc #usr/lib/pkgconfig/cairo-ft.pc #usr/lib/pkgconfig/cairo-gobject.pc @@ -35,4 +33,5 @@ usr/lib/libcairo.so.2.11706.0 #usr/lib/pkgconfig/cairo-script-interpreter.pc #usr/lib/pkgconfig/cairo-script.pc #usr/lib/pkgconfig/cairo-svg.pc +#usr/lib/pkgconfig/cairo-tee.pc #usr/lib/pkgconfig/cairo.pc diff --git a/lfs/cairo b/lfs/cairo index 30744b3d7..b15c665e4 100644 --- a/lfs/cairo +++ b/lfs/cairo @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2024 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,10 +24,10 @@ include Config -VER = 1.17.6 +VER = 1.18.2 THISAPP = cairo-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 05ac766d33e9bdfc5df0347e9a80611554d64886715d1620fbe6f05f36f0134e46e1e6107738d260b380fab5ef2ac609922dce9ebcac01234710d8e2a76e9724 +$(DL_FILE)_BLAKE2 = 6046ebc96bf79ef4fcff476d998cee756b0132198c129b049101ab7a70fe420b37f0f0b3ff90c51188005a19b87cb9dabe451bd97679d75ef397f0b3feb2af14 install : $(TARGET) @@ -70,8 +70,8 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && meson \ - --prefix=/usr \ + cd $(DIR_APP) && meson setup \ + --prefix=/usr \ builddir/ cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) cd $(DIR_APP) && ninja -C builddir/ install