Accepting request 540480 from LibreOffice:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/540480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=140
This commit is contained in:
Dominique Leuenberger 2017-11-14 13:18:23 +00:00 committed by Git OBS Bridge
commit 678894a917
6 changed files with 64 additions and 25 deletions

3
gpgme-1.8.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33
size 1298407

3
libassuan-2.4.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71
size 559867

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69
size 798096

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Nov 3 12:21:12 UTC 2017 - tchvatal@suse.com
- Disable the verbosity of the build again, getting complaints of
build log is too long...
-------------------------------------------------------------------
Thu Nov 2 13:36:04 UTC 2017 - tchvatal@suse.com
- Switch to bundled gpgme on old distros where it is not possible
to update
- Rebase scp2-user-config-suse.diff to apply again
-------------------------------------------------------------------
Thu Nov 2 09:24:49 UTC 2017 - tchvatal@suse.com
- Fix pyuno paths wrt bsc#1059720
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 12 10:52:03 UTC 2017 - tchvatal@suse.com Thu Oct 12 10:52:03 UTC 2017 - tchvatal@suse.com

View File

@ -35,11 +35,16 @@
%else %else
%bcond_with firebird %bcond_with firebird
%endif %endif
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
%bcond_without system_gpgme
%else
%bcond_with system_gpgme
%endif
Name: libreoffice Name: libreoffice
Version: 5.4.2.2 Version: 5.4.2.2
Release: 0 Release: 0
Summary: A Free Office Suite (Framework) Summary: A Free Office Suite (Framework)
License: LGPL-3.0+ AND MPL-2.0+ License: LGPL-3.0+ and MPL-2.0+
Group: Productivity/Office/Suite Group: Productivity/Office/Suite
Url: http://www.documentfoundation.org/ Url: http://www.documentfoundation.org/
Source0: %{tarball_url}/libreoffice-%{version}.tar.xz Source0: %{tarball_url}/libreoffice-%{version}.tar.xz
@ -53,6 +58,10 @@ Source402: %{external_url}/b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_%{nu
# used extensions sources # used extensions sources
Source450: %{external_url}/1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt Source450: %{external_url}/1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt
Source452: %{external_url}/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2 Source452: %{external_url}/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
# GPGME bundle list
Source1000: %{external_url}/gpgme-1.8.0.tar.bz2
Source1001: %{external_url}/libgpg-error-1.26.tar.bz2
Source1002: %{external_url}/libassuan-2.4.3.tar.bz2
# This never had an release so just bundle it as per what other distros do # This never had an release so just bundle it as per what other distros do
Source1999: %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 Source1999: %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
# Internal bundled stuff we can't remove # Internal bundled stuff we can't remove
@ -121,7 +130,11 @@ BuildRequires: libcppunit-devel >= 1.14.0
BuildRequires: libexif BuildRequires: libexif
BuildRequires: libfonts BuildRequires: libfonts
BuildRequires: libformula BuildRequires: libformula
%if %{with system_gpgme}
BuildRequires: libgpgmepp-devel BuildRequires: libgpgmepp-devel
%else
BuildRequires: chrpath
%endif
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: liblayout BuildRequires: liblayout
BuildRequires: libloader BuildRequires: libloader
@ -1029,6 +1042,11 @@ export NOCONFIGURE=yes
%else %else
--disable-kde4 \ --disable-kde4 \
%endif %endif
%if %{with system_gpgme}
--with-system-gpgmepp \
%else
--without-system-gpgmepp \
%endif
%if %{with firebird} %if %{with firebird}
--enable-firebird-sdbc \ --enable-firebird-sdbc \
%else %else
@ -1053,21 +1071,12 @@ export NOCONFIGURE=yes
# no coinormp packages for coinmp # no coinormp packages for coinmp
# just call make here as we added the jobs in configure # just call make here as we added the jobs in configure
# The check phase is run here too if it is split with nocheck make build-nocheck
# install of jars get broken sometimes
make verbose=true build-nocheck
%check %check
# Run tests only on 64b intel as they are resource hogs # Run tests only on 64b intel as they are resource hogs
%ifarch x86_64 %ifarch x86_64
make make
unset WITH_LANG
# work around flawed accessibility check
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice
#timeout -k 2m 2h make smoketest.subsequentcheck
# we don't need this anymore
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%endif %endif
%install %install
@ -1220,7 +1229,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
# Prepare uno path detection, can't be patched in because it breaks tests # Prepare uno path detection, can't be patched in because it breaks tests
echo "import sys, os" > uno.py echo "import sys, os" > uno.py
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py echo "sys.path.append('%{_libdir}/%{name}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{_libdir}/libreoffice/program/fundamentalrc')" >> uno.py echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{_libdir}/libreoffice/program/fundamentalrc')" >> uno.py
cat %{buildroot}%{_libdir}/%{name}/program/uno.py >> uno.py cat %{buildroot}%{_libdir}/%{name}/program/uno.py >> uno.py
cp uno.py %{buildroot}%{_libdir}/%{name}/program/uno.py cp uno.py %{buildroot}%{_libdir}/%{name}/program/uno.py
@ -1252,6 +1261,12 @@ echo "%{_libdir}/libreoffice/share/palette/SUSE.soc" >> file-lists/common_list.t
# Symlink libreofficekit to libdir # Symlink libreofficekit to libdir
ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so
%if !%{with system_gpgme}
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libgpgme.so.11
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libgpgmepp.so.6
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libassuan.so.0
%endif
# Symlink uno.py and unohelper.py so that python can find them # Symlink uno.py and unohelper.py so that python can find them
# This is done after the cache files generating on purpose # This is done after the cache files generating on purpose
mkdir -p %{buildroot}%{python3_sitelib} mkdir -p %{buildroot}%{python3_sitelib}

View File

@ -3,24 +3,24 @@
scp2/source/ooo/common_brand.scp | 2 +- scp2/source/ooo/common_brand.scp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-) 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git officecfg/registry/data/org/openoffice/Setup.xcu officecfg/registry/data/org/openoffice/Setup.xcu Index: officecfg/registry/data/org/openoffice/Setup.xcu
index 8e18ca5..7c0b95d 100644 ===================================================================
--- officecfg/registry/data/org/openoffice/Setup.xcu --- officecfg/registry/data/org/openoffice/Setup.xcu.orig
+++ officecfg/registry/data/org/openoffice/Setup.xcu +++ officecfg/registry/data/org/openoffice/Setup.xcu
@@ -788,7 +788,7 @@ @@ -787,7 +787,7 @@
<value>10</value> <value>10</value>
</prop> </prop>
<prop oor:name="VersionIdentifiers"> <prop oor:name="VersionIdentifiers">
- <value oor:separator=",">Libreoffice 3=libreoffice/3,Openofice.org 3=openoffice.org/3,OpenOffice.org 2=openoffice.org2,StarOffice 8=staroffice8,StarSuite 8=starsuite8</value> - <value oor:separator=",">Libreoffice 3=libreoffice/3,Openoffice.org 3=openoffice.org/3,OpenOffice.org 2=openoffice.org2,StarOffice 8=staroffice8,StarSuite 8=starsuite8</value>
+ <value oor:separator=",">Libreoffice 3=libreoffice/3-suse,Openofice.org 3=ooo3,OpenOffice.org 2=ooo-2.0,StarOffice 8=staroffice8,StarSuite 8=starsuite8</value> + <value oor:separator=",">Libreoffice 3=libreoffice/3-suse,Openoffice.org 3=openoffice.org/3,OpenOffice.org 2=openoffice.org2,StarOffice 8=staroffice8,StarSuite 8=starsuite8</value>
</prop> </prop>
<node oor:name="MigrationSteps"> <node oor:name="MigrationSteps">
<node oor:name="Datasources" oor:op="replace"> <node oor:name="Datasources" oor:op="replace">
diff --git scp2/source/ooo/common_brand.scp scp2/source/ooo/common_brand.scp Index: scp2/source/ooo/common_brand.scp
index 7bbf873..0b235a0 100644 ===================================================================
--- scp2/source/ooo/common_brand.scp --- scp2/source/ooo/common_brand.scp.orig
+++ scp2/source/ooo/common_brand.scp +++ scp2/source/ooo/common_brand.scp
@@ -774,7 +774,7 @@ ProfileItem gid_Brand_Profileitem_Bootstrap_Userinstall @@ -381,7 +381,7 @@ ProfileItem gid_Brand_Profileitem_Bootst
#elif defined MACOSX #elif defined MACOSX
Value = "$SYSUSERCONFIG/%ONEWORDPRODUCTNAME/%USERDIRPRODUCTVERSION"; Value = "$SYSUSERCONFIG/%ONEWORDPRODUCTNAME/%USERDIRPRODUCTVERSION";
#else #else
@ -29,6 +29,3 @@ index 7bbf873..0b235a0 100644
#endif #endif
End End
--
1.7.0.1