public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/mupdf: ChangeLog mupdf-0.9.ebuild mupdf-0.8.15.ebuild
@ 2011-09-30 12:49 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2011-09-30 12:49 UTC (permalink / raw
  To: gentoo-commits

xmw         11/09/30 12:49:10

  Modified:             ChangeLog
  Added:                mupdf-0.9.ebuild
  Removed:              mupdf-0.8.15.ebuild
  Log:
  Remove old version, version bump (thanks radhermit, bug 385031), added patches for dpi and scrolling
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.21                 app-text/mupdf/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	23 Aug 2011 23:07:36 -0000	1.20
+++ ChangeLog	30 Sep 2011 12:49:09 -0000	1.21
@@ -1,6 +1,15 @@
 # ChangeLog for app-text/mupdf
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.20 2011/08/23 23:07:36 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.21 2011/09/30 12:49:09 xmw Exp $
+
+*mupdf-0.9 (30 Sep 2011)
+
+  30 Sep 2011; Michael Weber <xmw@gentoo.org> -mupdf-0.8.15.ebuild,
+  -files/mupdf-0.8.15-buildsystem.patch, -files/mupdf-0.8.15-zoom.patch,
+  +mupdf-0.9.ebuild, +files/mupdf-0.9-dpi_hack.patch,
+  +files/mupdf-0.9-scroll_hack.patch:
+  Remove old version, version bump (thanks radhermit, bug 385031), added
+  patches for dpi and scrolling
 
   23 Aug 2011; Michael Weber <xmw@gentoo.org> mupdf-0.8.165.ebuild:
   ppc stable (bug 378427)



1.1                  app-text/mupdf/mupdf-0.9.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild?rev=1.1&content-type=text/plain

Index: mupdf-0.9.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild,v 1.1 2011/09/30 12:49:09 xmw Exp $

EAPI=2

inherit eutils multilib toolchain-funcs

DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
HOMEPAGE="http://mupdf.com/"
SRC_URI="http://mupdf.com/download/${P}-source.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="X vanilla"

RDEPEND="media-libs/freetype:2
	media-libs/jbig2dec
	virtual/jpeg
	media-libs/openjpeg
	X? ( x11-libs/libX11
		x11-libs/libXext )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-0.8.165-buildsystem.patch

	if ! use vanilla ; then
		epatch "${FILESDIR}"/${PN}-0.8.165-zoom.patch
		epatch "${FILESDIR}"/${P}-scroll_hack.patch
		epatch "${FILESDIR}"/${P}-dpi_hack.patch
	fi
}

src_compile() {
	local my_pdfexe=
	use X || my_nox11="NOX11=yes MUPDF= "

	emake CC="$(tc-getCC)" \
		build=debug verbose=true ${my_nox11} -j1 || die
}

src_install() {
	emake prefix="${D}usr" LIBDIR="${D}usr/$(get_libdir)" \
		build=debug verbose=true ${my_nox11} install || die

	insinto /usr/$(get_libdir)/pkgconfig
	doins debian/mupdf.pc || die

	if use X ; then
		domenu debian/mupdf.desktop || die
		doicon debian/mupdf.xpm || die
		doman apps/man/mupdf.1 || die
	fi
	doman apps/man/pdf{clean,draw,show}.1 || die
	dodoc README || die

	# avoid collision with app-text/poppler-utils
	mv "${D}"usr/bin/pdfinfo "${D}"usr/bin/mupdf_pdfinfo || die
}

pkg_postinst() {
	elog "pdfinfo was renamed to mupdf_pdfinfo"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-30 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30 12:49 [gentoo-commits] gentoo-x86 commit in app-text/mupdf: ChangeLog mupdf-0.9.ebuild mupdf-0.8.15.ebuild Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox