summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/bbdb
downloadgentoo-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/bbdb')
-rw-r--r--app-emacs/bbdb/Manifest4
-rw-r--r--app-emacs/bbdb/bbdb-2.35-r1.ebuild68
-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.xml14
7 files changed, 278 insertions, 0 deletions
diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest
new file mode 100644
index 000000000000..0d9a043453bf
--- /dev/null
+++ b/app-emacs/bbdb/Manifest
@@ -0,0 +1,4 @@
+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
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..b08b8d60bb15
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-2.35-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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..8c45e10c2955
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-3.1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp autotools
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="http://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"
+
+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..f7806e7da78b
--- /dev/null
+++ b/app-emacs/bbdb/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<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>
+</pkgmetadata>