Comment 13 for bug 1323592

Revision history for this message
su_v (suv-lp) wrote :

> Now to hear if it is okay on other platforms.

On OS X 10.7.5, trunk r13529:

1) environment with these ports installed:
  libcdr 0.0.14
  libvisio 0.0.27
  libwpg 0.2.2

Build succeeds:
(…)
checking for LIBWPG03... no
checking for LIBWPG02... yes
checking for LIBVISIO01... no
checking for LIBVISIO00... yes
checking for LIBCDR01... no
checking for LIBCDR00... yes
(…)
        Libwpg: yes
        Libvisio: yes
        Libcdr: yes
(…)

$ grep CDR build/config.h
#define WITH_LIBCDR00 1
/* #undef WITH_LIBCDR01 */
$ grep VISIO build/config.h
#define WITH_LIBVISIO00 1
/* #undef WITH_LIBVISIO01 */
$

but the input extensions based on Libvisio and Libcdr are not available at runtime (not listed among the file formats in the 'File > Open' dialog). WPG is ok.

2) environment with these ports installed (the versions can co-exist if the tools are installed with versioned suffix):

  libcdr 0.0.16
  libvisio 0.0.31
  libwpg 0.2.2

  librevenge 0.0.1 (git master)
  libcdr 0.1.0 (git master)
  libvisio 0.1.0 (git master)
  libwpg 0.3.0 (git master)

Build fails for WPG input (ok for Visio and CDR):
(…)
checking for LIBWPG03... yes
checking for LIBWPG02... yes
checking for LIBVISIO01... yes
checking for LIBVISIO00... yes
checking for LIBCDR01... yes
checking for LIBCDR00... yes
(…)
        Libwpg: yes
        Libvisio: yes
        Libcdr: yes
(…)
$ (cd build; make -k)
make all-recursive
Making all in src
make all-am
  CXX extension/internal/wpg-input.o
../../src/extension/internal/wpg-input.cpp:62:12: fatal error: 'librevenge-stream/librevenge-stream.h' file not found
  #include <librevenge-stream/librevenge-stream.h>
           ^
1 error generated.
make[3]: *** [extension/internal/wpg-input.o] Error 1
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all] Error 2

$ grep WPG build/config.h
#define WITH_LIBWPG 1
#define WITH_LIBWPG02 1
#define WITH_LIBWPG03 1