Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
427 changes: 427 additions & 0 deletions LICENSE-CC.txt

Large diffs are not rendered by default.

21 changes: 15 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ DOCUMENTSERVER_FILES += $(DOCUMENTSERVER)/sdkjs-plugins
3RD_PARTY_LICENSE_FILES += $(DOCUMENTSERVER)/server/3rd-Party.txt
3RD_PARTY_LICENSE_FILES += $(DOCUMENTSERVER)/server/license

LICENSE_FILE = $(BRANDING_DIR)/common/documentserver/license/$(PACKAGE_NAME)/LICENSE.txt
LICENSE_FILE := $(firstword $(wildcard $(BRANDING_DIR)/common/documentserver/license/$(PACKAGE_NAME)/LICENSE.txt) LICENSE)
HTMLFILEINTERNAL = $(DOCUMENTSERVER)/server/FileConverter/bin/HtmlFileInternal/HtmlFileInternal

DOCUMENTSERVER_EXAMPLE = common/documentserver-example/home
Expand Down Expand Up @@ -301,6 +301,9 @@ M4_PARAMS += -D M4_DS_FILES='$(DS_FILES)'
M4_PARAMS += -D M4_DS_EXAMPLE='$(DS_EXAMPLE)'
M4_PARAMS += -D M4_DEV_NULL='$(DEV_NULL)'
M4_PARAMS += -D M4_PACKAGE_SERVICES='$(PACKAGE_SERVICES)'
CURRENT_YEAR := $(shell date +"%Y")
M4_PARAMS += -D M4_CURRENT_YEAR=$(CURRENT_YEAR)
M4_PARAMS += -D M4_CONTRIBUTORS_YEARS=$(if $(filter 2026,$(CURRENT_YEAR)),2026,2026-$(CURRENT_YEAR))

RPMBUILD_BINARY_PAYLOAD ?= w9T$(shell nproc).xzdio

Expand Down Expand Up @@ -395,13 +398,12 @@ documentserver:

