mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 02:54:59 +02:00
pull out japanese input dictionary into a separate package. it's too large to
load anyway.
This commit is contained in:
parent
f00fc2352f
commit
a670379a6e
@ -37,7 +37,7 @@ Lisp programming language with extensions to support text editing.
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/emacs-bin
|
define Package/emacs-bin
|
||||||
$(call Package/emacs/Default)
|
$(call Package/emacs/Default)
|
||||||
DEPENDS:=+libncurses +emacs-data
|
DEPENDS:=+libncurses +emacs-data
|
||||||
TITLE+= (executable)
|
TITLE+= (executable)
|
||||||
endef
|
endef
|
||||||
@ -48,7 +48,7 @@ $(call Package/emacs/Default/description)
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/emacs-data
|
define Package/emacs-data
|
||||||
$(call Package/emacs/Default)
|
$(call Package/emacs/Default)
|
||||||
TITLE+= (compiled lisp)
|
TITLE+= (compiled lisp)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -57,8 +57,21 @@ $(call Package/emacs/Default/description)
|
|||||||
This package contains the compiled Lisp files needed to run Emacs.
|
This package contains the compiled Lisp files needed to run Emacs.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/emacs-ja-dic
|
||||||
|
$(call Package/emacs/Default)
|
||||||
|
TITLE+= (japanese input dictionary)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/emacs-ja-dic/description
|
||||||
|
$(call Package/emacs/Default/description)
|
||||||
|
This package contains the japanese dictionary used to input japanese Kanji
|
||||||
|
via Hiragana->Kanji conversion (\'set-input-method japanese\'). This
|
||||||
|
dictionary is huge, so huga that emacs won\'t be able to load it on systems
|
||||||
|
with 32MB or fewer RAM.
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/emacs-el
|
define Package/emacs-el
|
||||||
$(call Package/emacs/Default)
|
$(call Package/emacs/Default)
|
||||||
TITLE+= (lisp source)
|
TITLE+= (lisp source)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -118,6 +131,7 @@ endef
|
|||||||
|
|
||||||
define Build/Install
|
define Build/Install
|
||||||
$(call Build/Install/Default,install-arch-indep install-arch-dep install-leim "MFLAGS=-o test-distrib")
|
$(call Build/Install/Default,install-arch-indep install-arch-dep install-leim "MFLAGS=-o test-distrib")
|
||||||
|
$(INSTALL_DATA) ./files/site-start.el $(PKG_INSTALL_DIR)/usr/share/emacs/$(PKG_VERSION)/site-lisp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/emacs-bin/install
|
define Package/emacs-bin/install
|
||||||
@ -133,21 +147,32 @@ define Package/emacs-data/install
|
|||||||
--exclude "refcards" \
|
--exclude "refcards" \
|
||||||
--exclude "schema" \
|
--exclude "schema" \
|
||||||
--exclude "NEWS*" \
|
--exclude "NEWS*" \
|
||||||
|
--exclude "ja-dic" \
|
||||||
share) \
|
share) \
|
||||||
| (cd $(1)/usr && tar -xvf -)
|
| (cd $(1)/usr && tar -xvf -)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/emacs-ja-dic/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr
|
||||||
|
(cd $(PKG_INSTALL_DIR)/usr && tar -cf - \
|
||||||
|
--exclude "*.el.gz" share/emacs/$(PKG_VERSION)/leim/ja-dic) \
|
||||||
|
| (cd $(1)/usr && tar -xvf -)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/emacs-el/install
|
define Package/emacs-el/install
|
||||||
$(INSTALL_DIR) $(1)/usr
|
$(INSTALL_DIR) $(1)/usr
|
||||||
(cd $(PKG_INSTALL_DIR)/usr && find share -name "*.el.gz" | tar -cf - -T -) \
|
(cd $(PKG_INSTALL_DIR)/usr && find share -name "*.el.gz" | tar -cf - -T -) \
|
||||||
| (cd $(1)/usr && tar -xvf -)
|
| (cd $(1)/usr && tar -xvf -)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call HostBuild))
|
$(eval $(call HostBuild))
|
||||||
$(eval $(call BuildPackage,emacs-bin))
|
$(eval $(call BuildPackage,emacs-bin))
|
||||||
$(eval $(call BuildPackage,emacs-data))
|
$(eval $(call BuildPackage,emacs-data))
|
||||||
|
$(eval $(call BuildPackage,emacs-ja-dic))
|
||||||
$(eval $(call BuildPackage,emacs-el))
|
$(eval $(call BuildPackage,emacs-el))
|
||||||
|
|
||||||
|
|
||||||
# The following comments configure the Emacs editor. Just ignore them.
|
# The following comments configure the Emacs editor. Just ignore them.
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/emacs/compile -j2 V=99"
|
# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/emacs/compile -j2 V=99"
|
||||||
|
Loading…
Reference in New Issue
Block a user