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.
* 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)
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:
Date: Fri Apr 20 01:54:03 UTC 2018
New revision: 467809
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.
Submitted by: 0mp@