From patchwork Mon Sep 16 09:31:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guillaume GC. Chaye" X-Patchwork-Id: 1986057 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X6fp21b1Dz1y1g for ; Mon, 16 Sep 2024 19:32:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 523744013B; Mon, 16 Sep 2024 09:32:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id A7otFeCB-tbG; Mon, 16 Sep 2024 09:32:22 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3B4A740110 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3B4A740110; Mon, 16 Sep 2024 09:32:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C9C5D1BF95A for ; Mon, 16 Sep 2024 09:32:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B85C86061F for ; Mon, 16 Sep 2024 09:32:20 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id nYqrxLtkrfVt for ; Mon, 16 Sep 2024 09:32:20 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=188.165.44.123; helo=mail1.insia.net; envelope-from=guillaume.chaye@zeetim.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org D51AC605CB DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D51AC605CB Received: from mail1.insia.net (mail1.insia.net [188.165.44.123]) by smtp3.osuosl.org (Postfix) with ESMTPS id D51AC605CB for ; Mon, 16 Sep 2024 09:32:19 +0000 (UTC) Received: from smtp.insia.net (unknown [192.168.1.24]) by mail1.insia.net (Postfix) with ESMTP id 51C6F3FA3D; Mon, 16 Sep 2024 11:32:13 +0200 (CEST) Received: from sb-dev-build.insia.net. (gw-servers.insia.net [192.168.1.1]) by smtp.insia.net (Postfix) with ESMTP id 364DE5F497; Mon, 16 Sep 2024 11:27:43 +0200 (CEST) From: "Guillaume GC. Chaye" To: buildroot@buildroot.org Date: Mon, 16 Sep 2024 11:31:45 +0200 Message-Id: <20240916093146.2957308-1-guillaume.chaye@zeetim.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zeetim.com; s=mail1; t=1726479133; 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=nGdvyHVqOWTLwXKU4h8Zvp22K7U0wjAa+dZxnUzdVEc=; b=Q8F4hog0uzFVijhV3A/7e6F/Lb+n4ipNKGGcWZeCbz30oVhZYh0b62MvN12XEe9OJqSCCs vYscfHUvnZ9rJCCgmXxV7i+8j7w27K9vKwtIdVV0XDf3B+ud9lYPKU8yfd0wn3mByEjlKI V0Hfw65Mvcow+JXcs/lq2Rsqca7WV+K7G43h4xf3rCtzP1PIC/UctxAnleCC7VnxeHSeSB BOF95eyr4+jApRs1N1cSgU/UGRql8W0vSHiukjHb/qCPDGfEI693JvMyRaDpxr3gYQnsUu OKZc2c4t+OyWTqM40PlDayUDrRqQXzdpqcL+3pf5e82KICBo/SblvL0yEkc01A== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=none (p=none dis=none) header.from=zeetim.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=zeetim.com header.i=@zeetim.com header.a=rsa-sha256 header.s=mail1 header.b=Q8F4hog0 Subject: [Buildroot] [PATCHv3 1/2] package/gdk-pixbuf: fix loader cache update hook X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Guillaume GC. Chaye" , Fabrice Fontaine Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Build loaders.cache before rootfs, so it can include loader from gdk-pixbuf and external loader (e.g.: librsvg) instead of just loader from gdk-pixbuf. Signed-off-by: Guillaume GC. Chaye --- package/gdk-pixbuf/gdk-pixbuf.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk index e041d2cbde..a8a21f0532 100644 --- a/package/gdk-pixbuf/gdk-pixbuf.mk +++ b/package/gdk-pixbuf/gdk-pixbuf.mk @@ -82,7 +82,7 @@ define GDK_PIXBUF_UPDATE_CACHE $(SED) 's,^"lib,"/usr/lib,g' \ $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache endef -GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_UPDATE_CACHE +GDK_PIXBUF_ROOTFS_PRE_CMD_HOOKS += GDK_PIXBUF_UPDATE_CACHE endif # Target gdk-pixbuf needs loaders.cache populated to build for the From patchwork Mon Sep 16 09:31:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guillaume GC. Chaye" X-Patchwork-Id: 1986058 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X6fpG4Cznz1y1g for ; Mon, 16 Sep 2024 19:32:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0CF50404D4; Mon, 16 Sep 2024 09:32:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id A9gQ9rOyuX4L; Mon, 16 Sep 2024 09:32:36 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org BC42640469 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id BC42640469; Mon, 16 Sep 2024 09:32:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id AE0231BF397 for ; Mon, 16 Sep 2024 09:32:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A9D746061F for ; Mon, 16 Sep 2024 09:32:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SRyDkaoz8bAL for ; Mon, 16 Sep 2024 09:32:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=163.172.193.142; helo=mail0.insia.net; envelope-from=guillaume.chaye@zeetim.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org CE4D5605CB DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CE4D5605CB Received: from mail0.insia.net (mail0.insia.net [163.172.193.142]) by smtp3.osuosl.org (Postfix) with ESMTP id CE4D5605CB for ; Mon, 16 Sep 2024 09:32:32 +0000 (UTC) Received: from smtp.insia.net (unknown [192.168.1.24]) by mail0.insia.net (Postfix) with ESMTP id CC26A1FD0F; Mon, 16 Sep 2024 11:32:26 +0200 (CEST) Received: from sb-dev-build.insia.net. (gw-servers.insia.net [192.168.1.1]) by smtp.insia.net (Postfix) with ESMTP id A9B9F5F497; Mon, 16 Sep 2024 11:27:56 +0200 (CEST) From: "Guillaume GC. Chaye" To: buildroot@buildroot.org Date: Mon, 16 Sep 2024 11:31:46 +0200 Message-Id: <20240916093146.2957308-2-guillaume.chaye@zeetim.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240916093146.2957308-1-guillaume.chaye@zeetim.com> References: <20240916093146.2957308-1-guillaume.chaye@zeetim.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zeetim.com; s=mail0; t=1726479146; 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: in-reply-to:in-reply-to:references:references; bh=cZSOsYAG2SaG4pyjwzBQE5cfCQWP1yQ8Y81k1q3oWm0=; b=ClaIDcGKfBbekrFCF9w/J5N8V5s3ECOVXyDmqfl3BHQdVPxVcM5XFt/iPn0WE8zTFCoM2V MfUEJcLGY4kdq4zpnjEl4tON3+RyI6k6pF4+LptZOUdABajZfvUsF4yttoeaI3N9Dv0dnr dsywi4Xb/QOULi0a87dljkaBQvQpDOAZTdZfjwHldKo4LyC+paEW2YerqJatdy1cH/p+fJ QtKUIsL8f6hS9xNYuMSnan/cYiIJlg7tXDyrPvNRpvu5juVgx1lq3w/KodaIUHb1HuZhw1 8k54HghJMWY0ntKKvaC46ZISfXH1ccfle+ipWtt9FG1GyopJPZqmCdLucXcAUg== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=none (p=none dis=none) header.from=zeetim.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=zeetim.com header.i=@zeetim.com header.a=rsa-sha256 header.s=mail0 header.b=ClaIDcGK Subject: [Buildroot] [PATCHv3 2/2] package/librsvg: Enable gdk-pixbuf, so gdk-pixbuf is able to open SVG X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Guillaume GC. Chaye" , Fabrice Fontaine Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Guillaume GC. Chaye --- package/librsvg/librsvg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/librsvg/librsvg.mk b/package/librsvg/librsvg.mk index 81a6667817..6b9200084b 100644 --- a/package/librsvg/librsvg.mk +++ b/package/librsvg/librsvg.mk @@ -12,7 +12,7 @@ LIBRSVG_INSTALL_STAGING = YES LIBRSVG_CONF_ENV = \ LIBS=$(TARGET_NLS_LIBS) \ RUST_TARGET=$(RUSTC_TARGET_NAME) -LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools +LIBRSVG_CONF_OPTS = --enable-pixbuf-loader --disable-tools HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf host-rustc libglib2 libxml2 pango \ $(TARGET_NLS_DEPENDENCIES)