Summary: | app-text/epdfview-0.1.7 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick White <gentoo> |
Component: | New packages | Assignee: | David Shakaryan (RETIRED) <omp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | galtgendo, printing, radhermit |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://trac.emma-soft.com/epdfview | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
epdfview-0.1.7.ebuild
ebuild with fixed configure options and icon line in .desktop Fixed mouse scroll patch that seems to be the real fix |
Description
Nick White
2009-03-04 02:52:59 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. epdfview-0.1.7.ebuild # 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 $ EAPI="2" inherit eutils DESCRIPTION="Lightweight PDF viewer using Poppler and GTK+ libraries." HOMEPAGE="http://trac.emma-soft.com/epdfview/" SRC_URI="http://trac.emma-soft.com/epdfview/chrome/site/releases/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd" IUSE="cups nls test" COMMON_DEPEND=">=app-text/poppler-bindings-0.5.0[gtk] >=x11-libs/gtk+-2.6 cups? ( >=net-print/cups-1.1 )" DEPEND="${COMMON_DEPEND} >=dev-util/pkgconfig-0.9 nls? ( sys-devel/gettext ) test? ( dev-util/cppunit )" RDEPEND="${COMMON_DEPEND} 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" dodoc AUTHORS NEWS README THANKS } Created attachment 184308 [details]
epdfview-0.1.7.ebuild
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.
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. Created attachment 184958 [details]
ebuild with fixed configure options and icon line in .desktop
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. Created attachment 184970 [details]
Fixed mouse scroll
mouse scroll works just with -O0 flag. +*epdfview-0.1.7 (19 Mar 2009) + + 19 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> +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. + 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.
Reopening to see if the patch is correct. 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 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. |