public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [PATCH xpdf] Add desktop menu entry
@ 2017-10-27 21:00 Yaakov Selkowitz
  2017-10-27 22:34 ` Ken Brown
  2017-10-28 18:00 ` Ken Brown
  0 siblings, 2 replies; 11+ messages in thread
From: Yaakov Selkowitz @ 2017-10-27 21:00 UTC (permalink / raw)
  To: cygwin

---
 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-06 12:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 21:00 [PATCH xpdf] Add desktop menu entry Yaakov Selkowitz
2017-10-27 22:34 ` Ken Brown
2017-10-28 18:00 ` Ken Brown
2017-10-28 19:26   ` Brian Inglis
2017-10-28 19:55     ` Ken Brown
2017-10-30 18:59       ` Brian Inglis
2017-11-03  6:52   ` Yaakov Selkowitz
2017-11-03 13:11     ` Ken Brown
2017-11-03 17:05       ` Ken Brown
2017-11-06  9:48         ` Yaakov Selkowitz
2017-11-06 12:28           ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).