Re: [Libreoffice-commits] core.git: ucb/Library_ucpgio1.mk ucb/source

classic Classic list List threaded Threaded
2 messages Options
Ivan Timofeev Ivan Timofeev
Reply | Threaded
Open this post in threaded view
|

Re: [Libreoffice-commits] core.git: ucb/Library_ucpgio1.mk ucb/source

Hi Stephan,

I have the following error after that commit:

  [build CXX] ucb/source/ucp/gio/gio_content.cxx
  [build CHK] loaded modules: ucb
  In file included from
/home/ivan/libo/master/ucb/source/ucp/gio/gio_content.cxx:65:
  In file included from /home/ivan/libo/master/include/vcl/svapp.hxx:31:
  /home/ivan/libo/master/include/comphelper/solarmutex.hxx:25:10: fatal
error: 'boost/noncopyable.hpp' file not found
  #include "boost/noncopyable.hpp"
           ^
  1 error generated.

I don't know how to fix it.

OS is Ubuntu 13.10, autogen.input is:

  CC=clang
  CXX=clang++
  --without-doxygen
  --with-help
  --disable-odk
  --disable-postgresql-sdbc
  --enable-gtk3
  --with-system-cairo
  --with-lang=en-US ru

Regards,
Ivan

On 27.09.2013 00:31, Stephan Bergmann wrote:

>  ucb/Library_ucpgio1.mk             |    1 +
>  ucb/source/ucp/gio/gio_content.cxx |   11 ++++++++++-
>  2 files changed, 11 insertions(+), 1 deletion(-)
>
> New commits:
> commit 2eb36dc4b846ab5886ae71fd2978b56b2a2d1d08
> Author: Stephan Bergmann <[hidden email]>
> Date:   Thu Sep 26 22:30:11 2013 +0200
>
>     Hack to not leave SolarMutex released after g_main_loop_run call
>    
>     Change-Id: I26923469d08308233ce3fabe749806c16d75cecd
>
> diff --git a/ucb/Library_ucpgio1.mk b/ucb/Library_ucpgio1.mk
> index eb39c8e..000f557 100644
> --- a/ucb/Library_ucpgio1.mk
> +++ b/ucb/Library_ucpgio1.mk
> @@ -21,6 +21,7 @@ $(eval $(call gb_Library_use_libraries,ucpgio1,\
>   sal \
>   salhelper \
>   ucbhelper \
> + vcl \
>  ))
>  
>  $(eval $(call gb_Library_use_externals,ucpgio1,\
> diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
> index 8621782..f7ce5f9 100644
> --- a/ucb/source/ucp/gio/gio_content.cxx
> +++ b/ucb/source/ucp/gio/gio_content.cxx
> @@ -62,6 +62,7 @@
>  #include <ucbhelper/propertyvalueset.hxx>
>  #include <ucbhelper/interactionrequest.hxx>
>  #include <ucbhelper/cancelcommandexecution.hxx>
> +#include <vcl/svapp.hxx>
>  
>  #include <osl/conditn.hxx>
>  
> @@ -325,7 +326,15 @@ void MountOperation::Completed(GObject *source, GAsyncResult *res, gpointer user
>  GError *MountOperation::Mount(GFile *pFile)
>  {
>      g_file_mount_enclosing_volume(pFile, G_MOUNT_MOUNT_NONE, mpAuthentication, NULL, MountOperation::Completed, this);
> -    g_main_loop_run(mpLoop);
> +    {
> +        //HACK: At least the gdk_threads_set_lock_functions(GdkThreadsEnter,
> +        // GdkThreadsLeave) call in vcl/unx/gtk/app/gtkinst.cxx will lead to
> +        // GdkThreadsLeave unlock the SolarMutex down to zero at the end of
> +        // g_main_loop_run, so we need ~SolarMutexReleaser to raise it back to
> +        // the original value again:
> +        SolarMutexReleaser rel;
> +        g_main_loop_run(mpLoop);
> +    }
>      return mpError;
>  }

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: [Libreoffice-commits] core.git: ucb/Library_ucpgio1.mk ucb/source

On 09/29/2013 04:59 PM, Ivan Timofeev wrote:

> I have the following error after that commit:
>
>    [build CXX] ucb/source/ucp/gio/gio_content.cxx
>    [build CHK] loaded modules: ucb
>    In file included from
> /home/ivan/libo/master/ucb/source/ucp/gio/gio_content.cxx:65:
>    In file included from /home/ivan/libo/master/include/vcl/svapp.hxx:31:
>    /home/ivan/libo/master/include/comphelper/solarmutex.hxx:25:10: fatal
> error: 'boost/noncopyable.hpp' file not found
>    #include "boost/noncopyable.hpp"
>             ^
>    1 error generated.
>
> I don't know how to fix it.

Fixed with
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=cfb09f556d7bc4d7341abf86c6e61af657235432>
"Indirect dependency on boost_headers."

Stephan
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice