From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/fbpdf/Manifest | 5 +++ app-text/fbpdf/fbpdf-0_p20161202.ebuild | 44 ++++++++++++++++++++++ .../fbpdf/files/fbpdf-0_p20161202-format.patch | 14 +++++++ .../fbpdf/files/fbpdf-0_p20161202-mupdfthird.patch | 9 +++++ app-text/fbpdf/metadata.xml | 8 ++++ 5 files changed, 80 insertions(+) create mode 100644 app-text/fbpdf/Manifest create mode 100644 app-text/fbpdf/fbpdf-0_p20161202.ebuild create mode 100644 app-text/fbpdf/files/fbpdf-0_p20161202-format.patch create mode 100644 app-text/fbpdf/files/fbpdf-0_p20161202-mupdfthird.patch create mode 100644 app-text/fbpdf/metadata.xml (limited to 'app-text/fbpdf') diff --git a/app-text/fbpdf/Manifest b/app-text/fbpdf/Manifest new file mode 100644 index 000000000000..fcbc779bfe4e --- /dev/null +++ b/app-text/fbpdf/Manifest @@ -0,0 +1,5 @@ +AUX fbpdf-0_p20161202-format.patch 410 BLAKE2B c028d4291e204f333624f85d986d57550694242dd62928d5ee453ec48f873d0315fb523eb6b2e5045ec00c2e98aab987b9a5ba2af82b5b50603a142a8074caef SHA512 d450d8afe3547a0837147daee207352f257d7009c39c64867e779ac8d099e2aba5ad6fa931d8139daa4a5a8cb1022fc8faa85adc9be8833aa3b8633f05f6292a +AUX fbpdf-0_p20161202-mupdfthird.patch 262 BLAKE2B 1a3f01039aff3860665bdc7ab903747bf241b717598bc9423355d8ac875219736037f72c821465827dd62bcc5b948794e90a038ed8eab32b389153f55377ebc4 SHA512 aa469d088373ac79998642bc6d3c6ac8eb0138d5495eb95cf6cbd7e13ea1d346a59a72ea860fe7e6b6ba669ac50cdb120432fa9011677515b021ef3121a2a657 +DIST fbpdf-0_p20161202.tar.gz 7795 BLAKE2B 725fb49278ceee0e24bfbdaaa5f93cc78c448666e44ab426739be8db27ad3010911473af6766a45a569356fd322555962d9250f0d655e69594433b29c5d80325 SHA512 c122f12485b9e0055bd5b60d66a5034d20738c6a5a1a9f384ef8cb93e4c6b1275434eea884398590db2b06a746cc0ff00df29ecdc5faecc1730a022435164107 +EBUILD fbpdf-0_p20161202.ebuild 806 BLAKE2B e6b493ca23579e50345347452d32b3651aec9954aba1a521d8567f81502809a68ae34737e5a52d0edd41e4a2e85ea433784d7300178de78a680126c4ddc1d635 SHA512 b77b4ae4fd938832d4e3fb0018e46d143593467680e183d6755a3953a769e29a5f03744eb2c08fc2cd79f5ce25be2e2fe21d29eaf224b7a6f139533165617477 +MISC metadata.xml 251 BLAKE2B 9785c4729d0751280d104965bab25a268219a7fee217dcd8c01a5642a13f8abc471a3dff54ae0d34d3cf3dc8267fb483d93bd3b16aa3617e8fa8e9abd1703dfe SHA512 cc2bd3977894946ee4ea5b739cc3998bcd6017b9e7a52aa501409d0988954339a9a22fe751d0a5e967ddac9225d9b23f20b4fb1e2c62ee91d1d23c383d9776dd diff --git a/app-text/fbpdf/fbpdf-0_p20161202.ebuild b/app-text/fbpdf/fbpdf-0_p20161202.ebuild new file mode 100644 index 000000000000..a2fd7c2a1021 --- /dev/null +++ b/app-text/fbpdf/fbpdf-0_p20161202.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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= + app-text/djvu:0= + dev-lang/mujs:0= + dev-libs/openssl:0= + !media-gfx/fbida[fbcon] + media-libs/freetype:2= + media-libs/jbig2dec:0= + media-libs/openjpeg:0= + virtual/jpeg:0= +" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-format.patch + "${FILESDIR}"/${P}-mupdfthird.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 000000000000..0b48d6bff020 --- /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; diff --git a/app-text/fbpdf/files/fbpdf-0_p20161202-mupdfthird.patch b/app-text/fbpdf/files/fbpdf-0_p20161202-mupdfthird.patch new file mode 100644 index 000000000000..070b7c72ea26 --- /dev/null +++ b/app-text/fbpdf/files/fbpdf-0_p20161202-mupdfthird.patch @@ -0,0 +1,9 @@ +diff --git a/Makefile b/Makefile +index f986689..374837f 100644 +--- a/Makefile ++++ b/Makefile +@@ -13,3 +13,3 @@ clean: + fbpdf: fbpdf.o mupdf.o draw.o +- $(CC) -o $@ $^ $(LDFLAGS) -lmupdf -lmupdfthird -lcrypto -lm ++ $(CC) -o $@ $^ $(LDFLAGS) -lmupdf -lcrypto -lm + diff --git a/app-text/fbpdf/metadata.xml b/app-text/fbpdf/metadata.xml new file mode 100644 index 000000000000..c5298995d2d4 --- /dev/null +++ b/app-text/fbpdf/metadata.xml @@ -0,0 +1,8 @@ + + + + + slyfox@gentoo.org + Sergei Trofimovich + + -- cgit v1.2.3