Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy to clipboard is broken in mupdf-gl #88805

Closed
aindlq opened this issue May 24, 2020 · 2 comments
Closed

copy to clipboard is broken in mupdf-gl #88805

aindlq opened this issue May 24, 2020 · 2 comments
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@aindlq
Copy link

aindlq commented May 24, 2020

Describe the bug
Clipboard is broken in mupdf-gl because it should be used with its own fork of freeglut (http://git.ghostscript.com/?p=thirdparty-freeglut.git;a=summary).

To Reproduce
Open any pdf file with mupdf-gl and try to copy anything to the clipboard with right mouse button selection.

Expected behavior
Text that is selected when right mouse button is pressed should be copied into the clipboard.

Additional context
see https://bugs.ghostscript.com/show_bug.cgi?id=699079#c1

However, since you mention not being able to copy the selection at all, you should be aware that you MUST build with OUR copy of FreeGLUT. The standard system FreeGLUT does NOT have copy & paste support. We have added clipboard support to our fork of FreeGLUT. I have tried to get our additions adopted upstream, but the maintainers are slow to respond, so please use our version of freeglut when building mupdf.

Notify maintainers
@vrthra @fpletz

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.42, NixOS, 20.03.1950.48723f48ab9 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(root): `"nixos-20.03.1950.48723f48ab9, unstable-20.03pre212208.8130f3c1c2b"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: mupdf
# a list of nixos modules affected by the problem
module:
@stale
Copy link

stale bot commented Nov 21, 2020

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 21, 2020
@wamserma
Copy link
Member

The root cause is this issue, so closing this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

2 participants