summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2012-07-16 22:34:27 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2012-07-16 22:34:27 +0000
commit075446c05f5f7eb1a364befe9e670c9edc27cf95 (patch)
tree965252fa3d5c4dd7132e0bb3c5f98b8a3f2f7ee9 /app-text/apvlv
parentBased on 2.6.32.59 + genpatches-2.6.32-48 + grsecurity-2.9.1-2.6.32.59-201207... (diff)
downloadhistorical-075446c05f5f7eb1a364befe9e670c9edc27cf95.tar.gz
historical-075446c05f5f7eb1a364befe9e670c9edc27cf95.tar.bz2
historical-075446c05f5f7eb1a364befe9e670c9edc27cf95.zip
Version bump
Package-Manager: portage-2.2.0_alpha118/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'app-text/apvlv')
-rw-r--r--app-text/apvlv/ChangeLog9
-rw-r--r--app-text/apvlv/Manifest15
-rw-r--r--app-text/apvlv/apvlv-0.1.4.ebuild59
-rw-r--r--app-text/apvlv/files/apvlv-0.1.4-cmake.patch32
4 files changed, 112 insertions, 3 deletions
diff --git a/app-text/apvlv/ChangeLog b/app-text/apvlv/ChangeLog
index d9d493d42821..4cc4c2c9c460 100644
--- a/app-text/apvlv/ChangeLog
+++ b/app-text/apvlv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/apvlv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.17 2012/05/04 03:33:11 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/ChangeLog,v 1.18 2012/07/16 22:34:27 reavertm Exp $
+
+*apvlv-0.1.4 (16 Jul 2012)
+
+ 16 Jul 2012; Maciej Mrozowski <reavertm@gentoo.org> +apvlv-0.1.4.ebuild,
+ +files/apvlv-0.1.4-cmake.patch:
+ Version bump
04 May 2012; Jeff Horelick <jdhore@gentoo.org> apvlv-0.1.1.ebuild,
apvlv-0.1.2.ebuild, apvlv-0.1.2-r1.ebuild:
@@ -78,4 +84,3 @@
27 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +apvlv-0.0.9.4.ebuild:
Initial commit wrt #257378, thanks to Ramana Kumar, Christian Glindkamp,
Jarkko Kaleva, Eric Smith, and William.
-
diff --git a/app-text/apvlv/Manifest b/app-text/apvlv/Manifest
index 69b99e68cc61..22069ca93579 100644
--- a/app-text/apvlv/Manifest
+++ b/app-text/apvlv/Manifest
@@ -1,9 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX apvlv-0.1.0-poppler-0.16.patch 433 SHA256 c7065f3a123378cb0bf574ef8bbfe2c5b894ddb7380933c23e39653c81bd3b17 SHA512 07307ad3b1968ca11603dd493620d8cd3f97a8a063f7888d59ef7bdc0c0ae038db8e272ce7c00d45284861a760cff7fef8dafa23b2bbcbf334f6eba49edbf8d5 WHIRLPOOL 16ea15b08b78beafbf6b6e82efb38401f56d14dc7902b805b1504b73dfc5fa4a0ac9fb3aef9b0696e443518c6c4d7af48ec2edd344620e17fd02ea5420283fce
AUX apvlv-0.1.2-poppler-0.18.patch 4311 SHA256 b1dbf0a268b28af49f3de98794e66b5c16b10f03f007fddaf27861e14ffce59a SHA512 1b72b751bfaf9df121184982ae4fa4a967ce4580763ef89ff4d693030c4e378aebbac1eca4a5a506803561beea9b93326ee1f7f2efe05dfa9bc7532b704fdd6b WHIRLPOOL 14039b9598b0d7b91d1f9a756ea109068f22facb9f8d46b6efa2e05f318c3a5c8be1f7f9758e4cf3d1f368d57aeb39d70120050864d06f1d734a9d2d33208392
+AUX apvlv-0.1.4-cmake.patch 1292 SHA256 760b4d1d827dd70a26b937b20c6d34306c337d11d859ac1f66c52c977bd671fe SHA512 340980aac8eb6aeb96a33d773ccd27a93b6118c37b372bd2f87c61b0b31193ddbbdebaaef50f60cc7201e4c68d3ffd8716cda8c2a260aa4209276dfae5b55871 WHIRLPOOL 9d0f7476e6257e9734bc8ff50bf7c8ccbb2dcd8a961d12682d95a1c895d22de9d682af0d07138893c9ed875e9831ceaa923e45ff3d58c720983361e84e8d35ba
DIST apvlv-0.1.1-Source.tar.gz 276433 SHA256 4427861af472c3c6297419dd8ad543cf32fcaaf178a00320f05ecc9f832881ff SHA512 0279ed243aefd54b8b370d308c55da5872ec1cd2037b86b5d3e8b03fc5fc6f9e89d2327f36618897bdd97aac737acfc227b0f6706e7256c8a92024c3c91bc607 WHIRLPOOL 5602ef7bad1af3411edbb047b7fbf9d1892d3050bcebb21a2082eed670f008197e54136d58fae2e2665d293c6175badfc60f3712e9ece43df105a02af6954374
DIST apvlv-0.1.2-Source.tar.gz 331595 SHA256 65f010287dd98644d25997f95054bc95abc22fd8d5e2d7bc3b3b59978fbb470a SHA512 a2cfd3fda715a37480c4d4f9899d8debfd683154beade5e49340715df35837e7c0c9f296db304dace067dfdf0a03b2db4ec1244a0197c03efa0c2c2b0e6c80ff WHIRLPOOL 0cad1b8e25c9e681048e5112a0b004010c631b4b7d9ac1863a0dd767ee9cb6570fb99c337085f83c64526d43497fe664f4dd5249768a69e26d199a34debd2eec
+DIST apvlv-0.1.4-Source.tar.gz 337182 SHA256 f803de89aed82fea08f9386a6d6ddec999d0c96bb68c85e4cd527803838d17cd SHA512 798db075e702b02323e4df9f2ed07478aca975feca9ec7cae386792cdb4dbdcf016e7569e8f16bce6ffea0fe5482b5ea8551de10cbd0652f5607e5f0c0ea024b WHIRLPOOL fc9b66d829de17442efe7f782e44dd8024fbaf680a12a260504592bd8a44f48e7d5ace30f18f3ddec4df178fc772f4046ba0fe3e0c100195d86f05bea9703a0a
EBUILD apvlv-0.1.1.ebuild 1336 SHA256 f4893e210e8dbb68f85fe91d77f0c8439777e1cc5244f881d11120c749faddc8 SHA512 e3d9254ccc5dd3ea689d1435bb7709da7f12ae91b72de2ae86e2fceadfb6639ab6c8f32671cb2e3995778cc062f68f064cf3a1f13f49ac9dd02a22deb43e53e3 WHIRLPOOL 3a7104c35f508986cf3cf524dfefcc5ba5802645a53fe1b093a012e0c5f9e455c3dc18443fc577e883c65091185c8ad9f2c50e9847296696c138a2de91554867
EBUILD apvlv-0.1.2-r1.ebuild 1418 SHA256 186139baabdbbe0f843848da6e460c4582bced1d66076b00354d1d37b9e2ccde SHA512 8c33e0d73040916f52e988abd7cd8fe01700586801ab85c2516abf18bb9e40859c2944215ad97f185cccf4c1187b663c545f7b7482fcd91b9b7b2be682eca53e WHIRLPOOL e29e2c986a695cf0ba5136f3aaa06e8ed7c3c0a22fcc9709260db4648e53220c23945b2580f3659cf477eefbb69556da8789e551c56f353015edc5664146c8fc
EBUILD apvlv-0.1.2.ebuild 1437 SHA256 9a92faaa6a8e4acf99b635d06ba42312462f85ef42d34db0ab4e1ec30f5724d9 SHA512 03538e6882a27ce18061885481f9921a0cb596b06442c2f22dc7029c59a29ea8b4f5a6e9c9baefc416a4fda604ab9bc459c5c455b821d2993e2260ac3e4c6005 WHIRLPOOL dae901685b98a717cedbe054be92d7485fc843f236b5d36d8a631c7346e2f4c8b800197b72b94bf1ed900715c6d8a90fad8d11a1be6c80b62e6fa049bf7d9778
-MISC ChangeLog 2804 SHA256 e582b02af8b0c7170b90f992a1320961004feae2cb4396883b213fbe98be2ed1 SHA512 4d8ee6af39a32da04d72c14bdb8e199df82cc5e7ce9e29068be451fc0aea630f449f6a65792f12b3b7d7325517282106a32987b8de1b5a99b0cc2f5229258ffd WHIRLPOOL fb8d3bf6124f056ceb14cacad5188ab588e6f25aa42ba3583a9b1b39015edcd419954a05b6e81b734699388e0badfdeac6cde5ec96cda1f8225b0699733af46b
+EBUILD apvlv-0.1.4.ebuild 1372 SHA256 c6d734fbd8910292c54aebeed14457991a34b96198fa85f742392882953ace20 SHA512 9ff591d1698b5d1b73291c0e7814fc81627254760cf38df9e59ee8f475068e15c9ce2a55a1f0a7a4f2a9628a2e839c9d205c995fdd9d902c4b1960988a64eb3a WHIRLPOOL 4309c827cf03d2917c1372b3f763a51c3e4b28ae0232e17022fe3bc0d022d5349119de9d3c1cb28f394c7f2714f5c29f367362c6ef36397edc8da85ad7a6b786
+MISC ChangeLog 2958 SHA256 cf38c8d585c0fe43c323f802557a4369d5cca350fc1a6930faf3cfc4f35b7a50 SHA512 a27ba727b1f3d35ee90a3f07d2ae7f23497e0f330c44122a94f0873f86f6b28486e60107a871b4360b83161de1189b862d5aca80b0db07d0388fdf6248faeb00 WHIRLPOOL 01ed289076951ea98d32fdfbd27d5e30736b42e1868f3299f29dbade0289e27528c7a1991ff99eca73e1829ef55e93acbc34765f71c823a7f974014db0a15c99
MISC metadata.xml 307 SHA256 956e2121f8a7f5ae4c65b4313414ef3b526a1c869d3c8774f98103d2f4e66935 SHA512 621cc7f9b5cd05d06f3641a35792b0b12460113562b2f622c53871fcf3de894e73cbb57e70d9e21a167d8d0e0175c7f1c8b3ffa5a09d5e450b03ed88012bd4a8 WHIRLPOOL f2578348c3053b7a20fd65ec89f5f65d14a736a92f473aa23489da3c97f01de5bea0034e64cb8dcfeb575d6cabb52e36b1e8570c606efb1ef6ab262ba56b4071
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlAElvcACgkQFuHa/bHpVduJ1QCfbKHjrkE4wSm+BBeQHLDGfilP
+bjIAnjYl9+xobpwFOl2Qr8LkxKmCEBD2
+=ytOe
+-----END PGP SIGNATURE-----
diff --git a/app-text/apvlv/apvlv-0.1.4.ebuild b/app-text/apvlv/apvlv-0.1.4.ebuild
new file mode 100644
index 000000000000..88926df81398
--- /dev/null
+++ b/app-text/apvlv/apvlv-0.1.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/apvlv/apvlv-0.1.4.ebuild,v 1.1 2012/07/16 22:34:27 reavertm Exp $
+
+EAPI=4
+
+inherit eutils cmake-utils
+
+MY_P="${P}-Source"
+DESCRIPTION="Alf's PDF Viewer Like Vim"
+HOMEPAGE="http://naihe2010.github.com/apvlv/"
+SRC_URI="mirror://github/naihe2010/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug djvu"
+
+RDEPEND="
+ >=app-text/poppler-0.18[cairo]
+ >=x11-libs/gtk+-2.10.4:2
+ djvu? ( app-text/djvu )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # Webkit automagic, preserve cflags
+ epatch "${FILESDIR}/${PN}-0.1.4-cmake.patch"
+
+ # Remove prefixes so it works with the cmake-utils eclass
+ sed -i -e "s:APVLV_::" CMakeLists.txt src/CMakeLists.txt || die
+
+ # Don't install tex file
+ sed -i -e "s:Startup.tex::" CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSYSCONFDIR=/etc/${PN}
+ -DDOCDIR=/usr/share/${PN}
+ -DMANDIR=/usr/share/man
+ -DWITH_HTML=OFF
+ -DWITH_UMD=OFF
+ -DWITH_TXT=ON
+ $(cmake-utils_use_with djvu)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS NEWS README THANKS TODO
+ newicon icons/pdf.png ${PN}.png
+ make_desktop_entry ${PN} "Alf's PDF Viewer Like Vim" ${PN} "Office;Viewer"
+}
diff --git a/app-text/apvlv/files/apvlv-0.1.4-cmake.patch b/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
new file mode 100644
index 000000000000..43c11596b8b0
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
@@ -0,0 +1,32 @@
+diff -ruN apvlv-0.1.4-Source/src/CMakeLists.txt my/src/CMakeLists.txt
+--- apvlv-0.1.4-Source/src/CMakeLists.txt 2012-06-13 05:44:28.000000000 +0200
++++ my/src/CMakeLists.txt 2012-07-17 00:32:53.782141814 +0200
+@@ -1,23 +1,18 @@
+ IF (WIN32)
+ ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
+ ELSE (WIN32)
+- SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
+-
+- OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
+- IF (APVLV_ENABLE_DEBUG)
+- SET (CMAKE_CXX_FLAGS "-D_DEBUG -g ${CMAKE_CXX_FLAGS}")
+- ELSE (APVLV_ENABLE_DEBUG)
+- SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
+- ENDIF (APVLV_ENABLE_DEBUG)
++ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
+ ENDIF (WIN32)
+
+ FIND_PACKAGE (PkgConfig)
+
+-PKG_CHECK_MODULES (FREETYPE2 freetype2 REQUIRED)
+ PKG_CHECK_MODULES (GTK2 gtk+-2.0 REQUIRED)
+ PKG_CHECK_MODULES (GLIB2 glib-2.0 REQUIRED)
+ PKG_CHECK_MODULES (GTHREAD2 gthread-2.0 REQUIRED)
+-PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 QUIET)
++
++IF (APVLV_WITH_HTML)
++ PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 REQUIRED)
++ENDIF (APVLV_WITH_HTML)
+ INCLUDE_DIRECTORIES (${FREETYPE2_INCLUDE_DIRS}
+ ${GTK2_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}