LibreOffice

Get feedback on new packages you are working on

LibreOffice

Postby probono » Fri Nov 26, 2010 9:50 am

In case you would like to cook your own AppImage of LibreOffice:

  • Download LibO_*_Linux_x86_install-rpm_en-US.tar.gz
  • Unpack it
  • From the desktop-integration directory, put the freedesktop rpm into the RPMS directory
  • Delete the desktop-integration directory
Code: Select all
cd LibO_3.3.0beta3_20101115_Linux_x86_install-rpm_en-US/RPMS
sudo apt-get install rpm2cpio
find . -name "*rpm" -exec sh -c 'rpm2cpio {} | cpio -idv' \;
rm -rf *rpm
mv usr/ opt/libreoffice/
cd opt/libreoffice/
cp ./share/xdg/startcenter.desktop .
rm -rf usr/share/applications/
cp -r share/xdg usr/share/applications
cp ./usr/share/icons/hicolor/48x48/apps/libreoffice-startcenter.png .
cp /Applications/Selfmade/AppRun .

Edit usr/bin/libreoffice:

Code: Select all
#!/bin/sh
exec ../program/soffice "$@"

Finally, run RPMS/opt/libreoffice through AppImageAssistant
If you like PortableLinuxApps and the AppImage format, you might consider a donation --> Image
probono
Site Admin
 
Posts: 429
Joined: Sun Apr 25, 2010 9:41 am

Return to Labs

Who is online

Users browsing this forum: No registered users and 1 guest