From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPRcHKevnmBYOwEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 19:13:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MEoJGKevnmAgDgAAB5/wlQ (envelope-from ) for ; Fri, 14 May 2021 17:13:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A15252C8D2 for ; Fri, 14 May 2021 19:13:10 +0200 (CEST) Received: from localhost ([::1]:40200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhbN7-0002ku-2W for larch@yhetil.org; Fri, 14 May 2021 13:13:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhbL7-0000vr-W5 for guix-patches@gnu.org; Fri, 14 May 2021 13:11:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhbL4-0007Vj-76 for guix-patches@gnu.org; Fri, 14 May 2021 13:11:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhbL4-0005sG-1z for guix-patches@gnu.org; Fri, 14 May 2021 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48126] [PATCH] Add package for vim-solarized Resent-From: Tissevert Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 May 2021 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48126 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48126@debbugs.gnu.org Cc: Tobias Geerinckx-Rice Received: via spool by 48126-submit@debbugs.gnu.org id=B48126.162101224722556 (code B ref 48126); Fri, 14 May 2021 17:11:02 +0000 Received: (at 48126) by debbugs.gnu.org; 14 May 2021 17:10:47 +0000 Received: from localhost ([127.0.0.1]:46961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhbKo-0005rk-Gm for submit@debbugs.gnu.org; Fri, 14 May 2021 13:10:46 -0400 Received: from marvid.fr ([163.172.81.107]:36262 helo=courriel.marvid.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhbKl-0005rU-Ev for 48126@debbugs.gnu.org; Fri, 14 May 2021 13:10:45 -0400 Received: from hellebore (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id D93E6532A969; Fri, 14 May 2021 19:10:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=marvid.fr; s=201901; t=1621012236; bh=9xlPIOZBz1CjPEOXr18bJ8YL8xuVpgti30pKIIeRNgM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=b1fcWSgIpYBd/jytnRRNwUMgw4izhDNCU10MEWBnyl4zw/gEQ1Sc1skCybGmQd1Y/ D8TMDF+JgP44PshL6iPNQJn+nVyz3sNf03L950axZHcb7KmW3nsrAroQkQlY/r6+H/ EVThSt8kONXM9RN/XMjQLGXGv89r179dboD54V0M= Date: Fri, 14 May 2021 19:10:28 +0200 From: Tissevert Message-ID: References: <20210430194235.1461cada@pine.local> <87im43qs01.fsf@nckx> <87fsz7qroo.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="oR9fvH61OxgyOkJo" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621012390; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=u3elUthNXvReJWo7WDEQBnbE+9aQ2yK+2Oq0JRzoOZg=; b=NO6TcEt3tFMuFzbgqtFynR4Rq4+HMVrF+pcB9SsZDtHNqY+NFOn/jBNJ0T+2zvIKCQLzVV 0WiAF0gtWhs2Gjnzqa3p98DPQWIVZyKqxH8nQO3Qxry35lmFul2FMKkNe+w+UHJf6yCure njYOgY+ScjbjpTgqr0tEzhISNb+ats6CO6aF5FFQ+W/P6sOMKTB9RMlrFEbsZqUK7KLY3E xF/Hjzcv8OfKP2t0v9yLWBZA3ySIJI/V7PAknTbzr4MLdQ3PP5Nudr6Nr//kybsBq3qzr3 iSox/rbNUONRP6KP0ieQcaZwirc7WKxtOPdNMvy3E0c/0yxL1n4h3RWFd2Nr4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621012390; a=rsa-sha256; cv=none; b=OhwdXe2LS893G+mPUC9fITc5rlm/eBSn5Y0wnH/YKVz+VfAmaU67EAOgMKfanMzJkKexkK sMUZX1JWNqPbAInKqpYbtYyotQgt0tFAzQFkwzfFaHyQ+sFarE3Lg93B8eAd3RYsAQIHt3 i+HkqcDz+oihnqEdv6v1DcdlrM5CPiUx24PJ4D5Niv398uOywFIlBzSdfU7diVOMie2llh N48jMrfS+kAmxPnZu5RQqVbgwILzX9ZNdiOY9brk9dn+r842LqLKwzC3pxcMTSPh9SkQN9 xbGis8Ijdf/PePjXZpDrvQ/8eD1FTAD/d6P+wsRXX7vbwzTHXUQ6e7LUPU++Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b=b1fcWSgI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b=b1fcWSgI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A15252C8D2 X-Spam-Score: 1.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: yFnwNH1ACf5i --oR9fvH61OxgyOkJo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hey, This time I think the 2nd version of the patch has the right format. Actually it's kind of a 3rd version because there was still an indentation problem (tabs had creeped undected as far as my package's description) and a repetition in the text. And I have no idea why using etc/indent-code.el had broken the whole file last time, it's worked fine and has modified only my region this time. So, it was still useful practice for me : ) And I really hope it's good this time : ) Kind regards, Tissevert Le Tue, May 04, 2021 at 10:56:27PM +0200, Tissevert a écrit : > Hello ! > > Thanks a lot for all your feedback. > > It took me a little while but I think I've improved my first patch proposal. I > had tried to indent the code automatically like mentioned in the video tutorial > using etc/indent-code.el but obviously this had failed. Maybe I overwrote the > changes with vim ? Anyway, I tried doing it again but there are many other > badly indented blocks in the rest of the file so it is hard to do and retain > only what is in my new package. So I've done it twice during the process, but > it could still be a little weird. > > I changed the source to use the main «heavy» repos, and since it has a release > tag but the actual commit corresponding to this tag is a little behind the > current state (I checked the diff, it has changes to the vim files, not just > the documentation) so I used the latest commit as target to be sure the most > recent changes were included in the package even though I still call it by the > name of the most recent tag. > > So here goes. > > Kind regards, > > Tissevert > > --oR9fvH61OxgyOkJo Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Add-package-for-vim-solarized.patch" Content-Transfer-Encoding: 8bit >From 23f26c93fca3a5468774e419e07a9efb82339214 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Fri, 30 Apr 2021 19:04:35 +0200 Subject: [PATCH] Add package for vim-solarized --- gnu/packages/vim.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 47ac984fc7..9e1eaa7fbd 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2019, 2020 Jakub KÄ…dzioÅ‚ka ;;; Copyright © 2020 Jack Hill ;;; Copyright © 2021 Simon Tournier +;;; Copyright © 2021 Tissevert ;;; ;;; This file is part of GNU Guix. ;;; @@ -579,6 +580,41 @@ are detected, the user is notified.") (home-page "https://github.com/vim-syntastic/syntastic") (license license:wtfpl2))) +(define-public vim-solarized + (let ((commit "62f656a02f93c5190a8753159e34b385588d5ff3") + (revision "1")) + (package + (name "vim-solarized") + (version (git-version "v1.0.0beta1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/altercation/vim-colors-solarized") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0001mz5v3a8zvi3gzmxhi3yrsb6hs7qf6i497arsngnvj2cwn61d")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("vim-colors-solarized/colors" "share/vim/vimfiles/") + ("vim-colors-solarized/doc" "share/vim/vimfiles/")))) + (home-page "https://github.com/altercation/vim-colors-solarized") + (synopsis "Solarized color scheme for Vim") + (description + "Solarized is a 16-color palette comprising 8 monotones and 8 accent +colors. It was designed for use with both terminal and GUI applicatins, and +has a dark and a light mode. + +Based on CIELAB lightness relationships between colors, this theme reduces +brightness contrast but retains contrasting hues based on colorwheel relations +for syntax highlighting readability. + +It keeps the same selective contrast relationships and overall feel when +switching between the light and dark background modes.") + (license license:expat)))) + (define-public editorconfig-vim (package (name "editorconfig-vim") -- 2.31.1 --oR9fvH61OxgyOkJo--