Commit graph

1240 commits

Author SHA1 Message Date
Richard PALO
ba65817fb9 tdf#100013 sysui: fix invalid tar invocation
Change-Id: Ie7c482d387f9ffd3be92759200446951b9084408
2017-09-29 16:59:09 +02:00
Rene Engelhard
b72766bc4d deb#872001: stop shipping mimelnk desktop files
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-08-15 21:27:08 +02:00
Michael Stahl
4ffdb6750f remove TDE integration (vclplug, address book, config backend)
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-06-13 10:41:24 +02:00
Jochen Nitschke
b7988de7c0 tdf#105204 fix iteration over profile
regression of
commit 7bec7abd4c
    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-30 12:36:52 +02:00
Yeliz Taneroğlu
7bec7abd4c tdf#105204: ShellCheck nitpicks for apparmor.sh
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-20 11:46:43 +02:00
Yeliz Taneroğlu
e6f2952fc3 tdf#105204 fix shellcheck warnings in sysui/desktop/solaris
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-05-11 11:46:18 +02:00
Andrea Gelmini
ea0b508025 Fix typos
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-25 16:51:22 +00:00
Andrea Gelmini
d948d66509 Fix typos
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-03-19 05:49:15 +00:00
Aleix Pol
3772c676ad Install a libreoffice-kde.appdata.xml file for KDE integration
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-23 08:05:40 +00:00
Muhammet Kara
801e804143 Remove useless cat, and replace backtick
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>
2017-01-04 15:42:08 +00:00
Samuel Mehrbrodt
ce61ba2d54 Use hub links in Appdata
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-12-02 08:05:27 +00:00
Michael Stahl
6b5cbdf833 sysui: add "translate" urls to AppData files
* run "appstream-util upgrade"
* add "translate" urls

Change-Id: I3bad7d5dd90cce7703a100ac95097ad3a8f2c56d
2016-11-01 15:49:22 +01:00
David Tardon
681a1ca27f improve debug output
Change-Id: I7c5b8e67ee19e6a7d7909acb03d2d695cdc17a24
2016-10-25 09:02:55 +02:00
David Tardon
b1686f6cf1 tdf#103448 remove WPS Office exts. from MIME types
Change-Id: I99e199ba0dd703703f0feafeb1a9b6970507050d
2016-10-25 09:02:54 +02:00
David Tardon
1f2179bb31 add StarOffice mimetypes to desktop files
Change-Id: I4c68ad86a56e1b8ba4c142c62ffa2e486c89f90e
2016-08-11 16:48:29 +02:00
Tor Lillqvist
b640a1343b Introduce --with-product-name superseding --with-macosx-app-name
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-08-04 17:44:40 +03:00
Bryan Quigley
a8c2d1c9fa AppArmor fixes to fix tests
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-07-07 11:57:34 +00:00
Samuel Mehrbrodt
8e8b51cbe2 tdf#70998 Termchange: Graphic->Image
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-05-06 12:27:45 +00:00
Bryan Quigley
577fbba417 tdf#99251 Update AppArmor Profiles
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-04-14 12:30:37 +00:00
Jaskaran
a1a63373f9 tdf#82335 Register Libreoffice for Kingsoft file types
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-09 10:23:16 +00:00
Bryan Quigley
cafd3adcba Just use xdg-open
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-03-02 16:19:27 +00:00
Adolfo Jayme Barrientos
1fccc616d2 Add missing trailing semicolon to Keywords again
$ desktop-file-validate draw.desktop
draw.desktop: error: value does not have a semicolon (';') as trailing character

Regression from ab8c349f7b.

Change-Id: Idf74200ca4cf17f8918ee388f347a805ac3161f3
2016-02-18 19:48:50 -06:00
Yousuf Philips
ab8c349f7b Add pdf and visio to info to Draw's linux application menu file
Change-Id: I4d7964c60a3a1f775e696d45e8f1ef7ee06dfb4f
Reviewed-on: https://gerrit.libreoffice.org/22445
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-18 07:28:08 +00:00
Sean Young
264c398888 Set file association for MS Write files on linux and Mac
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-18 07:43:22 +00:00
Andrea Gelmini
64d624b651 Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10 14:17:20 +00:00
David Tardon
5f98164288 add more URLs to appdata files
Change-Id: If32565d244d7882e1fca514214e5be1351ead41f
2016-01-05 17:09:17 +01:00
Michael Stahl
6cf31f69b4 sysui: also add HighContrast and UserDocs to AppData
Change-Id: I204cdb190d9d505551fb3f7b77046dd171b94290
2016-01-05 14:55:16 +01:00
Richard Hughes
c7fee34686 sysui: add "kudos" to AppData files
Change-Id: I36cf0a8aa2f501fa30d86de35ae083e78ce0904b
2016-01-05 14:55:16 +01:00
Bryan Quigley
eaa7f30102 Remove gnome-open support
Gnome-open has been deprecate for some time.  xdg-open replaces it.

Change-Id: I7fc0f32a1f2fbadbe3d1cee58d0089213665c3a5
Reviewed-on: https://gerrit.libreoffice.org/20347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-12-17 13:56:22 +00:00
David Tardon
4915a2bed6 fix typo
Change-Id: I2889ea7e0ca266675b05b8d9aff6113c8f6e9634
2015-12-07 13:03:40 +01:00
David Tardon
8d7d3469da update the appstream files to most recent version of the spec
Change-Id: I6b23be2af3ab28431266075da389b62372508961
2015-12-07 13:03:39 +01:00
Rene Engelhard
4a2dc0e4b0 fix/update AppData files
- make XML tags follow (uptodate) spec
18:23 <ximion> <id type="desktop">libreoffice-draw.desktop</id> =>
               <id>libreoffice-draw.desktop</id>
