Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261123 - app-text/epdfview-0.1.7 version bump
Summary: app-text/epdfview-0.1.7 version bump
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: David Shakaryan (RETIRED)
Depends on:
Reported: 2009-03-04 02:52 UTC by Nick White
Modified: 2009-07-11 10:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

epdfview-0.1.7.ebuild (epdfview-0.1.7.ebuild,1.02 KB, text/plain)
2009-03-08 02:47 UTC, Adam
ebuild with fixed configure options and icon line in .desktop (epdfview-0.1.7.ebuild,999 bytes, text/plain)
2009-03-14 15:38 UTC, Sergey Zasenko
Fixed mouse scroll (epdfview-0.1.7.ebuild,1.02 KB, text/plain)
2009-03-14 16:53 UTC, Sergey Zasenko
patch that seems to be the real fix (fix-scrolling.patch,1.25 KB, patch)
2009-03-20 02:22 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick White 2009-03-04 02:52:59 UTC
New version released a few days ago.
Comment 1 Adam 2009-03-08 02:42:42 UTC
I just copied the 0.1.6-r1 ebuild and 
-Changed the version number
-Removed the patches
-removed the epatch commands from the ebuild.

The new ebuild seems to work. All the dependencies are the same so there was really little modification which needed to be done.


# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.7.ebuild,v 1.11 2009/03/07 14:17:18 gentoofan23 Exp $

inherit eutils

DESCRIPTION="Lightweight PDF viewer using Poppler and GTK+ libraries."

KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="cups nls test"

	cups? ( >=net-print/cups-1.1 )"
	nls? ( sys-devel/gettext )
	test? ( dev-util/cppunit )"
	nls? ( virtual/libintl )"

src_unpack() {
	unpack ${A}
	cd "${S}"

src_configure() {
	econf \
		$(use_enable cups) \
		$(use_with nls)

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
Comment 2 Adam 2009-03-08 02:47:34 UTC
Created attachment 184308 [details]

I've never submitted to bugzille so I'm not sure what exactly is required, but here's an ebuild for epdfview-0.1.7 which works for me.
Comment 3 Adam 2009-03-08 07:59:24 UTC
Probably better to ignore my ebuild. I've just figured out mouse scrolling doesn't work when it's installed through portage using this script.
Comment 4 Sergey Zasenko 2009-03-14 15:38:38 UTC
Created attachment 184958 [details]
ebuild with fixed configure options and icon line in .desktop
Comment 5 Sergey Zasenko 2009-03-14 15:52:35 UTC
EPdfView now uses --with-cups instead of --enable-cups and --enable-nls instead of --with-nls.
Also added fixing of Icon line in .desktop file.
Still got problems with mosue scrolling.
Comment 6 Sergey Zasenko 2009-03-14 16:53:28 UTC
Created attachment 184970 [details]
Fixed mouse scroll
Comment 7 Sergey Zasenko 2009-03-14 16:54:26 UTC
mouse scroll works just with -O0 flag.
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-19 22:39:08 UTC
+*epdfview-0.1.7 (19 Mar 2009)
+  19 Mar 2009; Peter Alfredsen <> +epdfview-0.1.7.ebuild:
+  Bump, bug 261123. Fix icons, bug 253993. Bump also presumably fixes bug
+  188980, since it was fixed in SVN at the time.
Comment 9 Rafał Mużyło 2009-03-20 02:22:50 UTC
Created attachment 185593 [details, diff]
patch that seems to be the real fix

Following patch seems to be the real fix.
Please confirm.

The problem seems to be caused by incorrect use of
GTK API by epdfview. The fact, that '-O0' worked was just 
a coincidence.

If it works, please inform upstream.
Comment 10 Rafał Mużyło 2009-03-20 02:24:15 UTC
Reopening to see if the patch is correct.
Comment 11 Sergey Zasenko 2009-03-20 07:42:45 UTC
Patch works fine with -O2. But change 2 first lines in patch to:
--- epdfview-0.1.7/src/gtk/MainView.cxx.old	2009-02-28 22:00:55.000000000 +0100
+++ epdfview-0.1.7/src/gtk/MainView.cxx	2009-03-20 03:12:10.000000000 +0100
Comment 12 David Shakaryan (RETIRED) gentoo-dev 2009-07-11 10:48:41 UTC
The latest revision in the tree seems to have a fix for the mouse scrolling applied, so I'm closing this bug. Reopen if the problem persists.