#! /bin/bash # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Assemble Flatpak app files and metadata under /app/, copying from the # installation tree generated by 'make distro-pack-install' (at # $PREFIXDIR): set -e cp -r "${PREFIXDIR?}"/lib/libreoffice /app/ ln -s /app/libreoffice/program/soffice /app/bin/libreoffice mkdir -p /app/share/applications "${SRCDIR?}"/solenv/bin/assemble-flatpak-desktop.sh "${PREFIXDIR?}"/share/applications/ \ /app/share/applications/ ## icons/hicolor/*/apps/libreoffice-* -> ## icons/hicolor/*/apps/org.libreoffice.LibreOffice-*: mkdir -p /app/share/icons for i in "${PREFIXDIR?}"/share/icons/hicolor/*/apps/libreoffice-* do mkdir -p \ "$(dirname /app/share/icons/hicolor/"${i#"${PREFIXDIR?}"/share/icons/hicolor/}")" cp -a "$i" \ "$(dirname /app/share/icons/hicolor/"${i#"${PREFIXDIR?}"/share/icons/hicolor/}")"/"$(basename "$i")" cp -a "$i" \ "$(dirname /app/share/icons/hicolor/"${i#"${PREFIXDIR?}"/share/icons/hicolor/}")"/org.libreoffice.LibreOffice."${i##*/apps/libreoffice-}" done mkdir -p /app/share/runtime/locale for i in $(ls /app/libreoffice/program/resource) do lang="${i%[_@]*}" mkdir -p /app/share/runtime/locale/"${lang}"/resource mv /app/libreoffice/program/resource/"${i}" /app/share/runtime/locale/"${lang}"/resource ln -s ../../../share/runtime/locale/"${lang}"/resource/"${i}" /app/libreoffice/program/resource done for i in /app/libreoffice/share/registry/Langpack-*.xcd /app/libreoffice/share/registry/res/{fcfg_langpack,registry}_*.xcd do basename="$(basename "${i}" .xcd)" lang="${basename#Langpack-}" lang="${lang#fcfg_langpack_}" lang="${lang#registry_}" # ship the base app with at least one Langpack/fcfg_langpack if [ "${lang}" = "en-US" ] then continue fi lang="${lang%-*}" mkdir -p /app/share/runtime/locale/"${lang}"/registry mv "${i}" /app/share/runtime/locale/"${lang}"/registry ln -rs /app/share/runtime/locale/"${lang}"/registry/"${basename}".xcd "${i}" 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/metainfo/ \ /app/share/appdata/ ## see for further places where build-finish would ## look for data: ## cp ... /app/share/dbus-1/services/ ## cp ... /app/share/gnome-shell/search-providers/ ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/codemaker/source
AgeCommit message (Expand)Author
2024-01-21Extract embindmaker from cppumaker into its own toolStephan Bergmann
2024-01-19cppumaker: Work around problematic constant named "auto"Stephan Bergmann
2024-01-19Clean up generated embind code a bitStephan Bergmann
2024-01-15loplugin:unnecessaryvirtualNoel Grandin
2023-12-07cid#1546503 Using invalid iteratorCaolán McNamara
2023-12-04cid#1545597 Using invalid iteratorJulien Nabet
2023-11-30Extended loplugin:ostr: codemakerStephan Bergmann
2023-11-20Extended loplugin:ostr: codemakerStephan Bergmann
2023-10-13Follow-up on "Make sure __cpp_lib_source_location is consistently defined"Stephan Bergmann
2023-10-12use std::source_location instead of std::experimental::source_locationNoel Grandin
2023-09-26WASM: Embind: get rid of redundant EMSCRIPTEN conditionalSarper Akdemir
2023-09-24Drop some newly obsolete __clang_major__ version checksStephan Bergmann
2023-09-18JavaScript uno bindings for WASM with Embind - first cutSarper Akdemir
2023-03-24loplugin:stringadd in c*Noel Grandin
2023-03-22Introduce css.reflection.Dump singletonStephan Bergmann
2023-03-17Add a to_string() function to the code generated for UNO IDL constant groupsTor Lillqvist
2022-12-05Make check for complete type more explicitStephan Bergmann
2022-12-03Clarify the use of untools::WeakReferenceStephan Bergmann
2022-05-18clang-tidy modernize-pass-by-value in codemakerNoel Grandin
2022-04-29Revert "use more string_view in codemaker"Noel Grandin
2022-04-27use more string_view in codemakerNoel Grandin
2022-04-22address review comments on "use more string in unoidl.."Noel Grandin
2022-04-21use more string_view in unoidl,codemakerNoel Grandin
2022-04-17loplugin:stringviewparam convert methods using copy()Noel Grandin
2022-04-10loplugin:stringview check for getToken and trimNoel Grandin
2022-04-09add a more complete o3tl::getTokenNoel Grandin
2022-04-02loplugin:stringviewparam convert methods using indexOfNoel Grandin
2022-03-04cid#1500511 silence Resource leakCaolán McNamara
2022-02-08Extend loplugin:stringview to O[U]StringBuffer::toStringStephan Bergmann
2022-02-06tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macroVaibhavMalik4187
2022-01-23Improve DBG_UNHANDLED_EXCEPTION output a bitStephan Bergmann
2021-12-21loplugin:flatten in canvas..cuiNoel Grandin
2021-10-29Prepare for removal of non-const operator[] from Sequence in codemakerMike Kaganski
2021-10-14Use more appropriate type for OString-length related variableStephan Bergmann
2021-06-26codemaker : remove useless includesArnaud Versini
2021-05-18Use implicit conversion from OStringBuffer to std::string_viewStephan Bergmann
2021-05-14Improve loplugin:stringviewStephan Bergmann
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
2021-04-30throw() -> noexcept, part 1/3: Manual scaffoldingStephan Bergmann
2021-04-29cid#1473812 Untrusted value as argumentCaolán McNamara
2021-04-21loplugin:stringadd replace OUStringLiteral temporaries with OUString::ConcatNoel Grandin
2021-01-29loplugin:stringviewparam extend to new..Noel
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann