public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/fbpdf/, app-text/fbpdf/files/
Date: Mon, 23 Jan 2017 21:57:50 +0000 (UTC)	[thread overview]
Message-ID: <1485208662.46beef910284631a394a4060487d8bd0ae6dd61a.slyfox@gentoo> (raw)

commit:     46beef910284631a394a4060487d8bd0ae6dd61a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 21:57:33 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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;


             reply	other threads:[~2017-01-23 21:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 21:57 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-02  9:44 [gentoo-commits] repo/gentoo:master commit in: app-text/fbpdf/, app-text/fbpdf/files/ Sergei Trofimovich
2019-02-05 22:49 Sergei Trofimovich
2019-02-05 22:49 Sergei Trofimovich
2020-11-02 10:21 Sergei Trofimovich

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=1485208662.46beef910284631a394a4060487d8bd0ae6dd61a.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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