Package: adesklets Version: 0.4.10-1 Severity: serious Tags: patch adesklets fails to build from source:
> checking for debugging symbols generation... no > checking for sigkill timeout... yes > checking for polling frequency... checking for bc... no > checking for lock files directory setting... yes > checking for control modifier on context menu... no > checking for date... (cached) no > checking for uname... (cached) no > checking for tputs in -lncurses... no > checking for tputs in -ltermcap... no > checking for tputs in -lcurses... no > configure: error: Could not find terminal management library for readline > (either ncurses, termcap or curses). > make: *** [config.status] Error 1 When configure determines that it can't use debugging symbols generation, it removes "\s*-g\s*" from CFLAGS. This sets CFLAGS to "-O2-Wall", which causes the failure. The attached patch makes it remove "\s*-g" instead, which fixes the problem. -- Matt
diff -u adesklets-0.4.10/debian/control adesklets-0.4.10/debian/control
--- adesklets-0.4.10/debian/control
+++ adesklets-0.4.10/debian/control
@@ -2,7 +2,7 @@
Section: x11
Priority: optional
Maintainer: Bartosz Fenski <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, libimlib2-dev, python-dev,
libncurses5-dev, libreadline5-dev, libfontconfig1-dev, libxt-dev
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, libimlib2-dev, python-dev,
libncurses5-dev, libreadline5-dev, libfontconfig1-dev, libxt-dev, automake1.8
Standards-Version: 3.6.1
Package: adesklets
diff -u adesklets-0.4.10/debian/rules adesklets-0.4.10/debian/rules
--- adesklets-0.4.10/debian/rules
+++ adesklets-0.4.10/debian/rules
@@ -20,7 +20,7 @@
config.status: configure
dh_testdir
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info || (cat config.log; exit 1)
build: build-stamp
only in patch2:
unchanged:
--- adesklets-0.4.10.orig/configure.ac
+++ adesklets-0.4.10/configure.ac
@@ -156,7 +156,7 @@
DEBUG=yes
else
AC_MSG_RESULT([no])
- CFLAGS=`echo "$CFLAGS" | sed
's/@<:@@<:@:space:@:>@@:>@*-g@<:@@<:@:space:@:>@@:>@*//g'`
+ CFLAGS=`echo "$CFLAGS" | sed 's/@<:@@<:@:space:@:>@@:>@*-g//g'`
fi
dnl SIGKILL timeout setting
only in patch2:
unchanged:
--- adesklets-0.4.10.orig/configure
+++ adesklets-0.4.10/configure
@@ -5637,7 +5637,7 @@
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
- CFLAGS=`echo "$CFLAGS" | sed 's/[[:space:]]*-g[[:space:]]*//g'`
+ CFLAGS=`echo "$CFLAGS" | sed 's/[[:space:]]*-g//g'`
fi
enableval=
signature.asc
Description: Digital signature

