debian/0000755000000000000000000000000012240755177007200 5ustar debian/rules0000755000000000000000000000015311404460746010253 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=cmake --parallel --list-missing .PHONY: override_dh_auto_test debian/control0000644000000000000000000000233411570653076010605 0ustar Source: libgcal Section: libs Priority: optional Maintainer: Michael Banck Uploaders: Fathi Boudra Build-Depends: debhelper (>= 7.4.11~), cmake, check, libxml2-dev, libcurl4-gnutls-dev Standards-Version: 3.9.2 Homepage: http://code.google.com/p/libgcal/ Vcs-Svn: svn://svn.debian.org/pkg-opensync/trunk/libgcal Vcs-Browser: http://svn.debian.org/wsvn/pkg-opensync/trunk/libgcal/#_trunk_libgcal_ Package: libgcal0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Google calendar and contacts library This is a library to access google calendar events and contacts. Its purpose is to provide easy access to available events/contacts and to enable common operations like add, delete or edit. Package: libgcal-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, libgcal0 (= ${binary:Version}), libxml2-dev, libcurl4-gnutls-dev Description: Google calendar and contacts (development files) This is a library to access google calendar events and contacts. Its purpose is to provide easy access to available events/contacts and to enable common operations like add, delete or edit. . This package contains the static library and header files. debian/source/0000755000000000000000000000000011404456671010476 5ustar debian/source/format0000644000000000000000000000001411404456250011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001115312240755176011052 0ustar libgcal (0.9.6-3.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64- linux-gnu/libcheck_pic.a(check_pack.o): undefined reference to symbol '__pthread_unregister_cancel@@GLIBC_2.3.3'": add patch 02_link_pthread.patch from Ubuntu / Andreas Moog: - explicitly link the tests with pthread (Closes: #713575) -- gregor herrmann Wed, 13 Nov 2013 21:00:38 +0100 libgcal (0.9.6-3) unstable; urgency=low [ José Manuel Santamaría Lema ] * debian/control (Build-Depends): replace libcurl4-openssl-dev by libcurl4-gnutls-dev. -- Fathi Boudra Mon, 30 May 2011 11:19:56 +0300 libgcal (0.9.6-2) unstable; urgency=low * debian/patches/01_check_for_empty_strings_before_copy_them.patch: Fixed a crash when adding akonadi resource. (Closes: #622818) * debian/control (Standards-Version): Bumped from 3.9.1 to 3.9.2 (no changes needed). * debian/copyright (lintian warning): Removed reference to deprecated BSD license. -- Fathi Boudra Mon, 02 May 2011 13:48:43 +0300 libgcal (0.9.6-1) unstable; urgency=low * New upstream release. * debian/libgcal-dev.install: Updated. * debian/libgcal0.symbols: Updated. * debian/patches/01_restore_abi_compatibility.diff: Removed, stolen upstream. * debian/patches/02_libxml_segfault.diff: Removed, stolen upstream. * debian/control (Standards-Version): Bumped from 3.8.4 to 3.9.1 (no changes needed). -- Fathi Boudra Mon, 21 Feb 2011 14:56:37 +0200 libgcal (0.9.4-2) unstable; urgency=high * debian/patches/02_libxml_segfault.diff: New patch, fixing a segfault when using both libgcal and libxml in the same program. (Closes: #597153) -- Michael Banck Mon, 04 Oct 2010 21:02:34 +0200 libgcal (0.9.4-1) unstable; urgency=low * New upstream release. * Switch to dpkg-source 3.0 (quilt) format. * Add libgcal0 symbols file. * Add 01_restore_abi_compatibility.diff to restore ABI compatibility. * debian/control (Build-Depends): Bumped debhelper version to 7.4.11~. * debian/control (Build-Depends): Added cmake and check build dependencies. * debian/control (Standards-Version): Bumped from 3.8.3 to 3.8.4 (no changes needed). * debian/control (Vcs-Browser and Vcs-Svn): Added version control system location. * debian/rules: Enabled parallel build (pass --parallel option to dh). * debian/rules: Switched to cmake build system (pass --buildsystem option to dh). * debian/libgcal-dev.install: Updated. -- Fathi Boudra Fri, 11 Jun 2010 18:42:45 +0300 libgcal (0.9.3-1) unstable; urgency=low * New upstream release. * debian/control (Uploaders): Added myself as co-maintainer. * debian/control (Build-Depends): Bumped debhelper version to 7.0.50~. * debian/control (Standards-Version): Bumped from 3.8.0 to 3.8.3 (no changes needed). * debian/libgcal-dev.install: Dropped libgcal.la file. * debian/rules: Converted to dh usage and pass --list-missing to make sure we didn't miss any files. * debian/not-installed: list intended not installed files. -- Fathi Boudra Wed, 26 Aug 2009 19:53:19 +0200 libgcal (0.9.2-1) unstable; urgency=low * New upstream release. * debian/control (libgcal-dev/Depends): Added libgcal0. -- Michael Banck Fri, 07 Aug 2009 00:18:14 +0200 libgcal (0.9.1-1) unstable; urgency=low * New upstream release. * debian/control (Build-Depends): Replaced libcurl4-openssl-dev with libcurl4-gnutls-dev. (Closes: #534836) -- Michael Banck Sun, 05 Jul 2009 11:29:18 +0200 libgcal (0.9.0-1) unstable; urgency=low * New upstream release. * debian/rules (binary-arch): Dropped version-specific changelog file as dh_installchangelogs argument, no longer shipped upstream. * debian/copyright: Refer to /usr/share/common-licenses/GPL-2 explicitely. * debian/rules (install): Use dh_prep instead of dh_clean -k. -- Michael Banck Tue, 12 May 2009 16:41:04 +0200 libgcal (0.8.1-3) unstable; urgency=low * debian/copyright: Clarified the copyright and license of configure.ac and src/curl_debug_gcal.c. -- Michael Banck Thu, 25 Dec 2008 20:16:11 +0100 libgcal (0.8.1-2) unstable; urgency=low * debian/rules (libcal-dev/Depends): Added libxml2-dev and libcurl4-openssl-dev. -- Michael Banck Sat, 06 Dec 2008 13:12:11 +0100 libgcal (0.8.1-1) unstable; urgency=low * Initial release (Closes: #502016) -- Michael Banck Sun, 30 Nov 2008 18:16:25 +0100 debian/libgcal-dev.install0000644000000000000000000000063611557505613012744 0ustar usr/include/libgcal/atom_parser.h usr/include/libgcal/curl_debug_gcal.h usr/include/libgcal/gcal.h usr/include/libgcal/gcal_parser.h usr/include/libgcal/gcal_status.h usr/include/libgcal/gcalendar.h usr/include/libgcal/gcont.h usr/include/libgcal/gcontact.h usr/include/libgcal/internal_gcal.h usr/include/libgcal/xml_aux.h usr/lib/LibGCal/cmake/LibGCalConfig.cmake usr/lib/libgcal.so usr/lib/pkgconfig/libgcal.pc debian/compat0000644000000000000000000000000211404454516010370 0ustar 7 debian/libgcal0.install0000644000000000000000000000002511404454516012234 0ustar usr/lib/libgcal.so.* debian/not-installed0000644000000000000000000000002511404454516011667 0ustar ./usr/lib/libgcal.la debian/patches/0000755000000000000000000000000012240755130010614 5ustar debian/patches/01_check_for_empty_strings_before_copy_them.patch0000644000000000000000000000307211557507256022460 0ustar From 2ac14a59fd7f9236f19a2625d9b81ec5e676fc18 Mon Sep 17 00:00:00 2001 From: horuga23 Date: Wed, 12 Jan 2011 17:41:39 +0100 Subject: [PATCH] Bugfix: Checks now for empty strings before copy them. (Issue #69 on https://code.google.com/p/libgcal/) --- src/atom_parser.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) --- a/src/atom_parser.c +++ b/src/atom_parser.c @@ -44,7 +44,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "internal_gcal.h" #include - void workaround_edit_url(char *inplace) { char *aux, *tmp; @@ -282,7 +281,8 @@ static int extract_and_check_multi(xmlDo if (attr2) { if (xmlHasProp(node->nodeTab[i], attr2)) { tmp = xmlGetProp(node->nodeTab[i], attr2); - (*types)[i] = strdup(strchr(tmp,'#') + 1); + if(strchr(tmp,'#')) + (*types)[i] = strdup(strchr(tmp,'#') + 1); xmlFree(tmp); } else @@ -292,7 +292,8 @@ static int extract_and_check_multi(xmlDo if (attr3) { if (xmlHasProp(node->nodeTab[i], attr3)) { tmp = xmlGetProp(node->nodeTab[i], attr3); - (*protocols)[i] = strdup(strchr(tmp,'#') + 1); + if(strchr(tmp,'#')) + (*protocols)[i] = strdup(strchr(tmp,'#') + 1); xmlFree(tmp); } else @@ -383,7 +384,8 @@ static int extract_and_check_multisub(xm if (attr1) { if (xmlHasProp(node->nodeTab[i], attr1)) { tmp = xmlGetProp(node->nodeTab[i], attr1); - (*types)[i] = strdup(strchr(tmp,'#') + 1); + if(strchr(tmp,'#')) + (*types)[i] = strdup(strchr(tmp,'#') + 1); xmlFree(tmp); } else (*types)[i] = strdup(""); debian/patches/02_link_pthread.patch0000644000000000000000000000077012240755130014606 0ustar Description: explicitly link the tests with pthread to fix FTBFS (Closes: #713575) Author: Andreas Moog Bug-Debian: http://bugs.debian.org/713575 --- libgcal-0.9.6.orig/utests/CMakeLists.txt +++ libgcal-0.9.6/utests/CMakeLists.txt @@ -21,7 +21,7 @@ set(GCAL_TEST_SOURCE_FILES ) add_executable(testgcal ${GCAL_TEST_SOURCE_FILES}) -target_link_libraries(testgcal gcal ${CHECK_LIBRARIES}) +target_link_libraries(testgcal gcal ${CHECK_LIBRARIES} pthread) add_custom_target( test debian/patches/series0000644000000000000000000000011012240755130012021 0ustar 01_check_for_empty_strings_before_copy_them.patch 02_link_pthread.patch debian/copyright0000644000000000000000000000317311557510215011127 0ustar This package was debianized by: Michael Banck on Sun, 30 Nov 2008 18:16:25 +0100. It was downloaded from: http://code.google.com/p/libgcal/ Upstream Author: Adenilson Cavalcanti da Silva Copyright: Copyright (c) 2008 Instituto Nokia de Tecnologia License: Redistribution and use in source and binary forms, with or without modification, are permitted under the terms of the BSD License. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The file src/curl_debug_gcal.c is licensed under the X11/MIT license. The file configure.ac is licensed under the GPL and is Copyright (c) 2005-2006 Mandriva Conectiva S.A. and Copyright (c) 2006 Ademar de Souza Reis Jr. The Debian packaging is: Copyright (C) 2008-2009 Michael Banck and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000000711404454516010042 0ustar README debian/libgcal0.symbols0000644000000000000000000001463211557505613012273 0ustar libgcal.so.0 libgcal0 #MINVER# atom_entries@Base 0.8.1 atom_extract_contact@Base 0.8.1 atom_extract_data@Base 0.8.1 atom_get_entries@Base 0.8.1 build_doc_tree@Base 0.8.1 build_dom_document@Base 0.8.1 clean_buffer@Base 0.8.1 clean_doc_tree@Base 0.8.1 clean_dom_document@Base 0.8.1 execute_xpath_expression@Base 0.8.1 extract_all_contacts@Base 0.8.1 extract_all_entries@Base 0.8.1 gcal_access_buffer@Base 0.8.1 gcal_add_contact@Base 0.8.1 gcal_add_event@Base 0.8.1 gcal_add_xmlentry@Base 0.8.1 gcal_address_type_str@Base 0.9.4 gcal_calendar_list@Base 0.8.1 gcal_cleanup_contacts@Base 0.8.1 gcal_cleanup_events@Base 0.8.1 gcal_construct@Base 0.8.1 gcal_contact_add_email_address@Base 0.9.4 gcal_contact_add_groupMembership@Base 0.9.4 gcal_contact_add_im@Base 0.9.6 gcal_contact_add_phone_number@Base 0.9.4 gcal_contact_delete@Base 0.8.1 gcal_contact_delete_email_addresses@Base 0.9.4 gcal_contact_delete_groupMembership@Base 0.9.4 gcal_contact_delete_im@Base 0.9.6 gcal_contact_delete_phone_numbers@Base 0.9.4 gcal_contact_delete_structured_entry@Base 0.9.4 gcal_contact_element@Base 0.8.1 gcal_contact_get_address@Base 0.8.1 gcal_contact_get_birthday@Base 0.9.4 gcal_contact_get_blog@Base 0.9.4 gcal_contact_get_content@Base 0.8.1 gcal_contact_get_email@Base 0.8.1 gcal_contact_get_email_address@Base 0.9.4 gcal_contact_get_email_address_type@Base 0.9.4 gcal_contact_get_emails_count@Base 0.9.4 gcal_contact_get_etag@Base 0.9.0 gcal_contact_get_groupMembership@Base 0.9.4 gcal_contact_get_groupMembership_count@Base 0.9.4 gcal_contact_get_homepage@Base 0.9.4 gcal_contact_get_id@Base 0.8.1 gcal_contact_get_im@Base 0.8.1 gcal_contact_get_im_address@Base 0.9.6 gcal_contact_get_im_count@Base 0.9.6 gcal_contact_get_im_protocol@Base 0.9.6 gcal_contact_get_im_type@Base 0.9.6 gcal_contact_get_nickname@Base 0.9.4 gcal_contact_get_occupation@Base 0.9.6 gcal_contact_get_organization@Base 0.9.0 gcal_contact_get_phone@Base 0.8.1 gcal_contact_get_phone_number@Base 0.9.4 gcal_contact_get_phone_number_type@Base 0.9.4 gcal_contact_get_phone_numbers_count@Base 0.9.4 gcal_contact_get_photo@Base 0.9.0 gcal_contact_get_photolength@Base 0.9.0 gcal_contact_get_pref_email@Base 0.9.4 gcal_contact_get_pref_im@Base 0.9.6 gcal_contact_get_pref_structured_address@Base 0.9.6 gcal_contact_get_profission@Base 0.9.0 gcal_contact_get_structured_address@Base 0.9.4 gcal_contact_get_structured_address_count@Base 0.9.4 gcal_contact_get_structured_address_count_obj@Base 0.9.4 gcal_contact_get_structured_address_type@Base 0.9.4 gcal_contact_get_structured_address_type_obj@Base 0.9.4 gcal_contact_get_structured_entry@Base 0.9.4 gcal_contact_get_structured_name@Base 0.9.4 gcal_contact_get_title@Base 0.8.1 gcal_contact_get_updated@Base 0.8.1 gcal_contact_get_url@Base 0.8.1 gcal_contact_get_xml@Base 0.8.1 gcal_contact_is_deleted@Base 0.8.1 gcal_contact_new@Base 0.8.1 gcal_contact_set_address@Base 0.9.0 gcal_contact_set_birthday@Base 0.9.4 gcal_contact_set_blog@Base 0.9.4 gcal_contact_set_content@Base 0.9.0 gcal_contact_set_email@Base 0.8.1 gcal_contact_set_etag@Base 0.9.0 gcal_contact_set_homepage@Base 0.9.4 gcal_contact_set_id@Base 0.9.0 gcal_contact_set_nickname@Base 0.9.4 gcal_contact_set_occupation@Base 0.9.6 gcal_contact_set_organization@Base 0.9.0 gcal_contact_set_phone@Base 0.8.1 gcal_contact_set_photo@Base 0.9.0 gcal_contact_set_pref_structured_address@Base 0.9.6 gcal_contact_set_profission@Base 0.9.0 gcal_contact_set_structured_address_nr@Base 0.9.4 gcal_contact_set_structured_entry@Base 0.9.4 gcal_contact_set_title@Base 0.8.1 gcal_contact_set_url@Base 0.9.0 gcal_create_contact@Base 0.8.1 gcal_create_event@Base 0.8.1 gcal_delete@Base 0.8.1 gcal_delete_contact@Base 0.8.1 gcal_delete_event@Base 0.8.1 gcal_deleted@Base 0.8.1 gcal_destroy@Base 0.8.1 gcal_destroy_contact@Base 0.8.1 gcal_destroy_contacts@Base 0.8.1 gcal_destroy_entries@Base 0.8.1 gcal_destroy_entry@Base 0.8.1 gcal_dump@Base 0.8.1 gcal_edit_contact@Base 0.8.1 gcal_edit_event@Base 0.8.1 gcal_email_type_str@Base 0.9.4 gcal_entry_number@Base 0.8.1 gcal_erase_contact@Base 0.8.1 gcal_erase_event@Base 0.8.1 gcal_erase_xmlentry@Base 0.8.1 gcal_event_delete@Base 0.8.1 gcal_event_element@Base 0.8.1 gcal_event_get_content@Base 0.8.1 gcal_event_get_end@Base 0.8.1 gcal_event_get_etag@Base 0.9.0 gcal_event_get_id@Base 0.8.1 gcal_event_get_recurrent@Base 0.8.1 gcal_event_get_start@Base 0.8.1 gcal_event_get_status@Base 0.8.1 gcal_event_get_title@Base 0.8.1 gcal_event_get_updated@Base 0.8.1 gcal_event_get_url@Base 0.8.1 gcal_event_get_where@Base 0.8.1 gcal_event_get_xml@Base 0.8.1 gcal_event_is_deleted@Base 0.8.1 gcal_event_new@Base 0.8.1 gcal_event_set_content@Base 0.8.1 gcal_event_set_end@Base 0.8.1 gcal_event_set_etag@Base 0.9.0 gcal_event_set_id@Base 0.9.0 gcal_event_set_start@Base 0.8.1 gcal_event_set_title@Base 0.8.1 gcal_event_set_url@Base 0.9.0 gcal_event_set_where@Base 0.8.1 gcal_final_cleanup@Base 0.9.6 gcal_get_all_contacts@Base 0.8.1 gcal_get_authentication@Base 0.8.1 gcal_get_contacts@Base 0.8.1 gcal_get_deleted@Base 0.8.1 gcal_get_edit_url@Base 0.8.1 gcal_get_entries@Base 0.8.1 gcal_get_etag@Base 0.9.0 gcal_get_events@Base 0.8.1 gcal_get_extract_etag@Base 0.9.0 gcal_get_id@Base 0.8.1 gcal_get_title@Base 0.8.1 gcal_get_updated@Base 0.8.1 gcal_get_updated_contacts@Base 0.8.1 gcal_get_updated_events@Base 0.8.1 gcal_get_url@Base 0.8.1 gcal_get_xml@Base 0.8.1 gcal_im_type_str@Base 0.9.6 gcal_init_contact@Base 0.8.1 gcal_init_event@Base 0.8.1 gcal_new@Base 0.8.1 gcal_phone_type_str@Base 0.9.4 gcal_query@Base 0.8.1 gcal_query_updated@Base 0.8.1 gcal_set_location@Base 0.8.1 gcal_set_proxy@Base 0.8.1 gcal_set_service@Base 0.8.1 gcal_set_store_xml@Base 0.8.1 gcal_set_timezone@Base 0.8.1 gcal_status_httpcode@Base 0.8.1 gcal_status_msg@Base 0.8.1 gcal_status_setlog@Base 0.8.1 gcal_update_contact@Base 0.8.1 gcal_update_event@Base 0.8.1 gcal_update_xmlentry@Base 0.8.1 get_edit_etag@Base 0.9.0 get_edit_url@Base 0.8.1 get_entries_number@Base 0.8.1 get_etag_attribute@Base 0.9.0 get_follow_redirection@Base 0.9.0 get_mili_timestamp@Base 0.8.1 get_the_url@Base 0.8.1 http_post@Base 0.8.1 register_namespaces@Base 0.8.1 scheme_href@Base 0.8.1 term_href_cal@Base 0.8.1 term_href_cont@Base 0.8.1 up_entry@Base 0.8.1 workaround_edit_url@Base 0.9.2 xmlcontact_create@Base 0.8.1 xmlentry_create@Base 0.8.1 xmlentry_destroy_resources@Base 0.8.1 xmlentry_init_resources@Base 0.8.1