Ticket #5311: libreoffice.patch

File libreoffice.patch, 3.0 KB (added by Armin K, 10 years ago)
  • xsoft/office/libreoffice.xml

     
    269269
    270270    <para>
    271271      Unpack the dictionaries file and create symlinks to tarballs from the
    272       source directory so they won't get downloaded again (it is not necessary
    273       to unpack the help nor the translations tarballs):
     272      source directory so they won't get downloaded again:
    274273    </para>
    275274
    276 <screen><userinput>install -dm755 src &amp;&amp;
     275<screen><userinput>install -dm755 external/tarballs &amp;&amp;
    277276
    278 tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 &amp;&amp;
    279 <!-- Not necessary for this version
    280 tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    281 -->
    282 ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ &amp;&amp;
    283 ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
     277ln -sfv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ &amp;&amp;
     278ln -sfv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
    284279
    285 <!-- Not necessary for this version
    286280    <para>
    287       If you have downloaded the translations tarball, unpack it:
    288     </para>
    289 
    290 <screen><userinput>tar -xf ../libreoffice-translations-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 &amp;&amp;
    291 ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
    292 -->
    293     <para>
    294281      If you have downloaded the translations tarball, create a symlink:
    295282    </para>
    296283
    297 <screen><userinput>ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>
     284<screen><userinput>ln -sfv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen>
    298285
    299286    <note>
    300287      <para>
     
    337324<screen><userinput>sed -e "/gzip -f/d"   \
    338325    -e "s|.1.gz|.1|g" \
    339326    -i bin/distro-install-desktop-integration        &amp;&amp;
    340 sed -e "/distro-install-file-lists/d" -i Makefile.in &amp;&amp;
     327sed -e "/distro-install-file-lists/d"           \
     328    -e "s:fetch_Download_item:&amp;_unchecked:" \
     329    -e "/fetch_Download_item/s:,no-check::"     \
     330    -i Makefile.in &amp;&amp;
    341331
    342332chmod -v +x bin/unpack-sources                     &amp;&amp;
    343333sed -e "s/target\.mk/langlist\.mk/"                \
     
    436426
    437427    <para>
    438428      <command>sed -e ...</command>: First sed prevents compression of the
    439       manual pages, the second one prevents a script that causes install to
    440       fail from running and the third one fixes the unpack script.
     429      manual pages, second one prevents a script that causes install to fail
     430      from running and fixes an issue when downloading external packages
     431      and the third one fixes the unpack script.
    441432    </para>
    442433
    443434    <para>