Commit graph

238 commits

Author SHA1 Message Date
Martin Blapp
b42d78ff38 Fix gcc 2.95.3 crash resulting from a symbol conflict
between libpackage2.so and libsvx641fi.so.

Enable gcc 2.95.3 build again. OO should build and work now
in STABLE with the system gcc.

Obtained from:		Alexander Kabaev <ak03@gte.com>
2002-06-12 21:19:50 +00:00
Martin Blapp
44f577242e Enable the exported symbols map files again. A missing map file has been added
and now the build works with map files. It seems that some of these patches
have been comitted to the OO repo. Add new patches to fix this.
2002-06-12 21:06:03 +00:00
Martin Blapp
1f297430c7 Enable the map files. 2002-06-12 09:26:23 +00:00
Martin Blapp
b8b818defb Add notice about the JDK requirements. 2002-06-10 22:22:23 +00:00
Martin Blapp
a4fc48469f Matt just comitted the fix to CURRENT. Do not display the
message if CURRENT is used.
2002-06-10 21:00:34 +00:00
Martin Blapp
51afacdfc5 It looks like a 'make install-user' as root does add this
File. To be able to make a package, we need to remove it.
2002-06-10 15:44:00 +00:00
Martin Blapp
41a7ef6b86 Larger stack and datasize seems only be needed if gcc2 is used. 2002-06-10 13:11:37 +00:00
Martin Blapp
06f0a65b67 Add message about broken FreeBSD rtld and needed system patch. 2002-06-10 12:57:15 +00:00
Martin Blapp
8a799370de Only activate the display hack if no DISPLAY is defined. This should fix
install for users with a running X-Server.
2002-06-10 12:05:38 +00:00
Kris Kennaway
b04150bf09 Remove patches with absurdly long filenames (>100 characters), after a
repo copy to files with shorter names.
2002-06-10 05:26:20 +00:00
Martin Blapp
3dd0d96e53 Fix version string
Submitted by:		Alexandr Kovalenko <never@nevermind.kiev.ua>
2002-06-07 15:49:28 +00:00
Martin Blapp
38285ee8ef Add missing -D_REENTRANT in CURRENT. 2002-06-07 15:29:55 +00:00
Martin Blapp
c7b31b51f7 - Dependency fix.
- Really build OO on CURRENT with g++ from ports
2002-06-07 15:24:41 +00:00
Martin Blapp
36594f4e5d Make a ugly hack and remove the DISPLAY dependency. We use the
XFree86-4-VirtualFramebufferServer port to fake a real x-server
and to be able to make automated builds on bento.

Set USE_GCC=3.1 since all other options are broken at the moment.

Reviewed by:		Will Andrews <will@FreeBSD.org>
2002-06-07 14:14:10 +00:00
Martin Blapp
31ca6f7c10 Automated build is not possible.
Obtained from:		Will
2002-06-07 11:10:04 +00:00
Martin Blapp
95e277d607 Sync with reality and sort. 2002-06-06 23:11:54 +00:00
Martin Blapp
2a112bea93 Add missing map files. 2002-06-06 18:09:58 +00:00
Martin Blapp
32b27a6820 Fix string 2002-06-06 14:17:01 +00:00
Martin Blapp
693991c51e Add DMAKE variable we can later use for more targets. 2002-06-06 14:06:19 +00:00
Martin Blapp
72a13b2644 Remove /usr/local/lib from LD_LIBRARY_PATH. This should fix compile
issues if stlport is already installed, but have been compiled with
a different c++ compiler.
2002-06-06 14:04:42 +00:00
Martin Blapp
eef799ee37 Add WITH_DEBUG option, and a needed patch.
Clean up the Makefile.
2002-06-06 13:23:26 +00:00
Martin Blapp
f31bc69eea Fix distfile name for gcc31
Submitted by:	Erik H. Bakke <ebakke@trolltech.com>
2002-06-05 14:38:04 +00:00
Martin Blapp
6dc9319a76 Remove \t from usage(). Add the missing obsolete directory as a copy
from nspr/obsolete.
2002-06-05 14:33:37 +00:00
Martin Blapp
d9fbf1e323 I made the mozilla distfiles about 4MB smaller. The includes are always
the same, so there isn't any reason we should include them in each
version. Change the MD5 checksums one last time.
2002-06-05 14:29:24 +00:00
Martin Blapp
b2d9e960ca Also set --enable-gcc3 for CURRENT without USE_GCC 2002-06-05 12:44:14 +00:00
Martin Blapp
cafba41321 Use USE_GCC as in bsd.ports.mk proposed. 2002-06-05 12:30:24 +00:00
Martin Blapp
635da99a8b Don't make a mozilla subdir inside the includes 2002-06-05 12:16:47 +00:00
Martin Blapp
296624e8f0 Use CXX to link, since there are many places where CC is missing -lstdc++. 2002-06-04 23:37:00 +00:00
Martin Blapp
c646203023 Remove very very stupid -L/lib -L/usr/lib -l/usr/local/lib. If
a different gcc is used, they make libstd++ conflict with the
system installed one.

