summaryrefslogtreecommitdiff
path: root/sysui
AgeCommit message (Collapse)Author
2018-02-02Revert "tdf#98141 add svg file for all app icons in all sizes"andreas_kainz
This reverts commit 61be109b1c10df3ddbb27f2a398b121a7c977f30. Change-Id: I1e3dc953154a6b75ffb507e9dc554df1acea45bf Reviewed-on: https://gerrit.libreoffice.org/47442 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-02-01apparmor: 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>
2018-02-01Pass also webdavs:// URLs directly to soffice binaryKatarina Behrens
instead of going via kioexec & temp file Change-Id: I48ed5de97a2914025f01884f5ed0d0edce452112 Reviewed-on: https://gerrit.libreoffice.org/48900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2018-01-28tdf#115208 Apparmor profile update (allow JVM execution)Olivier Tilloy
Change-Id: I2911066f77fcd79b05c5247ea1086b671d546216
2018-01-21deb#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>
2018-01-21remove accidentially committed flags=(complain)Rene Engelhard
Change-Id: Ia7116f77298b87d87221c80896b11a293d33f726
2018-01-21apparmor: allow running the "certificate manager" applications for gpgRene Engelhard
Change-Id: Ic71e05d7561e1dcb532795dbf0b6e9309c1032d2
2018-01-20readd lost commentRene Engelhard
Change-Id: I99e3b3941f0478213ec9efe6b5152f2d780a8d00
2018-01-20deb#887593 make gpg child profile really workRene Engelhard
now I can see my testkey and sign. Thanks Christian Bolz Change-Id: Idd46e7f7d2e16cf24bbdee10ecad772baaaa7f4a
2018-01-20deb#887593 use child profile for gpgRene Engelhard
see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887593#41 Change-Id: I365de8bf8a43a1aa304c5206a1f0c29d6a44855e
2018-01-18update copyright yearsRene Engelhard
Change-Id: I634c1132265295f90f624a53b93dddb2b18eabd5
2018-01-18deb#887593 apparmor: allow soffice.bin reading .mozilla/firefox and .gnupgRene Engelhard
Change-Id: I74b57cd510b1babbb4a537d307a6ffc9ee1d9ce5
2018-01-18deb#887593 add gpg and gpgsm to soffice.bin apparmor profileRene Engelhard
Change-Id: I4b37be72ebec86b9360ea2594b26815ddaab60cd
2018-01-18deb#887593 add #include <abstractions/X> to oosplash apparmor profileRene Engelhard
Change-Id: Ib9595b1e0fe888a6698c3c508a24390d3798b3e4
2018-01-18Resolves: rhbz#1535541 fdo#88004 mimetypes are .macroEnabled not .macroenabledCaolán McNamara
Change-Id: If7942ec9d4cd40f29fae2b9a8f76df1ef08bfc17 Reviewed-on: https://gerrit.libreoffice.org/48120 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2018-01-13tdf#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>
2018-01-05Include new .svg icons in freedesktop-menus.specStephan Bergmann
...newly added with 61be109b1c10df3ddbb27f2a398b121a7c977f30 "tdf#98141 add svg file for all app icons in all sizes". Otherwise building the rpms complains about "Installed (but unpackaged) file(s) found". (And per <https: //specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-0.13.html> it indeed seems OK to have .svg files in all the NxN sub-directories too, not only the scalable sub-directories.) Change-Id: I730ca19e67b452b309ca48a26ce806db7780c9f5
2018-01-04tdf#98141 add svg file for all app icons in all sizesandreas kainz
Change-Id: I9e2c5d854cec3320f825404bc3f1b5e7129f9dcc Reviewed-on: https://gerrit.libreoffice.org/47220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2017-12-31App icons: shrink svg files to a minimumandreas kainz
Change-Id: Ifb17c8a7b6f2d5cd4616256bbec08b9c51007be0 Reviewed-on: https://gerrit.libreoffice.org/47201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2017-12-11copyrightRene Engelhard
Change-Id: I102d9ca1be63c2ef8fef4957fb5589d98583881f
2017-12-11apparmor: 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
2017-12-11revert accidentially committed local changeRene Engelhard
Change-Id: I2dcac6b8faf1e89ff0c9483bef74ae7c22fc26fb
2017-12-11sysui/desktop/apparmor/program.soffice.bin: allow /usr/bin/gpgconfRene Engelhard
Change-Id: I762ed3961d929204fdb97a3272fc9ca73f7d0234
2017-12-11also allow /usr/bin/dash (etc.) for merged-/usr-scenarioRene Engelhard
Change-Id: Ic139e67b0931a4648bac147398970aa80a331c34
2017-12-07fix variable nameDavid Tardon
Change-Id: Ie3eef59c934f5fe4146a911e4ee652457b94edd8
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>