Julien Cristau <jcris...@debian.org> (03/08/2012):
> On Fri, Aug  3, 2012 at 13:11:35 +0200, Michael Biebl wrote:
> 
> > On 02.08.2012 21:52, Julien Cristau wrote:
> > 
> > > I think linking /usr/lib/libgda-5.0/providers/libgda-sqlite.so against
> > > -lsqlite3 directly would be the safest course.
> > 
> > Would changing libgda to link directly against libsqlite be something
> > the release team considers ok for an unblock?
> > 
> I guess it'll slightly depend how the diff looks (and if somebody has
> time to implement this, of course), but yes that would be the preferred
> solution as far as I'm concerned.

Here's a patch. Tested: build OK, added dependency on libsqlite3.so.0
(objdump), added Depends on libsqlite3-0.

No run-time test at all.

Sorry for the patch name, but dpkg-buildpackage -S and debdiff should
be enough. Really. The changelog entry wants to be improved too.

Mraw,
KiBi.
diff -Nru libgda5-5.0.3/debian/changelog libgda5-5.0.3/debian/changelog
--- libgda5-5.0.3/debian/changelog	2012-02-10 13:43:52.000000000 +0100
+++ libgda5-5.0.3/debian/changelog	2012-10-08 16:30:02.000000000 +0200
@@ -1,3 +1,10 @@
+libgda5 (5.0.3-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Link the sqlite provider against sqlite3 (Closes: #667751).
+
+ -- Cyril Brulebois <k...@debian.org>  Mon, 08 Oct 2012 16:29:24 +0200
+
 libgda5 (5.0.3-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru libgda5-5.0.3/debian/patches/series libgda5-5.0.3/debian/patches/series
--- libgda5-5.0.3/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libgda5-5.0.3/debian/patches/series	2012-10-08 16:50:28.000000000 +0200
@@ -0,0 +1 @@
+stfu-dpkg-source-thanks.diff
diff -Nru libgda5-5.0.3/debian/patches/stfu-dpkg-source-thanks.diff libgda5-5.0.3/debian/patches/stfu-dpkg-source-thanks.diff
--- libgda5-5.0.3/debian/patches/stfu-dpkg-source-thanks.diff	1970-01-01 01:00:00.000000000 +0100
+++ libgda5-5.0.3/debian/patches/stfu-dpkg-source-thanks.diff	2012-10-08 16:50:42.000000000 +0200
@@ -0,0 +1,20 @@
+--- libgda5-5.0.3.orig/providers/sqlite/Makefile.am
++++ libgda5-5.0.3/providers/sqlite/Makefile.am
+@@ -18,6 +18,7 @@ libgda_sqlite_la_SOURCES = \
+ libgda_sqlite_la_LDFLAGS = -export-dynamic -module -avoid-version $(NO_UNDEFINED) $(LIBTOOL_PROV_EXPORT_OPTIONS)
+ libgda_sqlite_la_LIBADD = \
+ 	$(top_builddir)/libgda/libgda-5.0.la \
++	$(SQLITE_LIBS) \
+ 	$(COREDEPS_LIBS)
+ 
+ xmldir   = $(datadir)/libgda-5.0
+--- libgda5-5.0.3.orig/providers/sqlite/Makefile.in
++++ libgda5-5.0.3/providers/sqlite/Makefile.in
+@@ -406,6 +406,7 @@ libgda_sqlite_la_SOURCES = \
+ libgda_sqlite_la_LDFLAGS = -export-dynamic -module -avoid-version $(NO_UNDEFINED) $(LIBTOOL_PROV_EXPORT_OPTIONS)
+ libgda_sqlite_la_LIBADD = \
+ 	$(top_builddir)/libgda/libgda-5.0.la \
++	$(SQLITE_LIBS) \
+ 	$(COREDEPS_LIBS)
+ 
+ xmldir = $(datadir)/libgda-5.0

Attachment: signature.asc
Description: Digital signature

Reply via email to