summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-21 16:41:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-21 16:41:20 +0000
commitbabf9a39000a5310ab82ef8efb720bc0d9ba60f8 (patch)
tree061572fe37d0e1a7e55f7ab91613713589218f32 /app-text
parentNew ebuild for #410919. Ebuild by iksaif. (diff)
downloadhistorical-babf9a39000a5310ab82ef8efb720bc0d9ba60f8.tar.gz
historical-babf9a39000a5310ab82ef8efb720bc0d9ba60f8.tar.bz2
historical-babf9a39000a5310ab82ef8efb720bc0d9ba60f8.zip
djview4 -> djview rename
Diffstat (limited to 'app-text')
-rw-r--r--app-text/djview4/ChangeLog129
-rw-r--r--app-text/djview4/Manifest9
-rw-r--r--app-text/djview4/djview4-4.5-r1.ebuild75
-rw-r--r--app-text/djview4/djview4-4.6-r1.ebuild75
-rw-r--r--app-text/djview4/djview4-4.6.ebuild74
-rw-r--r--app-text/djview4/files/djview4-4.5-libtool.patch23
-rw-r--r--app-text/djview4/files/djview4-4.6-segfault.patch79
-rw-r--r--app-text/djview4/metadata.xml9
8 files changed, 0 insertions, 473 deletions
diff --git a/app-text/djview4/ChangeLog b/app-text/djview4/ChangeLog
deleted file mode 100644
index 236a8135d270..000000000000
--- a/app-text/djview4/ChangeLog
+++ /dev/null
@@ -1,129 +0,0 @@
-# ChangeLog for app-text/djview4
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/ChangeLog,v 1.32 2011/03/01 21:53:27 pva Exp $
-
-*djview4-4.6-r1 (01 Mar 2011)
-
- 01 Mar 2011; Peter Volkov <pva@gentoo.org> +djview4-4.6-r1.ebuild,
- +files/djview4-4.6-segfault.patch:
- Upstream patch to fix occasional segfault when flipping pages very quickly.
-
-*djview4-4.6 (15 Oct 2010)
-
- 15 Oct 2010; Peter Volkov <pva@gentoo.org> -djview4-4.5.ebuild,
- +djview4-4.6.ebuild:
- Version bump, drop old.
-
- 18 Aug 2010; Jeroen Roovers <jer@gentoo.org> djview4-4.5-r1.ebuild:
- Stable for HPPA (bug #299574).
-
- 04 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> djview4-4.5-r1.ebuild:
- ppc64 stable wrt #299574
-
- 26 Jun 2010; <nixnut@gentoo.org> djview4-4.5-r1.ebuild:
- ~ppc #299574
-
- 30 May 2010; Raúl Porcel <armin76@gentoo.org> djview4-4.5-r1.ebuild:
- alpha stable wrt #299574
-
- 20 May 2010; Peter Volkov <pva@gentoo.org> djview4-4.5-r1.ebuild:
- amd64 stable, bug 299574.
-
- 19 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- djview4-4.5-r1.ebuild:
- x86 stable wrt bug #299574
-
- 28 Feb 2010; Peter Volkov <pva@gentoo.org> djview4-4.5-r1.ebuild,
- +files/djview4-4.5-libtool.patch:
- Fix build issue witu USE=-nsplugin, bug #305949, thank Roman Sergeev for
- report.
-
-*djview4-4.5-r1 (01 Feb 2010)
-
- 01 Feb 2010; Peter Volkov <pva@gentoo.org> +djview4-4.5-r1.ebuild,
- metadata.xml:
- Use nsplugin instead of one in djvu, bug #245841, thank A.C.Heron for
- report. Respect CFLAGS.
-
- 06 Jan 2010; Brent Baude <ranger@gentoo.org> djview4-4.5.ebuild:
- Marking djview4-4.5 ppc64 for bug 287316
-
- 23 Oct 2009; Jeroen Roovers <jer@gentoo.org> djview4-4.5.ebuild:
- Stable for HPPA (bug #287316).
-
- 11 Oct 2009; Tobias Klausmann <klausman@gentoo.org> djview4-4.5.ebuild:
- Stable on alpha, bug #287316
-
- 03 Oct 2009; Markus Meier <maekke@gentoo.org> djview4-4.5.ebuild:
- amd64/x86 stable, bug #287316
-
- 06 Aug 2009; Alexis Ballier <aballier@gentoo.org> -djview4-4.4.ebuild:
- remove old
-
- 23 Jul 2009; Raúl Porcel <armin76@gentoo.org> djview4-4.5.ebuild:
- Add ~ia64 wrt #276477
-
- 12 Jul 2009; Tobias Klausmann <klausman@gentoo.org> djview4-4.5.ebuild:
- Keyworded on alpha, bug #276477
-
- 10 Jul 2009; Jeroen Roovers <jer@gentoo.org> djview4-4.5.ebuild:
- Marked ~hppa (bug #276477).
-
- 04 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> djview4-4.5.ebuild:
- Adjust the deps on qt4. Bit format the deps.
-
-*djview4-4.5 (04 Jun 2009)
-
- 04 Jun 2009; Alexis Ballier <aballier@gentoo.org> +djview4-4.5.ebuild:
- version bump, by Petr Pisar <petr.pisar@atlas.cz>, bug #271469
-
- 25 Nov 2008; Alexis Ballier <aballier@gentoo.org> metadata.xml:
- remove myself from metadata.xml, tex herd will be fine and it'll show that
- I won't be pedantic with other people touching it
-
- 26 Sep 2008; Alexis Ballier <aballier@gentoo.org> djview4-4.4.ebuild:
- keyword ~ppc64, working fine on a PowerMac 970
-
- 26 Sep 2008; Alexis Ballier <aballier@gentoo.org> -djview4-4.3.ebuild:
- remove old
-
-*djview4-4.4 (25 Aug 2008)
-
- 25 Aug 2008; Peter Volkov <pva@gentoo.org> +djview4-4.4.ebuild:
- Version bump.
-
- 11 May 2008; Alexis Ballier <aballier@gentoo.org> djview4-4.3.ebuild:
- allow split qt4 deps
-
- 11 May 2008; Alexis Ballier <aballier@gentoo.org> -djview4-4.2.3.ebuild:
- remove old
-
-*djview4-4.3 (28 Jan 2008)
-
- 28 Jan 2008; Alexis Ballier <aballier@gentoo.org> +djview4-4.3.ebuild:
- version bump, thanks to Petr Pisar <petr.pisar@atlas.cz>, bug #207959
-
- 15 Jan 2008; Alexis Ballier <aballier@gentoo.org> djview4-4.2.3.ebuild:
- add missing pkgconfig dep, bug #206021
-
- 15 Jan 2008; Alexis Ballier <aballier@gentoo.org> -djview4-4.1.2.ebuild,
- -djview4-4.2.ebuild:
- remove old
-
-*djview4-4.2.3 (10 Dec 2007)
-
- 10 Dec 2007; Alexis Ballier <aballier@gentoo.org> +djview4-4.2.3.ebuild:
- version bump
-
-*djview4-4.2 (11 Nov 2007)
-
- 11 Nov 2007; Alexis Ballier <aballier@gentoo.org> +djview4-4.2.ebuild:
- version bump
-
-*djview4-4.1.2 (27 Jul 2007)
-
- 27 Jul 2007; Alexis Ballier <aballier@gentoo.org> +metadata.xml,
- +djview4-4.1.2.ebuild:
- Initial import, thanks to Stefan Talpalaru <stefantalpalaru@yahoo.com>, bug
- #184844
-
diff --git a/app-text/djview4/Manifest b/app-text/djview4/Manifest
deleted file mode 100644
index 0139f2642ffc..000000000000
--- a/app-text/djview4/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX djview4-4.5-libtool.patch 620 RMD160 197149d84cd3cd1bf89f6f097f6e537616a2c63e SHA1 1d09eb5cd940ffc20b8a283368c2dc80e1b959e9 SHA256 c26dbd8dcc6738bf635f196054222c5c4c69b7d799b7a36f4b29819e9a8c19ec
-AUX djview4-4.6-segfault.patch 2933 RMD160 fe853dbbd75c078aca2509faeadd4f270c5b7bf6 SHA1 08fdab5e01464a81b0b14321b6948f86861196b9 SHA256 e39a07f8bbe957c634ded1eb7b18eddf8e5d0bb93124f69d5e8b4fc87751b594
-DIST djview4-4.5.tar.gz 895611 RMD160 256abad9cc6d661ba19caf209b74d9937eec4bce SHA1 d2fd259aa88f80393767f6dec921463da7820143 SHA256 8dc1d8013d51d4026a05d7ef4289c4c9b27de9d9b7d6bf960e4a9636b3b71276
-DIST djview4-4.6.tar.gz 893657 RMD160 a9116466ba1dc2441ed385928b2f54d71fab525b SHA1 72d98fde9c6406ee714830118d06767b561941fd SHA256 036205cda1f134301bdbf2db69113a86f014ce47933e9a15da54687fe728d95b
-EBUILD djview4-4.5-r1.ebuild 1965 RMD160 574dfb872269618ec86633984ae1752c9a7a8624 SHA1 814192b9b8b438391390ba1ceeeef2a9d1a8637c SHA256 61b77e8acb929c19b8a60869d45e8929faaacd78be05a67353f560d3c8dfc309
-EBUILD djview4-4.6-r1.ebuild 1983 RMD160 ee404d7a096aa42ac7de4cb27e7e584e33b477ea SHA1 1cf5ba11820add70b77f154b7d84d8de020bc241 SHA256 f0494984cda536cb50279d9035c9ac6c6ba96bfc5b576ba46b4b78b2b5370dc6
-EBUILD djview4-4.6.ebuild 1931 RMD160 cd48be3536b9914ec4dd6053a9e0c6cbecea3075 SHA1 f54f4612e2732a903878c8d6784b90604da98ca2 SHA256 b79bda5b23f062374bf95cf36bd141e95474d37d61d57b39235dfd3f2ef4d13a
-MISC ChangeLog 4207 RMD160 aac8d8d3a9f2777b32dc35ec4de7563f5cceb5f9 SHA1 ad15486fc48387997d1a84b75fd4d2270d932f02 SHA256 767e86a11a470e2865d186aee92e758175c05c72cf45910cf344a378ee62a926
-MISC metadata.xml 241 RMD160 82bb30f2baae19cecf35e2619cf41501c4b93c0f SHA1 23319951328fb53159640f97e84a8109eef97220 SHA256 674b443e9f1d7bd038d429926e64c40165401c5347f9a6e9ecb1be33c0e8ab93
diff --git a/app-text/djview4/djview4-4.5-r1.ebuild b/app-text/djview4/djview4-4.5-r1.ebuild
deleted file mode 100644
index 1adfc705e46f..000000000000
--- a/app-text/djview4/djview4-4.5-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.5-r1.ebuild,v 1.8 2010/08/18 04:03:18 jer Exp $
-
-EAPI=2
-
-inherit eutils autotools versionator qt4 toolchain-funcs multilib nsplugins fdo-mime flag-o-matic
-
-MY_P=${PN}-$(replace_version_separator 2 '-')
-
-DESCRIPTION="Portable DjVu viewer using Qt4"
-HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
-SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ia64 ~ppc ppc64 x86"
-IUSE="debug nsplugin"
-
-RDEPEND="
- >=app-text/djvu-3.5.22-r1
- x11-libs/qt-gui:4"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nsplugin? ( dev-libs/glib:2 )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
-src_prepare() {
- # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
- sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
- sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
- epatch "${FILESDIR}/${P}-libtool.patch"
- rm aclocal.m4 config/{libtool.m4,ltmain.sh,install-sh}
- AT_M4DIR="config" eautoreconf
-}
-
-src_configure() {
- # See config/acinclude.m4
- use debug || append-cppflags "-DNDEBUG"
-
- # QTDIR is needed because of kde3
- QTDIR=/usr \
- econf \
- --with-x \
- $(use_enable nsplugin nsdejavu) \
- --disable-desktopfiles
-}
-
-src_compile() {
- emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
- install || die "emake install failed"
-
- dodoc README TODO NEWS || die "dodoc failed"
-
- cd desktopfiles
- insinto /usr/share/icons/hicolor/32x32/apps
- newins hi32-djview4.png djvulibre-djview4.png
- insinto /usr/share/icons/hicolor/scalable/apps
- newins djview.svg djvulibre-djview4.svg
- domenu djvulibre-djview4.desktop
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-text/djview4/djview4-4.6-r1.ebuild b/app-text/djview4/djview4-4.6-r1.ebuild
deleted file mode 100644
index c3a4a48eef8d..000000000000
--- a/app-text/djview4/djview4-4.6-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.6-r1.ebuild,v 1.1 2011/03/01 21:53:28 pva Exp $
-
-EAPI="3"
-
-inherit eutils autotools versionator toolchain-funcs multilib nsplugins fdo-mime flag-o-matic
-
-MY_P=${PN}-$(replace_version_separator 2 '-')
-
-DESCRIPTION="Portable DjVu viewer using Qt4"
-HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
-SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="debug nsplugin"
-
-RDEPEND="
- >=app-text/djvu-3.5.22-r1
- x11-libs/qt-gui:4"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nsplugin? ( dev-libs/glib:2 )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
-src_prepare() {
- epatch "${FILESDIR}/djview4-4.6-segfault.patch"
- # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
- sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
- sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
- rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
- AT_M4DIR="config" eautoreconf
-}
-
-src_configure() {
- # See config/acinclude.m4
- use debug || append-cppflags "-DNDEBUG"
-
- # QTDIR is needed because of kde3
- QTDIR=/usr \
- econf \
- --with-x \
- $(use_enable nsplugin nsdejavu) \
- --disable-desktopfiles
-}
-
-src_compile() {
- emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
- install || die "emake install failed"
-
- dodoc README TODO NEWS || die "dodoc failed"
-
- cd desktopfiles
- insinto /usr/share/icons/hicolor/32x32/apps
- newins hi32-djview4.png djvulibre-djview4.png
- insinto /usr/share/icons/hicolor/scalable/apps
- newins djview.svg djvulibre-djview4.svg
- domenu djvulibre-djview4.desktop
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-text/djview4/djview4-4.6.ebuild b/app-text/djview4/djview4-4.6.ebuild
deleted file mode 100644
index 1f8bf0b9db75..000000000000
--- a/app-text/djview4/djview4-4.6.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.6.ebuild,v 1.1 2010/10/15 14:08:07 pva Exp $
-
-EAPI="3"
-
-inherit eutils autotools versionator toolchain-funcs multilib nsplugins fdo-mime flag-o-matic
-
-MY_P=${PN}-$(replace_version_separator 2 '-')
-
-DESCRIPTION="Portable DjVu viewer using Qt4"
-HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
-SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="debug nsplugin"
-
-RDEPEND="
- >=app-text/djvu-3.5.22-r1
- x11-libs/qt-gui:4"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nsplugin? ( dev-libs/glib:2 )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
-src_prepare() {
- # Force XEmbed instead of Xt-based mainloop (disable Xt autodep)
- sed -e 's:\(ac_xt=\)yes:\1no:' -i configure* || die
- sed 's/AC_CXX_OPTIMIZE/OPTS=;AC_SUBST(OPTS)/' -i configure.ac || die #263688
- rm aclocal.m4 config/{libtool.m4,install-sh,ltmain.sh,lt*.m4}
- AT_M4DIR="config" eautoreconf
-}
-
-src_configure() {
- # See config/acinclude.m4
- use debug || append-cppflags "-DNDEBUG"
-
- # QTDIR is needed because of kde3
- QTDIR=/usr \
- econf \
- --with-x \
- $(use_enable nsplugin nsdejavu) \
- --disable-desktopfiles
-}
-
-src_compile() {
- emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} \
- install || die "emake install failed"
-
- dodoc README TODO NEWS || die "dodoc failed"
-
- cd desktopfiles
- insinto /usr/share/icons/hicolor/32x32/apps
- newins hi32-djview4.png djvulibre-djview4.png
- insinto /usr/share/icons/hicolor/scalable/apps
- newins djview.svg djvulibre-djview4.svg
- domenu djvulibre-djview4.desktop
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-text/djview4/files/djview4-4.5-libtool.patch b/app-text/djview4/files/djview4-4.5-libtool.patch
deleted file mode 100644
index 546bea887336..000000000000
--- a/app-text/djview4/files/djview4-4.5-libtool.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://sourceforge.net/tracker/?func=detail&aid=2960877&group_id=32953&atid=406585
-
-Index: configure.ac
-===================================================================
-RCS file: /cvsroot/djvu/djview/configure.ac,v
-retrieving revision 1.32
-diff -u -B -r1.32 configure.ac
---- configure.ac 12 Mar 2009 23:49:50 -0000 1.32
-+++ configure.ac 28 Feb 2010 21:42:27 -0000
-@@ -180,10 +180,10 @@
- fi
- fi
-
-+# need libtool
-+AC_DISABLE_STATIC
-+AC_PROG_LIBTOOL
- if test "$ac_nsdejavu" != no ; then
-- # need libtool
-- AC_DISABLE_STATIC
-- AC_PROG_LIBTOOL
- # prepare flags
- NSDEJAVU_CFLAGS=
- NSDEJAVU_LIBS=
diff --git a/app-text/djview4/files/djview4-4.6-segfault.patch b/app-text/djview4/files/djview4-4.6-segfault.patch
deleted file mode 100644
index e19d0961f24a..000000000000
--- a/app-text/djview4/files/djview4-4.6-segfault.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From: leonb <leonb>
-Date: Wed, 24 Nov 2010 01:57:04 +0000 (+0000)
-Subject: Fixed occasional segfault when flipping pages very quickly.
-X-Git-Tag: debian/4.6-2~27
-X-Git-Url: http://djvu.git.sourceforge.net/git/gitweb.cgi?p=djvu%2Fdjview.git;a=commitdiff_plain;h=108bbca677f58f820cf8ab8653fc41b25ce6436f
-
-Fixed occasional segfault when flipping pages very quickly.
----
-
-diff --git a/src/qdjvuwidget.cpp b/src/qdjvuwidget.cpp
-index 7635b52..281d12b 100644
---- a/src/qdjvuwidget.cpp
-+++ b/src/qdjvuwidget.cpp
-@@ -1711,14 +1711,17 @@ QDjVuPrivate::updatePosition(const QPoint &point, bool click, bool links)
- return;
- // emit pointerposition signal
- PageInfo info;
-- Page *p = pageMap[pos.pageNo];
-- info.pageno = pos.pageNo;
-- info.width = p->width;
-- info.height = p->height;
-- info.dpi = p->dpi;
-- info.segment = widget->getSegmentForRect(selectedRect, info.pageno);
-- info.selected = selectedRect;
-- emit widget->pointerPosition(pos, info);
-+ Page *p = pageMap.value(pos.pageNo,0);
-+ if (p != 0)
-+ {
-+ info.pageno = pos.pageNo;
-+ info.width = p->width;
-+ info.height = p->height;
-+ info.dpi = p->dpi;
-+ info.segment = widget->getSegmentForRect(selectedRect, info.pageno);
-+ info.selected = selectedRect;
-+ emit widget->pointerPosition(pos, info);
-+ }
- // check mapareas
- if (links)
- checkCurrentMapArea();
-@@ -5255,16 +5258,16 @@ QDjVuWidget::nextPage(void)
- int pageNo = page();
- const QRect &dr = priv->deskRect;
- const QRect &vr = priv->visibleRect;
-- const QRect &cr = priv->pageMap[pageNo]->rect;
-+ const Page *pg = priv->pageMap.value(pageNo,0);
- while (pageNo < priv->numPages - 1)
- {
- pageNo += 1;
-- if (priv->layoutChange || !priv->pageMap.contains(pageNo))
-+ if (priv->layoutChange || !priv->pageMap.contains(pageNo) || !pg)
- break;
- // Skip pages until we get a meaningful change.
- const QRect &pr = priv->pageMap[pageNo]->rect;
- if (! vr.contains(pr))
-- if (pr.top() != cr.top() || vr.width() < dr.width())
-+ if (pr.top() != pg->rect.top() || vr.width() < dr.width())
- break;
- }
- setPage(pageNo);
-@@ -5277,16 +5280,16 @@ QDjVuWidget::prevPage(void)
- int pageNo = page();
- const QRect &dr = priv->deskRect;
- const QRect &vr = priv->visibleRect;
-- const QRect &cr = priv->pageMap[pageNo]->rect;
-+ const Page *pg = priv->pageMap.value(pageNo,0);
- while (pageNo > 0)
- {
- pageNo -= 1;
-- if (priv->layoutChange || !priv->pageMap.contains(pageNo))
-+ if (priv->layoutChange || !priv->pageMap.contains(pageNo) || !pg)
- break;
- // Skip pages until we get a meaningful change.
- const QRect &pr = priv->pageMap[pageNo]->rect;
- if (! vr.contains(pr))
-- if (pr.top() != cr.top() || vr.width() < dr.width())
-+ if (pr.top() != pg->rect.top() || vr.width() < dr.width())
- break;
- }
- setPage(pageNo);
diff --git a/app-text/djview4/metadata.xml b/app-text/djview4/metadata.xml
deleted file mode 100644
index 17b5cf25f02e..000000000000
--- a/app-text/djview4/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>tex</herd>
-<maintainer>
- <email>pva@gentoo.org</email>
- <name>Peter Volkov</name>
-</maintainer>
-</pkgmetadata>