tag 594708 + sid confirmed thanks On Sat, 28 Aug 2010 22:50:37 +0800, Ying-Chun Liu (PaulLiu) wrote:
> Due to twitter changes the authentication method from basic to OAuth, we > have to upgrade librest 0.6 to 0.7. > The result is emerillon doesn't build anymore. As far as I can see this only effects sid; squeeze still has librest 0.6, and emerillon builds fine in a squeeze chroot; tagging accordingly. > To solve this is not very hard. We just need to change "rest-0.6 >= 0.6" > to "rest-0.7 >= 0.6" in configure.ac and then re-generate the configure. > > I've already well tested this by myself. > I'll attach the reference patch as attachment. I've converted your 2 patches into one quilt patch, since debian/README.source talks about using quilt and there's an include in debian/rules already; debdiff attached for convenice. Cheers, gregor -- .''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Schmetterlinge: Geschichte vom Arbeiter Willi K
diff -Nru emerillon-0.1.1/debian/changelog emerillon-0.1.1/debian/changelog --- emerillon-0.1.1/debian/changelog 2010-06-16 12:38:13.000000000 +0200 +++ emerillon-0.1.1/debian/changelog 2010-09-12 15:34:08.000000000 +0200 @@ -1,3 +1,12 @@ +emerillon (0.1.1-2.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS due to librest transition 0.6 -> 0.7": add a patch to + s/rest-0.6/rest-0.7/ in configure.ac and configure; thanks to Ying-Chun + Liu (PaulLiu) (closes: #594708). + + -- gregor herrmann <gre...@debian.org> Sun, 12 Sep 2010 15:06:29 +0200 + emerillon (0.1.1-2) unstable; urgency=low * Remove .la files diff -Nru emerillon-0.1.1/debian/patches/rest-0.7.patch emerillon-0.1.1/debian/patches/rest-0.7.patch --- emerillon-0.1.1/debian/patches/rest-0.7.patch 1970-01-01 01:00:00.000000000 +0100 +++ emerillon-0.1.1/debian/patches/rest-0.7.patch 2010-09-12 15:21:30.000000000 +0200 @@ -0,0 +1,89 @@ +Description: librest transition 0.6 -> 0.7 +Origin: vendor +Bug: http://bugs.debian.org/594708 +Forwarded: no +Author: "Ying-Chun Liu (PaulLiu)" <paul...@debian.org> +Reviewed-by: gregor herrmann <gre...@debian.org> +Last-Update: 2010-09-12 + +--- a/configure ++++ b/configure +@@ -13209,18 +13209,18 @@ + else + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + \""; } >&5 + ($PKG_CONFIG --exists --print-errors " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + ") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SEARCH_DEPS_CFLAGS=`$PKG_CONFIG --cflags " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + " 2>/dev/null` + else +@@ -13236,18 +13236,18 @@ + else + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + \""; } >&5 + ($PKG_CONFIG --exists --print-errors " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + ") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SEARCH_DEPS_LIBS=`$PKG_CONFIG --libs " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + " 2>/dev/null` + else +@@ -13269,12 +13269,12 @@ + fi + if test $_pkg_short_errors_supported = yes; then + SEARCH_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + "` + else + SEARCH_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + "` + fi +@@ -13282,7 +13282,7 @@ + echo "$SEARCH_DEPS_PKG_ERRORS" >&5 + + as_fn_error "Package requirements ( +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + + ) were not met: + +--- a/configure.ac ++++ b/configure.ac +@@ -103,7 +103,7 @@ + AC_SUBST(SEARCH_DEPS_LIBS) + PKG_CHECK_MODULES(SEARCH_DEPS, + [ +- rest-0.6 >= 0.6 ++ rest-0.7 >= 0.6 + ] + ) + diff -Nru emerillon-0.1.1/debian/patches/series emerillon-0.1.1/debian/patches/series --- emerillon-0.1.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ emerillon-0.1.1/debian/patches/series 2010-09-12 15:17:38.000000000 +0200 @@ -0,0 +1 @@ +rest-0.7.patch
signature.asc
Description: Digital signature