diff --git a/libreoffice.changes b/libreoffice.changes index 7e73b58..f311fff 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 4 10:05:19 UTC 2017 - tchvatal@suse.com + +- Add api keys for google drive to work bsc#1047467 + * Copied from chromium + ------------------------------------------------------------------- Sat Jun 24 09:51:43 UTC 2017 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index b356a32..ae05d81 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -22,8 +22,8 @@ %define numbertext_version 0.9.5 # Urls %define external_url http://dev-www.libreoffice.org/src/ -#%define tarball_url http://download.documentfoundation.org/libreoffice/src/5.4.0 -%define tarball_url http://dev-builds.libreoffice.org/pre-releases/src/ +%define tarball_url http://download.documentfoundation.org/libreoffice/src/5.4.0 +#%define tarball_url http://dev-builds.libreoffice.org/pre-releases/src/ # Wether to enable the kde integration %if 0%{?is_opensuse} %bcond_without kdeintegration @@ -958,6 +958,13 @@ export ARCH_FLAGS CFLAGS CXXFLAGS export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser' export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser' +# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys +# Note: these are for the openSUSE Chromium builds ONLY. For your own distribution, +# please get your own set of keys. +google_api_key="AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q" +google_default_client_id="4139804441.apps.googleusercontent.com" +google_default_client_secret="KDTRKEZk2jwT_7CDpcmMA--P" + # do not run configure in autogen but use macro later export NOCONFIGURE=yes ./autogen.sh @@ -1031,7 +1038,9 @@ export NOCONFIGURE=yes --enable-neon \ --disable-ccache \ --disable-coinmp \ - --enable-symbols + --enable-symbols \ + --with-gdrive-client-secret="${google_default_client_secret}" \ + --with-gdrive-client-id="${google_default_client_id}" # no coinormp packages for coinmp # just call make here as we added the jobs in configure