summaryrefslogtreecommitdiff
path: root/sysui
AgeCommit message (Collapse)Author
2019-07-31sysui: fix rpm errors in freedesktop-menus (4.14.1)Michael Stahl
RPM build errors: Explicit %attr() mode not applicable to symlink: /workdir/CustomTarget/sysui/rpm/libreofficedev/freedesktop/usr/bin/libreofficedev6.1 Installed (but unpackaged) file(s) found: /usr/local/lib/girepository-1.0/LOKDocView-0.1.typelib /usr/share/gir-1.0/LOKDocView-0.1.gir The LOKDocView problem turned out to be the result of the first incremental build after adding --with-package-format, and previously it was avoided with a if in configure; moving the commands out of create_tree.sh should be more obvious and reliable though. Change-Id: I69c1566e26eeaa1d8bf88a3650a78da6ddfb5a3b Reviewed-on: https://gerrit.libreoffice.org/76596 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 634844354ee6ed884128086a80c3ee32c889d8c9)
2019-06-17Add final CIB branding and product name updateMarina Latini (CIB)
- new brand folder and icon set - new icon set available in configure.ac and new CIB color for the startcenter - new LibreOffice powered by CIB product with SDK - new flat logo and main svg app - new Banner.bmp and Image.bmp for windows installer - new branding for MSI and splash screen - new branded locolor and hicolor icons Change-Id: Id583453910f50839dbe1f114afc5c6a4aa6c2e07
2018-08-28apparmor: fix printing to fileVincas Dargis
AppArmor denies writing to .ps files and dealing with temporaries needed for "Print to file" functionality. Add .ps to the allowed extensions list, also giving access to rm executable together with writing printing-related temporary file. Change-Id: I415e1401878bff6459f42162d4e8b517261b9cec Reviewed-on: https://gerrit.libreoffice.org/59114 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org> (cherry picked from commit 136077b40cdabab83aec6833bf3895d4305d30a3) Reviewed-on: https://gerrit.libreoffice.org/59662 Reviewed-by: Vincas Dargis <vindrg@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-15apparmor: fix access to /etc/xml/catalogVincas Dargis
Exporting document to .xhtml produces AppArmor deny log entry. Add AppArmor rule for accessing /etc/xml/catalog as it is needed by libxml2. Change-Id: If62046059c4e1d458cca895f14f7d1e3f537c527 Reviewed-on: https://gerrit.libreoffice.org/59005 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org> (cherry picked from commit a826cb4f9655ab8b994c4da258835f5f6ddb5a5f) Reviewed-on: https://gerrit.libreoffice.org/59042 Reviewed-by: Vincas Dargis <vindrg@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-08-15apparmor: allow writing .epub filesVincas Dargis
Currently, exporting document to .epub fails if AppArmor profile is enabled. This patch fixes it by registering .epub extension within AppArmor profile. Change-Id: I5075ac803ffd9157c2f2cc6546895149b0fdd5f2 Reviewed-on: https://gerrit.libreoffice.org/59004 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org> (cherry picked from commit 8d1f307c2fb1fa6b0402b88954269a0b0442d02f) Reviewed-on: https://gerrit.libreoffice.org/59043 Reviewed-by: Vincas Dargis <vindrg@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-08-14tdf#116856 Update screenshot imagesXisco Fauli
Taken from https://www.libreoffice.org/discover/screenshots/ Thanks to guilhem for creating the hub redirection Change-Id: I57a8fb928e9353d9b305c2e1b09b4f0dd13624f6 Reviewed-on: https://gerrit.libreoffice.org/52767 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit fa81dd8e34816f8b1d57576f0c7fcbf3c66271e6) Reviewed-on: https://gerrit.libreoffice.org/58994 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-08-07deb#905442 apparmor: fix saving files in enforced modeVincas Dargis
Add rule to allow creating temporary files like `lu6924jgpjkq.tmp`, because without it files cannot be saved. Change-Id: I640897df5d325e2d01da16840034abbd095fb276 Reviewed-on: https://gerrit.libreoffice.org/58672 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 8ca83479ab1f921a14a366432a513a904af0dd20) Reviewed-on: https://gerrit.libreoffice.org/58677 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2018-07-03App icon updateandreas kainz
Change-Id: I3ac392f903644281c6a1ccb9183fbe1c72b78311 Reviewed-on: https://gerrit.libreoffice.org/56847 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com> (cherry picked from commit 9f0bd172d0d9f0d282131a57bb4098096afd2e2a) Reviewed-on: https://gerrit.libreoffice.org/56881
2018-06-26update app icns iconsandreas kainz
thanks Mike Saunders Change-Id: I7d358a4ccebc008efc67874db5d3f05efc80444a Reviewed-on: https://gerrit.libreoffice.org/56207 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com> (cherry picked from commit dbcccd374e511f1667e09b5aade617d78f51eab5) Reviewed-on: https://gerrit.libreoffice.org/56419
2018-06-15New libreoffice app iconsandreas kainz
Change-Id: I4d5f46387932693e14634a64daf2bd193590b536 Reviewed-on: https://gerrit.libreoffice.org/55859 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-05-24revert accidentially committed partRene Engelhard
Change-Id: I778feac0b50390f59a3621279636f8b09ed3def2
2018-05-24apparmor: 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
2018-05-23deb#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>
2018-05-23remove Linux ("UNX") systray "Quickstarter"Rene Engelhard
Change-Id: Ie0e8b8b7ad59ee640d6b195dfae1a7cf745056fd Reviewed-on: https://gerrit.libreoffice.org/54543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-05-04Removed executable permission on data fileAndrea Gelmini
Change-Id: I0f86653ff94cead486f6c158e875f07533e1cb5d Reviewed-on: https://gerrit.libreoffice.org/53687 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-15use the standard name pattern for a packageDavid Tardon
Change-Id: Ia5bf93d6af6ff301439ef04593fcb1d13ab3aa9f
2018-03-01tdf#116086 Apparmor profiles fixes for xslm file extensionOlivier Tilloy
This allows opening files with the xlsm and xltm extensions (Excel macro-enabled workbooks and templates). Change-Id: I9282f83ff15108a703b98f1752eeee94a2f174c1 Reviewed-on: https://gerrit.libreoffice.org/50514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-19apparmor: allow cert9.dbRene Engelhard
... as used by firefox >= 58 Change-Id: I2769020327d3d097f734ab2c152bee2474b99767
2018-02-18tdf#115554: Fix ownership in desktop-integration tarsMichael Weghorn
Use fakeroot to call tar when creating the tar.gz archives holding the desktop-integration parts to have root:root as owner of the files inside those. Change-Id: Idcdcb4dd398f330773671266dafb354711b0f093 Reviewed-on: https://gerrit.libreoffice.org/49827 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-18tdf#115554: Use 'fakeroot' to build Debian packagesMichael Weghorn
The command to create Debian packages must be run as root or faked to be run as root. The 'fakeroot' makes sure the command is run in an environment faking root privileges for file manipulation. This makes sure that file ownerships and permissions inside the created deb packages are correct. Using fakeroot instead of the custom "libgetuid" makes it unnecessary to care about internals of the underlying tools (like tar) and changes in those by ourselves. Change-Id: I2cbb203ab84f740377e535c1051c2b879779b164 Reviewed-on: https://gerrit.libreoffice.org/49597 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-14initial apparmor stuff for lo_kde5filepickerRene Engelhard
Change-Id: I310f44bb7145449560aa28d5b33272ece0b307c2
2018-02-14tdf#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 - execute xdg-open and xdg-email unconfined Change-Id: Ie7c5b112bd6c415036490e9f0f81063ca3ced5a1 Reviewed-on: https://gerrit.libreoffice.org/49614 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-06state that you're doing the re-revert because the previous revert was by ↵andreas_kainz
accident Revert "Revert "tdf#98141 add svg file for all app icons in all sizes"" This reverts commit 6ec4b1d0d4592a1e3c36151a062bd713a7939d14. Change-Id: I4c18c0fa3089824a18d25d7450b8dd52e410d514 Reviewed-on: https://gerrit.libreoffice.org/49136 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
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