I'm taking a look at the abiword svn code to see what would be needed
to add Haiku as a target platform. I assume that I'd need to add
something like this to configure.in
~/abiword> svn diff
Index: configure.in
===================================================================
--- configure.in (revision 27106)
+++ configure.in (working copy)
@@ -145,6 +145,10 @@
PLATFORM="win"
TOOLKIT="win"
;;
+ *haiku*)
+ PLATFORM="haiku"
+ TOOLKIT="haiku"
+ ;;
*)
PLATFORM="unix"
TOOLKIT="gtk"
~/abiword>
I've been busy porting some of the dependencies and this is what I see
now when I run ./configure, note that Haiku uses /boot/common as the
prefix directory. We don't have gtk+ or a fully working cairo, and
would most likely have to code the GUI parts in the BeAPI. Some of
the GUI work has been done previously, but would of course need to be
brought up to date. What I'm looking for at this point is how to get
configure to not check for the gtk+ and such things that wouldn't be
used on this platform.
-scottmc
~/abiword> ./configure --prefix=/boot/common
checking build system type... i586-pc-haiku
checking host system type... i586-pc-haiku
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... conftest
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for a BSD-compatible install... /bin/install -c
checking for a sed that does not truncate output... /boot/common/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld
checking if the linker
(/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/boot/develop/tools/gnupro/bin/nm -B
checking the name lister (/boot/develop/tools/gnupro/bin/nm -B)
interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld option to
reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /boot/develop/tools/gnupro/bin/nm -B output
from gcc object... failed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -DPIC
checking if gcc PIC flag -DPIC works... yes
checking if gcc static flag works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... haiku runtime_loader
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld
checking if the linker
(/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) is GNU ld... yes
checking whether the g++ linker
(/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -DPIC
checking if g++ PIC flag -DPIC works... yes
checking if g++ static flag works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker
(/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... haiku runtime_loader
checking how to hardcode library paths into programs... immediate
./configure: line 16300: DOLT: command not found
checking whether ln -s works... yes
checking for platform and toolkit... haiku / haiku
checking for pkg-config... /boot/common/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wextra... no
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Wmissing-noreturn... yes
checking whether gcc understands -Wunused... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wshadow... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for DEPS... configure: error: Package requirements (
fribidi >= 0.10.4
glib-2.0 >= 2.6.0 gthread-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0
libgsf-1 >= 1.12
wv-1.0 >= 1.2.0
enchant >= 1.2.0 gio-2.0
cairo-pdf cairo-ps
gtk+-2.0 >= 2.12.0 gtk+-unix-print-2.0 librsvg-2.0 >= 2.16.0
) were not met:
No package 'libgsf-1' found
No package 'wv-1.0' found
No package 'enchant' found
No package 'gtk+-2.0' found
No package 'gtk+-unix-print-2.0' found
No package 'librsvg-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Received on Mon Jul 6 21:38:19 2009
This archive was generated by hypermail 2.1.8 : Mon Jul 06 2009 - 21:38:20 CEST