Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9661C4332F for ; Mon, 12 Dec 2022 15:35:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 3D66660E02; Mon, 12 Dec 2022 15:35:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 3D66660E02 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0yl025tRbL85; Mon, 12 Dec 2022 15:35:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 7F77360D5B; Mon, 12 Dec 2022 15:35:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7F77360D5B Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 44FAA1BF2B4 for ; Mon, 12 Dec 2022 15:35:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1EABC812E7 for ; Mon, 12 Dec 2022 15:35:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1EABC812E7 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VYYraT3yv3q1 for ; Mon, 12 Dec 2022 15:35:44 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 096B4812DA Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by smtp1.osuosl.org (Postfix) with ESMTPS id 096B4812DA for ; Mon, 12 Dec 2022 15:35:43 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id h11so12465231wrw.13 for ; Mon, 12 Dec 2022 07:35:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5g4BmqGuLGgqVRkClBnMX3E6//pH4FCB52RIcle5YS4=; b=agLGCCAXCio+InNiD3pci3imoK0tc2MEbpAZlREc5JAyr25/c/dK3T/8jS1uFpmTfb DzZ0lu1ajRrVRMqByhicVS/s6zVcMjOIOAd3JUDcyu0wcM2qM1ofNDgwA92ERxKcFOni 9vZr5+wrJXuQp5LEOlUJQ4UYKUrE5++mwLW+jNAzPs1G8C0F0F1g0+LlEEC97MHXB7X7 Er0blO/HvhOEArsxHyl7xKQDjHXAYEJBWVZFtrzTBy23Gksai/GfQx/BQlBZb9soj1VH Ql7B09fJj3Mq5Jo68y3D6OfgftOfu9sLmHkSLsCSqmfpB7rM8sVELJ2VJZlLG1Da6QEI TGvA== X-Gm-Message-State: ANoB5pnYfwuElgEGAR7xNuuVccu7OVp+mhqxEuQ1XbcJSZgFHCEJXduq 9I7tyIhHgdWwFiGNyPJn7uqllVuB33oWmQ== X-Google-Smtp-Source: AA0mqf7P5wY8E/hHvDMh9saxjwLvOBUi4mcw3XZDysSUjv69NgyGIIAAoaGCvFAkryjuS2FVtBMl+Q== X-Received: by 2002:adf:dbc4:0:b0:242:bef:80a7 with SMTP id e4-20020adfdbc4000000b002420bef80a7mr11170840wrj.49.1670859341816; Mon, 12 Dec 2022 07:35:41 -0800 (PST) Received: from thomas-OptiPlex-7090.nmg.localnet (d528f5fc4.static.telenet.be. [82.143.95.196]) by smtp.gmail.com with ESMTPSA id x12-20020a5d444c000000b00241bd7a7165sm9202479wrr.82.2022.12.12.07.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 07:35:41 -0800 (PST) From: Thomas Devoogdt X-Google-Original-From: Thomas Devoogdt To: buildroot@buildroot.org Date: Mon, 12 Dec 2022 16:35:34 +0100 Message-Id: <20221212153534.1782735-1-thomas.devoogdt@barco.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=5g4BmqGuLGgqVRkClBnMX3E6//pH4FCB52RIcle5YS4=; b=Pbr1T8RgQA4LHVFr877At4+QP6CTUky/rdpzhEIocr0EVTELGuAhZ5t/BOCFK477ob xrShdd7AraCAiYOZDZ/QGWQiahvtYCCklkwZBeCmURk4WN3NqMLo5W+/f7+fT5JI2/+C 1TAdqNJF8CsKAe9qnZL3etlBeFxlGBQdlJlMsoMc2IN/qBPY6UXTClbbWf1BaGYqpUyU M90I5u2tqEnn60zTYJn02ves203UpwkoMawbU5N5IZI6/gL7OxD0LyHDzE/N/fwEvmQU BkwCCkPHZYRmT3wNXT84pd/3x5Hk7S2pd53T8uy44Gv2SUsMP1hhw5V+Ggq5D9rKwSCj AmuQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Pbr1T8Rg Subject: [Buildroot] [PATCH 1/1] package/unifdef: add new package 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: Adrian Perez de Castro , Thomas Devoogdt , Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" A small package that does "Selectively remove C preprocessor conditionals". The package will be needed for the upcoming webkitgtk 2.40.0 release. I personally added it to get started with 2.39.2. See: https://github.com/WebKit/WebKit/commit/f76a7e30e5749af897b83cc75b2534b1afa32552 Signed-off-by: Thomas Devoogdt --- .../0001-Makefile-fix-error-on-install.patch | 31 +++++++++++++++++++ package/unifdef/unifdef.hash | 3 ++ package/unifdef/unifdef.mk | 20 ++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 package/unifdef/0001-Makefile-fix-error-on-install.patch create mode 100644 package/unifdef/unifdef.hash create mode 100644 package/unifdef/unifdef.mk diff --git a/package/unifdef/0001-Makefile-fix-error-on-install.patch b/package/unifdef/0001-Makefile-fix-error-on-install.patch new file mode 100644 index 0000000000..c959a41c5a --- /dev/null +++ b/package/unifdef/0001-Makefile-fix-error-on-install.patch @@ -0,0 +1,31 @@ +From b5e4229918c13bc0c11a523105cdb3a464337b37 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt +Date: Mon, 12 Dec 2022 12:59:59 +0100 +Subject: [PATCH] Makefile: fix error on install + +ln: failed to create symbolic link '/home/thomas/Documents/buildroot/output/host/share/man/man1/unifdefall.1': File exists + +Seen while trying to add this package to buildroot.org. + +(upstream: https://github.com/fanf2/unifdef/pull/16) +Signed-off-by: Thomas Devoogdt +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 36c7028..485927a 100644 +--- a/Makefile ++++ b/Makefile +@@ -28,7 +28,7 @@ install: unifdef unifdefall.sh unifdef.1 + : manual + install -m 755 -d ${man1dest} + install -m 644 unifdef.1 ${man1dest}/ +- ln -s unifdef.1 ${man1dest}/unifdefall.1 ++ ln -f -s unifdef.1 ${man1dest}/unifdefall.1 + + clean: + rm -f unifdef version.h +-- +2.38.1 + diff --git a/package/unifdef/unifdef.hash b/package/unifdef/unifdef.hash new file mode 100644 index 0000000000..989235ed00 --- /dev/null +++ b/package/unifdef/unifdef.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 37ed46a39446b15b08af418fda23b75c27a769d5aad236d817ee7522cc9caeee COPYING +sha256 fba564a24db7b97ebe9329713ac970627b902e5e9e8b14e19e024eb6e278d10b unifdef-2.12.tar.gz diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk new file mode 100644 index 0000000000..0107cd7096 --- /dev/null +++ b/package/unifdef/unifdef.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# unifdef +# +################################################################################ + +UNIFDEF_VERSION = 2.12 +UNIFDEF_SITE = https://dotat.at/prog/unifdef +UNIFDEF_LICENSE = BSD-2-Clause +UNIFDEF_LICENSE_FILES = COPYING + +define HOST_UNIFDEF_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define HOST_UNIFDEF_INSTALL_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) HOME=$(HOST_DIR) install +endef + +$(eval $(host-generic-package)) -- 2.38.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot