From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 06:03:57 2024 Received: (at submit) by debbugs.gnu.org; 17 Jul 2024 10:03:57 +0000 Received: from localhost ([127.0.0.1]:35115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU1Vt-0001fO-0j for submit@debbugs.gnu.org; Wed, 17 Jul 2024 06:03:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:37052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU1Vq-0001fE-76 for submit@debbugs.gnu.org; Wed, 17 Jul 2024 06:03:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU1Vm-000757-QY for guix-patches@gnu.org; Wed, 17 Jul 2024 06:03:50 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU1Vj-0000hO-Qt for guix-patches@gnu.org; Wed, 17 Jul 2024 06:03:50 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 35E9422302C1 for ; Wed, 17 Jul 2024 12:03:34 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20240523; t=1721210612; x=1723025013; bh=n2bVG6Nvquy0mAdE6EA yQ+/yI/fk9iSkSVKiiZGWojM=; b=S5tdZrjSpOb1RMAoy/N0Y5DxcZn0rX9zzua ab5CRRfGLZKkJe26aix2+enbBVZ65tSfEh/VD1X+dttrQuD3q8/r/JM5L0/xStxU C6UMZ1YHo567dausGcSqe/IvxZRbTfxWNqtON/uhMADwtctc/MqMHbTg/GxxEOYO dbWmOMCJwtyivzgUA9kBN9y3zKNeGswnmfX7GvAlhQhPnUNguRzQv67ZUyreZQVj cde6UgUpG/K/WkyADx+AxyM8cOOYinnDV7KD1EPMtHB0Hbr3g0bITVHr8A9xNsId OoZWCWkXCxloDsEg7eQQP294yaRoSWig1dZwV+RBcYnJS3Dsjsw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 2eHrVaI8Nwwy for ; Wed, 17 Jul 2024 12:03:32 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 7F8FF25F919B for ; Wed, 17 Jul 2024 12:03:31 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 2A24F30758EE for ; Wed, 17 Jul 2024 12:03:31 +0200 (CEST) From: chris To: guix-patches@gnu.org Subject: [PATCH] gnu: highlight: Use correct location for default configuration files. Date: Wed, 17 Jul 2024 03:01:51 -0700 Message-ID: <2879046cb3a25f854aef5f3e2c8c6528bfb3b484.1721210511.git.chris@bumblehead.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: chris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/pretty-print.scm (highlight): Use correct location for default configuration files. Resolves missing filetypes.conf warnings. [arguments]: Output default configurations to etc. Change-Id: Ic9404cfb3490e5a212d46dfc483ee5eacbb906aa --- gnu/packages/pretty-print.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index 220761fc07..e754b31668 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -369,11 +369,9 @@ (define-public highlight (arguments (list #:tests? #f ;no tests - #:make-flags #~(let ((confdir (string-append #$output - "/share/highlight/config/"))) - (list (string-append "PREFIX=" #$output) - (string-append "HL_CONFIG_DIR=" confdir) - (string-append "conf_dir=" confdir))) + #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "HL_CONFIG_DIR=" #$output "/etc/") + (string-append "conf_dir=" #$output "/etc/")) #:phases #~(modify-phases %standard-phases (delete 'configure) ;no configure script (add-after 'unpack 'fix-search-for-lua base-commit: a800c49fb767f549fbc0eefe8dce6daa5da8604c -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 06:14:18 2024 Received: (at 72152) by debbugs.gnu.org; 17 Jul 2024 10:14:18 +0000 Received: from localhost ([127.0.0.1]:35120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU1fu-0001wX-7e for submit@debbugs.gnu.org; Wed, 17 Jul 2024 06:14:18 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:59436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU1fr-0001wJ-QM for 72152@debbugs.gnu.org; Wed, 17 Jul 2024 06:14:17 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id CC4693205455 for <72152@debbugs.gnu.org>; Wed, 17 Jul 2024 12:14:06 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received :received:received; s=dkim20240523; t=1721211243; x=1723025644; bh=4i0GH81zkDVLeHA4/cQoWyG+2uvEYxZKXXG9ArRlAUQ=; b=kfOeg0yj+vjE Id12S6N0EHx0Jo8TbsykPC3ORiX4Zao7LK5wVqjO7y/NSjWCWEgsQ/9lQplXoUMy CEnlaLCT/Tp6Om6GjjkOAwhAllquj5VqycFV9DJwGLOLEwBUn5OoHWX5zMo2meVK vOeIx4PCZL40oufIWxuqSccsWBaJxAwY2rYoEIE4lmKG1iE81yqN5Yr/d0gDQKjB dOmmH8ed4keFCVtuaafm5xYrfkFYEwSwrEA6Ih4Ai+kwnroegfKptwuM8vjJ8OE7 rTM1E7bZHD90xB3MLtXHKgdYVDE8vueNbpqlvCZE4yitGn8I6sEoTLJ+PzYNcAUJ wt2VfZaxDw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id e9hI2IuN5KLO for <72152@debbugs.gnu.org>; Wed, 17 Jul 2024 12:14:03 +0200 (CEST) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id EA5A83205454 for <72152@debbugs.gnu.org>; Wed, 17 Jul 2024 12:14:02 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id A12FD20BF0A3 for <72152@debbugs.gnu.org>; Wed, 17 Jul 2024 12:14:02 +0200 (CEST) Date: Wed, 17 Jul 2024 03:12:35 -0700 From: chris To: 72152@debbugs.gnu.org Subject: explanation of patch Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72152 Cc: chris@bumblehead.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This patch resolves a situation that causes an annoying warning, "cannot open filetypes.conf". The warning discussed in more detail here https://issues.guix.gnu.org/68948 To see the warning from the unpatched version, this shell command, ``` $ echo "(highlight (package bug))" | highlight -O xterm256 --syntax lisp cannot open filetypes.conf: No such file or directory (highlight (package bug)) ``` Using the patched package definition, no warning is seen