From: Yaakov Selkowitz <yselkowi@redhat.com>
To: cygwin@cygwin.com
Subject: [PATCH xpdf] Add desktop menu entry
Date: Fri, 27 Oct 2017 21:00:00 -0000 [thread overview]
Message-ID: <20171027210030.12220-1-yselkowi@redhat.com> (raw)
---
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
next reply other threads:[~2017-10-27 21:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-27 21:00 Yaakov Selkowitz [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171027210030.12220-1-yselkowi@redhat.com \
--to=yselkowi@redhat.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).