You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/11/16 15:33:15 UTC

DO NOT REPLY [Bug 118608] New: IP clearance: Remove cppunit source

https://issues.apache.org/ooo/show_bug.cgi?id=118608

             Bug #: 118608
        Issue Type: DEFECT
           Summary: IP clearance: Remove cppunit source
    Classification: Code
           Product: external
           Version: OOO340m0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: www
        AssignedTo: st@openoffice.org
        ReportedBy: af@a-w-f.de
                CC: ooo-issues@incubator.apache.org


cppunit has LGPL license and therefore its source code can not be part of
Apache OpenOffice.  A pre-installed version can still be used.  It is also not
essential for building the office, but is, of course, desirable during
development.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

--- Comment #4 from Pedro Giffuni <pf...@apache.org> 2011-11-22 21:22:03 UTC ---
Created attachment 77041
  --> https://issues.apache.org/ooo/attachment.cgi?id=77041
Update cppunit removal patch

This is Andre's patch but generated by SVN. I tested this all I could but
the tree was broken by an unrelated commit so I can't test it anymore.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

--- Comment #1 from Andre <af...@a-w-f.de> 2011-11-22 16:37:44 UTC ---
Created attachment 77040
  --> https://issues.apache.org/ooo/attachment.cgi?id=77040
Removed cppunit module.

Removed cppunit module that builds the tar-ball from ext-sources.

Made the use of cppunit optional.  The --with-system-cppunit tells configure to
search a pre-installed cppunit.

The new gnu make build system had the use of the internal cppunit hard-wired. 
Changed that.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

Andre <af...@a-w-f.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Issue Type|DEFECT                      |TASK

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

Pedro Giffuni <pf...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pfg@apache.org

--- Comment #2 from Pedro Giffuni <pf...@apache.org> 2011-11-22 19:11:25 UTC ---
Hi;
I still see some files in cppunit:

ls -la cppunit
total 56
drwxr-xr-x    5 pedro  wheel   512 Nov 21 21:53 .
drwxr-xr-x  203 pedro  wheel  4608 Nov 22 14:05 ..
drwxr-xr-x    6 pedro  wheel   512 Nov 22 14:03 .svn
-rw-r--r--    1 pedro  wheel   374 Nov 21 16:13 ldflags.patch
-rw-r--r--    1 pedro  wheel  6797 Nov 21 16:13 makefile.mk
-rw-r--r--    1 pedro  wheel  1517 Nov 21 16:13 ooo-DllPlugInTester.mk
-rw-r--r--    1 pedro  wheel  3112 Nov 21 16:13 ooo-cppunit_dll.mk
drwxr-xr-x    3 pedro  wheel   512 Nov 21 16:13 prj
-rw-r--r--    1 pedro  wheel   471 Nov 21 16:13 solarisfinite.patch
-rw-r--r--    1 pedro  wheel  1161 Nov 21 16:13 warnings.patch
-rw-r--r--    1 pedro  wheel   502 Nov 21 16:13 windows.patch

Can I remove the directory?
(I'll try removing it in my testing anyways).

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

Andre <af...@a-w-f.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Andre <af...@a-w-f.de> 2011-12-01 10:12:29 UTC ---
Forget to changing the state of this issue. Doing this now.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
                 CC|                            |hdu@apache.org

--- Comment #7 from hdu@apache.org 2012-01-30 13:32:47 UTC ---
Closing resolved issue.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsc@apache.org
         AssignedTo|st@openoffice.org           |af@a-w-f.de

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

--- Comment #5 from Pedro Giffuni <pf...@apache.org> 2011-11-24 16:23:36 UTC ---
svn commit -m "i118608 - IP clearance: Remove internal cppunit source, use
system-cppunit instead. Patch by Andre Fischer (af)."
Sending        Repository.mk
Sending        basebmp/test/makefile.mk
Sending        basegfx/prj/build.lst
Sending        basegfx/test/makefile.mk
Sending        binaryurp/qa/makefile.mk
Sending        configure.in
Deleting       cppunit
Sending        desktop/qa/deployment_misc/makefile.mk
Sending        o3tl/prj/build.lst
Sending        o3tl/qa/makefile.mk
Sending        sal/cppunittester/makefile.mk
Sending        sal/prj/build.lst
Sending        sax/qa/cppunit/makefile.mk
Sending        set_soenv.in
Sending        sfx2/CppunitTest_sfx2_metadatable.mk
Sending        sfx2/Module_sfx2.mk
Sending        shell/qa/zip/makefile.mk
Sending        solenv/gbuild/platform/freebsd.mk
Sending        solenv/gbuild/platform/linux.mk
Sending        solenv/gbuild/platform/macosx.mk
Sending        solenv/gbuild/platform/os2.mk
Sending        solenv/gbuild/platform/solaris.mk
Sending        solenv/gbuild/platform/windows.mk
Sending        solenv/gbuild/platform/winmingw.mk
Sending        test/prj/build.lst
Sending        test/source/cpp/makefile.mk
Sending        test/source/cpp/unoexceptionprotector/makefile.mk
Transmitting file data ..........................
Committed revision 1205912.

Very nice, Thank you!
Hope you start using your commit bit soon :).

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118608] IP clearance: Remove cppunit source

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118608

--- Comment #3 from Pedro Giffuni <pf...@apache.org> 2011-11-22 20:53:09 UTC ---
(In reply to comment #2)
> Hi;
> I still see some files in cppunit:
> Can I remove the directory?
> (I'll try removing it in my testing anyways).

OK.. the issue seems to be a malformed patch.

It doesn't work cleanly with GNU patch or
FreeBSD's patch:

Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- a/main/cppunit/ldflags.patch       
|+++ a/main/cppunit/ldflags.patch       
--------------------------
Patching file main/cppunit/ldflags.patch using Plan A...
patch: **** malformed patch at line 148: +++ a/main/cppunit/makefile.mk 
...

I cut the cppunit dir patches that were causing trouble
and applied the rest. Keep tuned ... ;)

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.