From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEC1D158020 for ; Sun, 4 Dec 2022 14:50:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8584E085B; Sun, 4 Dec 2022 14:50:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B53E8E0845 for ; Sun, 4 Dec 2022 14:50:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB24934131D for ; Sun, 4 Dec 2022 14:50:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16E067CC for ; Sun, 4 Dec 2022 14:50:50 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1670165361.68a51347c5983bdddb0f1c8a5f748528e8e9996b.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mupdf/files/, app-text/mupdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mupdf/files/mupdf-1.21.0-add-desktop-pc-files.patch app-text/mupdf/mupdf-1.21.0.ebuild X-VCS-Directories: app-text/mupdf/files/ app-text/mupdf/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 68a51347c5983bdddb0f1c8a5f748528e8e9996b X-VCS-Branch: master Date: Sun, 4 Dec 2022 14:50:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 759d1348-fd66-43e5-bd4e-1cafcaa4712c X-Archives-Hash: 141637f3357675d45e8ee972de603934 commit: 68a51347c5983bdddb0f1c8a5f748528e8e9996b Author: Philipp Rösner protonmail com> AuthorDate: Mon Nov 28 20:18:46 2022 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Dec 4 14:49:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a51347 app-text/mupdf: add high resolution icon As pointed out by gentoo.org> a high resolution icon for MuPDF is available at docs/logo. Closes: https://bugs.gentoo.org/882701 Signed-off-by: Philipp Rösner protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/28467 Signed-off-by: Pacho Ramos gentoo.org> .../files/mupdf-1.21.0-add-desktop-pc-files.patch | 33 ++++++++++++++++++++++ app-text/mupdf/mupdf-1.21.0.ebuild | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/app-text/mupdf/files/mupdf-1.21.0-add-desktop-pc-files.patch b/app-text/mupdf/files/mupdf-1.21.0-add-desktop-pc-files.patch new file mode 100644 index 000000000000..4d449a2fec15 --- /dev/null +++ b/app-text/mupdf/files/mupdf-1.21.0-add-desktop-pc-files.patch @@ -0,0 +1,33 @@ +--- /dev/null ++++ ./platform/debian/mupdf.desktop +@@ -0,0 +1,15 @@ ++[Desktop Entry] ++Name=MuPDF ++GenericName=PDF file viewer ++Exec=mupdf %f ++TryExec=mupdf ++Icon=new-mupdf-icon ++Terminal=false ++Type=Application ++MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;image/jpeg;image/pjpeg;image/png;image/tiff;image/x-tiff; ++Categories=Viewer;Graphics; ++Actions=View; ++ ++[Desktop Action View] ++Name=View with mupdf ++Exec=mupdf %f +--- /dev/null ++++ ./platform/debian/mupdf.pc +@@ -0,0 +1,12 @@ ++prefix=/usr ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: mupdf ++Description: Library for rendering PDF documents ++Requires: freetype2 libopenjp2 libcrypto ++Version: 0.5.0 ++Libs: -L${libdir} -lmupdf ++Libs.private: -lmupdf-js-none ++Cflags: -I${includedir} diff --git a/app-text/mupdf/mupdf-1.21.0.ebuild b/app-text/mupdf/mupdf-1.21.0.ebuild index 0eaa99a07eba..c2d55d2bd989 100644 --- a/app-text/mupdf/mupdf-1.21.0.ebuild +++ b/app-text/mupdf/mupdf-1.21.0.ebuild @@ -46,7 +46,7 @@ BDEPEND="X? ( x11-base/xorg-proto ) PATCHES=( "${FILESDIR}"/${PN}-1.15-CFLAGS.patch "${FILESDIR}"/${PN}-1.19.0-Makefile.patch - "${FILESDIR}"/${PN}-1.10a-add-desktop-pc-xpm-files.patch + "${FILESDIR}"/${P}-add-desktop-pc-files.patch "${FILESDIR}"/${PN}-1.19.0-darwin.patch # See bugs #662352 "${FILESDIR}"/${PN}-1.15-openssl-x11.patch @@ -126,7 +126,7 @@ src_compile() { src_install() { if use opengl || use X ; then domenu platform/debian/${PN}.desktop - doicon platform/debian/${PN}.xpm + doicon -s scalable docs/logo/new-${PN}-icon.svg else rm docs/man/${PN}.1 || die "Failed to remove man page in src_install()" fi