Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889592 - app-emacs/xclip RDEPEND on x11-misc/xclip should be optional
Summary: app-emacs/xclip RDEPEND on x11-misc/xclip should be optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-03 20:40 UTC by CaptainBlood
Modified: 2023-01-04 20:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2023-01-03 20:40:15 UTC
Currently x11-misc/xclip is forcibly installed.

[https://github.com/emacsmirror/xclip/blob/master/xclip.el]
snippet from xclip.el:

;;; Commentary:

;; This package allows Emacs to copy to and paste from the GUI clipboard
;; when running in text terminal.
;;
;; It can use external command-line tools for that, which you may need
;; to install in order for the package to work.
;; More specifically, it can use the following tools:
;; - Under X11: `xclip' or `xsel' (http://xclip.sourceforge.net and
;;   http://www.vergenet.net/~conrad/software/xsel/ respectively).
;; - MacOS: `pbpaste/pbcopy'
;; - Cygwin: `getclip/putclip'
;; - Under Wayland: `wl-clipboard' (https://github.com/bugaevc/wl-clipboard)
;; - Termux: `termux-clipboard-get/set'
;; - Emacs: It can also use Emacs's built-in GUI support to talk to the GUI.
;;   This requires an Emacs built with GUI support.
;;   It uses `make-frame-on-display' which has been tested to work under X11,
;;   but it's not known whether it works under MacOS or Windows.

Reproducible: Always
Comment 1 Maciej Barć gentoo-dev 2023-01-04 17:27:17 UTC
Thanks a lot for spotting this CaptainBlood!
Comment 2 Larry the Git Cow gentoo-dev 2023-01-04 17:27:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd3f590e55803bbd11a04837c512957aa82944d

commit 4fd3f590e55803bbd11a04837c512957aa82944d
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-01-04 17:26:20 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-01-04 17:27:23 +0000

    app-emacs/xclip: move x11-misc/xclip to optfeature
    
    Closes: https://bugs.gentoo.org/889592
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-emacs/xclip/{xclip-1.11.ebuild => xclip-1.11-r1.ebuild} | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
Comment 3 CaptainBlood 2023-01-04 20:50:03 UTC
(In reply to Maciej Barć from comment #1)
> Thanks a lot for spotting this CaptainBlood!

Blazing fast & working fine upgrade here.

Happy to learn about ebuild optfeature too.

Thks