Created attachment 192635 [details] Patch adding xpdf.desktop files Add xpdf.desktop files to both xpdf ports so that it is possible to set xpdf to be the default PDF viewer via xdg-mime. QA: * portlint returns some warnings and fatals but those were there before; I didn't fix them as it could be the case when portlint is wrong * poudriere testport xpdf3: 10.4 i386 * Manual testing of xpdf4 on a FreeBSD 12 running x11/dwm. Setting xpdf as the default PDf application works. I am not sure if it looks good in menus of desktop environments like XFCE.
Approved. Go ahead and commit.
(In reply to Cy Schubert from comment #1) Thanks :) I do not have the commit bit, however, so I cannot do it on my own.
(In reply to Mateusz Piotrowski from comment #2) Okay. I'll test it first and commit it.
Committed. Thanks for the patch.
A commit references this bug: Author: cy Date: Fri Apr 20 01:54:03 UTC 2018 New revision: 467809 URL: https://svnweb.freebsd.org/changeset/ports/467809 Log: Add xpdf.desktop files to both xpdf ports so that it is possible to set xpdf to be the default PDF viewer via xdg-mime. PR: 227627 Submitted by: 0mp@ Changes: head/graphics/xpdf3/Makefile head/graphics/xpdf3/files/xpdf.desktop head/graphics/xpdf3/pkg-plist head/graphics/xpdf4/Makefile head/graphics/xpdf4/files/xpdf.desktop head/graphics/xpdf4/pkg-plist