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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8204D139085 for ; Mon, 23 Jan 2017 21:57:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9B3B234072; Mon, 23 Jan 2017 21:57:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5D10234072 for ; Mon, 23 Jan 2017 21:57:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 715EF341692 for ; Mon, 23 Jan 2017 21:57:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39B372A70 for ; Mon, 23 Jan 2017 21:57:50 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1485208662.46beef910284631a394a4060487d8bd0ae6dd61a.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/fbpdf/, app-text/fbpdf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/fbpdf/Manifest app-text/fbpdf/fbpdf-0_p20161202.ebuild app-text/fbpdf/files/fbpdf-0_p20161202-format.patch X-VCS-Directories: app-text/fbpdf/ app-text/fbpdf/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 46beef910284631a394a4060487d8bd0ae6dd61a X-VCS-Branch: master Date: Mon, 23 Jan 2017 21:57: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-Archives-Salt: 69ce7be7-f712-4f4a-be48-62bdd15f149a X-Archives-Hash: a0ddc219efc9e685fc626c4aa3dd40f2 commit: 46beef910284631a394a4060487d8bd0ae6dd61a Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jan 23 21:57:33 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jan 23 21:57:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46beef91 app-text/fbpdf: bump to support mupdf-1.10, bug #606876 Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/606876 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-text/fbpdf/Manifest | 1 + app-text/fbpdf/fbpdf-0_p20161202.ebuild | 41 ++++++++++++++++++++++ .../fbpdf/files/fbpdf-0_p20161202-format.patch | 14 ++++++++ 3 files changed, 56 insertions(+) diff --git a/app-text/fbpdf/Manifest b/app-text/fbpdf/Manifest index ce49a8c..199046e 100644 --- a/app-text/fbpdf/Manifest +++ b/app-text/fbpdf/Manifest @@ -1 +1,2 @@ DIST fbpdf-0_p20160409.tar.gz 7788 SHA256 ae17aa7fb1e472df5fa1be42505305705dff15bdf92006311816b66f2a2e4f3f SHA512 e939f2d1fd9dccfb778756c3dd3f1b4d8c413e55d17fb68d7bfbd42a541a30b6bdc8f190e81d18ebc45c7e4e46ce48a559b9c564710fb66b292f043f7351b684 WHIRLPOOL cb86cdaecf8e35610916f4f2bc990b810c56f200aba96a036a6e65c72258e93d6782a97ffc8356e32c58aeba7126d698e802c77d47553a8ebbf1d915aa04ade7 +DIST fbpdf-0_p20161202.tar.gz 7795 SHA256 9cd0fb4cb2a6602606b7e24cb9b1e81c663b07f0a982236f0de5dc25b4653823 SHA512 c122f12485b9e0055bd5b60d66a5034d20738c6a5a1a9f384ef8cb93e4c6b1275434eea884398590db2b06a746cc0ff00df29ecdc5faecc1730a022435164107 WHIRLPOOL dd576141183548aaa1036eb36524b1c7bf8df6d3645fca11846323687a7b3e6a80d09e709980e8da41ac82763c16b69247be1a33aa758191f79d37d6bb936079 diff --git a/app-text/fbpdf/fbpdf-0_p20161202.ebuild b/app-text/fbpdf/fbpdf-0_p20161202.ebuild new file mode 100644 index 00000000..0dd4cc6 --- /dev/null +++ b/app-text/fbpdf/fbpdf-0_p20161202.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="framebuffer pdf and djvu viewer" +HOMEPAGE="http://repo.or.cz/fbpdf.git" +SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=app-text/mupdf-1.10:0= + dev-lang/mujs:0= + media-libs/freetype:2= + media-libs/jbig2dec:0= + virtual/jpeg:0= + media-libs/openjpeg:0= + dev-libs/openssl:0= + app-text/djvu:0= +" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +PATCHES=("${FILESDIR}"/${P}-format.patch) + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin fbpdf fbdjvu + dodoc README +} diff --git a/app-text/fbpdf/files/fbpdf-0_p20161202-format.patch b/app-text/fbpdf/files/fbpdf-0_p20161202-format.patch new file mode 100644 index 00000000..0b48d6b --- /dev/null +++ b/app-text/fbpdf/files/fbpdf-0_p20161202-format.patch @@ -0,0 +1,14 @@ +diff --git a/fbpdf.c b/fbpdf.c +index 6caa08f..48d12f5 100644 +--- a/fbpdf.c ++++ b/fbpdf.c +@@ -343,3 +343,3 @@ static void mainloop(void) + static char *usage = +- "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename\n"; ++ "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename"; + +@@ -349,3 +349,3 @@ int main(int argc, char *argv[]) + if (argc < 2) { +- printf(usage); ++ puts(usage); + return 1;