summaryrefslogtreecommitdiff
path: root/app-emacs/proofgeneral
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-emacs/proofgeneral
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/proofgeneral')
-rw-r--r--app-emacs/proofgeneral/Manifest7
-rw-r--r--app-emacs/proofgeneral/files/50proofgeneral-gentoo.el2
-rw-r--r--app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch14
-rw-r--r--app-emacs/proofgeneral/metadata.xml8
-rw-r--r--app-emacs/proofgeneral/proofgeneral-4.2.ebuild55
5 files changed, 86 insertions, 0 deletions
diff --git a/app-emacs/proofgeneral/Manifest b/app-emacs/proofgeneral/Manifest
new file mode 100644
index 000000000000..886ff41f80d8
--- /dev/null
+++ b/app-emacs/proofgeneral/Manifest
@@ -0,0 +1,7 @@
+AUX 50proofgeneral-gentoo.el 68 SHA256 85504cdc0876b745d6989be00b87cc88ffc1dd6dfabff96a3cc3c3d48dfbe898 SHA512 32f3d33d85776f1695d542adadb8e35e372659fcce2805fc205732cd911be186cd5a1a63a8438287467dea744da9ef212f7338c0edb735a525ec30f892f1afca WHIRLPOOL f86e9df144b08f403c71efbd74ba2076e3a25ba05c09253bd8c60046297db04a1e33b67b7d1769109fcb1ce984b25d43f80470defd2573d0c3333193db3ddf54
+AUX proofgeneral-4.2-bytecomp-warn.patch 1150 SHA256 77eb44c8933b9cf7415a11038635acd5bc11206f56bc73f4dc2a573addaf236e SHA512 ad7f972148cec19c60d58e7ee7808735b92d6f642d178453d123988c68e873824a7bf8ceeded82dfd3b6109e5b50e24bd7fa8753822b5f36cbb2e73ff4e0d30f WHIRLPOOL d90eafb04173260e94bc7fcecbfdd28fcf1f791c33942967f0377b3822a9b86b27cd8c98a9b204fdcacb1a40c4614da1f51a7c220f3ce68a914507e5d3422f5b
+DIST ProofGeneral-4.2.tgz 1613190 SHA256 3567b68077798396ccd55c501b7ea7bd2c4d6300e4c74ff609dc19837d050b27 SHA512 102c56a1bc113439b1fa8aa10efe571d47d68b344d3489fe18ca3bdbf8828bb31fd2302a68a4bd639c59c429d41e82e5d933abddd3444781cb0e8a603db432ab WHIRLPOOL 9c4e54cf3b1528ee6cbdfac19b0c589f0c2640defbac15d5aaf0a1bfd64680bff45d2faa17f669210f47f30debb768d593590d350acac9c2669d24dc109bb4d8
+EBUILD proofgeneral-4.2.ebuild 1385 SHA256 6fd96f7a3bd5689708525f1da86f427842844c41da17f7c12aab261648709269 SHA512 e0e59f6ec4b73a47ee44be048a7139246502f642cda5f1a9a0a5ea3b20f37158c5109b9701ac1eeacb0f154a0b0dba34270f2d2ca418665c9e5e2c2a435b68fc WHIRLPOOL ef6ffefe45b707bedca9359b3a098d129c8886ce0781d3aab497b862d60258602b5d2c6b45ab92574c10f659903d15f2d0fca0b1be38131f35b6e5a5d1dd2942
+MISC ChangeLog 2408 SHA256 b8d0b318ed29897f9a7fe1f149dbc03d91011d8783ced7350e7c4e5e0c60d195 SHA512 5f7bb9c6182807963e41b154687bf7f1f37e68a855d3e9ea324eb5d2ba8d13e69fc676fab28356210f0fddaae596c42731b6b7cb8f4dbd584c84f2cd7e4c4df9 WHIRLPOOL d61aacb8eda3f8059b084c8d1d7ed0a56aa3c34347dee5dcca2b7c89fa95945b289cba3487b24d5e9bb5baa7ad43acae3c08f9e7dd00ac9a1a2caf99ba4b0c8b
+MISC ChangeLog-2015 6309 SHA256 422ddfa3430025eb510c1a6a874dfb4e491bfca7936378d3a35eb77f7e73b21c SHA512 ccc5024dee23476bf4f3da22b74909aac0ff0079cefd912ab47ad83583071231412cd79893a0198a4dd5c4b768b836200999b556aac306bfa0a264b0750da9c9 WHIRLPOOL fd058ad6b280b572ed317c2f291246666e0be99b2c7efb2b15f7be843d245c2d5b2bafbdf6765d86ef4d5b287941acb7d9ee47c135bf6fbca5b1a5d56750a6f2
+MISC metadata.xml 259 SHA256 4d59c14917cb31648858cb06bc3c7f224cf1c3906dc3166f8f0d8b8e02970928 SHA512 9a5c456aae7919a4cdbb10b67a27c232daf2ec6db4202e04ba6d5873242fc982a659410443dd6fb4498d42af00b495acc51a6a2cbe12aeab91b585dfac7233a3 WHIRLPOOL 08c68f505a8cc685c52f3a54a07582b64ff7c0b4682c8f9333286fbb5caf4a8d406933c7937fe8c9611f456b5a549ee100657a1c9dc766c8965772f277bf31fb
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..c438baf3b326
--- /dev/null
+++ b/app-emacs/proofgeneral/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</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..f3b2ee9fff92
--- /dev/null
+++ b/app-emacs/proofgeneral/proofgeneral-4.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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)"
+}