Commit Graph

1164 Commits

Author SHA1 Message Date
0c9e4d9b22 macosx: add --enable-macosx-retina
this tell the info.plist that the application is
'high resolution enabled'

Change-Id: I8e43e20f78c822d1cebab873f340143fe2dee4ea
2014-01-26 22:05:58 -06:00
a2b2f2d519 Revert "regression since fdo#70553"
This reverts commit 12546c8511f0cc8eec0ca7e8cb86ff00dfd429e6.

Apparently I stirred a hornet's nest with this. And I have already
wasted enough time arguing...
2014-01-23 22:00:19 +01:00
12546c8511 regression since fdo#70553
Since there was no explanation why this change had been made, I have
reverted it.

Change-Id: I3bf3428d960bf99d4c242d187bf1e2bf62e71aaa
2014-01-23 13:39:53 +01:00
dad7fe7227 Fix math categories to make SUSE rpm check happy
Change-Id: I6c6973be0eacd323838b137f2c1e27ed1d9fdbd3
2014-01-02 16:16:55 +01:00
56470d5f7a add some new mimetypes
Change-Id: Ia349d73eb30cf73a9bfbf70c95005bf74d70143c
2013-11-20 10:41:49 +01:00
0da9b2793d add missing semicolon
Change-Id: I69d7fbb1f1700779bc7ebbf419edf807b6b2dba9
2013-11-12 15:50:13 +01:00
2c258d0689 sysui: fix incremental builds in CustomTarget_share
The libreoffice/*.desktop need to have a target and rule to propagate
out-of-date-ness.

Change-Id: If341cc67ed6e24ceee7c00efba2750864aad4a70
2013-11-12 00:20:10 +01:00
3c47b0befd sysui: fix yet more cases of accidental OpenOffice.org XML rebranding
Change-Id: I9c6bbd0ae57b90f9fec570ec5dea5058625e0f8f
2013-11-04 13:19:55 +01:00
bc5069ac40 remove SOLARENV variable
It is constant and can just be replaced by $(SRCDIR)/solenv.

Use BUILD_TYPE where it was used to check if config_*.mk is sourced.

Change-Id: Ib9d480c57194b6340093aa47776f8768df69b7d1
2013-11-02 22:07:53 +01:00
78e4c8a925 fdo#70553: Fix Unity Quicklists
Change-Id: I4bf29d0021c1342cd529a7c6cbd86eceb467a9b5
2013-11-02 18:09:28 +01:00
9c40b2d67c sysui: remove Package_desktop
... put the CustomTarget dir on the search path instead.

Change-Id: I2888e10bfa58d3c5b0f39958328efb14c3ce92a9
2013-10-31 10:42:21 +01:00
3df5304ada sysui: remove Package_icons
- rename main_app.ico to soffice.ico (in case the name is relevant?)
- installer: hard-code path to sysui/desktop/icons/soffice.ico

Change-Id: Iacd6e28201c3f8e69375e0bfc516542e86131912
2013-10-30 00:01:36 +01:00
caf00f0498 sysui: stop delivering icons that are unused
Change-Id: Ie85f6dce7d9ff07346e7814f74e01f160bbc3177
2013-10-30 00:01:34 +01:00
a4d8d71c97 sysui: stop delivering icons that are used from SRCDIR already
Change-Id: I0dfbc23c03f9efe7b0020f15eb7f5312da3e6a80
2013-10-30 00:01:34 +01:00
8df17a3409 gbuild: set Package default target to INSTDIR
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28 20:17:26 +01:00
86299473eb sysui: deliver .desktop files to INSTDIR
Change-Id: Ie8cff1b77145cdec2b4cb5650987809d097a71cd
2013-10-24 17:56:05 +02:00
ef16fa914b replace libreoffice with UNIXBASISROOTNAME
Change-Id: Idf0fee94ef2c360ce509b34a2828022a8daf04d0
2013-10-24 10:43:00 +01:00
5486fd99e1 Fix syntax error in the LSMinimumSystemVersion value
Change-Id: I462a4608e93647e04e591628459e09d3661aec4d
2013-10-23 19:11:15 +03:00
a55d02bacb macosx: add a LSMinimumSystemVersion in Info.plist
the minimum version is set based on MACOSX_DEPLOYMENT_VERSION
It's purpose is to prevent the generated app to be executed
on a system that does not meet the requirement

Change-Id: I4ec09f8d1f96af1263d40bbe0e4b144c9622bba4
2013-10-22 21:51:57 -05:00
fb2dace686 remove superfluous endif
Change-Id: If585526ab15d31f2f7a1b46c216f0b019d913fd3
2013-10-04 16:48:25 +02:00
449ee2db73 Enable %U in desktop files with kde integration
This fixes issues when clicking on various URLS when the KDE only
integration were build.

Change-Id: Id15b67b8a5589bc54e1f3214e07d2e97b3eddea2
Reviewed-on: https://gerrit.libreoffice.org/6018
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-10-04 14:37:46 +00:00
1724f55432 sysui: remove cruft from freedesktop-menus.spec
Change-Id: I0e4dc2145fe4ddcb7b3e4d4d0233987a8b70dd34
2013-10-01 14:28:30 +02:00
9663478df8 fdo#69210: sysui: add AppData to system-integration RPM/DEB
Change-Id: Ifabf7965c922d7f719201cea39827acbccb57937
2013-10-01 14:28:30 +02:00
ceb9e098fc fdo#69210: sysui: add some AppStream AppData files
Change-Id: I5c4af1c36290f0e1b3815058bd68b952f6005f4a
2013-10-01 14:28:30 +02:00
d3c91ba5c2 gitignore configure-generated Info.plist
Change-Id: I390dfbdedd5c4b53519c51d9953a6be07f403bc0
2013-09-30 14:48:29 +02:00
bbbc51e931 Create a proper Info.plist for the OS X app bundle already in configure
After recent instdir changes the SCPZIP_REPLACE thing was not used any
more for Info.plist, so all the ${FOO} things were left in Info.plist
unexpanded with predictably wonky results, a non-working app.

Instead just expand it from the configure script.

While at it, use a correct CFBundleShortVersionString: only three
integers should be in that.

Also, hardcode FILEFORMATNAME as OpenOffice.org and FILEFORMATVERSION
as 1.0, and drop the "variables", as that is what those "variables"
*means*. They were used to refer to the OOo 1.0 formats. (It would
have been utterly wrong to define them as something else, like another
product name and a newer version number, in openoffice.lst, so
pointless to have them there.)

Drop the meaningless BUILDIDCWS.

Change-Id: I4030aa060b78e8b3fb812a6362869996e8db7d3d
2013-09-24 02:00:52 +03:00
4c63fd10a5 Try to fix cross-compilation
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions.

Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT.

Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-23 00:54:43 +03:00
fca4b8d48b Move Mac OS X Info.plist into instdir
Change-Id: I69139234a7f55101afc987a960bcdf5aca95c5b3
2013-09-11 09:31:49 +02:00
5397b49f4d Towards a working instdir for Mac OS X
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X,
where it is $(INSTDIR)/LibreOffice.app/Contents.  Most stuff ends up there (so
most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK-
related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME).  (And
GeneratedPackage needed to be made more flexible, to allow for packages that go
into either of those two places.)

For Android and iOS, gb_INSTROOT probably still needs to be set.

The most obvious missing thing yet to make instdir work for Mac OS X is the
instdir/*/LibreOffice.app/Contents/ure/ vs.
instdir/*/LibreOffice.app/Contents/ure-link/ split.

Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-09-11 00:50:54 +02:00
01b47bffd8 sysui: remove slackware desktop integration stuff
This is apparently not used at all currently; cloph says the
*slackware-menus*.tgz used to be bundled with RPM instsets but the last
release that contained it was apparently OOo 3.1.1; it is gone in OOo
3.2.1 RPM instset.  There are no bug reports about it missing, so no
problem with removing it altogether.

Change-Id: I1b93c94c4ac5c1d1826069b05cb58fdbb30cd71f
2013-07-31 13:16:43 +02:00
d7737f8454 sysui: build slackware stuff only on Linux
Change-Id: I1ffcbd5ebf560f9f7ba8ad4b1ec9fefdb32da487
2013-07-31 13:16:42 +02:00
6f4e3a2e27 avoid file conflict in debian-menus package (fdo#67031)
Use versioned file name for Debian specific /usr/lib/menu/libreoffice.

All the other files have been versioned for years when we did this
for RPMs. Heh, nobody noticed this with DEBs because people were
used to that conflict and did not complain ;-)

Change-Id: I1195279ff4825ed9154cf497ff3cc702f7309b6a
2013-07-22 12:18:03 +02:00
defe6adcdf use correct package name in libreofficeX.Y-debian-menus package (fdo#67041)
Add back the missing "-debian-menus" suffix. It was lost during gbuildisation.

Also add the X.Y version. The files and menu entries have been versioned
since LO 4.1 but we did not versioned the package name ;-)

Finally, fix typo in the package version definition and mention the
release number again.

Change-Id: I26e1664349c326db199905e6c5b1efb5d2d1723c
2013-07-18 15:42:24 +02:00
9642c6e66d debian-menus packages should not conflict with older versions (fdo#67031)
All the files and menu entries have been versioned since LO 3.4.
There are not real conflicts with older versions or native Debian
packages any longer.

Change-Id: Ie3afb8b506cb23767b52a5f9cf1c721521e60ec3
2013-07-18 11:45:46 +02:00
85c7e212a2 gbuild: consolidate ULF copypaste in gb_CustomTarget_ulfex_rule
Change-Id: I0c5b68f6bc81c7c1c88be2cde42fc06949fff8e7
2013-07-16 16:54:59 +02:00
b673ba2b2a sysui: oops, the mac stuff uses documents.ulf from CT_share
Change-Id: I2872a9bef161b7e073f6e236c3eb51081262d816
2013-07-15 23:12:26 +02:00
5bd6a5110b sysui: no point in trying to build .desktops and RPMs on Mac
Change-Id: I0b5b88ea381f1cbff7d645ef5b48a542411ef7a5
2013-07-15 21:04:57 +02:00
e2f002c044 fdo#66100 : fix icons associations on MacOSX
Change-Id: Idbce5516f1cc59b8d1cc39ee0a0db2aad90e8074
2013-07-04 04:52:19 -05:00
f7f7900e64 Add Flat Document and MathML MIME types
Change-Id: If9affe0e230ebcd4dbec9d4dcc8dc88fb8cde513
Reviewed-on: https://gerrit.libreoffice.org/4230
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-12 08:57:34 +00:00
673be8e768 add X-KDE-Protocols
* was previously money-patched in on Debian/Ubuntu packaging

Change-Id: I9cd14b0d61e6c73181f368387fb560b4edb383a6
2013-06-08 14:08:02 +02:00
c05184c95e Resolves: fdo#65243 broken mark up man page
Change-Id: If8a73e0416e19d9c59d93cc55f4f61bd01f11909
2013-06-07 11:42:50 +01:00
4d479ebf15 add StartupWMClass= to .desktop files (bnc#777070)
The actual purpose is to help Plasma taskbar associate taskbar items
with .desktop files for the purpose of creating launchers. LibreOffice's
WM_CLASS handling is rather broken, but the class part of it usually
ends up being 'libreoffice-<component>', which however doesn't match
names of .desktop files or executables. I fear renaming .desktop files
would cause too much breakages in various places that expect the current
names, so adding StartupWMClass will help Plasma match them.

Change-Id: Ia946307b429d9a7c00408b2b508726fdc88908ac
2013-06-06 18:35:20 +02:00
1c21f83d72 remove code which has been commented out
(cherry picked from commit 613c8044fd9af3d1820c293bd95d12b700177405)

Change-Id: I8412a600ea4a828639b3334b3d913705b6e4f782
2013-05-29 12:58:46 +01:00
5281a6c101 fix UNIXFILENAME variable for the Linux desktop integreation (fdo#64707)
There was a mistage when merging the clean up.

Note that $(UNIXFILENAME.$*) is not correctly substituted if the variables are define
by another VAR.bla variables. This is why we need to hardcode the lowercase names here.

Change-Id: I9110083122175cdbd09baa0533d890a7ef6d8213
2013-05-29 13:54:19 +02:00
aa36079760 Add Corel Draw and MS Publisher MIME Types to Draw
Change-Id: Idbaa8cea7427db3103954c6c60aa7caa6784a3ba
Reviewed-on: https://gerrit.libreoffice.org/4022
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-24 15:24:59 +00:00
514d69eff3 put common vars into standalone makefile
Change-Id: Iab78a95bc8588b89fb10dc96b6c2c25e864fc1f4
2013-05-20 18:28:35 +02:00
8550935cb1 several fixes of Linux desktop integration after gbuildisation (fdo#64707)
- $(UNIXFILENAME.$*) is not correctly substituted if the variables are defined
  by another VAR.bla variables
- add missing '-' to the iconprefix
- use '$${PRODUCTNAME} $${PRODUCTVERSION}' for the desktop menu; the real name
  and version is added later by the installer in instsetto_native
- use correct .po file for the translations
- deliver the localized and corrected desktop files

Change-Id: Ifcf797b57f94b16bd7ee498136c9c353b85c7c46
2013-05-17 18:18:51 +02:00
4ed380d62a bin obsolete suse and madriva desktop integration packages
The freedesktop solution has been supported by the Linux desktops
for many years. It should be enough these days. At least the
SUSE desktop integration has not been needed since about 2009.

Change-Id: Ib5048bd062802f6e70403e81433ea68ca9dff177
2013-05-17 18:18:51 +02:00
8e318ce626 move desktop translation tool to solenv.
Change-Id: I6e119f79a9293fa204904459c75ff97e5d3b5be6
2013-05-15 09:37:39 +01:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00