--- gnome-web-photo-0.8.orig/\ +++ gnome-web-photo-0.8/\ @@ -0,0 +1,14 @@ +Source: gnome-web-photo +Section: gnome +Priority: optional +XSBC-Original-Maintainer: Daniel Holbach +Maintainer: Ubuntu MOTU Developers +Build-Depends: cdbs, debhelper (>= 5), libglib2.0-dev (>= 2.6), libxml-parser-perl, libxml2-dev (>= 2.6.12), libgconf2-dev, xulrunner-dev (>= 1.9.2), libgtk2.0-dev (>= 2.6.3), libjpeg62-dev +Standards-Version: 3.8.2 + +Package: gnome-web-photo +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9.2 +Description: tool to generate full-size image files from webpages + GNOME Web Photographer is a tool to generate full-size image + files and thumbnails from HTML files and web pages. --- gnome-web-photo-0.8.orig/configure +++ gnome-web-photo-0.8/configure @@ -18614,7 +18614,7 @@ # 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)" cat >>confdefs.h <<\_ACEOF --- gnome-web-photo-0.8.orig/src/Writer.cpp +++ gnome-web-photo-0.8/src/Writer.cpp @@ -197,7 +197,8 @@ width = NSAppUnitsToIntPixels(cutout.width, p2a); height = NSAppUnitsToIntPixels(cutout.height, p2a); - rv = presShell->RenderDocument(cutout, PR_FALSE, PR_TRUE, + rv = presShell->RenderDocument(cutout, + nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING, NS_RGB(255, 255, 255), context); if (NS_SUCCEEDED(rv)) { imgContext->DrawSurface(surface, gfxSize(width, height)); --- gnome-web-photo-0.8.orig/debian/rules +++ gnome-web-photo-0.8/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +#DEB_CONFIGURE_EXTRA_FLAGS := --with-gecko=xulrunner +CFLAGS += `pkg-config --cflags libxul` + +install/gnome-web-photo:: + mv $(CURDIR)/debian/gnome-web-photo/usr/bin/gnome-web-photo \ + $(CURDIR)/debian/gnome-web-photo/usr/bin/gnome-web-photo.real + +binary-predeb/gnome-web-photo:: + dh_xulrunner -pgnome-web-photo --- gnome-web-photo-0.8.orig/debian/copyright +++ gnome-web-photo-0.8/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Daniel Holbach on +Mon, 28 Nov 2005 21:18:41 +0100. + +It was downloaded from ftp://ftp.gnome.org/pub/sources/gnome/gnome-web-photo/ + +Copyright Holder: + Christian Persch + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- gnome-web-photo-0.8.orig/debian/changelog +++ gnome-web-photo-0.8/debian/changelog @@ -0,0 +1,118 @@ +gnome-web-photo (0.8-0ubuntu3) lucid; urgency=low + + [ Micah Gersten ] + * debian/control: update to xulrunner-1.9.2 + + [ Chris Coulson ] + * Add the xulrunner binary depends using dh_xulrunner: + - update debian/control and debian/rules + * Don't add a hardcoded path to the xulrunner headers to CFLAGS, + use the output of pkg-config instead. Ideally, the upstream + build system should just be fixed so that we don't need to do + this at all. + - update debian/rules + + -- Micah Gersten Wed, 03 Mar 2010 23:53:03 -0600 + +gnome-web-photo (0.8-0ubuntu2) karmic; urgency=low + + * proper quoting in the wrapper script, so that filenames with spaces + work (LP: #355511) + * look for xulrunner 1.9.1, not 1.9.0 (LP: #423822) + * make the wrapper script a bit of a better guesser, in hopes of + preventing bugs like #423822. + * make the wrapper script a /bin/sh script, fixing the only (trivial) + bashism + + -- Ryan Niebur Sun, 06 Sep 2009 13:04:12 -0700 + +gnome-web-photo (0.8-0ubuntu1.ffox35) karmic; urgency=low + + * xulrunner-1.9.1 by default transition + + see: https://blueprints.launchpad.net/ubuntu/+spec/desktop-karmic-firefox-3.5 + - bump minimal xulrunner-dev version + + -- Alexander Sack Thu, 09 Jul 2009 02:08:10 +0200 + +gnome-web-photo (0.8-0ubuntu1) karmic; urgency=low + + [ Dennis Craven ] + * New upstream release (LP: #395576). + - Exit when xulrunner startup fails + - Build fix for xulrunner 1.9.1 + + [ Nick Ellery ] + * Update standards-version to 3.8.2, no changes necessary. + * Update debhelper build-dep to >= 5. + * Change debian/compat to 5. + + -- Nick Ellery Sun, 05 Jul 2009 13:26:51 -0700 + +gnome-web-photo (0.6-0ubuntu2) jaunty; urgency=low + + * debian/gnome-web-photo.install, debian/scripts: + - Create a launcher script so that allow it to load xulrunner. + Thanks to Emilio López . (LP: #342408). + * debian/rules: + - Rename the gnome-web-photo binary as "gnome-web-photo.real". + * debian/control: + - Add xulrunner-1.9 to the Depends. + - Remove the Homepage - it just points to an FTP site. + + -- Siegfried-Angel Gevatter Pujals Tue, 24 Mar 2009 18:54:35 +0100 + +gnome-web-photo (0.6-0ubuntu1) jaunty; urgency=low + + * New upstream release + - Don't set config.use_system_prefs to true (Vincent Untz) + - Translation updates + * debian/control: + - remove libgnomevfs2-dev b-d + - replace gconf2 b-d by libgconf2-dev + + -- Didier Roche Wed, 18 Mar 2009 21:12:33 +0100 + +gnome-web-photo (0.5-0ubuntu2) jaunty; urgency=low + + * no changes upload for nss/nspr SONAME mini-transition + + -- Alexander Sack Mon, 12 Jan 2009 16:21:56 +0100 + +gnome-web-photo (0.5-0ubuntu1) jaunty; urgency=low + + * New upstream release. + * debian/control: replace libxul-dev with xulrunner-1.9-dev. + * debian/watch: added. + + -- Daniel Holbach Tue, 25 Nov 2008 22:17:22 +0100 + +gnome-web-photo (0.3-0ubuntu2) hardy; urgency=low + + * debian/rules: --with-gecko=xulrunner. + * debian/control: replaced firefox-dev with libxul-dev. + + -- Daniel Holbach Mon, 18 Feb 2008 10:23:11 +0100 + +gnome-web-photo (0.3-0ubuntu1) feisty; urgency=low + + * New upstream release: + - Renice when thumbnailing + - Thumbnail application/xhtml+xml files + - Initialise GThread before calling any glib function + * debian/control: + - added libjpeg62-dev as Build-Depends. + + -- Daniel Holbach Tue, 30 Jan 2007 09:50:20 +0100 + +gnome-web-photo (0.2-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Holbach Wed, 15 Feb 2006 23:32:05 +0100 + +gnome-web-photo (0.1.1-0ubuntu1) dapper; urgency=low + + * Initial release. + + -- Daniel Holbach Mon, 28 Nov 2005 21:18:41 +0100 + --- gnome-web-photo-0.8.orig/debian/gnome-web-photo.install +++ gnome-web-photo-0.8/debian/gnome-web-photo.install @@ -0,0 +1 @@ +debian/scripts/gnome-web-photo usr/bin --- gnome-web-photo-0.8.orig/debian/compat +++ gnome-web-photo-0.8/debian/compat @@ -0,0 +1 @@ +5 --- gnome-web-photo-0.8.orig/debian/watch +++ gnome-web-photo-0.8/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.gnome.org/sources/gnome-web-photo/([\d\.]+)/gnome-web-photo-([\d\.]+).tar.gz --- gnome-web-photo-0.8.orig/debian/control +++ gnome-web-photo-0.8/debian/control @@ -0,0 +1,14 @@ +Source: gnome-web-photo +Section: gnome +Priority: optional +XSBC-Original-Maintainer: Daniel Holbach +Maintainer: Ubuntu MOTU Developers +Build-Depends: cdbs, debhelper (>= 5), libglib2.0-dev (>= 2.6), libxml-parser-perl, libxml2-dev (>= 2.6.12), libgconf2-dev, xulrunner-dev (>= 1.9.2), libgtk2.0-dev (>= 2.6.3), libjpeg62-dev +Standards-Version: 3.8.2 + +Package: gnome-web-photo +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: tool to generate full-size image files from webpages + GNOME Web Photographer is a tool to generate full-size image + files and thumbnails from HTML files and web pages. --- gnome-web-photo-0.8.orig/debian/scripts/gnome-web-photo +++ gnome-web-photo-0.8/debian/scripts/gnome-web-photo @@ -0,0 +1,30 @@ +#!/bin/sh + +# gnome-web-photo launcher, helps the application to choose a xulrunner +# as Ubuntu doesn't include xulrunner on normal library locations + +# Author: Emilio López +# License: GPLv2 or later + +# Choose a xulrunner +MOZLIBPATH="NONE" +for possiblepath in /usr/lib/xulrunner-1.9.2*; do + if [ -d $possiblepath ]; then + MOZLIBPATH=$possiblepath + fi +done + +if [ "$MOZLIBPATH" = "NONE" ] ; then + # No 1.9 xulrunner, take any other + for possiblepath in /usr/lib/xulrunner-1.9.* /usr/lib/xulrunner-1.* /usr/lib/xulrunner-2.* /usr/lib/xulrunner-*; do + if [ -d $possiblepath ]; then + MOZLIBPATH=$possiblepath + break + fi + done + +fi + +# Launch gnome-web-photo +LD_LIBRARY_PATH="$MOZLIBPATH:$LD_LIBRARY_PATH" \ + /usr/bin/gnome-web-photo.real "$@"