gloox (1.0-1.1) debian-dir only changes

Summary

 debian/README.Debian                |    9 +
 debian/changelog                    |  194 ++++++++++++++++++++++++++++++++++++
 debian/compat                       |    1 
 debian/control                      |   64 +++++++++++
 debian/copyright                    |   34 ++++++
 debian/dirs                         |    2 
 debian/libgloox-dbg.dirs            |    1 
 debian/libgloox-dev.dirs            |    2 
 debian/libgloox-dev.install         |    5 
 debian/libgloox-doc.dirs            |    1 
 debian/libgloox.doc-base            |   10 +
 debian/libgloox8.dirs               |    1 
 debian/libgloox8.docs               |    2 
 debian/libgloox8.install            |    1 
 debian/patches/00list               |    3 
 debian/patches/fix-gcc4.3.dpatch    |   56 ++++++++++
 debian/patches/fix-pkgconfig.dpatch |   16 ++
 debian/patches/relibtoolize.dpatch  |  128 +++++++++++++++++++++++
 debian/rules                        |  124 +++++++++++++++++++++++
 debian/watch                        |    3 
 20 files changed, 657 insertions(+)

    
download this patch

Patch contents

--- gloox-1.0.orig/debian/libgloox-doc.dirs
+++ gloox-1.0/debian/libgloox-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/libgloox-doc/html
--- gloox-1.0.orig/debian/libgloox.doc-base
+++ gloox-1.0/debian/libgloox.doc-base
@@ -0,0 +1,10 @@
+Document: libgloox
+Title: libgloox API Manual
+Author: Jakob Schröter <js@camaya.net>
+Abstract: API Manual for gloox library.
+It describes different Classes and methods available.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libgloox-doc/html/index.html
+Files: /usr/share/doc/libgloox-doc/html/*  
--- gloox-1.0.orig/debian/rules
+++ gloox-1.0/debian/rules
@@ -0,0 +1,124 @@
+#!/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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+# 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)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+	        --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
+		--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
+
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: patch-stamp config.status
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp:
+	dh_testdir
+
+	doxygen
+
+	touch build-indep-stamp
+
+clean: clean1 unpatch
+
+clean1:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp
+	
+	rm -rf api
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean 
+
+install: install-indep install-arch
+install-arch: build-arch
+	dh_testdir
+	dh_testroot
+	dh_clean -k -a
+	dh_installdirs -a
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+install-indep: build-indep
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+
+	cp -a api/* debian/libgloox-doc/usr/share/doc/libgloox-doc/html/
+	rm -f debian/libgloox-doc/usr/share/doc/libgloox-doc/html/*md5
+
+binary-indep: build-indep install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i ChangeLog
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_install --sourcedir=debian/tmp 
+#	dh_installman -a 
+	dh_installdocs -a
+	dh_link -a
+	dh_strip -a --dbg-package=libgloox-dbg
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a 
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch patch unpatch clean1
--- gloox-1.0.orig/debian/libgloox8.docs
+++ gloox-1.0/debian/libgloox8.docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- gloox-1.0.orig/debian/libgloox-dev.dirs
+++ gloox-1.0/debian/libgloox-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- gloox-1.0.orig/debian/README.Debian
+++ gloox-1.0/debian/README.Debian
@@ -0,0 +1,9 @@
+libgloox for Debian
+-------------------
+
+ If you need to debug a program take into account that you can find gloox 
+ debug symbols in libgloox-dbg package. Also, you can log different XML
+ being sent and/or received using Log class (please look API documentation
+ on how to do this.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>, Sun,  9 Apr 2006 10:39:56 +0200
--- gloox-1.0.orig/debian/libgloox8.install
+++ gloox-1.0/debian/libgloox8.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- gloox-1.0.orig/debian/dirs
+++ gloox-1.0/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- gloox-1.0.orig/debian/copyright
+++ gloox-1.0/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Jose Carlos Garcia Sogo <jsogo@debian.org> on
+Sun,  4 Dec 2005 21:13:56 +0100.
+
+It was downloaded from http://camaya.net/gloox
+
+Copyright: 2004-2009 Jakob Schröter <js@camaya.net>
+
+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'.
+
+In addition, as a special exception, the copyright holders give
+permission to link the code of portions of this program with the
+OpenSSL library, and distribute linked combinations
+including the two.
+You must obey the GNU General Public License in all respects
+for all of the code used other than OpenSSL.  If you modify
+file(s) with this exception, you may extend this exception to your
+version of the file(s), but you are not obligated to do so.
--- gloox-1.0.orig/debian/compat
+++ gloox-1.0/debian/compat
@@ -0,0 +1 @@
+5
--- gloox-1.0.orig/debian/libgloox-dbg.dirs
+++ gloox-1.0/debian/libgloox-dbg.dirs
@@ -0,0 +1 @@
+usr/lib
--- gloox-1.0.orig/debian/control
+++ gloox-1.0/debian/control
@@ -0,0 +1,64 @@
+Source: gloox
+Priority: optional
+Maintainer: Jose Carlos Garcia Sogo <jsogo@debian.org>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, libgnutls-dev (>= 1.2.8), libidn11-dev, zlib1g-dev, doxygen, graphviz, gsfonts, dpatch
+Build-Depends-Indep: doxygen, graphviz, gsfonts
+Standards-Version: 3.8.3
+Section: libs
+Vcs-Git: git://git.debian.org/git/users/jsogo/gloox.git
+Vcs-Browser: http://git.debian.org/git/users/jsogo/gloox.git
+
+Package: libgloox-dev
+Section: libdevel
+Architecture: any
+Depends: libgloox8 (= ${binary:Version}), libgnutls-dev, libidn11-dev
+Description: C++ jabber/xmpp library devel files
+ A C++ Jabber/XMPP library that takes care of low level protocol stuff. 
+ Additionally, it offers high level interfaces for interaction with an
+ XMPP server.
+ .
+ It is a fully compliant XMPP Core and supports various JEPs, mainly
+ those needed to implement a XMPP IM client.
+ .
+ This package contains files needed for development with this library.
+
+Package: libgloox8
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C++ jabber/xmpp library
+ A C++ Jabber/XMPP library that takes care of low level protocol stuff.
+ Additionally, it offers high level interfaces for interaction with an
+ XMPP server.
+ .
+ It is a fully compliant XMPP Core and supports various JEPs, mainly
+ those needed to implement a XMPP IM client.
+
+Package: libgloox-dbg
+Priority: extra
+Section: libs
+Architecture: any
+Depends: libgloox-dev (= ${binary:Version})
+Description: C++ jabber/xmpp library debug symbols
+ A C++ Jabber/XMPP library that takes care of low level protocol stuff.
+ Additionally, it offers high level interfaces for interaction with an
+ XMPP server.
+ .
+ It is a fully compliant XMPP Core and supports various JEPs, mainly
+ those needed to implement a XMPP IM client.
+ .
+ This package contains symbols for debugging programs using this library.
+ 
+Package: libgloox-doc
+Section: doc
+Priority: extra
+Architecture: all
+Description: C++ jabber/xmpp library API documentation
+ A C++ Jabber/XMPP library that takes care of low level protocol stuff.
+ Additionally, it offers high level interfaces for interaction with an
+ XMPP server.
+ .
+ It is a fully compliant XMPP Core and supports various JEPs, mainly
+ those needed to implement a XMPP IM client.
+ .
+ This package contains API documentation for this library.
--- gloox-1.0.orig/debian/changelog
+++ gloox-1.0/debian/changelog
@@ -0,0 +1,194 @@
+gloox (1.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Stop shipping .la file (Closes: #620704) 
+
+ -- Luk Claes <luk@debian.org>  Thu, 02 Jun 2011 18:54:11 +0200
+
+gloox (1.0-1) unstable; urgency=low
+
+  * New upstream release (Closes: #532965, #563812)
+  * Move binary package to libgloox8, due to soname bump.
+  * debian/patches:
+    + relibtoolize: update 
+  * Bump Standards-Version to 3.8.3. No changes. 
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 17 Jan 2010 13:05:04 +0100
+
+gloox (0.9.9.5-1) unstable; urgency=low
+
+  * New Upstream Version
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 27 Apr 2008 10:32:55 +0200
+
+gloox (0.9.9.4-1) unstable; urgency=low
+
+  * New Upstream Version
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Tue, 18 Mar 2008 00:02:34 +0100
+
+gloox (0.9.9.3-2) unstable; urgency=low
+
+  * Actually fix problems with gcc-4.3 (Closes: #455182) 
+  * debian/patches:
+    + fix-gcc4.3: new, thanks to Cyril Brulebois
+  * Fix copyright line to show years, and make lintian happy. 
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Wed, 05 Mar 2008 23:10:46 +0100
+
+gloox (0.9.9.3-1) unstable; urgency=low
+
+  * New upstream version.
+    + Fixes problem compiling with gcc 4.3 (Closes: #455182)
+  * Bump Standards-Version to 3.7.3. No changes.
+  * Add Vcs-* fields.
+  * debian/rules:
+    + Do not unconditionally update config.[guess,sub] files, but
+    relibtoolize the package
+    + DOn't ignore silently 'make clean' errors, and make lintian happy.
+  * debian/patches:
+    + relibtoolize: new patch, fixes problem with elder config.[guess,sub]
+    + 00list: update
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 27 Jan 2008 19:27:04 +0100
+
+gloox (0.9.6.1-1) unstable; urgency=low
+
+  * New upstream version. (Closes: #448191)
+  * Remove libiksemel from build dependencies, as it is not needed any more.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 28 Oct 2007 22:05:48 +0100
+
+gloox (0.9.2-1) unstable; urgency=low
+
+  * New upstream version.
+     + Soname bump to 7
+  * debian/control: change for soname bump.
+  * debian/patches:
+     + fix_pkgconfig: disabled, included upstream.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 24 Jun 2007 18:37:49 +0200
+
+gloox (0.8.8~sic-1) unstable; urgency=low
+
+  * New upstream release.
+     + Fix missing includes, should compile with gcc 4.3 (Closes: #417200)
+  * Don't pass linker options in CFLAGS variable to pkgconfig file (Closes: #421294) 
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Mon, 30 Apr 2007 23:52:00 +0200
+
+gloox (0.8.6~sic-1) unstable; urgency=low
+
+  * New upstream release (Closes: #403077)
+    + Includes bugfixes for VCardManager, Tag, ClientBase and AdHoc classes.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sat, 16 Dec 2006 11:10:25 +0100
+
+gloox (0.8.5~sic-1) unstable; urgency=low
+
+  * New upstream release
+    + And another soname bump. libgloox5 on the road!
+  * Actually state that this is a "sic" version.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Mon, 27 Nov 2006 00:15:03 +0100
+
+gloox (0.8.4-1) unstable; urgency=low
+
+  * New upstream release.
+    + Another soname bump, so let's go for libgloox4. 
+  * Make package binNMUable by declaring right relationships among 
+    different binary packages.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 24 Sep 2006 17:43:16 +0200
+
+gloox (0.8.1-1) unstable; urgency=low
+
+  * New upstream version (actually -sic one)
+    + This implies a soname change to libgloox3.
+  * Bump Standards Version to 3.7.2, no changes needed.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun, 30 Jul 2006 17:42:48 +0200
+
+gloox (0.8.0-2) unstable; urgency=low
+
+  * Change libgloox0.* debhelper files to libgloox2.*, and actually
+  install a library in binary package.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Fri, 14 Apr 2006 14:31:31 +0200
+
+gloox (0.8.0-1) unstable; urgency=low
+
+  * New upstream version.
+    + Fixes compilation witg GCC 4.1 (Closes: #358214)
+
+  * debian/rules: remove code for compiling gloox with debug
+    log options, as they are now handled in program (look API documentation)
+
+  * debian/README.Debian: remove instructions on compiling gloox
+    with debug code.
+
+  * debian/control: 
+     + add zlib1g-dev as Build-Dependency for stream compression support.
+     + bump libgloox0 package to libgloox2 due to soname change.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sun,  9 Apr 2006 10:52:08 +0200
+
+gloox (0.7.6.1-3) unstable; urgency=low
+
+  * Forgot to change libiksemel dependency in -dev package.
+  * Do not install README.win32 file, and install README and NEWS
+  file in binary package for shared libraries instead of -dev package.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Wed, 29 Mar 2006 00:15:39 +0200
+
+gloox (0.7.6.1-2) unstable; urgency=low
+
+  * README.Debian: fix instructions on how compile gloox with debig code.
+  * debian/control: s/libiksemel1-dev/libiksemel-dev/ (Closes: #359695)
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Tue, 28 Mar 2006 23:03:42 +0200
+
+gloox (0.7.6.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sat, 11 Feb 2006 10:42:16 +0100
+
+gloox (0.7.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Install .pc file in /usr/lib/pkgconfig instead of /usr/share.
+  * Added a -dbg package containing debug symbols.
+  * debian/compat: raised to 5 for using --dbg-package in dh_strip.
+  * debian/watch: fix test.
+  * debian/README.Debian: explain how to compile DEBUG code.
+  * debian/rules: add support for compiling DEBUG code, and set the default to
+                  not compile it.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Thu,  5 Jan 2006 15:06:36 +0100
+
+gloox (0.7.3-2) unstable; urgency=low
+
+  * As binary target always compiles build-indep, we need to have doxygen and
+    friend installed as well. Moving Build-Depend-Indep dependencies to 
+    Build-Depends line. (Closes: #343679)
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Sat, 17 Dec 2005 12:54:34 +0100
+
+gloox (0.7.3-1) unstable; urgency=low
+
+  * New upstream version
+     + Bugfix support.
+     + Added optional SSL support. Not compiled in Debian packages.
+  * debian/copyright: add new SSL exemption clause.
+  * debian/rules: run dh_installdocs in every binary target, for installing
+    debian/copyright file in libgloox0 package too.
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Mon, 12 Dec 2005 00:24:17 +0100
+
+gloox (0.7.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #342019) 
+
+ -- Jose Carlos Garcia Sogo <jsogo@debian.org>  Mon,  5 Dec 2005 22:22:57 +0100
+
--- gloox-1.0.orig/debian/libgloox-dev.install
+++ gloox-1.0/debian/libgloox-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/pkgconfig/*
--- gloox-1.0.orig/debian/libgloox8.dirs
+++ gloox-1.0/debian/libgloox8.dirs
@@ -0,0 +1 @@
+usr/lib
--- gloox-1.0.orig/debian/watch
+++ gloox-1.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://camaya.net/glooxdownload download/gloox-(.*)\.tar\.bz2
--- gloox-1.0.orig/debian/patches/relibtoolize.dpatch
+++ gloox-1.0/debian/patches/relibtoolize.dpatch
@@ -0,0 +1,128 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## relibtoolize.dpatch by Jose Carlos Garcia Sogo <jsogo@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad gloox~/config.sub gloox/config.sub
+--- gloox~/config.sub	2010-01-17 12:12:56.000000000 +0100
++++ gloox/config.sub	2010-01-17 12:16:56.897859948 +0100
+@@ -178,6 +178,10 @@
+ 		os=-sco5v6
+ 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ 		;;
++	-sco6)
++		os=-sco5v6
++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
++		;;
+ 	-sco5)
+ 		os=-sco3.2v5
+ 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+@@ -198,6 +202,10 @@
+ 		# Don't forget version if it is 3.2v4 or newer.
+ 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ 		;;
++	-sco5v6*)
++		# Don't forget version if it is 3.2v4 or newer.
++		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
++		;;
+ 	-sco*)
+ 		os=-sco3.2v2
+ 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+@@ -304,6 +312,9 @@
+ 	ms1)
+ 		basic_machine=mt-unknown
+ 		;;
++	ms1)
++		basic_machine=mt-unknown
++		;;
+ 
+ 	# We use `pc' rather than `unknown'
+ 	# because (1) that's what they normally are, and
+@@ -727,6 +738,10 @@
+ 		basic_machine=arm-unknown
+ 		os=-mingw32ce
+ 		;;
++	mingw32ce)
++		basic_machine=arm-unknown
++		os=-mingw32ce
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -755,6 +770,9 @@
+ 	ms1-*)
+ 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ 		;;
++	ms1-*)
++		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
++		;;
+ 	mvs)
+ 		basic_machine=i370-ibm
+ 		os=-mvs
+@@ -876,6 +894,12 @@
+ 	pc98-*)
+ 		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
++	pc98)
++		basic_machine=i386-pc
++		;;
++	pc98-*)
++		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	pentium | p5 | k5 | k6 | nexgen | viac3)
+ 		basic_machine=i586-pc
+ 		;;
+@@ -936,6 +960,10 @@
+ 		basic_machine=i386-pc
+ 		os=-rdos
+ 		;;
++	rdos)
++		basic_machine=i386-pc
++		os=-rdos
++		;;
+ 	rom68k)
+ 		basic_machine=m68k-rom68k
+ 		os=-coff
+@@ -966,6 +994,10 @@
+ 		basic_machine=mipsisa32-sde
+ 		os=-elf
+ 		;;
++	sde)
++		basic_machine=mipsisa32-sde
++		os=-elf
++		;;
+ 	sei)
+ 		basic_machine=mips-sei
+ 		os=-seiux
+@@ -980,6 +1012,9 @@
+ 	sh5el)
+ 		basic_machine=sh5le-unknown
+ 		;;
++	sh5el)
++		basic_machine=sh5le-unknown
++		;;
+ 	sh64)
+ 		basic_machine=sh64-unknown
+ 		;;
+@@ -1484,6 +1519,9 @@
+         mep-*)
+ 		os=-elf
+ 		;;
++        mep-*)
++		os=-elf
++		;;
+ 	mips*-cisco)
+ 		os=-elf
+ 		;;
+@@ -1505,6 +1543,9 @@
+ 	*-haiku)
+ 		os=-haiku
+ 		;;
++	*-haiku)
++		os=-haiku
++		;;
+ 	*-ibm)
+ 		os=-aix
+ 		;;
--- gloox-1.0.orig/debian/patches/00list
+++ gloox-1.0/debian/patches/00list
@@ -0,0 +1,3 @@
+#fix-pkgconfig.dpatch
+fix-gcc4.3.dpatch
+relibtoolize.dpatch
--- gloox-1.0.orig/debian/patches/fix-gcc4.3.dpatch
+++ gloox-1.0/debian/patches/fix-gcc4.3.dpatch
@@ -0,0 +1,56 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-gcc4.3.dpatch by Jose Carlos Garcia Sogo <jsogo@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix compiling with gcc-4.3 (#455182)
+
+@DPATCH@
+diff -urNad gloox.git2~/src/connectionsocks5proxy.cpp gloox.git2/src/connectionsocks5proxy.cpp
+--- gloox.git2~/src/connectionsocks5proxy.cpp	2008-03-05 22:49:54.000000000 +0100
++++ gloox.git2/src/connectionsocks5proxy.cpp	2008-03-05 22:50:26.000000000 +0100
+@@ -38,6 +38,8 @@
+ # include <sstream>
+ #endif
+ 
++#include <cstdlib>
++
+ namespace gloox
+ {
+ 
+diff -urNad gloox.git2~/src/tests/tag/tag_perf.cpp gloox.git2/src/tests/tag/tag_perf.cpp
+--- gloox.git2~/src/tests/tag/tag_perf.cpp	2008-03-05 22:49:54.000000000 +0100
++++ gloox.git2/src/tests/tag/tag_perf.cpp	2008-03-05 22:50:26.000000000 +0100
+@@ -9,6 +9,8 @@
+ 
+ #include <sys/time.h>
+ 
++#include <cstdlib>
++
+ static double divider = 1000000;
+ static int num = 2500;
+ static double t;
+diff -urNad gloox.git2~/src/tests/zlib/zlib_perf.cpp gloox.git2/src/tests/zlib/zlib_perf.cpp
+--- gloox.git2~/src/tests/zlib/zlib_perf.cpp	2008-03-05 22:49:54.000000000 +0100
++++ gloox.git2/src/tests/zlib/zlib_perf.cpp	2008-03-05 22:50:26.000000000 +0100
+@@ -11,6 +11,8 @@
+ #include <string>
+ #include <sys/time.h>
+ 
++#include <cstdlib>
++
+ #ifdef HAVE_ZLIB
+ 
+ class ZlibTest : public CompressionDataHandler
+diff -urNad gloox.git2~/src/tlsgnutlsbase.cpp gloox.git2/src/tlsgnutlsbase.cpp
+--- gloox.git2~/src/tlsgnutlsbase.cpp	2008-03-05 22:49:54.000000000 +0100
++++ gloox.git2/src/tlsgnutlsbase.cpp	2008-03-05 22:50:26.000000000 +0100
+@@ -18,6 +18,9 @@
+ 
+ #include <errno.h>
+ 
++#include <cstdlib>
++#include <cstring>
++
+ namespace gloox
+ {
+ 
--- gloox-1.0.orig/debian/patches/fix-pkgconfig.dpatch
+++ gloox-1.0/debian/patches/fix-pkgconfig.dpatch
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-pkgconfig.dpatch by Jose Carlos Garcia Sogo <jsogo@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad gloox-0.8.8~sic~/gloox.pc.in gloox-0.8.8~sic/gloox.pc.in
+--- gloox-0.8.8~sic~/gloox.pc.in	2006-07-28 12:04:43.000000000 +0200
++++ gloox-0.8.8~sic/gloox.pc.in	2007-04-30 13:57:10.000000000 +0200
+@@ -7,4 +7,4 @@
+ Description: A high-level XMPP/Jabber library for C++
+ Version: @VERSION@
+ Libs: -L${libdir} -lgloox @LIBS@
+-Cflags: -I${includedir} @CFLAGS@
++Cflags: -I${includedir}