Pointy hat to OpenOffice people.

Many thanks to:		David E. O'Brien <obrien@FreeBSD.org>
2002-06-04 22:41:10 +00:00
Martin Blapp
7c85d350aa Make the installation working on CURRENT to. The LD_LIBS
path was missing for the stlport library.
2002-06-04 19:31:50 +00:00
Martin Blapp
246ccd4a01 We finally made it possible. With the new bridge code from Alexander,
OpenOffice works now (on STABLE). Thanks goes to the following people
which helped me a lot :

Tim Tretyak <timothy@umc.com.ua>
Alexander Kabaev <ak03@gte.com>
Carlos F. A. Paniago <pan@panix.ecof.org.br>
2002-06-04 18:52:20 +00:00
Martin Blapp
e55f32f0f8 AC_TRY_COMPILE -> AC_TRY_LINK 2002-06-04 12:15:32 +00:00
Martin Blapp
9ad3fcb94c Fix the mozilla include problem and reroll the distfile.
Change MD5 checksum for CURRENT.
2002-06-04 11:09:46 +00:00
Martin Blapp
206de2abe4 Add new cpp uno bridge for STABLE. Make the necessary hooks and also add
the missing EXCEPTION argument to configure.in

Submitted by:	Alexander Kabaev <ak03@gte.com>
2002-06-04 10:54:09 +00:00
Martin Blapp
c3da2f04f4 Check the exception handling. Needed for the cpp uno code
bridge. I'll import a new bridge for sjlj exceptions on STABLE.
2002-06-04 10:17:52 +00:00
Martin Blapp
46e3f1b0da Work around the broken deliver.pl behaviour on CURRENT. For some very
strange reason (perl bug ?i), deliver does not copy the includes to
the right place, it just skips them. Just copy the includes to the
right place.
2002-06-03 22:17:18 +00:00
Martin Blapp
653dda5bda OO bootstrap needs perl. 2002-06-03 13:55:41 +00:00
Martin Blapp
6db8acda59 Some other ln -s -> ln -fs 2002-06-02 22:53:54 +00:00
Martin Blapp
fc8edb0c15 For now, do not add libstd++ lib to the package. A libgcc_s.so is missing
on CURRENT. I'll investigate here what's wrong.
2002-06-02 21:43:03 +00:00
Martin Blapp
b3526edc12 Add missing includes for CURRENT 2002-06-02 20:11:57 +00:00
Martin Blapp
eb1c052f09 Fix previous patch. We have to include unistd.h for FreeBSD 2002-06-02 20:07:05 +00:00
Martin Blapp
d76901000b Do not link with lsupc++. With the newest gcc3.1 version it seems not to
be necessary.
2002-06-02 19:31:50 +00:00
Martin Blapp
954b175db3 Add a patch to not prototype getopt() again if gcc3 is used. 2002-06-02 19:29:04 +00:00
Martin Blapp
04658e095e Same case as Solaris. 2002-06-02 19:25:32 +00:00
Martin Blapp
899c8890cc Don't compile this for the gcc3 case. 2002-06-02 19:22:38 +00:00
Martin Blapp
b2b0846bf2 Fix patch. Of course the original checked for gcc3.0, not gcc3.1 2002-05-30 22:38:37 +00:00
Martin Blapp
2dbcf6c24b Add missing include for strchr() if compiled with gcc3 2002-05-30 22:23:14 +00:00
Martin Blapp
f60670bf15 Allow uno bridging code to compile with our gcc3.1 and gcc3.2 from ports. 2002-05-30 22:13:07 +00:00
Martin Blapp
c1723f3f16 Add script to generate the needed mozilla dist tarfiles. 2002-05-29 14:21:09 +00:00
Martin Blapp
134fbc9d1e Second part, forgot to commit it.
Make openoffice compile with gcc from ports, or just with CC=$CC and
CXX=$CXX, like it should normally be. Usable options are:

USEPORTGCC295=YES, USEPORTGCC31=YES and USEPORTGCC32=YES

