summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog147
-rw-r--r--debian/compat1
-rw-r--r--debian/control37
-rw-r--r--debian/copyright30
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/patches/01_lpi.patch38
-rw-r--r--debian/patches/02-zlib.patch39
-rw-r--r--debian/patches/series2
-rwxr-xr-xdebian/rules19
-rw-r--r--debian/source/format1
-rw-r--r--debian/source_simple-scan.py23
-rw-r--r--debian/watch2
12 files changed, 341 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c71f3ad
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,147 @@
+simple-scan (2.31.5~bzr424-1) unstable; urgency=low
+
+ * Imported Upstream version 2.31.5~bzr424
+ * Remove DMUA field.
+ * Update Standards to 3.9.0.
+ * Drop Recommends on imagemagick.
+ * Build-Depends on zlib2g-dev, libjpeg62-dev.
+ * Update watch file.
+ * Refresh 01_lpi.patch patch.
+ * Switch to 3.0 (quilt) format.
+ * Add debian/gbp.conf,.gitignore files.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Mon, 12 Jul 2010 23:35:55 +0200
+
+simple-scan (2.31.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * All patches have been applied upstream.
+ * debian/source_simple-scan.py: Sync with Ubuntu.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 13 May 2010 20:42:09 +0200
+
+simple-scan (1.0.3-1) unstable; urgency=low
+
+ * New upstream release.
+ - Set resolution on ImageMagick generated PDFs (LP: #564106).
+ * debian/patches/10-set_supported_flags.patch:
+ - Set duplex and batch-scan flags if supported by driver (LP: #566759).
+ * Set format to 1.0.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 22 Apr 2010 15:18:11 +0200
+
+simple-scan (1.0.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Fri, 16 Apr 2010 17:45:41 +0200
+
+simple-scan (1.0.0-2) unstable; urgency=low
+
+ * debian/control: Revert last change of Build-Depends field, the previous
+ situation was preferable and even correct (Closes: #577821).
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Wed, 14 Apr 2010 23:55:43 +0200
+
+simple-scan (1.0.0-1) unstable; urgency=low
+
+ * New upstream stable release.
+ * debian/rules:
+ - Call intltool-update to generate a PO template (LP: #551470).
+ * Drop debian/patches/11_thunderbird_workaround.patch patch, applied
+ upstream.
+ * Refresh 01_lpi.patch patch.
+ * debian/control:
+ - udev is not available on kfreebsd-*,hurd architectures.
+ - Add Vcs-{Git,Browser} tags.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Wed, 14 Apr 2010 12:54:33 +0200
+
+simple-scan (0.9.10-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ - Build-depend on libdbus-glib-1-dev.
+ - Recommend imagemagick.
+ * debian/patches/11_thunderbird_workaround.patch:
+ - Workaround Thunderbird/Icedove mail bug.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Fri, 09 Apr 2010 12:41:39 +0200
+
+simple-scan (0.9.9-1) unstable; urgency=low
+
+ * New upstream release.
+ * Refresh patches.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Mon, 15 Mar 2010 17:32:51 +0100
+
+simple-scan (0.9.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Tue, 09 Mar 2010 07:25:04 +0100
+
+simple-scan (0.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/rules: Call autoreconf before calling the configure script.
+ * Bump versioned build-dep on debhelper.
+ * Remove 99_autotools.patch.
+ * Build-Depends on gnome-common.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Mon, 08 Mar 2010 14:58:35 +0100
+
+simple-scan (0.9.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Include apport hook without installing it in order to mimize the delta
+ between Debian and Ubuntu.
+ * Add README.source to document how-to patch the sources.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 18 Feb 2010 11:38:37 +0100
+
+simple-scan (0.9.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump standards.
+ * Build-depend on libgudev-1.0-dev,gnome-doc-utils.
+ * Drop manpages from the packaging, upstream now provides them.
+ * Add quilt support.
+ * Provide ubuntu-specific patches without applying them in order to
+ minimze the delta.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Tue, 16 Feb 2010 00:46:46 +0100
+
+simple-scan (0.8.1-3) unstable; urgency=low
+
+ * Append --as-needed to LDFLAGS to avoid excessive dependencies;
+ thanks to Martin Pitt for reporting this (LP: #512048).
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Mon, 25 Jan 2010 00:49:34 +0100
+
+simple-scan (0.8.1-2) unstable; urgency=low
+
+ * Update debian/copyright.
+ * debian/control:
+ - No need to build-depend on debhelper >= 7.0.50.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Wed, 20 Jan 2010 11:26:17 +0100
+
+simple-scan (0.8.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Wed, 20 Jan 2010 10:59:36 +0100
+
+simple-scan (0.8.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Allow DM uploads.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Wed, 23 Dec 2009 11:26:30 +0100
+
+simple-scan (0.7.6-1) unstable; urgency=low
+
+ * Initial release (Closes: #561790).
+
+ -- Alessio Treglia <quadrispro@ubuntu.com> Mon, 21 Dec 2009 00:31:16 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..668f18c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: simple-scan
+Section: gnome
+Priority: optional
+Maintainer: Alessio Treglia <quadrispro@ubuntu.com>
+Standards-Version: 3.9.0
+Build-Depends: debhelper (>= 7.0.50~),
+ gnome-pkg-tools (>= 0.10),
+ gnome-doc-utils (>= 0.3.2),
+ gnome-common,
+ libglib2.0-dev,
+ libgtk2.0-dev,
+ libgconf2-dev,
+ libcairo2-dev,
+ libgudev-1.0-dev,
+ libdbus-glib-1-dev,
+ libsane-dev,
+ zlib1g-dev,
+ libjpeg62-dev,
+ intltool
+Homepage: https://launchpad.net/simple-scan
+Vcs-Git: git://git.debian.org/collab-maint/simple-scan.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/simple-scan.git
+
+Package: simple-scan
+Architecture: any
+Depends: ${shlibs:Depends},
+ gnome-icon-theme,
+ xdg-utils,
+ ${misc:Depends}
+Description: Simple Scanning Utility
+ Simple Scan is an easy-to-use application, designed to let users
+ connect their scanner and quickly have the image/document in an
+ appropriate format.
+ .
+ Simple Scan is basically a frontend for SANE - which is the same
+ backend as XSANE uses. This means that all existing scanners will
+ work and the interface is well tested.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..445d10d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Name: Simple Scan
+Maintainer: Robert Ancell <robert.ancell@canonical.com>
+Source: http://people.ubuntu.com/~robert-ancell/simple-scan/
+
+Files: *
+Copyright: 2009, Canonical Ltd
+License: GPL-3+
+
+Files: debian/*
+Copyright:
+ 2009-2010, Alessio Treglia <quadrispro@ubuntu.com>
+ 2009, Robert Ancell <robert.ancell@canonical.com>
+License: GPL-3+
+
+License: GPL-3+
+ This program 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 program. If not, see <http://www.gnu.org/licenses/>.
+X-Comment: On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3’.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..9be049f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[git-buildpackage]
+pristine-tar = True
diff --git a/debian/patches/01_lpi.patch b/debian/patches/01_lpi.patch
new file mode 100644
index 0000000..73067ec
--- /dev/null
+++ b/debian/patches/01_lpi.patch
@@ -0,0 +1,38 @@
+Origin: Ubuntu
+Description: Add launchpad-integration support.
+---
+ configure.ac | 1 +
+ src/ui.c | 5 +++++
+ 2 files changed, 6 insertions(+)
+
+--- simple-scan.orig/configure.ac
++++ simple-scan/configure.ac
+@@ -36,6 +36,7 @@ PKG_CHECK_MODULES(SIMPLE_SCAN, [
+ cairo-pdf
+ dbus-glib-1
+ gudev-1.0
++ launchpad-integration
+ ])
+
+ AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
+--- simple-scan.orig/src/ui.c
++++ simple-scan/src/ui.c
+@@ -16,6 +16,7 @@
+ #include <gconf/gconf-client.h>
+ #include <math.h>
+ #include <unistd.h> // TEMP: Needed for close() in get_temporary_filename()
++#include <launchpad-integration.h>
+
+ #include "ui.h"
+ #include "book-view.h"
+@@ -1526,6 +1527,10 @@ ui_load (SimpleScan *ui)
+ }
+ gtk_builder_connect_signals (builder, ui);
+
++ /* Add Launchpad integration */
++ launchpad_integration_set_sourcepackagename ("simple-scan");
++ launchpad_integration_add_items (GTK_WIDGET (gtk_builder_get_object (builder, "help_menu")), 1, TRUE, TRUE);
++
+ ui->priv->window = GTK_WIDGET (gtk_builder_get_object (builder, "simple_scan_window"));
+ ui->priv->main_vbox = GTK_WIDGET (gtk_builder_get_object (builder, "main_vbox"));
+ ui->priv->page_delete_menuitem = GTK_WIDGET (gtk_builder_get_object (builder, "page_delete_menuitem"));
diff --git a/debian/patches/02-zlib.patch b/debian/patches/02-zlib.patch
new file mode 100644
index 0000000..c853fc0
--- /dev/null
+++ b/debian/patches/02-zlib.patch
@@ -0,0 +1,39 @@
+---
+ debian/patches/02_zlib.patch | 32 ++++++++++++++++++++++++++++++++
+ 1 file changed, 32 insertions(+)
+
+--- /dev/null
++++ simple-scan/debian/patches/02_zlib.patch
+@@ -0,0 +1,32 @@
++Index: simple-scan-2.31.4/configure.ac
++===================================================================
++--- simple-scan-2.31.4.orig/configure.ac 2010-07-01 10:41:07.647854281 +1000
+++++ simple-scan-2.31.4/configure.ac 2010-07-01 10:41:47.307854280 +1000
++@@ -30,7 +30,6 @@
++ gconf-2.0
++ gmodule-export-2.0
++ gthread-2.0
++- zlib,
++ cairo
++ gdk-pixbuf-2.0
++ cairo-pdf
++@@ -41,6 +40,7 @@
++
++ AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
++ AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
+++AC_CHECK_HEADERS([zlib.h],[],[AC_MSG_ERROR([ZLib not found])])
++ AC_CHECK_HEADERS([jpeglib.h],[],[AC_MSG_ERROR([libjpeg not found])])
++
++ dnl ###########################################################################
++Index: simple-scan-2.31.4/src/Makefile.am
++===================================================================
++--- simple-scan-2.31.4.orig/src/Makefile.am 2010-07-01 10:41:14.017854282 +1000
+++++ simple-scan-2.31.4/src/Makefile.am 2010-07-01 10:41:23.817854281 +1000
++@@ -30,6 +30,7 @@
++ $(SIMPLE_SCAN_LIBS) \
++ -lsane \
++ -ljpeg \
+++ -lz \
++ -lm
++
++ DISTCLEANFILES = \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a46cf4c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+# Empty
+02-zlib.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ccdd458
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+LDFLAGS+=-Wl,--as-needed
+
+%:
+ dh $@
+
+# Fixes FTBFS
+override_dh_auto_test:
+
+# Autoreconf due to 01_lpi.patch
+override_dh_auto_configure:
+ ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make
+ autoreconf -f -i -s
+ dh_auto_configure
+
+override_dh_auto_build:
+ cd po; intltool-update -p
+ dh_auto_build
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source_simple-scan.py b/debian/source_simple-scan.py
new file mode 100644
index 0000000..6fab46c
--- /dev/null
+++ b/debian/source_simple-scan.py
@@ -0,0 +1,23 @@
+'''apport package hook for simple-scan
+
+(c) 2010 Canonical Ltd.
+Author: Robert Ancell <robert.ancell@canonical.com>
+'''
+
+import os.path
+from apport.hookutils import *
+
+LOG_FILE = os.path.expanduser('~/.cache/simple-scan/simple-scan.log')
+driver_packages = ['libsane', 'libsane-extras', 'hplip', 'hpoj']
+
+def add_info(report):
+ attach_hardware(report)
+ versions = ''
+ for package in driver_packages:
+ try:
+ version = packaging.get_version(package)
+ except ValueError:
+ version = 'N/A'
+ versions += '%s %s\n' % (package, version)
+ report['DriverPackageVersions'] = versions
+ attach_file_if_exists(report, LOG_FILE, 'SimpleScanLog')
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e129f48
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://ftp.gnome.org/pub/GNOME/sources/simple-scan/([\d\.]+)\d/simple-scan-(.*)\.tar\.bz2