Skip to content

Commit

Permalink
Build failure fix (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman <[email protected]>
  • Loading branch information
romandemidov and Roman authored Apr 20, 2020
1 parent d8936c8 commit 54c9065
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions DesktopEditors-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ingredients:
- deb http://download.onlyoffice.com/repo/debian squeeze main

script:
- cat > ./usr/share/applications/desktopeditors.desktop <<\EOF
- cat > ./usr/share/applications/onlyoffice-desktopeditors.desktop <<\EOF
- [Desktop Entry]
- Name=ONLYOFFICE Desktop Editors
- Type=Application
Expand All @@ -30,11 +30,12 @@ script:
- Categories=Office;WordProcessor;Spreadsheet;Presentation;
- MimeType=application/msword;application/vnd.ms-word;application/x-doc;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;text/spreadsheet;application/csv;application/excel;application/x-excel;application/x-msexcel;application/x-ms-excel;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;
- EOF
- cp ./usr/share/applications/desktopeditors.desktop .
- cp ./usr/share/applications/onlyoffice-desktopeditors.desktop .
- mkdir -p ./usr/share/metainfo
- cp ../../metainfo/desktopeditors.appdata.xml ./usr/share/metainfo
- mv opt/onlyoffice/desktopeditors/* usr/bin/
- sed -i -e 's|^\(cd\).*|\1 \$(dirname \$(readlink -f "\$0"))|g' usr/bin/desktopeditors
- sed -i -e 's|DIR=/opt/onlyoffice/desktopeditors|cd \$(dirname \$(readlink -f "\$0"))|g' usr/bin/desktopeditors
- sed -i -e 's|$DIR/|./|g' usr/bin/desktopeditors
- mv usr/lib/x86_64-linux-gnu/*so* usr/bin/
- mv usr/lib/*so* usr/bin/
- mv lib/x86_64-linux-gnu/*so* usr/bin/
Expand Down
4 changes: 2 additions & 2 deletions metainfo/desktopeditors.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<description>
<p>ONLYOFFICE Desktop Editors is a free office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit documents stored on your Windows/Linux PC or Mac without an Internet connection. It is fully compatible with Office Open XML formats: .docx, .xlsx, .pptx.</p>
</description>
<launchable type="desktop-id">desktopeditors.desktop</launchable>
<launchable type="desktop-id">onlyoffice-desktopeditors.desktop</launchable>
<url type="homepage">https://github.com/ONLYOFFICE/appimage-desktopeditors</url>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/ONLYOFFICE/appimage-desktopeditors/master/metainfo/logo.png</image>
</screenshot>
</screenshots>
<provides>
<id>desktopeditors.desktop</id>
<id>onlyoffice-desktopeditors.desktop</id>
</provides>
</component>

0 comments on commit 54c9065

Please sign in to comment.