Add a lot off gcc3.x fixes, make included stlport compile with CURRENT.

Next step will be to include a mozilla build, so we can link openoffice
against mozilla librarys without c++ compat problems.
2002-05-29 14:06:33 +00:00
Martin Blapp
6f36732a2d Make openoffice compile with gcc from ports, or just with CC=$CC and
CXX=$CXX, like it should normally be. Usable options are:

USEPORTGCC295=YES, USEPORTGCC31=YES and USEPORTGCC32=YES

Add a lot off gcc3.x fixes, make included stlport compile with CURRENT.

Next step will be to include a mozilla build, so we can link openoffice
against mozilla librarys without c++ compat problems.
2002-05-29 13:58:09 +00:00
Martin Blapp
4ebe928257 Mark it broken again.
It seems that our c++ (2.95.3) has still bugs. This time c++ exceptions
do not work as they should and instead a clean exit we get a segfault.
This works with a virgin 2.95.3 compiler, or even the one in the ports
collection. Another bug is a internal compiler error during compile
a part of OO without -g or with -O.

The rtld-elf symbolcache seems to have problems too. If used,
the installation coredumps. A workaround seems to disable the
caching altough this can't be the real solution.

There is also an outstanding problem in the uno-bridge code of OO.
We are currently investigating it:

http://www.openoffice.org/issues/show_bug.cgi?id=5071
2002-05-22 08:36:16 +00:00
Martin Blapp
ed8eb35b94 Fix plist for OpenOffice 1.0 2002-05-21 21:16:58 +00:00
Martin Blapp
295782276e Add install-user target. 2002-05-19 20:26:47 +00:00
Martin Blapp
fcaa518c5d Change SO version in oo_setup.resp. Call sed directly. 2002-05-19 20:24:05 +00:00
Martin Blapp
25d19e763c Fix the last commit. Since OO was only compileable in a little
timeframe on CURRENT, mark it broken for all CURRENT versions.
Beside that, the logic was wrong.
2002-05-19 16:26:14 +00:00
Martin Blapp
00d240b137 Unbreak build, since we need testers now the setup works.
Add a lot of warning messages and tell in which RELEASE
OO does not work (yet).
2002-05-19 13:34:25 +00:00
Martin Blapp
2f3836cafb Add BSD specific nas patches to get it really working. NetBSD should
do the same.
2002-05-19 13:02:37 +00:00
Martin Blapp
b0dc5db05c Work around another C++ compiler bug with -O in our
STABLE gcc. Using -g for just this target, or removing
-O seems to fix the build.
2002-05-19 12:29:49 +00:00
Martin Blapp
8800bea575 Link libmozab2 too. This is apparently a bug introduced in
1.0 by the OO people. This should fix the setup program.
2002-05-19 12:17:30 +00:00
Martin Blapp
7f0ffef7c8 Revert the include dirs to the old location as before, and
add the missing dirs.
2002-05-18 14:28:08 +00:00
Martin Blapp
a87098e61c Add missing MD5 checksum, sigh 2002-05-18 12:35:58 +00:00
Martin Blapp
9d31c8a527 Update to mozilla 1.0RC2, like the OO people did yesterday. 2002-05-18 12:32:54 +00:00
Martin Blapp
8ba7b2bfab Make setup start. Patch from Alexander N. Kabaev 2002-05-18 12:30:12 +00:00
Martin Blapp
cede1a236a Remove -g from build. We have special makeflags for this in OO. 2002-05-14 17:42:20 +00:00
Martin Blapp
98f16c166c A oounix dir is now used instead of unix. So we need
to apply this patch to two files instead of one.
2002-05-01 21:51:24 +00:00
Martin Blapp
f3bad9da86 Upgrade to 1.0.0
Builds ok, but is still broken
2002-05-01 21:09:48 +00:00
Gerald Pfeifer
ba2e76e930 Tweak an error message in pre-extract.
Approved by:	mbr (maintainer), obrien (mentor)
2002-04-26 17:48:30 +00:00
Martin Blapp
31a8c2f1a5 Check for missing langinfo.h 2002-04-25 08:08:18 +00:00
Martin Blapp
390eecd72c Add setup description file 2002-04-24 22:11:06 +00:00
Martin Blapp
d0f31d2b75 Fix one mastersite, add install targets and remove the os version check.
I think if the gcc fixes for oo go in before 4.6, we can check against
this version later.

