From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Ts6yA-0007qT-Un for ptxdist@pengutronix.de; Mon, 07 Jan 2013 08:18:05 +0100 Received: from mail.er.corscience.de (mail.er.corscience.de [192.168.1.6]) by corscience.de (Postfix) with ESMTP id 6502E51EFA for ; Mon, 7 Jan 2013 08:17:56 +0100 (CET) Received: from [192.168.102.105] (sovereign.2og.er.corscience.de [192.168.102.105]) by mail.er.corscience.de (Postfix) with ESMTPSA id F2216478001 for ; Mon, 7 Jan 2013 08:17:56 +0100 (CET) Message-ID: <50EA76A4.2020102@corscience.de> Date: Mon, 07 Jan 2013 08:17:56 +0100 From: =?ISO-8859-1?Q?Bernhard_Se=DFler?= MIME-Version: 1.0 References: <1355994049-23045-1-git-send-email-bernhard.sessler@corscience.de> <20130103141258.GC23783@pengutronix.de> In-Reply-To: <20130103141258.GC23783@pengutronix.de> Subject: Re: [ptxdist] [PATCH] anthy: Add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, I was on vacation the last few days, but I'll look into it as soon as possible. Thanks for the reply. Regards, Bernhard -------- Original Message -------- Subject: Re: [ptxdist] [PATCH] anthy: Add new package From: Michael Olbrich To: ptxdist@pengutronix.de Date: 03.01.2013 15:12 > On Thu, Dec 20, 2012 at 10:00:49AM +0100, Bernhard Sessler wrote: >> Anthy is a system providing a Japanese input method. >> It converts Hiragana text to Kana Kanji mixed text. >> >> Signed-off-by: Bernhard Sessler >> --- >> ...uild-system-for-cross-compilation-support.patch | 395 +++++++++++++++++++++ >> patches/anthy-9100h/autogen.sh | 1 + >> patches/anthy-9100h/series | 1 + >> rules/anthy.in | 8 + >> rules/anthy.make | 68 ++++ >> 5 files changed, 473 insertions(+) >> create mode 100644 patches/anthy-9100h/0001-Updated-build-system-for-cross-compilation-support.patch > > No, don't rewrite the build system. Create a host-anthy that is built > first. Then, you might get away with just copying the generated files, or > maybe you need to remove some dependencies. > >> create mode 120000 patches/anthy-9100h/autogen.sh >> create mode 100644 patches/anthy-9100h/series >> create mode 100644 rules/anthy.in >> create mode 100644 rules/anthy.make >> >> diff --git a/patches/anthy-9100h/0001-Updated-build-system-for-cross-compilation-support.patch b/patches/anthy-9100h/0001-Updated-build-system-for-cross-compilation-support.patch > [...] >> diff --git a/rules/anthy.in b/rules/anthy.in >> new file mode 100644 >> index 0000000..ed0fcda >> --- /dev/null >> +++ b/rules/anthy.in >> @@ -0,0 +1,8 @@ >> +## SECTION=system_libraries >> + >> +config ANTHY >> + tristate >> + prompt "anthy" >> + help >> + Anthy is a system for Japanese input method. >> + It converts Hiragana text to Kana Kanji mixed text. >> diff --git a/rules/anthy.make b/rules/anthy.make >> new file mode 100644 >> index 0000000..ed3be10 >> --- /dev/null >> +++ b/rules/anthy.make >> @@ -0,0 +1,68 @@ >> +# -*-makefile-*- >> +# >> +# Copyright (C) 2012 by Bernhard Sessler >> +# Corscience GmbH & Co. KG , Germany >> +# >> +# See CREDITS for details about who has contributed to this project. >> +# >> +# For further information about the PTXdist project and license conditions >> +# see the README file. >> +# >> + >> +# >> +# We provide this package >> +# >> +PACKAGES-$(PTXCONF_ANTHY) += anthy >> + >> +# >> +# Paths and names >> +# >> +ANTHY_BASE := anthy >> +ANTHY_VERSION := 9100h >> +ANTHY_MD5 := 1f558ff7ed296787b55bb1c6cf131108 >> +ANTHY := $(ANTHY_BASE)-$(ANTHY_VERSION) >> +ANTHY_SUFFIX := tar.gz >> +ANTHY_URL := http://osdn.dl.sourceforge.jp/$(ANTHY_BASE)/37536/$(ANTHY).$(ANTHY_SUFFIX) >> +ANTHY_SOURCE := $(SRCDIR)/$(ANTHY).$(ANTHY_SUFFIX) >> +ANTHY_DIR := $(BUILDDIR)/$(ANTHY) >> +ANTHY_LICENSE := LGPLv2.1 >> + >> +# ---------------------------------------------------------------------------- >> +# Prepare >> +# ---------------------------------------------------------------------------- >> + >> +ANTHY_AUTOCONF := $(CROSS_AUTOCONF_USR) > remove this and add: > > ANTHY_CONF_TOOL := autoconf > >> + >> +# ---------------------------------------------------------------------------- >> +# Target-Install >> +# ---------------------------------------------------------------------------- >> + >> +$(STATEDIR)/anthy.targetinstall: >> + @$(call targetinfo) >> + >> + @$(call install_init, anthy) >> + @$(call install_fixup, anthy,PRIORITY,optional) >> + @$(call install_fixup, anthy,SECTION,base) >> + @$(call install_fixup, anthy,AUTHOR,"Bernhard Sessler ") >> + @$(call install_fixup, anthy,DESCRIPTION,missing) >> + >> + @$(call install_lib, anthy, 0, 0, 0644, libanthydic) >> + @$(call install_lib, anthy, 0, 0, 0644, libanthyinput) >> + @$(call install_lib, anthy, 0, 0, 0644, libanthy) >> + >> + @$(call install_copy, anthy, 0, 0, 0755, -, /usr/bin/anthy-agent) >> + @$(call install_copy, anthy, 0, 0, 0755, -, /usr/bin/anthy-dic-tool) >> + >> + @$(call install_copy, anthy, 0, 0, 0755, -, \ >> + /usr/bin/anthy-morphological-analyzer) >> + >> + @$(call install_alternative, anthy, 0, 0, 0644, /etc/anthy-conf) >> + >> + @$(call install_tree, anthy, 0, 0, \ >> + $(ANTHY_PKGDIR)/usr/share/anthy, /usr/share/anthy) > > @$(call install_tree, anthy, 0, 0, -, \ > /usr/share/anthy) > > Michael > >> + >> + @$(call install_finish, anthy) >> + >> + @$(call touch) >> + >> +# vim: syntax=make >> -- >> 1.8.0 >> >> >> -- >> ptxdist mailing list >> ptxdist@pengutronix.de >> > -- ptxdist mailing list ptxdist@pengutronix.de