1 |
xmw 11/09/30 12:49:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mupdf-0.9.ebuild |
5 |
Removed: mupdf-0.8.15.ebuild |
6 |
Log: |
7 |
Remove old version, version bump (thanks radhermit, bug 385031), added patches for dpi and scrolling |
8 |
|
9 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.21 app-text/mupdf/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.21&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.21&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?r1=1.20&r2=1.21 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v |
21 |
retrieving revision 1.20 |
22 |
retrieving revision 1.21 |
23 |
diff -u -r1.20 -r1.21 |
24 |
--- ChangeLog 23 Aug 2011 23:07:36 -0000 1.20 |
25 |
+++ ChangeLog 30 Sep 2011 12:49:09 -0000 1.21 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for app-text/mupdf |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.20 2011/08/23 23:07:36 xmw Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.21 2011/09/30 12:49:09 xmw Exp $ |
31 |
+ |
32 |
+*mupdf-0.9 (30 Sep 2011) |
33 |
+ |
34 |
+ 30 Sep 2011; Michael Weber <xmw@g.o> -mupdf-0.8.15.ebuild, |
35 |
+ -files/mupdf-0.8.15-buildsystem.patch, -files/mupdf-0.8.15-zoom.patch, |
36 |
+ +mupdf-0.9.ebuild, +files/mupdf-0.9-dpi_hack.patch, |
37 |
+ +files/mupdf-0.9-scroll_hack.patch: |
38 |
+ Remove old version, version bump (thanks radhermit, bug 385031), added |
39 |
+ patches for dpi and scrolling |
40 |
|
41 |
23 Aug 2011; Michael Weber <xmw@g.o> mupdf-0.8.165.ebuild: |
42 |
ppc stable (bug 378427) |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-text/mupdf/mupdf-0.9.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: mupdf-0.9.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild,v 1.1 2011/09/30 12:49:09 xmw Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
|
59 |
inherit eutils multilib toolchain-funcs |
60 |
|
61 |
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C" |
62 |
HOMEPAGE="http://mupdf.com/" |
63 |
SRC_URI="http://mupdf.com/download/${P}-source.tar.gz" |
64 |
|
65 |
LICENSE="GPL-3" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ppc ~x86" |
68 |
IUSE="X vanilla" |
69 |
|
70 |
RDEPEND="media-libs/freetype:2 |
71 |
media-libs/jbig2dec |
72 |
virtual/jpeg |
73 |
media-libs/openjpeg |
74 |
X? ( x11-libs/libX11 |
75 |
x11-libs/libXext )" |
76 |
DEPEND="${RDEPEND} |
77 |
dev-util/pkgconfig" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${PN}-0.8.165-buildsystem.patch |
81 |
|
82 |
if ! use vanilla ; then |
83 |
epatch "${FILESDIR}"/${PN}-0.8.165-zoom.patch |
84 |
epatch "${FILESDIR}"/${P}-scroll_hack.patch |
85 |
epatch "${FILESDIR}"/${P}-dpi_hack.patch |
86 |
fi |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
local my_pdfexe= |
91 |
use X || my_nox11="NOX11=yes MUPDF= " |
92 |
|
93 |
emake CC="$(tc-getCC)" \ |
94 |
build=debug verbose=true ${my_nox11} -j1 || die |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
emake prefix="${D}usr" LIBDIR="${D}usr/$(get_libdir)" \ |
99 |
build=debug verbose=true ${my_nox11} install || die |
100 |
|
101 |
insinto /usr/$(get_libdir)/pkgconfig |
102 |
doins debian/mupdf.pc || die |
103 |
|
104 |
if use X ; then |
105 |
domenu debian/mupdf.desktop || die |
106 |
doicon debian/mupdf.xpm || die |
107 |
doman apps/man/mupdf.1 || die |
108 |
fi |
109 |
doman apps/man/pdf{clean,draw,show}.1 || die |
110 |
dodoc README || die |
111 |
|
112 |
# avoid collision with app-text/poppler-utils |
113 |
mv "${D}"usr/bin/pdfinfo "${D}"usr/bin/mupdf_pdfinfo || die |
114 |
} |
115 |
|
116 |
pkg_postinst() { |
117 |
elog "pdfinfo was renamed to mupdf_pdfinfo" |
118 |
} |