* [bug#68839] [PATCH] gnu: Include company icons and documentation images
@ 2024-01-31 6:28 Tom Willemse
2024-02-19 14:18 ` bug#68839: " Andrew Tropin via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Tom Willemse @ 2024-01-31 6:28 UTC (permalink / raw)
To: 68839
Cc: Tom Willemse, Andrew Tropin, Katherine Cox-Buday,
Liliana Marie Prikler
* 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(+)
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
base-commit: c4687f5437ad89a7e87deed1933b60f6eac83176
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#68839: [PATCH] gnu: Include company icons and documentation images
2024-01-31 6:28 [bug#68839] [PATCH] gnu: Include company icons and documentation images Tom Willemse
@ 2024-02-19 14:18 ` Andrew Tropin via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Tropin via Guix-patches via @ 2024-02-19 14:18 UTC (permalink / raw)
To: Tom Willemse, 68839-done
Cc: Katherine Cox-Buday, Liliana Marie Prikler, Tom Willemse
[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]
On 2024-01-30 22:28, Tom Willemse wrote:
> * 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(+)
>
> 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
>
> base-commit: c4687f5437ad89a7e87deed1933b60f6eac83176
LGTM, thank you for the patch, slightly adjusted the code to fit 80
column, added a trailing dot to commit message, pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=55c94d68df
--
Best regards,
Andrew Tropin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-19 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-31 6:28 [bug#68839] [PATCH] gnu: Include company icons and documentation images Tom Willemse
2024-02-19 14:18 ` bug#68839: " Andrew Tropin via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).