Issue 118582 - Build of OS/2 tree
Summary: Build of OS/2 tree
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: version58
Hardware: PC OS/2
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: Pedro Giffuni
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 118923
  Show dependency tree
 
Reported: 2011-11-07 18:12 UTC by Yuri Dario
Modified: 2016-03-20 20:48 UTC (History)
3 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sal patches (86.05 KB, application/octet-stream)
2011-11-07 18:17 UTC, Yuri Dario
no flags Details
redland patch (5.21 KB, patch)
2011-11-07 18:20 UTC, Yuri Dario
no flags Details | Diff
raptor multi patch (278 bytes, text/plain)
2011-11-07 18:25 UTC, Yuri Dario
no flags Details
rasqal multi patch (165 bytes, text/plain)
2011-11-07 18:25 UTC, Yuri Dario
no flags Details
redland multi patch (321 bytes, application/octet-stream)
2011-11-07 18:26 UTC, Yuri Dario
no flags Details
sfx2 fixes (1.06 KB, application/octet-stream)
2011-11-07 18:32 UTC, Yuri Dario
no flags Details
shell patches (1.39 KB, patch)
2011-11-07 18:33 UTC, Yuri Dario
no flags Details | Diff
bridges patch (370 bytes, application/octet-stream)
2011-11-07 18:35 UTC, Yuri Dario
no flags Details
configmgr diff (517 bytes, patch)
2011-11-07 18:36 UTC, Yuri Dario
no flags Details | Diff
cppu (360 bytes, patch)
2011-11-07 18:37 UTC, Yuri Dario
no flags Details | Diff
cppuhelper (1.52 KB, patch)
2011-11-07 18:37 UTC, Yuri Dario
no flags Details | Diff
dmake (2.76 KB, patch)
2011-11-07 18:39 UTC, Yuri Dario
no flags Details | Diff
set_soenv patch to restore removed os2 code. (5.86 KB, application/octet-stream)
2011-11-08 14:52 UTC, Yuri Dario
no flags Details
dtrans dep fix (900 bytes, patch)
2011-11-08 14:57 UTC, Yuri Dario
no flags Details | Diff
extensions build patch (462 bytes, patch)
2011-11-08 14:58 UTC, Yuri Dario
no flags Details | Diff
external build patch (429 bytes, patch)
2011-11-08 14:59 UTC, Yuri Dario
no flags Details | Diff
i18npool build (594 bytes, patch)
2011-11-08 15:03 UTC, Yuri Dario
no flags Details | Diff
l10ntools build (444 bytes, patch)
2011-11-08 15:03 UTC, Yuri Dario
no flags Details | Diff
pyuno build (400 bytes, patch)
2011-11-08 15:06 UTC, Yuri Dario
no flags Details | Diff
readlicense build os2 set of files (3.71 KB, patch)
2011-11-08 15:07 UTC, Yuri Dario
no flags Details | Diff
svtools build and icc compiler cleanup (1.58 KB, patch)
2011-11-08 15:13 UTC, Yuri Dario
no flags Details | Diff
toolkit build fixes (2.06 KB, patch)
2011-11-08 15:14 UTC, Yuri Dario
no flags Details | Diff
tools fixes (7.57 KB, patch)
2011-11-08 15:15 UTC, Yuri Dario
no flags Details | Diff
vcl build fixes (119.00 KB, patch)
2011-11-08 15:21 UTC, Yuri Dario
no flags Details | Diff
vcl salmenu.cxx (2.59 KB, text/plain)
2011-11-08 15:23 UTC, Yuri Dario
no flags Details
xmlreader delivery fix (571 bytes, patch)
2011-11-08 15:24 UTC, Yuri Dario
no flags Details | Diff
RepositoryFixes.mk patch (1.87 KB, patch)
2011-11-08 15:25 UTC, Yuri Dario
no flags Details | Diff
build add os2 support. (969 bytes, patch)
2011-11-08 15:27 UTC, Yuri Dario
no flags Details | Diff
gbuild os2 specific platform file (20.34 KB, text/plain)
2011-11-08 15:29 UTC, Yuri Dario
no flags Details
unixodbc headers patch (1.14 KB, patch)
2011-11-10 15:38 UTC, Yuri Dario
no flags Details | Diff
dbaccess header fix (404 bytes, patch)
2011-11-10 15:40 UTC, Yuri Dario
no flags Details | Diff
sal/osl/os2/debug_printf.c (1.93 KB, text/plain)
2011-11-10 16:33 UTC, Yuri Dario
no flags Details
br (409 bytes, patch)
2011-11-12 16:42 UTC, Yuri Dario
no flags Details | Diff
sax patch (618 bytes, patch)
2011-11-12 16:48 UTC, Yuri Dario
no flags Details | Diff
sc patch def file (504 bytes, patch)
2011-11-12 16:49 UTC, Yuri Dario
no flags Details | Diff
connectivity def patches (725 bytes, patch)
2011-11-12 16:53 UTC, Yuri Dario
no flags Details | Diff
o3tl build patch (391 bytes, patch)
2011-11-12 16:53 UTC, Yuri Dario
no flags Details | Diff
javaunohelper fix for java jni exports (1.16 KB, patch)
2011-11-12 16:58 UTC, Yuri Dario
no flags Details | Diff
desktop build and resource updates (3.56 KB, patch)
2011-11-12 16:58 UTC, Yuri Dario
no flags Details | Diff
binaryurp use 8.3 names and do not build static libs. (995 bytes, patch)
2011-11-12 17:00 UTC, Yuri Dario
no flags Details | Diff
stlport initial build patch (1.02 KB, patch)
2011-11-12 17:02 UTC, Yuri Dario
no flags Details | Diff
basegfx qa build patch (599 bytes, patch)
2011-11-12 17:03 UTC, Yuri Dario
no flags Details | Diff
xmlreader def file patch (357 bytes, patch)
2011-11-12 17:04 UTC, Yuri Dario
no flags Details | Diff
sal patch handle backslash (879 bytes, patch)
2011-11-15 15:27 UTC, Yuri Dario
no flags Details | Diff
vcl build fixes (407 bytes, patch)
2011-11-15 16:17 UTC, Yuri Dario
no flags Details | Diff
agg build patch (429 bytes, patch)
2011-11-15 16:18 UTC, Yuri Dario
no flags Details | Diff
basebmp build patch (508 bytes, patch)
2011-11-15 16:19 UTC, Yuri Dario
no flags Details | Diff
binaryurp delivery patch (517 bytes, patch)
2011-11-15 16:20 UTC, Yuri Dario
no flags Details | Diff
l10ntools delivery patch (606 bytes, patch)
2011-11-15 16:23 UTC, Yuri Dario
no flags Details | Diff
remotebridges delivery patch (525 bytes, patch)
2011-11-15 16:23 UTC, Yuri Dario
no flags Details | Diff
vcl revert wrong commit to svdem.cxx (824 bytes, patch)
2011-11-15 20:22 UTC, Yuri Dario
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Yuri Dario 2011-11-07 18:12:50 UTC

    
Comment 1 Yuri Dario 2011-11-07 18:14:38 UTC
I started building the OS/2 tree from ASF OOo subversion.

I will use this issue to track the updates required to compile the os2 tree. Getting it to run will probably require something more :-)
Comment 2 Yuri Dario 2011-11-07 18:15:37 UTC
Patches are coming from sun os2port07 cws and from my local tree, plus ASF updates.
Comment 3 Yuri Dario 2011-11-07 18:17:59 UTC
Created attachment 76960 [details]
sal patches

also osl/os2/printf.c is required, it can be copied from vcl/os2/source/app/printf.c
Comment 4 Yuri Dario 2011-11-07 18:20:12 UTC
Created attachment 76961 [details]
redland patch
Comment 5 Yuri Dario 2011-11-07 18:25:13 UTC
Created attachment 76962 [details]
raptor multi patch

put into raptor subdir
Comment 6 Yuri Dario 2011-11-07 18:25:55 UTC
Created attachment 76963 [details]
rasqal multi patch

into rasqal subdir
Comment 7 Yuri Dario 2011-11-07 18:26:30 UTC
Created attachment 76964 [details]
redland multi patch

into redland subdir
Comment 8 Yuri Dario 2011-11-07 18:32:46 UTC
Created attachment 76965 [details]
sfx2 fixes
Comment 9 Yuri Dario 2011-11-07 18:33:42 UTC
Created attachment 76966 [details]
shell patches
Comment 10 Yuri Dario 2011-11-07 18:35:36 UTC
Created attachment 76967 [details]
bridges patch
Comment 11 Yuri Dario 2011-11-07 18:36:29 UTC
Created attachment 76968 [details]
configmgr diff
Comment 12 Yuri Dario 2011-11-07 18:37:13 UTC
Created attachment 76969 [details]
cppu
Comment 13 Yuri Dario 2011-11-07 18:37:55 UTC
Created attachment 76970 [details]
cppuhelper
Comment 14 Yuri Dario 2011-11-07 18:39:31 UTC
Created attachment 76971 [details]
dmake
Comment 15 Yuri Dario 2011-11-08 14:52:02 UTC
Created attachment 76973 [details]
set_soenv patch to restore removed os2 code.
Comment 16 Yuri Dario 2011-11-08 14:57:34 UTC
Created attachment 76974 [details]
dtrans dep fix
Comment 17 Yuri Dario 2011-11-08 14:58:32 UTC
Created attachment 76975 [details]
extensions build patch
Comment 18 Yuri Dario 2011-11-08 14:59:21 UTC
Created attachment 76976 [details]
external build patch
Comment 19 Yuri Dario 2011-11-08 15:03:02 UTC
Created attachment 76977 [details]
i18npool build
Comment 20 Yuri Dario 2011-11-08 15:03:34 UTC
Created attachment 76978 [details]
l10ntools build
Comment 21 Yuri Dario 2011-11-08 15:06:30 UTC
Created attachment 76979 [details]
pyuno build
Comment 22 Yuri Dario 2011-11-08 15:07:54 UTC
Created attachment 76980 [details]
readlicense build os2 set of files
Comment 23 Yuri Dario 2011-11-08 15:13:06 UTC
Created attachment 76981 [details]
svtools build and icc compiler cleanup
Comment 24 Yuri Dario 2011-11-08 15:14:20 UTC
Created attachment 76982 [details]
toolkit build fixes
Comment 25 Yuri Dario 2011-11-08 15:15:05 UTC
Created attachment 76983 [details]
tools fixes
Comment 26 Yuri Dario 2011-11-08 15:21:38 UTC
Created attachment 76984 [details]
vcl build fixes

