Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2010 13:12:51 GMT
From:      "Alexei P." <alexei.p@xiphos.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142240: New port: japanese/gjiten Japanese dictionary program for GNOME
Message-ID:  <201001021312.o02DCpPe069510@www.freebsd.org>
Resent-Message-ID: <201001021320.o02DK1RO094293@freefall.freebsd.org>

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

>Number:         142240
>Category:       ports
>Synopsis:       New port: japanese/gjiten Japanese dictionary program for GNOME
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 02 13:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexei P.
>Release:        8.0
>Organization:
>Environment:
FreeBSD 8.0-RELEASE-p1 i386
>Description:
Gjiten is a Japanese dictionary program for GNOME. Gjiten has a kanji
dictionary. Any combination of stroke count, radicals and search key can
be used for kanji lookups.

WWW: http://gjiten.sourceforge.net/

PS: This is my first port so please let me know if there were made any mistakes during the submission.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gjiten
#	gjiten/pkg-plist
#	gjiten/pkg-descr
#	gjiten/files
#	gjiten/files/patch-src-constants.h
#	gjiten/files/patch-data-gjiten-dicfiles.schemas.in
#	gjiten/distinfo
#	gjiten/Makefile
#	gjiten/pkg-message
#
echo c - gjiten
mkdir -p gjiten > /dev/null 2>&1
echo x - gjiten/pkg-plist
sed 's/^X//' >gjiten/pkg-plist << 'aa6b76a4913a46d6d4bfd2a5889d0189'
Xbin/gjiten
Xetc/gconf/schemas/gjiten.schemas
Xetc/gconf/schemas/gjiten-dicfiles.schemas
Xshare/gjiten/gjiten-settings.glade
Xshare/gjiten/radkfile.utf8
Xshare/gjiten/vconj.utf8
Xshare/gnome/help/gjiten/C/legal.xml
Xshare/gnome/help/gjiten/C/gjiten.xml
Xshare/omf/gjiten/gjiten-C.omf
Xshare/doc/gjiten/gjiten-doc.ja.html
Xshare/locale/de/LC_MESSAGES/gjiten.mo
Xshare/locale/de_CH/LC_MESSAGES/gjiten.mo
Xshare/locale/ja/LC_MESSAGES/gjiten.mo
Xshare/application-registry/gjiten.desktop
Xshare/applications/gjiten.desktop
Xshare/pixmaps/kanjidic.png
Xshare/pixmaps/kanjipad.png
Xshare/pixmaps/jiten.png
Xshare/pixmaps/left_ptr_question.png
Xshare/pixmaps/gjiten/gjiten-logo.png
X@dirrm share/gjiten
X@dirrm share/gnome/help/gjiten/C
X@dirrm share/gnome/help/gjiten
X@dirrm share/omf/gjiten
X@dirrm share/doc/gjiten
X@dirrm share/pixmaps/gjiten
X@dirrmtry etc/gconf/schemas
X@dirrmtry etc/gconf
X@dirrmtry share/gnome/help
X@dirrmtry share/gnome
X@dirrmtry share/omf
X@dirrmtry share/application-registry
aa6b76a4913a46d6d4bfd2a5889d0189
echo x - gjiten/pkg-descr
sed 's/^X//' >gjiten/pkg-descr << 'ab7b9bcb3dd33b984adeab2017b634eb'
XGjiten is a Japanese dictionary program for GNOME. Gjiten has a kanji
Xdictionary. Any combination of stroke count, radicals and search key can
Xbe used for kanji lookups.
X
XWWW: http://gjiten.sourceforge.net/
ab7b9bcb3dd33b984adeab2017b634eb
echo c - gjiten/files
mkdir -p gjiten/files > /dev/null 2>&1
echo x - gjiten/files/patch-src-constants.h
sed 's/^X//' >gjiten/files/patch-src-constants.h << '706cd2a6c72ce0e9d2636afc4d5759f0'
X--- ./src/constants.h.orig	2010-01-02 11:53:10.698038995 +0000
X+++ ./src/constants.h	2010-01-02 11:59:23.652398278 +0000
X@@ -8,7 +8,7 @@
X 
X #define VINFL_FILENAME GJITEN_DATADIR"/vconj.utf8"
X #define RADKFILE_NAME GJITEN_DATADIR"/radkfile.utf8"
X-#define GJITEN_DICDIR GJITEN_DATADIR"/dics"
X+#define GJITEN_DICDIR GNOMEDATADIR"/dict/edict-utf-8"
X 
X #define GCONF_ROOT "/apps/gjiten"
X #define GCONF_PATH_GENERAL GCONF_ROOT"/general"
706cd2a6c72ce0e9d2636afc4d5759f0
echo x - gjiten/files/patch-data-gjiten-dicfiles.schemas.in
sed 's/^X//' >gjiten/files/patch-data-gjiten-dicfiles.schemas.in << 'f05489b5531f5367c6d7030da305e6c5'
X--- data/gjiten-dicfiles.schemas.in.orig	2010-01-02 11:35:27.746258532 +0000
X+++ data/gjiten-dicfiles.schemas.in	2010-01-02 11:36:26.919522732 +0000
X@@ -29,7 +29,7 @@
X       <applyto>/apps/gjiten/kanjidic/kanjidicfile</applyto>
X       <owner>gjiten</owner>
X       <type>string</type>
X-      <default>/usr/share/gjiten/dics/kanjidic</default>
X+      <default>/usr/local/share/dict/edict-utf-8/kanjidic</default>
X       <locale name="C">
X        <short>Kanjidic dictionary file</short>
X        <long>Kanjidic dictionary file</long>
f05489b5531f5367c6d7030da305e6c5
echo x - gjiten/distinfo
sed 's/^X//' >gjiten/distinfo << '471b8a372f2c566ae4996f87af59204e'
XMD5 (gjiten-2.6.tar.gz) = 44a5d9640e37d8b0547f9c7e3d7ac67a
XSHA256 (gjiten-2.6.tar.gz) = f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd
XSIZE (gjiten-2.6.tar.gz) = 564845
471b8a372f2c566ae4996f87af59204e
echo x - gjiten/Makefile
sed 's/^X//' >gjiten/Makefile << '4d0f395ad9154e4ad764910a2e5358c9'
X# New ports collection makefile for:	gjiten
X# Date created:				2010-01-02
X# Whom:					Alexei P. <alexei.p@xiphos.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gjiten
XPORTVERSION=	2.6
XCATEGORIES=	japanese
XMASTER_SITES=	http://gjiten.sourceforge.net/
X
XMAINTAINER=	alexei.p@xiphos.de
XCOMMENT=	Japanese dictionary program for GNOME
X
XOPTIONS=	EDICT	"Install japanese/edict-utf-8 dictionary files" on
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
XUSE_GNOME=	libgnome libgnomeui libglade2 gconf2
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
XMAN1=		gjiten.1
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_EDICT)
XRUN_DEPENDS+=	${LOCALBASE}/share/dict/edict-utf-8/edict:${PORTSDIR}/japanese/edict-utf-8
X.endif
X
Xpost-install:
X	@${ECHO_CMD}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_CMD}
X
X.include <bsd.port.mk>
4d0f395ad9154e4ad764910a2e5358c9
echo x - gjiten/pkg-message
sed 's/^X//' >gjiten/pkg-message << 'da442b230aa1b34bda3dbdd27304e657'
XYou have to manually setup the dictionaries and select kanji info:
XPreferences -> WordDic; Preferences -> KanjiDic -> Kanji Info
X
Xedict       - English dictionary
Xedicth      - JIS X 0212-1990
Xjddict.v02  - German dictionary
Xcompverb    - Compound Verbs
Xediclsd3    - Life and Science
Xconcrete    - Concrete
Xcompdic     - Computing
X4jwords     - 4-Kanji Expressions
Xenamdict    - Japanese Names
Xj_places    - Japanese Places
Xgeodic      - Geology
Xaviation    - Aviation
Xlingdic     - Linguistics
Xlawgledt    - Legal
Xmktdic      - Marketing
Xfindic      - Financial
Xpandpdic    - Publishing & Printing
da442b230aa1b34bda3dbdd27304e657
exit



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



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