Issue 103716 - openoffice package contains duplicates of fonts from FSWxorg-fonts-core
Summary: openoffice package contains duplicates of fonts from FSWxorg-fonts-core
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.1
Hardware: Sun Solaris
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 10:27 UTC by kitzbergerova
Modified: 2013-08-07 15:31 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kitzbergerova 2009-07-22 10:27:32 UTC
- on OpenSolaris 2009.06

Following directory from the openoffice package:
  /opt/openoffice.org/basis3.1/share/fonts/truetype/
contains a number of duplicate font files.

This can be resolved by dependencies. These files should be removed from
openoffice package or replaced by symlinks to /usr/X11/lib/X11/fonts/TTF/.

To reproduce:

(1) Liberation
$ pkg install openoffice
$ for i in `ls /usr/X11/lib/X11/fonts/TTF/Liberation*`; do \
    b=`basename $i`; \
    ls -l /usr/X11/lib/X11/fonts/TTF/$b
/opt/openoffice.org/basis3.1/share/fonts/truetype/$b; \
  done
-r--r--r-- 1 root bin 104980 May 31 15:26
/opt/openoffice.org/basis3.1/share/fonts/truetype/LiberationMono-Bold.ttf       
-r--r--r-- 1 root bin 104980 Nov 13  2008
/usr/X11/lib/X11/fonts/TTF/LiberationMono-Bold.ttf                             
                                          ..

(2) DejaVu
Practically the same situation, only the files are under different names and
sizes (OOo files being probably older version):

$ ls -l /usr/X11/lib/X11/fonts/TTF/Deja*ttf
-r--r--r-- 1 root bin 569880 Mar 28 19:31
/usr/X11/lib/X11/fonts/TTF/DejaVuSans-Bold.ttf
..
vs.
$ ls -l /opt/openoffice.org/basis3.1/share/fonts/truetype/Deja*ttf
-r--r--r-- 1 root bin 539972 May 31 15:26
/opt/openoffice.org/basis3.1/share/fonts/truetype/DejaVuSansBold.ttf
..
Comment 1 Olaf Felka 2009-07-22 10:36:06 UTC
reassigning
Comment 2 ingo.schmidt-rosbiegal 2009-08-14 09:54:25 UTC
is -> hdu: do you agree with replacing the files by symlinks? Or is it
sufficient to remove the files and to rely on their existence in
/usr/X11/lib/X11/fonts/TTF/ ?
Comment 3 hnhn 2009-08-14 10:49:09 UTC
Optimal would be to remove the files and to rely on their existence in
/usr/X11/lib/X11/fonts/TTF/, while declaring dependency on FSWxorg-fonts-core in
the packages' metadata (this might need to be done in the distro-import part of
the opensolaris.org pkg workspace).
Comment 4 hdu@apache.org 2009-08-14 12:04:45 UTC
@is: If the installation script can reliably determine that the fonts are already there and known system 
wide, then OOo should neither install nor symlink them.
Comment 5 hdu@apache.org 2009-08-14 12:07:40 UTC
From a packaging standpoint hnhn's suggestion to use package dependencies is probably even better.
Comment 6 ingo.schmidt-rosbiegal 2009-08-21 09:30:41 UTC
Yes, sounds good to use the package dependencies.
Comment 7 ingo.schmidt-rosbiegal 2010-02-10 11:26:17 UTC
Setting required target.