summaryrefslogtreecommitdiff
path: root/app-misc/gtypist
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/gtypist
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/gtypist')
-rw-r--r--app-misc/gtypist/Manifest14
-rw-r--r--app-misc/gtypist/files/50gtypist-gentoo.el6
-rw-r--r--app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch18
-rw-r--r--app-misc/gtypist/gtypist-2.8.5-r1.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.1.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.2.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.5.ebuild69
-rw-r--r--app-misc/gtypist/metadata.xml12
8 files changed, 320 insertions, 0 deletions
diff --git a/app-misc/gtypist/Manifest b/app-misc/gtypist/Manifest
new file mode 100644
index 000000000000..77f3f9cda01f
--- /dev/null
+++ b/app-misc/gtypist/Manifest
@@ -0,0 +1,14 @@
+AUX 50gtypist-gentoo.el 182 SHA256 3274e8829cc488918e9f2676ad00e4aa12f06ca6147f128c54c105245b971b11 SHA512 1dd01580d11482f47899b0e3623c61d318d0bc4630851e5a4ee61ea008159db3372a144d68045394332c9a7ae3877e558502cf24c927a3d19a4e60aa046d12a5 WHIRLPOOL 92205c0f5423928b8f0f0af725352998352dd6650bdecd88651b5b74470d1bacfe58c684f83ba71757ae0b0850915d8ab208cbdece6feeb7b977db363c1cab83
+AUX gtypist-2.8.3-xemacs-compat.patch 592 SHA256 d84203768ba48675969286c9e448023ccd34f04bdf16a004487903b127536c82 SHA512 6e85193a1354bc318f78382aaa24dea473d704ec347f8ae854b4a83985f2d4b1b8f64e59e3526b05bdd1e264de8fb8d4d6865bb296cf55f3896a56bfdc0930fb WHIRLPOOL 3fd304aeeed6d5919d67d44a3bb8be09bd413e55434e953686f352faa12490130ebff076fe084082cb4519bc9ade84d88b1c9502635f129a58ecdbea13b06c9f
+DIST colemak.typ 8922 SHA256 2bbe1e7b25f85f1dd7eaa469c7996b033e23537c7c475df99da19bd6429a055e SHA512 f2c2816836c83d7b640f7f703a4924c62ff0746e0d4cf2a2ca36d434017770272518b835ea273815c93ab9df1c0e4d142f5fea1e5f0b1484ecdc652a53bdc499 WHIRLPOOL 9cead498b590c46cc5130084f903ab8aaf0efd77c9c36c3ccc3224c0e12a506e177ce581cefcd0e55f140b67c6fe6f19b797e1e1d0b7cbf20c7566fce5921fc7
+DIST gtypist-2.8.5.tar.gz 1148279 SHA256 a58b7551a8ca0dd841d230d519c265e8e448c13f517688e029c8ded011cc9d17 SHA512 2671ac0bd5e8681b090911c0d19a439aef2588bbeaa980aed50252a0e8727f4aae0044d1e4d0f7cbbd946881f4a7fa60fda444a668f3c004e64cf4ed6a33eb7e WHIRLPOOL 1285470f4d33bc2c5a9c61996db0346fe2700e4e85f8963529393ac549a2468ecdebddf0138ed5b4ca6e89e6dc71d869c21ee06d65baedaa2c4bf0e537ece0c8
+DIST gtypist-2.9.1.tar.xz 954920 SHA256 baf8445777fbbb46217863c42d06376f04207b98ffef73885e3d0618550262fb SHA512 dd5d96882c1fa9c786e30d21ab3424be25caecf2850a00edee531ba58aba026efedb12ca8edf34a52033bd0ba28b25ae6a62590e938d7f86124097e7e166e8d9 WHIRLPOOL baae17c47a8d7a5f962fcd9fb5efa64f7346872f4ca439bd34a4fd19d84bdfc7d30cfffcf95de1bafc3fc23f7d468cd3eedd23d86e44f5ac99717e3ea6aab5ae
+DIST gtypist-2.9.2.tar.xz 956252 SHA256 5f27042b080c911c4ea2b252ac893401b0129ae5b98b31edb8e9845656b6135d SHA512 6191735c383aeedf3017f9bcd1897d35b2f40ea9de74e94d5c544708e4eca86585ce11984ace75945ac5b61e0f5b73c0f2461c55a6dd3b5d2833b4ceeee90c3f WHIRLPOOL 0123421bd0939220ee1eab02f246cca1b4785029afd2da9705e8f271da85250b4e344b5be59731abc7a548790bd87a176fdf3f6004f1f7fd813a99a004567bc1
+DIST gtypist-2.9.5.tar.xz 929356 SHA256 c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977 SHA512 d6891cd58d23f9b023aec97dc825cb15f7371ab18e82133b9a284d3329b1526bda8e1c5d7225f335c5ec673280cbbe3ad92471eeb15db4ecf29e7feffe27e095 WHIRLPOOL 46d53852986cdefe52f24bf91fa12b37e4d48a7d73c9b94fc7cd15a8bb60b89bcd626f6016089cd84cd524d96dfa7ac68adce40548ab0965b9ec9ec96169232f
+EBUILD gtypist-2.8.5-r1.ebuild 1438 SHA256 5be6ae98a2a170b34c6ff4580f6cb858ed9747874fa75c0b479c2304a2961174 SHA512 a952262b0104d6ee2d3ad68c460430fdc585b1af7aadcb55e9c0f3699841860e4188aa7064c42328a6c5a1263a8ea00463e953399d663594631951396643e0a3 WHIRLPOOL 13c0e1ed15ed1998d88d65b7449acbf68e5c351abb015c250e86ce91ae9c8c31c43caeec1ddbdb61c767329d4fee21f068ae5517b3c49ff1e55b6ede25474afb
+EBUILD gtypist-2.9.1.ebuild 1441 SHA256 efbaaf2650f229422b15426ffa873aede4225f4ea6fc20eeca012a9cb60e263f SHA512 7d64f0ac772695b2c60bd12b4ad2437d4c6b28efd9354492eb90df283ddfc9f1ba8a5ae4328d6743ad853d05656e52f5f59b115737d24deb8d59434f9f5e1b8b WHIRLPOOL 2f9cf7037190c08d0ebd7b3fffd842fb325bda0b75b5d75a8869aa972132524e572ea2c8f7ffe64825d0b3e350b16b053b72d516d95073e2f8193fa12f27fa89
+EBUILD gtypist-2.9.2.ebuild 1441 SHA256 decaaff0808bf824981abd28de470953faba582a6c9a24db05fe9edeed642087 SHA512 ddf157f6d5cfcd76daa51b949ee1f7142191a86a55186f4f9b8ff432bfe3f5bed3cead2694a649a7875c3600db15a67728eb9d76d1d429a75101fff8ef0e2175 WHIRLPOOL 17b30c096d6d53b91fc5893b2d8ab2806490192e49b74ee4f249ecf480afbaebb50acb19b1c7f008b6c8d58549813095401419b0daa7621e1801f077a1ef5bd4
+EBUILD gtypist-2.9.5.ebuild 1425 SHA256 dc5c8134fc2e5ba458e3630a3ab47740e5162d37dbfc9f1bb368dc861bd5669d SHA512 6a38b76087e92c1b1fdb9d7010ce3838b166755f3dd390fa7c1eb78a56137af4750dc44e5d238ba87a01659570c23aa1f708fe0dd241dd1ca96464cd2280ed0c WHIRLPOOL 64c7b78543dec3c31b117c788e98ecbf9ccb0c1dd5abc0ed1882f4bab5a91bed919f8fa8283718453a49e86057ab008cbedba54f9feb0a6b59d3ed5869e62631
+MISC ChangeLog 2888 SHA256 b9b943fe82f2c3ae7786e8054a087da08d467a140d0a74cbd01161c7ca8f8f0e SHA512 0772538e98ad5a5527cf35335ca2e0cb470e90e0e03f3e47fd7bab5ca54752b3f9f1bae80d4aae8b15edad18e381a855527b654cc7e79ae44f2731c9935884a3 WHIRLPOOL ab7ba83087e88a926daf8ae12465f4823107d478b21c8d313000b2f45ee68e3a0720373e78a735823eb67fd23ecba23d9767167cc5eb4451816aed11cddb1845
+MISC ChangeLog-2015 4975 SHA256 9085cda2b8b2a39abbf4e976695f35e94c30a5385324bc82b2683d86460e9511 SHA512 5bb6d3271da09459e5cd3652d93ae8a1a480f2bd38a76f6481ce37d23b06e9f308540feec79fd76026587b5150fbe9c83033878319815fe277984099596be191 WHIRLPOOL 8ebaae4be92a9ff154613a106f93f855bedce5c0a9d1e62462520c74a06619c421dcd4a84e300d78e0ad8a518916cb97a97b30106bcfa2310acd3b9517aac118
+MISC metadata.xml 362 SHA256 93ff0c3bf6e1acd158d1571e1a16594ee9081790a80fb93e38a67499b0841531 SHA512 67c2ce82bd951afe3a435c846b6caba9baea19b1b172d4080383899cd669908c54c85c55aec7c8f10fafdcc64bc59d3fd8e60524bd0f78080fa9af48cc7fe3c3 WHIRLPOOL ecf7dbec17d5f9fe1ef07f019fa28f7e8b1d270caab9aa2a2405340e7f780051f13a3c0c92bdc4cc964dc8caf3cf1aa966b6fe433e90462a26cae984a2d28f1c
diff --git a/app-misc/gtypist/files/50gtypist-gentoo.el b/app-misc/gtypist/files/50gtypist-gentoo.el
new file mode 100644
index 000000000000..8d888d4dcd87
--- /dev/null
+++ b/app-misc/gtypist/files/50gtypist-gentoo.el
@@ -0,0 +1,6 @@
+
+;; gtypist site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'gtypist-mode "gtypist-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.typ\\'" . gtypist-mode))
diff --git a/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch
new file mode 100644
index 000000000000..166a82c48263
--- /dev/null
+++ b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch
@@ -0,0 +1,18 @@
+--- gtypist-2.8.3-orig/tools/gtypist-mode.el 2003-09-28 23:35:22.000000000 +0200
++++ gtypist-2.8.3/tools/gtypist-mode.el 2007-04-21 14:49:16.000000000 +0200
+@@ -95,7 +95,14 @@
+
+ (require 'font-lock)
+ (require 'thingatpt)
+-(require 'executable) ;; executable-find
++
++(eval-and-compile
++ (cond
++ ((fboundp 'executable-find))
++ ((fboundp 'locate-file)
++ (defun executable-find (command)
++ (locate-file command exec-path nil 'executable)))
++ (t (require 'executable))))
+
+ (defvar gtypist-mode-syntax-table nil "Syntax-table for gtypist-mode.")
+ (unless gtypist-mode-syntax-table
diff --git a/app-misc/gtypist/gtypist-2.8.5-r1.ebuild b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
new file mode 100644
index 000000000000..279822894630
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.gz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.1.ebuild b/app-misc/gtypist/gtypist-2.9.1.ebuild
new file mode 100644
index 000000000000..6e51a0c171b1
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.2.ebuild b/app-misc/gtypist/gtypist-2.9.2.ebuild
new file mode 100644
index 000000000000..2379bc1d1d5d
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.5.ebuild b/app-misc/gtypist/gtypist-2.9.5.ebuild
new file mode 100644
index 000000000000..77e8884eea1a
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND="
+ >=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )
+"
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf \
+ $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_install() {
+ default
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/metadata.xml b/app-misc/gtypist/metadata.xml
new file mode 100644
index 000000000000..cc9ea98bbd54
--- /dev/null
+++ b/app-misc/gtypist/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dabbott@gentoo.org</email>
+ <name>David Abbott</name>
+ </maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>