Ticket #5311: libreoffice.patch
File libreoffice.patch, 3.0 KB (added by , 10 years ago) |
---|
-
xsoft/office/libreoffice.xml
269 269 270 270 <para> 271 271 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: 274 273 </para> 275 274 276 <screen><userinput>install -dm755 src&&275 <screen><userinput>install -dm755 external/tarballs && 277 276 278 tar -xf ../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz --no-overwrite-dir --strip-components=1 && 279 <!-- Not necessary for this version 280 tar -xf ../libreoffice-help-&libreoffice-dlversion;.tar.xz -\-no-overwrite-dir -\-strip-components=1 && 281 --> 282 ln -sv ../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz src/ && 283 ln -sv ../../libreoffice-help-&libreoffice-dlversion;.tar.xz src/</userinput></screen> 277 ln -sfv ../../../libreoffice-dictionaries-&libreoffice-dlversion;.tar.xz external/tarballs/ && 278 ln -sfv ../../../libreoffice-help-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen> 284 279 285 <!-- Not necessary for this version286 280 <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 &&291 ln -sv ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>292 -->293 <para>294 281 If you have downloaded the translations tarball, create a symlink: 295 282 </para> 296 283 297 <screen><userinput>ln -s v ../../libreoffice-translations-&libreoffice-dlversion;.tar.xz src/</userinput></screen>284 <screen><userinput>ln -sfv ../../../libreoffice-translations-&libreoffice-dlversion;.tar.xz external/tarballs/</userinput></screen> 298 285 299 286 <note> 300 287 <para> … … 337 324 <screen><userinput>sed -e "/gzip -f/d" \ 338 325 -e "s|.1.gz|.1|g" \ 339 326 -i bin/distro-install-desktop-integration && 340 sed -e "/distro-install-file-lists/d" -i Makefile.in && 327 sed -e "/distro-install-file-lists/d" \ 328 -e "s:fetch_Download_item:&_unchecked:" \ 329 -e "/fetch_Download_item/s:,no-check::" \ 330 -i Makefile.in && 341 331 342 332 chmod -v +x bin/unpack-sources && 343 333 sed -e "s/target\.mk/langlist\.mk/" \ … … 436 426 437 427 <para> 438 428 <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. 441 432 </para> 442 433 443 434 <para>