diff -u swac-get-0.3/debian/changelog swac-get-0.3/debian/changelog --- swac-get-0.3/debian/changelog +++ swac-get-0.3/debian/changelog @@ -1,3 +1,12 @@ +swac-get (0.3-2) unstable; urgency=low + + * Bug fixed in the source file "src/swac_index.cc". + (field `packages-idx` of the table `alphaidx` was not properly + filled during the installation of audio collections). + LP: #275263 + + -- Nicolas Vion Sat, 27 Sep 2008 21:17:58 +0200 + swac-get (0.3-1) unstable; urgency=low * Initial release only in patch2: unchanged: --- swac-get-0.3.orig/Makefile.in +++ swac-get-0.3/Makefile.in @@ -42,7 +42,8 @@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ - ChangeLog INSTALL NEWS THANKS depcomp install-sh missing + ChangeLog INSTALL NEWS THANKS config.guess config.sub depcomp \ + install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ only in patch2: unchanged: --- swac-get-0.3.orig/configure.in +++ swac-get-0.3/configure.in @@ -1,7 +1,7 @@ AC_INIT -AM_INIT_AUTOMAKE(swac-get,0.3) +AM_INIT_AUTOMAKE(swac-get,0.3b) PKG_CHECK_MODULES(SQLITE3,[sqlite3]) PKG_CHECK_MODULES(LIBXML2,[libxml-2.0]) only in patch2: unchanged: --- swac-get-0.3.orig/configure +++ swac-get-0.3/configure @@ -2038,7 +2038,7 @@ # Define the identity of the package. PACKAGE=swac-get - VERSION=0.3 + VERSION=0.3b cat >>confdefs.h <<_ACEOF only in patch2: unchanged: --- swac-get-0.3.orig/src/swac_index.cc +++ swac-get-0.3/src/swac_index.cc @@ -81,7 +81,7 @@ db.query("INSERT INTO `sounds` (" + fields + ") VALUES (" + values + ");"); std::string idx(int2string(db.last_insert_rowid())); for (std::list::iterator it = alphaidx.begin(); it != alphaidx.end(); it++) - db.query("INSERT INTO `alphaidx` (`str`, `sounds_idx`) VALUES (" + db.str(*it) +", " + idx + ");"); + db.query("INSERT INTO `alphaidx` (`str`, `sounds_idx`, `packages_idx`) VALUES (" + db.str(*it) +", " + idx + ", " + packages_idx + ");"); } void Tswac_index::group_push(char const **attr) { only in patch2: unchanged: --- swac-get-0.3.orig/src/global.hh +++ swac-get-0.3/src/global.hh @@ -22,7 +22,6 @@ #define _GLOBAL_HH -#define VERSION "0.3" #endif