From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- solenv/CompilerTest_compilerplugins_clang-c++03.mk | 20 + solenv/CompilerTest_compilerplugins_clang.mk | 136 + solenv/CustomTarget_gbuildtesttools.mk | 17 + solenv/Executable_concat-deps.mk | 16 + solenv/Executable_g++-wrapper.mk | 20 + solenv/Executable_gbuildtojson.mk | 16 + solenv/Executable_gcc-wrapper.mk | 20 + solenv/Executable_lockfile.mk | 23 + solenv/Makefile | 14 + solenv/Module_solenv.mk | 51 + solenv/PythonTest_solenv_python.mk | 18 + solenv/README.md | 45 + solenv/StaticLibrary_wrapper.mk | 16 + solenv/bin/add-modelines | 169 + solenv/bin/assemble-flatpak-appdata-step1.sh | 96 + solenv/bin/assemble-flatpak-appdata-step2.sh | 26 + solenv/bin/assemble-flatpak-desktop.sh | 42 + solenv/bin/assemble-flatpak.sh | 73 + solenv/bin/bin_library_info.sh | 188 + solenv/bin/call_installer.sh | 47 + solenv/bin/clipatchconfig.pl | 122 + solenv/bin/concat-deps.c | 1235 ++ solenv/bin/constructors.py | 27 + solenv/bin/create-ids | 18 + solenv/bin/create-tags | 47 + solenv/bin/createcomponent.xslt | 87 + solenv/bin/dbgsv.ini | 20 + solenv/bin/desktop-translate.py | 167 + solenv/bin/exectest.pl | 103 + solenv/bin/finish-gbuild-trace.py | 137 + solenv/bin/fix-includes.pl | 95 + solenv/bin/gdb-core-bt.sh | 51 + solenv/bin/gdb_cxa-atexit_trace-stdout | 8 + solenv/bin/gdbtrycatchtrace | 21 + solenv/bin/gdbtrycatchtrace-stdout | 14 + solenv/bin/generate-flatpak-manifest.sh | 23 + solenv/bin/generate-tokens.py | 80 + solenv/bin/gentoken.py | 54 + solenv/bin/getcompver.awk | 84 + solenv/bin/hrcex | 39 + solenv/bin/id-lang.map | 114 + solenv/bin/image-sort.py | 155 + solenv/bin/install-gdb-printers | 143 + solenv/bin/install-sh | 3 + solenv/bin/localestr | 20 + solenv/bin/macosx-change-install-names.pl | 95 + solenv/bin/macosx-codesign-app-bundle | 135 + solenv/bin/macosx_menubar_modification.xsl | 43 + solenv/bin/make-raspbian-root-tarball | 81 + solenv/bin/make_installer.pl | 26 + solenv/bin/mkdocs.Makefile | 46 + solenv/bin/mkdocs.sh | 281 + solenv/bin/mkdocs_portal.sh | 157 + solenv/bin/mkonedoc.sh | 45 + solenv/bin/modules/RepositoryHelper.pm | 161 + solenv/bin/modules/installer.pm | 1713 ++ solenv/bin/modules/installer/control.pm | 474 + solenv/bin/modules/installer/converter.pm | 187 + solenv/bin/modules/installer/copyproject.pm | 105 + solenv/bin/modules/installer/download.pm | 666 + solenv/bin/modules/installer/environment.pm | 131 + solenv/bin/modules/installer/epmfile.pm | 2669 +++ solenv/bin/modules/installer/exiter.pm | 33 + solenv/bin/modules/installer/filelists.pm | 154 + solenv/bin/modules/installer/files.pm | 120 + solenv/bin/modules/installer/globals.pm | 290 + solenv/bin/modules/installer/helppack.pm | 530 + solenv/bin/modules/installer/languagepack.pm | 509 + solenv/bin/modules/installer/languages.pm | 142 + solenv/bin/modules/installer/logger.pm | 256 + solenv/bin/modules/installer/packagelist.pm | 840 + solenv/bin/modules/installer/parameter.pm | 552 + solenv/bin/modules/installer/pathanalyzer.pm | 66 + solenv/bin/modules/installer/profiles.pm | 223 + solenv/bin/modules/installer/remover.pm | 50 + solenv/bin/modules/installer/scpzipfiles.pm | 143 + solenv/bin/modules/installer/scriptitems.pm | 2404 +++ solenv/bin/modules/installer/setupscript.pm | 486 + solenv/bin/modules/installer/simplepackage.pm | 732 + solenv/bin/modules/installer/strip.pm | 136 + solenv/bin/modules/installer/systemactions.pm | 1329 ++ solenv/bin/modules/installer/windows/admin.pm | 515 + solenv/bin/modules/installer/windows/assembly.pm | 279 + solenv/bin/modules/installer/windows/binary.pm | 67 + solenv/bin/modules/installer/windows/component.pm | 505 + .../bin/modules/installer/windows/createfolder.pm | 154 + solenv/bin/modules/installer/windows/directory.pm | 634 + solenv/bin/modules/installer/windows/feature.pm | 403 + .../modules/installer/windows/featurecomponent.pm | 165 + solenv/bin/modules/installer/windows/file.pm | 1019 ++ solenv/bin/modules/installer/windows/font.pm | 69 + solenv/bin/modules/installer/windows/icon.pm | 68 + solenv/bin/modules/installer/windows/idtglobal.pm | 1862 +++ solenv/bin/modules/installer/windows/inifile.pm | 121 + solenv/bin/modules/installer/windows/language.pm | 41 + solenv/bin/modules/installer/windows/media.pm | 202 + .../bin/modules/installer/windows/mergemodule.pm | 1703 ++ solenv/bin/modules/installer/windows/msiglobal.pm | 1684 ++ .../installer/windows/msishortcutproperty.pm | 143 + solenv/bin/modules/installer/windows/msp.pm | 1264 ++ solenv/bin/modules/installer/windows/property.pm | 566 + solenv/bin/modules/installer/windows/registry.pm | 407 + solenv/bin/modules/installer/windows/removefile.pm | 141 + solenv/bin/modules/installer/windows/shortcut.pm | 659 + solenv/bin/modules/installer/windows/strip.pm | 149 + solenv/bin/modules/installer/windows/update.pm | 620 + solenv/bin/modules/installer/windows/upgrade.pm | 80 + solenv/bin/modules/installer/worker.pm | 921 ++ solenv/bin/modules/installer/ziplist.pm | 828 + solenv/bin/modules/par2script/check.pm | 337 + solenv/bin/modules/par2script/converter.pm | 52 + solenv/bin/modules/par2script/exiter.pm | 112 + solenv/bin/modules/par2script/files.pm | 64 + solenv/bin/modules/par2script/globals.pm | 67 + solenv/bin/modules/par2script/module.pm | 255 + solenv/bin/modules/par2script/parameter.pm | 145 + solenv/bin/modules/par2script/remover.pm | 42 + solenv/bin/modules/par2script/undefine.pm | 135 + solenv/bin/modules/par2script/work.pm | 414 + solenv/bin/modules/pre2par/directory.pm | 45 + solenv/bin/modules/pre2par/exiter.pm | 61 + solenv/bin/modules/pre2par/files.pm | 55 + solenv/bin/modules/pre2par/globals.pm | 51 + solenv/bin/modules/pre2par/language.pm | 135 + solenv/bin/modules/pre2par/parameter.pm | 144 + solenv/bin/modules/pre2par/pathanalyzer.pm | 67 + solenv/bin/modules/pre2par/remover.pm | 34 + solenv/bin/modules/pre2par/systemactions.pm | 81 + solenv/bin/modules/pre2par/work.pm | 297 + solenv/bin/modules/t/installer-packagelist.t | 40 + solenv/bin/modules/t/installer-profiles.t | 43 + solenv/bin/modules/t/installer-scpzipfiles.t | 54 + solenv/bin/modules/t/installer-setupscript.t | 58 + solenv/bin/native-code.py | 981 ++ solenv/bin/ooinstall | 115 + solenv/bin/optionalimplementations.xslt | 21 + solenv/bin/pack_images.py | 612 + solenv/bin/packcomponents.xslt | 45 + solenv/bin/packregistry.xslt | 80 + solenv/bin/par2script.pl | 106 + solenv/bin/polib.py | 1868 +++ solenv/bin/pre2par.pl | 62 + solenv/bin/run-configure | 9 + solenv/bin/uiex | 38 + solenv/bin/uiimagelist.xsl | 36 + solenv/bin/version.py | 49 + solenv/bin/write_classpath.sh | 16 + solenv/buck/build.defs | 51 + solenv/clang-cl/config_global.h | 21 + solenv/clang-format/ClangFormat.pm | 128 + solenv/clang-format/README | 35 + solenv/clang-format/check-last-commit | 98 + solenv/clang-format/excludelist | 16163 +++++++++++++++++++ solenv/clang-format/generate-style-excludelist | 31 + solenv/clang-format/reformat-formatted-files | 49 + ...emove_not_existent_files_from_clang_excludelist | 37 + solenv/doc/gbuild/doxygen.cfg | 1890 +++ solenv/doc/gbuild/solenv/gbuild/executable.mk | 43 + solenv/doc/gbuild/solenv/gbuild/gbuild.mk | 89 + solenv/doc/gbuild/solenv/gbuild/helper.mk | 54 + solenv/doc/gbuild/solenv/gbuild/library.mk | 59 + solenv/doc/gbuild/solenv/gbuild/linktarget.mk | 144 + solenv/doc/gbuild/solenv/gbuild/package.mk | 48 + solenv/doc/gbuild/solenv/gbuild/sdi.mk | 41 + solenv/doc/gbuild/solenv/gbuild/static_library.mk | 55 + solenv/doc/gbuild/solenv/gbuild/types.mk | 162 + solenv/flatpak-manifest.in | 728 + solenv/gbuild/AllLangHelp.mk | 172 + solenv/gbuild/AllLangMoTarget.mk | 100 + solenv/gbuild/AllLangPackage.mk | 124 + solenv/gbuild/AutoInstall.mk | 76 + solenv/gbuild/CliAssembly.mk | 209 + solenv/gbuild/CliLibrary.mk | 148 + solenv/gbuild/CliNativeLibrary.mk | 111 + solenv/gbuild/CliUnoApi.mk | 122 + solenv/gbuild/CompilerTest.mk | 53 + solenv/gbuild/ComponentTarget.mk | 109 + solenv/gbuild/Conditions.mk | 39 + solenv/gbuild/Configuration.mk | 456 + solenv/gbuild/CppunitTest.mk | 495 + solenv/gbuild/CustomTarget.mk | 136 + solenv/gbuild/Deliver.mk | 69 + solenv/gbuild/Dictionary.mk | 401 + solenv/gbuild/Executable.mk | 173 + solenv/gbuild/Extension.mk | 494 + solenv/gbuild/ExtensionPackage.mk | 95 + solenv/gbuild/ExternalExecutable.mk | 216 + solenv/gbuild/ExternalPackage.mk | 207 + solenv/gbuild/ExternalProject.mk | 238 + solenv/gbuild/Gallery.mk | 183 + solenv/gbuild/GeneratedPackage.mk | 106 + solenv/gbuild/HelpTarget.mk | 836 + solenv/gbuild/Helper.mk | 354 + solenv/gbuild/InstallModule.mk | 88 + solenv/gbuild/InstallModuleTarget.mk | 312 + solenv/gbuild/InstallScript.mk | 84 + solenv/gbuild/InternalUnoApi.mk | 82 + solenv/gbuild/Jar.mk | 287 + solenv/gbuild/JavaClassSet.mk | 195 + solenv/gbuild/JunitTest.mk | 234 + solenv/gbuild/Library.mk | 296 + solenv/gbuild/LinkTarget.mk | 2264 +++ solenv/gbuild/Module.mk | 495 + solenv/gbuild/Output.mk | 157 + solenv/gbuild/Package.mk | 227 + solenv/gbuild/PackageSet.mk | 77 + solenv/gbuild/Pagein.mk | 61 + solenv/gbuild/Postprocess.mk | 56 + solenv/gbuild/PrecompiledHeaders.mk | 184 + solenv/gbuild/PythonTest.mk | 129 + solenv/gbuild/Pyuno.mk | 79 + solenv/gbuild/README | 17 + solenv/gbuild/Rdb.mk | 75 + solenv/gbuild/SdiTarget.mk | 83 + solenv/gbuild/StaticLibrary.mk | 118 + solenv/gbuild/TargetLocations.mk | 487 + solenv/gbuild/Tempfile.mk | 45 + solenv/gbuild/TestHelpers.mk | 47 + solenv/gbuild/Trace.mk | 61 + solenv/gbuild/UIConfig.mk | 358 + solenv/gbuild/UITest.mk | 157 + solenv/gbuild/UnoApi.mk | 104 + solenv/gbuild/UnoApiTarget.mk | 250 + solenv/gbuild/UnpackedTarball.mk | 455 + solenv/gbuild/WinResTarget.mk | 123 + solenv/gbuild/Zip.mk | 154 + solenv/gbuild/empty.zip | Bin 0 -> 22 bytes solenv/gbuild/extensions/post_Counters.mk | 22 + solenv/gbuild/extensions/post_Fuzzers.mk | 17 + solenv/gbuild/extensions/post_GbuildToJson.mk | 202 + solenv/gbuild/extensions/post_PackageInfo.mk | 116 + solenv/gbuild/extensions/post_SpeedUpTargets.mk | 88 + solenv/gbuild/extensions/pre_BuildTools.mk | 54 + solenv/gbuild/extensions/pre_Counters.mk | 31 + solenv/gbuild/extensions/pre_MergedLibsList.mk | 122 + solenv/gbuild/gbuild.help.txt | 159 + solenv/gbuild/gbuild.mk | 406 + solenv/gbuild/gen-autoinstall.py | 98 + solenv/gbuild/partial_build.mk | 46 + solenv/gbuild/platform/ANDROID_AARCH64_GCC.mk | 17 + solenv/gbuild/platform/ANDROID_ARM_GCC.mk | 17 + solenv/gbuild/platform/ANDROID_INTEL_GCC.mk | 17 + solenv/gbuild/platform/ANDROID_X86_64_GCC.mk | 15 + solenv/gbuild/platform/DRAGONFLY_INTEL_GCC.mk | 18 + solenv/gbuild/platform/DRAGONFLY_X86_64_GCC.mk | 16 + solenv/gbuild/platform/DeclareDPIAware.manifest | 7 + solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk | 95 + solenv/gbuild/platform/FREEBSD_AARCH64_GCC.mk | 14 + solenv/gbuild/platform/FREEBSD_INTEL_GCC.mk | 16 + solenv/gbuild/platform/FREEBSD_POWERPC64_GCC.mk | 17 + solenv/gbuild/platform/FREEBSD_POWERPC_GCC.mk | 16 + solenv/gbuild/platform/FREEBSD_X86_64_GCC.mk | 14 + solenv/gbuild/platform/HAIKU_INTEL_GCC.mk | 16 + solenv/gbuild/platform/HAIKU_X86_64_GCC.mk | 14 + solenv/gbuild/platform/LINUX_AARCH64_GCC.mk | 12 + solenv/gbuild/platform/LINUX_ARM_GCC.mk | 16 + solenv/gbuild/platform/LINUX_AXP_GCC.mk | 16 + solenv/gbuild/platform/LINUX_GODSON64_GCC.mk | 16 + solenv/gbuild/platform/LINUX_GODSON_GCC.mk | 16 + solenv/gbuild/platform/LINUX_HPPA_GCC.mk | 14 + solenv/gbuild/platform/LINUX_IA64_GCC.mk | 14 + solenv/gbuild/platform/LINUX_INTEL_GCC.mk | 16 + solenv/gbuild/platform/LINUX_M68K_GCC.mk | 15 + solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk | 15 + solenv/gbuild/platform/LINUX_POWERPC_GCC.mk | 15 + solenv/gbuild/platform/LINUX_S390X_GCC.mk | 14 + solenv/gbuild/platform/LINUX_S390_GCC.mk | 14 + solenv/gbuild/platform/LINUX_SPARC64_GCC.mk | 15 + solenv/gbuild/platform/LINUX_SPARC_GCC.mk | 15 + solenv/gbuild/platform/LINUX_X86_64_GCC.mk | 14 + solenv/gbuild/platform/MACOSX_AARCH64_GCC.mk | 13 + solenv/gbuild/platform/MACOSX_X86_64_GCC.mk | 13 + solenv/gbuild/platform/NETBSD_INTEL_GCC.mk | 21 + solenv/gbuild/platform/NETBSD_X86_64_GCC.mk | 20 + solenv/gbuild/platform/OPENBSD_INTEL_GCC.mk | 17 + solenv/gbuild/platform/OPENBSD_X86_64_GCC.mk | 16 + solenv/gbuild/platform/SOLARIS_INTEL_GCC.mk | 14 + solenv/gbuild/platform/SOLARIS_SPARC_GCC.mk | 16 + solenv/gbuild/platform/WNT_AARCH64_MSC.mk | 26 + solenv/gbuild/platform/WNT_INTEL_MSC.mk | 26 + solenv/gbuild/platform/WNT_X86_64_MSC.mk | 26 + solenv/gbuild/platform/android.mk | 129 + solenv/gbuild/platform/com_GCC_class.mk | 255 + solenv/gbuild/platform/com_GCC_defs.mk | 335 + solenv/gbuild/platform/com_MSC_class.mk | 742 + solenv/gbuild/platform/com_MSC_defs.mk | 352 + solenv/gbuild/platform/filter-creatingLibrary.awk | 46 + solenv/gbuild/platform/filter-showIncludes.awk | 99 + solenv/gbuild/platform/filter-sourceName.awk | 32 + solenv/gbuild/platform/iOS.mk | 269 + solenv/gbuild/platform/iOS_AARCH64_GCC.mk | 22 + solenv/gbuild/platform/iOS_X86_64_GCC.mk | 22 + solenv/gbuild/platform/linux.mk | 24 + solenv/gbuild/platform/macosx.mk | 381 + solenv/gbuild/platform/solaris.mk | 357 + solenv/gbuild/platform/unittest-failed-MACOSX.sh | 46 + solenv/gbuild/platform/unittest-failed-WNT.sh | 47 + solenv/gbuild/platform/unittest-failed-default.sh | 51 + solenv/gbuild/platform/unxgcc.mk | 427 + solenv/gbuild/platform/win_compatibility.manifest | 15 + solenv/gbuild/platform/windows.mk | 60 + solenv/gbuild/static.mk | 247 + solenv/gbuild/uitest-failed-default.sh | 45 + solenv/gbuildtojson/gbuildtojson.cxx | 74 + solenv/gcc-wrappers/g++.cxx | 29 + solenv/gcc-wrappers/gcc.cxx | 29 + solenv/gcc-wrappers/wrapper.cxx | 332 + solenv/gcc-wrappers/wrapper.hxx | 28 + solenv/gdb/autoload.template | 32 + solenv/gdb/boost/__init__.py | 32 + solenv/gdb/boost/lib/__init__.py | 0 solenv/gdb/boost/lib/unordered.py | 129 + solenv/gdb/boost/optional.py | 56 + solenv/gdb/boost/ptr_container.py | 248 + solenv/gdb/boost/smart_ptr.py | 76 + solenv/gdb/boost/unordered.py | 112 + solenv/gdb/boost/util/__init__.py | 3 + solenv/gdb/boost/util/compatibility.py | 32 + solenv/gdb/boost/util/printing.py | 137 + solenv/gdb/libreoffice/__init__.py | 10 + solenv/gdb/libreoffice/basegfx.py | 196 + solenv/gdb/libreoffice/cppu.py | 156 + solenv/gdb/libreoffice/sal.py | 167 + solenv/gdb/libreoffice/svl.py | 93 + solenv/gdb/libreoffice/sw.py | 305 + solenv/gdb/libreoffice/tl.py | 220 + solenv/gdb/libreoffice/util/__init__.py | 11 + solenv/gdb/libreoffice/util/compatibility.py | 20 + solenv/gdb/libreoffice/util/printing.py | 125 + solenv/gdb/libreoffice/util/string.py | 75 + solenv/gdb/libreoffice/util/uno.py | 516 + solenv/gdb/libreoffice/utl.py | 39 + solenv/gdb/libreoffice/vcl.py | 123 + solenv/gdb/libreoffice/writerfilter.py | 88 + solenv/gdb/six.py | 980 ++ solenv/inc/ant.properties | 29 + solenv/inc/doxygen.cfg | 2402 +++ solenv/inc/doxygen_doc.cfg | 2402 +++ solenv/inc/doxygen_tag.cfg | 2402 +++ solenv/inc/langlist.mk | 171 + solenv/inc/mime.types | 216 + solenv/lldb/libreoffice/LO.py | 106 + solenv/lockfile/README | 6 + solenv/lockfile/autoconf.h.in | 30 + solenv/lockfile/dotlockfile.c | 457 + solenv/lockfile/lockfile.c | 611 + solenv/lockfile/lockfile.h | 72 + solenv/lockfile/maillock.h | 1 + solenv/maven/BUCK | 44 + solenv/maven/README.md | 384 + solenv/maven/VERSION | 7 + solenv/maven/mvn.py | 78 + solenv/maven/package.defs | 28 + solenv/qa/python/gbuildtojson.py | 157 + .../selftest/Executable_gbuildselftestexe.mk | 16 + .../qa/python/selftest/Library_gbuildselftest.mk | 37 + .../python/selftest/Library_gbuildselftestdep.mk | 15 + solenv/qa/python/selftest/Makefile | 21 + solenv/qa/python/selftest/Module_selftest.mk | 18 + solenv/qa/python/selftest/selftestdepobject.cxx | 0 solenv/qa/python/selftest/selftestexeobject.cxx | 1 + solenv/qa/python/selftest/selftestobject.cxx | 0 solenv/sanitizers/ubsan-suppressions | 21 + solenv/sanitizers/ui/cui.false | 4 + solenv/sanitizers/ui/cui.suppr | 224 + solenv/sanitizers/ui/dbaccess.suppr | 75 + solenv/sanitizers/ui/desktop.suppr | 20 + solenv/sanitizers/ui/filter.suppr | 25 + solenv/sanitizers/ui/formula.suppr | 9 + solenv/sanitizers/ui/fps.suppr | 4 + solenv/sanitizers/ui/libreofficekit.suppr | 9 + solenv/sanitizers/ui/modules/BasicIDE.suppr | 7 + solenv/sanitizers/ui/modules/dbreport.suppr | 10 + solenv/sanitizers/ui/modules/sabpilot.suppr | 18 + solenv/sanitizers/ui/modules/sbibliography.suppr | 0 solenv/sanitizers/ui/modules/scalc.false | 66 + solenv/sanitizers/ui/modules/scalc.suppr | 160 + solenv/sanitizers/ui/modules/scanner.suppr | 5 + solenv/sanitizers/ui/modules/schart.suppr | 50 + solenv/sanitizers/ui/modules/sdraw.suppr | 8 + solenv/sanitizers/ui/modules/simpress.suppr | 29 + solenv/sanitizers/ui/modules/smath.suppr | 35 + solenv/sanitizers/ui/modules/spropctrlr.suppr | 15 + solenv/sanitizers/ui/modules/swriter.false | 14 + solenv/sanitizers/ui/modules/swriter.suppr | 199 + solenv/sanitizers/ui/sfx.suppr | 51 + solenv/sanitizers/ui/svt.suppr | 40 + solenv/sanitizers/ui/svx.false | 0 solenv/sanitizers/ui/svx.suppr | 86 + solenv/sanitizers/ui/uui.suppr | 18 + solenv/sanitizers/ui/vcl.suppr | 38 + solenv/sanitizers/ui/xmlsec.suppr | 37 + solenv/sanitizers/valgrind-suppressions | 39 + solenv/vs/LibreOffice.natvis | 496 + solenv/wsl/wsl-lo-helper.cpp | 246 + 395 files changed, 97874 insertions(+) create mode 100644 solenv/CompilerTest_compilerplugins_clang-c++03.mk create mode 100644 solenv/CompilerTest_compilerplugins_clang.mk create mode 100644 solenv/CustomTarget_gbuildtesttools.mk create mode 100644 solenv/Executable_concat-deps.mk create mode 100644 solenv/Executable_g++-wrapper.mk create mode 100644 solenv/Executable_gbuildtojson.mk create mode 100644 solenv/Executable_gcc-wrapper.mk create mode 100644 solenv/Executable_lockfile.mk create mode 100644 solenv/Makefile create mode 100644 solenv/Module_solenv.mk create mode 100644 solenv/PythonTest_solenv_python.mk create mode 100644 solenv/README.md create mode 100644 solenv/StaticLibrary_wrapper.mk create mode 100755 solenv/bin/add-modelines create mode 100755 solenv/bin/assemble-flatpak-appdata-step1.sh create mode 100755 solenv/bin/assemble-flatpak-appdata-step2.sh create mode 100755 solenv/bin/assemble-flatpak-desktop.sh create mode 100755 solenv/bin/assemble-flatpak.sh create mode 100755 solenv/bin/bin_library_info.sh create mode 100755 solenv/bin/call_installer.sh create mode 100644 solenv/bin/clipatchconfig.pl create mode 100644 solenv/bin/concat-deps.c create mode 100755 solenv/bin/constructors.py create mode 100755 solenv/bin/create-ids create mode 100755 solenv/bin/create-tags create mode 100644 solenv/bin/createcomponent.xslt create mode 100644 solenv/bin/dbgsv.ini create mode 100644 solenv/bin/desktop-translate.py create mode 100644 solenv/bin/exectest.pl create mode 100755 solenv/bin/finish-gbuild-trace.py create mode 100755 solenv/bin/fix-includes.pl create mode 100755 solenv/bin/gdb-core-bt.sh create mode 100644 solenv/bin/gdb_cxa-atexit_trace-stdout create mode 100644 solenv/bin/gdbtrycatchtrace create mode 100644 solenv/bin/gdbtrycatchtrace-stdout create mode 100755 solenv/bin/generate-flatpak-manifest.sh create mode 100644 solenv/bin/generate-tokens.py create mode 100644 solenv/bin/gentoken.py create mode 100644 solenv/bin/getcompver.awk create mode 100755 solenv/bin/hrcex create mode 100644 solenv/bin/id-lang.map create mode 100644 solenv/bin/image-sort.py create mode 100755 solenv/bin/install-gdb-printers create mode 100755 solenv/bin/install-sh create mode 100755 solenv/bin/localestr create mode 100644 solenv/bin/macosx-change-install-names.pl create mode 100755 solenv/bin/macosx-codesign-app-bundle create mode 100644 solenv/bin/macosx_menubar_modification.xsl create mode 100755 solenv/bin/make-raspbian-root-tarball create mode 100644 solenv/bin/make_installer.pl create mode 100644 solenv/bin/mkdocs.Makefile create mode 100755 solenv/bin/mkdocs.sh create mode 100755 solenv/bin/mkdocs_portal.sh create mode 100755 solenv/bin/mkonedoc.sh create mode 100644 solenv/bin/modules/RepositoryHelper.pm create mode 100644 solenv/bin/modules/installer.pm create mode 100644 solenv/bin/modules/installer/control.pm create mode 100644 solenv/bin/modules/installer/converter.pm create mode 100644 solenv/bin/modules/installer/copyproject.pm create mode 100644 solenv/bin/modules/installer/download.pm create mode 100644 solenv/bin/modules/installer/environment.pm create mode 100644 solenv/bin/modules/installer/epmfile.pm create mode 100644 solenv/bin/modules/installer/exiter.pm create mode 100644 solenv/bin/modules/installer/filelists.pm create mode 100644 solenv/bin/modules/installer/files.pm create mode 100644 solenv/bin/modules/installer/globals.pm create mode 100644 solenv/bin/modules/installer/helppack.pm create mode 100644 solenv/bin/modules/installer/languagepack.pm create mode 100644 solenv/bin/modules/installer/languages.pm create mode 100644 solenv/bin/modules/installer/logger.pm create mode 100644 solenv/bin/modules/installer/packagelist.pm create mode 100644 solenv/bin/modules/installer/parameter.pm create mode 100644 solenv/bin/modules/installer/pathanalyzer.pm create mode 100644 solenv/bin/modules/installer/profiles.pm create mode 100644 solenv/bin/modules/installer/remover.pm create mode 100644 solenv/bin/modules/installer/scpzipfiles.pm create mode 100644 solenv/bin/modules/installer/scriptitems.pm create mode 100644 solenv/bin/modules/installer/setupscript.pm create mode 100644 solenv/bin/modules/installer/simplepackage.pm create mode 100644 solenv/bin/modules/installer/strip.pm create mode 100644 solenv/bin/modules/installer/systemactions.pm create mode 100644 solenv/bin/modules/installer/windows/admin.pm create mode 100644 solenv/bin/modules/installer/windows/assembly.pm create mode 100644 solenv/bin/modules/installer/windows/binary.pm create mode 100644 solenv/bin/modules/installer/windows/component.pm create mode 100644 solenv/bin/modules/installer/windows/createfolder.pm create mode 100644 solenv/bin/modules/installer/windows/directory.pm create mode 100644 solenv/bin/modules/installer/windows/feature.pm create mode 100644 solenv/bin/modules/installer/windows/featurecomponent.pm create mode 100644 solenv/bin/modules/installer/windows/file.pm create mode 100644 solenv/bin/modules/installer/windows/font.pm create mode 100644 solenv/bin/modules/installer/windows/icon.pm create mode 100644 solenv/bin/modules/installer/windows/idtglobal.pm create mode 100644 solenv/bin/modules/installer/windows/inifile.pm create mode 100644 solenv/bin/modules/installer/windows/language.pm create mode 100644 solenv/bin/modules/installer/windows/media.pm create mode 100644 solenv/bin/modules/installer/windows/mergemodule.pm create mode 100644 solenv/bin/modules/installer/windows/msiglobal.pm create mode 100644 solenv/bin/modules/installer/windows/msishortcutproperty.pm create mode 100644 solenv/bin/modules/installer/windows/msp.pm create mode 100644 solenv/bin/modules/installer/windows/property.pm create mode 100644 solenv/bin/modules/installer/windows/registry.pm create mode 100644 solenv/bin/modules/installer/windows/removefile.pm create mode 100644 solenv/bin/modules/installer/windows/shortcut.pm create mode 100644 solenv/bin/modules/installer/windows/strip.pm create mode 100644 solenv/bin/modules/installer/windows/update.pm create mode 100644 solenv/bin/modules/installer/windows/upgrade.pm create mode 100644 solenv/bin/modules/installer/worker.pm create mode 100644 solenv/bin/modules/installer/ziplist.pm create mode 100644 solenv/bin/modules/par2script/check.pm create mode 100644 solenv/bin/modules/par2script/converter.pm create mode 100644 solenv/bin/modules/par2script/exiter.pm create mode 100644 solenv/bin/modules/par2script/files.pm create mode 100644 solenv/bin/modules/par2script/globals.pm create mode 100644 solenv/bin/modules/par2script/module.pm create mode 100644 solenv/bin/modules/par2script/parameter.pm create mode 100644 solenv/bin/modules/par2script/remover.pm create mode 100644 solenv/bin/modules/par2script/undefine.pm create mode 100644 solenv/bin/modules/par2script/work.pm create mode 100644 solenv/bin/modules/pre2par/directory.pm create mode 100644 solenv/bin/modules/pre2par/exiter.pm create mode 100644 solenv/bin/modules/pre2par/files.pm create mode 100644 solenv/bin/modules/pre2par/globals.pm create mode 100644 solenv/bin/modules/pre2par/language.pm create mode 100644 solenv/bin/modules/pre2par/parameter.pm create mode 100644 solenv/bin/modules/pre2par/pathanalyzer.pm create mode 100644 solenv/bin/modules/pre2par/remover.pm create mode 100644 solenv/bin/modules/pre2par/systemactions.pm create mode 100644 solenv/bin/modules/pre2par/work.pm create mode 100644 solenv/bin/modules/t/installer-packagelist.t create mode 100644 solenv/bin/modules/t/installer-profiles.t create mode 100644 solenv/bin/modules/t/installer-scpzipfiles.t create mode 100644 solenv/bin/modules/t/installer-setupscript.t create mode 100755 solenv/bin/native-code.py create mode 100755 solenv/bin/ooinstall create mode 100644 solenv/bin/optionalimplementations.xslt create mode 100644 solenv/bin/pack_images.py create mode 100644 solenv/bin/packcomponents.xslt create mode 100644 solenv/bin/packregistry.xslt create mode 100644 solenv/bin/par2script.pl create mode 100644 solenv/bin/polib.py create mode 100644 solenv/bin/pre2par.pl create mode 100755 solenv/bin/run-configure create mode 100755 solenv/bin/uiex create mode 100644 solenv/bin/uiimagelist.xsl create mode 100755 solenv/bin/version.py create mode 100755 solenv/bin/write_classpath.sh create mode 100644 solenv/buck/build.defs create mode 100644 solenv/clang-cl/config_global.h create mode 100644 solenv/clang-format/ClangFormat.pm create mode 100644 solenv/clang-format/README create mode 100755 solenv/clang-format/check-last-commit create mode 100644 solenv/clang-format/excludelist create mode 100755 solenv/clang-format/generate-style-excludelist create mode 100755 solenv/clang-format/reformat-formatted-files create mode 100755 solenv/clang-format/remove_not_existent_files_from_clang_excludelist create mode 100644 solenv/doc/gbuild/doxygen.cfg create mode 100644 solenv/doc/gbuild/solenv/gbuild/executable.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/gbuild.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/helper.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/library.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/linktarget.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/package.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/sdi.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/static_library.mk create mode 100644 solenv/doc/gbuild/solenv/gbuild/types.mk create mode 100644 solenv/flatpak-manifest.in create mode 100644 solenv/gbuild/AllLangHelp.mk create mode 100644 solenv/gbuild/AllLangMoTarget.mk create mode 100644 solenv/gbuild/AllLangPackage.mk create mode 100644 solenv/gbuild/AutoInstall.mk create mode 100644 solenv/gbuild/CliAssembly.mk create mode 100644 solenv/gbuild/CliLibrary.mk create mode 100644 solenv/gbuild/CliNativeLibrary.mk create mode 100644 solenv/gbuild/CliUnoApi.mk create mode 100644 solenv/gbuild/CompilerTest.mk create mode 100644 solenv/gbuild/ComponentTarget.mk create mode 100644 solenv/gbuild/Conditions.mk create mode 100644 solenv/gbuild/Configuration.mk create mode 100644 solenv/gbuild/CppunitTest.mk create mode 100644 solenv/gbuild/CustomTarget.mk create mode 100644 solenv/gbuild/Deliver.mk create mode 100644 solenv/gbuild/Dictionary.mk create mode 100644 solenv/gbuild/Executable.mk create mode 100644 solenv/gbuild/Extension.mk create mode 100644 solenv/gbuild/ExtensionPackage.mk create mode 100644 solenv/gbuild/ExternalExecutable.mk create mode 100644 solenv/gbuild/ExternalPackage.mk create mode 100644 solenv/gbuild/ExternalProject.mk create mode 100644 solenv/gbuild/Gallery.mk create mode 100644 solenv/gbuild/GeneratedPackage.mk create mode 100644 solenv/gbuild/HelpTarget.mk create mode 100644 solenv/gbuild/Helper.mk create mode 100644 solenv/gbuild/InstallModule.mk create mode 100644 solenv/gbuild/InstallModuleTarget.mk create mode 100644 solenv/gbuild/InstallScript.mk create mode 100644 solenv/gbuild/InternalUnoApi.mk create mode 100644 solenv/gbuild/Jar.mk create mode 100644 solenv/gbuild/JavaClassSet.mk create mode 100644 solenv/gbuild/JunitTest.mk create mode 100644 solenv/gbuild/Library.mk create mode 100644 solenv/gbuild/LinkTarget.mk create mode 100644 solenv/gbuild/Module.mk create mode 100644 solenv/gbuild/Output.mk create mode 100644 solenv/gbuild/Package.mk create mode 100644 solenv/gbuild/PackageSet.mk create mode 100644 solenv/gbuild/Pagein.mk create mode 100644 solenv/gbuild/Postprocess.mk create mode 100644 solenv/gbuild/PrecompiledHeaders.mk create mode 100644 solenv/gbuild/PythonTest.mk create mode 100644 solenv/gbuild/Pyuno.mk create mode 100644 solenv/gbuild/README create mode 100644 solenv/gbuild/Rdb.mk create mode 100644 solenv/gbuild/SdiTarget.mk create mode 100644 solenv/gbuild/StaticLibrary.mk create mode 100644 solenv/gbuild/TargetLocations.mk create mode 100644 solenv/gbuild/Tempfile.mk create mode 100644 solenv/gbuild/TestHelpers.mk create mode 100644 solenv/gbuild/Trace.mk create mode 100644 solenv/gbuild/UIConfig.mk create mode 100644 solenv/gbuild/UITest.mk create mode 100644 solenv/gbuild/UnoApi.mk create mode 100644 solenv/gbuild/UnoApiTarget.mk create mode 100644 solenv/gbuild/UnpackedTarball.mk create mode 100644 solenv/gbuild/WinResTarget.mk create mode 100644 solenv/gbuild/Zip.mk create mode 100644 solenv/gbuild/empty.zip create mode 100644 solenv/gbuild/extensions/post_Counters.mk create mode 100644 solenv/gbuild/extensions/post_Fuzzers.mk create mode 100644 solenv/gbuild/extensions/post_GbuildToJson.mk create mode 100644 solenv/gbuild/extensions/post_PackageInfo.mk create mode 100644 solenv/gbuild/extensions/post_SpeedUpTargets.mk create mode 100644 solenv/gbuild/extensions/pre_BuildTools.mk create mode 100644 solenv/gbuild/extensions/pre_Counters.mk create mode 100644 solenv/gbuild/extensions/pre_MergedLibsList.mk create mode 100644 solenv/gbuild/gbuild.help.txt create mode 100644 solenv/gbuild/gbuild.mk create mode 100644 solenv/gbuild/gen-autoinstall.py create mode 100644 solenv/gbuild/partial_build.mk create mode 100644 solenv/gbuild/platform/ANDROID_AARCH64_GCC.mk create mode 100644 solenv/gbuild/platform/ANDROID_ARM_GCC.mk create mode 100644 solenv/gbuild/platform/ANDROID_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/ANDROID_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/DRAGONFLY_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/DRAGONFLY_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/DeclareDPIAware.manifest create mode 100644 solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/FREEBSD_AARCH64_GCC.mk create mode 100644 solenv/gbuild/platform/FREEBSD_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/FREEBSD_POWERPC64_GCC.mk create mode 100644 solenv/gbuild/platform/FREEBSD_POWERPC_GCC.mk create mode 100644 solenv/gbuild/platform/FREEBSD_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/HAIKU_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/HAIKU_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_AARCH64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_ARM_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_AXP_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_GODSON64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_GODSON_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_HPPA_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_IA64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_M68K_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_POWERPC_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_S390X_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_S390_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_SPARC64_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_SPARC_GCC.mk create mode 100644 solenv/gbuild/platform/LINUX_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/MACOSX_AARCH64_GCC.mk create mode 100644 solenv/gbuild/platform/MACOSX_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/NETBSD_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/NETBSD_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/OPENBSD_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/OPENBSD_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/SOLARIS_INTEL_GCC.mk create mode 100644 solenv/gbuild/platform/SOLARIS_SPARC_GCC.mk create mode 100644 solenv/gbuild/platform/WNT_AARCH64_MSC.mk create mode 100644 solenv/gbuild/platform/WNT_INTEL_MSC.mk create mode 100644 solenv/gbuild/platform/WNT_X86_64_MSC.mk create mode 100644 solenv/gbuild/platform/android.mk create mode 100644 solenv/gbuild/platform/com_GCC_class.mk create mode 100644 solenv/gbuild/platform/com_GCC_defs.mk create mode 100644 solenv/gbuild/platform/com_MSC_class.mk create mode 100644 solenv/gbuild/platform/com_MSC_defs.mk create mode 100755 solenv/gbuild/platform/filter-creatingLibrary.awk create mode 100755 solenv/gbuild/platform/filter-showIncludes.awk create mode 100755 solenv/gbuild/platform/filter-sourceName.awk create mode 100644 solenv/gbuild/platform/iOS.mk create mode 100644 solenv/gbuild/platform/iOS_AARCH64_GCC.mk create mode 100644 solenv/gbuild/platform/iOS_X86_64_GCC.mk create mode 100644 solenv/gbuild/platform/linux.mk create mode 100644 solenv/gbuild/platform/macosx.mk create mode 100644 solenv/gbuild/platform/solaris.mk create mode 100755 solenv/gbuild/platform/unittest-failed-MACOSX.sh create mode 100755 solenv/gbuild/platform/unittest-failed-WNT.sh create mode 100755 solenv/gbuild/platform/unittest-failed-default.sh create mode 100644 solenv/gbuild/platform/unxgcc.mk create mode 100644 solenv/gbuild/platform/win_compatibility.manifest create mode 100644 solenv/gbuild/platform/windows.mk create mode 100644 solenv/gbuild/static.mk create mode 100755 solenv/gbuild/uitest-failed-default.sh create mode 100644 solenv/gbuildtojson/gbuildtojson.cxx create mode 100644 solenv/gcc-wrappers/g++.cxx create mode 100644 solenv/gcc-wrappers/gcc.cxx create mode 100644 solenv/gcc-wrappers/wrapper.cxx create mode 100644 solenv/gcc-wrappers/wrapper.hxx create mode 100644 solenv/gdb/autoload.template create mode 100644 solenv/gdb/boost/__init__.py create mode 100644 solenv/gdb/boost/lib/__init__.py create mode 100644 solenv/gdb/boost/lib/unordered.py create mode 100644 solenv/gdb/boost/optional.py create mode 100644 solenv/gdb/boost/ptr_container.py create mode 100644 solenv/gdb/boost/smart_ptr.py create mode 100644 solenv/gdb/boost/unordered.py create mode 100644 solenv/gdb/boost/util/__init__.py create mode 100644 solenv/gdb/boost/util/compatibility.py create mode 100644 solenv/gdb/boost/util/printing.py create mode 100644 solenv/gdb/libreoffice/__init__.py create mode 100644 solenv/gdb/libreoffice/basegfx.py create mode 100644 solenv/gdb/libreoffice/cppu.py create mode 100644 solenv/gdb/libreoffice/sal.py create mode 100644 solenv/gdb/libreoffice/svl.py create mode 100644 solenv/gdb/libreoffice/sw.py create mode 100644 solenv/gdb/libreoffice/tl.py create mode 100644 solenv/gdb/libreoffice/util/__init__.py create mode 100644 solenv/gdb/libreoffice/util/compatibility.py create mode 100644 solenv/gdb/libreoffice/util/printing.py create mode 100644 solenv/gdb/libreoffice/util/string.py create mode 100644 solenv/gdb/libreoffice/util/uno.py create mode 100644 solenv/gdb/libreoffice/utl.py create mode 100644 solenv/gdb/libreoffice/vcl.py create mode 100644 solenv/gdb/libreoffice/writerfilter.py create mode 100644 solenv/gdb/six.py create mode 100644 solenv/inc/ant.properties create mode 100644 solenv/inc/doxygen.cfg create mode 100644 solenv/inc/doxygen_doc.cfg create mode 100644 solenv/inc/doxygen_tag.cfg create mode 100644 solenv/inc/langlist.mk create mode 100644 solenv/inc/mime.types create mode 100644 solenv/lldb/libreoffice/LO.py create mode 100644 solenv/lockfile/README create mode 100644 solenv/lockfile/autoconf.h.in create mode 100644 solenv/lockfile/dotlockfile.c create mode 100644 solenv/lockfile/lockfile.c create mode 100644 solenv/lockfile/lockfile.h create mode 100644 solenv/lockfile/maillock.h create mode 100644 solenv/maven/BUCK create mode 100644 solenv/maven/README.md create mode 100644 solenv/maven/VERSION create mode 100755 solenv/maven/mvn.py create mode 100644 solenv/maven/package.defs create mode 100644 solenv/qa/python/gbuildtojson.py create mode 100644 solenv/qa/python/selftest/Executable_gbuildselftestexe.mk create mode 100644 solenv/qa/python/selftest/Library_gbuildselftest.mk create mode 100644 solenv/qa/python/selftest/Library_gbuildselftestdep.mk create mode 100644 solenv/qa/python/selftest/Makefile create mode 100644 solenv/qa/python/selftest/Module_selftest.mk create mode 100644 solenv/qa/python/selftest/selftestdepobject.cxx create mode 100644 solenv/qa/python/selftest/selftestexeobject.cxx create mode 100644 solenv/qa/python/selftest/selftestobject.cxx create mode 100644 solenv/sanitizers/ubsan-suppressions create mode 100644 solenv/sanitizers/ui/cui.false create mode 100644 solenv/sanitizers/ui/cui.suppr create mode 100644 solenv/sanitizers/ui/dbaccess.suppr create mode 100644 solenv/sanitizers/ui/desktop.suppr create mode 100644 solenv/sanitizers/ui/filter.suppr create mode 100644 solenv/sanitizers/ui/formula.suppr create mode 100644 solenv/sanitizers/ui/fps.suppr create mode 100644 solenv/sanitizers/ui/libreofficekit.suppr create mode 100644 solenv/sanitizers/ui/modules/BasicIDE.suppr create mode 100644 solenv/sanitizers/ui/modules/dbreport.suppr create mode 100644 solenv/sanitizers/ui/modules/sabpilot.suppr create mode 100644 solenv/sanitizers/ui/modules/sbibliography.suppr create mode 100644 solenv/sanitizers/ui/modules/scalc.false create mode 100644 solenv/sanitizers/ui/modules/scalc.suppr create mode 100644 solenv/sanitizers/ui/modules/scanner.suppr create mode 100644 solenv/sanitizers/ui/modules/schart.suppr create mode 100644 solenv/sanitizers/ui/modules/sdraw.suppr create mode 100644 solenv/sanitizers/ui/modules/simpress.suppr create mode 100644 solenv/sanitizers/ui/modules/smath.suppr create mode 100644 solenv/sanitizers/ui/modules/spropctrlr.suppr create mode 100644 solenv/sanitizers/ui/modules/swriter.false create mode 100644 solenv/sanitizers/ui/modules/swriter.suppr create mode 100644 solenv/sanitizers/ui/sfx.suppr create mode 100644 solenv/sanitizers/ui/svt.suppr create mode 100644 solenv/sanitizers/ui/svx.false create mode 100644 solenv/sanitizers/ui/svx.suppr create mode 100644 solenv/sanitizers/ui/uui.suppr create mode 100644 solenv/sanitizers/ui/vcl.suppr create mode 100644 solenv/sanitizers/ui/xmlsec.suppr create mode 100644 solenv/sanitizers/valgrind-suppressions create mode 100644 solenv/vs/LibreOffice.natvis create mode 100644 solenv/wsl/wsl-lo-helper.cpp (limited to 'solenv') diff --git a/solenv/CompilerTest_compilerplugins_clang-c++03.mk b/solenv/CompilerTest_compilerplugins_clang-c++03.mk new file mode 100644 index 000000000..8abe03220 --- /dev/null +++ b/solenv/CompilerTest_compilerplugins_clang-c++03.mk @@ -0,0 +1,20 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*- +# +# 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/. +# + +$(eval $(call gb_CompilerTest_CompilerTest,compilerplugins_clang-c++03)) + +$(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang-c++03, \ + compilerplugins/clang/test/stringview-c++03 \ +)) + +$(eval $(call gb_CompilerTest_add_cxxflags,compilerplugins_clang-c++03,$(gb_CXX03FLAGS))) + +$(eval $(call gb_CompilerTest_set_external_code,compilerplugins_clang-c++03)) + +# vim: set noet sw=4 ts=4: diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk new file mode 100644 index 000000000..1af3b951a --- /dev/null +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -0,0 +1,136 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*- +# +# 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/. +# + +$(eval $(call gb_CompilerTest_CompilerTest,compilerplugins_clang)) + +$(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ + compilerplugins/clang/test/badstatics \ + compilerplugins/clang/test/blockblock \ + compilerplugins/clang/test/bufferadd \ + compilerplugins/clang/test/buriedassign \ + compilerplugins/clang/test/casttovoid \ + compilerplugins/clang/test/classmemaccess \ + compilerplugins/clang/test/collapseif \ + compilerplugins/clang/test/commaoperator \ + compilerplugins/clang/test/conditionalstring \ + $(if $(filter-out WNT,$(OS)),compilerplugins/clang/test/constfields) \ + compilerplugins/clang/test/constmethod \ + compilerplugins/clang/test/constparams \ + compilerplugins/clang/test/consttobool \ + compilerplugins/clang/test/constvars \ + compilerplugins/clang/test/convertlong \ + compilerplugins/clang/test/cow_wrapper \ + compilerplugins/clang/test/cppunitassertequals \ + compilerplugins/clang/test/cstylecast \ + compilerplugins/clang/test/datamembershadow \ + compilerplugins/clang/test/dbgunhandledexception \ + compilerplugins/clang/test/dodgyswitch \ + compilerplugins/clang/test/doubleconvert \ + compilerplugins/clang/test/elidestringvar \ + compilerplugins/clang/test/emptyif \ + compilerplugins/clang/test/expressionalwayszero \ + compilerplugins/clang/test/external \ + compilerplugins/clang/test/faileddyncast \ + compilerplugins/clang/test/fakebool \ + compilerplugins/clang/test/flatten \ + compilerplugins/clang/test/fragiledestructor \ + compilerplugins/clang/test/getstr \ + compilerplugins/clang/test/implicitboolconversion \ + compilerplugins/clang/test/indentation \ + compilerplugins/clang/test/intvsfloat \ + compilerplugins/clang/test/logexceptionnicely \ + compilerplugins/clang/test/loopvartoosmall \ + compilerplugins/clang/test/mapindex \ + compilerplugins/clang/test/makeshared \ + compilerplugins/clang/test/moveit \ + compilerplugins/clang/test/moveparam \ + compilerplugins/clang/test/namespaceindentation \ + compilerplugins/clang/test/noexcept \ + compilerplugins/clang/test/noexceptmove \ + compilerplugins/clang/test/nullptr \ + compilerplugins/clang/test/oncevar \ + compilerplugins/clang/test/oslendian-1 \ + compilerplugins/clang/test/oslendian-2 \ + compilerplugins/clang/test/oslendian-3 \ + compilerplugins/clang/test/overridevirtual \ + compilerplugins/clang/test/passparamsbyref \ + compilerplugins/clang/test/passstuffbyref \ + compilerplugins/clang/test/pointerbool \ + compilerplugins/clang/test/reducevarscope \ + compilerplugins/clang/test/redundantcast \ + compilerplugins/clang/test/redundantfcast \ + compilerplugins/clang/test/redundantinline \ + compilerplugins/clang/test/redundantpointerops \ + compilerplugins/clang/test/redundantpreprocessor \ + compilerplugins/clang/test/refcounting \ + compilerplugins/clang/test/referencecasting \ + compilerplugins/clang/test/returnconstval \ + compilerplugins/clang/test/salcall \ + compilerplugins/clang/test/sallogareas \ + compilerplugins/clang/test/salunicodeliteral \ + compilerplugins/clang/test/selfinit \ + compilerplugins/clang/test/sequentialassign \ + compilerplugins/clang/test/shouldreturnbool \ + compilerplugins/clang/test/simplifyconstruct \ + compilerplugins/clang/test/simplifydynamiccast \ + compilerplugins/clang/test/simplifypointertobool \ + compilerplugins/clang/test/singlevalfields \ + compilerplugins/clang/test/staticconstfield \ + compilerplugins/clang/test/staticdynamic \ + compilerplugins/clang/test/staticvar \ + compilerplugins/clang/test/stdfunction \ + compilerplugins/clang/test/stringadd \ + compilerplugins/clang/test/stringconcatauto \ + compilerplugins/clang/test/stringconcatliterals \ + compilerplugins/clang/test/stringconstant \ + compilerplugins/clang/test/stringliteralvar \ + compilerplugins/clang/test/stringliteraldefine \ + compilerplugins/clang/test/stringloop \ + compilerplugins/clang/test/stringstatic \ + compilerplugins/clang/test/stringview \ + compilerplugins/clang/test/stringviewdangle \ + compilerplugins/clang/test/stringviewparam \ + compilerplugins/clang/test/stringviewvar \ + compilerplugins/clang/test/trivialconstructor \ + compilerplugins/clang/test/trivialdestructor \ + compilerplugins/clang/test/typedefparam \ + compilerplugins/clang/test/typeidcomparison \ + compilerplugins/clang/test/unnecessarycatchthrow \ + compilerplugins/clang/test/unnecessaryoverride \ + compilerplugins/clang/test/unnecessaryoverride-dtor \ + compilerplugins/clang/test/unnecessaryparen \ + compilerplugins/clang/test/unnecessarylocking \ + compilerplugins/clang/test/unoany \ + compilerplugins/clang/test/unoquery \ + compilerplugins/clang/test/unreffun \ + compilerplugins/clang/test/unsignedcompare \ + compilerplugins/clang/test/unusedcapturedefault \ + compilerplugins/clang/test/unusedenumconstants \ + compilerplugins/clang/test/unusedfields \ + compilerplugins/clang/test/unusedindex \ + compilerplugins/clang/test/unusedmember \ + compilerplugins/clang/test/unusedvariablecheck \ + compilerplugins/clang/test/unusedvariablemore \ + compilerplugins/clang/test/unusedvarsglobal \ + compilerplugins/clang/test/useuniqueptr \ + compilerplugins/clang/test/vclwidgets \ + compilerplugins/clang/test/weakbase \ + compilerplugins/clang/test/weakobject \ + compilerplugins/clang/test/writeonlyvars \ + compilerplugins/clang/test/xmlimport \ +)) + +$(eval $(call gb_CompilerTest_use_externals,compilerplugins_clang, \ + boost_headers \ + cppunit \ +)) + +$(eval $(call gb_CompilerTest_use_udk_api,compilerplugins_clang)) + +# vim: set noet sw=4 ts=4: diff --git a/solenv/CustomTarget_gbuildtesttools.mk b/solenv/CustomTarget_gbuildtesttools.mk new file mode 100644 index 000000000..1b3df0702 --- /dev/null +++ b/solenv/CustomTarget_gbuildtesttools.mk @@ -0,0 +1,17 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_CustomTarget_CustomTarget,solenv/gbuildtesttools)) + +$(call gb_CustomTarget_get_target,solenv/gbuildtesttools) : + echo -n "{ \"MAKE\": \"$(if $(filter WNT,$(OS)),$(shell cygpath -u $(MAKE)),$(MAKE))\"" > $@ + echo -n ", \"BASH\": \"$(if $(filter WNT,$(OS)),$(shell cygpath -m `which bash`),bash)\"" >> $@ + echo -n ", \"GBUILDTOJSON\": \"$(call gb_Executable_get_target,gbuildtojson)\" }" >> $@ + +# vim: set noet sw=4 ts=4: diff --git a/solenv/Executable_concat-deps.mk b/solenv/Executable_concat-deps.mk new file mode 100644 index 000000000..a69b75717 --- /dev/null +++ b/solenv/Executable_concat-deps.mk @@ -0,0 +1,16 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Executable_Executable,concat-deps)) + +$(eval $(call gb_Executable_add_cobjects,concat-deps,\ + solenv/bin/concat-deps, $(gb_COMPILEROPTFLAGS) \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/solenv/Executable_g++-wrapper.mk b/solenv/Executable_g++-wrapper.mk new file mode 100644 index 000000000..1c4eb8dae --- /dev/null +++ b/solenv/Executable_g++-wrapper.mk @@ -0,0 +1,20 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Executable_Executable,g++-wrapper)) + +$(eval $(call gb_Executable_add_exception_objects,g++-wrapper,\ + solenv/gcc-wrappers/g++, $(gb_COMPILEROPTFLAGS) \ +)) + +$(eval $(call gb_Executable_use_static_libraries,g++-wrapper,\ + wrapper \ +)) + +# vim:set noet sw=4 ts=4: diff --git a/solenv/Executable_gbuildtojson.mk b/solenv/Executable_gbuildtojson.mk new file mode 100644 index 000000000..bffc99049 --- /dev/null +++ b/solenv/Executable_gbuildtojson.mk @@ -0,0 +1,16 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Executable_Executable,gbuildtojson)) + +$(eval $(call gb_Executable_add_exception_objects,gbuildtojson,\ + solenv/gbuildtojson/gbuildtojson, $(gb_COMPILEROPTFLAGS) \ +)) + +# vim:set noet sw=4 ts=4: diff --git a/solenv/Executable_gcc-wrapper.mk b/solenv/Executable_gcc-wrapper.mk new file mode 100644 index 000000000..207e91584 --- /dev/null +++ b/solenv/Executable_gcc-wrapper.mk @@ -0,0 +1,20 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Executable_Executable,gcc-wrapper)) + +$(eval $(call gb_Executable_add_exception_objects,gcc-wrapper,\ + solenv/gcc-wrappers/gcc, $(gb_COMPILEROPTFLAGS) \ +)) + +$(eval $(call gb_Executable_use_static_libraries,gcc-wrapper,\ + wrapper \ +)) + +# vim:set noet sw=4 ts=4: diff --git a/solenv/Executable_lockfile.mk b/solenv/Executable_lockfile.mk new file mode 100644 index 000000000..00f634c60 --- /dev/null +++ b/solenv/Executable_lockfile.mk @@ -0,0 +1,23 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Executable_Executable,lockfile)) + +$(eval $(call gb_Executable_set_include,lockfile, \ + -I$(SRCDIR)/solenv/lockfile \ + -I$(BUILDDIR)/solenv/lockfile \ +)) + +$(eval $(call gb_Executable_add_cobjects,lockfile, \ + solenv/lockfile/dotlockfile \ + solenv/lockfile/lockfile \ + , $(gb_COMPILEROPTFLAGS) \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/solenv/Makefile b/solenv/Makefile new file mode 100644 index 000000000..0997e6284 --- /dev/null +++ b/solenv/Makefile @@ -0,0 +1,14 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/solenv/Module_solenv.mk b/solenv/Module_solenv.mk new file mode 100644 index 000000000..89e40c6d4 --- /dev/null +++ b/solenv/Module_solenv.mk @@ -0,0 +1,51 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_Module_Module,solenv)) + +$(eval $(call gb_Module_add_targets_for_build,solenv,\ + Executable_concat-deps \ + Executable_gbuildtojson \ +)) + +ifeq (,$(LOCKFILE)) +$(eval $(call gb_Module_add_targets_for_build,solenv,\ + $(call gb_CondExeLockfile,Executable_lockfile) \ +)) +endif + +ifeq ($(COM),MSC) +$(eval $(call gb_Module_add_targets,solenv,\ + StaticLibrary_wrapper \ + Executable_gcc-wrapper \ + Executable_g++-wrapper \ +)) +endif + +ifneq ($(DISABLE_PYTHON),TRUE) +ifneq ($(OS),WNT) # disable on Windows for now, causes gerrit/jenkins failures +ifneq ($(OS),MACOSX) # disable on macOS too, fails at least for me and would be pointless anyway surely +$(eval $(call gb_Module_add_subsequentcheck_targets,solenv,\ + CustomTarget_gbuildtesttools \ + PythonTest_solenv_python \ +)) +endif +endif +endif + +ifneq ($(COMPILER_PLUGINS),) +ifeq ($(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),) +$(eval $(call gb_Module_add_check_targets,solenv, \ + CompilerTest_compilerplugins_clang \ + CompilerTest_compilerplugins_clang-c++03 \ +)) +endif +endif + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/solenv/PythonTest_solenv_python.mk b/solenv/PythonTest_solenv_python.mk new file mode 100644 index 000000000..27145a4e5 --- /dev/null +++ b/solenv/PythonTest_solenv_python.mk @@ -0,0 +1,18 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_PythonTest_PythonTest,solenv_python)) + +$(eval $(call gb_PythonTest_add_modules,solenv_python,$(SRCDIR)/solenv/qa/python,\ + gbuildtojson \ +)) + +$(call gb_PythonTest_get_target,solenv_python): $(call gb_CustomTarget_get_target,solenv/gbuildtesttools) + +# vim: set noet sw=4 ts=4: diff --git a/solenv/README.md b/solenv/README.md new file mode 100644 index 000000000..98c92f5b9 --- /dev/null +++ b/solenv/README.md @@ -0,0 +1,45 @@ +# Tools and Makefile Fragments Necessary for Compilation + +This module contains many tools and makefile configuration pieces, +critical for building LibreOffice: + +- `bin/` + + - contains lots of tools used during the build: + + - `concat-deps*` + these aggregate, and remove duplicates from module + dependencies, to accelerate build times. + + - `make_installer.pl` + this script executes the compiled instructions from + the `scp2/` module to create an installer, and/or to + do a local install for the smoketest. + +- `gbuild/` + + implementation of the LibreOffice build system + See `gbuild/README` for more info. + +- `gdb/` + + lots of nice python helpers to make debugging -much- easier + that (eg.) print UCS2 strings as UTF-8 on the console to + help with debugging. + +- `inc/` + + old `/` increasingly obsolete dmake setup and includes, we are + trying to entirely rid ourselves of this + +- `src/` + + useful standard `/` re-usable component map files for components + which shouldn't export anything more than a few registration + symbols. + +- `flatpak-manifest.in` + + This file is copied manually to https://github.com/flathub/org.libreoffice.LibreOffice/blob/master/org.libreoffice.LibreOffice.json + The `flatpak/build.sh` in the LO `dev-tools` repository is obsolete. + diff --git a/solenv/StaticLibrary_wrapper.mk b/solenv/StaticLibrary_wrapper.mk new file mode 100644 index 000000000..403c66c68 --- /dev/null +++ b/solenv/StaticLibrary_wrapper.mk @@ -0,0 +1,16 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# 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/. +# + +$(eval $(call gb_StaticLibrary_StaticLibrary,wrapper)) + +$(eval $(call gb_StaticLibrary_add_exception_objects,wrapper,\ + solenv/gcc-wrappers/wrapper, $(gb_COMPILEROPTFLAGS) \ +)) + +# vim:set noet sw=4 ts=4: diff --git a/solenv/bin/add-modelines b/solenv/bin/add-modelines new file mode 100755 index 000000000..a3f59fe8e --- /dev/null +++ b/solenv/bin/add-modelines @@ -0,0 +1,169 @@ +#!/usr/bin/env 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/. +# + +# add-modelines, a simple script to add comments to +# the beginning and end of source files for LibreOffice devs + +# Blame goes to Jesse Adelman (at least at first) +# someone AT boldandbusted dotty-dot com +# http://www.boldandbusted.com/ +# (c) 2010 Bold and Busted LLC + +# NOTE: At present, this script only works for files with C-like comments. +# NOTE: If you don't specify -p, the script will act on the current working directory. +# NOTE: If no arguments are specified, the definitions below are in effect. + +# TO DO +# - Deuglify? +# - Make source file type agnostic modelines? +# - Too many/too few comments? +# - Handle top level source directories with whitespace names? (Do they exist?) + +# Turn off globbing, helps with SourceFiles +set -f + +# POSIX +set -o posix + +# Change these to taste +FirstLine='/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */' +LastLine='/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */' +SourceFiles='*.cxx *.cpp *.hxx *.hpp *.c *.h *.m *.mm *.idl *.src *.hrc' + +# Set defaults (don't change these) +ModelineReplace="false" + +# Functions + +function SetEnvironment() +{ + if [ -n "$(which tail)" ] && [ -n "$(which head)" ]; then + { + headCMD=$(which head) + tailCMD=$(which tail) + } + else + { + echo "Missing head or tail, exiting..." + exit 1 + } + fi + if [ -n "$(which find)" ]; then + findCMD=$(which find) + else + { + echo "Missing find, exiting..." + exit 1 + } + fi +} + +function EditFile() +{ + local FileToEdit + local currentFirstLine + local currentLastLine + + FileToEdit="$1" + + currentFirstLine=$($headCMD -1 "$FileToEdit") + currentLastLine=$($tailCMD -1 "$FileToEdit") + + case "$ModelineReplace" in + "true" ) + if [ "${currentFirstLine:0:6}" = "${FirstLine:0:6}" ]; then + { + echo "$FirstLine" > "$FileToEdit".new + $tailCMD -n +2 "$FileToEdit" >> "$FileToEdit".new + } + fi + if [ -e "$FileToEdit.new" ]; then + { + echo "$LastLine" >> "$FileToEdit".new + } + fi + if [ "${currentLastLine:0:6}" = "${LastLine:0:6}" ]; then + { + $headCMD -n -1 "$FileToEdit" > "$FileToEdit".new + echo "$LastLine" >> "$FileToEdit".new + } + fi + mv "$FileToEdit".new "$FileToEdit" + echo "$FileToEdit updated" ;; + "false" ) + if [ "${currentFirstLine:0:6}" != "${FirstLine:0:6}" ]; then + if [ "${currentLastLine:0:6}" != "${LastLine:0:6}" ]; then + { + echo "$FirstLine" > "$FileToEdit".new + cat "$FileToEdit" >> "$FileToEdit".new + if [ "x${currentLastLine}" != "x" ] ; then + echo "" >> "$FileToEdit".new + fi + echo "$LastLine" >> "$FileToEdit".new + mv "$FileToEdit".new "$FileToEdit" + echo "$FileToEdit updated" + } + fi + fi ;; + esac +} + +function PrintUsage() +{ + echo "Usage: $0 [-z] [-s \"\"] [-p ]" +} + +# Main + +SetEnvironment + +# Get command line options + +while getopts "zs:p:" opt; do + case $opt in + z) ModelineReplace="true" ;; + s) SourceFiles="$OPTARG" ;; + p) findPath="$OPTARG" ;; + *) PrintUsage + exit 1 ;; + esac +done + +if [ $OPTIND -gt 1 ]; then + shift $((OPTIND - 1)) +fi + +if [ $# -gt 1 ]; then +{ + PrintUsage + echo "Remember to quote the source file globs after -s" + exit 1 +} +fi + +# Create GNU find expressions that traverse the filesystem once and only once +if [ -z "$findPath" ]; then + findArgs='.' + else + findArgs="$findPath" +fi + +for FileType in ${SourceFiles}; do + findArgs="$findArgs"' ( -iname '"$FileType"' -print -o -true ) -a ' +done + +# This gets rid of the final " -a " in the find argument list +findArgs=(${findArgs:0:(${#findArgs}-3)}) + +for file in $($findCMD "${findArgs[@]}"); do + EditFile "$file" + echo "Completed: " "$file" +done + +# vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/solenv/bin/assemble-flatpak-appdata-step1.sh b/solenv/bin/assemble-flatpak-appdata-step1.sh new file mode 100755 index 000000000..4896cf3f2 --- /dev/null +++ b/solenv/bin/assemble-flatpak-appdata-step1.sh @@ -0,0 +1,96 @@ +#! /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/. +# + +# Part of solenv/bin/assemble-flatpak.sh that is shared with a downstream mechanism of building a +# Flatpak from a Fedora libreoffice.spec file. +# +# Arguments: +# $1 pathname, ending in a slash, of the directory into which to put the target +# org.libreoffice.LibreOffice.appdata.xml file +# $2 "1" if a section shall be included in the target +# org.libreoffice.LibreOffice.appdata.xml file, "0" if not + +set -e + +## org.libreoffice.LibreOffice.appdata.xml is manually derived from the various +## 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 + + + org.libreoffice.LibreOffice.desktop + CC0-1.0 + MPL-2.0 + LibreOffice + The LibreOffice productivity suite + +

