ALT Linux Bugzilla
– Attachment 7665 Details for
Bug 35171
[PATCH] mipsel support
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч на спек
libreoffice-mipsel-support.spec.patch (text/plain), 6.34 KB, created by
Ivan A. Melnikov
on 2018-07-23 17:46:29 MSK
(
hide
)
Description:
патч на спек
Filename:
MIME Type:
Creator:
Ivan A. Melnikov
Created:
2018-07-23 17:46:29 MSK
Size:
6.34 KB
patch
obsolete
>diff --git a/libreoffice.spec b/libreoffice.spec >index e7b5dd0..d63c7ce 100644 >--- a/libreoffice.spec >+++ b/libreoffice.spec >@@ -5,6 +5,18 @@ > %def_without fetch > %def_without lto > >+%ifarch mipsel >+%def_disable coinmp >+%def_without java >+%def_disable kde4 >+%else >+%def_enable coinmp >+%def_with java >+%def_enable kde4 >+%endif >+%def_disable mergelibs >+ >+ > Name: LibreOffice > %define hversion 6.0 > %define urelease 5.1 >@@ -75,17 +87,31 @@ Patch403: alt-002-tmpdir.patch > > # Automatically added by buildreq on Mon Nov 10 2014 > # optimized out: ant-testutil apache-commons-codec apache-commons-logging boost-devel boost-devel-headers boost-interprocess-devel boost-intrusive-devel cppunit flute fontconfig fontconfig-devel fonts-type1-xorg glib2-devel gstreamer1.0-devel icu-utils java java-devel jpackage-utils junit4 kde4libs libGL-devel libGLU-devel libICE-devel libSM-devel libX11-devel libXext-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libcloog-isl4 libclucene-contribs-lib libclucene-core libclucene-shared libcurl-devel libdbus-devel libdbus-glib libfreetype-devel libgdk-pixbuf libgdk-pixbuf-devel libgdk-pixbuf-xlib libgio-devel libgpg-error libgraphite2-devel libgst-plugins1.0 libharfbuzz-icu libicu-devel libnspr-devel libpango-devel libpng-devel libpoppler-devel libpq-devel libqt4-core libqt4-devel libqt4-gui libqt4-network librasqal-devel librevenge-devel libsasl2-3 libssl-devel libstdc++-devel libunixODBC-devel libwayland-client libwayland-server libxml2-devel pentaho-libxml perl-Compress-Raw-Zlib pkg-config poppler-data python-base python-devel python-modules python3 python3-base raptor2-devel sac tzdata tzdata-java xerces-j2 xml-common xml-commons-jaxp-1.4-apis xml-utils xorg-kbproto-devel xorg-randrproto-devel xorg-renderproto-devel xorg-xextproto-devel xorg-xproto-devel xsltproc xz zlib-devel >-BuildRequires: ant apache-commons-httpclient apache-commons-lang bsh cppunit-devel flex fonts-ttf-liberation gcc-c++ git-core gperf gst-plugins1.0-devel hunspell-en imake kde4libs-devel libGConf-devel libGLEW-devel libabw-devel libbluez-devel libcdr-devel libclucene-core-devel libcmis-devel libcups-devel libdbus-glib-devel libetonyek-devel libexpat-devel libexttextcat-devel libfreehand-devel libglm-devel libgtk+2-devel libgtk+3-devel libharfbuzz-devel libhunspell-devel libhyphen-devel libjpeg-devel liblangtag-devel liblcms2-devel libldap-devel liblpsolve-devel libmspub-devel libmwaw-devel libmythes-devel libneon-devel libnss-devel libodfgen-devel liborcus-devel libpoppler-cpp-devel libredland-devel libsane-devel libvigra-devel libvisio-devel libwpd10-devel libwpg-devel libwps-devel libxslt-devel mdds-devel pentaho-reporting-flow-engine perl-Archive-Zip postgresql-devel python3-dev unzip xorg-cf-files zip >+BuildRequires: ant apache-commons-httpclient apache-commons-lang bsh cppunit-devel flex fonts-ttf-liberation gcc-c++ git-core gperf gst-plugins1.0-devel hunspell-en imake libGConf-devel libGLEW-devel libabw-devel libbluez-devel libcdr-devel libclucene-core-devel libcmis-devel libcups-devel libdbus-glib-devel libetonyek-devel libexpat-devel libexttextcat-devel libfreehand-devel libglm-devel libgtk+2-devel libgtk+3-devel libharfbuzz-devel libhunspell-devel libhyphen-devel libjpeg-devel liblangtag-devel liblcms2-devel libldap-devel liblpsolve-devel libmspub-devel libmwaw-devel libmythes-devel libneon-devel libnss-devel libodfgen-devel liborcus-devel libpoppler-cpp-devel libredland-devel libsane-devel libvigra-devel libvisio-devel libwpd10-devel libwpg-devel libwps-devel libxslt-devel mdds-devel pentaho-reporting-flow-engine perl-Archive-Zip postgresql-devel unzip xorg-cf-files zip >+ >+# Requirements that were previously brought in by kde4libs-devel >+BuildRequires: libunixODBC-devel >+BuildRequires: libX11-devel libXext-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel >+BuildRequires: libssl-devel >+ >+%if_enabled kde4 >+BuildRequires: kde4libs-devel >+%endif > > # 4.4 > BuildRequires: libavahi-devel libpagemaker-devel boost-signals-devel > BuildRequires: libe-book-devel > # 5.1 >-BuildRequires: junit xsltproc java-1.8.0-openjdk-devel >+BuildRequires: xsltproc >+%if_with java >+BuildRequires: junit java-1.8.0-openjdk-devel >+%endif > # 5.1.2 > BuildRequires: libgtk+3-gir-devel > # 5.2.0 >+%if_enabled coinmp > BuildRequires: libCoinMP-devel >+%endif > # 5.3.0 > BuildRequires: libzmf-devel libstaroffice-devel libepoxy-devel libmysqlcppconn-devel libmysqlclient-devel libtelepathy-devel > # 5.3.3 >@@ -151,6 +177,7 @@ Requires: %name-common = %EVR > %description qt5 > qt5 extensions for %name > >+%if_enabled kde4 > %package kde4 > Summary: KDE4 Extensions for %name > Group: Office >@@ -159,6 +186,7 @@ Requires: %name-common = %EVR > Obsoletes: LibreOffice4-kde4 > %description kde4 > KDE4 extensions for %name >+%endif > > %package -n libreofficekit > Summary: A library providing access to LibreOffice functionality >@@ -308,18 +336,25 @@ test -r %conffile && . %conffile ||: > %build > export CC=%_target_platform-gcc > export CXX=%_target_platform-g++ >+%ifarch mipsel >+export CFLAGS="-Os --param ggc-min-expand=20 --param ggc-min-heapsize=32768 -g0" >+export CXXFLAGS="$CFLAGS" >+%endif >+ > ./autogen.sh \ > --prefix=%_prefix \ > --libdir=%_libdir \ > --disable-lto \ > --with-vendor="ALT Linux Team" \ >+ %{subst_enable mergelibs} \ > --enable-odk \ > --enable-systray \ > --disable-firebird-sdbc \ >- --enable-coinmp \ >+ %{subst_enable coinmp} \ > --enable-dbus \ > --enable-evolution2 \ > --enable-gio \ >+ %{subst_with java} \ > --with-alloc=system \ > --without-fonts \ > --without-myspell-dicts \ >@@ -340,7 +375,7 @@ export CXX=%_target_platform-g++ > --enable-release-build \ > --with-help \ > \ >- --enable-kde4 \ >+ %{subst_enable kde4} \ > --enable-qt5 \ > --enable-gtk3 \ > --disable-gstreamer-0-10 \ >@@ -391,7 +426,7 @@ export LD_PRELOAD=`pwd`/forky.so > %make build-nocheck || { tail -100 $HOME/forky.log; head -1 $HOME/forky.log; wc $HOME/forky.log; false; } > test -r $HOME/forky.log && echo "Fork() was `wc -l $HOME/forky.log` times delayed" || : > %else >-%make build-nocheck >+%make verbose=true build-nocheck > %endif > > # Generate typelib files >@@ -501,7 +536,9 @@ install -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit > > %files gtk3 -f files.gtk3 > >+%if_enabled kde4 > %files kde4 -f files.kde4 >+%endif > > %files qt5 -f files.qt5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35171
: 7665