From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 413271F59D for ; Fri, 29 Jul 2022 15:41:47 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="evS6pT1S"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237502AbiG2Plc (ORCPT ); Fri, 29 Jul 2022 11:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237963AbiG2PlT (ORCPT ); Fri, 29 Jul 2022 11:41:19 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01B23DEF1 for ; Fri, 29 Jul 2022 08:41:18 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id j7so6475049wrh.3 for ; Fri, 29 Jul 2022 08:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=Gi7eQE4bphs3GvKkhd9KoO0LlbN4b6qLPf3k7p/Di7w=; b=evS6pT1SPp6dUeBqeZ6+hkbtqi7YdPg3FRuOcry/tLM1mbEpS4N1Q2OyvwftR214YX GtfzA6Z52Yye4SogFwZAG38TavOs+eEqsnz69quJTy4/EJlbIs8krmq4uNOkdNqudTq+ uMm6i0wE85Rjm6JMQfpI83mCxZr/QlVXycTuqjY65QouaMTYg6ZXYwexkM8t6CNBdpCi AvYe39mDn+g5MASQjaMt2iXpfvKdGLtiCs4J5hmq/R+dNI+rTApPxtMMwEWnO1La1Xat UDFBL72NZ2m0Ssprboujozu7PvQYRC2M1vG1+MOQ0J/JGXtjhVBeizGaccJs0akJ7Dif z9CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=Gi7eQE4bphs3GvKkhd9KoO0LlbN4b6qLPf3k7p/Di7w=; b=RusXXLR9slUpAjbZEQ5V3tAS8ClqW1hB04wyd2qYnqF1kTMkk1k4tnI7NgakiBe/iR UvsoQaCxlqm+/P7l5V7llAsjhp3fbjrq4lZcdgG7Bh5mywp3n9FPwX1YOgaBAz5o2OUL iXTie38JwebTipFvxXkDUZArYTUWDACaVjohEpQ2E4V7G50Zue3bM7/8peNF/77JeREG qWfDHSEM0qyKl/XrwRJvTY5a2KxGtw6eWGwQbIqdcVF9VeyXCvhe5R4xcrMOxjlpdWx9 /2w+X30yeiLW3l0CDaooP5UlJdk/1U/q+VE+DEyXExpOCFj29AIYmSU7hqnjjf/nZBJ5 +uKA== X-Gm-Message-State: ACgBeo19WHDItFSJtd/ed44/KbaFDuBJiKe3RXJeCYMD96x4k7PM/bm8 kxYRy8JwIREKztx6kehFJi/w139DXrk= X-Google-Smtp-Source: AA6agR6fShHq9ExSidelVM0ZNknoKRTZ7BY5NF0dKTC8t+l/cI6YOYn+CNQT2TtSE/yU1AToHVYzGQ== X-Received: by 2002:a05:6000:1d90:b0:21e:b665:d90c with SMTP id bk16-20020a0560001d9000b0021eb665d90cmr2841689wrb.273.1659109276042; Fri, 29 Jul 2022 08:41:16 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id f19-20020adfb613000000b0021e13efa17esm3847632wre.70.2022.07.29.08.41.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 08:41:15 -0700 (PDT) Message-Id: <5d9b087625a454ad3b505bb968bb72ce3d54140c.1659109272.git.gitgitgadget@gmail.com> In-Reply-To: References: From: "Johannes Schindelin via GitGitGadget" Date: Fri, 29 Jul 2022 15:41:09 +0000 Subject: [PATCH v2 1/3] windows: include the Python bits when building Git for Windows Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: Johannes Schindelin , Johannes Schindelin Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Johannes Schindelin While Git for Windows does not _ship_ Python (in order to save on bandwidth), MSYS2 provides very fine Python interpreters that users can easily take advantage of, by using Git for Windows within its SDK. Previously, we excluded the Python bits, mostly due to historical reasons: In the Git for Windows v1.x days, we built Git using MSys/MinGW, without support for any Python scripts. Therefore, let's move out the `NO_PYTHON` definition from the generic part of the MINGW section (which includes special handling for MSYS2/Git for Windows, for the long-superseded msysGit environment, as well as for the setup of probably just one developer remaining with their MSys1) into the two sections that cover different environments than Git for Windows' SDK. Signed-off-by: Johannes Schindelin --- config.mak.uname | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.mak.uname b/config.mak.uname index ce83cad47a2..fd7b6a90429 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -656,7 +656,6 @@ ifeq ($(uname_S),MINGW) UNRELIABLE_FSTAT = UnfortunatelyYes OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo NO_REGEX = YesPlease - NO_PYTHON = YesPlease ETAGS_TARGET = ETAGS NO_POSIX_GOODIES = UnfortunatelyYes DEFAULT_HELP_FORMAT = html @@ -686,6 +685,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT)) INTERNAL_QSORT = YesPlease HAVE_LIBCHARSET_H = YesPlease NO_GETTEXT = YesPlease + NO_PYTHON = YesPlease COMPAT_CFLAGS += -D__USE_MINGW_ACCESS else ifneq ($(shell expr "$(uname_R)" : '1\.'),2) @@ -730,6 +730,7 @@ else else COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO NO_CURL = YesPlease + NO_PYTHON = YesPlease endif endif endif -- gitgitgadget