Opened 18 years ago

Closed 18 years ago

#1758 closed task (fixed)

OpenOffice.org-2.0.2

Reported by: Randy McMurchy Owned by: DJ Lucas
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords: OpenOffice
Cc:

Description

Version increment to 2.0.1

Attachments (4)

Discussion.txt (4.3 KB ) - added by martyman99999@… 18 years ago.
Discussion of what I fixed and why, build cookbook updates
configure-openoffice (704 bytes ) - added by martyman99999@… 18 years ago.
My configuration, for reference
OpenOffice2.0.2-required.2.patch (34.5 KB ) - added by martyman99999@… 18 years ago.
Patch, maybe in a form you can download
OpenOffice2.0.2-required.patch (14.9 KB ) - added by bdubbs@… 18 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 by DJ Lucas, 18 years ago

Owner: changed from blfs-book@… to DJ Lucas
Status: newassigned
Type: defectenhancement

comment:2 by DJ Lucas, 18 years ago

Summary: OpenOffice.org-2.0.1OpenOffice.org-2.0.2

comment:3 by martyman99999@…, 18 years ago

Glory be. I appear to have gotten this to build. One compile problem and three makefile problems.

I never did get 2.0.0 to come up. It threw a CorruptedFilterConfigurationException right away. I now understand that in 2.0.0 the build failed to do something and failed to report the error. In 2.0.2 the build failed to do something and did report the error. Which I was then able to solve.

More after I revisit and get proper patches and solve the makefile things the right way, and do a little more thorough functional checkout.

  • Marty Jack

comment:4 by bdubbs@…, 18 years ago

Milestone: future6.2

Excellect. Keep us posted on the details so we dont have to reinvent the wheel. We appreciate teh input a lot.

by martyman99999@…, 18 years ago

Attachment: Discussion.txt added

Discussion of what I fixed and why, build cookbook updates

by martyman99999@…, 18 years ago

Attachment: configure-openoffice added

My configuration, for reference

by martyman99999@…, 18 years ago

Patch, maybe in a form you can download

comment:5 by martyman99999@…, 18 years ago

I'll continue to test and if you all have the inclination, please do. I'll look into finishing up that one item and also getting the patches submitted to the developers. It looks like I don't know how to upload the patch in a way that can be downloaded so if someone could straighten that out and tell me how to do it the right way, please ...

by bdubbs@…, 18 years ago

comment:6 by bdubbs@…, 18 years ago

I updated (replaced) the patch, but have a question. There are several places in the patch that refer to Firefox. Do these changes need to be made for mozilla/seamonkey?

Looking at the rest of the patch, it seems pretty dumb that a developer used a keyword, enum, as a variable!

comment:7 by martyman99999@…, 18 years ago

The patch is written so that if you are using either system Mozilla or system Firefox it will work. I don't have Seamonkey and so don't know how it lays out its pkgconfig file. If you were to look in /usr/lib/pkgconfig and tell me what you see maybe we can adjust that as well (but of course they may claim it isn't supported since Seamonkey just came out).

What seems a little odd to me is how Java 1.5 and OpenOffice have each been out for over a year and there are still compile issues. It has to be that they are still using an older version for their own builds.

I have since learned that --disable-odk doesn't have any effect on the output of the build that we care about. If you take the OpenOffice_SDK path down from instsetoo_native rather than the OpenOffice path that's where that part goes, so we don't install it anyway. So maybe the best answer is "don't do that" to --disable-odk. It still should be that selecting a configuration options shouldn't break the build, but it does lower the priority.

comment:8 by bdubbs@…, 18 years ago

I'm not sure which you want:

seamonkey-gtkmozembed.pc seamonkey-js.pc seamonkey-nspr.pc seamonkey-nss.pc seamonkey-plugin.pc seamonkey-xpcom.pc

They all have: prefix=/usr exec_prefix=/usr libdir=/usr/lib/seamonkey-1.0 includedir=/usr/include/seamonkey-1.0

xpcom.pc also has:

idldir=/usr/share/idl/seamonkey-1.0

comment:9 by martyman99999@…, 18 years ago

It would be the seamonkey-plugin.pc that it would want to reference.

If you say --with-system-mozilla it wants mozilla-plugin.pc If you say --with-system-mozilla --with-firefox it wants firefox-plugin.pc

If you have no mozilla-plugin.pc to go with your seamonkey-plugin.pc then there would need to be something done. To do it right would take a --with-seamonkey and code similar to what I did for --with-firefox. It's up to you if you want to depart that much from the shipped sources and have to redevelop it every time they ship. One thing you could do for testing is symlink seamonkey-plugin.pc to also be mozilla-plugin.pc and see how that works.

comment:10 by bdubbs@…, 18 years ago

We could create a symlink, but I do have mozilla installed too:

$ diff seamonkey-plugin.pc mozilla-plugin.pc 3,4c3,4 < libdir=/usr/lib/seamonkey-1.0 < includedir=/usr/include/seamonkey-1.0 ---

libdir=/usr/lib/mozilla-1.7.12 includedir=/usr/include/mozilla-1.7.12

8,9c8,9 < Version: 1.0 < Requires: seamonkey-xpcom = 1.0 ---

Version: 1.7.12 Requires: mozilla-xpcom = 1.7.12

comment:11 by martyman99999@…, 18 years ago

If that's the case, you should be able to build. My guess is a more extensive amount of work would have to be done in the OpenOffice product to support Seamonkey, so time will tell whether Sun er OpenOffice.org does it. Let's keep this on the to investigate whether it works during checkout list.

comment:12 by martyman99999@…, 18 years ago

Printing doesn't work out of the box. The directories /opt/openoffice-2.0.2/share/psprint/driver and .../fontmetric are not populated. Apparently they are not built even if you asked for them due to this configure issue. I didn't ask for them thinking that the system installed fonts and PPDs would be used. Guess not.

http://qa.openoffice.org/issues/show_bug.cgi?id=62068

I populated these directories from a previous install from RPM on the host system and printing works. Would have to look into how to get this done properly during the build.

comment:13 by martyman99999@…, 18 years ago

A copy of psprint_config/configuration/afm/*.afm to /opt/openoffice-2.0.2/share/psprint/fontmetric and psprint_config/configuration/ppds/*.PS to /opt/openoffice-2.0.2/share/psprint/driver will do what is needed.

comment:14 by Randy McMurchy, 18 years ago

Keywords: OpenOffice added
Type: enhancementtask

comment:15 by DJ Lucas, 18 years ago

Resolution: fixed
Status: assignedclosed

Completed

Note: See TracTickets for help on using tickets.