diff options
Diffstat (limited to 'media-gfx/gqview')
-rw-r--r-- | media-gfx/gqview/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/gqview/files/gqview-2.1.5-windows.patch | 16 | ||||
-rw-r--r-- | media-gfx/gqview/gqview-2.1.5.ebuild | 12 |
3 files changed, 33 insertions, 4 deletions
diff --git a/media-gfx/gqview/ChangeLog b/media-gfx/gqview/ChangeLog index be8524499994..d50013b5d7e1 100644 --- a/media-gfx/gqview/ChangeLog +++ b/media-gfx/gqview/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/gqview -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/ChangeLog,v 1.84 2007/10/14 15:49:10 corsair Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/ChangeLog,v 1.85 2008/09/02 04:22:03 mr_bones_ Exp $ + + 02 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org> + +files/gqview-2.1.5-windows.patch, gqview-2.1.5.ebuild: + add patch from geckosenator on upstream forums for saving window information, + even when maximized. (bug #228821) 14 Oct 2007; Markus Rothe <corsair@gentoo.org> gqview-2.0.4.ebuild: Stable on ppc64; bug #194935 diff --git a/media-gfx/gqview/files/gqview-2.1.5-windows.patch b/media-gfx/gqview/files/gqview-2.1.5-windows.patch new file mode 100644 index 000000000000..207f3c02fabd --- /dev/null +++ b/media-gfx/gqview/files/gqview-2.1.5-windows.patch @@ -0,0 +1,16 @@ +--- old/src/main.c 2006-11-01 17:28:37.000000000 +0000 ++++ new/src/main.c 2008-06-21 23:31:06.000000000 +0000 +@@ -1054,11 +1054,8 @@ + if (layout_valid(&lw)) + { + main_window_maximized = window_maximized(lw->window); +- if (!main_window_maximized) +- { +- layout_geometry_get(NULL, &main_window_x, &main_window_y, +- &main_window_w, &main_window_h); +- } ++ layout_geometry_get(NULL, &main_window_x, &main_window_y, ++ &main_window_w, &main_window_h); + } + + layout_geometry_get_dividers(NULL, &window_hdivider_pos, &window_vdivider_pos); diff --git a/media-gfx/gqview/gqview-2.1.5.ebuild b/media-gfx/gqview/gqview-2.1.5.ebuild index a921f32256d9..f04f20a42b5b 100644 --- a/media-gfx/gqview/gqview-2.1.5.ebuild +++ b/media-gfx/gqview/gqview-2.1.5.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.1.5.ebuild,v 1.1 2006/12/10 09:02:36 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-2.1.5.ebuild,v 1.2 2008/09/02 04:22:03 mr_bones_ Exp $ + +inherit eutils DESCRIPTION="A GTK-based image browser" HOMEPAGE="http://gqview.sourceforge.net/" @@ -19,6 +21,12 @@ DEPEND="${RDEPEND} dev-util/pkgconfig sys-devel/gettext" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-windows.patch" +} + src_compile() { econf \ --disable-dependency-tracking \ |