diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-dicts/gjiten | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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/gjiten')
-rw-r--r-- | app-dicts/gjiten/Manifest | 1 | ||||
-rw-r--r-- | app-dicts/gjiten/files/gjiten-2.6-desktop.patch | 13 | ||||
-rw-r--r-- | app-dicts/gjiten/files/gjiten-2.6-drop-gnome.patch | 20 | ||||
-rw-r--r-- | app-dicts/gjiten/files/gjiten-2.6-pref.patch | 13 | ||||
-rw-r--r-- | app-dicts/gjiten/gjiten-2.6-r3.ebuild | 69 | ||||
-rw-r--r-- | app-dicts/gjiten/metadata.xml | 10 |
6 files changed, 126 insertions, 0 deletions
diff --git a/app-dicts/gjiten/Manifest b/app-dicts/gjiten/Manifest new file mode 100644 index 000000000000..19a4797eda49 --- /dev/null +++ b/app-dicts/gjiten/Manifest @@ -0,0 +1 @@ +DIST gjiten-2.6.tar.gz 564845 SHA256 f6c0cc69e1e59ed8c3a946a1ee3e4a5e2e1deb16890bfc5f67c055adb10a71dd SHA512 ef56ad2fdcbe9c1b2df59dbb0cb4036ab2cf90e0fa290275b5dbfb0cfe66521231da48dc710a2837bd1d4402cf2bfb219b952a85e0a482062eade316c04e0bfa WHIRLPOOL 857a38294bc8860f9e8be2dd856ed111385a911c872d39f9c64e6c3cf953dd6662c043ef4679e5f956e6ddaed16f4fd3d02d0d5fd45ac1d318ef68a802aee9eb diff --git a/app-dicts/gjiten/files/gjiten-2.6-desktop.patch b/app-dicts/gjiten/files/gjiten-2.6-desktop.patch new file mode 100644 index 000000000000..731d41be9109 --- /dev/null +++ b/app-dicts/gjiten/files/gjiten-2.6-desktop.patch @@ -0,0 +1,13 @@ +--- gnome/gjiten.desktop.in.old 2014-07-08 13:04:35.418149539 +0200 ++++ gnome/gjiten.desktop.in 2014-07-08 13:04:55.390544064 +0200 +@@ -3,8 +3,8 @@ + _Name=Gjiten + _Comment=Japanese dictionary + Exec=gjiten +-Icon=jiten.png ++Icon=jiten + StartupNotify=true + Terminal=false + Type=Application +-Categories=GNOME;Application;Utility; ++Categories=GNOME;Utility; diff --git a/app-dicts/gjiten/files/gjiten-2.6-drop-gnome.patch b/app-dicts/gjiten/files/gjiten-2.6-drop-gnome.patch new file mode 100644 index 000000000000..7f0c0ed3fb21 --- /dev/null +++ b/app-dicts/gjiten/files/gjiten-2.6-drop-gnome.patch @@ -0,0 +1,20 @@ +diff --git a/configure.in b/configure.in +index aec96d4..733eee6 100644 +--- a/configure.in ++++ b/configure.in +@@ -18,7 +18,6 @@ AC_PROG_MAKE_SET + AC_PROG_INTLTOOL([0.22]) + AC_PATH_PROG([GCONFTOOL], [gconftool-2]) + +-GNOME_COMMON_INIT + dnl GNOME_PLATFORM_GNOME_2(yes, force) + PKG_CHECK_MODULES(GJITEN, libgnome-2.0 >= 2.2.0 libgnomeui-2.0 >= 2.2.0 libglade-2.0 gconf-2.0) + AM_GCONF_SOURCE_2 +@@ -36,7 +35,6 @@ AC_FUNC_MMAP + AC_FUNC_STAT + AC_CHECK_FUNCS([getcwd putenv setlocale strerror strrchr strstr munmap]) + +-GNOME_COMPILE_WARNINGS(maximum) + + # Gettext stuff + GETTEXT_PACKAGE=gjiten diff --git a/app-dicts/gjiten/files/gjiten-2.6-pref.patch b/app-dicts/gjiten/files/gjiten-2.6-pref.patch new file mode 100644 index 000000000000..f06d833e87c3 --- /dev/null +++ b/app-dicts/gjiten/files/gjiten-2.6-pref.patch @@ -0,0 +1,13 @@ +diff --git a/src/pref.c b/src/pref.c +index 9c5e07d..6c0e13d 100644 +--- a/src/pref.c ++++ b/src/pref.c +@@ -271,7 +271,7 @@ static void up_dict(GtkWidget *button) { + gtk_list_store_swap(GTK_LIST_STORE(model), &iter, &tmpiter); + } + } +- g_free(treepath); ++ gtk_tree_path_free(treepath); + } + + diff --git a/app-dicts/gjiten/gjiten-2.6-r3.ebuild b/app-dicts/gjiten/gjiten-2.6-r3.ebuild new file mode 100644 index 000000000000..677924067820 --- /dev/null +++ b/app-dicts/gjiten/gjiten-2.6-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit autotools eutils gnome2 readme.gentoo + +DESCRIPTION="A Japanese dictionary program for Gnome" +HOMEPAGE="http://gjiten.sourceforge.net/" +SRC_URI="http://gjiten.sourceforge.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RESTRICT="test" + +RDEPEND=" + >=gnome-base/libgnome-2.2 + >=gnome-base/libgnomeui-2.2 + >=gnome-base/libglade-2 +" +DEPEND="${RDEPEND} + app-text/rarian + dev-util/intltool + app-text/xmlto + app-text/docbook-xml-dtd:4.1.2 + virtual/pkgconfig +" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="Dictionary files are necessary in order for +Gjiten to function. + +Download dictionary files from: +http://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html#dic_fil + +You need kanjidic and edict at a minimum. Dictionary files +must be converted to UTF-8 format - check the Gjiten help +and README files for details. + +A shell script is available from +the Gjiten homepage(${HOMEPAGE}) to +download and convert the dictionary files, but you need +to put the files in /usr/share/gjiten after running the script." + +src_prepare() { + DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" + + epatch "${FILESDIR}"/${P}-pref.patch + epatch "${FILESDIR}"/${P}-drop-gnome.patch + epatch "${FILESDIR}"/${P}-desktop.patch + + AM_OPTS="--foreign" eautoreconf + gnome2_src_prepare +} + +src_install() { + gnome2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} diff --git a/app-dicts/gjiten/metadata.xml b/app-dicts/gjiten/metadata.xml new file mode 100644 index 000000000000..a9b58c781e0b --- /dev/null +++ b/app-dicts/gjiten/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <longdescription> + Gjiten is a Japanese dictionary program for GNOME. Gjiten also has a + kanji dictionary. Any combination of stroke count, radicals and search + key can be used for kanji lookups. + </longdescription> +</pkgmetadata> |