summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-17 11:04:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-17 11:04:01 +0000
commitd48c70b2364150135f9b2dee2f836dcfc58721c3 (patch)
tree36f2d229468f1c190c9a21b458afeac627c85f6e /gnome-extra/gnome-web-photo
parentremove gluezilla, as part of xulrunner removal (diff)
downloadgentoo-2-d48c70b2364150135f9b2dee2f836dcfc58721c3.tar.gz
gentoo-2-d48c70b2364150135f9b2dee2f836dcfc58721c3.tar.bz2
gentoo-2-d48c70b2364150135f9b2dee2f836dcfc58721c3.zip
punt old, as part of xulrunner removal
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-web-photo')
-rw-r--r--gnome-extra/gnome-web-photo/ChangeLog6
-rw-r--r--gnome-extra/gnome-web-photo/files/gnome-web-photo-0.8-libxul-compat.patch70
-rw-r--r--gnome-extra/gnome-web-photo/gnome-web-photo-0.9.ebuild41
3 files changed, 5 insertions, 112 deletions
diff --git a/gnome-extra/gnome-web-photo/ChangeLog b/gnome-extra/gnome-web-photo/ChangeLog
index 269be62b0fa7..003b41f9791e 100644
--- a/gnome-extra/gnome-web-photo/ChangeLog
+++ b/gnome-extra/gnome-web-photo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/gnome-web-photo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-web-photo/ChangeLog,v 1.18 2012/01/14 17:07:51 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-web-photo/ChangeLog,v 1.19 2012/04/17 11:04:01 ssuominen Exp $
+
+ 17 Apr 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -files/gnome-web-photo-0.8-libxul-compat.patch, -gnome-web-photo-0.9.ebuild:
+ old
14 Jan 2012; Markus Meier <maekke@gentoo.org> gnome-web-photo-0.10.4.ebuild:
x86 stable, bug #393007
diff --git a/gnome-extra/gnome-web-photo/files/gnome-web-photo-0.8-libxul-compat.patch b/gnome-extra/gnome-web-photo/files/gnome-web-photo-0.8-libxul-compat.patch
deleted file mode 100644
index 14833ac679ad..000000000000
--- a/gnome-extra/gnome-web-photo/files/gnome-web-photo-0.8-libxul-compat.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From c90a9ed422d683840b59fc50c7d201e63cbd2028 Mon Sep 17 00:00:00 2001
-From: Romain Perier <mrpouet@gentoo.org>
-Date: Mon, 8 Feb 2010 18:27:29 +0100
-Subject: Fix backward compatibility with xulrunner-1.9.2
-
-1)° xulrunner-1.9.2 no longer installs libxul-unstable
-2)° Since 1.9.2 nsIPresShell has an API change (RenderDocument),
- so we've to check LIBXUL_VERSION
-
----
- m4/libxul.m4 | 9 +++++++--
- src/Makefile.am | 1 +
- src/Writer.cpp | 8 ++++++--
- 3 files changed, 14 insertions(+), 4 deletions(-)
-
---- a/m4/libxul.m4
-+++ b/m4/libxul.m4
-@@ -50,7 +50,7 @@ if test "$libxul_cv_have_libxul" != "yes"; then
- AC_MSG_ERROR([libxul not found])
- fi
-
--libxul_cv_version="$($PKG_CONFIG --modversion $libxul_cv_libxul_pkg)"
-+libxul_cv_version="$($PKG_CONFIG --modversion $libxul_cv_libxul_pkg | sed 's:\.::g')"
- libxul_cv_prefix="$($PKG_CONFIG --variable=prefix $libxul_cv_libxul_pkg)"
- libxul_cv_include_root="$($PKG_CONFIG --variable=includedir $libxul_cv_libxul_pkg)"
- libxul_cv_sdkdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)"
-@@ -59,7 +59,12 @@ libxul_cv_sdkdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)"
- # I can figure this out, do it like this:
- libxul_cv_libdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)/bin"
-
--libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul-unstable libxul)"
-+libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul)"
-+
-+# xulrunner-1.9.2 no longer installs libxul-unstable
-+if $($PKG_CONFIG --exists libxul-unstable); then
-+ libxul_cv_includes+="$($PKG_CONFIG --cflags-only-I libxul-unstable)"
-+fi
-
- AC_DEFINE([HAVE_LIBXUL],[1],[Define for libxul])
-
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -42,6 +42,7 @@ gnome_web_photo_CPPFLAGS = \
- -DLOCALEDIR=\"$(datadir)/locale\" \
- -DGECKO_HOME=\"$(GECKO_HOME)\" \
- -DGECKO_PREFIX=\"$(GECKO_PREFIX)\" \
-+ -DLIBXUL_VERSION=$(LIBXUL_VERSION) \
- -DXPCOM_GLUE_USE_NSPR \
- -DXPCOM_GLUE \
- $(AM_CPPFLAGS)
---- a/src/Writer.cpp
-+++ b/src/Writer.cpp
-@@ -196,9 +196,13 @@ Writer::Write()
-
- width = NSAppUnitsToIntPixels(cutout.width, p2a);
- height = NSAppUnitsToIntPixels(cutout.height, p2a);
--
-- rv = presShell->RenderDocument(cutout, PR_FALSE, PR_TRUE,
-+#if LIBXUL_VERSION >= 192
-+ rv = presShell->RenderDocument(cutout, nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING,
- NS_RGB(255, 255, 255), context);
-+#else
-+ rv = presShell->RenderDocument(cutout, PR_FALSE, PR_TRUE,
-+ NS_RGB(255, 255, 255), context);
-+#endif
- if (NS_SUCCEEDED(rv)) {
- imgContext->DrawSurface(surface, gfxSize(width, height));
- }
-
-
diff --git a/gnome-extra/gnome-web-photo/gnome-web-photo-0.9.ebuild b/gnome-extra/gnome-web-photo/gnome-web-photo-0.9.ebuild
deleted file mode 100644
index 2812967fa7dd..000000000000
--- a/gnome-extra/gnome-web-photo/gnome-web-photo-0.9.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-web-photo/gnome-web-photo-0.9.ebuild,v 1.7 2011/11/06 06:09:27 tetromino Exp $
-
-EAPI="2"
-
-inherit autotools gnome2
-
-DESCRIPTION="A tool to generate images and thumbnails from HTML files"
-HOMEPAGE="http://git.gnome.org/browse/gnome-web-photo/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="jpeg"
-
-RDEPEND=">=dev-libs/glib-2.6:2
- >=x11-libs/gtk+-2.6.3:2
- >=dev-libs/libxml2-2.6.12:2
- media-libs/libpng:0
- gnome-base/gconf:2
- jpeg? ( virtual/jpeg:0 )
- >=net-libs/xulrunner-1.9.2:1.9"
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.19
- sys-devel/gettext"
-
-DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
-
-pkg_setup() {
- G2CONF="${G2CONF} $(use_enable jpeg)"
-}
-
-src_prepare() {
- gnome2_src_prepare
-
- # Compatibility with xulrunner-1.9.2, per bug #303897
- epatch "${FILESDIR}/${PN}-0.8-libxul-compat.patch"
-
- eautoreconf
-}