diff options
-rwxr-xr-x | solenv/bin/assemble-flatpak-appdata-step1.sh | 2 | ||||
-rwxr-xr-x | solenv/bin/assemble-flatpak.sh | 2 | ||||
-rw-r--r-- | sysui/desktop/freedesktop/freedesktop-menus.spec | 2 | ||||
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/solenv/bin/assemble-flatpak-appdata-step1.sh b/solenv/bin/assemble-flatpak-appdata-step1.sh index 4658dd45d018..4896cf3f20bc 100755 --- a/solenv/bin/assemble-flatpak-appdata-step1.sh +++ b/solenv/bin/assemble-flatpak-appdata-step1.sh @@ -19,7 +19,7 @@ set -e ## org.libreoffice.LibreOffice.appdata.xml is manually derived from the various -## inst/share/appdata/libreoffice-*.appdata.xml (at least recent GNOME Software +## inst/share/metainfo/libreoffice-*.appdata.xml (at least recent GNOME Software ## doesn't show more than five screenshots anyway, so restrict to one each from ## the five libreoffice-*.appdata.xml: Writer, Calc, Impress, Draw, Base): cat <<\EOF >"${1?}"org.libreoffice.LibreOffice.appdata.xml diff --git a/solenv/bin/assemble-flatpak.sh b/solenv/bin/assemble-flatpak.sh index 8ca5bcf08c41..9991a0d0d71c 100755 --- a/solenv/bin/assemble-flatpak.sh +++ b/solenv/bin/assemble-flatpak.sh @@ -63,7 +63,7 @@ done mkdir -p /app/share/appdata "${SRCDIR?}"/solenv/bin/assemble-flatpak-appdata-step1.sh /app/share/appdata/ 1 -"${SRCDIR?}"/solenv/bin/assemble-flatpak-appdata-step2.sh "${PREFIXDIR?}"/share/appdata/ \ +"${SRCDIR?}"/solenv/bin/assemble-flatpak-appdata-step2.sh "${PREFIXDIR?}"/share/metainfo/ \ /app/share/appdata/ ## see <https://github.com/flatpak/flatpak/blob/master/app/ diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index e6e713d42887..d4858842b8e9 100644 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -391,5 +391,5 @@ fi /usr/share/icons/hicolor/*/apps/*png /usr/share/icons/hicolor/*/apps/*svg /usr/share/icons/hicolor/*/mimetypes/*png +/usr/share/metainfo/* /usr/share/mime/packages/* -/usr/share/appdata/* diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 6b94395aac26..ce6475cd5ca5 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -56,9 +56,9 @@ for i in `cat launcherlist`; do ln -sf "${office_root}/share/xdg/${i}" "${DESTDIR}/${PREFIXDIR}/share/applications/${PREFIX}-${i}" done -mkdir -p "${DESTDIR}/${PREFIXDIR}/share/appdata" +mkdir -p "${DESTDIR}/${PREFIXDIR}/share/metainfo" for i in base calc draw impress writer; do - cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/${PREFIX}-${i}.appdata.xml" + cp "${APPDATA_SOURCE_DIR}/libreoffice-${i}.appdata.xml" "${DESTDIR}/${PREFIXDIR}/share/metainfo/${PREFIX}-${i}.appdata.xml" done -cp "${APPDATA_SOURCE_DIR}/org.libreoffice.kde.metainfo.xml" "${DESTDIR}/${PREFIXDIR}/share/appdata/org.${PREFIX}.kde.metainfo.xml" +cp "${APPDATA_SOURCE_DIR}/org.libreoffice.kde.metainfo.xml" "${DESTDIR}/${PREFIXDIR}/share/metainfo/org.${PREFIX}.kde.metainfo.xml" |