public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/emacs:graveyard commit in: app-emacs/yc/files/, app-emacs/yc/
Date: Wed, 18 Oct 2023 20:18:11 +0000 (UTC)	[thread overview]
Message-ID: <1697659840.8c26ffdb32a3c0b890982dbeea8b29cb15a7edce.ulm@gentoo> (raw)

commit:     8c26ffdb32a3c0b890982dbeea8b29cb15a7edce
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 20:10:40 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 20:10:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=8c26ffdb

yc removed 2021-07-17 bug 796878

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/yc/Manifest                      |  2 ++
 app-emacs/yc/files/50yc-gentoo.el          |  1 +
 app-emacs/yc/files/sample.dot.emacs        | 12 +++++++
 app-emacs/yc/files/sample.hosts.canna      |  2 ++
 app-emacs/yc/files/yc-5.2.1-emacs-26.patch | 11 +++++++
 app-emacs/yc/metadata.xml                  | 12 +++++++
 app-emacs/yc/yc-4.0.13.ebuild              | 53 ++++++++++++++++++++++++++++++
 app-emacs/yc/yc-5.2.1.ebuild               | 43 ++++++++++++++++++++++++
 8 files changed, 136 insertions(+)

diff --git a/app-emacs/yc/Manifest b/app-emacs/yc/Manifest
new file mode 100644
index 0000000..bd72fd1
--- /dev/null
+++ b/app-emacs/yc/Manifest
@@ -0,0 +1,2 @@
+DIST yc-4.0.13.tar.gz 43916 BLAKE2B 7e52c5269b3fbf492d17742aafe242208ba243dadcdd2fb14fbdb4c72765125a39bf7b7c6cd73c50335cc3c64916d0b12814a25f918415d1e20c8e47974f09df SHA512 2b5430766bbdbc77a0ec3aba6d51478ff91186a257e75a2a3af25a885bbddbf7180fbdf3b0876c1a65c149060bb754a44f77bb399c43cc666bd0add40226ca32
+DIST yc-5.2.1.el.gz 33305 BLAKE2B 8bed47715f49466425afefd036cf562055025564e50ae219e027848104e3851b6cba29f74bcf81487d2494d314a290eabe27e128968dbba9d475562e248a267b SHA512 11c8d63a9f6cb94118a00976518949ab50496f8b8f994a8e1c352be5deefc549540935e0727b036c2b3c493366cfb8c47f040fcc425174b6668ec9f5e8d499dc

diff --git a/app-emacs/yc/files/50yc-gentoo.el b/app-emacs/yc/files/50yc-gentoo.el
new file mode 100644
index 0000000..431f7e9
--- /dev/null
+++ b/app-emacs/yc/files/50yc-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")

diff --git a/app-emacs/yc/files/sample.dot.emacs b/app-emacs/yc/files/sample.dot.emacs
new file mode 100644
index 0000000..101532e
--- /dev/null
+++ b/app-emacs/yc/files/sample.dot.emacs
@@ -0,0 +1,12 @@
+;;;; -*- mode: lisp-interaction; syntax: elisp; coding: iso-2022-7bit -*-
+
+;;;; Configuration for yc
+(setq yc-server-host "unix")
+;If you use inet socket service, enable the following line.
+;(setq yc-server-host "localhost")
+(setq yc-use-color t)
+(if (eq window-system 'x)
+    (setq yc-use-fence nil)
+  (setq yc-use-fence t))
+(load "yc")
+(global-yc-mode 1)

diff --git a/app-emacs/yc/files/sample.hosts.canna b/app-emacs/yc/files/sample.hosts.canna
new file mode 100644
index 0000000..960d75f
--- /dev/null
+++ b/app-emacs/yc/files/sample.hosts.canna
@@ -0,0 +1,2 @@
+localhost
+unix

diff --git a/app-emacs/yc/files/yc-5.2.1-emacs-26.patch b/app-emacs/yc/files/yc-5.2.1-emacs-26.patch
new file mode 100644
index 0000000..19925c6
--- /dev/null
+++ b/app-emacs/yc/files/yc-5.2.1-emacs-26.patch
@@ -0,0 +1,11 @@
+--- a/yc.el
++++ b/yc.el
+@@ -2071,7 +2071,7 @@
+ ;; ^[$BJ8@a$r;XDj$7$J$$>l9g!"8=:_$NJ8@a$,BP>]$H$J$k^[(B
+ ;; ^[$BFI$_$r<hF@$7$?J8@a$O$=$NFI$_$r%-%c%C%7%e$9$k^[(B
+ ;; cut ^[$B$,^[(B ^[$BHs^[(Bnil ^[$B$N>l9g!";XDjJ8@a0J9_$NFI$_$r:o=|$9$k^[(B
+-(defun yc-yomi (&optional idx &optional cut)
++(defun yc-yomi (&optional idx cut)
+   (if (integerp idx)
+       (yc-put-bunsetsu-yomi idx (yc-get-bunsetsu-yomi idx cut) cut)
+     (yc-put-bunsetsu-yomi yc-mark (yc-get-bunsetsu-yomi yc-mark cut) cut)))

diff --git a/app-emacs/yc/metadata.xml b/app-emacs/yc/metadata.xml
new file mode 100644
index 0000000..2c9ca3c
--- /dev/null
+++ b/app-emacs/yc/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="project">
+    <email>gnu-emacs@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>cjk@gentoo.org</email>
+    <name>Cjk</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/app-emacs/yc/yc-4.0.13.ebuild b/app-emacs/yc/yc-4.0.13.ebuild
new file mode 100644
index 0000000..a8ef9f8
--- /dev/null
+++ b/app-emacs/yc/yc-4.0.13.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="Yet another Canna client on Emacsen"
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="app-i18n/canna"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	sed -i '/$(CC)/s/ -o / $(CFLAGS) $(LDFLAGS) -o /' Makefile
+
+	default
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	elisp_src_install
+
+	dobin icanna
+	dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
+}
+
+pkg_postinst() {
+	elisp_pkg_postinst
+
+	elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
+	elog
+	elog "And If you use unix domain socket for connecting the canna server,"
+	elog "please confirm that there's *no* following line in your ~/.emacs:"
+	elog '  (setq yc-server-host "localhost")'
+	elog
+	elog "If you use inet domain socket for connecting the canna server,"
+	elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
+	elog '  CANNASERVER_OPTS="-inet"'
+	elog
+	elog "And create ${EPREFIX}/etc/hosts.canna."
+	elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."
+}

diff --git a/app-emacs/yc/yc-5.2.1.ebuild b/app-emacs/yc/yc-5.2.1.ebuild
new file mode 100644
index 0000000..22ccd0a
--- /dev/null
+++ b/app-emacs/yc/yc-5.2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit elisp
+
+DESCRIPTION="Yet another Canna client on Emacsen"
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.el.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="app-i18n/canna"
+
+ELISP_PATCHES="${P}-emacs-26.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+	elisp_src_install
+
+	dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
+}
+
+pkg_postinst() {
+	elisp_pkg_postinst
+
+	elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
+	elog
+	elog "And If you use unix domain socket for connecting the canna server,"
+	elog "please confirm that there's *no* following line in your ~/.emacs:"
+	elog '  (setq yc-server-host "localhost")'
+	elog
+	elog "If you use inet domain socket for connecting the canna server,"
+	elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
+	elog '  CANNASERVER_OPTS="-inet"'
+	elog
+	elog "And create ${EPREFIX}/etc/hosts.canna."
+	elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."
+}


                 reply	other threads:[~2023-10-18 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1697659840.8c26ffdb32a3c0b890982dbeea8b29cb15a7edce.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox