From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1563814-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97C57158089 for <garchives@archives.gentoo.org>; Wed, 18 Oct 2023 20:18:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50CB72BC109; Wed, 18 Oct 2023 20:18:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A24E2BC108 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Oct 2023 20:18:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3683A335D46 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Oct 2023 20:18:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A034F128C for <gentoo-commits@lists.gentoo.org>; Wed, 18 Oct 2023 20:18:11 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1697659840.8c26ffdb32a3c0b890982dbeea8b29cb15a7edce.ulm@gentoo> Subject: [gentoo-commits] repo/proj/emacs:graveyard commit in: app-emacs/yc/files/, app-emacs/yc/ X-VCS-Repository: repo/proj/emacs X-VCS-Files: app-emacs/yc/Manifest app-emacs/yc/files/50yc-gentoo.el app-emacs/yc/files/sample.dot.emacs app-emacs/yc/files/sample.hosts.canna app-emacs/yc/files/yc-5.2.1-emacs-26.patch app-emacs/yc/metadata.xml app-emacs/yc/yc-4.0.13.ebuild app-emacs/yc/yc-5.2.1.ebuild X-VCS-Directories: app-emacs/yc/ app-emacs/yc/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8c26ffdb32a3c0b890982dbeea8b29cb15a7edce X-VCS-Branch: graveyard Date: Wed, 18 Oct 2023 20:18:11 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6081ec77-209e-41eb-965e-2750b1dfbc37 X-Archives-Hash: acaa89f19b1a25fb4d533dd2242d3025 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}." +}