delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/27/17:00:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id; q=dns; s=
default; b=TKpG4sU4CRB5b/eiiflneVjzRRQuCf8nxdLYkv5lArww15ctEc0Nm
99b2YLTJhtJWwEG04ADTwCRfPlyxyGKa5DpHR6G80pf2/B6MhBwG44s3U+kEu8qR
Bx5ivSdKm1sybVLPVsXZ4mLhqptWXCtqjluL3T+S3/Jj32TRNtDxrg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id; s=default;
bh=vvyCEXgOnk5dWTgyxAC0pzU+WW4=; b=x1U8+rPxREAXI+TxlHZpp9FCV77O
wNTq6i9bJ44nSMxec86srtK/aNIrv/UjlTSzSp9cQTUeoawm86QQublag2zrQ9M4
amyAu27EaBstPFAH4iRFimFTnSMd6hQi00gU4NdD8VEUZ63t75kKMC0olAjigZfV
ltHffaeB7sO4Sxs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=icons, office, Office
X-HELO: mx1.redhat.com
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B32CF7E42F
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
From: Yaakov Selkowitz <yselkowi AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: [PATCH xpdf] Add desktop menu entry
Date: Fri, 27 Oct 2017 16:00:30 -0500
Message-Id: <20171027210030.12220-1-yselkowi@redhat.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019