18:23 <ximion> <application> => <component type="desktop">
- fix license
- add working url/screenshot URLs
2015-11-30 19:58:48 +01:00
Michael Stahl
95af641c81 remove vestigial Adabas D references in tests etc.
Adabas D connector was removed in 8256eb0205

Change-Id: Ie142763ac32728c1596c196d919cbe84e6735c96
2015-11-17 10:20:33 +01:00
Bjoern Michaelsen
e60872a589 lp#1170035: Fix l10n for quicklist 2015-10-23 12:32:09 +02:00
Andras Timar
eb911d6922 PREFIXDIR must be /usr for .deb system integration package
... tools don't find *.desktop files in /usr/local or elsewhere,
and the applications will not be registered in menus. Fixed the
regression from d2cc121e07

Change-Id: I679b98b5cd0a502553fb13025ee8b9ac4bb5507e
2015-10-17 20:11:43 +02:00
Caolán McNamara
56a36956ed Related: tdf#72880 add vnd.libreoffice.cmis to CFBundleURLTypes
have a stab at this to see if this would work

Change-Id: Idd24b42d5ea0b5ade44b1a2d849a0ad1c85c3827
Reviewed-on: https://gerrit.libreoffice.org/19249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-08 15:24:39 +00:00
Caolán McNamara
ac33ef3a4a Related: tdf#72880 presumably using startcenter as generic LO target will work
for the gnome case

Change-Id: Icb5ad2d50d672b35783720c100a408fa3e5cb63e
2015-10-08 13:18:06 +01:00
Andras Timar
e1208d37e4 Info.plist: fix ERROR ITMS-90243
"The product archive is invalid. The value of the
CFBundleDocumentTypes key in the Info.plist must be an array of
dictionaries, with each dictionary containing at least the
CFBundleTypeName key."

Change-Id: I70570cdbe729e64453a88b6a7abbfd4259333237
2015-10-07 17:30:35 +02:00
Andras Timar
9942defff7 Info.plist: removed deprecated stuff, added cdr, visio, mspub formats
Change-Id: I24a83ba15591aca8787726f9fabf12b56ed323b2
Reviewed-on: https://gerrit.libreoffice.org/19148
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2015-10-06 09:29:15 +00:00
Andras Timar
0c60fae0ad Info.plist: add Chart documents
Change-Id: I1c29b640735e0f62eb8fbc59970f446a14784002
2015-10-04 22:46:14 +02:00
Andras Timar
9a65f22079 Info.plist: add UTTypeIconFile keys
Change-Id: Iaa091521ea246fd2ccd403c5db9bce5dad67756d
2015-10-04 22:41:09 +02:00
Andras Timar
9743bf01cd Info.plist: add CFBundleVersion
Change-Id: Ib4a13e7b0e1a4ff528563c7a883c3dbbac864bf6
2015-10-04 22:08:10 +02:00
Andras Timar
dddc893807 Info.plist: binary StarOffice formats are not supported
Change-Id: I339c4c92121e29cdd39eb598d21ec2fca93300db
Reviewed-on: https://gerrit.libreoffice.org/19134
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2015-10-04 20:02:46 +00:00
Adolfo Jayme Barrientos
990efa00ce Change Unity Quicklist to use applications’ names
Since we’re still not having translations here, paliate that
at least a little bit by not having strings that require
translations in the fist place.

Change-Id: I93b4f0780bc009587cd55fa6588e16b0d4df7942
2015-10-04 08:37:45 -05:00
Bryan Quigley
3de49e44c5 Update apparmor profiles for 5.0/5.1
Java's position was moved.  Add workaround instructions
to use with debs built upstream (not ubuntu/debian version)

Change-Id: Ia42426aabbcfabb2ca46d811d8b742e23b33d4b6
Reviewed-on: https://gerrit.libreoffice.org/18999
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30 10:11:52 +00:00
Miklos Vajna
c722e9e728 sysui: introspection wants ${INSTDIR}, not ${DESTDIR}/${INSTALLDIR}
The later can be empty for the generic rpm case.

Change-Id: I69c62dcd2a16004c7927c9cf67837463e6411a8d
Reviewed-on: https://gerrit.libreoffice.org/18675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-18 09:01:39 +00:00
Miklos Vajna
9b3495b4af sysui: depend on libreofficekitgtk for introspection
Change-Id: I028d4e6d3c5fd57ae412fcfca5184722e4283524
Reviewed-on: https://gerrit.libreoffice.org/18671
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-18 06:01:53 +00:00
Miklos Vajna
d8026ad65c sysui: g-ir-scanner is not available in when introspection is disabled
Should fix the RHEL6 build.

Change-Id: I3d6e6a2b43c2d6a43ea0686600cf2f893c518cc8
Reviewed-on: https://gerrit.libreoffice.org/18566
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-14 12:49:51 +00:00
Pranav Kant
8f2aace934 create_tree.sh: Generate g-i files
Change-Id: I1749b5b02018cfe6f85a13aed8de4b31a09788e3
Reviewed-on: https://gerrit.libreoffice.org/18494
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-14 07:58:16 +00:00
Michael Stahl
72699595aa remove KDE3 support, --enable-kde and --enable-kdeab
With the new RHEL6-era baseline TDF can finally ship KDE4 support.

Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:18:03 +00:00