LibreOffice is a powerful office suite. Its clean interface and + feature-rich tools help you unleash your creativity and enhance your + productivity. LibreOffice includes several applications that make it the most + powerful Free and Open Source office suite on the market: Writer (word + processing), Calc (spreadsheets), Impress (presentations), Draw (vector + graphics and flowcharts), Base (databases), and Math (formula editing).

+

LibreOffice supports opening and saving into a wide variety of formats, so + you can easily share documents with users of other popular office suites + without worrying about compatibility.

+
+ http://www.libreoffice.org/discover/libreoffice/ + https://bugs.documentfoundation.org/ + https://donate.libreoffice.org/ + https://wiki.documentfoundation.org/Faq + http://www.libreoffice.org/get-help/documentation/ + https://wiki.documentfoundation.org/Translating_LibreOffice + + + https://hub.libreoffice.org/screenshots/writer-01.png + + + + https://hub.libreoffice.org/screenshots/calc-02.png + + + + https://hub.libreoffice.org/screenshots/impress-01.png + + + + https://hub.libreoffice.org/screenshots/draw-02.png + + + + https://hub.libreoffice.org/screenshots/base-02.png + + + + The Document Foundation + libreoffice_at_lists.freedesktop.org + + HiDpiIcon + HighContrast + ModernToolkit + UserDocs + + +EOF + +if [ "${2?}" = 1 ] +then + cat <>"${1?}"org.libreoffice.LibreOffice.appdata.xml + + + +EOF +fi + +cat <<\EOF >>"${1?}"org.libreoffice.LibreOffice.appdata.xml +
+EOF diff --git a/solenv/bin/assemble-flatpak-appdata-step2.sh b/solenv/bin/assemble-flatpak-appdata-step2.sh new file mode 100755 index 000000000..4f06e6b19 --- /dev/null +++ b/solenv/bin/assemble-flatpak-appdata-step2.sh @@ -0,0 +1,26 @@ +#! /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/. +# + +# Part of solenv/bin/assemble-flatpak.sh that is shared with a downstream mechanism of building a +# Flatpak from a Fedora libreoffice.spec file. +# +# Arguments: +# $1 pathname, ending in a slash, of the directory containing the source libreoffice-*.appdata.xml +# files +# $2 pathname, ending in a slash, of the directory containing the target +# org.libreoffice.LibreOffice.appdata.xml file + +set -e + +# append the appdata for the different components +for i in "${1?}"libreoffice-*.appdata.xml +do + sed "1 d; s/libreoffice-/org.libreoffice.LibreOffice./" "$i" \ + >>"${2?}"org.libreoffice.LibreOffice.appdata.xml +done diff --git a/solenv/bin/assemble-flatpak-desktop.sh b/solenv/bin/assemble-flatpak-desktop.sh new file mode 100755 index 000000000..6d06de4fb --- /dev/null +++ b/solenv/bin/assemble-flatpak-desktop.sh @@ -0,0 +1,42 @@ +#! /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/. +# + +# Part of solenv/bin/assemble-flatpak.sh that is shared with a downstream mechanism of building a +# Flatpak from a Fedora libreoffice.spec file. +# +# Arguments: +# $1 pathname, ending in a slash, of the directory containing the source libreoffice-*.desktop +# files +# $2 pathname, ending in a slash, of the directory into which to put the target +# org.libreoffice.LibreOffice.*.desktop files + +set -e + +## libreoffice-*.desktop -> org.libreoffice.LibreOffice.*.desktop: +for i in "${1?}"libreoffice-*.desktop +do + sed -e 's/^Icon=libreoffice-/Icon=org.libreoffice.LibreOffice./' "$i" \ + >"${2?}"org.libreoffice.LibreOffice."${i#"${1?}"libreoffice-}" +done +mv "${2?}"org.libreoffice.LibreOffice.startcenter.desktop "${2?}"org.libreoffice.LibreOffice.desktop + +# Flatpak .desktop exports take precedence over system ones due to +# the order of XDG_DATA_DIRS - re-associating text/plain seems a bit much +sed -i "s/text\/plain;//" "${2?}"org.libreoffice.LibreOffice.writer.desktop + +desktop-file-edit --set-key=X-Endless-Alias --set-value=libreoffice-startcenter \ + --set-key=X-Flatpak-RenamedFrom --set-value='libreoffice-startcenter.desktop;' \ + "${2?}"org.libreoffice.LibreOffice.desktop +for i in base calc draw impress math writer xsltfilter +do + desktop-file-edit --set-key=X-Endless-Alias --set-value=libreoffice-"$i" \ + --set-key=X-Flatpak-RenamedFrom \ + --set-value="libreoffice-$i.desktop;org.libreoffice.LibreOffice-$i.desktop;" \ + "${2?}"org.libreoffice.LibreOffice."$i".desktop +done diff --git a/solenv/bin/assemble-flatpak.sh b/solenv/bin/assemble-flatpak.sh new file mode 100755 index 000000000..9991a0d0d --- /dev/null +++ b/solenv/bin/assemble-flatpak.sh @@ -0,0 +1,73 @@ +#! /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/ diff --git a/solenv/bin/bin_library_info.sh b/solenv/bin/bin_library_info.sh new file mode 100755 index 000000000..fcd68c0e8 --- /dev/null +++ b/solenv/bin/bin_library_info.sh @@ -0,0 +1,188 @@ +#!/usr/bin/env bash +# +# Copyright (C) 2013 Norbert Thiebaud +# License: GPLv3 +# + +do_help() +{ +cat < -l|--location -s|--srcdir -b -r|--tarfile [ -m|--mode verify|name ] + +the default mode is 'name' which just print the associated binary tarfile name. +in 'verify' mode the program print the name if the associated binary tarfile exist +and print nothing and return an error code if the file does not exist + +Note: --location --builddir and --srcdir are optional if they are already in the env in the form of TARFILE_LOCATION and BUILDDIR SRCDIR respectively +EOF + +exit 0; +} + +die() +{ + [ "$V" ] && echo "Error:" "$@" + exit -1; +} + + +get_config_sha() +{ + pushd "${SRCDIR?}" > /dev/null + git hash-object "${BUILDDIR?}"/config_host.mk + popd > /dev/null +} + +get_library_gbuild_sha() +{ + local module="$1" + + pushd "${SRCDIR?}" > /dev/null + if [ -d "${SRCDIR}/external/${module?}" ] ; then + git ls-tree -d HEAD "external/${module?}" | cut -f 1 | cut -d " " -f 3 + else + git ls-tree -d HEAD | "{module?}" | cut -f 1 | cut -d " " -f 3 + fi + popd > /dev/null +} + + +determine_binary_package_name() +{ + local module="$1" + local tarball="$2" + local csha="" + local gsha="" + local binfile="" + + csha=$(get_config_sha) + gsha=$(get_library_gbuild_sha "${module?}") + if [ -n "${csha?}" -a -n "${gsha}" ] ; then + binfile="${csha?}_${gsha?}_${tarball?}.${PLATFORM?}.tar.gz" + fi + echo "${binfile}" + +} + +MODULE="" +SOURCE_TARFILE="" +MODE="name" +V=1 + +while [ "${1}" != "" ]; do + parm=${1%%=*} + arg=${1#*=} + has_arg= + if [ "${1}" != "${parm?}" ] ; then + has_arg=1 + else + arg="" + fi + + case "${parm}" in + -h|--help) # display help + do_help + exit + ;; + -b|--builddir) + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + BUILDDIR="${arg}" + ;; + -o|--module) + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + MODULE="${arg}" + ;; + + -l|--location) + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + TARFILE_LOCATION="${arg}" + ;; + -m|--mode) + # test if the binary package exist + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + MODE="$arg" + ;; + -p|--platform) + # test if the binary package exist + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + PLATFORM="$arg" + ;; + -q) + V=0 + ;; + -s|--srcdir) # do not override the local autogen.lastrun if present + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + SRCDIR="${arg}" + ;; + + -t|--tarfile) + if [ -z "${has_arg}" ] ; then + shift; + arg="$1" + fi + SOURCE_TARFILE="${arg}" + ;; + -*) + die "Invalid option $1" + ;; + *) + die "Invalid argument $1" + ;; + esac + shift +done + +if [ -z "${MODULE?}" ] ; then + die "Missing --module" +fi +if [ -z "${TARFILE_LOCATION}" ] ; then + die "Missing --location" +fi +if [ -z "${SOURCE_TARFILE}" ] ; then + die "Missing --tarfile" +fi +if [ -z "${SRCDIR}" ] ; then + die "Missing --srcdir" +fi + + +BINARY_TARFILE="$(determine_binary_package_name ${MODULE?} ${SOURCE_TARFILE?})" + +if [ -z "${BINARY_TARFILE}" ] ; then + exit 2 +fi + +if [ "${MODE?}" = "verify" ] ; then + if [ -f "${TARFILE_LOCATION?}/${BINARY_TARFILE?}" ] ; then + echo "${BINARY_TARFILE?}" + else + exit 1 + fi +else + echo "${BINARY_TARFILE?}" +fi + +exit 0 diff --git a/solenv/bin/call_installer.sh b/solenv/bin/call_installer.sh new file mode 100755 index 000000000..8b8032f7f --- /dev/null +++ b/solenv/bin/call_installer.sh @@ -0,0 +1,47 @@ +#!/bin/sh + +# unpack parameters +VERBOSITY=$1; shift +MSITEMPL=$(echo "$@" | cut -d ':' -f 1) +LANG=$(echo "$@" | cut -d ':' -f 2) +PRODNAME=$(echo "$@" | cut -d ':' -f 3) +EXTENSION=$(echo "$@" | cut -d ':' -f 4) +PKGFORMAT=$(echo "$@" | cut -d ':' -f 5) +STRIP=$(echo "$@" | cut -d ':' -f 6) + +# need to hack buildid? +if [ "${PKGFORMAT}${LIBO_VERSION_PATCH}" = "deb0" ] || \ + [ "${PKGFORMAT}${LIBO_VERSION_PATCH}" = "rpm0" ] ; then + LIBO_VERSION_PATCH=1 +fi + +# switch to verbose? +if [ "${VERBOSITY}" = "-verbose" ] ; then + set -x +fi + +# add extra params for Windows +EXTRA_PARAMS= +if [ "${OS}" = "WNT" ] && [ -n "${MSITEMPL}" ]; then + EXTRA_PARAMS="${EXTRA_PARAMS} -msitemplate ${WORKDIR}/CustomTarget/instsetoo_native/install/msi_templates/${MSITEMPL}" + EXTRA_PARAMS="${EXTRA_PARAMS} -msilanguage ${WORKDIR}/CustomTarget/instsetoo_native/install/win_ulffiles" +fi + +# need to strip? +if [ "${STRIP}" = "strip" ] ; then + export ENABLE_STRIP=1 +fi + +# shellcheck disable=SC2086 +# shellcheck disable=SC2154 +${PERL} -w "${SRCDIR}"/solenv/bin/make_installer.pl \ + -f "${BUILDDIR}"/instsetoo_native/util/openoffice.lst \ + -l "${LANG}" \ + -p "${PRODUCTNAME_WITHOUT_SPACES}${PRODNAME}" \ + -u "${instsetoo_OUT}" \ + -packer "${COMPRESSIONTOOL}" \ + -buildid "${LIBO_VERSION_PATCH}" \ + ${EXTRA_PARAMS:+$EXTRA_PARAMS} \ + ${EXTENSION:+"$EXTENSION"} \ + -format "${PKGFORMAT}" \ + "${VERBOSITY}" diff --git a/solenv/bin/clipatchconfig.pl b/solenv/bin/clipatchconfig.pl new file mode 100644 index 000000000..389fffc5c --- /dev/null +++ b/solenv/bin/clipatchconfig.pl @@ -0,0 +1,122 @@ +# +# 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/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# + +use warnings; +use strict; + +sub trim; +sub readRedirectionValues($); + +my $usage = + "Usage is: \n clipatchconfig.pl configTemplate redirections policyConfig + + configTemplate: The config file which is used for the policy assembly. It + contains place holders for the binding redirection. + + redirections: file containing the values for oldVersion and newVersion tags + which are used in the BindingRedirect element of the config files. + + policyConfig: Name of the file in which we want to write the config file. +"; + + +if (scalar @ARGV < 3) { + print $usage; + exit -1; +} + + +my %redirectionValue = readRedirectionValues($ARGV[1]); + + +#Read config file in which we will replace the versions +$/ = undef; +open TEMPLATE, $ARGV[0] or die $!; +my $templ =