This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[PATCH xpdf] Add desktop menu entry
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Oct 2017 16:00:30 -0500
- Subject: [PATCH xpdf] Add desktop menu entry
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yselkowi at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B32CF7E42F
---
xpdf.cygport | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xpdf.cygport b/xpdf.cygport
index 7382054..dba7994 100644
--- a/xpdf.cygport
+++ b/xpdf.cygport
@@ -86,4 +86,8 @@ src_install() {
sed -e 's#/usr/local/share/xpdf#/usr/share/xpdf#g' -i ${D}/etc/xpdfrc
make_etc_defaults /etc/xpdfrc
+
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins ${S}/xpdf-qt/xpdf-icon.svg xpdf.svg
+ make_desktop_entry xpdf XpdfReader xpdf "Viewer;Office" "" "MimeType=application/pdf;application/x-pdf;image/pdf;"
}
--
2.14.3
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple