From patchwork Sun Jan 10 19:21:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1424296 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HrYSJqbL; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DDRYl328kz9sWP for ; Mon, 11 Jan 2021 06:22:34 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3878A86791; Sun, 10 Jan 2021 19:22:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gT1eV64pQIhs; Sun, 10 Jan 2021 19:22:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 014258676E; Sun, 10 Jan 2021 19:22:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 62A231BF48D for ; Sun, 10 Jan 2021 19:22:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5085120348 for ; Sun, 10 Jan 2021 19:22:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00G78kyw+1Yd for ; Sun, 10 Jan 2021 19:22:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by silver.osuosl.org (Postfix) with ESMTPS id 655D520341 for ; Sun, 10 Jan 2021 19:22:27 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id v14so12125818wml.1 for ; Sun, 10 Jan 2021 11:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d1T9cdgAHcZvesHT7h+WXfkQXaSK6MnPCc2CSZf/jLs=; b=HrYSJqbLPc+yvEf7f35b5IvkudkENL4pUxoePIvWI41/AEEkV2Lv5kg/z7FZgcOfAI NqkLiGTkJQqxT8haE2G0pUGiQLY3nkspT5fcB0grvoKGigZf3fx+Ra8kKA6faS75Stxl sWu1TCj0pbTdrhH36DMrkzPX/jSNTzIhgPCXIIZF0R3Qh7OVIj9TZr4HDuDpRbhQx65E ztzGvtZboqTL1DHgdJeS65cxfrY3FJUQIa4yuZHQkvA1LFBYNjlQHYFiUKG0IRXwdja6 Vb/t3Iw+aE7bSR+EUfxmIp+os//V+ITPPYWihs98Mv/lI2GUhbtifUGGjAppWAHlfS+6 rvuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d1T9cdgAHcZvesHT7h+WXfkQXaSK6MnPCc2CSZf/jLs=; b=Dc3oaq5dZoPp8mUn+QBVC9zuKWmaRYiVZz0evVWV0EgF+rqbDDyN/JkczimzbJ0I1I j4cQMFl5dLzcwdCbGcUs3Twd0/I7e4WjqNEfV2LZekcdvNQriORc/cLSfdFSSzTgWAS1 TafZhyHQTGy/rVLaggJv5MvcxbsaGLVOCBOhMXu/yA6+I1FwK8NI3KBBx7KaujzwcnYv w3cLbVpU1SQf+LYoVDROJ3CjzEYQKBkQ4i31k82Oml+JkFBWMDApCEY2LKvse3MxepW1 ZFY8XLtj9TtT+aQ2dxNmN+8h7KKeF0PnUPweg2YLhHvsaMl2AL6PdmaCdbsQzCI/Slfc c+/A== X-Gm-Message-State: AOAM531o3ODD4+L5MVbV+BajPbB+udHrhaFNgjsr5tq3YPGufOcVhGhp aJ3iAGcmEgwUQtcIeJ3DEp6YqnQWqluX/g== X-Google-Smtp-Source: ABdhPJyNSNLpXT6LsfbM2849q7UsxlsA+1bkf0dJ39iHQ0sGDImguBXsixqR7/n5v4FTdHpBZA6sEA== X-Received: by 2002:a7b:c1d7:: with SMTP id a23mr11650744wmj.62.1610306545502; Sun, 10 Jan 2021 11:22:25 -0800 (PST) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id g191sm21034069wmg.39.2021.01.10.11.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 11:22:24 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 10 Jan 2021 20:21:24 +0100 Message-Id: <20210110192124.1121117-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/poppler: add gobject-introspection support X-BeenThere: buildroot@busybox.net 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: Olivier Schonken , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- package/poppler/poppler.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk index 0553aec87c..aba8602e06 100644 --- a/package/poppler/poppler.mk +++ b/package/poppler/poppler.mk @@ -17,7 +17,6 @@ POPPLER_CONF_OPTS = \ -DBUILD_GTK_TESTS=OFF \ -DBUILD_QT5_TESTS=OFF \ -DBUILD_CPP_TESTS=OFF \ - -DENABLE_GOBJECT_INTROSPECTION=OFF \ -DENABLE_GTK_DOC=OFF ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) @@ -35,6 +34,13 @@ else POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF endif +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +POPPLER_DEPENDENCIES += gobject-introspection +POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=ON +else +POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF +endif + ifeq ($(BR2_PACKAGE_LIBPNG),y) POPPLER_DEPENDENCIES += libpng POPPLER_CONF_OPTS += -DWITH_PNG=ON