have a stab at enabling and bundling libreofficekit introspection

f41
Caolán McNamara 9 years ago
parent 486317d364
commit 8c4977ed2b

@ -1278,7 +1278,6 @@ touch autogen.lastrun
--disable-coinmp \ --disable-coinmp \
--disable-fetch-external \ --disable-fetch-external \
--disable-gnome-vfs \ --disable-gnome-vfs \
--disable-introspection \
--disable-openssl \ --disable-openssl \
--enable-evolution2 \ --enable-evolution2 \
--enable-ext-nlpsolver \ --enable-ext-nlpsolver \
@ -1313,12 +1312,13 @@ export GNOME_MIME_THEME=hicolor
export PREFIXDIR=/usr export PREFIXDIR=/usr
# TODO use empty variables? Should make the renaming hacks in %%install # TODO use empty variables? Should make the renaming hacks in %%install
# unnecessary. # unnecessary.
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION WORKDIR . ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR PKG_CONFIG INSTDIR
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
./create_tree.sh ./create_tree.sh
popd popd
mkdir $WORKDIR/os-integration mkdir $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/output/girepository-1.0/LOKDocView-0.1.typelib $WORKDIR/os-integration
%if %{with smallbuild} %if %{with smallbuild}
# remove the biggest offenders # remove the biggest offenders
@ -1548,6 +1548,8 @@ install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_data
#add our mime-types, e.g. for .oxt extensions #add our mime-types, e.g. for .oxt extensions
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages install -m 0755 -d %{buildroot}%{_datadir}/mime/packages
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml
install -m 0755 -d %{buildroot}%{baseinstdir}/girepository-1.0
install -m 0644 -p LOKDocView-0.1.typelib %{buildroot}%{baseinstdir}/girepository-1.0/LOKDocView-0.1.typelib
popd popd
rm -rf %{buildroot}%{baseinstdir}/readmes rm -rf %{buildroot}%{baseinstdir}/readmes
@ -1626,6 +1628,8 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%files core %files core
%dir %{baseinstdir} %dir %{baseinstdir}
%dir %{baseinstdir}/girepository-1.0
%{baseinstdir}/girepository-1.0/LOKDocView-0.1.typelib
%dir %{baseinstdir}/help %dir %{baseinstdir}/help
%docdir %{baseinstdir}/help/en-US %docdir %{baseinstdir}/help/en-US
%dir %{baseinstdir}/help/en-US %dir %{baseinstdir}/help/en-US

Loading…
Cancel
Save