Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313721 Details for
Bug 407581
>=app-i18n/ibus-mozc-1.5 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ibus-mozc-1.5.1090.102.ebuild
ibus-mozc-1.5.1090.102.ebuild (text/plain), 5.04 KB, created by
Jack Chen
on 2012-05-31 14:36:15 UTC
(
hide
)
Description:
ibus-mozc-1.5.1090.102.ebuild
Filename:
MIME Type:
Creator:
Jack Chen
Created:
2012-05-31 14:36:15 UTC
Size:
5.04 KB
patch
obsolete
># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.3.975.102.ebuild,v 1.5 2012/05/03 19:24:28 jdhore Exp $ > >EAPI="3" >PYTHON_DEPEND="2" >inherit elisp-common eutils multilib python toolchain-funcs > >DESCRIPTION="The Mozc engine for IBus Framework" >HOMEPAGE="http://code.google.com/p/mozc/" > >MY_P="${P/ibus-}" >PROTOBUF_VER="2.4.1" >MOZC_URL="http://mozc.googlecode.com/files/${MY_P}.tar.bz2" >PROTOBUF_URL="http://protobuf.googlecode.com/files/protobuf-${PROTOBUF_VER}.tar.bz2" >SRC_URI="${MOZC_URL} ${PROTOBUF_URL}" > >LICENSE="Apache-2.0 BSD Boost-1.0 ipadic public-domain unicode" >SLOT="0" >KEYWORDS="~amd64 ~x86" >#IUSE="emacs +ibus scim skk +qt4" >IUSE="emacs +ibus scim +qt4 renderer" > >RDEPEND="dev-libs/glib:2 > dev-libs/openssl > emacs? ( virtual/emacs ) > scim? ( app-i18n/scim ) > ibus? ( >=app-i18n/ibus-1.4 ) > renderer? ( x11-libs/gtk+:2 ) > qt4? ( > x11-libs/qt-gui:4 > app-i18n/zinnia > )" ># chewing? ( dev-libs/libchewing ) >DEPEND="${RDEPEND} > virtual/pkgconfig" > >S="${WORKDIR}/${MY_P}" > >BUILDTYPE="${BUILDTYPE:-Release}" > >RESTRICT="test" > >SITEFILE=50${PN}-gentoo.el > >pkg_setup() { > python_set_active_version 2 >} > >src_unpack() { > unpack $(basename ${MOZC_URL}) > > cd ${S}/protobuf > unpack $(basename ${PROTOBUF_URL}) > mv protobuf-${PROTOBUF_VER} files >} > >#src_prepare() { ># sed -i -e "s:/usr/lib/mozc:${EPREFIX}/usr/$(get_libdir)/mozc:" base/util.cc || die ># epatch \ ># "${FILESDIR}"/${PN}-1.5.1053.102-gentoo.patch >#} > >src_configure() { > local myconf="--channel_dev=0" > myconf="${myconf} --server_dir=/usr/$(get_libdir)/mozc" > #use chewing && myconf="${myconf} --chewing" > > if ! use qt4 ; then > myconf="${myconf} --noqt" > export GYP_DEFINES="use_libzinnia=0" > fi > > if ! use renderer ; then > export GYP_DEFINES="${GYP_DEFINES} enable_gtk_renderer=0" > fi > > "$(PYTHON)" build_mozc.py gyp ${myconf} || die "gyp failed" >} > >src_compile() { > tc-export CC CXX AR AS RANLIB LD > > local myjobs=`expr match "${MAKEOPTS}" '.*\(-j[0-9]*\)'` > test -z "${myjobs}" && myjobs="-j1" > > local mytarget="server/server.gyp:mozc_server" > use emacs && mytarget="${mytarget} unix/emacs/emacs.gyp:mozc_emacs_helper" > use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc" > use scim && mytarget="${mytarget} unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup" > use renderer && mytarget="${mytarget} renderer/renderer.gyp:mozc_renderer" > #use skk && mytarget="${mytarget} chrome/skk/skk.gyp:skk" > if use qt4 ; then > export QTDIR="${EPREFIX}/usr" > mytarget="${mytarget} gui/gui.gyp:mozc_tool" > fi > > "$(PYTHON)" build_mozc.py build_tools -c "${BUILDTYPE}" ${myjobs} || die > "$(PYTHON)" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} ${myjobs} || die > > if use emacs ; then > elisp-compile unix/emacs/*.el || die > fi >} > >#src_test() { ># "$(PYTHON)" build_mozc.py runtests -c "${BUILDTYPE}" || die >#} > >src_install() { > if use emacs ; then > dobin "out_linux/${BUILDTYPE}/mozc_emacs_helper" || die > elisp-install ${PN} unix/emacs/*.{el,elc} || die > elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${PN} || die > fi > > if use ibus ; then > exeinto /usr/libexec || die > newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die > insinto /usr/share/ibus/component || die > doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die > insinto /usr/share/ibus-mozc || die > ( > cd data/images/unix > newins ime_product_icon_opensource-32.png product_icon.png || die > for f in ui-* > do > newins ${f} ${f/ui-} || die > done > ) > > fi > > if use scim ; then > exeinto "$(pkg-config --variable=moduledir scim)/IMEngine/" || die > newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc.so" mozc.so || die > exeinto "$(pkg-config --variable=moduledir scim)/SetupUI/" || die > newexe "out_linux/${BUILDTYPE}/lib.target/libscim_mozc_setup.so" mozc-setup.so || die > insinto "$(pkg-config --variable=icondir scim)" || die > ( > cd data/images/unix > newins ime_product_icon_opensource-32.png scim-mozc.png || die > for f in ui-* > do > newins ${f} ${f/ui-/scim-mozc-} || die > done > ) > fi > > exeinto "/usr/$(get_libdir)/mozc" || die > doexe "out_linux/${BUILDTYPE}/mozc_server" || die > > if use qt4 ; then > exeinto "/usr/$(get_libdir)/mozc" || die > doexe "out_linux/${BUILDTYPE}/mozc_tool" || die > fi > > if use renderer ; then > exeinto "/usr/$(get_libdir)/mozc" || die > doexe "out_linux/${BUILDTYPE}/mozc_renderer" || die > fi >} > >pkg_postinst() { > if use emacs ; then > elisp-site-regen > elog "You can use mozc-mode via LEIM (Library of Emacs Input Method)." > elog "Write the following settings into your init file (~/.emacs.d/init.el" > elog "or ~/.emacs) in order to use mozc-mode by default, or you can call" > elog "\`set-input-method' and set \"japanese-mozc\" anytime you have loaded" > elog "mozc.el" > elog > elog " (require 'mozc)" > elog " (set-language-environment \"Japanese\")" > elog " (setq default-input-method \"japanese-mozc\")" > elog > elog "Having the above settings, just type C-\\ which is bound to" > elog "\`toggle-input-method' by default." > fi >} > >pkg_postrm() { > use emacs && elisp-site-regen >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 407581
: 313721