Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75378 - OpenOffice 1.1.4 is out.
Summary: OpenOffice 1.1.4 is out.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL: http://www.openoffice.org
Whiteboard:
Keywords:
: 75426 (view as bug list)
Depends on: 75487
Blocks:
  Show dependency tree
 
Reported: 2004-12-22 15:48 UTC by Marko Steinberger
Modified: 2004-12-28 01:09 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
OOo 1.1.4 ebuild (openoffice-1.1.4.ebuild,15.17 KB, text/plain)
2004-12-23 10:29 UTC, Imad R. Faiad
Details
freetype >=2.1.8 patch (vcl-freetype-2.1.8.patch,984 bytes, text/plain)
2004-12-23 10:31 UTC, Imad R. Faiad
Details
patch to resolve issue when compiling with USE="java" & gcc-3.4.c (i39481.diff,2.00 KB, text/plain)
2004-12-27 14:31 UTC, Imad R. Faiad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Steinberger 2004-12-22 15:48:41 UTC
New Version.
Corresponding ebuilds for openoffice and openoffice-bin needed.

Reproducible: Always
Steps to Reproduce:
Comment 1 Roel Brook 2004-12-22 18:59:24 UTC
Additional request: is there any chance of getting an ebuild for the unstable 1.9 branch? Openoffice is almost begging users to test it. It's only a small change to an ebuild every 2 weeks, and it works GREAT (well, downloaded the windows version), it's much better in importing word docs and everything.
Comment 2 Felix Braun 2004-12-23 02:45:33 UTC
Unfortunately, just renaming the 1.1.3 ebuild to 1.1.4 does not work. We need more ebuild-foo than that :-)
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-23 03:04:24 UTC
Already working at it, just give some time for testing...

About 1.9.x: This is alpha-quality atm, I think we should wait at least until it goes beta...
Comment 4 Hanno Zysik (geki) 2004-12-23 06:35:44 UTC
i test OOo 1.9 with hacked ebuild but I do not really know if some flags for the building tools may changed?! it needs epm from http://www.easysw.com/epm/ and on packaging with that tool breaks here. I want to test if using the OOo epm patches for it may solve that but ooo.ximian.com is down and i do not find any mirror.

Andreas do you know anything about changes in building from 1.1 to 1.9?


PS gcc34 patches should apply on OOo 1.1.4 :)
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-23 06:56:32 UTC
*** Bug 75426 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-23 06:59:00 UTC
openoffice-bin 1.1.4 is already in portage

@Hanno: Yes the gcc34 patches apply fine here, compiling the beast atm. Also: Didn't take a look on 1.9.x so really don't know
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-23 08:02:57 UTC
1.1.4 fails because of the new freetype, that's not good, cause the unmasking of freetype 2.1.9 most likely will also have broken the older OOos :(

In file included from ./gcach_ftyp.hxx:65,
                 from /var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:69:
