summaryrefslogtreecommitdiff
path: root/sysui
AgeCommit message (Collapse)Author
2018-07-10New Collabora Office app logo for Linux (startcenter)Andras Timar
Change-Id: I9193dbda3d5e165c6807e805a1fa9711fd455161
2018-06-23New Collabora Office app logo for LinuxAndras Timar
Change-Id: Ifd134481b3d4635dccdfd126d47331350f279709
2018-06-23New Collabora Office app logo for WindowsAndras Timar
Change-Id: I3373844683c0e69e9b0a2e7e870c8876c8489c21
2018-06-23New Collabora Office app logo for macOSAndras Timar
Change-Id: Idb92c218d795b5e3f3d97507c6b1b10ff2b9117e
2018-06-01fix variable nameDavid Tardon
(cherry picked from commit 8978fdf58a403aa62e04d47e65cd799740e6b909) Reviewed-on: https://gerrit.libreoffice.org/54807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit f4f21e3a3bae06bd13bd7cc221502d9373e55994) Change-Id: Ie3eef59c934f5fe4146a911e4ee652457b94edd8
2018-06-01apparmor: allow also /usr/lib{,32,64}/jvm/**/bin/javaRene Engelhard
since /usr/lib{,32,64}/jvm/**/jre/bin/java doesn't exist since OpenJDK 9 Change-Id: Ic9c052a756ba4a93595595da98148ff22169d333 Reviewed-on: https://gerrit.libreoffice.org/54754 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org> (cherry picked from commit 6739a70d1af250814fe134c8752a058df433afc3)
2018-06-01deb#899380 apparmor: fix gpg encryption hang trying to lock random_seedRene Engelhard
Change-Id: Ib9fb7652922dcc8364567953d17d7cae8ad170a7 Reviewed-on: https://gerrit.libreoffice.org/54726 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org> (cherry picked from commit 8615efe611abe8654e643e1ccbc0dc8f52d2e0b0) Reviewed-on: https://gerrit.libreoffice.org/54731 (cherry picked from commit ed985043a18dca99acca4861ebeb1e7010bba6fe)
2018-03-15OS X: fix main applicaton icon of Collabora OfficeAndras Timar
Change-Id: Idf2a81cdb8e3e0d137143e37e7653c5be195391e (cherry picked from commit c6237d49cf39a503b58868a20d2076c470c4828b) (cherry picked from commit 8804d91769198dab8bed579aa7be5fe44ac769ff)
2018-03-15sysui: Collabora Office brandingAndras Timar
Change-Id: Idfe91c87631956072f1e44d09168de6cd91aed6b (cherry picked from commit dd8b7bfc252400153b5ec1b52c045c346ad853fe) (cherry picked from commit e2a4ac9783408104607bca9bd00f6f333ffe54a2)
2018-03-15OS X: Change main LibreOffice icon to Collabora Office iconAndras Timar
Change-Id: I52dd21c50942d2c7d6dff2f3c2ae3577e2bb9c65 (cherry picked from commit 74dc1adc6ac676c96a744e829609a73ee3ae0484) (cherry picked from commit 123f7e41c69013c2e6e3656b4ef6d03dc56ac0f3)
2018-03-15Collabora Office brandingAndras Timar
(cherry picked from commit c276d5ba1491dc237812cdf3d877a4ecec2ee1dc) (cherry picked from commit c085f9176bda7bad0234d0087ff87f27086fc333) Change-Id: I9e79c07aa3cbb70076d9bab07294062df4be02c6
2018-02-22tdf#114915 Apparmor profile update (invalid comments syntax)Olivier Tilloy
The apparmor profile parser doesn't interpret # as a comment when on the same line as a variable assignment. Ensure that comments are on their own line, above the actual assignment. Change-Id: If10bb05f11b0e9026746db2e271113f30da5cbef Reviewed-on: https://gerrit.libreoffice.org/47605 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 35ad7482af49ab80d348b619b6d420ee170d3e5d) Reviewed-on: https://gerrit.libreoffice.org/50207 Reviewed-by: Eike Rathke <erack@redhat.com>
2018-02-19apparmor: allow cert9.dbRene Engelhard
... as used by firefox >= 58 Change-Id: I2769020327d3d097f734ab2c152bee2474b99767 Reviewed-on: https://gerrit.libreoffice.org/50012 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2018-02-13tdf#115659 Apparmor profile fixes for senddocOlivier Tilloy
Fix sending the current document by e-mail: - fix path to the installed senddoc executable - add missing exception for xdg-email - add missing include statement for sanitized_helper profile Change-Id: Ie7c5b112bd6c415036490e9f0f81063ca3ced5a1 Reviewed-on: https://gerrit.libreoffice.org/49615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-07apparmor: fix @{HOME}/.mozilla/firefox access for XML signingRene Engelhard
the #include <abstractions/private-files-strict> bringing "audit deny @{HOME}/.mozilla/** mrwkl," in actually denies everything here. Use just <abstractions/private-files> and allow profiles.ini, secmod.db and cert8.db. At least opening the Digital Signatures dialog doesn't log apparmor DENIED now... Change-Id: Id557626fc26745841f0cca005d483fd1e6ac922d Reviewed-on: https://gerrit.libreoffice.org/48264 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/49253 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-28tdf#115208 Apparmor profile update (allow JVM execution)Olivier Tilloy
Change-Id: I2911066f77fcd79b05c5247ea1086b671d546216 Reviewed-on: https://gerrit.libreoffice.org/48778 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2018-01-23deb#887593 apparmor: allow reading device informationVincas Dargis
* Add file read rule for paths like /sys/devices/virtual/block/dm-0/queue/rotational used by isRotational() in desktop/unx/source/pagenin.c. * Add file read rule for paths like /sys/dev/char/226:128/device/uevent used by libdrm. Change-Id: Ic41365b478c817b6766e25adadd6761fa03ff055 Reviewed-on: https://gerrit.libreoffice.org/48265 Tested-by: Rene Engelhard <rene@debian.org> Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/48278 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-23deb#887593 add #include <abstractions/X> to oosplash apparmor profileRene Engelhard
This quashes commit 616af7d9bd2e75e4bf9224ef8301c7e6b1b4d972 Author: Rene Engelhard <rene@debian.org> Date: Thu Jan 18 23:11:38 2018 +0100 deb#887593 add #include <abstractions/X> to oosplash apparmor profile Change-Id: Ib9595b1e0fe888a6698c3c508a24390d3798b3e4 and parts of commit d4440ce6b5964d08be1e5841ed301112b260823d Author: Rene Engelhard <rene@debian.org> Date: Thu Jan 18 23:19:46 2018 +0100 update copyright years Change-Id: I634c1132265295f90f624a53b93dddb2b18eabd5 Change-Id: If1409c4c9e0f27c95e1fb57e557153b358774da0 Reviewed-on: https://gerrit.libreoffice.org/48239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-21apparmor: allow running the "certificate manager" applications for gpgRene Engelhard
Change-Id: Ic71e05d7561e1dcb532795dbf0b6e9309c1032d2 Reviewed-on: https://gerrit.libreoffice.org/48262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-21deb#887593 apparmor: updates for gpgRene Engelhard
This squashes commit 24702687433842a6e9e8a1070ead46c035192bf3 Author: Rene Engelhard <rene@debian.org> Date: Sat Jan 20 15:54:43 2018 +0100 deb#887593 use child profile for gpg add gpg and gpgsm to soffice.bin apparmor profile parts of commit c6a19889e91f2585453636667e3d5779b153ab86 Author: Rene Engelhard <rene@debian.org> Date: Thu Jan 18 23:12:03 2018 +0100 deb#887593 apparmor: allow soffice.bin reading .mozilla/firefox and .gnupg and commit e64e7da9b222cebfdff270059f5182e71b667796 Author: Rene Engelhard <rene@debian.org> Date: Thu Jan 18 23:11:54 2018 +0100 deb#887593 add gpg and gpgsm to soffice.bin apparmor profile and parts of and parts of commit d4440ce6b5964d08be1e5841ed301112b260823d Author: Rene Engelhard <rene@debian.org> Date: Thu Jan 18 23:19:46 2018 +0100 update copyright years Change-Id: I634c1132265295f90f624a53b93dddb2b18eabd5 and Author: Rene Engelhard <rene@debian.org> Date: Sat Jan 20 23:25:07 2018 +0100 deb#887593 make gpg child profile really work now I can see my testkey and sign. Thanks Christian Bolz and commit cae52b77d48916d819e788675f40da5fe4f7c99c Author: Rene Engelhard <rene@debian.org> Date: Sat Jan 20 23:28:51 2018 +0100 readd lost comment Change-Id: I15dfc46acec9487bf3550d208d79257527cd6791 Reviewed-on: https://gerrit.libreoffice.org/48241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-18Resolves: rhbz#1535541 fdo#88004 mimetypes are .macroEnabled not .macroenabledCaolán McNamara
Change-Id: If7942ec9d4cd40f29fae2b9a8f76df1ef08bfc17 Reviewed-on: https://gerrit.libreoffice.org/48121 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-12apparmor: copy xpdfimport definition into xpdfimport and allow "m"Rene Engelhard
Dec 11 18:46:11 sid kernel: [ 176.085106] audit: type=1400 audit(1513014371.237:22): apparmor="DENIED" operation="file_mmap" profile="libreoffice-xpdfimport" name="/usr/lib/libreoffice/program/xpdfimport" pid=1511 comm="xpdfimport" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 Change-Id: I31ddb412d1dd95506a00d22739a33d2e6770ba23 Reviewed-on: https://gerrit.libreoffice.org/46258 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-11sysui/desktop/apparmor/program.soffice.bin: allow /usr/bin/gpgconfRene Engelhard
Change-Id: I762ed3961d929204fdb97a3272fc9ca73f7d0234 Reviewed-on: https://gerrit.libreoffice.org/46257 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Rene Engelhard <rene@debian.org> Reviewed-by: Rene Engelhard <rene@debian.org>
2017-11-06QT5 rename from KF5Jan-Marek Glogowski
Move out of unx, as this will eventually compile on other OS platforms. At least currently it doesn't contain platform dependant code. Change-Id: Iea0bebf574201881ea158381fe7ba8af2a9a6488
2017-11-06KF5 seperate Qt5 detection from KF5Jan-Marek Glogowski
Splits the configure checks into a Qt5 and KF5 specific part. Change-Id: I0a616ba031e1f7fd0385219ac48179adb4bdaf14
2017-09-29tdf#100013 sysui: fix invalid tar invocationRichard PALO
Change-Id: Ie7c482d387f9ffd3be92759200446951b9084408
2017-08-15deb#872001: stop shipping mimelnk desktop filesRene Engelhard
they are KDE3 only and we don't support either KDE3 nor TDE anymore anyways Change-Id: I80198c2b63298c0bb3220f3641b6e45107797426 Reviewed-on: https://gerrit.libreoffice.org/41159 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2017-06-13remove TDE integration (vclplug, address book, config backend)Michael Stahl
It has ~no users, can't even be built on modern Linuxes, and it annoys folks who want to refactor VCL. Per ESC decision from 2017-06-08, remove --enable-tde and --enable-tdeab. Change-Id: I51ce4786f29f8fcac2e2bb2a654c41fbfbbd8afd Reviewed-on: https://gerrit.libreoffice.org/38718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-30tdf#105204 fix iteration over profileJochen Nitschke
regression of commit 7bec7abd4c3d78e6a37f523f4fb599134ef51ca7 tdf#105204: ShellCheck nitpicks for apparmor.sh Change-Id: I5086e2a3af2908fe051c0bdc91753533adf7bafd Reviewed-on: https://gerrit.libreoffice.org/37896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-05-20tdf#105204: ShellCheck nitpicks for apparmor.shYeliz Taneroğlu
Double quote to prevent globbing and word splitting. Iterating over ls output is fragile. Use globs. Change-Id: I156b472708049115e753ff2a51a44807c8af6b94 Reviewed-on: https://gerrit.libreoffice.org/37544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-05-11tdf#105204 fix shellcheck warnings in sysui/desktop/solarisYeliz Taneroğlu
double quote to prevent word splitting Change-Id: Ice4380cc390487277a359b8db3f2fae3603b7747 Reviewed-on: https://gerrit.libreoffice.org/37466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-25Fix typosAndrea Gelmini
Change-Id: I52604902247e7d8565476fafe98211fff32c5543 Reviewed-on: https://gerrit.libreoffice.org/35658 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19Fix typosAndrea Gelmini
Change-Id: I5c89a47e658ae4ad2b0cdfcdb4988c4b79353085 Reviewed-on: https://gerrit.libreoffice.org/35413 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23Install a libreoffice-kde.appdata.xml file for KDE integrationAleix Pol
On many GNU/Linux distributions packagers will split libreoffice in different chunks, one of them being KDE integration. Without this file it's not possible for users to find the integration in the Software Centers. Change-Id: I7e4f3009be4f23f2dd38a6d2464476253959413e Reviewed-on: https://gerrit.libreoffice.org/33318 Reviewed-by: Matthias Klumpp Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2017-01-04Remove useless cat, and replace backtickMuhammet Kara
cat is a tool for con"cat"enating files. Reading a single file as input to a program is considered a Useless Use Of Cat (UUOC). It's more efficient and less roundabout to simply give file as input. Also use $(..) instead of legacy `..` Backtick command substitution `..` is legacy syntax with several issues. It has a series of undefined behaviors related to quoting in POSIX. It imposes a custom escaping mode with surprising results. It's exceptionally hard to nest. $(..) command substitution has none of these problems, and is therefore strongly encouraged. Change-Id: Ia668c6323660641bbb5084ee824ae9ae7631c76f Reviewed-on: https://gerrit.libreoffice.org/32473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-02Use hub links in AppdataSamuel Mehrbrodt
Change-Id: I1f99a90c2969ce78a8f5da7c2c1da08c2b796414 Reviewed-on: https://gerrit.libreoffice.org/31525 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01sysui: add "translate" urls to AppData filesMichael Stahl
* run "appstream-util upgrade" * add "translate" urls Change-Id: I3bad7d5dd90cce7703a100ac95097ad3a8f2c56d
2016-10-25improve debug outputDavid Tardon
Change-Id: I7c5b8e67ee19e6a7d7909acb03d2d695cdc17a24
2016-10-25tdf#103448 remove WPS Office exts. from MIME typesDavid Tardon
Change-Id: I99e199ba0dd703703f0feafeb1a9b6970507050d
2016-08-11add StarOffice mimetypes to desktop filesDavid Tardon
Change-Id: I4c68ad86a56e1b8ba4c142c62ffa2e486c89f90e
2016-08-04Introduce --with-product-name superseding --with-macosx-app-nameTor Lillqvist
The new option thoroughly replaces the product name mentioned in the AC_INIT() call. Work in progress. Also take care of spaces in the product name in a more systematic fashion. This should affect mainly OS X where the final app bundle that is installed should use the product name as such, including spaces, if any. However, our build system does not cope that well with having an app bundle with spaces in it in instdir. So in instdir, and also in test-install, spaces are stripped away from the product name when used as part of the app bundle name. Change-Id: Ic16b5039f23c96a4f39387a1869faeb25e05aafb
2016-07-07AppArmor fixes to fix testsBryan Quigley
This lets you run LO build tests while that LO is confined by apparmor. It assumes that you can have RW access to wherever LO actually needs it in the instdir. This obviously doesn't superseed file permissions so you can still make the binaries read-only, etc. Change-Id: I313459cdf115f4fda5f621b2a0c9a1da022ef525 Reviewed-on: https://gerrit.libreoffice.org/26987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-06tdf#70998 Termchange: Graphic->ImageSamuel Mehrbrodt
Change-Id: I561a4d81a4fa8d5a6cc5f92b11ed480e833dadcc Reviewed-on: https://gerrit.libreoffice.org/24697 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-14tdf#99251 Update AppArmor ProfilesBryan Quigley
Make them less resrictive when executing other exes This lets the splash screen work again. Modify AppArmor.sh to be more useful. Change-Id: Icf06910c845d9389b9b75c1623037e1d07489728 Reviewed-on: https://gerrit.libreoffice.org/24043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-09tdf#82335 Register Libreoffice for Kingsoft file typesJaskaran
Registered LO for Kingsoft document , spreadsheet, presentation and their template types. Change-Id: If2b9f428b22f6d104c5ffe699f5264a22b814a0e Reviewed-on: https://gerrit.libreoffice.org/23037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-02Just use xdg-openBryan Quigley
Remove kde4/tde/open-url.sh and have LO just use xdg-open. It's available on TDE builds as well as any recent KDE. We recently did this just for gnome-open-url and have had no reported issues. Change-Id: I4e1ee6caef368051af92023fa382b6fed9d9397e Reviewed-on: https://gerrit.libreoffice.org/21173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-02-18Add missing trailing semicolon to Keywords againAdolfo Jayme Barrientos
$ desktop-file-validate draw.desktop draw.desktop: error: value does not have a semicolon (';') as trailing character Regression from ab8c349f7bc0348b54e6e0766c5bd6785b415ae5. Change-Id: Idf74200ca4cf17f8918ee388f347a805ac3161f3
2016-02-18Add pdf and visio to info to Draw's linux application menu fileYousuf Philips
Change-Id: I4d7964c60a3a1f775e696d45e8f1ef7ee06dfb4f Reviewed-on: https://gerrit.libreoffice.org/22445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-01-18Set file association for MS Write files on linux and MacSean Young
Other mime types used for MS Write are application/x-wri, application/mswrite and application/wri. I think these were pretty rare though. Change-Id: I2bf48ab7a2fb1d979db38774ae0547c5ab6040d4 Reviewed-on: https://gerrit.libreoffice.org/21552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>