I made two changes to the sources to test:

$ diff -u configure.ac.old configure.ac
--- configure.ac.old    2010-03-14 11:56:03.000000000 +0000
+++ configure.ac        2010-03-14 11:56:27.000000000 +0000
@@ -11,7 +11,7 @@
 AC_PROG_CC
 AC_PROG_LIBTOOL
 
-PKG_CHECK_MODULES(TODODB, sqlite libgpepimc)
+PKG_CHECK_MODULES(TODODB, sqlite libgpepimc libcontactsdb)
 
 #gtk-doc for documentation
 GTK_DOC_CHECK(1.2)

 diff -u Makefile.am.old Makefile.am
--- Makefile.am.old     2010-03-14 11:56:13.000000000 +0000
+++ Makefile.am 2010-03-14 11:56:54.000000000 +0000
@@ -5,7 +5,7 @@
 INCLUDES = @TODODB_CFLAGS@ 
-DPACKAGE_LOCALE_DIR=\"@datadir@/locale/@package_n...@\"
 
 libtododb_la_LIBADD = @TODODB_LIBS@
-
+libtododb_la_LDFLAGS= -Wl,--no-add-needed
 libtododb_la_SOURCES = old-db.c todo-db.c gpe/todo-db.h
 
 gpeincludedir = $(includedir)/gpe

To turn those into a usable package means adding a patch system. The
upstream release uses a .tar.bz2 (according to the watch file), so I
propose that libtododb should switch to dpkg source format 3.0 (quilt)
for .tar.bz2 support, then add these changes as patches and then the
upload just needs to use the '-sa' option to upload the orig.tar.bz2 to
replace the current orig.tar.gz - I've done this several times now for
GPE packages using the pkg-gpe SVN:

http://svn.debian.org/viewsvn/pkg-gpe/trunk/

I'd like to put libtododb and then the other GPE packages into that SVN
as upstream packages (i.e. just the debian/ directories).

I did ask about this before but had no reply. I won't have time to do
this next weekend, so to give time for a reply I propose to fix the
outstanding unresolved symbol bugs for all GPE packages in two weeks
time - including putting all remaining GPE packages into pkg-gpe SVN.

All such packages that use .tar.bz2 upstream would migrate to dpkg
source format 3.0 (quilt) - although quilt itself is not the main
objective unless there are patches already in use.

I'll forward this issue with libtododb needing to look for
libcontactsdb to upstream and tag this bug later.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp7hy6a9Wwwq.pgp
Description: PGP signature

Reply via email to