Issue 5900 - OOO_STABLE_1/X11+Aqua: product needs patch to build
Summary: OOO_STABLE_1/X11+Aqua: product needs patch to build
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.0.4
Assignee: ed
QA Contact: issues@porting
URL:
Keywords: merge_pending
Depends on:
Blocks: 2588 6078
  Show dependency tree
 
Reported: 2002-06-17 02:03 UTC by ed
Modified: 2004-05-19 16:53 UTC (History)
3 users (show)

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


Attachments
cd $SRCROOT/product; patch -p0 < product.OOO_STABLE_1.061602.patch (15.43 KB, patch)
2002-06-17 02:03 UTC, ed
no flags Details | Diff
cd to SRC_ROOT/product, patch -p0 < /path/to/patch Requires a CLEAN module from CVS (I used 6/17/02), replaces previous patch (14.74 KB, patch)
2002-06-21 08:42 UTC, fa
no flags Details | Diff
apply after the 062102 patch to remove extraneous dots in filenames. (937 bytes, patch)
2002-06-23 21:21 UTC, ed
no flags Details | Diff
superceds all previous patches, requires fresh copy of product (cvs date 06-17-02 verified). (15.07 KB, patch)
2002-06-24 09:53 UTC, ed
no flags Details | Diff
Remove STLPort-4.0 hack from 062402 patch. This patch supercedes all previous patches. (14.36 KB, patch)
2002-09-13 20:28 UTC, pluby
no flags Details | Diff
Correct NO_STLPORT4 check. This supercedes all previous patches (14.76 KB, patch)
2002-09-17 18:03 UTC, pluby
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description ed 2002-06-17 02:03:01 UTC
This patch to product allows it to build successfully for OS X.  This
translates .so extensions in the product lists to UNXSUFFIX to allow
for the .dylib extension on OS X.  Additionally, it contains a hack to
allow stlport4 to build successfully through the module through copying it
to the location where stlport 4.5 would dump its files.

*** THIS PATCH SHOULD BE CHECKED FOR XPLATFORM COMPATIBILITY BEFORE
    COMMITTING IT ***
Comment 1 ed 2002-06-17 02:03:50 UTC
Created attachment 1994 [details]
cd $SRCROOT/product; patch -p0 < product.OOO_STABLE_1.061602.patch
Comment 2 fa 2002-06-21 08:42:15 UTC
Created attachment 2038 [details]
cd to SRC_ROOT/product, patch -p0 < /path/to/patch  Requires a CLEAN module from CVS (I used 6/17/02), replaces previous patch
Comment 3 ed 2002-06-23 21:21:08 UTC
Created attachment 2052 [details]
apply after the 062102 patch to remove extraneous dots in filenames.
Comment 4 ed 2002-06-24 09:53:42 UTC
Created attachment 2059 [details]
superceds all previous patches, requires fresh copy of product (cvs date 06-17-02 verified).
Comment 5 ed 2002-06-24 09:57:03 UTC
the most recent patch adds in appropriate periods and removes
quotations from within the CONCAT# macros that wouldn't be properly
applied and result in mislocated files when building instsetoo
Comment 6 jens-heiner.rechtien 2002-08-05 17:29:14 UTC
Ed,

obviously I'm missing something, but I can't find the definition of 
UNXSUFFIX. Where does it come from?

Heiner
Comment 7 fa 2002-08-05 19:58:37 UTC
See patch for issue 6078 for scp module.  This defines UNXSUFFIX.
Comment 8 jens-heiner.rechtien 2002-08-06 12:37:43 UTC
Hi Dan,

the scp part of the patch is approved (HR + IS). But copying
libstlport_gcc.dylib shouldn't be done from module product but from
stlport/pprj/d.lst module. This part of the patch should be omitted.

Heiner
Comment 9 ed 2002-08-07 08:00:44 UTC
When I was poking around, I couldn't get the stlport makefiles to copy stlport4 dylibs into appropriate locations as things kept complaining about paths on me.  Doing it in product was quick and dirty.  The problem I was having was in how the different modules were defined in that makefile.  The dependencies never seemed to work out in such a way to actually result in the copy getting executed in that stlport makefile.
Comment 10 jens-heiner.rechtien 2002-08-07 09:42:28 UTC
Hi Ed,

Copying from the stlport makefile.mk might in fact be difficult. But
why not just use the stlport/prj/d.lst deliver mechanism?

I do not really object the patch because it's MacOSX specific. But it
does not feel right.

Heiner
Comment 11 fa 2002-08-07 14:38:01 UTC
However, how exactly does one copy from STLPORT_4 directory that 
might be anywhere on the hard drive to the _DEST, but in the d.lst 
file?  What would we use instead of __SRC?

For example, I built wtih --stlport4-
home=/Developer/OpenOffice/STLport4.0

What would be used to represent this path in the d.lst file?

Dan
Comment 12 jens-heiner.rechtien 2002-08-07 15:24:56 UTC
Hi Dan,

I see. Well the build is supposed to use the stlport project for
acquiring the stlport, at least for "regular" ports - one of which
MacOS X will hopefully be in future. If configure overrides the
stlport than IMHO configure should make certain that it will be found
somewhere.

Heiner
Comment 13 ed 2002-08-08 07:09:48 UTC
Most of the linklines in the makefiles I  believe still have STLPORT4_HOME style checks on them and include different paths as necessary, at least, that's how I recall it being done in the past.

Perhaps I should just ask the list.  According to Kevin, gcc2 adn stlport4 were used for the LinuxPPC build so it'd be interesting to see if they ran into this dependency problem in the makefiles as well.
Comment 14 pluby 2002-09-13 20:28:10 UTC
Created attachment 2836 [details]
Remove STLPort-4.0 hack from 062402 patch. This patch supercedes all previous patches.
Comment 15 pluby 2002-09-13 20:38:38 UTC
The product.OOO_STABLE_1.091302.patch removes the copying of
libstlport_gcc.dylib. This patch builds fine with a clean build since
libstlport_gcc.dylib is delivered to solver earlier in the build.
Comment 16 pluby 2002-09-17 18:03:01 UTC
Created attachment 2886 [details]
Correct NO_STLPORT4 check. This supercedes all previous patches
Comment 17 pluby 2002-09-17 18:08:33 UTC
The attached patch product.OOO_STABLE_1.091602.patch corrects the
NO_STLPORT4 check in product/util/makefile.mk. The previous patch was
applying the rules in the reverse of the NO_STLPORT4 check.
Comment 18 ed 2002-10-12 14:30:37 UTC
Added approval_pending keyword to get patrick's cleaner version 
approved instead of my hack job :)
Comment 19 khendricks 2002-11-21 13:58:55 UTC
Approved 
 
Kevin 
 
Comment 20 fa 2002-11-21 22:19:46 UTC
091602 patch committed to _PORTS.

dAn
Comment 21 fa 2002-11-21 23:12:20 UTC
Changed to merge_pending.

Merge:
1) product.OOO_STABLE_1.091602.patch
2) Also see scp patch (6078) as that is a dependency of this one.

Dan
Comment 22 fa 2004-05-19 16:53:28 UTC
patch is obsolete, issue has been fixed.  closing
Comment 23 fa 2004-05-19 16:53:45 UTC
.