--- gopersist-0.1.1.orig/gopersist/gop-persist-file.c +++ gopersist-0.1.1/gopersist/gop-persist-file.c @@ -399,7 +399,7 @@ GError *error, GopPersistFile *self) { - g_error (error->message); + g_error ("%s", error->message); } void @@ -421,7 +421,7 @@ ret = g_file_get_contents (self->priv->file_name, &xml_string, &xml_len, &err); if (!ret) { - g_error (err->message); + g_error ("%s", err->message); } context = g_markup_parse_context_new (&parser, @@ -431,7 +431,7 @@ ret = g_markup_parse_context_parse (context, xml_string, xml_len, &err); if (!ret) { - g_error (err->message); + g_error ("%s", err->message); } if (xml_string) { --- gopersist-0.1.1.orig/gopersist/gop-xml-sink-gobject.c +++ gopersist-0.1.1/gopersist/gop-xml-sink-gobject.c @@ -256,7 +256,7 @@ GParameter *param = NULL; if (!g_value_type_transformable (G_TYPE_STRING, self->priv->prop_type)) { - g_error (g_strdup_printf ("Cannot convert from %s to %s\n", + g_error ("%s", g_strdup_printf ("Cannot convert from %s to %s\n", g_type_name (G_TYPE_STRING), g_type_name (self->priv->prop_type))); } --- gopersist-0.1.1.orig/debian/changelog +++ gopersist-0.1.1/debian/changelog @@ -0,0 +1,32 @@ +gopersist (0.1.1-0ubuntu4) precise; urgency=low + + * fix compilation issues with [-Werror=format-security] and hence fix FTBFS + (LP: #935142) + + -- Bhavani Shankar Sun, 19 Feb 2012 00:35:47 +0530 + +gopersist (0.1.1-0ubuntu3) natty; urgency=low + + * debian/rules: clean out dependency_libs in la-file per policy 10.2 + + -- Andreas Moog Mon, 04 Apr 2011 00:09:50 +0200 + +gopersist (0.1.1-0ubuntu2) gutsy; urgency=low + + * debian/control: Update maintainer fields according to debian- + maintainer-field spec. + + -- Martin Pitt Wed, 15 Aug 2007 08:04:48 +0000 + +gopersist (0.1.1-0ubuntu1) dapper; urgency=low + + * New upstream release + + -- Hubert Figuiere Wed, 22 Feb 2006 17:37:24 -0500 + +gopersist (0.1.0-0ubuntu1) dapper; urgency=low + + * Initial release + + -- Hubert Figuiere Mon, 9 Jan 2006 00:21:36 -0500 + --- gopersist-0.1.1.orig/debian/rules +++ gopersist-0.1.1/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +DEB_DH_INSTALL_SOURCEDIR=debian/tmp +DEB_DH_STRIP_ARGS := --dbg-package=libgopersist-1-1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +common-install-arch:: + for file in debian/tmp/usr/lib/*.la; do \ + sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ + done + --- gopersist-0.1.1.orig/debian/libgopersist-1-dev.install +++ gopersist-0.1.1/debian/libgopersist-1-dev.install @@ -0,0 +1,4 @@ +usr/lib/pkgconfig/*.pc +usr/lib/*.so +usr/lib/*.la +usr/include --- gopersist-0.1.1.orig/debian/libgopersist-1-1.install +++ gopersist-0.1.1/debian/libgopersist-1-1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- gopersist-0.1.1.orig/debian/control +++ gopersist-0.1.1/debian/control @@ -0,0 +1,41 @@ +Source: gopersist +Section: libs +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Hubert Figuiere +Build-Depends: debhelper (>> 4.0.0), cdbs (>= 0.4.30), libglib2.0-dev (>= 2.6.0), libgtk2.0-dev (>= 2.6.0) +Standards-Version: 3.6.2 + +Package: libgopersist-1-dev +Section: libdevel +Architecture: any +Suggests: libgopersist-1-doc +Depends: libgopersist-1-1 (= ${Source-Version}), libc6-dev, libglib2.0-dev (>= 2.6.0), libgtk2.0-dev (>= 2.6.0) +Description: Serialisation and deserialisation of GObjects (development files) + GOPersist is a library for serialisation and deserialisation of + GObjects. Generic functionality is provided by enumerating GObject + properties. Persistence media is a simple XML file format, others + like GConf or SQLite might be added in the future. Infrastructure to + plug in application specific (de)serialisers is provided as well. + +Package: libgopersist-1-1-dbg +Architecture: any +Depends: libgopersist-1-1 (= ${Source-Version}) +Description: Serialisation and deserialisation of GObjects (debug files) + GOPersist is a library for serialisation and deserialisation of + GObjects. Generic functionality is provided by enumerating GObject + properties. Persistence media is a simple XML file format, others + like GConf or SQLite might be added in the future. Infrastructure to + plug in application specific (de)serialisers is provided as well. + +Package: libgopersist-1-1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Serialisation and deserialisation of GObject + GOPersist is a library for serialisation and deserialisation of + GObjects. Generic functionality is provided by enumerating GObject + properties. Persistence media is a simple XML file format, others + like GConf or SQLite might be added in the future. Infrastructure to + plug in application specific (de)serialisers is provided as well. + --- gopersist-0.1.1.orig/debian/copyright +++ gopersist-0.1.1/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Hubert Figuiere on +Mon Jan 9 00:15:11 EDT 2006 + +It was downloaded from ftp://ftp.gnome.org/pub/GNOME/sources/gopersist/0.1/ + +Copyright: + Copyright (C) 2005 Robert Staudinger + +License: + This library 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 library 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 library; 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/LGPL-2'. --- gopersist-0.1.1.orig/debian/compat +++ gopersist-0.1.1/debian/compat @@ -0,0 +1 @@ +4