Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 10:21:44 -0700 (PDT)
From:      Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41688: Enhancement for OpenOffice.org: automatic L10N'ed Help installation
Message-ID:  <200208151721.g7FHLi3t005441@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41688
>Category:       ports
>Synopsis:       Enhancement for OpenOffice.org: automatic L10N'ed Help installation
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 15 10:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nakata Maho
>Release:        4.6-STABLE
>Organization:
Private
>Environment:
FreeBSD debussy.private.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jul 26 09:50:34 JST 2002     maho@debussy.private.org:/work/cvsup/src/sys/compile/MAHO-DEBUSSY-4.x-STABLE  i386
    
>Description:
I use OpenOffice.org ports(japanese/openoffice).
Recently, l10N'ed helpfile is available for Japanese,
however, this port does not automatically install helpfile.
I made a slight change for both OOo ports.
However, according to http://www.openoffice.org/dev_docs/source/build_linux.html#BuildingLocalised
one should stop somewhere and extract helpcontent,
however, my experience(yes I know it is not a beautiful
solution), just extract before full build is ok.
I think this solution can be applied to other languages'
helpcontent(especially, japanese helpcontent has strange name, though ;-). 

>How-To-Repeat:
      
>Fix:
Two patches are necessary:
One is editors/openoffice
diff -ur /usr/ports/editors/openoffice/Makefile editors/openoffice/Makefile
--- /usr/ports/editors/openoffice/Makefile      Thu Aug 15 08:48:06 2002
+++ editors/openoffice/Makefile Fri Aug 16 02:01:15 2002
@@ -336,6 +336,10 @@
        @sleep 5
 .endif
        @cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap
+.if defined(L10NHELP)
+       ${MKDIR} ${WRKSRC}/../solver/641/unxfbsd.pro/pck 
+       (cd ${WRKSRC}/../solver/641/unxfbsd.pro/pck ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP} ) 
+.endif
 .if !defined(DISPLAY)
        @cd ${WRKSRC}/.. && DISPLAY=${DISPLAYHACK} PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" && \
                tcsh -c 'source FreeBSDEnv.Set && unsetenv TOP && ${DMAKE}'
diff -ur /usr/ports/editors/openoffice/distinfo editors/openoffice/distinfo
--- /usr/ports/editors/openoffice/distinfo      Thu Aug 15 08:48:06 2002
+++ editors/openoffice/distinfo Thu Aug 15 09:07:32 2002
@@ -6,3 +6,5 @@
 MD5 (openoffice/oo_moz_1.0_i386_FreeBSD-4-gcc3.1-debug-ports.tar.gz) = 5cb569692f4371258bed419097989dbc
 MD5 (openoffice/oo_moz_1.0_i386_FreeBSD-4-gcc3.1-ports.tar.gz) = 52eb32f285cc2023887512c20b7e97de
 MD5 (openoffice/oo_moz_1.0_includes.tgz) = 375517c78ff96512d9e1eba6b5fc0e36
+MD5 (openoffice/helpcontent) = 832193e5f8954fea10392b73e8dab8c5
+

Next is japanese/openoffice
diff -ur /usr/ports/japanese/openoffice/Makefile japanese/openoffice/Makefile
--- /usr/ports/japanese/openoffice/Makefile     Mon Aug  5 10:32:08 2002
+++ japanese/openoffice/Makefile        Thu Aug 15 09:06:43 2002
@@ -12,5 +12,9 @@
 LANG_CONFIGURE_ARG=    JAPN
 MASTERDIR=     ${.CURDIR}/../../editors/openoffice
 RUN_DEPENDS+=  ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
+MASTER_SITES+= ftp://ftp.kddlabs.co.jp/office/openoffice/ \
+               ftp://ftp.sfc.wide.ad.jp/pub/OpenOffice/
+DISTFILES+=    helpcontent 
+L10NHELP=      helpcontent 
 
 .include "${MASTERDIR}/Makefile"


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208151721.g7FHLi3t005441>