../../inc/glyphcache.hxx:96: warning: specialization of `template<class _Key> struct _STL::hash' in different namespace
/var/tmp/portage/openoffice-1.1.4/work/solver/645/unxlngi4.pro/inc/stl/stl/_hash_fun.h:40: warning:   from definition of `template<class _Key> struct _STL::hash'
In file included from /var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:80:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx: In member function `long int FreetypeManager::AddFontDir(const String&)':
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:530: warning: comparison between `enum oslFileError' and `enum osl::FileBase::RC'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx: In member function `int FreetypeServerFont::ApplyGlyphTransform(int, FT_GlyphRec_*) const':
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:906: warning: converting to `FT_Pos' from `double'/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:908: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:909: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:910: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:911: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:917: warning: converting to `FT_Pos' from `double'/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:918: warning: converting to `FT_Pos' from `double'/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:919: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:920: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:921: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:922: warning: converting to `FT_Fixed' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx: In member function `virtual void FreetypeServerFont::InitGlyphData(int, GlyphData&) const':
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:1101: warning: converting to `int' from `double'
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx: In member function `virtual ULONG FreetypeServerFont::GetKernPairs(ImplKernPairData**) const':
/var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx:1582: warning: comparison is always false due to limited range of data type
distcc[30384] ERROR: compile /var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs/gcach_ftyp.cxx on localhost failed
dmake:  Error code 1, while making '../../unxlngi4.pro/slo/gcach_ftyp.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.4/work/vcl/source/glyphs

!!! ERROR: app-office/openoffice-1.1.4 failed.
!!! Function src_compile, Line 360, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 8 Hanno Zysik (geki) 2004-12-23 08:13:54 UTC
you may post ebuild and necessary files here to test :)
Comment 9 Hanno Zysik (geki) 2004-12-23 08:15:47 UTC
you may have a look at this:

/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"

are these included like that? ignore me, if you checked already ;)
Comment 10 Imad R. Faiad 2004-12-23 10:29:26 UTC
Created attachment 46722 [details]
OOo 1.1.4 ebuild

a working OOo-1.1.4 ebuild
Comment 11 Imad R. Faiad 2004-12-23 10:31:16 UTC
Created attachment 46723 [details]
freetype >=2.1.8 patch

this should fix the compile problems with freetype-2.1.9
Comment 12 Imad R. Faiad 2004-12-23 10:36:01 UTC
NOTES: to use the above build do the followings:
1) copy portage/app-office/openoffice/files/1.1.3 dir
   to portage/app-office/openoffice/files/1.1.4 dir
2) place vcl-freetype-2.1.8.patch in portage/app-office/openoffice/files/1.1.4 dir
3) place openoffice-1.1.4.ebuild in portage/app-office/openoffice dir
4) download the openoffice-1.1.4 source into distdir.
5) generate the digest as follows:
   cd /usr/portage/app-office/openoffice
   ebuild openoffice-1.1.4.ebuild digest
6) you may now proceed with the emerge
hth
Comment 13 Imad R. Faiad 2004-12-23 10:39:12 UTC
more NOTES:
the above ebuild does not filter "-fomit-frame-pointer" and "-ftracer" compiler
flags, as i have no problems with them, should you have issues with them just un-comment the following lines
in the ebuild:
#filter-flags "-fomit-frame-pointer"
#filter-flags "-ftracer"
hth
happy compiling
Comment 14 Paul de Vrieze (RETIRED) gentoo-dev 2004-12-23 12:02:49 UTC
Imad, unfortunately there are bugs in the gcc compiler. Those bugs are triggered by certain less common compilation options, possibly in the combination with certain architectures (pentium4 support is infamous for this). As not everyone runs the latest compilers, I think it is better to let the filters in. Openoffice is too fragile allready to add problems caused by compiler flags.
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-12-24 06:04:10 UTC
Hi,

Imad your ebuild and patch worked for me after I changed one line in the ebuild due to missing "]" in line 192.

Tank you :)

Poly
Comment 16 Hanno Zysik (geki) 2004-12-24 06:48:46 UTC
so when will we see this in portage?
Comment 17 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-27 09:02:09 UTC
Sorry, did miss this for a few days as my mail account was down. Anyway: Just compiling and testing although I did take the patch from Mandrake:

http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/SPECS/OpenOffice.org/openoffice-1.1-ft217.patch?rev=1.1.2.1&content-type=text/plain

Will put it in portage soon, if everything works out fine
Comment 18 Imad R. Faiad 2004-12-27 14:31:08 UTC
Created attachment 46996 [details]
patch to resolve issue when compiling with USE="java" & gcc-3.4.c

@Andrea,
you may want to include, or a least take note of the attached patch.
had issues compiling OOo with USE="java", and post gcc-3.4.3 compiler
please see
http://www.openoffice.org/issues/show_bug.cgi?id=39481
for more details, the attached patch solves it.
hth
happy new year
Comment 19 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-28 01:09:25 UTC
Ok, 1.1.4 is in portage, thanks to everyone for commenting and helping out. 

@Imad: With which version do this problems show up? Anyway: Will take a look at it
Comment 20 Andreas Proschofsky (RETIRED) gentoo-dev 2004-12-28 01:09:37 UTC
Oh, and: Closing