summaryrefslogtreecommitdiff
path: root/bin/check-elf-dynamic-objects
AgeCommit message (Collapse)AuthorFilesLines
2018-12-17kde5: remove older kde/tde plugins, and references to thatThorsten Behrens1-4/+0
KDE4 is out of maintenance upstream since Nov. 2014, and binaries provided by TDF have switched to KDE5 as the official backend. Change-Id: I165465b56d3ba3a18912b203c06ae8fc6111c0c9 Reviewed-on: https://gerrit.libreoffice.org/60014 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-11Fix typoAndrea Gelmini1-2/+2
Change-Id: I40c9591cd9787c919a5da7526ab866518bad3812 Reviewed-on: https://gerrit.libreoffice.org/64912 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-10-29Compensate for `set -u` when LO_ELFCHECK_WHITELIST is unsetStephan Bergmann1-1/+1
...as happens e.g. in <https://ci.libreoffice.org/job/lo_daily_update_gandalf/515/>. (Regression introduced with d157e510252636d3519c71415c20dfd113d40960 "check-elf-dynamic-objects: allow extending the whitelist via env-var".) Change-Id: I93097d0bb7781b1bfac818872f40bbe38c5f5fea
2018-10-28check-elf-dynamic-objects: allow extending the whitelist via env-varChristian Lohmaier1-1/+3
to allow working on packaging with epm without a baseline setup... Change-Id: I9ab737cd52adf51c9eb23a4bc67f09c0ac06647e Reviewed-on: https://gerrit.libreoffice.org/62454 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-08-27Adapt CustomTarget_postprocess/check_dynamic_objects to --enable-kde5Stephan Bergmann1-0/+5
Change-Id: I3b03e3a75f5a6157479582e74be349c567fc1e8c
2018-07-17remove the GL based 3D chartsMarkus Mohrhard1-1/+1
Change-Id: Ia578c71ae70aa0a85b49fa50138edf90f961b1e9 Reviewed-on: https://gerrit.libreoffice.org/57533 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-06-01Add missing die and help functionsJan-Marek Glogowski1-3/+27
Change-Id: Ic2e6138b1ba1a8031a80e4e58f468b6c0f7a4de3
2018-05-21check-elf-dynamic-objects: Fedora 28 GTK+ depends on libfribidi.so.0Michael Stahl1-2/+2
... so add it to whitelists. Change-Id: Ia9f55ecfa9dcbc809827070e0ae6522f1e7ba2bf Reviewed-on: https://gerrit.libreoffice.org/54607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-05-08Refactor CommonSalLayout font handlingJan-Marek Glogowski1-4/+0
Moves all platform specific code from CommonSalLayout into the platform specific plugins. This way the vcl library won't depend on the Qt5 libraries and the Qt5Font header can be moved into the qt5 VCL plugin. While at it, switch the CommonSalLayouts font reference from the FontSelectPattern to the LogicalFontInstance and also add the harfbuzz font handling to the instance. Change-Id: Ida910b8d88837ea949a2f84394ccc0cfae153060 Reviewed-on: https://gerrit.libreoffice.org/47408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2018-03-08Fix external/gpgmepp Linux RPATHStephan Bergmann1-4/+1
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Disable tests that would build executabes linking against libgpgme.so, which in turn links against the libassuan and libgpg-error libs, which would no longer be found by the linker because of the dropped -rpath flags. (Alternatives might be to pass in LD_LIBRARY_PATH or to link with --allow-shlib-undefined.) Change-Id: I7e37abf802d213347bd80383b7980d85cf0762d4 Reviewed-on: https://gerrit.libreoffice.org/50960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-08Fix external/libassuan Linux RPATHStephan Bergmann1-1/+1
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Change-Id: Ic6c6123bcfe8bc2dac87812f919842519374abaa Reviewed-on: https://gerrit.libreoffice.org/50959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-07Fix typoAndrea Gelmini1-1/+1
Change-Id: Iaa48657cdffc12b0e7bf1e39476e84445ea6fc3b Reviewed-on: https://gerrit.libreoffice.org/49353 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-gtk3-kde5Stephan Bergmann1-1/+13
Change-Id: Ie8c2389e8e0801b092abcfef751325cdf369b98d
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-qt5Stephan Bergmann1-1/+14
The dependency of Library_vcl on qt5 libraries (via vcl/qt5/Qt5Font.cxx) is there ever since b66a7cbd8491fe436126e11975c360f47ae346ed "QT5 first stab on implementing CommonSalLayout", but no idea whether that is by design or is a hack that should eventually be cleaned up. Change-Id: I4cec702709b37069987ec68c035628b5172b3543
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-dconfStephan Bergmann1-0/+6
Change-Id: I345055bf56828fc597d14c654d4819e87630da2c
2018-02-06check-elf-objects: add mergedlib libs for Linux-rpm_deb-x86_64@70-TDFMichael Stahl1-1/+4
Change-Id: I7b0febee10a98809073f0bfd023d39d32684a566
2018-02-06check-elf-objects: add 32-bit libs for Linux-rpm_deb-x86@71-TDF-dbgMichael Stahl1-2/+6
Change-Id: Ibd308d94c7cd92ab5e2590554b54517d2ef898fe
2018-02-06basename -a is non-standardStephan Bergmann1-1/+1
...and apparently not supported on some tinderboxes like tb70 and tb71 Change-Id: I37dae3e7bbb0b9324adf04819fa87fb6a5b9f1d0
2018-02-05postprocess: enable the check-elf-dynamic-objects for realMichael Stahl1-2/+5
Change-Id: Ie08d3dfc6306c18da7b1a5c000a75a18917c1f70 Reviewed-on: https://gerrit.libreoffice.org/45529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-29check-elf-dynamic-objects: wait only onceMichael Stahl1-1/+1
Norbert points out that wait without arguments will wait for all outstanding processes. Change-Id: If850fd4a2e46a2c05d2917d38478ee2d3112bd78
2017-11-29fix check-elf-dynamic-objects -pMichael Stahl1-0/+2
It needs to wait for all background tasks to exit. Change-Id: I8770f3d79d66ab2fae727ae7cbbc00e3b22e5e54
2016-12-13change from glew to epoxyCaolán McNamara1-1/+1
because that works under wayland out of the box and gtk3 uses it already Change-Id: Iefaac31e325534a81a5389f752804af917c1baef Reviewed-on: https://gerrit.libreoffice.org/31213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-12[API CHANGE] Remove salcpprt static libraryStephan Bergmann1-5/+0
...containing replacements for global operator new/delete (that can be linked into executables), but which is no longer used. The mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html> "operator new no longer routes through rtl_AllocMemory in libsalcpprt under gbuild link rules" has the details of how this was used on some platforms (but not on others) before the switch to gbuild, and has been "lost" ever since---but apparently a loss not mourned much over the years. For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3: #i62434# copy libsalcpprt.a" added the library (under Linux) and 6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend link options for executbales to link libsalcpprt.a, LINUX only" added its use to odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9 "INTEGRATION: CWS jsc21" removed that use again (for no documented reason). So this is an incompatible change, but unlikely to actually affect any users of the SDK. Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9 Reviewed-on: https://gerrit.libreoffice.org/31810 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-11check-elf-dynamic-objects: check sdk/bin tooMichael Stahl1-2/+2
It takes almost no time, but this way of doing it changes the interpretation of the -d parameter; not sure how important that is. Change-Id: I9d29cdf96d7006d5daea00bcc41e613fbd30aac8 Reviewed-on: https://gerrit.libreoffice.org/29707 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-10-11check-elf-dynamic-objects: OpenSuSE uses DT_RUNPATH, not DT_RPATHMichael Stahl1-1/+1
... like Fedora, so check for either. Change-Id: I0e88c8e6e7634e7cc483474bc3f654e666c3bab2
2016-10-10check-elf whitelist libxml2 not libxmlNorbert Thiebaud1-1/+1
Change-Id: If0179726861c867f9c25c13f9eb0b61faaee9524
2016-10-10Support parallelism for check-elf-dynamic-objectsNorbert Thiebaud1-5/+70
using that and restricting the tests to the content of instdir/program bring the runtime on out slave builder from 4 minutes+ to just above one second added -d <path> to override INSTDIR added -p to indicate parallelism (no limit for now, so be cautious with the -d you point too Change-Id: I14c140f54bea329b82960843a6db44bfaf6c7108
2016-10-10check-elf-dynamic-objects: file is far too slowMichael Stahl1-43/+53
... so use readelf itself to check if it's an ELF file. Also just skip the SDK documentation which is 2/3 of all files. Change-Id: Icfd3023dd5b2ccc4f4e94fbb05cdd4eb05051f86
2016-10-10check-elf-dynamic-objects: add libxml/libxslt to global whitelistMichael Stahl1-1/+1
Change-Id: Ida6495171f900edf4abe5f6ceba3a6dc2de7c2de
2016-09-21add bin/check-elf-dynamic-objectsMichael Stahl1-0/+128
Change-Id: Ia21375e376c25f9731455ef505422fa9bab884cb