Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
97bda8e0
Kaydet (Commit)
97bda8e0
authored
Agu 05, 2014
tarafından
Rene Engelhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement --with-system-gltf
Change-Id: Ic842006b28f8043bcbbaa81ab5a20e15aa52ac82
üst
2f247407
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
1 deletion
+47
-1
RepositoryExternal.mk
RepositoryExternal.mk
+18
-0
oglframegrabber.hxx
avmedia/source/opengl/oglframegrabber.hxx
+4
-0
oglplayer.hxx
avmedia/source/opengl/oglplayer.hxx
+4
-0
oglwindow.hxx
avmedia/source/opengl/oglwindow.hxx
+4
-0
config_host.mk.in
config_host.mk.in
+3
-0
configure.ac
configure.ac
+14
-1
No files found.
RepositoryExternal.mk
Dosyayı görüntüle @
97bda8e0
...
@@ -3315,6 +3315,8 @@ endif # DESKTOP
...
@@ -3315,6 +3315,8 @@ endif # DESKTOP
ifeq ($(ENABLE_GLTF),TRUE)
ifeq ($(ENABLE_GLTF),TRUE)
ifneq ($(SYSTEM_LIBGLTF),TRUE)
define gb_LinkTarget__use_libgltf
define gb_LinkTarget__use_libgltf
$(call gb_LinkTarget_set_include,$(1),\
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,libgltf)/inc \
-I$(call gb_UnpackedTarball_get_dir,libgltf)/inc \
...
@@ -3340,6 +3342,22 @@ $(call gb_ExternalProject_use_external_project,$(1),libgltf)
...
@@ -3340,6 +3342,22 @@ $(call gb_ExternalProject_use_external_project,$(1),libgltf)
endef
endef
else # SYSTEM_LIBGLTF
define gb_LinkTarget__use_libgltf
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(LIBGLTF_CFLAGS) \
)
$(call gb_LinkTarget_add_libs,$(1),$(LIBGLTF_LIBS))
$(call gb_LinkTarget_add_defs,$(1),\
-DSYSTEM_LIBGLTF \
)
endef
endif # SYSTEN_LIBGLTF
define gb_LinkTarget__use_opencollada_parser
define gb_LinkTarget__use_opencollada_parser
$(call gb_LinkTarget_set_include,$(1),\
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,opencollada)/COLLADABaseUtils/include \
-I$(call gb_UnpackedTarball_get_dir,opencollada)/COLLADABaseUtils/include \
...
...
avmedia/source/opengl/oglframegrabber.hxx
Dosyayı görüntüle @
97bda8e0
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/media/XFrameGrabber.hpp>
#include <com/sun/star/media/XFrameGrabber.hpp>
#ifdef SYSTEM_LIBGLTF
#include <libgltf/libgltf.h>
#else
#include <libgltf.h>
#include <libgltf.h>
#endif
namespace
avmedia
{
namespace
ogl
{
namespace
avmedia
{
namespace
ogl
{
...
...
avmedia/source/opengl/oglplayer.hxx
Dosyayı görüntüle @
97bda8e0
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/media/XPlayer.hpp>
#include <com/sun/star/media/XPlayer.hpp>
#ifdef SYSTEM_LIBGLTF
#include <libgltf/libgltf.h>
#else
#include <libgltf.h>
#include <libgltf.h>
#endif
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/timer.hxx>
#include <vcl/timer.hxx>
...
...
avmedia/source/opengl/oglwindow.hxx
Dosyayı görüntüle @
97bda8e0
...
@@ -17,7 +17,11 @@
...
@@ -17,7 +17,11 @@
#include <com/sun/star/media/XPlayerWindow.hpp>
#include <com/sun/star/media/XPlayerWindow.hpp>
#include <com/sun/star/media/ZoomLevel.hpp>
#include <com/sun/star/media/ZoomLevel.hpp>
#ifdef SYSTEM_LIBGLTF
#include <libgltf/libgltf.h>
#else
#include <libgltf.h>
#include <libgltf.h>
#endif
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/syschild.hxx>
#include <vcl/syschild.hxx>
...
...
config_host.mk.in
Dosyayı görüntüle @
97bda8e0
...
@@ -127,6 +127,9 @@ export ENABLE_GRAPHITE=@ENABLE_GRAPHITE@
...
@@ -127,6 +127,9 @@ export ENABLE_GRAPHITE=@ENABLE_GRAPHITE@
export ENABLE_ORCUS=@ENABLE_ORCUS@
export ENABLE_ORCUS=@ENABLE_ORCUS@
export ENABLE_HARFBUZZ=@ENABLE_HARFBUZZ@
export ENABLE_HARFBUZZ=@ENABLE_HARFBUZZ@
export ENABLE_GLTF=@ENABLE_GLTF@
export ENABLE_GLTF=@ENABLE_GLTF@
export SYSTEM_LIBGLTF=@SYSTEM_LIBGLTF@
export LIBGLTF_CFLAGS=@LIBGLTF_CFLAGS@
export LIBGLTF_LIBS=@LIBGLTF_LIBS@
export ENABLE_GSTREAMER=@ENABLE_GSTREAMER@
export ENABLE_GSTREAMER=@ENABLE_GSTREAMER@
export ENABLE_GSTREAMER_0_10=@ENABLE_GSTREAMER_0_10@
export ENABLE_GSTREAMER_0_10=@ENABLE_GSTREAMER_0_10@
export ENABLE_GTK3=@ENABLE_GTK3@
export ENABLE_GTK3=@ENABLE_GTK3@
...
...
configure.ac
Dosyayı görüntüle @
97bda8e0
...
@@ -1595,6 +1595,11 @@ AC_ARG_WITH(system-jpeg,
...
@@ -1595,6 +1595,11 @@ AC_ARG_WITH(system-jpeg,
[Use jpeg already on system.]),,
[Use jpeg already on system.]),,
[with_system_jpeg=auto])
[with_system_jpeg=auto])
AC_ARG_WITH(system-libgltf,
AS_HELP_STRING([--with-system-libgltf],
[Use libgltf already on system.]),,
[with_system_libgltf=auto])
AC_ARG_WITH(system-clucene,
AC_ARG_WITH(system-clucene,
AS_HELP_STRING([--with-system-clucene],
AS_HELP_STRING([--with-system-clucene],
[Use clucene already on system.]),,
[Use clucene already on system.]),,
...
@@ -10617,7 +10622,12 @@ if test "x$enable_gltf" != "xno" -a $_os != iOS -a $_os != Android; then
...
@@ -10617,7 +10622,12 @@ if test "x$enable_gltf" != "xno" -a $_os != iOS -a $_os != Android; then
ENABLE_GLTF=TRUE
ENABLE_GLTF=TRUE
AC_MSG_RESULT([yes])
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_FEATURE_GLTF,1)
AC_DEFINE(HAVE_FEATURE_GLTF,1)
BUILD_TYPE="$BUILD_TYPE LIBGLTF"
if test "$with_system_libgltf" = "yes"; then
SYSTEM_LIBGLTF=TRUE
PKG_CHECK_MODULES( LIBGLTF, libgltf-0.0 )
else
BUILD_TYPE="$BUILD_TYPE LIBGLTF"
fi
# otherwise build fails in collada2gltf external because of std::shared_ptr
# otherwise build fails in collada2gltf external because of std::shared_ptr
if test "$have_std_shared_ptr" = "yes"; then
if test "$have_std_shared_ptr" = "yes"; then
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF"
BUILD_TYPE="$BUILD_TYPE COLLADA2GLTF"
...
@@ -10626,6 +10636,9 @@ else
...
@@ -10626,6 +10636,9 @@ else
AC_MSG_RESULT([no])
AC_MSG_RESULT([no])
fi
fi
AC_SUBST(ENABLE_GLTF)
AC_SUBST(ENABLE_GLTF)
AC_SUBST(SYSTEM_LIBGLTF)
AC_SUBST(LIBGLTF_CFLAGS)
AC_SUBST(LIBGLTF_LIBS)
# pdf import?
# pdf import?
AC_MSG_CHECKING([whether to build the PDF import feature])
AC_MSG_CHECKING([whether to build the PDF import feature])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment