From owner-freebsd-ports Thu Aug 15 10:30:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06E7537B405 for ; Thu, 15 Aug 2002 10:30:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876EA43ECD for ; Thu, 15 Aug 2002 10:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7FHU1JU071573 for ; Thu, 15 Aug 2002 10:30:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7FHU1EC071572; Thu, 15 Aug 2002 10:30:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2537F37B400 for ; Thu, 15 Aug 2002 10:21:45 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD11443E7B for ; Thu, 15 Aug 2002 10:21:44 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7FHLiOT005442 for ; Thu, 15 Aug 2002 10:21:44 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7FHLi3t005441; Thu, 15 Aug 2002 10:21:44 -0700 (PDT) Message-Id: <200208151721.g7FHLi3t005441@www.freebsd.org> Date: Thu, 15 Aug 2002 10:21:44 -0700 (PDT) From: Nakata Maho To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/41688: Enhancement for OpenOffice.org: automatic L10N'ed Help installation Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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