You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2012/04/02 06:26:11 UTC

svn commit: r811080 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/porting/freebsd/ content/porting/freebsd/images/ content/porting/freebsd/qa/

Author: buildbot
Date: Mon Apr  2 04:26:10 2012
New Revision: 811080

Log:
Staging update by buildbot for openofficeorg

Added:
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd-fancy.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd-aoo-btn-rb.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-1a.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-300x100.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo.png   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/index.html
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/ooocheckout.pl   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa11.sh   (with props)
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa20.sh
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooupdate.pl
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/qa_ooo115_fbsd.diff
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc1
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc2
Removed:
    websites/staging/ooo-site/trunk/content/porting/freebsd/QA.html
    websites/staging/ooo-site/trunk/content/porting/freebsd/ooocheckout.pl
    websites/staging/ooo-site/trunk/content/porting/freebsd/oooqa11.sh
    websites/staging/ooo-site/trunk/content/porting/freebsd/oooqa20.sh
    websites/staging/ooo-site/trunk/content/porting/freebsd/oooupdate.pl
    websites/staging/ooo-site/trunk/content/porting/freebsd/qa_ooo115_fbsd.diff
    websites/staging/ooo-site/trunk/content/porting/freebsd/testtoolrc1
    websites/staging/ooo-site/trunk/content/porting/freebsd/testtoolrc2
Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/porting/freebsd/index.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr  2 04:26:10 2012
@@ -1 +1 @@
-1307922
+1308235

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr  2 04:26:10 2012
@@ -1 +1 @@
-1307922
+1308235

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd-fancy.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd-fancy.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/aoo-freebsd.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd-aoo-btn-rb.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd-aoo-btn-rb.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-1a.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-1a.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-300x100.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo-300x100.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/images/freebsd_logo.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: websites/staging/ooo-site/trunk/content/porting/freebsd/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/index.html (original)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/index.html Mon Apr  2 04:26:10 2012
@@ -22,8 +22,10 @@
     
     
 <a name="top"></a>
-<h2>Apache OpenOffice FreeBSD porting status page</h2>
-<br>
+<h2 align="center" >Apache OpenOffice FreeBSD porting status page</h2>
+<hr>
+<p align="center" ><img src="images/aoo-freebsd.png" width="648" height="260" alt="" /></p>
+<hr>
 by <a href="mailto:office@FreeBSD.org">OpenOffice porting team</a>
 , <a href="mailto:maho@Apache.org">NAKATA, Maho</a> 
 , and <a href="mailto:xxjack12xx@openoffice.org">Jackson Low</a>
@@ -35,7 +37,7 @@ by <a href="mailto:office@FreeBSD.org">O
 <li> <a href="benchmark.html">Build timings (benchmark test)</a>
 <li> <a href="sdk.html">How to use SDK</a>
 <li> <a href="testing.html">Implementation test</a>
-<li> <a href="QA.html">Quality Assurance</a>
+<li> <a href="qa/index.html">Quality Assurance</a>
 <li> <a href="dictionary.html">About dictionary</a>
 <li> <a href="#release">Release process</a>
 <li> <a href="#todo">Todo</a>
@@ -50,7 +52,7 @@ by <a href="mailto:office@FreeBSD.org">O
 <a name="news"></a>
 <h3>News</h3>
 	<p>2012/Feb/29: The FreeBSD port has been merged in the Apache SVN repository. The <a href="https://blogs.apache.org/OOo/">Apache OpenOffice blog</a> has a new entry from Maho@.
-	<p>Older OpenOffice.org porting news can be found <a href=/old.html>here</a>.
+	<p>Older OpenOffice.org porting news can be found <a href=old.html>here</a>.
 <p>
 <a href="#top">Top of page</a>
 <hr>
@@ -60,12 +62,12 @@ by <a href="mailto:office@FreeBSD.org">O
 <ul>
 <li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice-3-devel/">Apache OpenOffice 3.4 (Development Version; upcoming 3.x)</a>
 <li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-3/">OpenOffice.org 3.3.0</a>
-<li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-3-RC/">OpenOffice.org OOO330_m20</a>
-<li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-2/">OpenOffice.org 2.4.1</a>
+<li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-3-RC/">OpenOffice.or (DEPRECATED)</a>
+<li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-2/">OpenOffice.org 2.4.1(DEPRECATED)</a>
 <li> <a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/ooo-build/">ooo-build</a>, a minor <a href="http://wiki.services.openoffice.org/wiki/Ooo-build">fork of OpenOffice.org</a> (BROKEN)
 </ul>
 
