Re: Configure error on Mac

2015-06-04 Thread aronsoyol
The Source code is cloned from github and the head is on

commit ea4c3e19069b2746928af62788be6a65e07c03e9

Author: Kay Schenk 

Date:   Wed Jun 3 22:53:11 2015 +


#i126281# Remove HWP as an option to Writer open menu.







git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1683442
13f79535-47bb-0310-9956-ffa450edef68

2015-06-05 11:56 GMT+09:00 aronsoyol :

> Hi
>
> I want to build OpenOffice on Mac, But I encountered this error
>
> checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works...
> configure: WARNING: Ant does not work - Some Java projects will not build!
>
> checking whether ant is >= 1.7.0... ./configure: line 22551: test: not
> /System/Library/Frameworks/JavaVM: integer expression expected
>
> configure: error: no, you need at least ant >= 1.7.0
>
> My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK.
>
> The complete output is shown in below.
>
> Best regards.
>
>
> aron-mac-almas:main aron$ ./configure --with-dmake-url=
> http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
> --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
> --disable-build-mozilla --without-stlport --enable-verbose
> --enable-category-b--enable-wiki-publisher
> --with-ant-home=/usr/local/Cellar/ant/1.9.4
>
> configure: WARNING: unrecognized options: --disable-build-mozilla
>
> checking whether configure is up-to-date... yes
>
> 
>
> *  *
>
> *   Apache OpenOffice build configuration. *
>
> *  *
>
> *   The configure process checks your platform to see whether  *
>
> *   you can build Apache OpenOffice on it. *
>
> *   This process checks all pre-requisites and generates a file*
>
> *   containing the necessary environment variables.*
>
> *   Source this file after configure has ended successfully.   *
>
> *  *
>
> *   Warnings that are generated during the configure process   *
>
> *   must be taken into account since it can be a reason for*
>
> *   an unsuccessful build of Apache OpenOffice.*
>
> *  *
>
> 
>
>
> 
>
> *  *
>
> *   Checking the platform pre-requisites.  *
>
> *  *
>
> 
>
>
> checking for grep that handles long lines and -e... /usr/bin/grep
>
> checking for egrep... /usr/bin/grep -E
>
> checking for gawk... no
>
> checking for mawk... no
>
> checking for nawk... no
>
> checking for awk... awk
>
> checking for awk... /usr/bin/awk
>
> checking for sed... /usr/bin/sed
>
> checking for solenv environment... default
>
> checking for custom pack.lst... no
>
> checking build system type... x86_64-apple-darwin14.3.0
>
> checking host system type... x86_64-apple-darwin14.3.0
>
> checking target system type... x86_64-apple-darwin14.3.0
>
> head: /etc/*-release: No such file or directory
>
> Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar
> 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>
> configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use
> --disable-systray
>
> checking for pkg-config... no
>
> checking whether to enable crashdump feature... no
>
> checking whether to turn warnings to errors... no
>
> checking whether to do a debug build... no
>
> checking whether to build with additional debug utilities... no, full
> product build
>
> checking whether to include symbols into final build... no
>
> checking whether to strip the solver or not yes
>
> checking whether to enable category B components... yes: allow modules
> nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built
>
> checking whether to enable the Online Update support... yes
>
> checking whether to enable unit tests... yes
>
> checking whether to enable native CUPS support... yes
>
> checking whether to enable fontconfig support... no
>
> checking whether to use RPATH in shared libraries... yes
>
> checking whether to use dicts from external paths... no
>
> checking for bash... /bin/bash
>
> checking gcc home... /usr
>
> checking for gcc...
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> -arch x86_64
>
> checking whether the C compiler works... yes
>
> checking for C compiler default output file name... a.out
>
> checking for suffix of execu

Configure error on Mac

2015-06-04 Thread aronsoyol
Hi

I want to build OpenOffice on Mac, But I encountered this error

checking if /usr/local/Cellar/ant/1.9.4/libexec/bin/ant works... configure:
WARNING: Ant does not work - Some Java projects will not build!

checking whether ant is >= 1.7.0... ./configure: line 22551: test: not
/System/Library/Frameworks/JavaVM: integer expression expected

configure: error: no, you need at least ant >= 1.7.0

My system is Mac 10.10.3. and I've installed ANT 1.9.4. and JDK.

The complete output is shown in below.

Best regards.


aron-mac-almas:main aron$ ./configure --with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
  --disable-build-mozilla --without-stlport --enable-verbose
--enable-category-b--enable-wiki-publisher
--with-ant-home=/usr/local/Cellar/ant/1.9.4

configure: WARNING: unrecognized options: --disable-build-mozilla

checking whether configure is up-to-date... yes



*  *

*   Apache OpenOffice build configuration. *

*  *

*   The configure process checks your platform to see whether  *

*   you can build Apache OpenOffice on it. *

*   This process checks all pre-requisites and generates a file*

*   containing the necessary environment variables.*

*   Source this file after configure has ended successfully.   *

*  *

*   Warnings that are generated during the configure process   *

*   must be taken into account since it can be a reason for*

*   an unsuccessful build of Apache OpenOffice.*

*  *






*  *

*   Checking the platform pre-requisites.  *

*  *




checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking for awk... /usr/bin/awk

checking for sed... /usr/bin/sed

checking for solenv environment... default

checking for custom pack.lst... no

checking build system type... x86_64-apple-darwin14.3.0

checking host system type... x86_64-apple-darwin14.3.0

checking target system type... x86_64-apple-darwin14.3.0

head: /etc/*-release: No such file or directory

Darwin aron-mac-almas.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23
11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

configure: WARNING: Disabling gtk-quickstarter - not supported on Mac. Use
--disable-systray

checking for pkg-config... no

checking whether to enable crashdump feature... no

checking whether to turn warnings to errors... no

checking whether to do a debug build... no

checking whether to build with additional debug utilities... no, full
product build

checking whether to include symbols into final build... no

checking whether to strip the solver or not yes

checking whether to enable category B components... yes: allow modules nss,
hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built

checking whether to enable the Online Update support... yes

checking whether to enable unit tests... yes

checking whether to enable native CUPS support... yes

checking whether to enable fontconfig support... no

checking whether to use RPATH in shared libraries... yes

checking whether to use dicts from external paths... no

checking for bash... /bin/bash

checking gcc home... /usr

checking for gcc...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch x86_64

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch x86_64 accepts -g... yes

checking for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch x86_64 option to accept ISO C89... none needed

checking the GNU gcc compiler version... implicitly using
CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arc

Looking for help for clipboard in Math

2015-06-04 Thread Regina Henschel

Hi all,

I struggle with the clipboard. My goal is to import MathML in module 
Math from clipboard, similar as it is imported from file. But I'm stuck. 
Therefore some questions:


(1)
Has someone tried such already and found, that it is not possible?

(2)
The comments in file exchange.cxx refer to a document "CLIP.SDW". Has 
someone this document and can provide it?


(3)
I have added a .uno command which is executed in 
SmViewShell::Execute(SfxRequest& rReq)


My current attempt looks like this:

TransferableDataHelper aDataHelper( 
TransferableDataHelper::CreateFromSystemClipboard(GetEditWindow()) );

SotFormatStringId nId;
DataFlavorExVector* pFormats;
pFormats = &aDataHelper.GetDataFlavorExVector();
DataFlavorExVector::iterator aIter( 
((DataFlavorExVector&)*pFormats).begin() ),
aEnd( 
((DataFlavorExVector&)*pFormats).end() );

while ( aIter != aEnd )
{
nId = (*aIter).mnSotId;
...
aIter++;
}

I get some nId-values and for some of them I can get a stream and can 
look at the content. But the clipboard content, which is generated by 
the Windows program "Math Input Control" (mip.exe) is not noticed. But I 
see that the clipboard has a content "MathML" and a content "MathML 
Presentation" using the clipboard viewer "Free Clipboard Viewer 2.0". 
Why do I get no nId for it?


(4)
The numbers I get in nId are those from the list in exchange.cxx, and 
for "application/mathml+xml", which is not listed there, I get the next 
one following the list. But how can I get the MimeType or the 
HumanPresentableName for the detected nId? My following try does not 
work, the strings are empty in all cases:


::com::sun::star::datatransfer::DataFlavor aFlavor;
SotExchange::GetFormatDataFlavor( nId, aFlavor ) )
String sHumanPresentableName(aFlavor.HumanPresentableName);
String sMimeType(aFlavor.MimeType);

(5)
I try to use SmViewShell::InsertFrom(SfxMedium &rMedium). It seems to 
work, but when the process arrives at SmXMLImport::endDocument(void), 
the node tree is empty.  Any tips, what I might have missed?


Kind regards
Regina


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



DChanges 2014 Papers and ODF Conformance/Compliance Assurance

2015-06-04 Thread Dennis E. Hamilton
I took advantage of Corinthia as a place to build up materials on ODF 
Conformance/Compliance Assurance testing of software products, since creating 
profiles of feature compliance figures in the scope of the Apache Corinthia 
(incubating) project.

The material is relevant, of course, to Apache OpenOffice and other 
implementations of ODF.

The proposed structure for development of files, procedures, and assessments is 
at .

I have updated the ODF Conformance/Compliance Assurance Helix sketch there.  
The connected treatment of ODF 1.2 Conformance that has been linked from that 
sketch has also been updated.  That overview is at 
 and a trial diagram of the 
different conformance layers is at 
.

I am starting to put more effort into this material, including coming up with 
minimal test cases as baby steps.

My papers from DChanges 2014 are also relevant to this effort.  Although the 
"Anti-Pattern" paper is about repairing change-tracking, a key conclusion is 
that one can't achieve an envelope within which interoperable interchange of 
changed-tracked documents is possible without have a surrounding envelope in 
which there is reliable interchange without any change tracking.  The 
"Anti-Pattern" paper provides a sketch of how one can establish that, and some 
principles that must be honored.  

I have not put authors versions of my DChanges 2014 papers on-line yet.  I will 
do so in the coming week.

 - Dennis

-Original Message-
From: Dennis E. Hamilton [mailto:dennis.hamil...@acm.org] 
Sent: Tuesday, May 12, 2015 10:50
To: d...@corinthia.incubator.apache.org
Subject: DChanges 2014 Papers Available

The final versions of papers on change-tracking from DChanges2014 have been 
published.  You can see the table of contents of the proceedings at 
 by selecting to see the "Table of 
Contents."

[ ... ]


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Buildbot: buildslave aoo_mac-mini was lost

2015-06-04 Thread buildbot
The Buildbot working for 'ASF Buildbot'
has noticed that the buildslave named aoo_mac-mini went away

It last disconnected at Thu Jun  4 21:37:47 2015 (buildmaster-local time)

The admin on record (as reported by BUILDSLAVE:info/admin)
was 'Apache OpenOffice 
'.

Sincerely,
 The Buildbot
 http://ci.apache.org/

http://ci.apache.org/buildslaves/aoo_mac-mini

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[PATCH] - Re: [RAT REPORT] - 30 files with an unknown or no License Header

2015-06-04 Thread Gavin McDonald
Hi All,

Following on from this then I decided to add License headers to all but two of 
the
30 files, the remainder having entries in the rat-excludes file, so this patch
attached should clear up our RAT report as it stands.

Below is a svn st list of modified files and please find attached a patch.

HTH

Gav…

—

M   main/ooxml/source/framework/JavaOOXMLParser/.classpath
M   main/ooxml/source/framework/JavaOOXMLParser/.project
M   main/ooxml/source/framework/JavaPartManager/.classpath
M   main/ooxml/source/framework/JavaPartManager/.project
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java
M   
main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java
M   main/ooxml/source/framework/OOXMLViewer/.classpath
M   main/ooxml/source/framework/OOXMLViewer/.project
M   main/ooxml/source/framework/SchemaParser/.classpath
M   main/ooxml/source/framework/SchemaParser/.project
M   
main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js
M   
main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css
M   
main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html
M   
main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html
M   main/rat-excludes




rat-license.patch
Description: Binary data


> On 7 May 2015, at 8:06 am, Jürgen Schmidt  wrote:
> 
> On 06/05/15 14:45, jan i wrote:
>> On 6 May 2015 at 14:14, Gavin McDonald  wrote:
>> 
>>> Hi All,
>>> 
>>> http://ci.apache.org/projects/openoffice/rat-output.html
>>> 
>>> shows 30 files that need attention in getting valid license headers adding.
>>> 
>>> A quick look shows to me that we should probably insert ASF license
>>> Headers
>>> in all of those files.
>>> 
>>> If nobody gets to it before me I’ll provide a patch to that effect.
>>> 
>> I just had a look, all the files should really have ALv2 added. I wonder
>> what happened, because I know a couple of these files used
>> to have ALv2. I will take a look at "svn log" later.
>> 
>> The archives however is covered by the general LICENSE file, when we make a
>> distribution.
>> 
>> Patches are welcome.
>> rgds
>> jan I.
>> 
> 
> 
> the files were from a new project that is currently stalled, I believe
> the headers were simply forgotten. They are not part of the office yet
> and if they are in the source tarball it is just a mistake.
> 
> Juergen
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Buildbot: buildslave aoo_mac-mini was lost

2015-06-04 Thread buildbot
The Buildbot working for 'ASF Buildbot'
has noticed that the buildslave named aoo_mac-mini went away

It last disconnected at Thu Jun  4 08:37:23 2015 (buildmaster-local time)

The admin on record (as reported by BUILDSLAVE:info/admin)
was 'Apache OpenOffice 
'.

Sincerely,
 The Buildbot
 http://ci.apache.org/

http://ci.apache.org/buildslaves/aoo_mac-mini

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org