Package: swac-explore
Severity: wishlist
Tags: patch

Hello maintainer,

find attached a patch to update swac-explore to the newest available version. 
Additionally, the packaging was a bit simplified by using some debhelper7 magic.

swac-explore (0.4.2-1) unstable; urgency=low

  [ Andreas Moog ]
  * Switch to debhelper 7, adjust debian/rules, debian/compat and 
    debian/control accordingly
  * use quilt to manage patches
  * debian/patches/01_fix_gcc44.patch to fix a FTBFS with gcc4.4
  * update standards to 3.8.3
    - add a README.source
  * add misc:Depends to make lintian happy

 -- Andreas Moog <am...@ubuntu.com>  Fri, 21 Aug 2009 14:24:39 +0200

Please consider its inclusion, thanks.
--- swac-explore-0.2/debian/changelog   2009-08-22 00:52:21.000000000 +0200
+++ swac-explore-0.4.2/debian/changelog 2009-08-22 00:52:21.000000000 +0200
@@ -1,3 +1,23 @@
+swac-explore (0.4.2-1) unstable; urgency=low
+
+  [ Andreas Moog ]
+  * Switch to debhelper 7, adjust debian/rules, debian/compat and 
+    debian/control accordingly
+  * use quilt to manage patches
+  * debian/patches/01_fix_gcc44.patch to fix a FTBFS with gcc4.4
+  * update standards to 3.8.3
+    - add a README.source
+  * add misc:Depends to make lintian happy
+
+ -- Andreas Moog <am...@ubuntu.com>  Fri, 21 Aug 2009 14:24:39 +0200
+
+swac-explore (0.4-0ubuntu1) jaunty; urgency=low
+
+  * New upstream release (LP: #324994)
+  * Add debian/watch
+
+ -- Nicolas Vion <n...@yojik.eu>  Tue, 03 Feb 2009 18:40:45 +0000
+
 swac-explore (0.2-1) unstable; urgency=low
 
   * Initial release
--- swac-explore-0.2/debian/compat      2009-08-22 00:52:21.000000000 +0200
+++ swac-explore-0.4.2/debian/compat    2009-08-22 00:52:21.000000000 +0200
@@ -1 +1 @@
-6
+7
--- swac-explore-0.2/debian/control     2009-08-22 00:52:21.000000000 +0200
+++ swac-explore-0.4.2/debian/control   2009-08-22 00:52:21.000000000 +0200
@@ -2,13 +2,13 @@
 Section: misc
 Priority: optional
 Maintainer: Nicolas Vion <n...@yojik.eu>
-Build-Depends: debhelper (>= 6), autotools-dev, pkg-config, libsqlite3-dev, 
libgtkmm-2.4-dev, libgstreamer0.10-dev
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, libsqlite3-dev, 
libgtkmm-2.4-dev, libgstreamer0.10-dev, libgconfmm-2.6-dev, quilt
+Standards-Version: 3.8.3
 Homepage: http://shtooka.net/
 
 Package: swac-explore
 Architecture: any
-Depends: ${shlibs:Depends}, swac-get
+Depends: ${shlibs:Depends}, ${misc:Depends}, swac-get (>= 0.5)
 Description: audio collections of words (SWAC) explorer
  Swac-explore is a GTK+ interface written in C++ which allows to browse audio
  collections of words (SWAC). The program reads data from a SQLite3 database
--- swac-explore-0.2/debian/patches/01_fix_gcc4.4.patch 1970-01-01 
01:00:00.000000000 +0100
+++ swac-explore-0.4.2/debian/patches/01_fix_gcc4.4.patch       2009-08-22 
00:52:21.000000000 +0200
@@ -0,0 +1,13 @@
+Description: Fix FTBFS with gcc4.4 due to missing include
+Index: swac-explore-0.4.2/src/sqlite3++.cc
+===================================================================
+--- swac-explore-0.4.2.orig/src/sqlite3++.cc   2009-08-21 14:36:09.588072216 
+0200
++++ swac-explore-0.4.2/src/sqlite3++.cc        2009-08-21 14:36:51.508072783 
+0200
+@@ -18,6 +18,7 @@
+  */
+ 
+ #include <iostream>
++#include <stdio.h>
+ 
+ #include "sqlite3++.hh"
+ 
--- swac-explore-0.2/debian/patches/series      1970-01-01 01:00:00.000000000 
+0100
+++ swac-explore-0.4.2/debian/patches/series    2009-08-22 00:52:21.000000000 
+0200
@@ -0,0 +1 @@
+01_fix_gcc4.4.patch
--- swac-explore-0.2/debian/README.source       1970-01-01 01:00:00.000000000 
+0100
+++ swac-explore-0.4.2/debian/README.source     2009-08-22 00:52:21.000000000 
+0200
@@ -0,0 +1,8 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.  Please see:
+
+    /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
--- swac-explore-0.2/debian/rules       2009-08-22 00:52:21.000000000 +0200
+++ swac-explore-0.4.2/debian/rules     2009-08-22 00:52:21.000000000 +0200
@@ -1,107 +1,8 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+include /usr/share/quilt/quilt.make
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
 
+%:
+       dh --with quilt $@
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-
-
-config.status: configure
-       dh_testdir
-       # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
-       ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp:  config.status 
-       dh_testdir
-
-       # Add here commands to compile the package.
-       $(MAKE)
-       #docbook-to-man debian/swac-explore.sgml > swac-explore.1
-
-       touch $@
-
-clean: 
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp 
-
-       # Add here commands to clean up after the build process.
-       [ ! -f Makefile ] || $(MAKE) distclean
-       rm -f config.sub config.guess
-
-       dh_clean 
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k 
-       dh_installdirs
-
-       # Add here commands to install the package into debian/swac-explore.
-       $(MAKE) DESTDIR=$(CURDIR)/debian/swac-explore install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installchangelogs ChangeLog
-       dh_installdocs
-#      dh_installexamples
-#      dh_install
-       dh_installmenu
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
-       dh_installman doc/swac-explore.1
-       dh_install debian/swac-explore.desktop usr/share/applications/
-       dh_desktop
-       dh_link
-       dh_strip
-       dh_compress
-       dh_fixperms
-#      dh_perl
-#      dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
--- swac-explore-0.2/debian/watch       1970-01-01 01:00:00.000000000 +0100
+++ swac-explore-0.4.2/debian/watch     2009-08-22 00:52:21.000000000 +0200
@@ -0,0 +1,3 @@
+version=3
+http://shtooka.net/soft/swac-tools/download/swac-explore-(.*)\.tar\.gz
+

Reply via email to