summaryrefslogtreecommitdiff
path: root/app-emacs/bbdb
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/bbdb
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/bbdb')
-rw-r--r--app-emacs/bbdb/Manifest12
-rw-r--r--app-emacs/bbdb/bbdb-2.35-r1.ebuild67
-rw-r--r--app-emacs/bbdb/bbdb-3.1.2.ebuild60
-rw-r--r--app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el2
-rw-r--r--app-emacs/bbdb/files/50bbdb-gentoo.el4
-rw-r--r--app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch126
-rw-r--r--app-emacs/bbdb/metadata.xml20
7 files changed, 291 insertions, 0 deletions
diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest
new file mode 100644
index 000000000000..e16c7861de49
--- /dev/null
+++ b/app-emacs/bbdb/Manifest
@@ -0,0 +1,12 @@
+AUX 50bbdb-gentoo-3.1.2.el 63 SHA256 818cfbe8d0c69cc75e7fcd873758ee9b4cd0ffe99695be087353a1846c11734f SHA512 3cb67cba1e12630c40b7c78572e7af0418c56d821c327c7b963cb00401a13f47da622b3a8e7a67795158b1394e860bcdf5ac3e478f8df9c5e3a97963bbd65a2e WHIRLPOOL acb376af0b3e2cc91a8315fc3c287d104439af28c6d060595eacfe1c4cf6180a9d3e6ee346dce1df2e38d60bcd6228f150dddb8a2c78f179a798f12319e93d99
+AUX 50bbdb-gentoo.el 115 SHA256 e696f6914208e4147c67903327531da164187456060b83e57ee5625aebe9a7b7 SHA512 c04101cfe2b1a13f9f25c6a8d5a9055cc4cda6e5b9208a563e6f1ed979e2585cffca97303f192f3a2b9f755d65ec3f86e68509293b874bf8020243eedbf99c50 WHIRLPOOL f8d25648201582c6ec0c23a9510ead8631234c4a17574a0e433f70acd30575daa2aff7ccad3ad34077f90afa97ac8f14524bd6ef9f39f79ba27a33eb34b7608a
+AUX bbdb-3.1.2-no-init.patch 4709 SHA256 881ea9ae7823d36e0c120d83a426b498ff337aab80ec0d1ef6ea0fa66a693cd9 SHA512 3f262323cb35636d0249aafa54ff2a2e462df803d19c356bf2b7ed6a68410fa6e6bc41298a1e7fbeef224c84cf4bf9f80ff1ae068c5226ac6bea3ec62d593355 WHIRLPOOL c639da2b4b3b6adab6b0e8b95106bd937073ac089c2886d94704c1f3513df3922e9fb018a572e3ab437ed4dbdf54d3ac7426a9951213d52e540558bf7e47f6e6
+DIST bbdb-2.35.tar.gz 393097 SHA256 3fb1316e2ed74d47ca61187fada550e58797467bd9e8ad67343ed16da769f916 SHA512 ee815f62796bcda63d37ae5a3805d065f6cc79648ca86852b97d4c1b849a1eb6c8f46dab2f257b9a8f9efc44d38469739f98137037c10f79f37a1ff235f6a413 WHIRLPOOL 8b5bfb01d03618b9b7e5715484f2594b58ca5689e0a1a6f69df6430d276f207618e2a254042c2c539ac470732f8d746d9302db8a09609ab2226f3350ff6b78ed
+DIST bbdb-3.1.2.tar.gz 378935 SHA256 05780f030584ddaa717d04700bc70e7d9e929141223c7f130fc0c778d73241bf SHA512 8b32baadc4eb06b0abf533ccb1f540f4f407f27b8d2e847ae25e62d1405e1de5cfc6af16368eecd4086f281ee7a4016cf25568847b3cb798156c7e18e1912576 WHIRLPOOL d8d50c34ba3a1ccf879a1749b37f0cdc8c5d46ff4d01940256501574e933b1e8d141d6ded8bc6a797e6377b759ba55582b5d2c3190489e9cbf96487c7124dbb5
+DIST dates.el 7048 SHA256 8de33f7b00ac1766eb104c1bf2f362aff54e3de4d67cbd0a4da1b6b137363ec4 SHA512 51b0dca58a1b54e913a0dbd97df12230ec49f05b368404fa3d49cddf4ca8e14dbff47a28087c4ba41b189a38a3608c77454e102ae5bb124d07d1ad3ec9c39e71 WHIRLPOOL eb2239adc4e2b7392e6f091ef253685f155ab9acc09432b61d67b44f572f8cd774282806d2c50e48f80be4786890d000727f1fc94966289c2f03441844b52c26
+DIST point-at.el 440 SHA256 c9695455b96f17fbebc9cf0ae21b042fb04b688016279010d87c01e9d270e0c8 SHA512 e38cbf39cb3f29f51f6759a7ba548f065c4763668d38c746eb69d9ab2384357f6b1c7f032a6afe739bc64658f5863730b7a4b3023cc9df1cc5e088e591c02760 WHIRLPOOL 9dc36a49a8d5ea6a9a5619cbccd7e2a3f668d3c6bf917e1cf315ad0eb72fd3032d1c3bb40a17995b6b5ab81760f261a128ecd3b45615fd30d87ae2430a782102
+EBUILD bbdb-2.35-r1.ebuild 1831 SHA256 daedfcd4e8844799dfa7cfb16b37f40009056ee8b19cab0af43baaacc6961160 SHA512 7b6a393f6c22933f748de30ce1be9a1b58d0f2d5ed90b403bb232cfb7eace715f14feb962c2543f15d458c11bd6131c2cdcc72cff3830008d8091d8f0726f311 WHIRLPOOL b28b75b41cf933ac9ce056c730591039b69cdb53b5abeb2442cf2519f04fdcb91270d2f809149afd34423d308fd9115c22de0069c96e6a618d4983443b269ff9
+EBUILD bbdb-3.1.2.ebuild 1236 SHA256 750bae046f3b518616de59ecb6da0edb283b1e1323f2d8428abb77bd59663966 SHA512 b0a57c163c29f7eb3682ffc4ea6f1da679d9f238194d68d86785994009c96f34f41e97ec77a09f89d804767cb2f49a31cf5326256c8efffc8d4d54d3a3495695 WHIRLPOOL 9b9670ea924f118da970a6b3de414e822dffe2caf85afc337bb5b0ed77e4d8cf761ee7e05732671164ce2c181ebc6dfc0020946f8efb54de975ff0e06299702e
+MISC ChangeLog 2703 SHA256 0116fde563c02bb121eb5945666e149c2fb86684d5f64a874857cf13874d6bd6 SHA512 dfdaf2c65f55b0c043b6b4e5b89a2cbe6d5d640cc9414e4253ebf39afd90e43e2ed50cc4845a0ab4a4f64a48489e7007883b457e6bf213271004124cecf05ec9 WHIRLPOOL 50e3f0d11481db242825b1b3a0dd619ee66bfb82d257095296a5ac531763bb0652a9681a537d54b299cca643e3bcc58cdbfeb610f6f74c6047fff1c3bdcf5842
+MISC ChangeLog-2015 5886 SHA256 a006836f863c7d21085f4eb21ce763169271a42d051b1343296b65c99f343f24 SHA512 d568844367b12f83cc4500e9d724c22bd9393bcfafe15128816ec113cd97fc6bc5c4f0966640bf7798d877bdb379d587885c78c264d658aaac71783f4b4bb275 WHIRLPOOL 76ac51149358dee119e66b13c67322ad98774c647a0764c1a1a4ba942f00f660a0e6e8f7c03df7e7b1c0554c6d6e06cca08f0a46d32dc00e099a89f3347dc0ff
+MISC metadata.xml 730 SHA256 29556cda7f6f66a1e74d1d477d4253deafdc0fea6923e7965ab021f3065bab1f SHA512 c69174f3c8860421c1d600b142282d2ffa07cd905eb62c7994e4c624eb5c869fec5f6cab7f51f39847272cc9930c26b6218fac988135ca6927f33902953e7828 WHIRLPOOL 946410818fced94bdb73b37fed216e4cc5b8660c1da5995bf3bc6d58621c616d4d26d8febda2396c225d7eb16929745774226724a657c5df27530fb63e3edf98
diff --git a/app-emacs/bbdb/bbdb-2.35-r1.ebuild b/app-emacs/bbdb/bbdb-2.35-r1.ebuild
new file mode 100644
index 000000000000..f603c567dd93
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-2.35-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="http://bbdb.sourceforge.net/"
+SRC_URI="http://bbdb.sourceforge.net/${P}.tar.gz
+ http://www.mit.edu/afs/athena/contrib/emacs-contrib/Fin/point-at.el
+ http://www.mit.edu/afs/athena/contrib/emacs-contrib/Fin/dates.el"
+
+LICENSE="GPL-2+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="tex"
+
+RDEPEND="tex? ( virtual/tex-base )"
+
+SITEFILE="50${PN}-gentoo.el"
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ sed -i -e '0,/^--- bbdb-mail-folders.el ---$/d;/^--- end ---$/,$d' \
+ bits/bbdb-mail-folders.el || die "sed failed"
+ sed -i -e '/^;/,$!d' bits/bbdb-sort-mailrc.el || die "sed failed"
+ cp "${DISTDIR}"/{dates,point-at}.el bits || die "cp failed"
+}
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ emake -j1
+ BYTECOMPFLAGS="-L bits -L lisp" elisp-compile bits/*.el || die
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el{,c} || die
+ elisp-install ${PN}/bits bits/*.el{,c} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ doinfo texinfo/*.info*
+ dodoc ChangeLog INSTALL README bits/*.txt
+ newdoc bits/README README.bits
+ if use tex; then
+ insinto "${TEXMF}"/tex/plain/bbdb
+ doins tex/*.tex
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use tex && texconfig rehash
+
+ elog "If you use encryption or signing, you may specify the encryption"
+ elog "method by customising variable \"bbdb/pgp-method\". For details,"
+ elog "see the documentation of this variable. Depending on the Emacs"
+ elog "version, installation of additional packages like app-emacs/gnus"
+ elog "or app-emacs/mailcrypt may be required."
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
diff --git a/app-emacs/bbdb/bbdb-3.1.2.ebuild b/app-emacs/bbdb/bbdb-3.1.2.ebuild
new file mode 100644
index 000000000000..58c9da5277c0
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-3.1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp autotools
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ GPL-1+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="tex vm"
+RESTRICT="test" #631700
+
+DEPEND="tex? ( virtual/tex-base )
+ vm? ( app-emacs/vm )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo-${PV}.el"
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-init.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
+}
+
+src_compile() {
+ emake -C lisp
+}
+
+src_install() {
+ emake -C lisp DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo doc/*.info*
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ if use tex; then
+ insinto "${TEXMF}"/tex/plain/${PN}
+ doins tex/*.tex
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
diff --git a/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
new file mode 100644
index 000000000000..45a7cc208e0d
--- /dev/null
+++ b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'bbdb-loaddefs)
diff --git a/app-emacs/bbdb/files/50bbdb-gentoo.el b/app-emacs/bbdb/files/50bbdb-gentoo.el
new file mode 100644
index 000000000000..7953b3c852a4
--- /dev/null
+++ b/app-emacs/bbdb/files/50bbdb-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'load-path "@SITELISP@/bits")
+(require 'bbdb)
+(bbdb-initialize)
diff --git a/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch b/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch
new file mode 100644
index 000000000000..85dbc0374e32
--- /dev/null
+++ b/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch
@@ -0,0 +1,126 @@
+Patch from upstream, backported to bbdb-3.1.2.
+
+From e028f4d8f04c3db663db023cf5a630461cfda2bd Mon Sep 17 00:00:00 2001
+From: Roland Winkler <winkler@gnu.org>
+Date: Wed, 23 Jul 2014 03:27:09 +0000
+Subject: Do not load init file or site file for byte compilation
+
+--- bbdb-3.1.2-orig/lisp/Makefile.am
++++ bbdb-3.1.2/lisp/Makefile.am
+@@ -20,6 +20,9 @@
+ # You should have received a copy of the GNU General Public License
+ # along with BBDB. If not, see <http://www.gnu.org/licenses/>.
+
++# --batch implies --no-init-file, yet let's be explicit about what we want
++AM_ELCFLAGS += --no-init-file --no-site-file
++
+ dist_lisp_LISP = \
+ bbdb.el \
+ bbdb-anniv.el \
+@@ -70,10 +73,11 @@
+ @echo " " >> $@;
+ # Generated autoload-file must have an absolute path,
+ # $srcdir can be relative.
+- $(EMACS) -batch -l autoload \
++ $(EMACS) --batch $(AM_ELCFLAGS) $(ELCFLAGS) \
++ --load autoload \
+ --eval '(setq generated-autoload-file "'$(abs_builddir)/$@'")' \
+ --eval '(setq make-backup-files nil)' \
+- -f batch-update-autoloads $(srcdir)
++ --funcall batch-update-autoloads $(srcdir)
+
+ # Generate bbdb-site.el here as pkgdatadir is only known at "make" time.
+ # We protect the autoconf variables in the sed regular expressions
+--- bbdb-3.1.2-orig/lisp/makefile-temp
++++ bbdb-3.1.2/lisp/makefile-temp
+@@ -43,13 +43,16 @@
+ EMACSOPT =
+
+ # The actual Emacs command run in the targets below.
+-emacs = LC_ALL=C $(EMACS) --batch --directory=./ $(EMACSOPT)
++# --batch implies --no-init-file, yet let's be explicit about what we want
++emacs = LC_ALL=C $(EMACS) --batch --no-init-file --no-site-file \
++ --directory=./ $(EMACSOPT)
++emacs_compile = $(emacs) --funcall batch-byte-compile
+
+-# If you want to use BBDB with VM this should point to your vm/lisp directory.
+-# See also the target all below.
++# VM is not part of GNU Emacs. If you want to use BBDB with VM
++# then the variable VMDIR should point to your vm/lisp directory.
+ VMDIR =
+
+-VM = -eval '(unless (string-match "$(VMDIR)" "") (push "$(VMDIR)" load-path))'
++VM = -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path))'
+
+ .SUFFIXES: .elc .el .tar .Z .gz .uu
+
+@@ -89,51 +92,50 @@
+ @echo " " >> $@;
+ # Generated autoload-file must have an absolute path,
+ # $(srcdir) can be relative.
+- $(emacs) -l autoload \
++ $(emacs) --load autoload \
+ --eval '(setq generated-autoload-file "'`pwd`/$@'")' \
+ --eval '(setq make-backup-files nil)' \
+- -f batch-update-autoloads `pwd`
++ --funcall batch-update-autoloads `pwd`
+
+ .el.elc:
+- $(emacs) -f batch-byte-compile $<
++ $(emacs_compile) $<
+
+ # Not perfect, but better than nothing: If we do not have / do not use
+ # autotools, we simply copy bbdb-site.el.in to bbdb-site.el.
+ bbdb-site.el: bbdb-site.el.in
+ $(CP) $< $@
+ bbdb-site.elc: bbdb-site.el
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb.elc: bbdb.el bbdb-site.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb-com.elc: bbdb-com.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-mua.elc: bbdb-mua.el bbdb-com.elc
+- $(emacs) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \
+- -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \
++ $(@:.elc=.el)
+ bbdb-rmail.elc: bbdb-rmail.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-gnus.elc: bbdb-gnus.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-mhe.elc: bbdb-mhe.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
+-# VM is not part of GNU Emacs
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-vm.elc: bbdb-vm.el bbdb-mua.elc
+- $(emacs) $(VM) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(VM) $(@:.elc=.el)
+ bbdb-sc.elc: bbdb-sc.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb-print.elc: bbdb-print.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-migrate.elc: bbdb-migrate.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-anniv.elc: bbdb-anniv.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-ispell.elc: bbdb-ispell.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-snarf.elc: bbdb-snarf.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ install-el: all
+ $(INSTALL) -d -m 0755 "$(lispdir)/"
diff --git a/app-emacs/bbdb/metadata.xml b/app-emacs/bbdb/metadata.xml
new file mode 100644
index 000000000000..708b8be2a97a
--- /dev/null
+++ b/app-emacs/bbdb/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+<longdescription>
+ The Insidious Big Brother Database (BBDB) is a contact management utility
+ for use with GNU Emacs and XEmacs. It can hook into Emacs-based mail- and
+ news-readers and automatically collect information on messages therein.
+</longdescription>
+<use>
+ <flag name="tex">Install plain TeX support files</flag>
+ <flag name="vm">Add support for <pkg>app-emacs/vm</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="sourceforge">bbdb</remote-id>
+</upstream>
+</pkgmetadata>