Openoffice does build now till the end. A normal build with a P800 Mhz
does take approximatly 20 hours.
2002-04-24 22:02:12 +00:00
Martin Blapp
13665ba93a Remove this patch. It's now included in the 641d build 2002-04-24 00:47:52 +00:00
Martin Blapp
d9c2f10276 Bring back deleted patch. We can habe the same flags as linux 2002-04-23 23:23:16 +00:00
Martin Blapp
8b787cfd1c We do not have alloca.h 2002-04-23 23:18:15 +00:00
Martin Blapp
2db0f945ef Go back to mozilla 2.95 includes, a newer version has LDAP code
problems and doesn't compile. We can bump later to 1.0, if the
openoffice project does the same.
2002-04-23 22:06:27 +00:00
Martin Blapp
95c229ce16 mktemp(3) needs unistd.h
Recieved from Carlos F. A. Paniago <pan@cnpm.embrapa.br>
2002-04-16 17:59:29 +00:00
Martin Blapp
25fb948c1d Bring the patch to the newest version so it does not break anymore 2002-04-15 16:56:50 +00:00
Martin Blapp
30f652aa63 Ifdef another windows timezone definition 2002-04-15 15:14:28 +00:00
Martin Blapp
7e88375247 Add missing includes 2002-04-15 15:13:07 +00:00
Martin Blapp
1191ea838c Fix patch argument which does fix the neon build 2002-04-15 13:48:19 +00:00
Martin Blapp
a31c45a0b4 Upgrade to build 641d. More work is necessary to make the build compile.
There are still at least two different gcc bugs in our compiler, one
issue has already been found by Alexander Kabaev <ak03@gte.com>. He's
working on fixing the other.
2002-04-02 23:48:28 +00:00
Martin Blapp
b51761e90d Revert the last change. It looks like -fno-rtti is only needed for the
mozilla part, and else it breaks the build where -rtti is used. Add a new
patch to change it for the mozilla build.
2002-03-16 17:02:10 +00:00
Martin Blapp
b0909f5cf7 Add -fno-rtti so the mozab connector code compiles again. 2002-03-15 17:26:45 +00:00
Kris Kennaway
24dcf4a8af Correct invalid syntax in LIB_DEPENDS
Submitted by:	bento
2002-03-15 01:40:07 +00:00
Martin Blapp
67d6aa6627 Add pth directory for LIB_DEPENDS 2002-03-14 16:03:15 +00:00
Martin Blapp
78647a51f7 Make portlint happy. Add USE_XLIB
Submitted by:	demon
2002-03-13 19:19:41 +00:00
Martin Blapp
a46228370b Fix breakage with "patch -i" which is missing in STABLE. For some strange
reason it exists in recent CURRENT, but is not documented.
2002-03-13 16:31:53 +00:00
Martin Blapp
4470012b77 We need to build offuh here, else the build stops
Submitted by:	Carlos F. A. Paniago <pan@cnpm.embrapa.br>
2002-03-11 15:51:33 +00:00
Martin Blapp
7820b875e6 Add FreeBSD Version of oo_moz_641.tar.gz, and update it to mozilla 0.9.8
Thanks to Carlos F. A. Paniago <pan@cnpm.embrapa.br>
2002-03-11 15:43:56 +00:00
Martin Blapp
ee89ac71b6 FreeBSD has no -ldl 2002-03-11 09:26:02 +00:00
Martin Blapp
c8f58c7833 Build unoidl too 2002-03-11 09:18:13 +00:00
Martin Blapp
cb4a584073 If nSubKeys is not defined, just return. Fix from Tim Tretyak <timothy@umc.com.ua> 2002-03-11 09:17:12 +00:00
Martin Blapp
9a6a862e48 Remove unnecessary #defines 2002-03-11 09:15:44 +00:00
Martin Blapp
beb1c620c5 Fix number calculation. Patch from Tim Tretyak <timothy@umc.com.ua> 2002-03-11 09:08:44 +00:00
Martin Blapp
ce1afb567b Fix one #ifdef and add two more checks 2002-03-11 09:06:34 +00:00
Martin Blapp
b19cbdef34 Add langinfo twirks 2002-03-10 23:02:24 +00:00
Martin Blapp
60deb7a34d Add tgetpwnam test for FreeBSD too 2002-03-10 22:51:58 +00:00
Martin Blapp
6149dd0b07 Remove _cdecl before main() 2002-03-10 22:48:22 +00:00
Martin Blapp
a8e4dd73bb AddrLen is socklen_t, not int 2002-03-10 22:42:07 +00:00
Martin Blapp
39bdece24e Add -f to ln to continue builds 2002-03-10 22:34:53 +00:00