Re: [Libreoffice-commits] .: 2 commits - Module_cross_tail_build.mk unodevtools/source

2012-06-07 Thread Tor Lillqvist
> Anyway, I am sure that there are more modules that are not really needed
> and only got into the list as dependencies.

Yep; I recall that when I started the cross-compiling work I had to
include some module X in the list of stuff done on the build platform
just because X provided a header that contained some enum or something
that was used by some other (unrelated, and actually needed) code.
(The library from X was not needed.)

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-commits] .: 2 commits - Module_cross_tail_build.mk unodevtools/source

2012-06-07 Thread David Tardon
On Wed, Jun 06, 2012 at 08:59:12AM -0700, Tor Lillqvist wrote:
>  Module_cross_tail_build.mk  |1 
>  unodevtools/source/skeletonmaker/skeletoncommon.cxx |   34 
> 
>  2 files changed, 8 insertions(+), 27 deletions(-)
> 
> New commits:
> commit 9369f5abd785a9df174c5d583d55e3fd6918b542
> Author: Tor Lillqvist 
> Date:   Wed Jun 6 18:58:11 2012 +0300
> 
> unodevtools is not needed for the build platform in a cross-compilation
> 
> Change-Id: If77a879178a260590be64253435b6c8adde31878
> 
> diff --git a/Module_cross_tail_build.mk b/Module_cross_tail_build.mk
> index cc27ed1..86f87fd 100644
> --- a/Module_cross_tail_build.mk
> +++ b/Module_cross_tail_build.mk
> @@ -46,7 +46,6 @@ $(eval $(call gb_Module_add_moduledirs,cross_tail_build,\
>   sax \
>   shell \
>   tools \
> - unodevtools \
>   unoil \
>   unotest \
>   unotools \

It was in the build.lst for cross_toolset orignally, for some reason...
Anyway, I am sure that there are more modules that are not really needed
and only got into the list as dependencies. And there are yet other
modules that could be removed after some shuffling, e.g., I am pretty
sure shell is only needed because of lngconvex.

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 2 commits - Module_cross_tail_build.mk unodevtools/source

2012-06-06 Thread Tor Lillqvist
 Module_cross_tail_build.mk  |1 
 unodevtools/source/skeletonmaker/skeletoncommon.cxx |   34 
 2 files changed, 8 insertions(+), 27 deletions(-)

New commits:
commit 9369f5abd785a9df174c5d583d55e3fd6918b542
Author: Tor Lillqvist 
Date:   Wed Jun 6 18:58:11 2012 +0300

unodevtools is not needed for the build platform in a cross-compilation

Change-Id: If77a879178a260590be64253435b6c8adde31878

diff --git a/Module_cross_tail_build.mk b/Module_cross_tail_build.mk
index cc27ed1..86f87fd 100644
--- a/Module_cross_tail_build.mk
+++ b/Module_cross_tail_build.mk
@@ -46,7 +46,6 @@ $(eval $(call gb_Module_add_moduledirs,cross_tail_build,\
sax \
shell \
tools \
-   unodevtools \
unoil \
unotest \
unotools \
commit d28f2135f12b6ea9e62027ccdb713c4758a41a13
Author: Tor Lillqvist 
Date:   Wed Jun 6 18:55:56 2012 +0300

Nobody uses this tool, but still, update the license blurb it outputs

Change-Id: Id9d767c2738d8052f2716086fb40a1b01c68d76e

diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx 
b/unodevtools/source/skeletonmaker/skeletoncommon.cxx
index d9b9731..d6ce0f9 100644
--- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx
+++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx
@@ -54,32 +54,14 @@ void printLicenseHeader(std::ostream& o, rtl::OString const 
& filename)
 if ( index != -1 )
 shortfilename = filename.copy(index+1);
 
-o << 
"/*\n"
-" *\n"
-" * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n"
-" * \n"
-" * Copyright 2000, 2010 Oracle and/or its affiliates.\n"
-" *\n"
-" * OpenOffice.org - a multi-platform office productivity suite\n"
-" *\n"
-" * This file is part of OpenOffice.org.\n"
-" *\n"
-" * OpenOffice.org is free software: you can redistribute it and/or 
modify\n"
-" * it under the terms of the GNU Lesser General Public License 
version 3\n"
-" * only, as published by the Free Software Foundation.\n"
-" *\n"
-" * OpenOffice.org is distributed in the hope that it will be 
useful,\n"
-" * but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
-" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
-" * GNU Lesser General Public License version 3 for more details\n"
-" * (a copy is included in the LICENSE file that accompanied this 
code).\n"
-" *\n"
-" * You should have received a copy of the GNU Lesser General Public 
License\n"
-" * version 3 along with OpenOffice.org.  If not, see\n"
-" * \n"
-" * for a copy of the LGPLv3 License.\n"
-" *\n"
-" 
/\n\n";
+o << "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; 
c-basic-offset: 4 -*- */\n"
+ "/*\n"
+ " * Copyright 2012 LibreOffice contributors.\n"
+ " *\n"
+ " * This Source Code Form is subject to the terms of the Mozilla 
Public\n"
+ " * License, v. 2.0. If a copy of the MPL was not distributed with 
this\n"
+ " * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n";
+ " */\n\n";
 }
 
 bool getOutputStream(ProgramOptions const & options,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits