Hi Jorge,

On Tue, Feb 12, 2013 at 08:06:11PM -0600, jorge ivan poot diaz wrote:
> Hello Ariel,
> 
> I did the patch you told me, but I have not results.

Did you build it? Did it compile without errors? Did you copy the
library with the modifications back in your installation? (you need to
copy both the library and binary resource file).


> I would like to know what would be the equivalent of a code tutorial about
> for this new source code to generate the button.

That tutorial doesn't explain much... if you've followed the steps in my
previous mail (the one with the patch), you should be able to make it
work. I repeat the steps:

The sources are at:

cui/source/inc/about.hxx - header
cui/source/dialogs/about.cxx - source file
cui/source/dialogs/about.hrc - IDs defines
cui/source/dialogs/about.src - dialog structure definition


Apply the attached patch, build, deliver, and copy the library in your
office installation:

Open a terminal, cd where you have the trunk source tree
]$ cd <SRC_ROOT>

Apply the patch
]$ cat <PATH_TO_PATH> | patch -p1

cd the cui directory
]$ cd main/cui

rebuild that directory and deliver
]$ build debug=true dbglevel=3  && deliver


copy the library
]$ cp -fv <unxlngx6>/lib/libcui.so <BASIS_DIR>/basis4.0/program/libcui.so

copy the resource file
]$ cp -fv <unxlngx6>/bin/cui*.res  <BASIS_DIR/basis4.0/program/resource/


It seems I didn't give the last step in my previous mail.

The resource files, the ones with the *.src extension, are compiled into
a binary file that usually has the module name+language.res, for example

cuien-US.res
cuies.res
cuide.res

The languages dependen on the --with-lang="lang1 lang2" switch.

They are located in <unxlngx6>/bin. When you modify a resource file,
copy the re compiled binary back in your installation. As you are doing
small changes, copying the recompiled files is easier that rebuilding
the whole source try.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpTU2QtUrZyH.pgp
Description: PGP signature

Reply via email to