--- gnome-commander-1.2.8.1.orig/configure.in +++ gnome-commander-1.2.8.1/configure.in @@ -236,6 +236,9 @@ have_pdf=no if test x$with_poppler != xno; then PKG_CHECK_MODULES(POPPLER, poppler >= $POPPLER_REQ, have_pdf=yes, have_pdf=no) + if pkg-config --max-version=0.11.2 poppler; then + AC_DEFINE(POPPLER_HAS_GET_PDF_VERSION, 1, [Define to 1 if poppler has support for PDFDoc::getPDFVersion()]) + fi fi if test "x$have_pdf" = "xyes"; then AC_DEFINE(HAVE_PDF, 1, [Define to 1 if you have PDF support]) --- gnome-commander-1.2.8.1.orig/debian/watch +++ gnome-commander-1.2.8.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/([\d.]+)/gnome-commander-([\d.]+)\.tar\.gz --- gnome-commander-1.2.8.1.orig/debian/compat +++ gnome-commander-1.2.8.1/debian/compat @@ -0,0 +1 @@ +5 --- gnome-commander-1.2.8.1.orig/debian/changelog +++ gnome-commander-1.2.8.1/debian/changelog @@ -0,0 +1,105 @@ +gnome-commander (1.2.8.1-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #415782). + * Added watch file. + * Added libpoppler-dev (>= 0.6) to build-depends. + * Fixed poppler-related build problem (patch backported from + upstream git, commit eada5b0f65cf). + + -- Ilya Barygin Tue, 15 Sep 2009 09:52:54 +0400 + +gnome-commander (1.2.7-1build1) jaunty; urgency=low + + * No-change rebuild for exiv2 0.18 (LP: 309684) + + -- Luka Renko Tue, 17 Mar 2009 19:28:34 +0100 + +gnome-commander (1.2.7-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Tue, 09 Sep 2008 21:59:34 +0200 + +gnome-commander (1.2.6-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Tue, 15 Jul 2008 10:35:05 +0200 + +gnome-commander (1.2.5-1) unstable; urgency=low + + * New upstream release + * Thanks to Christopher Sauthier for the help + with the update + + -- Michael Vogt Wed, 12 Mar 2008 19:55:49 +0100 + +gnome-commander (1.2.4-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Mon, 11 Jun 2007 09:37:03 +0200 + +gnome-commander (1.2.3-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Tue, 12 Dec 2006 10:25:21 +0100 + +gnome-commander (1.2.2-1) unstable; urgency=low + + * New upstream release (closes: #401228) + + -- Michael Vogt Mon, 11 Dec 2006 09:49:10 +0100 + +gnome-commander (1.2.0-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix typo in debian/rules which caused the files in + /var/lib/scrollkeeper to be shipped. (Closes: #386319) + * Also repair scrollkeeper database up to this version as previos NMU + still shipped the /var/lib/scrollkeeper files. + + -- Arjan Oosting Wed, 27 Sep 2006 14:08:02 +0200 + +gnome-commander (1.2.0-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * If scrollkeeper is installed, repair the scrollkeeper database for + upgrades from versions >= 1.2.0-1 via postinst; see #383201 for + discussion. + + -- Loic Minier Sun, 3 Sep 2006 16:22:55 +0200 + +gnome-commander (1.2.0-3) unstable; urgency=low + + * added --disable-scrollkeeper on build + + -- Michael Vogt Tue, 13 Jun 2006 15:39:48 +0200 + +gnome-commander (1.2.0-2) unstable; urgency=low + + * fix FTBFS (Closes: #370239) by adding gnome-doc-utils, + scrollkeeper to the build-depends + + -- Michael Vogt Tue, 6 Jun 2006 14:58:44 +0200 + +gnome-commander (1.2.0-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt Fri, 2 Jun 2006 09:40:37 +0200 + +gnome-commander (1.1.7-2) unstable; urgency=low + + * fixed debian/copyright file + + -- Michael Vogt Mon, 27 Mar 2006 10:06:52 +0200 + +gnome-commander (1.1.7-1) unstable; urgency=low + + * initial release into debian, based on the ubuntu packaging from + Daniel Holbach (thanks!) + + -- Michael Vogt Tue, 14 Feb 2006 11:35:05 +0100 + --- gnome-commander-1.2.8.1.orig/debian/copyright +++ gnome-commander-1.2.8.1/debian/copyright @@ -0,0 +1,57 @@ +This package was debianized by Daniel Holbach on +Mon, 13 Feb 2006 12:09:30 +0100. + +It was downloaded from http://ftp.gnome.org/pub/GNOME/sources/gnome-commander/ + +Copyright Holder: 2001-2006 + Marcus Bjurman + Piotr Eljasiak + Assaf Gordon + +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'. + + + +Some part of the source are distributed under the LGPL: +/* gnome-about.h - An about box widget for gnome. + + Copyright (C) 2001 CodeFactory AB + Copyright (C) 2001 Anders Carlsson + + The Gnome Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the Gnome Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + Author: Anders Carlsson +*/ + +On Debian systems, the complete text of the GNU Library General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- gnome-commander-1.2.8.1.orig/debian/control +++ gnome-commander-1.2.8.1/debian/control @@ -0,0 +1,17 @@ +Source: gnome-commander +Section: gnome +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Michael Vogt +Build-Depends: cdbs, debhelper (>= 5), libglib2.0-dev (>= 2.0), libgtk2.0-dev (>= 2.8), libgnome2-dev (>= 2.0), libgnomeui-dev (>= 2.4), libgnomevfs2-dev (>= 2.0), libxml-parser-perl, gnome-doc-utils, scrollkeeper, libtag1-dev (>= 1.4), libexiv2-dev (>= 0.14), libpoppler-dev (>= 0.6) +Standards-Version: 3.8.3 + +Package: gnome-commander +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Homepage: http://www.nongnu.org/gcmd/ +Description: nice and fast file manager for the GNOME desktop + GNOME Commander is a fast and powerful graphical filemanager for the GNOME + desktop environment, it has a "two-pane" interface in the tradition of + Norton and Midnight Commander. + . --- gnome-commander-1.2.8.1.orig/debian/rules +++ gnome-commander-1.2.8.1/debian/rules @@ -0,0 +1,6 @@ +#!/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 += --disable-scrollkeeper --- gnome-commander-1.2.8.1.orig/debian/gnome-commander.postinst +++ gnome-commander-1.2.8.1/debian/gnome-commander.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# version 1.2.0-1 started shipping /var/lib/scrollkeeper erroneously, hence +# the database was overwritten and needs a full rebuild +if [ "$1" = "configure" ] && dpkg --compare-versions "$2" ge "1.2.0-1" && dpkg --compare-versions "$2" lt "1.2.0-3.2" && which scrollkeeper-rebuilddb >/dev/null 2>&1; then + echo "Upgrade from broken GNOME Commander version detected, running scrollkeeper-rebuilddb..." + scrollkeeper-rebuilddb -q +fi + +#DEBHELPER# --- gnome-commander-1.2.8.1.orig/src/tags/gnome-cmd-tags-poppler.cc +++ gnome-commander-1.2.8.1/src/tags/gnome-cmd-tags-poppler.cc @@ -320,7 +320,12 @@ f->metadata->mark_as_accessed(TAG_DOC); +#ifdef POPPLER_HAS_GET_PDF_VERSION f->metadata->addf(TAG_PDF_VERSION, "%.1f", doc.getPDFVersion()); +#else + f->metadata->addf(TAG_PDF_VERSION, "%u.%u", doc.getPDFMajorVersion(), doc.getPDFMinorVersion()); +#endif + f->metadata->addf(TAG_DOC_PAGECOUNT, "%i", doc.getNumPages()); f->metadata->addf(TAG_PDF_OPTIMIZED, "%u", doc.isLinearized());