-<h3>Obtaining older packages, language packs, and build logs</h3>
+<h3>Obtaining older packages, language packs, and build logs (DEPRECATED)</h3>
 <ul>
 <li> <a href="ftp://ooopackages.good-day.net/pub/OpenOffice.org/contrib/freebsdx86-64">Current amd64 packages, language packs, and build logs</a>
 <li> <a href="ftp://ooopackages.good-day.net/pub/OpenOffice.org/contrib/freebsdx86">Current i386 packages, language packs, and build logs</a>

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/index.html (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/index.html Mon Apr  2 04:26:10 2012
@@ -0,0 +1,250 @@
+<!--#include virtual="/doctype.html" -->
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
+<title>FreeBSD OpenOffice.org porting status page : Quality Assurance and known issues</title>
+
+</head>
+<body>
+<!--#include virtual="/brand.html" -->
+  <div id="topbara">
+    <!--#include virtual="/topnav.html" -->
+    <div id="breadcrumbsa"><a href="/">home</a>&nbsp;&raquo;&nbsp;<a href="/porting/">porting</a>&nbsp;&raquo;&nbsp;<a href="/porting/freebsd/">freebsd</a>&nbsp;&raquo;&nbsp;<a href="/porting/freebsd/qa/">qa</a></div>
+  </div>
+  <div id="clear"></div>
+  
+  
+  <div id="content">
+    
+    
+    
+<h2>FreeBSD OpenOffice.org porting status page : Quality Assurance</h2>
+
+<p>$Id: QA.html,v 1.21 2005/12/01 07:19:41 maho Exp $</p>
+by <a href="mailto:openoffice@FreeBSD.org">OpenOffice.org porting team</a>
+and <a href="mailto:maho@FreeBSD.org">NAKATA, Maho</a> 
+
+<h3>Quality Assurance</h3>
+Once porting has been done, it means that the OOo source is buildable. The next step should be to perform Quality Assurance of the FreeBSD ported OpenOffice.org. This consists of several parts. Automated QA testing is also available. Other testcases are always needed.
+
+<h3>Automated QA</h3>
+Basic functionality of OpenOffice.org can be tested via automated GUI tools. The testtool connects OOo via TCP/IP, and does partial testing. Before proceeding, you should read
+<a href="http://www.openoffice.org/qa/qatesttool/">Automated GUI Testing</a>, 
+<a href="http://www.openoffice.org/qa/qatesttool/OOo_testtool.pdf">Introduction to Automated GUI Testing</a>, and <a href="http://www.openoffice.org/qa/qatesttool/OOo_tt_CookBook.pdf">OpenOffice.org TestTool CookBook</a>. 
+
+<br>
+<h4>Testing OpenOffice.org 2.0</h4>
+<ul>
+<li> Install OpenOffice.org 2.0 via port:
+<pre>
+# cd /usr/ports/editors/openoffice.org-2.0
+# make install
+</pre>
+<li> Prepare some directory (this affects .testtoolrc)
+<pre>
+% mkdir /work/ooo/2.0
+</pre>
+<li> Checkout QA test scripts
+<pre>
+% cd /work/ooo/2.0
+% cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co qa/qatesttool
+</pre>
+CAUTION: you must checkout appropreate qa/qatesttool otherwise meaningless. Please refer <a href="http://blogs.sun.com/roller/page/liegerad?catname=%2FSun">qa/qatesttool cvs tags and branches</a>. If you want to test OOo 2.0.0, check out
+by:
+<pre>
+% cd /work/ooo/2.0
+% cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co -r OOO200final qa/qatesttool
+</pre>
+2.0.1 (currently in the works until it will out)
+<pre>
+% cd /work/ooo/2.0
+% cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co -r OOO201 qa/qatesttool
+</pre>
+
+<li> Write .testtoolrc<br>
+Just copying and pasting this section into ~/.testtollrc is enough.
+You can change some directories/profile/hardcoded names, etc., if you'd like. <br>
+The following part is the most important:
+<pre>
+[OooProgramDir]
+Current=/usr/local/openoffice.org2.0/
+All=/usr/local/openoffice.org2.0/
+</pre>
+You must change to another directory if you installed the newer port
+(RC2 or 2.0 or 2.0.1 or developer version). you can check by typing:
+<pre>
+%cd /usr/ports/editors/openoffice.org-2.0-devel
+% make -V INSTALLATION_BASEDIR
+openoffice.org2.0m140
+</pre>
+for example
+and you can download from here <a href="testtoolrc2">testtoolrc2</a>.
+please rename to .testtoolrc and change appropreately before using it.
+
+<li> Install bash via ports
+<pre>
+% su
+Password:
+# cd /usr/ports/shells/bash
+# make install clean
+</pre>
+
+<li> Apply following patch to qa/qatesttool/script/unix/OOoTestRun_unix.sh
+(just setting sLocation, LD_LIBRARY_PATH and sTestTool appropriately)
+<pre>
+--- qa/qatesttool/script/unix/OOoTestRun_unix.sh        Thu Sep  8 17:51:36 2005
++++ qa/qatesttool/script/unix/OOoTestRun_unix.sh  Thu Oct 13 11:30:26 2005
+@@ -43,11 +43,12 @@
+
+ # set location of testscripts
+ # (the directory, where directory 'qatesttool' exists)
+-sLocation=/testtool
++sLocation=/work/ooo/2.0/qa/
+
+ # set location of TestTool
+ # (full path including executable 'testtool')
+-sTestTool=/testtool/linux/testtool
++sTestTool=/usr/local/openoffice.org2.0.RC1/program/testtool.bin
++LD_LIBRARY_PATH=/usr/local/openoffice.org2.0.RC1/program; export LD_LIBRARY_PATH
+
+ # set location of close-office file
+ # (see cvs)
+
+</pre>
+<li> Run OOoTestRun_unix.sh
+<pre>
+% cd /work/ooo/2.0/
+% bash qa/qatesttool/script/unix/OOoTestRun_unix.sh
+</pre>
+
+<li> running VCL testtool in background
+<blockquote>
+if you are running testtool, you cannot do anything other than QA. you cannot run OOo, you need X terminal dedicated to QA, etc. to QA in background, I wrote a shell script. this does clean test, removing user settings and logs everytime.
+<a href="oooqa20.sh">oooqa20.sh</a>. You should create a new user like oooqa20, then
+<pre>
+login: oooqa20
+...
+% bash oooqa20.sh
+</pre>
+Of course, I assume you are QA expert :)
+</blockquote>
+<li> Diagnostics: Logs are accumulated in qa/qatesttool/errorlog/maho/*res
+</ul>
+<hr>
+
+<h4> Testing OpenOffice.org 1.1.5 </h4>
+You need the GNU/Linux version of qatesttool to run. Currently, my FreeBSD build of 
+the testtool are broken and I don't know how to fix it...
+<ul>
+<li> Activate linux ABI via ports
+<pre>
+# cd /usr/ports/emulators/linux_base-rh-9/
+# make install
+</pre>
+<li> Install OpenOffice.org 1.1.5 via port: (do not delete the work directory!!)
+and copy the necessary library named libsts645fi.so to /usr/local/OpenOffice.org1.1.5/program/.
+<pre>
+# cd /usr/ports/editors/openoffice.org-1.1
+# make install
+# cp /usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/solver/645/unxfbsd.pro/lib/libsts645fi.so /usr/local/OpenOffice.org1.1.5/program/
+</pre>
+
+<li> Make sure OpenOffice.org 1.1.5 user installation has been completed
+<pre>
+% openoffice.org-1.1.5
+...
+</pre>
+Do you have ~/.sversionrc and ~/OpenOffice.org1.1.5?
+<pre>
+% ls ~/.sversionrc
+/home/maho/.sversionrc
+% ls ~/OpenOffice.org1.1.5/
+LICENSE                         setup@
+LICENSE.html                    setup.log
+README                          share/
+README.html                     soffice@
+THIRDPARTYLICENSEREADME.html    spadmin@
+instdb.ins                      user/
+program/
+</pre>
+If so, then you're okay.
+
+<li>Prepare the qa directory
+<pre>
+% mkdir /work/ooo/1.1.5
+</pre>
+
+<li> Download the testtool (linux version)
+<pre>
+% cd /work/ooo/
+% fetch http://www.openoffice.org/qa/qatesttool/11beta/tt_645m5_linux.tar.gz
+% tar xvfz tt_645m5_linux.tar.gz
+</pre>
+
+<li> Checkout QA test scripts for 1.1.5 (tag is ooo115)
+<pre>
+% cd /work/ooo/1.1.5
+% cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs co -r ooo115 qa/qatesttool
+</pre>
+for 1.1.4 and 1.1.3 please use branch (tag) ooo114, ooo113, respectively.
+<li> Write ~/.testtoolrc (do not mix with 2.0s one)
+ you can also download from here <a href="testtoolrc1">testtoolrc1</a>.<br>
+please rename to .testtoolrc and change appropreately before using it.
+
+<li> Apply <a href="qa_ooo115_fbsd.diff">qa_ooo115_fbsd.diff</a> this patch to qa/qatesttool
+ 
+<li> Run OOoTestRun_unix.sh
+<pre>
+% cd /work/ooo/1.1.5
+% bash qa/qatesttool/script/unix/OOoTestRun_unix.sh
+</pre>
+
+<li> running VCL testtool in background
+<blockquote>
+if you are running testtool, you cannot do anything other than QA. you cannot run OOo, you need X terminal dedicated to QA, etc. to QA in background, I wrote a shell script. this does clean test, removing user settings and logs everytime.
+<a href="oooqa11.sh">oooqa11.sh</a>. You should create a new user like oooqa11, then
+<pre>
+login: oooqa11
+...
+% bash oooqa11.sh
+</pre>
+Of course, I assume you are QA expert :)
+</blockquote>
+
+<li> Diagnostics:
+Logs are accumulated at qa/qatesttool/errorlog/maho/*res
+</ul>
+
+<hr>
+<ul>
+Some pitfalls
+<li> [OooProgramDir]
+<blockquote>
+If you install different version of OOo, you must change this.
+</blockquote>
+<li> [Communication]
+<blockquote>
+if you want to run QA 1.1.5 and 2.0 at the same time, you must change the port number, and port numbers
+are arbitrary, but never be the same.
+</blockquote>
+</ul>
+<br>
+<hr>
+Links
+<ul>
+<li> <a href="http://www.openoffice.org/qa/">Quality assurance project</a>
+<li> <a href="http://www.openoffice.org/qa/localized/index.html">QA for localized builds</a>
+<li> <a href="http://www.openoffice.org/qa/localized/status.html">OpenOffice.org 1.1.4 Localization Status</a>
+<li> <a href="http://blogs.sun.com/roller/page/liegerad?catname=%2FSun">qa/qatesttool cvs tags and branches</a>
+</ul>
+<hr>
+
+  </div>
+
+<!--#include virtual="/footer.html" -->
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/ooocheckout.pl
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/ooocheckout.pl (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/ooocheckout.pl Mon Apr  2 04:26:10 2012
@@ -0,0 +1,158 @@
+#!/usr/bin/perl
+# Copyright 2007 Nakata Maho
+# automatically checks out some milestones 
+
+use File::chdir; #ports/devel/p5-File-chdir
+use LWP::Simple; #ports/www/p5-LWP-Authen-Wsse
+use XML::RSS;    #ports/textproc/p5-XML-RSS
+use LWP::UserAgent; #ports/???
+
+$eis_url = 'http://eis.services.openoffice.org/EIS2/cws.rss.CWSAnnounceNewsFeed/mws';
+$ooo_codeline="680";
+$ooo_checkoutdir="/work/tmp/ooocheckout";
+$ooo_checkoutlog="/work/tmp/ooocheckoutlog";
+$ooo_sourcedir="/home/ftp/pub/OpenOffice.org/sources/";
+$ooo_cvs_server="-z3 -d:pserver:anoncvs\@anoncvs.services.openoffice.org:/cvs";
+$ooo_sourcesite="build.good-day.net";
+$ooo_sourcedir="/pub/OpenOffice.org/sources/";
+$ooo_tag="";
+$ooo_alias="";
+$infinite_mode=1;
+$|=1;
+$ooo_alreadycheckedout=0;
+
+sub parse_option {
+        while ($_ = shift) {
+                if (substr($_, 0, 1) eq '-') {
+                        if ($_ eq '-help') {
+                                print "ooocheckout [-tag tag]\n";
+                                exit;
+                        } elsif ($_ eq '-tag') {
+                                $ooo_tag = shift;
+				$infinite_mode=0;
+                        } else {
+                                die "Invalid option: \"$_\"\n";
+                        }
+                }
+        }
+}
+
+##main
+parse_option(@ARGV);
+while (1) {
+
+if(open(CHECKOUTLOG,"<$ooo_checkoutlog"))
+{
+
+if ( $ooo_tag eq '' || $infinite_mode) { 
+########################
+# determine newest tag #
+########################
+$data_from_web = get($eis_url);
+$rss = new XML::RSS;
+$rss->parse($data_from_web);
+
+$item=@{$rss->{'items'}}[0];
+split (' ',$item->{'title'});
+$ooo_tag=@_[1];
+print "Current newst tag is $ooo_tag\n";
+} else {
+print "You specified tag : $ooo_tag\n";
+}
+
+while(<CHECKOUTLOG>) {
+   if(/$ooo_tag/o) {
+      $ooo_alreadycheckedout=1;
+   } else {
+      $ooo_alreadycheckedout=0;
+   }
+}
+close(CHECKOUTLOG);
+}
+
+$ooo_archive_name="OOo_" . "$ooo_tag" . "_source.tar.bz2" ;
+$ooo_archive_name_md5="OOo_" . "$ooo_tag" . "_source.tar.bz2.md5" ;
+$ENV{'LANG'}="C";
+$ENV{'LC_ALL'}="C";
+
+########################
+# checkout source code #
+########################
+print "Checked out source code tar ball will be : $ooo_archive_name\n";
+my $ua = LWP::UserAgent->new;
+$ua->timeout(10);
+$url="http://" . "$ooo_sourcesite" . "$ooo_sourcedir". "$ooo_archive_name";
+if ((!head($url) || !$infinite_mode) && !$ooo_alreadycheckedout )  {
+if(!head($url))
+{
+	print "OOo source doesn't exist on $ooo_sourcesite !\n";
+}
+if($infinite_mode)
+{
+	print "Infinte mode\n";
+}
+if($ooo_alreadycheckedout)
+{
+	print "$ooo_tag has already been checked out\n";
+}
+
+print "OOo checkout start!\n";
+system("date\n");
+system("mkdir -p $ooo_checkoutdir\n");
+system("rm -rf $ooo_checkoutdir/$ooo_tag\n");
+system("mkdir -p $ooo_checkoutdir/$ooo_tag\n");
+
+$CWD="$ooo_checkoutdir/$ooo_tag";
+$ooo_alias="OpenOffice2";
+
+if ($ooo_tag=~/SRC680/o)
+{
+$ooo_alias="OpenOffice2";
+}
+
+if ($ooo_tag=~/SRX645/o)
+{
+$ooo_alias="OpenOffice";
+}
+
+system("cvs $ooo_cvs_server checkout -r $ooo_tag $ooo_alias \n");
+system ("cd .. ; tar cvfj $ooo_archive_name $ooo_tag \n");
+system ("cd .. ; md5 $ooo_archive_name > $ooo_archive_name_md5 \n");
+
+print "OOo checkout done!\n";
+system("date\n");
+######################
+# upload source code #
+######################
+print "scp'ing to master site...\n";
+system ("scp ../$ooo_archive_name $ooo_sourcesite" . ":/home/ftp" . "$ooo_sourcedir\n"); 
+system ("scp ../$ooo_archive_name_md5 $ooo_sourcesite" . ":/home/ftp" . "$ooo_sourcedir\n"); 
+open(CHECKOUTLOG,">>$ooo_checkoutlog") || die "cannot open $ooo_checkoutlog\n";
+print CHECKOUTLOG "$ooo_tag\n";
+close(CHECKOUTLOG);
+print "scp done\n";
+$ooo_alreadycheckedout=0;
+} else {
+
+if(head($url))
+{
+	print "Sleep one hour : OOo source had already been checked out $ooo_sourcesite !\n";
+}
+
+if($ooo_alreadycheckedout)
+{
+	print "Sleep one hour : $ooo_tag has already been checked out\n";
+}
+system("date\n");
+sleep 3600;
+}
+
+if (!$infinite_mode)  {
+exit;
+}
+
+}
+
+
+
+

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/ooocheckout.pl
------------------------------------------------------------------------------
    svn:executable = *

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa11.sh
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa11.sh (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa11.sh Mon Apr  2 04:26:10 2012
@@ -0,0 +1,27 @@
+Xvfb :1002 -screen 0 1024x768x24 -fbdir /work/tmp/oooqa11 &
+sleep 5
+DISPLAY=localhost:1002; export DISPLAY
+gnome-session &
+sleep 30
+cd /work/ooo/1.1.5/
+rm -rf *.core
+rm -rf ~/.sversionrc ~/OpenOffice.org1.1.5/ qa/qatesttool/errorlog/maho* 
+#create response file
+TMPBASE=`basename $0`
+TMPFILE=`mktemp /tmp/${TMPBASE}.XXXXXX`
+cat << EOF >> ${TMPFILE}
+[ENVIRONMENT]
+INSTALLATIONMODE=INSTALL_WORKSTATION
+INSTALLATIONTYPE=WORKSTATION
+DESTINATIONPATH=~/OpenOffice.org1.1.5
+OUTERPATH=
+LOGFILE=install.log
+LANGUAGELIST=01
+
+[JAVA]
+JavaSupport=preinstalled_or_none
+
+EOF
+/usr/local/bin/openoffice.org-1.1.5-setup -v -nogui -r:${TMPFILE}
+bash qa/qatesttool/script/unix/OOoTestRun_unix.sh
+

Propchange: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa11.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa20.sh
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa20.sh (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooqa20.sh Mon Apr  2 04:26:10 2012
@@ -0,0 +1,15 @@
+Xvfb :1001 -screen 0 1024x768x24 -fbdir /work/tmp/oooqa20 &
+sleep 5
+DISPLAY=localhost:1001; export DISPLAY
+gnome-session &
+sleep 30
+cd /work/ooo/2.0/
+rm *.core
+#cp ~/.testtoolrc2 ~/.testtoolrc
+rm -rf ~/.openoffice.org*
+rm -rf qa/qatesttool/errorlog/maho
+bash qa/qatesttool/script/unix/OOoTestRun_unix.sh
+
+
+
+

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooupdate.pl
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooupdate.pl (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/oooupdate.pl Mon Apr  2 04:26:10 2012
@@ -0,0 +1,115 @@
+#!/usr/bin/perl
+
+use POSIX 'strftime';
+
+#how to use..
+#perl ~/oooupdate.pl -tag OOG680_m3
+#1. checkout ooo ports
+#2. update Makefile
+#3. build test
+
+sub parse_option {
+        while ($_ = shift) {
+                if (substr($_, 0, 1) eq '-') {
+                        if ($_ eq '-help') {
+                                print "oooupdate [-tag tag]\n";
+                                exit;
+                        } elsif ($_ eq '-tag') {
+                                $ooo_tag = shift;
+                                $infinite_mode=0;
+                        } else {
+                                die "Invalid option: \"$_\"\n";
+                        }
+                }
+        }
+}
+
+##main
+
+parse_option(@ARGV);
+
+$ooo_hostname=`hostname -s`;
+chop $ooo_hostname;
+$ooo_workdir="/work/OOO/$ooo_hostname/$ooo_tag";
+
+if (! -d $ooo_workdir ){
+	system("sudo -u maho mkdir -p $ooo_workdir\n");
+} else{
+	print "Work directory already exists!\n";
+}
+
+if ($ooo_tag=~/SRC680/o) {
+	$ooo_version="openoffice.org-2-devel";
+}
+if ($ooo_tag=~/OO[A-Z]680/o) {
+	$ooo_version="openoffice.org-2-RC";
+}
+
+
+split('_',$ooo_tag);
+$ooo_tagprefix=@_[0];
+$ooo_milestone=@_[1];
+$ooo_milestone=~ s/m//; 
+$ooo_snapdate= strftime "%Y%m%d", localtime;
+
+print "Tagprefix : $ooo_tagprefix\n";
+print "Miilestone: $ooo_milestone\n";
+print "Snapdate  : $ooo_snapdate\n";
+
+chdir("$ooo_workdir");
+print "DIR $ooo_workdir\n";
+print "Checkout ports tree $ooo_version\n";
+system("sudo -u maho cvs -d maho\@pcvs.freebsd.org:/home/pcvs co ports/editors/$ooo_version");
+print "checkout done\n";
+
+print ("Update Makefile...\n");
+chdir("$ooo_workdir/ports/editors/$ooo_version");
+$makefile_input="Makefile";
+open (MAKEFILEIN,"<$makefile_input")  || die "Can't open file $makefile_input\n";
+
+$pattern1 = "MILESTONE";
+$pattern2 = "SNAPDATE";
+$pattern3 = "OOOTAG";
+
+
+$lines=0;
+while(<MAKEFILEIN>)
+{
+  if(/^$pattern1/o) {
+    $tmp[$lines]="MILESTONE?=		$ooo_milestone\n";
+  } elsif (/^$pattern2/o) {
+    $tmp[$lines]="SNAPDATE=		$ooo_snapdate\n";
+  } elsif (/^$pattern3/o) {
+    $tmp[$lines]="OOOTAG?=		$ooo_tagprefix"."_m\${MILESTONE}\n";
+  } else {
+    $tmp[$lines]=$_;
+  }
+  $lines++;
+}
+
+close(MAKEFILEIN);
+
+$makefile_output="Makefile";
+open (MAKEFILEOUT,">$makefile_output") || die "Can't open file $makefile_output\n";
+for($i=0;$i<$lines;$i++)
+{
+  print MAKEFILEOUT $tmp[$i];
+}
+close(MAKEFILEOUT);
+
+print "Diff to previous\n";
+system("sudo -u maho cvs -d maho\@pcvs.freebsd.org:/home/pcvs diff -u");
+
+print "Making new md5 and sha256\n";
+system("make -DWITH_GPC makesum\n");
+
+print "Build start!\n";
+#system("make NUMOFPROCESSES=4 LOCALIZED_LANG=ja install deinstall >log.ja 2>&1\n");
+system("/usr/bin/time -h sudo -u maho make NUMOFPROCESSES=4 >log.en 2>&1\n");
+
+print "Install start!\n";
+system("/usr/bin/time -h make NUMOFPROCESSES=4 deinstall package >> log.en 2>&1\n");
+
+print "Deinstall\n";
+system("/usr/bin/time -h make NUMOFPROCESSES=4 deinstall >> log.en 2>&1\n");
+

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/qa_ooo115_fbsd.diff
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/qa_ooo115_fbsd.diff (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/qa_ooo115_fbsd.diff Mon Apr  2 04:26:10 2012
@@ -0,0 +1,84 @@
+Index: qa/qatesttool/global/system/inc/sysinfo.inc
+===================================================================
+RCS file: /cvs/qa/qatesttool/global/system/inc/sysinfo.inc,v
+retrieving revision 1.2.2.1
+diff -u -r1.2.2.1 sysinfo.inc
+--- qa/qatesttool/global/system/inc/sysinfo.inc	27 Apr 2004 11:11:37 -0000	1.2.2.1
++++ qa/qatesttool/global/system/inc/sysinfo.inc	13 Oct 2005 06:03:28 -0000
+@@ -96,6 +96,7 @@
+ Global Const SYS_AIX   = 15
+ Global Const SYS_IRI   = 16
+ Global Const SYS_HP    = 17
++Global Const SYS_FBSD  = 18
+ 
+ Global PlatFormGroup(MAX_PLATFORM) as String
+ Global PlatFormName(MAX_PLATFORM) as String
+@@ -120,6 +121,7 @@
+ '///+<TR><TD>AIX</TD><TD>aix</TD><TD>unx</TD></TR>
+ '///+<TR><TD>Irix</TD><TD>iri</TD><TD>unx</TD></TR>
+ '///+<TR><TD>HP UNIX</TD><TD>hp</TD><TD>unx</TD></TR>
++'///+<TR><TD>FreeBSD</TD><TD>fbsd</TD><TD>unx</TD></TR>
+ '///+</TABLE>
+    PlatFormName(SYS_00)    = "Unknown"        : PlatFormExt(SYS_00)   = "a00"
+    PlatFormName(SYS_W95)   = "Win95"          : PlatFormExt(SYS_W95)  = "w95"
+@@ -137,6 +139,7 @@
+    PlatFormName(SYS_AIX)   = "AIX"            : PlatFormExt(SYS_AIX)  = "aix"
+    PlatFormName(SYS_IRI)   = "IRIX"           : PlatFormExt(SYS_IRI)  = "iri"
+    PlatFormName(SYS_HP)    = "HP UNIX"        : PlatFormExt(SYS_Hp)   = "hp"
++   PlatFormName(SYS_FBSD)  = "FreeBSD"        : PlatFormExt(SYS_FBSD)   = "fbsd"
+ 
+    PlatFormGroup(SYS_00)  = "a00"
+    PlatFormGroup(SYS_W95)  = "w95"
+@@ -154,6 +157,7 @@
+    PlatFormGroup(SYS_AIX)  = "unx"
+    PlatFormGroup(SYS_IRI)  = "unx"
+    PlatFormGroup(SYS_HP)   = "unx"
++   PlatFormGroup(SYS_FBSD) = "unx"
+ end sub
+ 
+ '-------------------------------------------------------------------------
+@@ -217,6 +221,7 @@
+ '///+<TR><TD>AIX</TD><TD>04</TD></TR>
+ '///+<TR><TD>Irix</TD><TD>06</TD></TR>
+ '///+<TR><TD>HP UNIX</TD><TD>07</TD></TR>
++'///+<TR><TD>FreeBSD</TD><TD>08</TD></TR>
+ '///+</TABLE>
+ '///Get the path to <i>testtool.ini/.testtoolrc</i>
+    if GUI = 4 then
+@@ -295,6 +300,7 @@
+             case 04 :   gSystemnummer = SYS_AIX
+             case 06 :   gSystemnummer = SYS_IRI
+             case 07 :   gSystemnummer = SYS_HP
++            case 08 :   gSystemnummer = SYS_FBSD
+             case else:  Print "Unknown OS ("+GUI+"/"+iGuiVersion+") please insert in sysinfo.inc::GetToolPlatform. TestTool will try to use the same environment as Solaris SPARC uses."
+                         gSystemnummer = SYS_SOL
+          end select
+@@ -354,6 +360,7 @@
+          case "AIX"     : GUI = 15
+          case "IRI"     : GUI = 16
+          case "HP"      : GUI = 17        
++         case "FBSD"    : GUI = 18        
+          case else      : print "Unknown operating system : '" + GuiString + "'. The should be canceled."
+                           exit sub
+       end select
+Index: qa/qatesttool/script/unix/OOoTestRun_unix.sh
+===================================================================
+RCS file: /cvs/qa/qatesttool/script/unix/OOoTestRun_unix.sh,v
+retrieving revision 1.1
+diff -u -r1.1 OOoTestRun_unix.sh
+--- qa/qatesttool/script/unix/OOoTestRun_unix.sh	9 Sep 2003 17:29:19 -0000	1.1
++++ qa/qatesttool/script/unix/OOoTestRun_unix.sh	13 Oct 2005 06:03:29 -0000
+@@ -68,11 +68,11 @@
+ 
+ # set location of testscripts
+ # (the directory, where directory 'qatesttool' exists)
+-sLocation=/testtool
++sLocation=/work/ooo/1.1.5/qa/
+ 
+ # set location of TestTool
+ # (full path including executable 'testtool')
+-sTestTool=/testtool/linux/testtool
++sTestTool=/work/ooo/qatesttool/linux/testtool
+ 
+ # set location of close-office file
+ # (see cvs)

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc1
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc1 (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc1 Mon Apr  2 04:26:10 2012
@@ -0,0 +1,53 @@
+[Misc]
+ServerTimeout=4500
+StopOnSyntaxError=0
+AutoReload=0
+AutoSave=0
+CurrentProfile=_profile_maho
+ScriptFontName=Courier
+ScriptFontStyle=normal
+ScriptFontSize=12
+
+[Path]
+BaseDir=/work/ooo/1.1.5/qa/qatesttool
+LogBaseDir=/work/ooo/1.1.5/qa/qatesttool/errorlog/maho
+HIDDir=/work/ooo/1.1.5/qa/qatesttool/global/hid
+*.bas=/work/ooo/1.1.5/qa/qatesttool/base/update
+LastFilterName=Source files (*.BAS)
+
+[WinGeom]
+WinParams=211,48,1042,894;1;0,0,0,0;
+
+[OooProgramDir]
+Current=/usr/local/openoffice.org1.1.5/
+All=/usr/local/openoffice.org1.1.5/
+
+[Communication]
+Host=localhost
+TTPort=12479
+UnoPort=12480
+
+[LRU]
+MaxLRU=4
+[_profile_maho]
+LogBaseDir=/work/ooo/1.1.5/qa/qatesttool/errorlog/maho
+BaseDir=/work/ooo/1.1.5/qa/qatesttool
+HIDDir=/work/ooo/1.1.5/qa/qatesttool/global/hid
+AutoReload=1
+AutoSave=0
+StopOnSyntaxError=0
+*.bas=/work/ooo/1.1.5/qa/qatesttool/framework/first
+LastFilterName=Result files (*.RES)
+*.res=/work/ooo/1.1.5/qa/qatesttool/errorlog/maho
+
+[GUI Platform]
+Current=08
+
+[Crashreporter]
+UseProxy=false
+ProxyServer=
+ProxyPort=
+AllowContact=false
+ReturnAddress=
+
+

Added: websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc2
==============================================================================
--- websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc2 (added)
+++ websites/staging/ooo-site/trunk/content/porting/freebsd/qa/testtoolrc2 Mon Apr  2 04:26:10 2012
@@ -0,0 +1,54 @@
+[Misc]
+ServerTimeout=4500
+StopOnSyntaxError=0
+AutoReload=0
+AutoSave=0
+CurrentProfile=_profile_maho
+ScriptFontName=Courier
+ScriptFontStyle=normal
+ScriptFontSize=12
+
+[Path]
+BaseDir=/work/ooo/2.0/qa/qatesttool
+LogBaseDir=/work/ooo/2.0/qa/qatesttool/errorlog/maho
+HIDDir=/work/ooo/2.0/qa/qatesttool/global/hid
+*.bas=/work/ooo/2.0/qa/qatesttool/base/update
+LastFilterName=Source files (*.BAS)
+
+[WinGeom]
+WinParams=0,0,920,630;1;0,0,0,0;
+
+[OooProgramDir]
+Current=/usr/local/openoffice.org1.9m134/
+All=/usr/local/openoffice.org1.9m134/
+
+[Communication]
+Host=localhost
+TTPort=13479
+UnoPort=13480
+
+[LRU]
+MaxLRU=4
+
+[_profile_maho]
+LogBaseDir=/work/ooo/2.0/qa/qatesttool/errorlog/maho
+BaseDir=/work/ooo/2.0/qa/qatesttool
+HIDDir=/work/ooo/2.0/qa/qatesttool/global/hid
+AutoReload=1
+AutoSave=0
+StopOnSyntaxError=0
+*.bas=/work/ooo/2.0/qa/qatesttool/framework/first
+LastFilterName=Result files (*.RES)
+*.res=/work/ooo/2.0/qa/qatesttool/errorlog/maho
+
+[GUI Platform]
+Current=08
+
+[Crashreporter]
+UseProxy=false
+ProxyServer=
+ProxyPort=
+AllowContact=false
+ReturnAddress=
+
+