After applying the patch, all files in vcl/os2/inc/* must be moved to vcl/inc/os2 as for other platforms (I can't use svn move myself)
Also new vcl/os2/source/window/salmenu.cxx is provided.
Comment 27 Yuri Dario 2011-11-08 15:23:29 UTC
Created attachment 76985 [details]
vcl salmenu.cxx

vcl/os2/source/window/salmenu.cxx file-
Comment 28 Yuri Dario 2011-11-08 15:24:43 UTC
Created attachment 76986 [details]
xmlreader delivery fix
Comment 29 Yuri Dario 2011-11-08 15:25:48 UTC
Created attachment 76987 [details]
RepositoryFixes.mk patch

Added specific os2 file mapping.
Comment 30 Yuri Dario 2011-11-08 15:27:26 UTC
Created attachment 76988 [details]
build add os2 support.
Comment 31 Yuri Dario 2011-11-08 15:29:26 UTC
Created attachment 76989 [details]
gbuild os2 specific platform file

solenv/gbuild/platform/os2.mk file.
Comment 32 Yuri Dario 2011-11-08 15:30:05 UTC
Comment on attachment 76988 [details]
build add os2 support.

gbuild, add os2 support patch.
Comment 33 Pedro Giffuni 2011-11-08 18:06:51 UTC
This looks like a lot of fun! I will review it, hold tight ;).
Comment 34 Pedro Giffuni 2011-11-08 19:35:23 UTC
(In reply to comment #14)
> Created attachment 76971 [details]
> dmake

svn commit -m "i118582: OS/2 port - support building dmake with klibc. By Yuri Dario."
Sending        dmake/imacs.c
Sending        dmake/make.cmd
Sending        dmake/sysintf.c
Transmitting file data ...
Committed revision 1199407.

Thank You!
Comment 35 Pedro Giffuni 2011-11-08 20:51:02 UTC
(In reply to comment #3)
> Created attachment 76960 [details]
> sal patches
> 
> also osl/os2/printf.c is required, it can be copied from
> vcl/os2/source/app/printf.c

I looked at this last file and it doesn't carry the license!

I found a copy of the license in the package:
http://www.os2site.com/sw/ews/pmprtf.zip

Unfortunately it doesn't look OK (IMHO):
______
...
You may NOT:

1. sublicense, rent, lease, or assign the Program; and
2. reverse assemble, reverse compile, or otherwise translate the
   Program.
...
______

Do you think we can use another implementation (perhaps BSD) of
printf instead?
Comment 36 Yuri Dario 2011-11-08 21:00:43 UTC
Please replace printf.c with a dummy definition for now; I think I can load it dinamically instead of statically linking the code.
Comment 37 Pedro Giffuni 2011-11-08 21:27:46 UTC
(In reply to comment #36)
> Please replace printf.c with a dummy definition for now; I think I can load it
> dinamically instead of statically linking the code.

I think I will leave that patch for last :).

Do be aware we will have to replace the printf
in vcl too.
Comment 38 Yuri Dario 2011-11-08 22:42:56 UTC
Sure; I plan to export debug_printf() from sal and use that one in vcl too.
Comment 39 Pedro Giffuni 2011-11-09 18:41:40 UTC
(In reply to comment #4)
> Created attachment 76961 [details]
> redland patch

I see some changes in rasqal/rasqal2.map
Can you confirm these only apply to OS2?
Comment 40 Pedro Giffuni 2011-11-09 19:38:26 UTC
(In reply to comment #8)
> Created attachment 76965 [details]
> sfx2 fixes

svn commit -m "i118582: OS/2 port - sfx2 fixes. By Yuri Dario"
Sending        sfx2/Library_sfx.mk
Sending        sfx2/source/appl/shutdowniconOs2.cxx
Sending        sfx2/source/doc/objstor.cxx
Transmitting file data ...
Committed revision 1199928.

Thanks!
Comment 41 Pedro Giffuni 2011-11-09 19:41:35 UTC
(In reply to comment #9)
> Created attachment 76966 [details]
> shell patches

svn commit -m "i118582: OS/2 port - shell fixes. By Yuri Dario"
Sending        shell/inc/internal/utilities.hxx
Sending        shell/source/unix/exec/shellexec.cxx
Transmitting file data ..
Committed revision 1199930.

Thank you!
Comment 42 Pedro Giffuni 2011-11-09 19:47:35 UTC
(In reply to comment #10)
> Created attachment 76967 [details]
> bridges patch

svn commit -m "i118582: OS/2 port - bridges patch. By Yuri Dario"
Sending        bridges/source/jni_uno/makefile.mk
Transmitting file data .
Committed revision 1199933.

Thank you!
Comment 43 Pedro Giffuni 2011-11-09 19:54:52 UTC
(In reply to comment #11)
> Created attachment 76968 [details]
> configmgr diff

svn commit -m "i118582: OS/2 port - configmgr patch. By Yuri Dario"
Sending        configmgr/prj/d.lst
Transmitting file data .
Committed revision 1199938.
Comment 44 Pedro Giffuni 2011-11-09 19:59:28 UTC
(In reply to comment #12)
> Created attachment 76969 [details]
> cppu

svn commit -m "i118582: OS/2 port - cppu patch. By Yuri Dario"
Sending        cppu/util/extra.mk
Transmitting file data .
Committed revision 1199940.

thanks!
Comment 45 Pedro Giffuni 2011-11-09 20:02:35 UTC
(In reply to comment #13)
> Created attachment 76970 [details]
> cppuhelper

svn commit -m "i118582: OS/2 port - cppuhelper patch. By Yuri Dario"
Sending        cppuhelper/source/gcc3os2.map
Transmitting file data .
Committed revision 1199943.

Thank you!
Comment 46 Pedro Giffuni 2011-11-09 20:23:00 UTC
(In reply to comment #4)
> Created attachment 76961 [details]
> redland patch

svn commit -m "i118582: OS/2 port - redland patch by Yuri Dario. While here avoid patching stuff for past legal motivations."
Sending        redland/raptor/makefile.mk
Sending        redland/raptor/raptor-1.4.18.patch.dmake
Deleting       redland/raptor/raptor-1.4.18.patch.legal
Adding         redland/raptor/raptor-1.4.18.patch.os2
Sending        redland/rasqal/makefile.mk
Sending        redland/rasqal/rasqal-0.9.16.patch.dmake
Deleting       redland/rasqal/rasqal-0.9.16.patch.legal
Adding         redland/rasqal/rasqal-0.9.16.patch.os2
Sending        redland/rasqal/rasqal2.map
Sending        redland/redland/makefile.mk
Sending        redland/redland/redland-1.0.8.patch.dmake
Deleting       redland/redland/redland-1.0.8.patch.legal
Adding         redland/redland/redland-1.0.8.patch.os2
Transmitting file data ..........
Committed revision 1199946.

Thank you! While here I did add some simplifications of
my own to the legal stuff.
Comment 47 Pedro Giffuni 2011-11-09 21:12:05 UTC
(In reply to comment #15)
> Created attachment 76973 [details]
> set_soenv patch to restore removed os2 code.

svn commit -m "i118582: OS/2 port - set_soenv patch to restore removed OS2 code by Yuri Dario."
Sending        set_soenv.in
Transmitting file data .
Committed revision 1199964.

Thanks!
Comment 48 Pedro Giffuni 2011-11-09 21:25:42 UTC
(In reply to comment #16)
> Created attachment 76974 [details]
> dtrans dep fix

svn commit -m "i118582: OS/2 port - dtrans dep fix by Yuri Dario."
Sending        dtrans/prj/build.lst
Transmitting file data .
Committed revision 1199970.

Thank you!
Comment 49 Pedro Giffuni 2011-11-09 21:32:57 UTC
(In reply to comment #18)
> Created attachment 76976 [details]
> external build patch

svn commit -m "i118582: OS/2 port - external build patch by Yuri Dario."
Sending        external/gcc3_specific/makefile.mk
Transmitting file data .
Committed revision 1199974

(Actually the commit message is different but I will miss the missing part in another commit)

Thanks!
Comment 50 Pedro Giffuni 2011-11-09 21:42:20 UTC
(In reply to comment #17)
> Created attachment 76975 [details]
> extensions build patch

svn commit -m "i118582: OS/2 port - extensions patch by Yuri Dario."
Sending        extensions/source/preload/makefile.mk
Transmitting file data .
Committed revision 1199982.
Comment 51 Pedro Giffuni 2011-11-09 22:02:45 UTC
(In reply to comment #19)
> Created attachment 76977 [details]
> i18npool build

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: prj/d.lst
|===================================================================
|--- prj/d.lst  (revision 1186269)
|+++ prj/d.lst  (working copy)
--------------------------
Patching file prj/d.lst using Plan A...
Hunk #1 failed at 42.
1 out of 1 hunks failed--saving rejects to prj/d.lst.rej

(I edited it by hand - svn diff looks like I got it right.)

svn commit -m "i118582: OS/2 port - i18npool build patch by Yuri Dario."
Sending        i18npool/prj/d.lst
Transmitting file data .
Committed revision 1199995.

Thank you!
Comment 52 Pedro Giffuni 2011-11-09 22:07:04 UTC
(In reply to comment #20)
> Created attachment 76978 [details]
> l10ntools build

svn commit -m "i118582: OS/2 port - l10ntools build patch by Yuri Dario."
Sending        l10ntools/scripts/makefile.mk
Transmitting file data .
Committed revision 1200003.

Thanks!
Comment 53 Pedro Giffuni 2011-11-09 22:33:37 UTC
(In reply to comment #25)
> Created attachment 76983 [details]
> tools fixes
This all apply only to the OS2 port so I aggregated them
in one batch for simplicity:

svn commit -m "i118582: OS/2 port - pyuno, readlicense, svtools, toolkit and tools build patches by Yuri Dario."
Sending        readlicense_oo/docs/readme/eval.xsl
Sending        readlicense_oo/docs/readme.dtd
Sending        readlicense_oo/makefile.mk
Sending        readlicense_oo/prj/d.lst
Sending        svtools/source/contnr/svtreebx.cxx
Sending        svtools/source/svhtml/htmlkywd.cxx
Sending        svtools/source/svrtf/rtfkeywd.cxx
Sending        toolkit/source/awt/vclxdialog.cxx
Sending        toolkit/source/awt/vclxsystemdependentwindow.cxx
Sending        toolkit/source/awt/vclxtoolkit.cxx
Sending        toolkit/source/awt/vclxtopwindow.cxx
Sending        toolkit/source/awt/vclxwindow1.cxx
Sending        tools/Library_tl.mk
Sending        tools/bootstrp/rscdep.cxx
Sending        tools/os2/source/dll/toolsdll.cxx
Sending        tools/source/datetime/tdate.cxx
Sending        tools/source/datetime/ttime.cxx
Sending        tools/source/fsys/os2.cxx
Sending        tools/source/generic/toolsin.cxx
Transmitting file data ....................
Committed revision 1200011.

Thank You!
Comment 54 Yuri Dario 2011-11-10 15:38:24 UTC
Created attachment 76995 [details]
unixodbc headers patch
Comment 55 Yuri Dario 2011-11-10 15:40:06 UTC
Created attachment 76996 [details]
dbaccess header fix
Comment 56 Yuri Dario 2011-11-10 16:33:52 UTC
Created attachment 76997 [details]
sal/osl/os2/debug_printf.c

This is a dynamic implementation of pmprintf code, library is loaded on demand so it is not required to start the application.

sal/osl/os2/makefile.mk must reference debug_printf.obj instead of printf.obj.

Function is automatically exported, so vcl can use it.
Comment 57 Pedro Giffuni 2011-11-11 02:38:08 UTC
(In reply to comment #26)
> Created attachment 76984 [details]
> vcl build fixes
> 
> After applying the patch, all files in vcl/os2/inc/* must be moved to
> vcl/inc/os2 as for other platforms (I can't use svn move myself)
> Also new vcl/os2/source/window/salmenu.cxx is provided.

svn commit -m "i118582: OS/2 port - vcl build fixes - by ydario"
Sending        vcl/Library_vcl.mk
Sending        vcl/Module_vcl.mk
Sending        vcl/WinResTarget_vcl.mk
Adding         vcl/inc/os2
Sending        vcl/inc/os2/salbmp.h
Sending        vcl/inc/os2/saldata.hxx
Sending        vcl/inc/os2/salframe.h
Sending        vcl/inc/os2/salgdi.h
Sending        vcl/inc/os2/salinst.h
Sending        vcl/inc/os2/salmenu.h
Sending        vcl/inc/os2/salobj.h
Sending        vcl/inc/os2/salprn.h
Sending        vcl/inc/os2/salsys.h
Sending        vcl/inc/os2/saltimer.h
Sending        vcl/inc/os2/salvd.h
Sending        vcl/inc/os2/xwphook.h
Sending        vcl/inc/sft.hxx
Sending        vcl/inc/vcl/sysdata.hxx
Deleting       vcl/os2/inc
Sending        vcl/os2/source/app/salinfo.cxx
Sending        vcl/os2/source/app/salinst.cxx
Sending        vcl/os2/source/app/sallang.cxx
Sending        vcl/os2/source/app/salshl.cxx
Sending        vcl/os2/source/app/saltimer.cxx
Sending        vcl/os2/source/gdi/os2layout.cxx
Sending        vcl/os2/source/gdi/salbmp.cxx
Sending        vcl/os2/source/gdi/salgdi.cxx
Sending        vcl/os2/source/gdi/salgdi2.cxx
Sending        vcl/os2/source/gdi/salgdi3.cxx
Sending        vcl/os2/source/gdi/salprn.cxx
Sending        vcl/os2/source/gdi/salvd.cxx
Sending        vcl/os2/source/src/salsrc.rc
Sending        vcl/os2/source/window/salframe.cxx
Adding         vcl/os2/source/window/salmenu.cxx
Sending        vcl/os2/source/window/salobj.cxx
Sending        vcl/source/window/menu.cxx
Sending        vcl/workben/makefile.mk
Sending        vcl/workben/svdem.cxx
Transmitting file data ....................................
Committed revision 1200700.

Thank you!
Comment 58 Pedro Giffuni 2011-11-11 02:56:51 UTC
(In reply to comment #29)
> Created attachment 76987 [details]
> RepositoryFixes.mk patch
> 
> Added specific os2 file mapping.

svn commit -m "i118582: OS/2 port - Add specific os2 file mapping in RepositoryFixes.mk  - by ydario."
Sending        RepositoryFixes.mk
Transmitting file data .
Committed revision 1200710.

Thanks!
Comment 59 Pedro Giffuni 2011-11-11 03:03:57 UTC
(In reply to comment #32)
> Comment on attachment 76988 [details]
> build add os2 support.
> 
> gbuild, add os2 support patch.

svn commit -m "i118582: OS/2 port - Add platform specific gbuild support  - by ydario."
Sending        gbuild/Tempfile.mk
Sending        gbuild/gbuild.mk
Adding         gbuild/platform/os2.mk
Transmitting file data ...
Committed revision 1200716.

Thanks!
Comment 60 Pedro Giffuni 2011-11-11 03:10:58 UTC
(In reply to comment #54)
> Created attachment 76995 [details]
> unixodbc headers patch

BTW, please submit this patch upstream too:

http://www.unixodbc.org/
Comment 61 Pedro Giffuni 2011-11-11 03:17:15 UTC
(In reply to comment #55)
> Created attachment 76996 [details]
> dbaccess header fix

svn commit -m "i118582: OS/2 port - patch headers for unixodbc and dbaccess - by ydario."
Sending        dbaccess/source/ui/dlg/odbcconfig.cxx
Sending        unixODBC/inc/iodbcunix.h
Sending        unixODBC/inc/sqltypes.h
Transmitting file data ...
Committed revision 1200721.

Thank you!
Comment 62 Pedro Giffuni 2011-11-11 03:30:24 UTC
(In reply to comment #3)
> Created attachment 76960 [details]
> sal patches
> 
> also osl/os2/printf.c is required, it can be copied from
> vcl/os2/source/app/printf.c

svn commit -m "i118582: OS/2 port - sal patches - by ydario."
Sending        sal/inc/sal/config.h
Sending        sal/inc/sal/types.h
Adding         sal/osl/os2/debug_printf.c
Sending        sal/osl/os2/file.cxx
Sending        sal/osl/os2/file_url.h
Sending        sal/osl/os2/makefile.mk
Sending        sal/osl/os2/module.c
Sending        sal/osl/os2/process_impl.cxx
Sending        sal/util/makefile.mk
Transmitting file data .........
Committed revision 1200722.

But adding the debug_printf.
Thanks!
Comment 63 Pedro Giffuni 2011-11-11 03:39:42 UTC
(In reply to comment #56)
> Created attachment 76997 [details]
> sal/osl/os2/debug_printf.c
> 
> This is a dynamic implementation of pmprintf code, library is loaded on demand
> so it is not required to start the application.
> 
> sal/osl/os2/makefile.mk must reference debug_printf.obj instead of printf.obj.
> 
> Function is automatically exported, so vcl can use it.

svn commit -m "i118582: OS/2 port - remove pmprintf in vcl for dynamic implementation for debugging - based on work by ydario."
Adding         vcl/os2/source/app/debug_printf.c
Sending        vcl/os2/source/app/makefile.mk
Deleting       vcl/os2/source/app/printf.c
Transmitting file data ..
Committed revision 1200723.

Thank you!

Have we finished? :).
Comment 64 Yuri Dario 2011-11-12 16:42:08 UTC
Created attachment 77000 [details]
br
Comment 65 Yuri Dario 2011-11-12 16:48:34 UTC
Created attachment 77001 [details]
sax patch
Comment 66 Yuri Dario 2011-11-12 16:49:31 UTC
Created attachment 77002 [details]
sc patch def file
Comment 67 Yuri Dario 2011-11-12 16:53:06 UTC
Created attachment 77003 [details]
connectivity def patches
Comment 68 Yuri Dario 2011-11-12 16:53:58 UTC
Created attachment 77004 [details]
o3tl build patch
Comment 69 Yuri Dario 2011-11-12 16:58:02 UTC
Created attachment 77005 [details]
javaunohelper fix for java jni exports
Comment 70 Yuri Dario 2011-11-12 16:58:56 UTC
Created attachment 77006 [details]
desktop build and resource updates
Comment 71 Yuri Dario 2011-11-12 17:00:19 UTC
Created attachment 77007 [details]
binaryurp use 8.3 names and do not build static libs.
Comment 72 Yuri Dario 2011-11-12 17:02:28 UTC
Created attachment 77008 [details]
stlport initial build patch
Comment 73 Yuri Dario 2011-11-12 17:03:29 UTC
Created attachment 77009 [details]
basegfx qa build patch
Comment 74 Yuri Dario 2011-11-12 17:04:45 UTC
Created attachment 77010 [details]
xmlreader def file patch
Comment 75 Pedro Giffuni 2011-11-13 03:03:06 UTC
Comment on attachment 77008 [details]
stlport initial build patch

On the stlport initial build patch:

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- STLport-4.5.patch  (revision 1186269)
|+++ STLport-4.5.patch  (working copy)
--------------------------
Patching file STLport-4.5.patch using Plan A...
Hunk #1 succeeded at 300.
patch: **** malformed patch at line 19: @@ -367,7 +369,7 @@
Comment 76 Pedro Giffuni 2011-11-13 03:20:43 UTC
(In reply to comment #74)
> Created attachment 77010 [details]
> xmlreader def file patch

I committed everything, except the stlport patch that is "malformed",
in one commit:

svn commit -m "i118582: OS/2 port - more misc. changes by ydario."
Sending        basegfx/test/makefile.mk
Sending        binaryurp/qa/makefile.mk
Sending        bridges/source/cpp_uno/gcc3_os2_intel/makefile.mk
Sending        connectivity/source/drivers/hsqldb/makefile.mk
Sending        desktop/qa/deployment_misc/makefile.mk
Sending        desktop/util/ooverinfo2.rc
Sending        javaunohelper/source/makefile.mk
Sending        o3tl/qa/makefile.mk
Sending        sax/qa/cppunit/makefile.mk
Sending        sc/addin/datefunc/makefile.mk
Sending        xmlreader/source/makefile.mk
Transmitting file data ...........
Committed revision 1201398.

Thanks!
Comment 77 Yuri Dario 2011-11-15 15:27:34 UTC
Created attachment 77016 [details]
sal patch handle backslash
Comment 78 Yuri Dario 2011-11-15 16:17:25 UTC
Created attachment 77017 [details]
vcl build fixes
Comment 79 Yuri Dario 2011-11-15 16:18:10 UTC
Created attachment 77018 [details]
agg build patch
Comment 80 Yuri Dario 2011-11-15 16:19:21 UTC
Created attachment 77019 [details]
basebmp build patch
Comment 81 Yuri Dario 2011-11-15 16:20:02 UTC
Created attachment 77020 [details]
binaryurp delivery patch
Comment 82 Yuri Dario 2011-11-15 16:23:07 UTC
Created attachment 77021 [details]
l10ntools delivery patch
Comment 83 Yuri Dario 2011-11-15 16:23:36 UTC
Created attachment 77022 [details]
remotebridges delivery patch
Comment 84 Yuri Dario 2011-11-15 20:22:44 UTC
Created attachment 77023 [details]
vcl revert wrong commit to svdem.cxx
Comment 85 Pedro Giffuni 2011-11-15 21:08:36 UTC
(In reply to comment #84)
> Created attachment 77023 [details]
> vcl revert wrong commit to svdem.cxx

svn commit -m "i118582 - OS/2 Port: vcl revert wrong commit to svdem.cxx. Patch by ydairo."
Sending        vcl/workben/svdem.cxx
Transmitting file data .
Committed revision 1202422.

Thanks.
Comment 86 Pedro Giffuni 2011-11-15 22:09:48 UTC
(In reply to comment #83)

I committed all the last group, including the stlport
patch that didn't work.

svn commit -m "i118582 - OS/2 Port: misc build fixes. By ydario@."
Sending        agg/source/makefile.mk
Sending        basebmp/test/makefile.mk
Sending        binaryurp/prj/d.lst
Sending        l10ntools/prj/d.lst
Sending        remotebridges/prj/d.lst
Sending        sal/osl/os2/file.cxx
Sending        sal/osl/os2/module.c
Sending        stlport/STLport-4.5.patch
Sending        vcl/Library_vcl.mk
Sending        vcl/workben/svdem.cxx
Transmitting file data ..........
Committed revision 1202442.
Comment 87 Yuri Dario 2011-11-15 23:08:26 UTC
ok, it seems almost everything is in place now. The tree is only missing the biggest set of patches, changes to solenv/inc/ dmake scripts.
Once I'll clean it a bit, I'll submit the required diff file.
Comment 88 Pedro Giffuni 2011-11-16 01:06:14 UTC
(In reply to comment #87)
> ok, it seems almost everything is in place now. The tree is only missing the
> biggest set of patches, changes to solenv/inc/ dmake scripts.
> Once I'll clean it a bit, I'll submit the required diff file.

Let's close this issue. Feel free to open new one when you feel
it's ready
Comment 89 Oliver-Rainer Wittmann 2012-06-13 12:27:48 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 90 Yuri Dario 2015-09-14 11:42:03 UTC
Work on the OS/2 port continues on issue 118923.
Comment 91 Kay 2016-03-20 20:48:52 UTC
Closing. See https://bz.apache.org/ooo/show_bug.cgi?id=118923.
All changes ported in 4.1.2 release.