Package: libpano12
Severity: important
Tags: patch
Salut Florent,
currently your package FTBFS on GNU/kFreeBSD with the following error:
> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
> -DHasJPEG -DHasPNG -DHasTIFF -DHasZLIB -g -O2 -MT PTDialogs.lo -MD -MP
> -MF ".deps/PTDialogs.Tpo" -c -o PTDialogs.lo PTDialogs.c; \
> then mv -f ".deps/PTDialogs.Tpo" ".deps/PTDialogs.Plo"; else rm -f
> ".deps/PTDialogs.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I. -DHasJPEG -DHasPNG -DHasTIFF -DHasZLIB -g
> -O2 -MT PTDialogs.lo -MD -MP -MF .deps/PTDialogs.Tpo -c PTDialogs.c -fPIC
> -DPIC -o .libs/PTDialogs.o
> In file included from PTDialogs.c:35:
> sys_X11.h:23:26: error: libgimp/gimp.h: No such file or directory
> sys_X11.h:24:21: error: gtk/gtk.h: No such file or directory
> In file included from PTDialogs.c:35:
> sys_X11.h:34: error: expected specifier-qualifier-list before 'GtkWidget'
> sys_X11.h:42: error: expected ')' before '*' token
> sys_X11.h:43: error: expected ')' before '*' token
> sys_X11.h:45: error: expected ')' before '*' token
> [... many others...]
Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=libpano12>.
Please find attached a tiny patch to add support for GNU/kFreeBSD (and
possibly for GNU/Hurd). Please also update your config/config.* scripts
from autotools-dev's /usr/share/misc/config.*. Then running autoreconf
should do the trick.
Thanks in advance.
Miaou,
--
Cyril Brulebois
--- libpano12-2.8.3/configure.ac 2007-03-09 05:19:12.211035000 +0100
+++ libpano12-2.8.3/configure.ac 2007-03-09 05:27:22.000000000 +0100
@@ -27,7 +27,7 @@
HSYS=unknown
HCPU="${target_cpu}"
;;
- linux*)
+ linux*|*kfreebsd*-gnu|*-gnu*)
PANO_WIN32_RESOURCE=
HSYS=linux
dnl
--- libpano12-2.8.3/m4/ax_check_java.m4 2007-03-09 05:37:47.593396000 +0100
+++ libpano12-2.8.3/m4/ax_check_java.m4 2007-03-09 05:40:35.000000000 +0100
@@ -76,7 +76,7 @@
passed=0;
JAVA_OLD_CPPFLAGS=$CPPFLAGS
case "${target_os}" in
- linux*)
+ linux*|*kfreebsd*-gnu|*-gnu*)
java_extra_inc=linux
;;
darwin*)