ifeq ($(PLATFORM),win)
cp -fr -t $(DOCUMENTSERVER)/license exe/license/*.license
echo ; >> $(DOCUMENTSERVER)/3rd-Party.txt
cat exe/license/3rd-Party.txt ; >> $(DOCUMENTSERVER)/3rd-Party.txt
echo >> $(DOCUMENTSERVER)/3rd-Party.txt
cat exe/license/3rd-Party.txt >> $(DOCUMENTSERVER)/3rd-Party.txt
endif

[ -f $(LICENSE_FILE) ] \
&& cp -f -t $(DOCUMENTSERVER) $(LICENSE_FILE) \
|| cp -f -t $(DOCUMENTSERVER) LICENSE
cp -f -t $(DOCUMENTSERVER) $(LICENSE_FILE) LICENSE-CC.txt
m4 $(M4_PARAMS) NOTICE.m4 > $(DOCUMENTSERVER)/NOTICE

chmod u+x $(DOCUMENTSERVER)/server/FileConverter/bin/x2t$(EXEC_EXT)
#chmod u+x $(DOCUMENTSERVER)/server/FileConverter/bin/docbuilder$(EXEC_EXT)
Expand Down Expand Up @@ -530,6 +532,13 @@ common/documentserver/nginx/ds.conf: common/documentserver/nginx/ds.conf.tmpl
deb/build/debian/% : deb/template/%
mkdir -pv $(@D) && cp -fv $< $@

deb/build/debian/copyright : deb/template/copyright.m4 $(LICENSE_FILE) LICENSE-CC.txt
mkdir -pv $(@D) && m4 -I"$(BRANDING_DIR)" $(M4_PARAMS) $< > $@
awk -v MAIN_LICENSE="$(LICENSE_FILE)" -v CC_LICENSE="LICENSE-CC.txt" '\
/^License: CC-BY-SA-4.0$$/ { print; while ((getline l < CC_LICENSE) > 0) print (l == "" ? " ." : " " l); next }\
/^License: AGPL-3.0-only$$/ { print; while ((getline l < MAIN_LICENSE) > 0) print (l == "" ? " ." : " " l); next }\
{ print }' $@ > $@.tmp && mv $@.tmp $@

deb/build/debian/% : deb/template/%.m4
mkdir -pv $(@D) && m4 -I"$(BRANDING_DIR)" $(M4_PARAMS) -D M4_PACKAGE_VERSION=$(PACKAGE_VERSION)$(DEB_RELEASE_SUFFIX) $< > $@

Expand Down
27 changes: 27 additions & 0 deletions NOTICE.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (C) Ascensio System SIA, 2009-M4_CURRENT_YEAR
Copyright (C) M4_CONTRIBUTORS_YEARS Euro-Office contributors

Euro-Office is a modified version of ONLYOFFICE, originally developed by
Ascensio System SIA. Euro-Office is not affiliated with, endorsed by, or
sponsored by Ascensio System SIA. ONLYOFFICE is a trademark of Ascensio
System SIA.

This program is free software, licensed under the GNU Affero General Public
License version 3 (AGPL-3.0-only), see the LICENSE file. Bundled third-party
components and their licences are listed in 3rd-Party.txt and license/.

Illustrations, icon sets and documentation content are licensed under the
Creative Commons Attribution-ShareAlike 4.0 International licence
(CC BY-SA 4.0), see LICENSE-CC.txt. Licensor: Ascensio System SIA, with
modifications by Euro-Office contributors.

Fonts in core-fonts/ and dictionaries in dictionaries/ are third-party works
under their own licences, see the licence files in those directories where
present.

favicon_eo.svg, footer_help_eo.svg and mobile-logo_eo.svg are Material
Symbols by Google, recoloured, licensed under the Apache License 2.0:
https://www.apache.org/licenses/LICENSE-2.0

The complete corresponding source code is available at:
https://github.com/Euro-Office
1 change: 1 addition & 0 deletions common/documentserver-example/welcome/css/favicon_eo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 23 additions & 22 deletions deb/template/copyright.m4
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: M4_PUBLISHER_NAME
Upstream-Contact: M4_PUBLISHER_NAME <M4_SUPPORT_MAIL>
Source: M4_PUBLISHER_URL

Files: *
Copyright: (c) Copyright M4_PUBLISHER_NAME, 2026 <M4_SUPPORT_MAIL>
Copyright: (c) Copyright Ascensio System SIA, 2009-M4_CURRENT_YEAR
(c) Copyright Euro-Office contributors, M4_CONTRIBUTORS_YEARS
Comment: Bundled third-party components are listed with their licences in
3rd-Party.txt and license/.
License: AGPL-3.0-only

ifdef(COMMERCIAL, License: Commercial,
License: AGPLv3
This program is a free software product. You can redistribute it and/or
modify it under the terms of the GNU Affero General Public License (AGPL)
version 3 as published by the Free Software Foundation. In accordance with
Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
that Ascensio System SIA expressly excludes the warranty of non-infringement
of any third-party rights.
Files: *.gif *.ico *.jpg *.png *.svg
Copyright: Ascensio System SIA, with modifications by Euro-Office contributors
Comment: Images of bundled third-party components keep their own licences,
see 3rd-Party.txt and license/.
License: CC-BY-SA-4.0

This program is distributed WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
Files: */core-fonts/* */dictionaries/*
Copyright: various, see accompanying licence files
License: other
Fonts and dictionaries are third-party works under their own licences.
Where present, the licence files are installed next to them in
core-fonts/ and dictionaries/.

The interactive user interfaces in modified source and object code versions
of the Program must display Appropriate Legal Notices, as required under
Section 5 of the GNU AGPL version 3.

All the Product's GUI elements, including illustrations and icon sets, as
well as technical writing content are licensed under the terms of the
Creative Commons Attribution-ShareAlike 4.0 International. See the License
terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
)
Files: */favicon_eo.svg */footer_help_eo.svg */mobile-logo_eo.svg
Copyright: Google LLC
License: Apache-2.0
Material Symbols by Google, recoloured.
On Debian systems, the full text of the Apache License 2.0 can be found
in /usr/share/common-licenses/Apache-2.0.
2 changes: 1 addition & 1 deletion exe/license/community/LICENSE.rtf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
\b\f0\fs28 How to Apply These Terms to Your New Programs\b0\f1\fs24\par
\f0 If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.\f1\par
\f0 To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.\f1\par
\f3 ONLYOFFICE Docs Community Edition\line Copyright (C) 2010-2023 Ascensio System SIA\line\line This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\line\line This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\line\line You should have received a copy of the GNU Affero General Public License along with this program. If not, see <{\cf0{\field{\*\fldinst{HYPERLINK "https://www.gnu.org/licenses/"}}{\fldrslt{https://www.gnu.org/licenses/\ul0\cf0}}}}\f3\fs24 >.\line\line You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish street, Riga, Latvia, EU, LV-1050.\line\line The interactive user interfaces in modified source and object code version of the Program must display Appropriate Legal Notices, as required under Section 5 of the GNU AGPL version 3.\line\line Pursuant to Section 7(b) of the License you must retain the original Product logo when distributing the program. Pursuant to Section 7(e) we decline to grant you any rights under trademark law for use of our trademarks.\par
\f3 ONLYOFFICE Docs Community Edition\line Copyright (C) 2010-2023 Ascensio System SIA\line\line This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\line\line This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\line\line You should have received a copy of the GNU Affero General Public License along with this program. If not, see <{\cf0{\field{\*\fldinst{HYPERLINK "https://www.gnu.org/licenses/"}}{\fldrslt{https://www.gnu.org/licenses/\ul0\cf0}}}}\f3\fs24 >.\line\line You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish street, Riga, Latvia, EU, LV-1050.\line\line The interactive user interfaces in modified source and object code version of the Program must display Appropriate Legal Notices, as required under Section 5 of the GNU AGPL version 3.\par
\f0 Also add information on how to contact you by electronic and paper mail.\f1\par
\f0 If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.\f1\par
\f0 You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <{\cf0\lang255{\field{\*\fldinst{HYPERLINK "https://www.gnu.org/licenses/"}}{\fldrslt{https://www.gnu.org/licenses/\ul0\cf0}}}}\f0\fs24 >.\f1\par
Expand Down
2 changes: 1 addition & 1 deletion rpm/package.spec.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include(variables.m4)
License: AGPL
License: AGPL-3.0-only AND CC-BY-SA-4.0 AND Apache-2.0

ifelse('M4_DS_EXAMPLE_ENABLE', '1',
%define example 1,)
Expand Down
Loading