[Libreoffice-commits] .: Branch 'integration/dev300_m98' - 1810 commits - buildscript.sh configure.in dmake/getinp.c fetch_tarballs.sh git-hooks/pre-commit .gitignore GNUmakefile.mk instsetoo_native/inc_openoffice instsetoo_native/prj instsetoo_native/util Makefile.in Module_ooo.mk RepositoryFixes.mk Repository.mk scp2/inc scp2/macros scp2/source set_soenv.in soldep/bootstrp soldep/inc solenv/bin solenv/doc solenv/gbuild solenv/inc solenv/makefile.mk solenv/prj solenv/src soltools/giparser soltools/HIDCompiler soltools/mkdepend soltools/prj soltools/support stlport/makefile.mk
Michael Meeks
mmeeks at kemper.freedesktop.org
Fri Feb 11 09:01:25 PST 2011
.gitignore | 397 +-
GNUmakefile.mk | 37
Makefile.in | 14
Module_ooo.mk | 43
Repository.mk | 137
RepositoryFixes.mk | 192 +
buildscript.sh | 18
configure.in | 91
dmake/getinp.c | 12
fetch_tarballs.sh | 162 +
git-hooks/pre-commit | 7
instsetoo_native/inc_openoffice/unix/makefile.mk | 4
instsetoo_native/inc_openoffice/windows/msi_languages/makefile.mk | 5
instsetoo_native/prj/build.lst | 2
instsetoo_native/prj/d.lst | 1
instsetoo_native/util/makefile.mk | 3
instsetoo_native/util/openoffice.lst | 81
scp2/inc/macros.inc | 79
scp2/macros/makefile.mk | 2
scp2/source/base/file_base.scp | 14
scp2/source/binfilter/file_binfilter.scp | 6
scp2/source/calc/file_calc.scp | 17
scp2/source/calc/registryitem_calc.scp | 2
scp2/source/canvas/cairocanvas.scp | 3
scp2/source/canvas/canvascommons.scp | 4
scp2/source/canvas/directxcanvas.scp | 6
scp2/source/canvas/vclcanvas.scp | 2
scp2/source/draw/registryitem_draw.scp | 6
scp2/source/gnome/file_gnome.scp | 24
scp2/source/graphicfilter/file_graphicfilter.scp | 4
scp2/source/impress/file_impress.scp | 4
scp2/source/impress/makefile.mk | 2
scp2/source/impress/module_ogltrans.scp | 3
scp2/source/impress/registryitem_impress.scp | 8
scp2/source/javafilter/file_javafilter.scp | 2
scp2/source/kde/file_kde.scp | 4
scp2/source/math/file_math.scp | 4
scp2/source/onlineupdate/file_onlineupdate.scp | 2
scp2/source/ooo/common_brand.scp | 16
scp2/source/ooo/directory_ooo_macosx.scp | 4
scp2/source/ooo/file_improvement.scp | 2
scp2/source/ooo/file_library_ooo.scp | 430 +-
scp2/source/ooo/file_ooo.scp | 48
scp2/source/ooo/file_resource_ooo.scp | 9
scp2/source/ooo/makefile.mk | 1
scp2/source/ooo/module_help_template.scp | 46
scp2/source/ooo/module_hidden_ooo.scp | 1
scp2/source/ooo/module_lang_template.scp | 9
scp2/source/ooo/ooo_brand.scp | 7
scp2/source/ooo/profileitem_ooo.scp | 18
scp2/source/ooo/ure.scp | 88
scp2/source/python/file_python.scp | 4
scp2/source/python/module_python_mailmerge.scp | 3
scp2/source/templates/makefile.mk | 6
scp2/source/templates/module_langpack_accessories_templates_root.sct | 6
scp2/source/testtool/file_testtool.scp | 7
scp2/source/winexplorerext/file_winexplorerext.scp | 10
scp2/source/writer/file_writer.scp | 14
scp2/source/writer/registryitem_writer.scp | 14
set_soenv.in | 23
soldep/bootstrp/command.cxx | 683 ++++
soldep/bootstrp/sstring.cxx | 314 ++
soldep/inc/soldep/command.hxx | 163 +
soldep/inc/soldep/sstring.hxx | 105
solenv/bin/build.pl | 724 ++--
solenv/bin/buildalyzer | 138
solenv/bin/createcomponent.xslt | 51
solenv/bin/deliver.pl | 32
solenv/bin/id-lang.map | 102
solenv/bin/linkoo | 17
solenv/bin/macosx-create-bundle | 2
solenv/bin/make_installer.pl | 39
solenv/bin/mhids.pl | 398 --
solenv/bin/mkdocs.sh | 10
solenv/bin/modules/CreatePDBRelocators.pm | 61
solenv/bin/modules/RepositoryHelper.pm | 10
solenv/bin/modules/SourceConfig.pm | 33
solenv/bin/modules/SourceConfigHelper.pm | 422 ++
solenv/bin/modules/installer/control.pm | 32
solenv/bin/modules/installer/download.pm | 2
solenv/bin/modules/installer/environment.pm | 4
solenv/bin/modules/installer/globals.pm | 13
solenv/bin/modules/installer/helppack.pm | 126
solenv/bin/modules/installer/parameter.pm | 15
solenv/bin/modules/installer/regmerge.pm | 339 --
solenv/bin/modules/installer/scriptitems.pm | 80
solenv/bin/modules/installer/servicesfile.pm | 1059 -------
solenv/bin/modules/installer/setupscript.pm | 1
solenv/bin/modules/installer/simplepackage.pm | 34
solenv/bin/modules/installer/substfilenamefiles.pm | 5
solenv/bin/modules/installer/windows/admin.pm | 1
solenv/bin/modules/installer/windows/directory.pm | 110
solenv/bin/modules/installer/windows/idtglobal.pm | 50
solenv/bin/modules/installer/windows/msiglobal.pm | 1
solenv/bin/modules/installer/windows/property.pm | 4
solenv/bin/modules/installer/windows/upgrade.pm | 4
solenv/bin/modules/installer/worker.pm | 1
solenv/bin/modules/installer/ziplist.pm | 11
solenv/bin/modules/par2script/check.pm | 49
solenv/bin/modules/pre2par/language.pm | 58
solenv/bin/packcomponents.xslt | 52
solenv/bin/packmodule | 58
solenv/bin/par2script.pl | 2
solenv/bin/subsequenttests | 39
solenv/doc/gbuild/doxygen.cfg | 1510 ++++++++++
solenv/doc/gbuild/solenv/gbuild/alllangres.mk | 90
solenv/doc/gbuild/solenv/gbuild/executable.mk | 25
solenv/doc/gbuild/solenv/gbuild/gbuild.mk | 82
solenv/doc/gbuild/solenv/gbuild/helper.mk | 42
solenv/doc/gbuild/solenv/gbuild/library.mk | 41
solenv/doc/gbuild/solenv/gbuild/linktarget.mk | 128
solenv/doc/gbuild/solenv/gbuild/package.mk | 30
solenv/doc/gbuild/solenv/gbuild/sdi.mk | 23
solenv/doc/gbuild/solenv/gbuild/static_library.mk | 39
solenv/doc/gbuild/solenv/gbuild/types.mk | 169 +
solenv/doc/gbuild/solenv/inc/gbuild.mk | 254 +
solenv/gbuild/AllLangResTarget.mk | 322 ++
solenv/gbuild/BuildDirs.mk | 59
solenv/gbuild/ComponentTarget.mk | 77
solenv/gbuild/Deliver.mk | 82
solenv/gbuild/Executable.mk | 92
solenv/gbuild/Helper.mk | 161 +
solenv/gbuild/Library.mk | 115
solenv/gbuild/LinkTarget.mk | 569 +++
solenv/gbuild/Module.mk | 128
solenv/gbuild/Output.mk | 147
solenv/gbuild/Package.mk | 67
solenv/gbuild/PrecompiledHeaders.mk | 75
solenv/gbuild/SdiTarget.mk | 72
solenv/gbuild/StaticLibrary.mk | 107
solenv/gbuild/TargetLocations.mk | 145
solenv/gbuild/extensions/PackModule.mk | 62
solenv/gbuild/extensions/SetupLocal.mk | 68
solenv/gbuild/gbuild.mk | 216 +
solenv/gbuild/platform/linux.mk | 348 ++
solenv/gbuild/platform/macosx.mk | 393 ++
solenv/gbuild/platform/solaris.mk | 330 ++
solenv/gbuild/platform/windows.mk | 568 +++
solenv/gbuild/platform/winmingw.mk | 575 +++
solenv/gbuild/processdelivered.awk | 35
solenv/gbuild/processdeps.awk | 74
solenv/inc/_tg_rslb.mk | 178 -
solenv/inc/_tg_scp.mk | 120
solenv/inc/_tg_sdi.mk | 310 --
solenv/inc/_tg_srs.mk | 120
solenv/inc/extension_post.mk | 3
solenv/inc/gbuild.mk | 1027 ++++++
solenv/inc/javaunittest.mk | 27
solenv/inc/libs.mk | 63
solenv/inc/minor.mk | 10
solenv/inc/pstrules.mk | 97
solenv/inc/settings.mk | 98
solenv/inc/startup/startup.mk | 2
solenv/inc/target.mk | 56
solenv/inc/templates/extension_tmpl.mk | 12
solenv/inc/tg_app.mk | 264 -
solenv/inc/tg_compv.mk | 6
solenv/inc/tg_def.mk | 190 -
solenv/inc/tg_dep.mk | 66
solenv/inc/tg_jar.mk | 20
solenv/inc/tg_lib.mk | 90
solenv/inc/tg_moz.mk | 16
solenv/inc/tg_obj.mk | 36
solenv/inc/tg_res.mk | 10
solenv/inc/tg_rslb.mk | 16
solenv/inc/tg_scp.mk | 12
solenv/inc/tg_sdi.mk | 31
solenv/inc/tg_shl.mk | 20
solenv/inc/tg_slo.mk | 40
solenv/inc/tg_srs.mk | 12
solenv/inc/tg_wntx64.mk | 428 +-
solenv/inc/tg_yxx.mk | 24
solenv/inc/tg_zip.mk | 68
solenv/inc/unitools.mk | 6
solenv/inc/unx.mk | 3
solenv/inc/unxmacx.mk | 35
solenv/inc/version.hrc | 16
solenv/inc/version.lst | 6
solenv/inc/version_so.hrc | 16
solenv/inc/versionlist.mk | 2
solenv/inc/wntgcci.mk | 4
solenv/inc/wntmsci10.mk | 343 ++
solenv/makefile.mk | 13
solenv/prj/d.lst | 6
solenv/src/component.map | 1
solenv/src/reg-component.map | 8
solenv/src/unloadablecomponent.map | 1
soltools/HIDCompiler/hidclex.l | 951 ------
soltools/HIDCompiler/makefile.mk | 63
soltools/HIDCompiler/wrap_hidclex.cxx | 34
soltools/giparser/makefile.mk | 16
soltools/mkdepend/def.h | 4
soltools/mkdepend/include.c | 21
soltools/mkdepend/makefile.mk | 16
soltools/prj/build.lst | 1
soltools/prj/d.lst | 2
soltools/support/makefile.mk | 4
stlport/makefile.mk | 58
198 files changed, 13939 insertions(+), 6107 deletions(-)
New commits:
commit b84817a69c618f029aeb902fd33fcdbc36bf967d
Merge: 390f377... 8726a73...
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Feb 6 05:03:23 2011 -0600
Merge remote branch 'staging/premerge/dev300_m98' into testm98
* staging/premerge/dev300_m98: (1038 commits)
pre-merge m98, a little more aggressive merge.
pre-merge m98 to resolve the trivial conflict/differences
DEV300
masterfix: #i10000#: mkdtmp -> /usr/bin/mktemp
mingwport33: i#116264: gbuild for MinGW - add oldname library for static libstdc++
mingwport33: i#116264: gbuild for MinGW - fix wrong assignment to libgcc variable
DEV300
mingwport33: i#116356: MinGW port enhancement: warning control
ause129: #i116326# own pch dependency file for debug case
ause129: #i116298# move toolkit images
mingwport33: i#116329: MinGW port enhancement: configurable libstdc++ name
ause129: #i116289# set MACOSX_DEPLOYMENT_TARGET in environment for use in dmake and gnumake build
native353 #i116309# Optimize include path list
mingwport33: i#116264: gbuild for MinGW
Backed out changeset: e84942bd0aca
sb135: #i116308# missing solenv/gbuild/platform/solaris.mk settings
sb135: #i116308# missing solenv/gbuild/platform/solaris.mk settings
ause129: #i116298# add some flexibility to source and destination
#i116287# fix LIBMYSQL_PATH
i#116264: gbuild for MinGW
...
Conflicts:
.gitignore
GNUmakefile
Makefile.in
Module_ooo.mk
Repository.mk
RepositoryFixes.mk
autogen.sh
configure.in
git-hooks/pre-commit
instsetoo_native/prj/d.lst
instsetoo_native/util/openoffice.lst
ooo.lst
scp2/inc/macros.inc
scp2/macros/makefile.mk
scp2/source/base/file_base.scp
scp2/source/calc/file_calc.scp
scp2/source/calc/registryitem_calc.scp
scp2/source/canvas/canvascommons.scp
scp2/source/crashrep/file_crashrep_static.scp
scp2/source/draw/registryitem_draw.scp
scp2/source/impress/registryitem_impress.scp
scp2/source/javafilter/registryitem_javafilter.scp
scp2/source/math/file_math.scp
scp2/source/onlineupdate/file_onlineupdate.scp
scp2/source/ooo/common_brand.scp
scp2/source/ooo/file_improvement.scp
scp2/source/ooo/file_library_ooo.scp
scp2/source/ooo/file_ooo.scp
scp2/source/ooo/makefile.mk
scp2/source/ooo/module_help_template.scp
scp2/source/ooo/module_hidden_ooo.scp
scp2/source/ooo/module_lang_template.scp
scp2/source/ooo/profileitem_ooo.scp
scp2/source/ooo/ure.scp
scp2/source/templates/makefile.mk
scp2/source/templates/module_langpack_accessories_samples_root.sct
scp2/source/templates/module_langpack_accessories_templates.sct
scp2/source/templates/module_langpack_accessories_templates_root.sct
scp2/source/winexplorerext/file_winexplorerext.scp
scp2/source/writer/registryitem_writer.scp
set_soenv.in
solenv/bin/build.pl
solenv/bin/id-lang.map
solenv/bin/linkoo
solenv/bin/make_installer.pl
solenv/bin/mhids.pl
solenv/bin/mkdocs.sh
solenv/bin/modules/CreatePDBRelocators.pm
solenv/bin/modules/RepositoryHelper.pm
solenv/bin/modules/SourceConfig.pm
solenv/bin/modules/installer/environment.pm
solenv/bin/modules/installer/epmfile.pm
solenv/bin/modules/installer/globals.pm
solenv/bin/modules/installer/helppack.pm
solenv/bin/modules/installer/regmerge.pm
solenv/bin/modules/installer/scriptitems.pm
solenv/bin/modules/installer/servicesfile.pm
solenv/bin/modules/installer/simplepackage.pm
solenv/bin/modules/installer/substfilenamefiles.pm
solenv/bin/modules/installer/windows/admin.pm
solenv/bin/modules/installer/windows/directory.pm
solenv/bin/modules/installer/windows/upgrade.pm
solenv/bin/modules/installer/worker.pm
solenv/bin/modules/installer/ziplist.pm
solenv/bin/modules/pre2par/language.pm
solenv/bin/packmodule
solenv/bin/subsequenttests
solenv/doc/gbuild/doxygen.cfg
solenv/gbuild/AllLangResTarget.mk
solenv/gbuild/BuildDirs.mk
solenv/gbuild/ComponentTarget.mk
solenv/gbuild/Deliver.mk
solenv/gbuild/Executable.mk
solenv/gbuild/Helper.mk
solenv/gbuild/Library.mk
solenv/gbuild/Module.mk
solenv/gbuild/Package.mk
solenv/gbuild/SdiTarget.mk
solenv/gbuild/StaticLibrary.mk
solenv/gbuild/TargetLocations.mk
solenv/gbuild/gbuild.mk
solenv/gbuild/platform/linux.mk
solenv/gbuild/platform/macosx.mk
solenv/gbuild/platform/solaris.mk
solenv/gbuild/platform/windows.mk
solenv/gbuild/processdelivered.awk
solenv/inc/_tg_rslb.mk
solenv/inc/extension_post.mk
solenv/inc/javaunittest.mk
solenv/inc/libs.mk
solenv/inc/minor.mk
solenv/inc/settings.mk
solenv/inc/tg_zip.mk
solenv/inc/unxgcc.mk
solenv/inc/version.hrc
solenv/inc/version.lst
solenv/inc/version_so.hrc
solenv/inc/versionlist.mk
solenv/inc/wntmsci10.mk
solenv/prj/d.lst
soltools/HIDCompiler/hidclex.l
soltools/checkdll/makefile.mk
soltools/mkdepend/def.h
soltools/mkdepend/include.c
stlport/makefile.mk
diff --cc Repository.mk
index 28f1af5,be80170..8e41c79
--- a/Repository.mk
+++ b/Repository.mk
@@@ -39,50 -39,41 +39,50 @@@ $(eval $(call gb_Helper_register_execut
))
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \
- avmedia \
- basegfx \
- cui \
- drawinglayer \
- editeng \
- for \
- forui \
- fwe \
- fwi \
- fwk \
- fwl \
- fwm \
- i18npaper \
- lng \
- msfilter \
- msword \
- oox \
- qstart_gtk \
- sax \
- sb \
- sc \
- scd \
- scfilt \
- scui \
- sfx \
- sm \
- smd \
- sot \
- svl \
- svt \
- svx \
- svxcore \
- sw \
- swd \
- swui \
- textconversiondlgs \
- tk \
- tl \
- utl \
- vbahelper \
- vcl \
- xo \
- xof \
- xcr \
+ avmedia \
+ basegfx \
+ cui \
+ drawinglayer \
+ editeng \
- eggtray \
++ for \
++ forui \
+ fwe \
+ fwi \
+ fwk \
+ fwl \
+ fwm \
++ i18npaper \
+ lng \
+ msfilter \
+ msword \
++ oox \
+ qstart_gtk \
+ sax \
+ sb \
++ sc \
++ scd \
++ scfilt \
++ scui \
+ sfx \
++ sm \
++ smd \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ sw \
+ swd \
+ swui \
+ textconversiondlgs \
+ tk \
+ tl \
+ utl \
+ vbahelper \
+ vcl \
+ xcr \
+ xo \
+ xof \
))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \
@@@ -95,10 -86,11 +95,10 @@@ $(eval $(call gb_Helper_register_librar
$(eval $(call gb_Helper_register_libraries,RTLIBS, \
- comphelper \
- i18nisolang1 \
- i18nutil \
- ucbhelper \
+ comphelper \
+ i18nisolang1 \
+ i18nutil \
+ ucbhelper \
- vos3 \
))
$(eval $(call gb_Helper_register_libraries,RTVERLIBS, \
@@@ -111,12 -103,11 +111,12 @@@ $(eval $(call gb_Helper_register_librar
))
$(eval $(call gb_Helper_register_libraries,UNOLIBS_OOO, \
- fsstorage \
- hatchwindowfactory \
- passwordcontainer \
- productregistration \
- vbaobj \
- vbaswobj \
+ fsstorage \
+ hatchwindowfactory \
+ passwordcontainer \
+ productregistration \
++ vbaobj \
+ vbaswobj \
))
@@@ -127,10 -118,10 +127,11 @@@ $(eval $(call gb_Helper_register_librar
))
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
- i18npaper \
- salcpprt \
- jpeglib \
- zlib \
++ i18npaper \
+ jpeglib \
+ ooopathutils \
+ salcpprt \
+ zlib \
))
# vim: set noet sw=4 ts=4:
diff --cc configure.in
index 2328a96,84f4153..f143074
--- a/configure.in
+++ b/configure.in
@@@ -1730,6 -1725,6 +1725,12 @@@ if test "z$enable_fetch_external" != "z
fi
AC_SUBST(DO_FETCH_TARBALLS)
++if test "z$enable_fetch_external" != "zno" \
++ && test -z "$with_system_libs" -a "$with_system_jars" != "no"; then
++ DO_FETCH_TARBALLS="yes"
++fi
++AC_SUBST(DO_FETCH_TARBALLS)
++
dnl git-new-workdir
dnl ===================================================================
@@@ -2615,11 -2597,19 +2603,19 @@@ _ACEO
MINGW_GCCLIB_EH=YES
fi
AC_MSG_CHECKING([whether to use dynamic libstdc++])
+ MINGW_SHARED_LIBSTDCPP=
if test -e "$MINGW_CLIB_DIR/libstdc++_s.a" ; then
+ MINGW_SHARED_LIBSTDCPP=stdc++_s
+ fi
+ if test -e "$MINGW_CLIB_DIR/libstdc++.dll.a" ; then
+ MINGW_SHARED_LIBSTDCPP=stdc++.dll
+ fi
+ if test -n "$MINGW_SHARED_LIBSTDCPP" ; then
AC_MSG_CHECKING([dynamic libstdc++ name])
- MINGW_GXXDLL_pattern=`nm $MINGW_CLIB_DIR/lib$MINGW_SHARED_LIBSTDCPP.a | sed -ne 's at .* _libstdc__\(.*\)_dll_iname at libstdc++\1.dll at p' | uniq | sed -e 's at _@?@g'`
+ MINGW_GXXDLL_pattern=`nm $MINGW_CLIB_DIR/libstdc++_s.a | $SED -ne 's at .* _libstdc__\(.*\)_dll_iname at libstdc++\1.dll at p' | uniq | $SED -e 's at _@?@g'`
MINGW_GXXDLL=`cd $COMPATH/bin && ls $MINGW_GXXDLL_pattern 2>/dev/null`
if test -n "$MINGW_GXXDLL"; then
+ MINGW_SHARED_LIBSTDCPP=-l$MINGW_SHARED_LIBSTDCPP
MINGW_SHARED_GXXLIB=YES
AC_MSG_RESULT([use $MINGW_GXXDLL])
else
@@@ -6009,36 -6002,35 +6008,35 @@@ f
dnl We also need to check for --with-gnu-cp
- if test -z "$with_gnu_cp"; then
- AC_PATH_PROGS(GNUCP, gnucp cp)
- if test -z $GNUCP; then
+ if test -z "$with_gnu_cp"; then
+ AC_PATH_PROGS(GNUCP, gnucp cp)
+ if test -z $GNUCP; then
AC_MSG_ERROR([Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it])
- fi
- else
- if test -x "$with_gnu_cp"; then
+ fi
+ else
+ if test -x "$with_gnu_cp"; then
GNUCP=$with_gnu_cp
- else
+ else
AC_MSG_ERROR([--with-gnu-cp did not point to an executable])
- fi
- fi
+ fi
+ fi
- AC_MSG_CHECKING([whether $GNUCP is GNU cp])
- if $GNUCP --version 2>/dev/null | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
- AC_MSG_RESULT([yes])
- else
+ AC_MSG_CHECKING([whether $GNUCP is GNU cp])
+ if $GNUCP --version 2>/dev/null | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
+ AC_MSG_RESULT([yes])
+ else
if $GNUCP --version 2>/dev/null | grep "GNU fileutils" >/dev/null 2>/dev/null; then
- AC_MSG_RESULT([yes])
+ AC_MSG_RESULT([yes])
else
- if test "$_os" = "SunOS" -o "$_os" = "FreeBSD"; then
- AC_MSG_ERROR([no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it])
- else
+ if test "$_os" = "Darwin"; then
GNUCP=''
AC_MSG_RESULT([no gnucp found - using the system's cp command])
+ else
+ AC_MSG_ERROR([no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it])
fi
fi
- fi
-
fi
+
AC_SUBST(GNUPATCH)
AC_SUBST(GNUCP)
diff --cc fetch_tarballs.sh
index 0000000,f7ed0e0..e08b553
mode 000000,100755..100755
--- a/fetch_tarballs.sh
+++ b/fetch_tarballs.sh
@@@ -1,0 -1,162 +1,162 @@@
+ #!/bin/sh
+ #*************************************************************************
+ #
+ # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
++#
+ # Copyright 2000, 2010 Oracle and/or its affiliates.
+ #
+ # OpenOffice.org - a multi-platform office productivity suite
+ #
+ # This file is part of OpenOffice.org.
+ #
+ # OpenOffice.org is free software: you can redistribute it and/or modify
+ # it under the terms of the GNU Lesser General Public License version 3
+ # only, as published by the Free Software Foundation.
+ #
+ # OpenOffice.org 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 Lesser General Public License version 3 for more details
+ # (a copy is included in the LICENSE file that accompanied this code).
+ #
+ # You should have received a copy of the GNU Lesser General Public License
+ # version 3 along with OpenOffice.org. If not, see
+ # <http://www.openoffice.org/license.html>
+ # for a copy of the LGPLv3 License.
+ #
+ #*************************************************************************
+
+ if [ -z "$TARFILE_LOCATION" ]; then
+ echo "ERROR: no destination defined! please set TARFILE_LOCATION!"
+ exit
+ fi
+
+ if [ ! -d "$TARFILE_LOCATION" ]; then
+ mkdir $TARFILE_LOCATION
+ fi
+ if [ ! -d "$TARFILE_LOCATION" ]; then
+ echo "ERROR: can't create"
+ exit
+ fi
+
+ if [ -z "$1" ]; then
+ echo "ERROR: parameter missing!"
+ echo "usage: $0 <fetch list>"
+ echo "first line must define the base url."
+ exit
+ fi
+
+ # check for wget and md5sum
+ wget=
+ md5sum=
+ curl=
+
+ for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/wget /opt/local/bin/wget; do
+ eval "$i --version" > /dev/null 2>&1
+ ret=$?
+ if [ $ret -eq 0 ]; then
+ wget=$i
+ echo found wget: $wget
+ break 2
+ fi
+ done
+
+ if [ -z "$wget" ]; then
+ for i in curl /usr/bin/curl /usr/local/bin/curl /usr/sfw/bin/curl /opt/sfw/bin/curl /opt/local/bin/curl; do
- # mac curl returns "2" on --version
++ # mac curl returns "2" on --version
+ # eval "$i --version" > /dev/null 2>&1
+ # ret=$?
+ # if [ $ret -eq 0 ]; then
+ if [ -x $i ]; then
+ curl=$i
+ echo found curl: $curl
+ break 2
+ fi
+ done
+ fi
+
+ if [ -z "$wget" -a -z "$curl" ]; then
+ echo "ERROR: neither wget nor curl found!"
+ exit
+ fi
+
+ for i in md5 md5sum /usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/bin/gmd5sum /opt/local/bin/md5sum; do
+ if [ "$i" = "md5" ]; then
+ eval "$i -x" > /dev/null 2>&1
+ else
+ eval "$i --version" > /dev/null 2>&1
+ fi
+ ret=$?
+ if [ $ret -eq 0 ]; then
+ md5sum=$i
+ echo found md5sum: $md5sum
+ break 2
+ fi
+ done
+
+ if [ "$md5sum" = "md5" ]; then
+ md5special=-r
+ fi
+
+ if [ -z "$md5sum" ]; then
+ echo "Warning: no md5sum: found!"
+ fi
+
+ start_dir=`pwd`
+ logfile=$TARFILE_LOCATION/fetch.log
+ date >> $logfile
+
+ filelist=`cat $1`
+ mkdir -p $TARFILE_LOCATION/tmp
+ cd $TARFILE_LOCATION/tmp
+ echo $$ > fetch-running
+ for i in $filelist ; do
+ # echo $i
+ if [ "$i" != `echo $i | sed "s/^http:\///"` ]; then
+ tarurl=$i
- # TODO: check for comment
++ # TODO: check for comment
+ else
+ if [ "$tarurl" != "" ]; then
+ if [ ! -f "../$i" ]; then
+ echo $i
+ if [ ! -z "$wget" ]; then
+ $wget -nv -N $tarurl/$i 2>&1 | tee -a $logfile
+ else
+ echo fetching $i
+ $curl $file_date_check -O $tarurl/$i 2>&1 | tee -a $logfile
+ fi
+ wret=$?
+ if [ $wret -ne 0 ]; then
+ mv $i ${i}_broken
+ failed="$failed $i"
+ wret=0
+ fi
+ if [ -f $i -a -n "$md5sum" ]; then
+ sum=`$md5sum $md5special $i | sed "s/ .*//"`
+ sum2=`echo $i | sed "s/-.*//"`
+ if [ "$sum" != "$sum2" ]; then
+ echo checksum failure for $i 2>&1 | tee -a $logfile
+ failed="$failed $i"
+ mv $i ${i}_broken
+ else
+ mv $i ..
+ fi
+ else
+ mv $i ..
+ fi
+ fi
+ fi
+ fi
+ done
+ rm $TARFILE_LOCATION/tmp/*-*
+ cd $start_dir
+
+ if [ ! -z "$failed" ]; then
+ echo
+ echo ERROR: failed on:
+ for i in $failed ; do
+ echo $i
+ done
+ exit 1
+ fi
+
diff --cc scp2/inc/macros.inc
index 90c58c6,b3ee7c6..852861d
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@@ -434,6 -371,15 +371,14 @@@ En
Value = " "; \
End
+ #define REGISTRY_ENTRY_OPEN_WITH_TMPL(name,cond,doc_type,modid,key) \
+ RegistryItem gid_Regitem_OpenOffice_##cond##_OpenWith_##doc_type \
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT; \
+ ModuleID = modid; \
+ Subkey = STRING(CONCAT3(.,key,\OpenWithProgIDs)); \
- Name = STRING(CONCAT2(OpenOffice.org.,name)); \
+ Value = " "; \
+ End
+
#define CONDITIONAL_REGISTRY_ENTRY_EXT(name,cond,key) \
RegistryItem gid_Regitem__##name \
ParentID = PREDEFINED_HKEY_CLASSES_ROOT; \
diff --cc scp2/source/calc/file_calc.scp
index 7a2f374,6a29dc9..64d7fab
--- a/scp2/source/calc/file_calc.scp
+++ b/scp2/source/calc/file_calc.scp
@@@ -45,18 -45,18 +45,19 @@@ File gid_File_Share_Registry_Calc_Xc
Name = "calc.xcd";
End
- STD_UNO_LIB_FILE( gid_File_Lib_Calc, calc)
- STD_UNO_LIB_FILE( gid_File_Lib_Date, date)
+
- STD_UNO_LIB_FILE( gid_File_Lib_Sc, sc)
+ STD_LIB_FILE( gid_File_Lib_Calc, calc)
- STD_LIB_FILE( gid_File_Lib_Scui, scui)
+ STD_LIB_FILE( gid_File_Lib_Date, date)
+
+ STD_LIB_FILE( gid_File_Lib_Sc, sc)
- STD_UNO_LIB_FILE( gid_File_Lib_Scfilt, scfilt)
+ STD_LIB_FILE( gid_File_Lib_Scui, scui)
- STD_UNO_LIB_FILE( gid_File_Lib_Scd, scd)
+ STD_LIB_FILE( gid_File_Lib_Scfilt, scfilt)
+ STD_LIB_FILE( gid_File_Lib_Scd, scd)
STD_RES_FILE( gid_File_Res_Solver, solver)
STD_RES_FILE( gid_File_Res_Analysis, analysis)
diff --cc scp2/source/ooo/module_help_template.scp
index 4022d59,4022d59..0000000
deleted file mode 100644,100644
--- a/scp2/source/ooo/module_help_template.scp
+++ /dev/null
diff --cc scp2/source/templates/module_langpack_accessories_templates_root.sct
index fe0da72,0191c26..30c8788
--- a/scp2/source/templates/module_langpack_accessories_templates_root.sct
+++ b/scp2/source/templates/module_langpack_accessories_templates_root.sct
@@@ -1,3 -1,3 +1,4 @@@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
diff --cc solenv/bin/build.pl
index cd150fa,69bb09b..8e20d9e
mode 100755,100644..100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@@ -87,100 -84,95 +84,95 @@@
# #
#########################
- $modules_number++;
- $perl = "";
- $remove_command = "";
- use Cwd 'chdir';
- $perl = 'perl';
- $remove_command = 'rm -rf';
- $nul = '> /dev/null';
+ my $modules_number++;
+ my $perl = 'perl';
+ my $remove_command = 'rm -rf';
+ my $nul = '> /dev/null';
- $processes_to_run = 0;
+ my $processes_to_run = 0;
# delete $pid when not needed
- %projects_deps_hash = (); # hash of projects with no dependencies,
+ my %projects_deps_hash = (); # hash of projects with no dependencies,
# that could be built now
- %broken_build = (); # hash of hashes of the modules,
+ my %broken_build = (); # hash of hashes of the modules,
# where build was broken (error occurred)
- %folders_hashes = ();
- %running_children = ();
- $dependencies_hash = 0;
- $cmd_file = '';
- $build_all_parents = 0;
- $show = 0;
- $checkparents = 0;
- $deliver = 0;
- $pre_custom_job = '';
- $custom_job = '';
- $post_custom_job = '';
- %local_deps_hash = ();
- %PathHash = ();
- %PlatformHash = ();
- %AliveDependencies = ();
- %global_deps_hash = (); # hash of dependencies of the all modules
- %global_deps_hash_backup = (); # backup hash of external dependencies of the all modules
- %module_deps_hash_backup = (); # backup hash of internal dependencies for aech module
- %modules_with_errors = (); # hash of modules hashes, which cannot be built further
- @broken_modules_names = (); # array of modules, which cannot be built further
- @dmake_args = ();
- %dead_parents = ();
- $initial_module = '';
- $all_dependent = 1; # a flag indicating if the hash has independent keys
- $build_from_with_branches = '';
- $build_all_cont = '';
- $build_since = '';
- $dlv_switch = '';
- $child = 0;
- %processes_hash = ();
- %module_announced = ();
- $prepare = ''; # prepare for following incompatible build
- $ignore = '';
- $html = '';
- @ignored_errors = ();
- %incompatibles = ();
- %skip_modules = ();
- %exclude_branches = ();
- $only_platform = ''; # the only platform to prepare
- $only_common = ''; # the only common output tree to delete when preparing
- %build_modes = ();
- $maximal_processes = 0; # the max number of the processes run
- %modules_types = (); # modules types ('mod', 'img', 'lnk') hash
- %platforms = (); # platforms available or being working with
- %platforms_to_copy = (); # copy output trees for the platforms when --prepare
- $tmp_dir = get_tmp_dir(); # temp directory for checkout and other actions
- @possible_build_lists = ('gbuild.lst', 'build.lst', 'build.xlist'); # build lists names
- %build_list_paths = (); # build lists names
- %build_lists_hash = (); # hash of arrays $build_lists_hash{$module} = \($path, $xml_list_object)
- $pre_job = 'announce'; # job to add for not-single module build
- $post_job = ''; # -"-
- %windows_procs = ();
- @warnings = (); # array of warnings to be shown at the end of the process
- @errors = (); # array of errors to be shown at the end of the process
- %html_info = (); # hash containing all necessary info for generating of html page
- %module_by_hash = (); # hash containing all modules names as values and correspondent hashes as keys
- %build_in_progress = (); # hash of modules currently being built
- %build_is_finished = (); # hash of already built modules
- %modules_with_errors = (); # hash of modules with build errors
- %build_in_progress_shown = (); # hash of modules being built,
+ my %folders_hashes = ();
+ my %running_children = ();
+ my $dependencies_hash = 0;
+ my $cmd_file = '';
+ my $build_all_parents = 0;
+ my $show = 0;
+ my $checkparents = 0;
+ my $deliver = 0;
+ my $pre_custom_job = '';
+ my $custom_job = '';
+ my $post_custom_job = '';
+ my %local_deps_hash = ();
+ my %path_hash = ();
+ my %platform_hash = ();
+ my %alive_dependencies = ();
+ my %global_deps_hash = (); # hash of dependencies of the all modules
+ my %global_deps_hash_backup = (); # backup hash of external dependencies of the all modules
+ my %module_deps_hash_backup = (); # backup hash of internal dependencies for aech module
- my @broken_module_names = (); # array of modules, which cannot be built further
++ my @broken_modules_names = (); # array of modules, which cannot be built further
+ my @dmake_args = ();
+ my %dead_parents = ();
+ my $initial_module = '';
+ my $all_dependent = 1; # a flag indicating if the hash has independent keys
+ my $build_from_with_branches = '';
+ my $build_all_cont = '';
+ my $build_since = '';
+ my $dlv_switch = '';
+ my $child = 0;
+ my %processes_hash = ();
+ my %module_announced = ();
+ my $prepare = ''; # prepare for following incompatible build
+ my $ignore = '';
+ my $html = '';
+ my @ignored_errors = ();
+ my %incompatibles = ();
+ my %skip_modules = ();
+ my %exclude_branches = ();
+ my $only_platform = ''; # the only platform to prepare
+ my $only_common = ''; # the only common output tree to delete when preparing
+ my %build_modes = ();
+ my $maximal_processes = 0; # the max number of the processes run
+ my %modules_types = (); # modules types ('mod', 'img', 'lnk') hash
+ my %platforms = (); # platforms available or being working with
+ my %platforms_to_copy = (); # copy output trees for the platforms when --prepare
+ my $tmp_dir = get_tmp_dir(); # temp directory for checkout and other actions
+ my @possible_build_lists = ('build.lst', 'build.xlist'); # build lists names
+ my %build_list_paths = (); # build lists names
+ my %build_lists_hash = (); # hash of arrays $build_lists_hash{$module} = \($path, $xml_list_object)
+ my $pre_job = 'announce'; # job to add for not-single module build
+ my $post_job = ''; # -"-
+ my @warnings = (); # array of warnings to be shown at the end of the process
+ my @errors = (); # array of errors to be shown at the end of the process
+ my %html_info = (); # hash containing all necessary info for generating of html page
+ my %module_by_hash = (); # hash containing all modules names as values and correspondent hashes as keys
+ my %build_in_progress = (); # hash of modules currently being built
+ my %build_is_finished = (); # hash of already built modules
+ my %modules_with_errors = (); # hash of modules with build errors
+ my %build_in_progress_shown = (); # hash of modules being built,
# and shown last time (to keep order)
- $build_time = time;
- %jobs_hash = ();
- $html_path = undef;
- $build_finished = 0;
- $html_file = '';
- %had_error = (); # hack for mysterious windows problems - try run dmake 2 times if first time there was an error
- $mkout = CorrectPath("$ENV{SOLARENV}/bin/mkout.pl");
- %weights_hash = (); # hash contains info about how many modules are dependent from one module
- $grab_output = 1;
- $stop_build_on_error = 0; # for multiprocessing mode: do not build further module if there is an error
- $interactive = 0; # for interactive mode... (for testing purpose enabled by default)
- $parent_process = 1;
- $server_mode = 0;
- $setenv_string = ''; # string for configuration of the client environment
- $ports_string = ''; # string with possible ports for server
- @server_ports = ();
- $html_port = 0;
- $server_socket_obj = undef; # socket object for server
- $html_socket_obj = undef; # socket object for server
+ my $build_time = time;
+ my %jobs_hash = ();
+ my $html_path = undef;
+ my $build_finished = 0;
+ my $html_file = '';
+ my %had_error = (); # hack for misteriuos windows problems - try run dmake 2 times if first time there was an error
+ my $mkout = correct_path("$ENV{SOLARENV}/bin/mkout.pl");
+ my %weights_hash = (); # hash contains info about how many modules are dependent from one module
+ my $grab_output = 1;
+ my $stop_build_on_error = 0; # for multiprocessing mode: do not build further module if there is an error
+ my $interactive = 0; # for interactive mode... (for testing purpose enabled by default)
+ my $parent_process = 1;
+ my $server_mode = 0;
+ my $setenv_string = ''; # string for configuration of the client environment
+ my $ports_string = ''; # string with possible ports for server
+ my @server_ports = ();
+ my $html_port = 0;
+ my $server_socket_obj = undef; # socket object for server
+ my $html_socket_obj = undef; # socket object for server
my %clients_jobs = ();
my %clients_times = ();
my $client_timeout = 0; # time for client to build (in sec)...
@@@ -206,8 -198,16 +198,18 @@@
my $zenity_in = '';
my $zenity_out = '';
my $zenity_err = '';
+ my $allow_gbuild = 0;
- %is_gbuild = ();
++ my %is_gbuild = ();
+ my @modules_built = ();
+ my $deliver_command = $ENV{DELIVER};
+ my %prj_platform = ();
+ my $check_error_string = '';
+ my $dmake = '';
+ my $dmake_args = '';
+ my $echo = '';
+ my $new_line = "\n";
+ my $incompatible = 0;
+ my $local_host_ip = 'localhost';
### main ###
get_options();
@@@ -544,17 -537,10 +539,17 @@@ sub get_build_list_path
my $possible_dir_path = $module_paths{$_}.'/prj/';
if (-d $possible_dir_path) {
foreach my $build_list (@possible_build_lists) {
- my $possible_build_list_path = correct_path($possible_dir_path . $build_list);
- if (-f $possible_build_list_path) {
- $build_list_paths{$module} = $possible_build_list_path;
- return $possible_build_list_path;
+ # if gbuild are allow we favor gbuild.lst as the build instruction
+ if($build_list ne "gbuild.lst" || $allow_gbuild) {
- my $possible_build_list_path = CorrectPath($possible_dir_path . $build_list);
++ my $possible_build_list_path = correct_path($possible_dir_path . $build_list);
+ if (-f $possible_build_list_path) {
+ $build_list_paths{$module} = $possible_build_list_path;
+ if ($build_list eq "gbuild.lst") {
+# print "Using gmake for module $module\n";
+ $is_gbuild{$module} = 1;
+ };
+ return $possible_build_list_path;
+ };
};
}
print_error("There's no build list for $module");
@@@ -969,37 -956,37 +965,37 @@@ sub get_deps_hash
};
s/\r\n//;
if ($_ =~ /\s+nmake\s+/o) {
- my ($Platform, $Dependencies, $Dir, $DirAlias);
+ my ($platform, $dependencies, $dir, $dir_alias);
my %deps_hash = ();
- $Dependencies = $';
- $dependencies = $';
++ $dependencies = $'; #'
$dummy = $`;
$dummy =~ /(\S+)\s+(\S*)/o;
- $Dir = $2;
- $Dependencies =~ /(\w+)/o;
- $Platform = $1;
- $Dependencies = $';
- while ($Dependencies =~ /,(\w+)/o) {
- $Dependencies = $'; #'
+ $dir = $2;
+ $dependencies =~ /(\w+)/o;
+ $platform = $1;
+ $dependencies = $';
+ while ($dependencies =~ /,(\w+)/o) {
- $dependencies = $';
++ $dependencies = $'; #'
};
- $Dependencies =~ /\s+(\S+)\s+/o;
- $DirAlias = $1;
- if (!CheckPlatform($Platform)) {
- next if (defined $PlatformHash{$DirAlias});
- $DeadDependencies{$DirAlias}++;
+ $dependencies =~ /\s+(\S+)\s+/o;
+ $dir_alias = $1;
+ if (!check_platform($platform)) {
+ next if (defined $platform_hash{$dir_alias});
+ $dead_dependencies{$dir_alias}++;
next;
};
- delete $DeadDependencies{$DirAlias} if (defined $DeadDependencies{$DirAlias});
- print_error("Directory alias $DirAlias is defined at least twice!! Please, correct build.lst in module $module_to_build") if (defined $$dependencies_hash{$DirAlias});
- $PlatformHash{$DirAlias}++;
- $Dependencies = $'; #'
- print_error("$module_to_build/prj/build.lst has wrongly written dependencies string:\n$_\n") if (!$Dependencies);
- $deps_hash{$_}++ foreach (GetDependenciesArray($Dependencies));
- $$dependencies_hash{$DirAlias} = \%deps_hash;
+ delete $dead_dependencies{$dir_alias} if (defined $dead_dependencies{$dir_alias});
+ print_error("Directory alias $dir_alias is defined at least twice!! Please, correct build.lst in module $module_to_build") if (defined $$dependencies_hash{$dir_alias});
+ $platform_hash{$dir_alias}++;
- $dependencies = $';
++ $dependencies = $'; #'
+ print_error("$module_to_build/prj/build.lst has wrongly written dependencies string:\n$_\n") if (!$dependencies);
+ $deps_hash{$_}++ foreach (get_dependency_array($dependencies));
+ $$dependencies_hash{$dir_alias} = \%deps_hash;
my $local_dir = '';
- if ($Dir =~ /(\\|\/)/o) {
+ if ($dir =~ /(\\|\/)/o) {
$local_dir = "/$'";
};
- $PathHash{$DirAlias} = CorrectPath($module_paths{$module_to_build} . $local_dir);
+ $path_hash{$dir_alias} = correct_path($module_paths{$module_to_build} . $local_dir);
} elsif ($_ !~ /^\s*$/ && $_ !~ /^\w*\s/o) {
chomp;
push(@errors, $_);
@@@ -1345,34 -1335,34 +1344,34 @@@ sub get_waiters_number
#
# Getting array of dependencies from the string given
#
- sub GetDependenciesArray {
- my ($DepString, @Dependencies, $ParentPrj, $prj, $string);
- @Dependencies = ();
- $DepString = shift;
- $string = $DepString;
+ sub get_dependency_array {
+ my ($dep_string, @dependencies, $parent_prj, $prj, $string);
+ @dependencies = ();
+ $dep_string = shift;
+ $string = $dep_string;
$prj = shift;
- while ($DepString !~ /^NULL/o) {
- print_error("Project $prj has wrongly written dependencies string:\n $string") if (!$DepString);
- $DepString =~ /(\S+)\s*/o;
- $ParentPrj = $1;
- $DepString = $'; #'
- if ($ParentPrj =~ /\.(\w+)$/o) {
- $ParentPrj = $`;
- if (($prj_platform{$ParentPrj} ne $1) &&
- ($prj_platform{$ParentPrj} ne 'all')) {
- print_error ("$ParentPrj\.$1 is a wrongly dependency identifier!\nCheck if it is platform dependent");
+ while ($dep_string !~ /^NULL/o) {
+ print_error("Project $prj has wrongly written dependencies string:\n $string") if (!$dep_string);
+ $dep_string =~ /(\S+)\s*/o;
+ $parent_prj = $1;
- $dep_string = $';
++ $dep_string = $'; #'
+ if ($parent_prj =~ /\.(\w+)$/o) {
+ $parent_prj = $`;
+ if (($prj_platform{$parent_prj} ne $1) &&
+ ($prj_platform{$parent_prj} ne 'all')) {
+ print_error ("$parent_prj\.$1 is a wrongly dependency identifier!\nCheck if it is platform dependent");
};
- $AliveDependencies{$ParentPrj}++ if (CheckPlatform($1));
- push(@Dependencies, $ParentPrj);
+ $alive_dependencies{$parent_prj}++ if (check_platform($1));
+ push(@dependencies, $parent_prj);
} else {
- if ((exists($prj_platform{$ParentPrj})) &&
- ($prj_platform{$ParentPrj} ne 'all') ) {
- print_error("$ParentPrj is a wrongly used dependency identifier!\nCheck if it is platform dependent");
+ if ((exists($prj_platform{$parent_prj})) &&
+ ($prj_platform{$parent_prj} ne 'all') ) {
+ print_error("$parent_prj is a wrongly used dependency identifier!\nCheck if it is platform dependent");
};
- push(@Dependencies, $ParentPrj);
+ push(@dependencies, $parent_prj);
};
};
- return @Dependencies;
+ return @dependencies;
};
@@@ -1992,19 -1961,19 +1972,19 @@@ sub build_actual_queue
};
return;
};
- if (defined $modules_with_errors{$projects_deps_hash{$Prj}} && !$ignore) {
- push (@broken_modules_names, $Prj);
- delete $$build_queue{$Prj};
+ if (defined $modules_with_errors{$projects_deps_hash{$prj}} && !$ignore) {
- push (@broken_module_names, $prj);
++ push (@broken_modules_names, $prj);
+ delete $$build_queue{$prj};
next;
};
- $started_children += build_dependent($projects_deps_hash{$Prj});
- if ((!scalar keys %{$projects_deps_hash{$Prj}}) &&
- !$running_children{$projects_deps_hash{$Prj}}) {
- if (!defined $modules_with_errors{$projects_deps_hash{$Prj}} || $ignore)
+ $started_children += build_dependent($projects_deps_hash{$prj});
+ if ((!scalar keys %{$projects_deps_hash{$prj}}) &&
+ !$running_children{$projects_deps_hash{$prj}}) {
+ if (!defined $modules_with_errors{$projects_deps_hash{$prj}} || $ignore)
{
- remove_from_dependencies($Prj, \%global_deps_hash);
- $build_is_finished{$Prj}++;
- delete $$build_queue{$Prj};
+ remove_from_dependencies($prj, \%global_deps_hash);
+ $build_is_finished{$prj}++;
+ delete $$build_queue{$prj};
$finished_projects++;
};
};
@@@ -3486,10 -3449,10 +3467,10 @@@ sub pick_jobdir
my $build_queue = shift;
my $i = 0;
foreach (@$build_queue) {
- $Prj = $$build_queue[$i];
- my $prj_deps_hash = $projects_deps_hash{$Prj};
+ my $prj = $$build_queue[$i];
+ my $prj_deps_hash = $projects_deps_hash{$prj};
if (defined $modules_with_errors{$prj_deps_hash} && !$ignore) {
- push (@broken_modules_names, $Prj);
- push (@broken_module_names, $prj);
++ push (@broken_modules_names, $prj);
splice (@$build_queue, $i, 1);
next;
};
diff --cc solenv/bin/modules/RepositoryHelper.pm
index 912a158,6814eb6..d64703a
--- a/solenv/bin/modules/RepositoryHelper.pm
+++ b/solenv/bin/modules/RepositoryHelper.pm
@@@ -118,12 -118,18 +118,12 @@@ sub search_for_hg
sub search_via_build_lst {
my $self = shift;
- my @possible_build_lists = ('gbuild.lst', 'build.lst', 'build.xlist'); # build lists names
- my @possible_build_lists = ('build.lst'); # build lists names
++ my @possible_build_lists = ('gbuild.lst', 'build.lst'); # build lists names
my $previous_dir = '';
my $rep_root_candidate = $self->{INITIAL_DIRECTORY};
do {
- foreach (@possible_build_lists) {# ('build.lst', 'build.xlist');
+ foreach (@possible_build_lists) {
- my $test_file;
- if ($rep_root_candidate eq '/') {
- $test_file = '/prj/' . $_;
- } else {
- $test_file = $rep_root_candidate . '/prj/' . $_;
- };
- if (-e $test_file) {
+ if (-e $rep_root_candidate . '/prj/'.$_) {
$self->{REPOSITORY_ROOT} = File::Basename::dirname($rep_root_candidate);
return 1;
} elsif ($rep_root_candidate eq $previous_dir) {
diff --cc solenv/bin/modules/installer/windows/directory.pm
index 5fc86c3,ffdc202..a326449
--- a/solenv/bin/modules/installer/windows/directory.pm
+++ b/solenv/bin/modules/installer/windows/directory.pm
@@@ -189,15 -189,15 +189,15 @@@ sub set_installlocation_director
$onedir->{'uniquename'} = "INSTALLLOCATION";
check_sourcedir_addon($onedir, $allvariableshashref);
}
-
+
if ( $onedir->{'uniquename'} eq $installer::globals::vendordirectory )
{
- check_sourcedir_addon($onedir, $allvariableshashref);
+ check_sourcedir_addon($onedir, $allvariableshashref);
}
-
+
if ( $onedir->{'uniqueparentname'} eq $installer::globals::installlocationdirectory )
{
- $onedir->{'uniqueparentname'} = "INSTALLLOCATION";
+ $onedir->{'uniqueparentname'} = "INSTALLLOCATION";
}
}
}
@@@ -327,29 -326,29 +326,29 @@@ sub add_root_directorie
{
$baseproductversion = $allvariableshashref->{'BASEPRODUCTVERSION'}; # for example "2.0" for OOo
}
-
+
my $realproductkey = $productname . " " . $productversion;
my $productkey = $productname . " " . $baseproductversion;
-
- if (( $allvariableshashref->{'POSTVERSIONEXTENSION'} ) && ( ! $allvariableshashref->{'DONTUSEEXTENSIONINDEFAULTDIR'} ))
+
+ if (( $allvariableshashref->{'POSTVERSIONEXTENSION'} ) && ( ! $allvariableshashref->{'DONTUSEEXTENSIONINDEFAULTDIR'} ))
{
- $productkey = $productkey . " " . $allvariableshashref->{'POSTVERSIONEXTENSION'};
- $realproductkey = $realproductkey . " " . $allvariableshashref->{'POSTVERSIONEXTENSION'};
+ $productkey = $productkey . " " . $allvariableshashref->{'POSTVERSIONEXTENSION'};
+ $realproductkey = $realproductkey . " " . $allvariableshashref->{'POSTVERSIONEXTENSION'};
}
- if ( $allvariableshashref->{'NOVERSIONINDIRNAME'} )
- {
- $productkey = $productname;
- $realproductkey = $realproductname;
+ if ( $allvariableshashref->{'NOVERSIONINDIRNAME'} )
+ {
+ $productkey = $productname;
+ $realproductkey = $realproductname;
}
- if ( $allvariableshashref->{'NOSPACEINDIRECTORYNAME'} )
+ if ( $allvariableshashref->{'NOSPACEINDIRECTORYNAME'} )
{
- $productkey =~ s/\ /\_/g;
- $realproductkey =~ s/\ /\_/g;
+ $productkey =~ s/\ /\_/g;
+ $realproductkey =~ s/\ /\_/g;
}
-
- my $shortproductkey = installer::windows::idtglobal::make_eight_three_conform($productkey, "dir"); # third parameter not used
- $shortproductkey =~ s/\s/\_/g; # changing empty space to underline
+
+ my $shortproductkey = installer::windows::idtglobal::make_eight_three_conform($productkey, "dir"); # third parameter not used
+ $shortproductkey =~ s/\s/\_/g; # changing empty space to underline
-
+
$oneline = "$installer::globals::officemenufolder\t$installer::globals::programmenufolder\t$shortproductkey|$realproductkey\n";
push(@{$directorytableref}, $oneline);
}
@@@ -360,7 -358,7 +358,7 @@@
$oneline = "WindowsFolder\tTARGETDIR\tWindows\n";
push(@{$directorytableref}, $oneline);
-- $oneline = "WindowsShellNewFolder\tWindowsFolder\tShellNew\n";
++ $oneline = "WindowsFolder\tTARGETDIR\tWindows\n";
push(@{$directorytableref}, $oneline);
$oneline = "$installer::globals::programfilesfolder\tTARGETDIR\t.\n";
diff --cc solenv/bin/modules/installer/ziplist.pm
index d509c08,0f76519..868ea8e
--- a/solenv/bin/modules/installer/ziplist.pm
+++ b/solenv/bin/modules/installer/ziplist.pm
@@@ -763,6 -764,6 +764,16 @@@ sub replace_variables_in_ziplist_variab
###########################################################
# Overwrite the vendor string in openoffice.lst that is defined in configure
###########################################################
++
++sub overwrite_ooovendor
++{
++ my ($variableshashref) = @_;
++ $variableshashref->{'OOOVENDOR'} = $ENV{'OOO_VENDOR'} , if( defined $ENV{'OOO_VENDOR'} && $ENV{'OOO_VENDOR'} ne "" );
++}
++
++###########################################################
++# Overwrite the vendor string in openoffice.lst that is defined in configure
++###########################################################
sub overwrite_ooovendor
{
diff --cc solenv/bin/subsequenttests
index 3caa842,8b52f45..8b52f45
mode 100644,100755..100644
--- a/solenv/bin/subsequenttests
+++ b/solenv/bin/subsequenttests
diff --cc solenv/gbuild/AllLangResTarget.mk
index d68ce23,790fee2..4bf1afe
--- a/solenv/gbuild/AllLangResTarget.mk
+++ b/solenv/gbuild/AllLangResTarget.mk
@@@ -209,20 -211,22 +211,20 @@@ $(call gb_ResTarget_get_target,%) : $(g
$(call gb_Output_announce,$*,$(true),RES,2)
$(call gb_Helper_abbreviate_dirs_native,\
mkdir -p $(dir $@) $(OUTDIR)/bin \
- $(dir $(call gb_ResTarget_get_imagelist_target,$(1))) && \
+ $(dir $(call gb_ResTarget_get_imagelist_target,$*)) && \
RESPONSEFILE=`$(gb_MKTEMP) $(gb_Helper_MISC)` && \
+ EXTRA_LIP=`find $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION) -type d | sed -e "s/^/-lip=/"` && \
echo "-r -p \
-lg$(LANGUAGE) \
-fs=$@ \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/$(LIBRARY)) \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/imglst/$(LANGUAGE)) \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/imglst) \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/res/$(LANGUAGE)) \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/res) \
- -lip=$(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)) \
+ $${EXTRA_LIP} \
+ -lip=$(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/imglst/$(LANGUAGE) \
+ -lip=$(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION)/res/$(LANGUAGE) \
-lip=$(gb_ResTarget_DEFIMAGESLOCATION)res/$(LANGUAGE) \
-lip=$(gb_ResTarget_DEFIMAGESLOCATION)res \
- -subMODULE=$(dir $(realpath $(gb_ResTarget_DEFIMAGESLOCATION)$(RESLOCATION))) \
+ -subMODULE=$(gb_ResTarget_DEFIMAGESLOCATION) \
-subGLOBALRES=$(gb_ResTarget_DEFIMAGESLOCATION)res \
- -oil=$(dir $(call gb_ResTarget_get_imagelist_target,$(1))) \
+ -oil=$(dir $(call gb_ResTarget_get_imagelist_target,$*)) \
$(filter-out $(gb_Helper_MISCDUMMY),$^)" > $${RESPONSEFILE} && \
$(gb_ResTarget_RSCCOMMAND) @$${RESPONSEFILE} && \
rm -f $${RESPONSEFILE})
diff --cc solenv/inc/libs.mk
index 6ff3e24,9940f14..ffb4861
--- a/solenv/inc/libs.mk
+++ b/solenv/inc/libs.mk
@@@ -321,11 -321,11 +321,11 @@@ BFSVTOOLLIB=-lbf_svt$(DLLPOSTFIX
# Libraries
USED_OSL_LIBS =
- USED_VOS_LIBS = $(OSLLIB)
+ USED_VOS_LIBS = $(OSLLIB)
-USED_UNO_LIBS = $(OSLLIB)
+USED_UNO_LIBS = $(OSLLIB)
USED_TOOLS_LIBS =
- USED_SOT_LIBS = $(TOOLSLIB)
- USED_VCL_LIBS = $(SOTLIB) $(TOOLSLIB) $(USED_UNO_LIBS)
+ USED_SOT_LIBS = $(TOOLSLIB)
+ USED_VCL_LIBS = $(SOTLIB) $(TOOLSLIB) $(USED_UNO_LIBS)
# Applikationen
USED_BOOTSTRP_LIBS= $(TOOLSLIB)
diff --cc solenv/inc/settings.mk
index 8c57e82,e840bb2..313ca04
--- a/solenv/inc/settings.mk
+++ b/solenv/inc/settings.mk
@@@ -1017,17 -1018,18 +1018,18 @@@ LNTFLAGSOUTOBJ=-o
.ENDIF
.IF "$(OOO_LIBRARY_PATH_VAR)" != ""
-# Add SOLARLIBDIR at the begin of a (potentially previously undefined) library
-# path (LD_LIBRARY_PATH, PATH, etc.; prepending avoids fetching libraries from
-# an existing office/URE installation; the ": &&" enables this to work at the
-# start of a recipe line that is not prefixed by "+" as well as in the middle of
-# an existing && chain:
+# Add SOLARLIBDIR to the end of a (potentially previously undefined) library
+# path (LD_LIBRARY_PATH, PATH, etc.; there is no real reason to prefer adding at
+# the end over adding at the start); the ": &&" in the bash case enables this to
+# work at the start of a recipe line that is not prefixed by "+" as well as in
+# the middle of an existing && chain:
AUGMENT_LIBRARY_PATH = : && \
- $(OOO_LIBRARY_PATH_VAR)=$(normpath, $(SOLARSHAREDBIN))$${{$(OOO_LIBRARY_PATH_VAR):+:$${{$(OOO_LIBRARY_PATH_VAR)}}}}
+ $(OOO_LIBRARY_PATH_VAR)=$${{$(OOO_LIBRARY_PATH_VAR)+$${{$(OOO_LIBRARY_PATH_VAR)}}:}}$(normpath, $(SOLARSHAREDBIN))
AUGMENT_LIBRARY_PATH_LOCAL = : && \
- $(OOO_LIBRARY_PATH_VAR)=$(normpath, $(PWD)/$(DLLDEST)):$(normpath, $(SOLARSHAREDBIN))$${{$(OOO_LIBRARY_PATH_VAR):+:$${{$(OOO_LIBRARY_PATH_VAR)}}}}
+ $(OOO_LIBRARY_PATH_VAR)=$${{$(OOO_LIBRARY_PATH_VAR)+$${{$(OOO_LIBRARY_PATH_VAR)}}:}}$(normpath, $(PWD)/$(DLLDEST)):$(normpath, $(SOLARSHAREDBIN))
.END
+
# for multiprocess building in external modules
# allow seperate handling
EXTMAXPROCESS*=$(MAXPROCESS)
diff --cc solenv/inc/version.lst
index ac49f6c,200cdf5..200cdf5
mode 100644,100755..100644
--- a/solenv/inc/version.lst
+++ b/solenv/inc/version.lst
commit 390f3779206e62bf7a80b2b5d50f48b05b008a8f
Merge: 84a58c3... 57ac77e...
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Feb 6 01:19:38 2011 -0600
Merge remote branch 'origin/feature/gnumake2.1' into testm98
* origin/feature/gnumake2.1: (202 commits)
Revert "starmath need to have _DLL_ defined, even on MacOS"
tweak library name on MacOS
starmath need to have _DLL_ defined, even on MacOS
add helper to set-up the libraries env, to run executable during build
the startmath module in Module_ooo must use the name of the directory
add starmath libraries to Repository.mk
make linkoo scan the solver too, for Norbert's gnumake work
-Wunitialized is not compatible with -DDEBUG
rename gb_HIRESTIME to gb_LOWRESTIME. Assume highres precision by default
add missing library for sc. Massage the delivered libraries name.
support USE_GMAKE=1 envvar to build with gmake the modules that can be.
add sc in the list of gmake-Modules
support for an alternate gbuild.lst to support gmake build
add a few comment to balance quotes, to make the editor less confused
add all the sub-directory of the RESLOCATION to search for resource
add calc related library to the Repository
tweak MacOs platform specific include to build on Macos
fixing variable exports for windows compiler (thanks ause)
fixing variable exports for windows compiler (thanks ause)
also accept debug=t
...
Conflicts:
Makefile.in
solenv/inc/unxgcc.mk
diff --cc Makefile.in
index 9a854ea,54e93cf..5242a4a
--- a/Makefile.in
+++ b/Makefile.in
@@@ -2,16 -2,23 +2,23 @@@
SHELL=/usr/bin/env bash
+ ifeq ($(USE_GMAKE),)
+ GBUILD_OPT:=
+ else
+ GBUILD_OPT:=--gmake
+ endif
+
all: Makefile dmake/dmake at EXEEXT@ src.downloaded
+
- @. ./*[Ee]nv.[Ss]et.sh && \
+ . ./*[Ee]nv.[Ss]et.sh && \
cd instsetoo_native && \
- build.pl -P at BUILD_NCPUS@ --all -- -P at BUILD_MAX_JOBS@
+ build.pl $(GBUILD_OPT) -P at BUILD_NCPUS@ --all -- -P at BUILD_MAX_JOBS@
install:
- @. ./*[Ee]nv.[Ss]et.sh && \
- echo "Installing in $${prefix:- at prefix@}..." && \
- ooinstall "$${prefix:- at prefix@}" && \
- echo "" && \
+ @echo "Installing in $${prefix:-/usr/local}..."
+ . ./*[Ee]nv.[Ss]et.sh && \
+ ooinstall "$${prefix:- at prefix@}"
+ @echo && \
echo "Installation finished, you can now execute:" && \
echo "$${prefix:- at prefix@}/program/soffice"
@@@ -27,11 -34,12 +34,12 @@@ distclean: dmake/dmake at EXEEXT
dmake distclean
clean: dmake/dmake at EXEEXT@
- @. ./*[Ee]nv.[Ss]et.sh && \
+ . ./*[Ee]nv.[Ss]et.sh && \
- dmake clean
+ dmake clean && \
+ if [ -n "$$USE_GMAKE" ] ; then make -f GNUmakefile.mk -sr clean ; fi
dmake/dmake at EXEEXT@:
- @. ./*[Ee]nv.[Ss]et.sh && \
+ . ./*[Ee]nv.[Ss]et.sh && \
./bootstrap
src.downloaded: ooo.lst download
@@@ -44,13 -52,13 +52,13 @@@ Makefile: configure.in set_soenv.in Mak
./autogen.sh
check: Makefile dmake/dmake at EXEEXT@ fetch
- @. ./*[Ee]nv.[Ss]et.sh && \
+ . ./*[Ee]nv.[Ss]et.sh && \
cd smoketestoo_native && \
export SAL_USE_VCLPLUGIN="svp" && \
- build.pl -P at BUILD_NCPUS@ --all -- -P at BUILD_MAX_JOBS@
+ build.pl $(GBUILD_OPT) -P at BUILD_NCPUS@ --all -- -P at BUILD_MAX_JOBS@
id:
- @. ./*[Ee]nv.[Ss]et.sh && \
+ . ./*[Ee]nv.[Ss]et.sh && \
create-ids
tags:
diff --cc solenv/inc/unxgcc.mk
index c090024,6da2ccb..3d8269d
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@@ -176,10 -179,10 +179,10 @@@ LINKFLAGS += -Wl,-Bsymbolic-functions -
.ENDIF
# linker flags for linking applications
-LINKFLAGSAPPGUI= -Wl,-export-dynamic -Wl,--noinhibit-exec \
+LINKFLAGSAPPGUI= -Wl,-export-dynamic \
- -Wl,-rpath-link,$(LB):$(SOLARLIBDIR)
+ -Wl,-rpath-link,$(LB):$(SOLARLIBDIR):$(SYSBASE)/lib:$(SYSBASE)/usr/lib
-LINKFLAGSAPPCUI= -Wl,-export-dynamic -Wl,--noinhibit-exec \
+LINKFLAGSAPPCUI= -Wl,-export-dynamic \
- -Wl,-rpath-link,$(LB):$(SOLARLIBDIR)
+ -Wl,-rpath-link,$(LB):$(SOLARLIBDIR):$(SYSBASE)/lib:$(SYSBASE)/usr/lib
# linker flags for linking shared libraries
LINKFLAGSSHLGUI= -shared
commit 8726a732c15b3f27098835e0514cd1f34dbea993
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sat Feb 5 05:42:34 2011 -0600
pre-merge m98, a little more aggressive merge.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9566b45
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,249 @@
+# backup and temporary files
+*~
+.*.sw[op]
+
+# where the 'subrepos' and downloads are located
+/clone
+/src
+
+# the build directories
+/*/unxlng??
+/*/unxlng??.pro
+/*/wntmsc???
+/*/wntmsc???.pro
+/*/unxmac??
+/*/unxmac??.pro
+/solver/*
+
+# autoconf generated stuff
+/aclocal.m4
+/autom4te.cache
+/autogen.lastrun
+/bootstrap
+/ChangeLog
+/config.log
+/config.parms
+/config.status
+/configure
+/Makefile
+/makefile.mk
+/set_soenv
+/visibility.cxx
+/post_download
+/bin/repo-list
+/src.downloaded
+
+# misc
+/set_soenv.last
+/set_soenv.stamp
+/warn
+/build.log
+/install
+/downloaded
+/*.Set.sh
+/winenv.set.sh
+/ID
+/tags
+/docs
+
+/*/*.exe
+
+# links to the other repositories
+/MathMLDTD
+/Mesa
+/UnoControls
+/agg
+/accessibility
+/afms
+/animations
+/apache-commons
+/apple_remote
+/autodoc
+/automation
+/avmedia
+/basctl
+/basebmp
+/basegfx
+/basic
+/bean
+/beanshell
+/berkeleydb
+/binfilter
+/boost
+/bridges
+/cairo
+/canvas
+/chart2
+/cli_ure
+/codemaker
+/comphelper
+/configmgr
+/connectivity
+/cosv
+/cppcanvas
+/cppu
+/cppuhelper
+/cppunit
+/cpputools
+/crashrep
+/cui
+/curl
+/dbaccess
+/default_images
+/desktop
+/dictionaries
+/drawinglayer
+/dtrans
+/editeng
+/embeddedobj
+/embedserv
+/epm
+/eventattacher
+/expat
+/extensions
+/external
+/external_images
+/extras
+/fileaccess
+/filter
+/forms
+/formula
+/fpicker
+/framework
+/graphite
+/helpcontent2
+/hsqldb
+/hunspell
+/hwpfilter
+/hyphen
+/i18npool
+/i18nutil
+/icc
+/icu
+/idl
+/idlc
+/io
+/javainstaller2
+/javaunohelper
+/jfreereport
+/jpeg
+/jurt
+/jvmaccess
+/jvmfwk
+/l10n
+/l10ntools
+/languagetool
+/libegg
+/libtextcat
+/libwpd
+/libwpg
+/libwps
+/libxml2
+/libxmlsec
+/libxslt
+/lingucomponent
+/linguistic
+/lotuswordpro
+/lpsolve
+/lucene
+/mdds
+/migrationanalysis
+/more_fonts
+/moz
+/mysqlc
+/mysqlcppconn
+/mythes
+/neon
+/nlpsolver
+/np_sdk
+/nss
+/o3tl
+/odk
+/offapi
+/officecfg
+/offuh
+/ooo_custom_images
+/oovbaapi
+/oox
+/openssl
+/package
+/packimages
+/padmin
+/postprocess
+/psprint_config
+/python
+/pyuno
+/qadevOOo
+/rdbmaker
+/readlicense_oo
+/redland
+/regexp
+/registry
+/remotebridges
+/reportbuilder
+/reportdesign
+/rhino
+/ridljar
+/rsc
+/sal
+/salhelper
+/sane
+/sax
+/saxon
+/sc
+/scaddins
+/sccomp
+/scripting
+/sd
+/sdext
+/setup_native
+/sfx2
+/shell
+/slideshow
+/smoketestoo_native
+/sot
+/starmath
+/stax
+/stoc
+/store
+/svl
+/svtools
+/svx
+/sw
+/swext
+/sysui
+/test
+/testautomation
+/testgraphical
+/testtools
+/tomcat
+/toolkit
+/tools
+/twain
+/ucb
+/ucbhelper
+/udkapi
+/udm
+/unixODBC
+/unodevtools
+/unoil
+/unotools
+/unoxml
+/ure
+/uui
+/vbahelper
+/vcl
+/vigra
+/wizards
+/writerfilter
+/writerperfect
+/x11_extensions
+/xmerge
+/xml2cmp
+/xmlhelp
+/xmloff
+/xmlscript
+/xmlsecurity
+/xpdf
+/xsltml
+/zlib
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ 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.
+
+ 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.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ 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 GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/COPYING.LGPL b/COPYING.LGPL
new file mode 100644
index 0000000..fc8a5de
--- /dev/null
+++ b/COPYING.LGPL
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/COPYING.MPL b/COPYING.MPL
new file mode 100644
index 0000000..7714141
--- /dev/null
+++ b/COPYING.MPL
@@ -0,0 +1,470 @@
+ MOZILLA PUBLIC LICENSE
+ Version 1.1
+
+ ---------------
+
+1. Definitions.
+
+ 1.0.1. "Commercial Use" means distribution or otherwise making the
+ Covered Code available to a third party.
+
+ 1.1. "Contributor" means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. "Contributor Version" means the combination of the Original
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list