#!/bin/sh if test -z "${SRC_ROOT}"; then echo "distro-install-clean-up: No environment set!" exit 1 fi echo "Cleaning up ..."; remove_help_localization() { lang=$1 # nothing to be done if the localization is en-US if it does not exist # or if it is already removed test "$lang" = "en-US" -o \ ! -e $DESTDIR$INSTALLDIR/help/$lang -o \ -L $DESTDIR$INSTALLDIR/help/$lang && return; echo "... remove \"$lang\"" rm -rf $DESTDIR$INSTALLDIR/help/$lang grep -v "$INSTALLDIR/help/$lang" $DESTDIR/gid_Module_Root.$lang >$DESTDIR/gid_Module_Root.$lang.new mv -f $DESTDIR/gid_Module_Root.$lang.new $DESTDIR/gid_Module_Root.$lang # FIXME: the following code could be used without the condition # and should replace the lines above after only the milestones # providing gid_Module_Helppack_Help and fixed gid_Module_Root.$lang # are supported # Note: The problem with gid_Module_Root.$lang is that it still includes # %dir */help/* entries. # Note: It was still necessary on ppc with gcj (OOo-2.0.2). Strange. Have to # investigate it later. if test -f $DESTDIR/gid_Module_Helppack_Help.$lang ; then grep -v "$INSTALLDIR/help/$lang" $DESTDIR/gid_Module_Helppack_Help.$lang >$DESTDIR/gid_Module_Helppack_Help.$lang.new mv -f $DESTDIR/gid_Module_Helppack_Help.$lang.new $DESTDIR/gid_Module_Helppack_Help.$lang fi # Note: We created a compat symlink in the past. It is no longer necessary. # We do not want it because RPM has problems with update when we remove # poor localizations in never packages } # Check if the English help is installed and is in the main package (is first on the list) # Note that Java-disabled builds do not create help at all. if test -f $DESTDIR$INSTALLDIR/help/en/sbasic.cfg -a \ "`for lang in $WITH_LANG_LIST ; do echo $lang ; break ; done`" = "en-US" ; then echo "Removing duplicated English help..." for lang in $WITH_LANG_LIST ; do test ! -f $DESTDIR$INSTALLDIR/help/en/sbasic.cfg -o ! -f $DESTDIR$INSTALLDIR/help/$lang/sbasic.cfg && continue; if diff $DESTDIR$INSTALLDIR/help/en/sbasic.cfg $DESTDIR$INSTALLDIR/help/$lang/sbasic.cfg >/dev/null 2>&1 ; then remove_help_localization $lang fi done echo "Removing poor help localizations..." for lang in $WITH_POOR_HELP_LOCALIZATIONS ; do remove_help_localization $lang done fi echo "Fixing permissions..." for dir in $DESTDIR$DOCDIR $DESTDIR$INSTALLDIR/sdk/examples ; do if test -d $dir -a -w $dir ; then find "$dir" -type f \( -name "*.txt" -o -name "*.java" -o -name "*.xml" -o \ -name "*.xcu" -o -name "*.xcs" -o -name "*.html" -o \ -name "*.pdf" -o -name "*.ps" -o -name "*.gif" -o \ -name "*.png" -o -name "*.jpg" -o -name "Makefile" -o \ -name "manifest.mf" \) -exec chmod 644 {} \; fi done if test "z$DESTDIR" != "z" ; then echo "Checking for DESTDIR inside installed files..." found_destdir= for file in `find $DESTDIR -type f` ; do grep -q "$DESTDIR" $file && echo "$file: includes the string \"$DESTDIR\"" && found_destdir=1 done if test "z$found_destdir" != "z" ; then echo "!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!" echo "The path DESTDIR:$DESTDIR was found inside some" echo "installed files. It is probably a bug." echo echo "Especially, if the DESTDIR is set to \$RPM_BUILD_ROOT" echo "when creating RPM packages. Even it could be a security hole" echo "if the application searches /var/tmp for binaries or" echo "config files because the directory is world-writable." echo "!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!" fi fi ro/collabora/cp-4.4'>distro/collabora/cp-4.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sd/inc/drawdoc.hxx
AgeCommit message (Expand)Author
2024-09-17use more concrete UNO types in sdNoel Grandin
2024-05-08tdf#69192: add StartingSlide to SID_PRESENTATION and cmdline show=Justin Luth
2024-03-11Use weak reference to SfxObjectShell in SfxEventHint to avoid use-after-freeMike Kaganski
2024-02-24IASS: make live slideshow experimental and configurableArmin Le Grand (allotropia)
2023-10-17tdf#157788 Saving the "Show navigation panel" setting for a deviceIrgaliev Amin
2023-10-06SdrModel::getUnoModel can use XModel instead of XInterfaceNoel Grandin
2023-08-25tdf#39519 - Rename slide if its name is not uniqueAndreas Heinisch
2023-05-13use more optional for CharClassNoel Grandin
2023-05-04tdf#154839 Add navigation buttons for slidesAmin Irgaliev
2022-10-11use more string_view in sdNoel Grandin
2021-12-20Set the original size in crop dialog to preferred DPI calc. sizeTomaž Vajngerl
2021-12-06Add image preffered DPI document setting, use it in Writer, ImpressTomaž Vajngerl
2021-06-29tdf#142589 Impress UI: fix Start button of Custom Slide ShowsTibor Nagy
2021-03-24tdf#124176 Use pragma once in sdVincent LE GARREC
2021-03-07ref-count SdrPageNoel
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-11-24loplugin:stringviewparam extend to comparison operatorsNoel
2020-10-23long->tools::Long in pyuno..sdNoel
2020-07-19compact namespace: sdNoel Grandin
2020-05-09compact namespace in sdNoel Grandin
2020-04-01convert DocCreationMode to scoped enumNoel Grandin
2020-03-12Revert "loplugin:constfields in sd"Noel Grandin
2019-11-01loplugin:finalclasses in sd/incNoel Grandin
2019-10-30svx: prefix members of SdrModelMiklos Vajna
2019-09-29loplugin:constmethod in sdNoel Grandin
2019-09-26tdf#42949 Fix IWYU warnings in sd/Gabor Kelemen
2019-08-27Move ImageMap related functions to svxSamuel Mehrbrodt
2019-08-17Fix typosAndrea Gelmini
2019-02-28use the xmlTextWriterPtr typedef consistentlyNoel Grandin
2018-10-09loplugin:constfields in sdNoel Grandin
2018-09-23loplugin:unusedmethodsNoel Grandin
2018-07-10[API CHANGE] tdf#65353 Add more doc. settings more embedding fontsTomaž Vajngerl
2018-06-20loplugin:useuniqueptr in SdDrawDocumentNoel Grandin
2018-05-30tdf#42949 Fix more IWYU warnings in sd/inc/Gabor Kelemen
2018-05-18Replace SVGFilter using SVGIOArmin Le Grand
2018-04-28loplugin:countusersofdefaultparamsNoel Grandin
2018-03-13loplugin:useuniqueptr in SdDrawDocumentNoel Grandin
2017-11-28loplugin:countusersofdefaultparams in svxNoel Grandin
2017-11-26clang-tidy modernize-use-equals-default in sdJochen Nitschke
2017-11-07loplugin:constparams in sdNoel Grandin
2017-10-19use std::unique_ptr in SdDrawDocumentNoel Grandin
2017-08-08loplugin:constantparamNoel Grandin
2017-08-03loplugin:constparams in sdNoel Grandin
2017-07-21migrate to boost::gettextCaolán McNamara
2017-06-28sd: Kill forward declaration of non-existent RequestDataTakeshi Abe