summaryrefslogtreecommitdiff
path: root/app-dicts/gwaei
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-dicts/gwaei
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-dicts/gwaei')
-rw-r--r--app-dicts/gwaei/Manifest3
-rw-r--r--app-dicts/gwaei/files/gwaei-3.0.2-no-ncurses.patch20
-rw-r--r--app-dicts/gwaei/gwaei-3.0.2.ebuild77
-rw-r--r--app-dicts/gwaei/gwaei-3.2.0.ebuild69
-rw-r--r--app-dicts/gwaei/gwaei-3.6.2.ebuild74
-rw-r--r--app-dicts/gwaei/metadata.xml30
6 files changed, 273 insertions, 0 deletions
diff --git a/app-dicts/gwaei/Manifest b/app-dicts/gwaei/Manifest
new file mode 100644
index 00000000000..54e203af2f2
--- /dev/null
+++ b/app-dicts/gwaei/Manifest
@@ -0,0 +1,3 @@
+DIST gwaei-3.0.2.tar.gz 821533 SHA256 1b27df77b38ea30680b9a93de64a93bf71631fd780b9277709854f797115c1dd SHA512 241460d59d0d47d9638d4b90f904a77efc922331f4a0c2bb7aec712841aa8766b8ee3bb0ac9d536db2611aec4dfb8287166a0b19f92afea645c34e6d797a489e WHIRLPOOL 5421a8f69210b3db67c8493dac1cb43e14952d7680eb64e45439af32d69f3b189c4815cebe6ced6de394f43092090d8610958b6ad4ca8339e70ba7e1dd001f1c
+DIST gwaei-3.2.0.tar.gz 841824 SHA256 7267f2fba1ee76e6ef6bfd76206c15ac0f9cb6169d70a610a14529f9bb10aded SHA512 7ac34d371910abe724c873d1279fdce42747c31ad53111176c42e878e688111554423357c84abab3ff4d0e316d0b8757a7440a0980e89efb81c173eab79164a0 WHIRLPOOL 1d203691c54b4e1fc775de3fa765e70495b29598713beee64a2057c1f1b0c8be3b20b2ecd0e21906917b8dd4bb01b8930801d8bbd554e9b59c6a5c2159df4930
+DIST gwaei-3.6.2.tar.xz 547592 SHA256 9904e1755505f9a40cd7368e96e1eeb035c6c2f7ce14029cccb765f5b85986d7 SHA512 96876f7e15ff5e166dcd116e2286294b7b375e55723684e4e3dec31aba46d1c89ccd70007fc01cab97a5fd5e671ec073c3f69525ff7e68126851e587d4f20c3b WHIRLPOOL 9bec5d65af285291a7d916b3e5b75b6c36e438486b942ded402f59e9b59244578157917a5066828fd8e97f20372a02509dedd77d414f7744855fc63feabf8031
diff --git a/app-dicts/gwaei/files/gwaei-3.0.2-no-ncurses.patch b/app-dicts/gwaei/files/gwaei-3.0.2-no-ncurses.patch
new file mode 100644
index 00000000000..b614c218d30
--- /dev/null
+++ b/app-dicts/gwaei/files/gwaei-3.0.2-no-ncurses.patch
@@ -0,0 +1,20 @@
+Index: gwaei-3.0.2/src/waei/waei.c
+===================================================================
+--- gwaei-3.0.2.orig/src/waei/waei.c
++++ gwaei-3.0.2/src/waei/waei.c
+@@ -195,6 +195,7 @@ int w_start_console (int argc, char* arg
+ }
+
+
++#ifdef WITH_NCURSES
+ //!
+ //! @brief Equivalent to the main function for many programs. This is what starts the program
+ //! @param argc Your argc from your main function
+@@ -219,6 +220,7 @@ int w_start_ncurses (int argc, char* arg
+
+ return TRUE;
+ }
++#endif
+
+
+ int main (int argc, char *argv[])
diff --git a/app-dicts/gwaei/gwaei-3.0.2.ebuild b/app-dicts/gwaei/gwaei-3.0.2.ebuild
new file mode 100644
index 00000000000..448be185571
--- /dev/null
+++ b/app-dicts/gwaei/gwaei-3.0.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit gnome2-utils eutils
+
+DESCRIPTION="Japanese-English Dictionary for GNOME"
+HOMEPAGE="http://gwaei.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk nls unique test ncurses"
+
+RDEPEND=">=net-misc/curl-7.21.0
+ >=dev-libs/glib-2.25.0:2
+ gtk? (
+ x11-libs/gtk+:3
+ >=app-text/gnome-doc-utils-0.13.0
+ unique? ( dev-libs/libunique:3 )
+ )
+ ncurses? ( sys-libs/ncurses[unicode] )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ test? ( app-text/docbook-xml-dtd:4.1.2 )
+ gtk? (
+ >=app-text/gnome-doc-utils-0.13.0
+ app-text/scrollkeeper
+ )
+ nls? ( >=sys-devel/gettext-0.17 )
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+REQUIRED_USE="unique? ( gtk )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-ncurses.patch
+}
+
+src_configure() {
+ econf \
+ $(use_with gtk gnome) \
+ $(use_with ncurses) \
+ $(use_with unique libunique) \
+ $(use_enable nls) \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS README
+}
+
+pkg_preinst() {
+ if use gtk ; then
+ gnome2_schemas_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
diff --git a/app-dicts/gwaei/gwaei-3.2.0.ebuild b/app-dicts/gwaei/gwaei-3.2.0.ebuild
new file mode 100644
index 00000000000..82192647a90
--- /dev/null
+++ b/app-dicts/gwaei/gwaei-3.2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit gnome2-utils eutils
+
+DESCRIPTION="Japanese-English Dictionary for GNOME"
+HOMEPAGE="http://gwaei.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk nls test"
+
+RDEPEND=">=net-misc/curl-7.21.0
+ >=dev-libs/glib-2.25.0:2
+ gtk? (
+ x11-libs/gtk+:3
+ >=app-text/gnome-doc-utils-0.13.0
+ )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ test? (
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/scrollkeeper-dtd
+ )
+ gtk? (
+ >=app-text/gnome-doc-utils-0.13.0
+ )
+ nls? ( >=sys-devel/gettext-0.17 )
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_with gtk gnome) \
+ $(use_enable nls) \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS README
+}
+
+pkg_preinst() {
+ if use gtk ; then
+ gnome2_schemas_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
diff --git a/app-dicts/gwaei/gwaei-3.6.2.ebuild b/app-dicts/gwaei/gwaei-3.6.2.ebuild
new file mode 100644
index 00000000000..1a6b8ceae78
--- /dev/null
+++ b/app-dicts/gwaei/gwaei-3.6.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit gnome2-utils eutils
+
+DESCRIPTION="Japanese-English Dictionary for GNOME"
+HOMEPAGE="http://gwaei.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gwaei/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk hunspell nls test mecab"
+
+RDEPEND=">=net-misc/curl-7.20.0
+ >=dev-libs/glib-2.31
+ gtk? (
+ x11-libs/gtk+:3
+ >=app-text/gnome-doc-utils-0.14.0
+ )
+ hunspell? ( app-text/hunspell )
+ nls? ( virtual/libintl )
+ mecab? ( app-text/mecab )"
+DEPEND="${RDEPEND}
+ test? (
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/scrollkeeper-dtd
+ )
+ gtk? (
+ x11-themes/gnome-icon-theme-symbolic
+ >=app-text/gnome-doc-utils-0.14.0
+ )
+ nls? ( >=sys-devel/gettext-0.17 )
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_with gtk gnome) \
+ $(use_enable nls) \
+ $(use_with hunspell) \
+ $(use_with mecab) \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS README
+}
+
+pkg_preinst() {
+ if use gtk ; then
+ gnome2_schemas_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
diff --git a/app-dicts/gwaei/metadata.xml b/app-dicts/gwaei/metadata.xml
new file mode 100644
index 00000000000..d47c7bdfffa
--- /dev/null
+++ b/app-dicts/gwaei/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cjk</herd>
+ <longdescription lang="en">
+ gWaei is a drop-in replacement for Gjiten. The main feature of
+ this dictonary program is regular expression support. For example,
+ you can use periods in place of unknown Kanji of a word to search
+ for it.
+ </longdescription>
+ <use>
+ <flag name="unique">
+ Enable single instance support using
+ <pkg>dev-libs/libunique</pkg>.
+ </flag>
+ </use>
+ <use>
+ <flag name="mecab">
+ Enable <pkg>app-text/mecab</pkg> support
+ </flag>
+ </use>
+ <use>
+ <flag name="hunspell">
+ Enable <pkg>app-text/hunspell</pkg> spellchecking and morphological analysis
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gwaei</remote-id>
+ </upstream>
+</pkgmetadata>