--- libsyncml-0.5.4.orig/debian/:wq +++ libsyncml-0.5.4/debian/:wq @@ -0,0 +1,230 @@ +libsyncml (0.5.4-2) UNRELEASED; urgency=low + + * Upload to unstable. + * debian/control (Standards-Version): Bumped to 3.8.3. + * debian/control (Build-Depends): Bump required debhelper version to 7.0.0. + * debian/compat: Set to 7. + * debian/rules (install): Replace call to dh_clean -k with dh_prep. + * debian/control (libsyncml2-dbg): Set section to debug. + + -- Michael Banck Sun, 24 Jan 2010 21:15:28 +0100 + +libsyncml (0.5.4-1) experimental; urgency=low + + * New upstream release. + * debian/patches/04_syncml-ds-tool_doxygen_fix.patch: New patch, suppresses + the creation of a bogus SmlDsToolLocationType.1 manpage; closes: #549070. + + -- Michael Banck Sat, 16 Jan 2010 16:08:18 +0100 + +libsyncml (0.5.3-1) experimental; urgency=low + + * New upstream release. + + -- Michael Banck Fri, 15 May 2009 17:27:17 +0200 + +libsyncml (0.5.2-1) experimental; urgency=low + + * New upstream release. + + -- Michael Banck Fri, 20 Mar 2009 23:43:05 +0100 + +libsyncml (0.5.1-1) experimental; urgency=low + + * New upstream release. + * debian/control (Build-Depends): Added doxygen. + * debian/rules (configure-stamp): Added BUILD_DOCUMENTATION flag. + * debian/libsyncml-utils.install: Added syncml-ds-tool.1. + * debian/control (libsyncml-doc): New package. + * debian/libsyncml-doc.install: New file. + * debian/control (libsyncml-dev/Suggests): Added libsyncml-doc. + + -- Michael Banck Tue, 13 Jan 2009 15:08:13 +0100 + +libsyncml (0.5.0-1) experimental; urgency=low + + * New upstream release. + * debian/rules (build-stamp): Clean up testbed.* directories after the + test suite run. + + -- Michael Banck Wed, 12 Nov 2008 02:22:00 +0100 + +libsyncml (0.5.0~rc6-2) experimental; urgency=low + + * debian/rules (configure-stamp): Define ENABLE_OPENOBEX_TCP=ON; + closes: #505187. + * debian/rules (configure-stamp): Pass $(CFLAGS) to CMAKE_C_FLAGS, do + not hardcode the flags. + * debian/rules (build-stamp): Make the test suite more verbose by running + the ctest directly with `Experimental' defined and adding the -V option. + + -- Michael Banck Mon, 10 Nov 2008 17:49:50 +0100 + +libsyncml (0.5.0~rc6-1) experimental; urgency=low + + * New upstream release candidate. + * debian/patches/01_remove_inline_assembler.patch: Removed, applied + upstream. + * debian/patches/02_link_libcheck_statically.patch: Removed, no longer + needed. + * debian/patches/03_maxsize_support.patch: Removed, applied upstream. + * debian/rules (build-stamp): Include current directy in library search + path for the test suite. + * debian/libsyncml-utils.install: Removed syncml-obex-client and added + syncml-ds-tool. + * debian/libsyncml-utils.manpages: Removed. + * debian/rules (configure-stamp): Define ENABLE_CHECK_PIC=ON. + + -- Michael Banck Tue, 28 Oct 2008 11:32:10 +0100 + +libsyncml (0.4.7-4) experimental; urgency=low + + * debian/rules (configure-stamp): Depend on debian/stamp-patched; + closes: #503672. + * debian/rules (configure): Do not depend on patch-stamp. + + -- Michael Banck Mon, 27 Oct 2008 14:35:54 +0100 + +libsyncml (0.4.7-3) experimental; urgency=low + + * Switch packaging to quilt. + + debian/control (Build-Depends): Added quilt. + + debian/rules: include /usr/share/quilt/quilt.make. + + debian/rules (configure-stamp): Depend on patch-stamp. + + debian/rules (clean): Depend on unpatch. + + debian/patches/01_remove_inline_assembler.patch: New file. + + debian/patches/02_link_libcheck_statically.patch: Likewise. + + debian/patches/series: Likewise. + * debian/patches/03_maxsize_support.patch: New patch, add support for + MaxSize tag from the OMA DS DevInf 1.2 spec, taken from upstream svn. + * debian/control (libsyncml2-dbg): New package. + * debian/rules (binary-arch): Add debugging symbols to libsyncml2-dbg in + dh_strip. + * debian/rules (build): Depend on configure-stamp, not configure. + * debian/compat: Increase to 5. + + -- Michael Banck Sat, 25 Oct 2008 19:02:51 +0200 + +libsyncml (0.4.7-2) experimental; urgency=low + + * tests/check_http.c: Remove inline assembler, taken from upstream + SVn; closes: #494173. + * debian/rules (build-stamp): Do not abort on test suites failures; + closes: #494117. + + -- Michael Banck Thu, 07 Aug 2008 21:38:02 +0200 + +libsyncml (0.4.7-1) experimental; urgency=low + + * New upstream release. + + tests/CMakeLists.txt: Drop libxml2 include dir variable fix, applied + upstream. + + libsyncml/sml_support.c: Drop strstr() change, applied upstream. + * debian/control (Build-Depends): Replace libsoup2.2-dev by libsoup2.4-dev. + * debian/control (libsyncml-dev/Depends): Likewise. + * debian/libsyncml-utils.install: Removed syncml-http-client and + syncml-http-server, which are considered incomplete reference + implementations and are no longer installed by default. + * debian/libsyncml0.install: Renamed to ... + * debian/libsyncml2.install: ... this. + * debian/control (libsyncml0): Renamed package to ... + * debian/control (libsyncml2): ... this. + * debian/control (libsyncml-dev/Depends): Update for libsyncml soname + change. + * debian/rules (build-stamp): Set LD_LIBRARY_PATH so that the test suite + finds libsyncml.so.2. Abort build when test suite fails for now. + * debian/control (Standards-Version): Bumped to 3.8.0. + * debian/control (Uploaders): Removed Robert Collins. + * debian/libsyncml-utils.manpages: New file. + * debian/rules (build-stamp): Honor `nocheck' in $DEB_BUILD_OPTIONS. + + -- Michael Banck Sun, 03 Aug 2008 17:00:27 +0200 + +libsyncml (0.4.6-3) unstable; urgency=low + + * libsyncml/sml_support.c: Replace call to strcasestr() with strstr(), taken + from upstream SVN; closes: #469910. + + -- Michael Banck Sat, 08 Mar 2008 03:42:24 +0100 + +libsyncml (0.4.6-2) unstable; urgency=low + + * tests/CMakeLists.txt: Link libsupport statically; closes: #468934. + * debian/control: Replaced ${Source-Version} with ${binary:Version}. + + -- Michael Banck Fri, 07 Mar 2008 17:36:05 +0100 + +libsyncml (0.4.6-1) unstable; urgency=low + + * New upstream release; closes: #464202. + * debian/control (Build-Depends): Added cmake. + * debian/control (Uploaders): Removed Andrew Mitchell. + * debian/libsyncml-utils.install: Do not ship manpages for now, they do not + get install by the upstream build system anymore. + * debian/libsyncml-dev.install: Removed libsyncml.a, no longer built from + source. + * debian/control (Standards-Version): Bumped to 3.7.3. + * debian/control (Build-Depends): Added check. + * debian/rules (configure-stamp): Enable unit tests. + * debian/control (Build-Depends): Added libxml2-dev. + * tests/CMakeLists.txt: Fix libxml2 include dir variable. + * debian/rules (build-stamp): Run unit tests. + + -- Michael Banck Wed, 20 Feb 2008 01:28:27 +0100 + +libsyncml (0.4.5-1) unstable; urgency=low + + * New upstream release; closes: #401355. + + Upstream tarball recompressed from .bz2 to .gz. + + Should support Nokia 6103 over Bluetooth now; closes: #404849. + * debian/libsyncml-utils.install: Added syncml-http-client. + * debian/rules (binary-arch): Call dh_makeshlibs with -V. + * debian/docs: Removed. + + -- Michael Banck Tue, 16 Oct 2007 19:19:13 +0200 + +libsyncml (0.4.1-1) unstable; urgency=low + + * New upstream release. + * debian/rules (configure-stamp): Do not run autoreconf. + * debian/control (Build-Depends): Removed automake1.9, autoconf and + libtool. + * debian/syncml-obex-client.1: Removed. + * debian/syncml-http-server.1: Likewise. + * debian/libsyncml-utils.manpages: Likewise. + * debian/libsyncml-utils.install: Install manpages. + * debian/rules (configure-stamp): Force $(mandir) to /usr/share/man. + + -- Michael Banck Sun, 5 Nov 2006 19:07:25 +0100 + +libsyncml (0.4.0+svn20060721-4) unstable; urgency=low + + * debian/control (Build-Depends): Bump required libwbxml2-dev version to + 0.9.2-2; closes: #389814. + * debian/control (libsyncml-dev/Depends): Likewise. + + -- Michael Banck Sat, 30 Sep 2006 12:07:50 +0200 + +libsyncml (0.4.0+svn20060721-3) unstable; urgency=low + + * debian/control (Build-Depends): Bump versioned Build-Depends on + libsoup2.2-dev to 2.2.93. + * debian/syncml-http-server.1: New file, thanks to Matthias Jahn. + * debian/syncml-obex-client.1: Likewise. + * debian/libsync-utils.manpages: Install them; + closes: #380077. + + -- Michael Banck Thu, 27 Jul 2006 18:01:56 +0200 + +libsyncml (0.4.0+svn20060721-2) unstable; urgency=low + + * debian/libsyncml-dev.install: Do not install libsyncml.la. + + -- Michael Banck Tue, 25 Jul 2006 23:11:26 +0200 + +libsyncml (0.4.0+svn20060721-1) unstable; urgency=low + + * Initial Release. + + -- Michael Banck Fri, 21 Jul 2006 18:47:33 +0200 + --- libsyncml-0.5.4.orig/debian/changelog +++ libsyncml-0.5.4/debian/changelog @@ -0,0 +1,266 @@ +libsyncml (0.5.4-2.3build1) xenial; urgency=medium + + * No-change rebuild for openobex transition. + + -- Matthias Klose Wed, 17 Feb 2016 10:20:51 +0000 + +libsyncml (0.5.4-2.3) unstable; urgency=medium + + * Non-maintainer upload. + + [ Nobuhiro Iwamatsu ] + * Fix FTBFS with libopenobex2-dev. Closes: #811300 + Add patches/fix_build_with_libopenobex2.patch. + * Change B-D from libopenobex1-dev to libopenobex2-dev. + + [ Maria Valentina Marin ] + * Export environment variable SOURCE_DATE_EPOCH to produce reproducible + timestamps in manpage output. Closes: #794225 + + -- Mattia Rizzolo Sat, 06 Feb 2016 13:05:59 +0000 + +libsyncml (0.5.4-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Link pthread explicitly (Closes: #713624) + + -- YunQiang Su Mon, 25 May 2015 14:54:31 +0800 + +libsyncml (0.5.4-2.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: Drop flag --fail-missing -Xlibsyncml.la from + dh_install, fixes FTBFS. (Closes: #674384) + + -- Artur Rona Sat, 30 Jun 2012 14:16:49 +0200 + +libsyncml (0.5.4-2) unstable; urgency=low + + * Upload to unstable. + * debian/control (Standards-Version): Bumped to 3.8.3. + * debian/control (Build-Depends): Bump required debhelper version to 7.0.0. + * debian/compat: Set to 7. + * debian/rules (install): Replace call to dh_clean -k with dh_prep. + * debian/control (libsyncml2-dbg): Set section to debug. + + -- Michael Banck Sun, 24 Jan 2010 21:29:53 +0100 + +libsyncml (0.5.4-1) experimental; urgency=low + + * New upstream release. + * debian/patches/04_syncml-ds-tool_doxygen_fix.patch: New patch, suppresses + the creation of a bogus SmlDsToolLocationType.1 manpage; closes: #549070. + + -- Michael Banck Sat, 16 Jan 2010 16:08:18 +0100 + +libsyncml (0.5.3-1) experimental; urgency=low + + * New upstream release. + + -- Michael Banck Fri, 15 May 2009 17:27:17 +0200 + +libsyncml (0.5.2-1) experimental; urgency=low + + * New upstream release. + + -- Michael Banck Fri, 20 Mar 2009 23:43:05 +0100 + +libsyncml (0.5.1-1) experimental; urgency=low + + * New upstream release. + * debian/control (Build-Depends): Added doxygen. + * debian/rules (configure-stamp): Added BUILD_DOCUMENTATION flag. + * debian/libsyncml-utils.install: Added syncml-ds-tool.1. + * debian/control (libsyncml-doc): New package. + * debian/libsyncml-doc.install: New file. + * debian/control (libsyncml-dev/Suggests): Added libsyncml-doc. + + -- Michael Banck Tue, 13 Jan 2009 15:08:13 +0100 + +libsyncml (0.5.0-1) experimental; urgency=low + + * New upstream release. + * debian/rules (build-stamp): Clean up testbed.* directories after the + test suite run. + + -- Michael Banck Wed, 12 Nov 2008 02:22:00 +0100 + +libsyncml (0.5.0~rc6-2) experimental; urgency=low + + * debian/rules (configure-stamp): Define ENABLE_OPENOBEX_TCP=ON; + closes: #505187. + * debian/rules (configure-stamp): Pass $(CFLAGS) to CMAKE_C_FLAGS, do + not hardcode the flags. + * debian/rules (build-stamp): Make the test suite more verbose by running + the ctest directly with `Experimental' defined and adding the -V option. + + -- Michael Banck Mon, 10 Nov 2008 17:49:50 +0100 + +libsyncml (0.5.0~rc6-1) experimental; urgency=low + + * New upstream release candidate. + * debian/patches/01_remove_inline_assembler.patch: Removed, applied + upstream. + * debian/patches/02_link_libcheck_statically.patch: Removed, no longer + needed. + * debian/patches/03_maxsize_support.patch: Removed, applied upstream. + * debian/rules (build-stamp): Include current directy in library search + path for the test suite. + * debian/libsyncml-utils.install: Removed syncml-obex-client and added + syncml-ds-tool. + * debian/libsyncml-utils.manpages: Removed. + * debian/rules (configure-stamp): Define ENABLE_CHECK_PIC=ON. + + -- Michael Banck Tue, 28 Oct 2008 11:32:10 +0100 + +libsyncml (0.4.7-4) experimental; urgency=low + + * debian/rules (configure-stamp): Depend on debian/stamp-patched; + closes: #503672. + * debian/rules (configure): Do not depend on patch-stamp. + + -- Michael Banck Mon, 27 Oct 2008 14:35:54 +0100 + +libsyncml (0.4.7-3) experimental; urgency=low + + * Switch packaging to quilt. + + debian/control (Build-Depends): Added quilt. + + debian/rules: include /usr/share/quilt/quilt.make. + + debian/rules (configure-stamp): Depend on patch-stamp. + + debian/rules (clean): Depend on unpatch. + + debian/patches/01_remove_inline_assembler.patch: New file. + + debian/patches/02_link_libcheck_statically.patch: Likewise. + + debian/patches/series: Likewise. + * debian/patches/03_maxsize_support.patch: New patch, add support for + MaxSize tag from the OMA DS DevInf 1.2 spec, taken from upstream svn. + * debian/control (libsyncml2-dbg): New package. + * debian/rules (binary-arch): Add debugging symbols to libsyncml2-dbg in + dh_strip. + * debian/rules (build): Depend on configure-stamp, not configure. + * debian/compat: Increase to 5. + + -- Michael Banck Sat, 25 Oct 2008 19:02:51 +0200 + +libsyncml (0.4.7-2) experimental; urgency=low + + * tests/check_http.c: Remove inline assembler, taken from upstream + SVn; closes: #494173. + * debian/rules (build-stamp): Do not abort on test suites failures; + closes: #494117. + + -- Michael Banck Thu, 07 Aug 2008 21:38:02 +0200 + +libsyncml (0.4.7-1) experimental; urgency=low + + * New upstream release. + + tests/CMakeLists.txt: Drop libxml2 include dir variable fix, applied + upstream. + + libsyncml/sml_support.c: Drop strstr() change, applied upstream. + * debian/control (Build-Depends): Replace libsoup2.2-dev by libsoup2.4-dev. + * debian/control (libsyncml-dev/Depends): Likewise. + * debian/libsyncml-utils.install: Removed syncml-http-client and + syncml-http-server, which are considered incomplete reference + implementations and are no longer installed by default. + * debian/libsyncml0.install: Renamed to ... + * debian/libsyncml2.install: ... this. + * debian/control (libsyncml0): Renamed package to ... + * debian/control (libsyncml2): ... this. + * debian/control (libsyncml-dev/Depends): Update for libsyncml soname + change. + * debian/rules (build-stamp): Set LD_LIBRARY_PATH so that the test suite + finds libsyncml.so.2. Abort build when test suite fails for now. + * debian/control (Standards-Version): Bumped to 3.8.0. + * debian/control (Uploaders): Removed Robert Collins. + * debian/libsyncml-utils.manpages: New file. + * debian/rules (build-stamp): Honor `nocheck' in $DEB_BUILD_OPTIONS. + + -- Michael Banck Sun, 03 Aug 2008 17:00:27 +0200 + +libsyncml (0.4.6-3) unstable; urgency=low + + * libsyncml/sml_support.c: Replace call to strcasestr() with strstr(), taken + from upstream SVN; closes: #469910. + + -- Michael Banck Sat, 08 Mar 2008 03:42:24 +0100 + +libsyncml (0.4.6-2) unstable; urgency=low + + * tests/CMakeLists.txt: Link libsupport statically; closes: #468934. + * debian/control: Replaced ${Source-Version} with ${binary:Version}. + + -- Michael Banck Fri, 07 Mar 2008 17:36:05 +0100 + +libsyncml (0.4.6-1) unstable; urgency=low + + * New upstream release; closes: #464202. + * debian/control (Build-Depends): Added cmake. + * debian/control (Uploaders): Removed Andrew Mitchell. + * debian/libsyncml-utils.install: Do not ship manpages for now, they do not + get install by the upstream build system anymore. + * debian/libsyncml-dev.install: Removed libsyncml.a, no longer built from + source. + * debian/control (Standards-Version): Bumped to 3.7.3. + * debian/control (Build-Depends): Added check. + * debian/rules (configure-stamp): Enable unit tests. + * debian/control (Build-Depends): Added libxml2-dev. + * tests/CMakeLists.txt: Fix libxml2 include dir variable. + * debian/rules (build-stamp): Run unit tests. + + -- Michael Banck Wed, 20 Feb 2008 01:28:27 +0100 + +libsyncml (0.4.5-1) unstable; urgency=low + + * New upstream release; closes: #401355. + + Upstream tarball recompressed from .bz2 to .gz. + + Should support Nokia 6103 over Bluetooth now; closes: #404849. + * debian/libsyncml-utils.install: Added syncml-http-client. + * debian/rules (binary-arch): Call dh_makeshlibs with -V. + * debian/docs: Removed. + + -- Michael Banck Tue, 16 Oct 2007 19:19:13 +0200 + +libsyncml (0.4.1-1) unstable; urgency=low + + * New upstream release. + * debian/rules (configure-stamp): Do not run autoreconf. + * debian/control (Build-Depends): Removed automake1.9, autoconf and + libtool. + * debian/syncml-obex-client.1: Removed. + * debian/syncml-http-server.1: Likewise. + * debian/libsyncml-utils.manpages: Likewise. + * debian/libsyncml-utils.install: Install manpages. + * debian/rules (configure-stamp): Force $(mandir) to /usr/share/man. + + -- Michael Banck Sun, 5 Nov 2006 19:07:25 +0100 + +libsyncml (0.4.0+svn20060721-4) unstable; urgency=low + + * debian/control (Build-Depends): Bump required libwbxml2-dev version to + 0.9.2-2; closes: #389814. + * debian/control (libsyncml-dev/Depends): Likewise. + + -- Michael Banck Sat, 30 Sep 2006 12:07:50 +0200 + +libsyncml (0.4.0+svn20060721-3) unstable; urgency=low + + * debian/control (Build-Depends): Bump versioned Build-Depends on + libsoup2.2-dev to 2.2.93. + * debian/syncml-http-server.1: New file, thanks to Matthias Jahn. + * debian/syncml-obex-client.1: Likewise. + * debian/libsync-utils.manpages: Install them; + closes: #380077. + + -- Michael Banck Thu, 27 Jul 2006 18:01:56 +0200 + +libsyncml (0.4.0+svn20060721-2) unstable; urgency=low + + * debian/libsyncml-dev.install: Do not install libsyncml.la. + + -- Michael Banck Tue, 25 Jul 2006 23:11:26 +0200 + +libsyncml (0.4.0+svn20060721-1) unstable; urgency=low + + * Initial Release. + + -- Michael Banck Fri, 21 Jul 2006 18:47:33 +0200 + --- libsyncml-0.5.4.orig/debian/compat +++ libsyncml-0.5.4/debian/compat @@ -0,0 +1 @@ +7 --- libsyncml-0.5.4.orig/debian/control +++ libsyncml-0.5.4/debian/control @@ -0,0 +1,59 @@ +Source: libsyncml +Section: libs +Priority: optional +Maintainer: Michael Banck +Build-Depends: debhelper (>= 7.0.0), quilt, doxygen, cmake, check, libopenobex2-dev (>= 1.7), libxml2-dev (>= 2.6.16), libglib2.0-dev (>= 2.6.0), libsoup2.4-dev, libwbxml2-dev (>= 0.9.2-2), libxml2-dev +Standards-Version: 3.8.3 + +Package: libsyncml2 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: SyncML protocol library + Libsyncml implement the SyncML protocol. It supports SyncML version 1.0, + 1.1 and 1.2. The available transport are Obex and HTTP. This library can be + used as a client or as a server. + +Package: libsyncml-utils +Section: utils +Architecture: any +Depends: ${shlibs:Depends} +Description: SyncML protocol library utilities + Libsyncml implement the SyncML protocol. It supports SyncML version 1.0, + 1.1 and 1.2. The available transport are Obex and HTTP. This library can be + used as a client or as a server. + . + This package provides some tools for quickly adding or displaying + items of SyncML capable devices + +Package: libsyncml-dev +Section: libdevel +Architecture: any +Depends: libsyncml2 (= ${binary:Version}), libopenobex1-dev (>= 1.2), libxml2-dev (>= 2.6.16), libglib2.0-dev (>= 2.6.0), libsoup2.4-dev, libwbxml2-dev (>= 0.9.2-2) +Suggests: libsyncml-doc +Description: SyncML protocol development library + Libsyncml implement the SyncML protocol. It supports SyncML version 1.0, + 1.1 and 1.2. The available transport are Obex and HTTP. This library can be + used as a client or as a server. + . + Install this package if you wish to develop your own programs using + libsyncml. + +Package: libsyncml-doc +Section: doc +Architecture: all +Description: SyncML protocol library documentation + Libsyncml implement the SyncML protocol. It supports SyncML version 1.0, + 1.1 and 1.2. The available transport are Obex and HTTP. This library can be + used as a client or as a server. + . + This package contains the API documentation. + +Package: libsyncml2-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libsyncml2 (= ${binary:Version}), ${shlibs:Depends} +Description: Debug symbols for libsyncml2 + Debug symbols for libsyncml that will allow useful tracebacks and debugging + on end user machines. --- libsyncml-0.5.4.orig/debian/copyright +++ libsyncml-0.5.4/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Armin Bauer + +Copyright Holder: Armin Bauer + +libsyncml/sml_md5.c was written by Branko Lankester and has been modified +by Colin Plumb, Erik Troan and Armin Bauer, it is in the public domain. + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02111-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libsyncml-0.5.4.orig/debian/libsyncml-dev.install +++ libsyncml-0.5.4/debian/libsyncml-dev.install @@ -0,0 +1,4 @@ +usr/lib/libsyncml.so +usr/lib/pkgconfig/libsyncml-1.0.pc +usr/include/libsyncml-1.0/libsyncml/*.h +usr/include/libsyncml-1.0/libsyncml/data_sync_api/*.h --- libsyncml-0.5.4.orig/debian/libsyncml-doc.install +++ libsyncml-0.5.4/debian/libsyncml-doc.install @@ -0,0 +1 @@ +usr/share/doc/libsyncml/html/ usr/share/doc/libsyncml-doc --- libsyncml-0.5.4.orig/debian/libsyncml-utils.install +++ libsyncml-0.5.4/debian/libsyncml-utils.install @@ -0,0 +1,2 @@ +usr/bin/syncml-ds-tool +usr/share/man/man1/syncml-ds-tool.1 --- libsyncml-0.5.4.orig/debian/libsyncml2.install +++ libsyncml-0.5.4/debian/libsyncml2.install @@ -0,0 +1 @@ +usr/lib/libsyncml*.so.* --- libsyncml-0.5.4.orig/debian/patches/04_syncml-ds-tool_doxygen_fix.patch +++ libsyncml-0.5.4/debian/patches/04_syncml-ds-tool_doxygen_fix.patch @@ -0,0 +1,12 @@ +Index: tools/syncml-ds-tool.c +=================================================================== +--- libsyncml/tools/syncml-ds-tool.c (Revision 1356) ++++ libsyncml/tools/syncml-ds-tool.c (Arbeitskopie) +@@ -204,6 +204,7 @@ + * Copyright (C) 2008 OpenSync Team. Free use of this software is + * granted under the terms of the GNU Lesser General Public License (LGPL). + * ++ * \cond + */ + + #include --- libsyncml-0.5.4.orig/debian/patches/fix_build_with_libopenobex2.patch +++ libsyncml-0.5.4/debian/patches/fix_build_with_libopenobex2.patch @@ -0,0 +1,53 @@ +Origin: upstream +Bug-Debian: https://bugs.debian.org/811300 +Forwarded: not-yet +Last-Update: <2016-02-01> + +--- libsyncml-0.5.4.orig/libsyncml/transports/obex_client.c ++++ libsyncml-0.5.4/libsyncml/transports/obex_client.c +@@ -881,8 +881,8 @@ + + } else if (env->type == SML_TRANSPORT_CONNECTION_TYPE_USB) { + smlTrace(TRACE_INTERNAL, "%s: connecting to usb interface %i", __func__, env->port); +- +- obex_intf_cnt = OBEX_FindInterfaces(env->obexhandle, &obex_intf); ++ ++ obex_intf_cnt = OBEX_EnumerateInterfaces(env->obexhandle); + smlTrace(TRACE_INTERNAL, "%s: found %i interfaces", __func__, obex_intf_cnt); + + if (obex_intf_cnt <= 0) { +only in patch2: +unchanged: +--- libsyncml-0.5.4.orig/tools/syncml-obex-client.c ++++ libsyncml-0.5.4/tools/syncml-obex-client.c +@@ -418,7 +418,7 @@ + if (geteuid() != 0) + fprintf(stderr, "Superuser privileges are required to access complete USB information.\n"); + +- interfaces_number = OBEX_FindInterfaces(handle, &obex_intf); ++ interfaces_number = OBEX_EnumerateInterfaces(handle); + printf("Found %d USB OBEX interfaces\n", interfaces_number); + + for (i = 0; i < interfaces_number; i++) +--- libsyncml-0.5.4.orig/libsyncml/transports/obex_client.c ++++ libsyncml-0.5.4/libsyncml/transports/obex_client.c +@@ -716,7 +716,7 @@ + env->obexhandle = OBEX_Init(OBEX_TRANS_BLUETOOTH, smlTransportObexClientEvent, 0); + break; + case SML_TRANSPORT_CONNECTION_TYPE_SERIAL: +- env->obexhandle = OBEX_Init(OBEX_TRANS_CUST, smlTransportObexClientEvent, 0); ++ env->obexhandle = OBEX_Init(OBEX_TRANS_CUSTOM, smlTransportObexClientEvent, 0); + break; + case SML_TRANSPORT_CONNECTION_TYPE_USB: + env->obexhandle = OBEX_Init(OBEX_TRANS_USB, smlTransportObexClientEvent, 0); +--- libsyncml-0.5.4.orig/tools/syncml-ds-tool.c ++++ libsyncml-0.5.4/tools/syncml-ds-tool.c +@@ -761,7 +761,7 @@ + if (geteuid() != 0) + fprintf(stderr, "Superuser privileges are required to access complete USB information.\n"); + +- interfaces_number = OBEX_FindInterfaces(handle, &obex_intf); ++ interfaces_number = OBEX_EnumerateInterfaces(handle); + printf("Found %d USB OBEX interfaces\n", interfaces_number); + + for (i = 0; i < interfaces_number; i++) --- libsyncml-0.5.4.orig/debian/patches/link-pthreads.patch +++ libsyncml-0.5.4/debian/patches/link-pthreads.patch @@ -0,0 +1,44 @@ +Index: libsyncml-0.5.4/CMakeLists.txt +=================================================================== +--- libsyncml-0.5.4.orig/CMakeLists.txt 2009-06-04 17:16:56.000000000 +0800 ++++ libsyncml-0.5.4/CMakeLists.txt 2015-05-25 15:07:33.306480933 +0800 +@@ -97,6 +97,7 @@ + FIND_PACKAGE( OpenObex ) + FIND_PACKAGE( LibSoup2 ) + FIND_PACKAGE( LibWbxml2 ) ++FIND_PACKAGE( Threads REQUIRED ) + FIND_PACKAGE( BlueZ ) + FIND_PACKAGE( Check ) + +@@ -211,6 +212,7 @@ + ADD_SUBDIRECTORY( libsyncml ) + ADD_SUBDIRECTORY( tools ) + ADD_SUBDIRECTORY( tests ) ++TARGET_LINK_LIBRARIES( ${CMAKE_THREAD_LIBS_INIT} ) + + MARK_AS_ADVANCED( CLEAR BUILD_DOCUMENTATION ) + IF ( BUILD_DOCUMENTATION ) +Index: libsyncml-0.5.4/libsyncml-1.0.pc.cmake.in +=================================================================== +--- libsyncml-0.5.4.orig/libsyncml-1.0.pc.cmake.in 2009-06-04 17:16:56.000000000 +0800 ++++ libsyncml-0.5.4/libsyncml-1.0.pc.cmake.in 2015-05-25 15:08:07.762481825 +0800 +@@ -7,5 +7,5 @@ + Name: libsyncml + Description: SyncML protocol library + Version: @LIBSYNCML_VERSION@ +-Libs: -L${libdir} -lsyncml ++Libs: -L${libdir} -lsyncml -lpthreads + Cflags: -I${includedir} +Index: libsyncml-0.5.4/tests/CMakeLists.txt +=================================================================== +--- libsyncml-0.5.4.orig/tests/CMakeLists.txt 2009-06-04 17:16:56.000000000 +0800 ++++ libsyncml-0.5.4/tests/CMakeLists.txt 2015-05-25 15:11:02.926486360 +0800 +@@ -47,7 +47,7 @@ + endif(COMMAND cmake_policy) + # create support library + ADD_LIBRARY( support STATIC support.c ) +- TARGET_LINK_LIBRARIES( support syncml ${CHECK_LIBRARIES} ) ++ TARGET_LINK_LIBRARIES( support syncml ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ) + # include Testing Macro + INCLUDE( Testing ) + # include necessary headers --- libsyncml-0.5.4.orig/debian/patches/series +++ libsyncml-0.5.4/debian/patches/series @@ -0,0 +1,3 @@ +link-pthreads.patch +04_syncml-ds-tool_doxygen_fix.patch +fix_build_with_libopenobex2.patch --- libsyncml-0.5.4.orig/debian/rules +++ libsyncml-0.5.4/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f +# Based on the multi2 sample debian/rules file: +# --- +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 -SDate)" +%s) + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +export CFLAGS + +SRC := $(CURDIR) +BUILD := $(SRC)/build +TARGET := $(SRC)/debian/tmp + +configure: configure-stamp +configure-stamp: debian/stamp-patched + dh_testdir + + [ -d $(BUILD) ] || mkdir $(BUILD) + cd $(BUILD) && cmake $(CURDIR) -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_C_COMPILER="/usr/bin/cc" \ + -DCMAKE_C_FLAGS="$(CFLAGS)" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DENABLE_UNIT_TEST=ON \ + -DENABLE_CHECK_PIC=ON \ + -DENABLE_OPENOBEX_TCP=ON \ + -DBUILD_DOCUMENTATION=ON + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) -C $(BUILD) +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + -(cd $(BUILD) && LD_LIBRARY_PATH=../libsyncml:. ctest -DExperimental --force-new-ctest-process -V) + rm -rf /tmp/testbed.* +endif + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + rm -rf $(BUILD) + dh_clean + +install: +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) -C $(BUILD) install DESTDIR=$(TARGET) + dh_install --sourcedir=$(TARGET) + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_strip --dbg-package=libsyncml2-dbg + dh_link + dh_compress + dh_fixperms + dh_makeshlibs -Xformats -V + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build install + +binary: binary-indep binary-arch +.PHONY: configure build clean binary-indep binary-arch binary-common binary install