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-emacs/proofgeneral | |
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-emacs/proofgeneral')
-rw-r--r-- | app-emacs/proofgeneral/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/proofgeneral/files/50proofgeneral-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch | 14 | ||||
-rw-r--r-- | app-emacs/proofgeneral/metadata.xml | 5 | ||||
-rw-r--r-- | app-emacs/proofgeneral/proofgeneral-4.2.ebuild | 56 |
5 files changed, 78 insertions, 0 deletions
diff --git a/app-emacs/proofgeneral/Manifest b/app-emacs/proofgeneral/Manifest new file mode 100644 index 000000000000..3789e04d25cb --- /dev/null +++ b/app-emacs/proofgeneral/Manifest @@ -0,0 +1 @@ +DIST ProofGeneral-4.2.tgz 1613190 SHA256 3567b68077798396ccd55c501b7ea7bd2c4d6300e4c74ff609dc19837d050b27 SHA512 102c56a1bc113439b1fa8aa10efe571d47d68b344d3489fe18ca3bdbf8828bb31fd2302a68a4bd639c59c429d41e82e5d933abddd3444781cb0e8a603db432ab WHIRLPOOL 9c4e54cf3b1528ee6cbdfac19b0c589f0c2640defbac15d5aaf0a1bfd64680bff45d2faa17f669210f47f30debb768d593590d350acac9c2669d24dc109bb4d8 diff --git a/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el b/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el new file mode 100644 index 000000000000..4839b17f1f58 --- /dev/null +++ b/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@/generic") +(require 'proof-site) diff --git a/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch b/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch new file mode 100644 index 000000000000..b34321bf392b --- /dev/null +++ b/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/445242 +http://proofgeneral.inf.ed.ac.uk/trac/ticket/458 + +--- ProofGeneral-4.2-orig/Makefile ++++ ProofGeneral-4.2/Makefile +@@ -62,7 +62,7 @@ + # only during compilation. Another idea: put a function in proof-site + # to output the compile-time load path and ELISP_DIRS so these are set + # just in that one place. +-BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (require (quote mouse)) (require (quote tool-bar)) (require (quote fontset)) (setq byte-compile-warnings (remove (quote cl-functions) (remove (quote noruntime) byte-compile-warning-types))) (setq byte-compile-error-on-warn t))' -f batch-byte-compile ++BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (require (quote mouse)) (require (quote tool-bar)) (require (quote fontset)))' -f batch-byte-compile + EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done) + ELC=$(EL:.el=.elc) + diff --git a/app-emacs/proofgeneral/metadata.xml b/app-emacs/proofgeneral/metadata.xml new file mode 100644 index 000000000000..bc306fe58224 --- /dev/null +++ b/app-emacs/proofgeneral/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +</pkgmetadata> diff --git a/app-emacs/proofgeneral/proofgeneral-4.2.ebuild b/app-emacs/proofgeneral/proofgeneral-4.2.ebuild new file mode 100644 index 000000000000..ee26d59d7606 --- /dev/null +++ b/app-emacs/proofgeneral/proofgeneral-4.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit elisp + +MY_PN="ProofGeneral" +DESCRIPTION="A generic interface for proof assistants" +HOMEPAGE="http://proofgeneral.inf.ed.ac.uk/" +SRC_URI="http://proofgeneral.inf.ed.ac.uk/releases/${MY_PN}-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +DEPEND=">=app-emacs/mmm-mode-0.4.8-r2" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" +ELISP_PATCHES="${P}-bytecomp-warn.patch" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + sed -i -e '/^OTHER_ELISP/s:contrib/mmm::' Makefile || die +} + +src_compile() { + # remove precompiled lisp files + emake clean + emake -j1 compile EMACS=emacs +} + +src_install() { + emake -j1 install EMACS=emacs PREFIX="${D}"/usr + elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${MY_PN} + + doinfo doc/*.info* + doman doc/proofgeneral.1 + dohtml doc/ProofGeneral/*.html doc/PG-adapting/*.html + dodoc AUTHORS BUGS CHANGES COMPATIBILITY FAQ INSTALL README REGISTER + + # clean up + rm -rf "${D}/usr/share/emacs/site-lisp/site-start.d" + rm -rf "${D}/usr/share/application-registry" + rm -rf "${D}/usr/share/mime-info" +} + +pkg_postinst() { + elisp-site-regen + elog "Please register your use of Proof General on the web at:" + elog " http://proofgeneral.inf.ed.ac.uk/register " + elog "(see the REGISTER file for more information)" +} |