productversion.mk (7871dc3e) productversion.mk (bda541eb)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34PKGDIR:=$(ABSLOCALOUT)$/bin$/desktop-integration
35RPMMACROS= \
36 --define "_rpmdir $(PKGDIR)" \
37 --define "_rpmfilename %%{{NAME}}-%%{{VERSION}}-%%{{RELEASE}}.%%{{ARCH}}.rpm"
38.ELSE
39PKGDIR=$(BIN)
40.ENDIF
41
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 25 unchanged lines hidden (view full) ---

34PKGDIR:=$(ABSLOCALOUT)$/bin$/desktop-integration
35RPMMACROS= \
36 --define "_rpmdir $(PKGDIR)" \
37 --define "_rpmfilename %%{{NAME}}-%%{{VERSION}}-%%{{RELEASE}}.%%{{ARCH}}.rpm"
38.ELSE
39PKGDIR=$(BIN)
40.ENDIF
41
42# CAUTION! here the parsing result from openoffice.lst is NOT available, so this is hardcoded
43# but should not be. When replacing with $(UNIXBASISROOTNAME) it will be empty (!)
42PRODUCTLIST = openoffice.org
43
44PRODUCTLIST = openoffice.org
45
44# default values to minimize maintainance effort
46# default values to minimize maintainance effort
47
48# CAUTION! $(OOOBASEVERSION) from openoffice.lst NOT available (!)
45PRODUCTVERSION = 3.4
49PRODUCTVERSION = 3.4
50
51# CAUTION! $(BRANDPACKAGEVERSION) from openoffice.lst NOT available (!)
46PRODUCTVERSIONSHORT = 3
52PRODUCTVERSIONSHORT = 3
53
47PKGVERSION = $(PRODUCTVERSION)
48# gnome-vfs treats everything behind the last '.' as an icon extension,
49# even though the "icon_filename" in '.keys' is specified as filename
50# without extension. Since it also does not know how to handle "2-writer"
51# type icons :-), we are stripping all '.' for now.
52# ToDo: maybe we use a product major later ??
53ICONVERSION = $(PRODUCTVERSIONSHORT:s/.//g)
54# UNIXWRAPPERNAME variable is used to generate the common desktop files below share/xdg;
55# the default values get replaced by make_installer.pl at (core0x) packaging time;
56# another wrapper name can be forced by --with-unix-wrapper configure option
57# which is need by other distributors, see http://www.openoffice.org/issues/show_bug.cgi?id=75366
58UNIXWRAPPERNAME *= '$${{UNIXPRODUCTNAME}}$${{BRANDPACKAGEVERSION}}'
59
54PKGVERSION = $(PRODUCTVERSION)
55# gnome-vfs treats everything behind the last '.' as an icon extension,
56# even though the "icon_filename" in '.keys' is specified as filename
57# without extension. Since it also does not know how to handle "2-writer"
58# type icons :-), we are stripping all '.' for now.
59# ToDo: maybe we use a product major later ??
60ICONVERSION = $(PRODUCTVERSIONSHORT:s/.//g)
61# UNIXWRAPPERNAME variable is used to generate the common desktop files below share/xdg;
62# the default values get replaced by make_installer.pl at (core0x) packaging time;
63# another wrapper name can be forced by --with-unix-wrapper configure option
64# which is need by other distributors, see http://www.openoffice.org/issues/show_bug.cgi?id=75366
65UNIXWRAPPERNAME *= '$${{UNIXPRODUCTNAME}}$${{BRANDPACKAGEVERSION}}'
66
67# CAUTION! $(UNIXBASISROOTNAME) from openoffice.lst NOT available (!)
60PRODUCTNAME.openoffice.org = OpenOffice.org
68PRODUCTNAME.openoffice.org = OpenOffice.org
69
61PRODUCTVERSION.openoffice.org = $(PRODUCTVERSION)
62PRODUCTVERSIONSHORT.openoffice.org = $(PRODUCTVERSIONSHORT)
63PKGVERSION.openoffice.org = $(PKGVERSION)
64UNIXFILENAME.openoffice.org = $(PRODUCTNAME.openoffice.org:l)$(PRODUCTVERSIONSHORT.openoffice.org)
65ICONPREFIX.openoffice.org = $(UNIXFILENAME.openoffice.org:s/.//g)
66
70PRODUCTVERSION.openoffice.org = $(PRODUCTVERSION)
71PRODUCTVERSIONSHORT.openoffice.org = $(PRODUCTVERSIONSHORT)
72PKGVERSION.openoffice.org = $(PKGVERSION)
73UNIXFILENAME.openoffice.org = $(PRODUCTNAME.openoffice.org:l)$(PRODUCTVERSIONSHORT.openoffice.org)
74ICONPREFIX.openoffice.org = $(UNIXFILENAME.openoffice.org:s/.//g)
75