pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/bbdb2 misc/bbdb2: Moved from misc/bbdb version 2.35



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89bfca57b523
branches:  trunk
changeset: 380366:89bfca57b523
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jun 05 02:27:31 2022 +0000

description:
misc/bbdb2: Moved from misc/bbdb version 2.35

(Moved from misc/bbdb, meaning rename directory and PKGBASE, see the
thread starting at
   http://mail-index.netbsd.org/pkgsrc-users/2022/05/31/msg035631.html
) Thank you,

The Insidious Big Brother DataBase is an emacs-based contact manager
that integrates itself into your mail and news clients.

diffstat:

 misc/bbdb2/DESCR                            |   2 +
 misc/bbdb2/Makefile                         |  53 +++++++++++++++++++++++++++++
 misc/bbdb2/PLIST                            |  42 ++++++++++++++++++++++
 misc/bbdb2/buildlink3.mk                    |  25 +++++++++++++
 misc/bbdb2/distinfo                         |   9 ++++
 misc/bbdb2/patches/patch-aa                 |  15 ++++++++
 misc/bbdb2/patches/patch-lisp_bbdb-com.el   |  25 +++++++++++++
 misc/bbdb2/patches/patch-lisp_bbdb-mhe.el   |  26 ++++++++++++++
 misc/bbdb2/patches/patch-lisp_bbdb-whois.el |  20 ++++++++++
 9 files changed, 217 insertions(+), 0 deletions(-)

diffs (253 lines):

diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/DESCR  Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,2 @@
+The Insidious Big Brother DataBase is an emacs-based contact manager
+that integrates itself into your mail and news clients.
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/Makefile       Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+DISTNAME=              bbdb-2.35
+PKGNAME=               ${EMACS_PKGNAME_PREFIX}${DISTNAME:C/bbdb/bbdb2/}
+CATEGORIES=            misc mail news
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=bbdb/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://sourceforge.net/projects/bbdb/
+COMMENT=               Insidious Big Brother DataBase, a rolodex-like database Emacs program
+LICENSE=               gnu-gpl-v1
+
+# bbdb is included in xemacs-packages
+EMACS_VERSIONS_ACCEPTED=       emacs28 emacs27 emacs26 emacs25 emacs25nox emacs21 emacs21nox
+EMACS_VERSIONS_ACCEPTED+=      emacs28nox emacs27nox
+EMACS_VERSIONS_ACCEPTED+=      emacs26 emacs26nox
+
+CONFLICTS+=            xemacs-packages-[0-9]*
+# in case old one exists
+CONFLICTS+=            bbdb-[0-9]*
+CONFLICTS+=            bbdb3-[0-9]*
+
+USE_PKGLOCALEDIR=      yes
+CONFIGURE_ARGS+=       --enable-rmail
+GNU_CONFIGURE=         yes
+BUILD_TARGET=          all mhe
+USE_TOOLS+=            makeinfo
+INFO_FILES=            yes
+LISPDIR=               ${EMACS_LISPPREFIX}/bbdb
+INSTALLATION_DIRS=     ${EMACS_INFOPREFIX}
+MAKE_JOBS_SAFE=                no
+
+.include "../../editors/emacs/modules.mk"
+
+post-extract:
+       ${RM} -rf ${WRKSRC}/lisp/*.elc
+
+.if ${EMACS_FLAVOR} == "xemacs"
+CONFIGURE_ARGS+=       --with-emacs=xemacs
+CONFIGURE_ARGS+=       --with-package-dir=${PREFIX}/lib/xemacs/site-packages
+INSTALL_TARGET=                install-pkg
+.else
+do-install:
+       ${MKDIR} ${DESTDIR}${LISPDIR}
+       ${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${DESTDIR}${LISPDIR}
+       ${INSTALL_DATA} ${WRKSRC}/lisp/*.elc ${DESTDIR}${LISPDIR}
+       cd ${WRKSRC}/texinfo; for f in bbdb.info bbdb.info-[0-9]*; do   \
+               ${TEST} ! -f "$$f" ||                                   \
+               ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
+       done
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/PLIST  Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2022/06/05 02:27:31 mef Exp $
+${EMACS_INFOPREFIX}/bbdb.info
+${FOR_emacs}${EMACS_LISPPREFIX}/bbdb/bbdb-autoloads.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-com.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-com.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-ftp.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-ftp.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-gnus.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-gnus.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-gui.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-gui.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-hooks.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-hooks.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-merge.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-merge.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-mhe.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-mhe.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-migrate.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-migrate.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-print.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-print.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-reportmail.el
+${FOR_xemacs214}${EMACS_LISPPREFIX}/bbdb/bbdb-reportmail.elc
+${FOR_xemacs215}${EMACS_LISPPREFIX}/bbdb/bbdb-reportmail.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-rmail.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-rmail.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-sc.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-sc.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-snarf.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-snarf.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-srv.el
+${FOR_xemacs214}${EMACS_LISPPREFIX}/bbdb/bbdb-srv.elc
+${FOR_xemacs215}${EMACS_LISPPREFIX}/bbdb/bbdb-srv.elc
+${FOR_emacs}${EMACS_LISPPREFIX}/bbdb/bbdb-vm.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-w3.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-w3.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-whois.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-whois.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb-xemacs.el
+${EMACS_LISPPREFIX}/bbdb/bbdb-xemacs.elc
+${EMACS_LISPPREFIX}/bbdb/bbdb.el
+${EMACS_LISPPREFIX}/bbdb/bbdb.elc
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/buildlink3.mk  Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/06/05 02:27:31 mef Exp $
+#
+
+.include "../../editors/emacs/modules.mk"
+.if ${EMACS_FLAVOR} == "emacs"
+
+BUILDLINK_TREE+=       bbdb2
+
+.  if !defined(BBDB2_BUILDLINK3_MK)
+BBDB2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.bbdb2+=  ${EMACS_PKGNAME_PREFIX}bbdb2>=2
+BUILDLINK_API_DEPENDS.bbdb2+=  ${EMACS_PKGNAME_PREFIX}bbdb2<3
+BUILDLINK_PKGSRCDIR.bbdb2?=    ../../misc/bbdb2
+
+BUILDLINK_CONTENTS_FILTER.bbdb2=       ${EGREP} '.*\.el$$|.*\.elc$$'
+
+BUILDLINK_TREE+=       -bbdb2
+
+.  else
+# XEmacs has bbdb in xemacs-packages
+EMACS_MODULES+=                base
+.  endif
+
+.endif
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/distinfo       Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+BLAKE2s (bbdb-2.35.tar.gz) = 5a00106616c7df6e1fdf6ab8c98961948c431a2d9935a1e7d61e87d875bcbbef
+SHA512 (bbdb-2.35.tar.gz) = 28a7dcf8521e78621aad9369d346d942fe5b08d868f2286b12921e0d6924f9d9495066223b1aa71862a71558d0f85dca40fbe0ce8880844fb2be5ccb931fd60c
+Size (bbdb-2.35.tar.gz) = 767464 bytes
+SHA1 (patch-aa) = 4b9942a4b1f8e2675cdaca67777c80d6490d01ac
+SHA1 (patch-lisp_bbdb-com.el) = 1f6af496f53636da2d4fc893f033fda820bec07c
+SHA1 (patch-lisp_bbdb-mhe.el) = f78ad5d1fb5a2ee00040d7975ff9bc6b1d1cac24
+SHA1 (patch-lisp_bbdb-whois.el) = 4af0259e5cce56780405f42eb55c4ebf942097ac
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/patches/patch-aa       Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+Fixes dependency for parallel build.
+
+--- lisp/Makefile.in.orig      2002-01-07 09:00:08.000000000 +0000
++++ lisp/Makefile.in
+@@ -114,7 +114,7 @@ bbdb.elc:            bbdb.el
+ bbdb-com.elc:        bbdb.elc bbdb-com.el
+ bbdb-ftp.elc:        bbdb.elc bbdb-ftp.el
+ bbdb-gui.elc:          bbdb.elc bbdb-gui.el
+-bbdb-merge.elc:      bbdb-merge.el
++bbdb-merge.elc:      bbdb.elc bbdb-merge.el
+ bbdb-migrate.elc:    bbdb.elc bbdb-migrate.el
+ bbdb-print.elc:      bbdb.elc bbdb-print.el
+ bbdb-snarf.elc:      bbdb.elc bbdb-snarf.el
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/patches/patch-lisp_bbdb-com.el
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/patches/patch-lisp_bbdb-com.el Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-lisp_bbdb-com.el,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+:Warning: !! The file uses old-style backquotes !!
+This functionality has been obsolete for more than 10 years already
+
+--- lisp/bbdb-com.el~  2007-01-31 07:09:25.000000000 +0900
++++ lisp/bbdb-com.el   2018-02-01 12:57:45.799555302 +0900
+@@ -124,7 +124,7 @@ If you want to reverse the search, bind 
+     (if phone
+         (setq clauses
+               (cons
+-               (` (let ((rest-of-phones (bbdb-record-phones record))
++                `(let ((rest-of-phones (bbdb-record-phones record))
+                         (done nil))
+                     (if rest-of-phones
+                         (while (and rest-of-phones (not done))
+@@ -136,7 +136,7 @@ If you want to reverse the search, bind 
+                       ;; so that "^$" can be used to find entries that
+                       ;; have no phones
+                       (setq done (string-match (, phone) "")))
+-                    done))
++                    done)
+                clauses)))
+     (if notes
+         (setq clauses
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/patches/patch-lisp_bbdb-mhe.el
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/patches/patch-lisp_bbdb-mhe.el Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-lisp_bbdb-mhe.el,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+Make bbdb build with emacs-24.
+(emacs-27):Warning: !! The file uses old-style backquotes !!
+This functionality has been obsolete for more than 10 years already
+
+--- lisp/bbdb-mhe.el.orig      2007-01-31 07:08:33.000000000 +0900
++++ lisp/bbdb-mhe.el   2018-02-01 13:22:21.336378903 +0900
+@@ -37,7 +37,7 @@
+ 
+ (defmacro bbdb/mh-cache-key (message)
+   "Return a (numeric) key for MESSAGE"
+-  (`(let* ((attrs (file-attributes (, message)))
++   `(let* ((attrs (file-attributes (, message)))
+            (status-time (nth 6 attrs))
+            (status-time-2 (cdr status-time))
+            (inode (nth 10 attrs)))
+@@ -50,7 +50,7 @@
+               ;; return it as list.
+               (if (integerp status-time-2)
+                   status-time-2
+-                (car status-time-2))))))
++                (car status-time-2)))))
+ 
+ ;;;###autoload
+ (defun bbdb/mh-update-record (&optional offer-to-create)
diff -r 1a8fb23b43a4 -r 89bfca57b523 misc/bbdb2/patches/patch-lisp_bbdb-whois.el
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bbdb2/patches/patch-lisp_bbdb-whois.el       Sun Jun 05 02:27:31 2022 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-lisp_bbdb-whois.el,v 1.1 2022/06/05 02:27:31 mef Exp $
+
+:Warning: !! The file uses old-style backquotes !!
+This functionality has been obsolete for more than 10 years already
+
+--- lisp/bbdb-whois.el~        2007-01-31 07:08:33.000000000 +0900
++++ lisp/bbdb-whois.el 2018-02-01 12:58:26.952751936 +0900
+@@ -25,10 +25,10 @@
+ (defmacro bbdb-add-to-field (record field text)
+   (let ((get (intern (concat "bbdb-record-" (symbol-name field))))
+     (set (intern (concat "bbdb-record-set-" (symbol-name field)))))
+-    (` (let ((old ((, get) (, record)))
++      `(let ((old ((, get) (, record)))
+          (text (, text)))
+      (or (member text old)
+-         ((, set) (, record) (nconc old (list text))))))))
++         ((, set) (, record) (nconc old (list text)))))))
+ 
+ (defcustom bbdb-whois-server (or (and (boundp 'whois-server) whois-server)
+                                  "whois.geektools.com")



Home | Main Index | Thread Index | Old Index