From patchwork Wed Jan 31 06:28:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Willemse X-Patchwork-Id: 59665 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 387D527BBE2; Wed, 31 Jan 2024 06:31:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9F71327BBE9 for ; Wed, 31 Jan 2024 06:31:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV47a-0000Ub-O1; Wed, 31 Jan 2024 01:30:54 -0500 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 1rV47Z-0000UT-Gk for guix-patches@gnu.org; Wed, 31 Jan 2024 01:30:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rV47Z-0005xP-8L for guix-patches@gnu.org; Wed, 31 Jan 2024 01:30:53 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rV47i-0004LB-1K; Wed, 31 Jan 2024 01:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68839] [PATCH] gnu: Include company icons and documentation images Resent-From: Tom Willemse Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 31 Jan 2024 06:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68839@debbugs.gnu.org Cc: Tom Willemse , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.170668264016649 (code B ref -1); Wed, 31 Jan 2024 06:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2024 06:30:40 +0000 Received: from localhost ([127.0.0.1]:37308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV47L-0004KT-Tw for submit@debbugs.gnu.org; Wed, 31 Jan 2024 01:30:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rV47J-0004KE-PF for submit@debbugs.gnu.org; Wed, 31 Jan 2024 01:30:38 -0500 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 1rV474-0000Qt-GK for guix-patches@gnu.org; Wed, 31 Jan 2024 01:30:22 -0500 Received: from r0-2.smtpout1.paris1.alwaysdata.com ([2a00:b6e0:1:40:1:0:10:6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV46u-0005ni-Da for guix-patches@gnu.org; Wed, 31 Jan 2024 01:30:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BrSSWzIVZlvAlo3tTFOSfJwMPIdTUPrmO9wMKwY+Eg0=; b=cmLqRdLPG2T2XVcp1wlSZFimzU oUN3jHHCQy2DjG04Giuk3wy+1M4tqVCe0LQDOOjEQ2CgVwYfAjKqQpr+cjq+TmeGHe8scXyFRUyAg jP0Hh0020LM1iewzOEDEl8TW/B9at6RmfIZveWSEYjWCMlbzqkoEySL1HDpWGipy7pVY=; Received: from node-1w7jr9pqliri9tslsf7amsrmv.ipv6.telus.net ([2001:569:5856:9800:9b7b:9a49:2ca1:e8e7] helo=localhost) by smtpout1.paris1.alwaysdata.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rV46n-0002Mr-QN; Wed, 31 Jan 2024 07:30:06 +0100 From: Tom Willemse Date: Tue, 30 Jan 2024 22:28:32 -0800 Message-ID: <61f61e5ddfa4e623eda547ea9545ca4cae3350dd.1706682512.git.tom@ryuslash.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-alwaysdata-ID: 270326889 Received-SPF: pass client-ip=2a00:b6e0:1:40:1:0:10:6; envelope-from=tom@ryuslash.org; helo=r0-2.smtpout1.paris1.alwaysdata.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-company): Include icons and documentation images. Change-Id: I8b7515141fa71fcb4b199bfaa268ddd4ab117743 --- gnu/packages/emacs-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) base-commit: c4687f5437ad89a7e87deed1933b60f6eac83176 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4514bd1b25..61174f03ac 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -9261,6 +9261,18 @@ (define-public emacs-company (sha256 (base32 "0j2qrnx2w2al4f2n37b89q0pkabh5ccv00gsknvgaylhy0za5gq9")))) (build-system emacs-build-system) + (arguments + (list + #:include #~(cons* "icons/" %default-include) + #:phases + #~(modify-phases %standard-phases + (add-after 'move-doc 'install-doc-images + (lambda* (#:key outputs #:allow-other-keys) + (let ((images (find-files "./images/small/" ".*\\.png$"))) + (for-each (lambda (image) + (install-file image + (string-append #$output "/share/info/images/small"))) + images))))))) (home-page "https://company-mode.github.io/") (synopsis "Modular text completion framework") (description