pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/bbdb2



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Jun  5 02:27:31 UTC 2022

Added Files:
        pkgsrc/misc/bbdb2: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/misc/bbdb2/patches: patch-aa patch-lisp_bbdb-com.el
            patch-lisp_bbdb-mhe.el patch-lisp_bbdb-whois.el

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/bbdb2/DESCR pkgsrc/misc/bbdb2/Makefile \
    pkgsrc/misc/bbdb2/PLIST pkgsrc/misc/bbdb2/buildlink3.mk \
    pkgsrc/misc/bbdb2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/bbdb2/patches/patch-aa \
    pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-com.el \
    pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-mhe.el \
    pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-whois.el

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/bbdb2/DESCR
diff -u /dev/null pkgsrc/misc/bbdb2/DESCR:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/DESCR     Sun Jun  5 02:27:31 2022
@@ -0,0 +1,2 @@
+The Insidious Big Brother DataBase is an emacs-based contact manager
+that integrates itself into your mail and news clients.
Index: pkgsrc/misc/bbdb2/Makefile
diff -u /dev/null pkgsrc/misc/bbdb2/Makefile:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/Makefile  Sun Jun  5 02:27:31 2022
@@ -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"
Index: pkgsrc/misc/bbdb2/PLIST
diff -u /dev/null pkgsrc/misc/bbdb2/PLIST:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/PLIST     Sun Jun  5 02:27:31 2022
@@ -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
Index: pkgsrc/misc/bbdb2/buildlink3.mk
diff -u /dev/null pkgsrc/misc/bbdb2/buildlink3.mk:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/buildlink3.mk     Sun Jun  5 02:27:31 2022
@@ -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
Index: pkgsrc/misc/bbdb2/distinfo
diff -u /dev/null pkgsrc/misc/bbdb2/distinfo:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/distinfo  Sun Jun  5 02:27:31 2022
@@ -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

Index: pkgsrc/misc/bbdb2/patches/patch-aa
diff -u /dev/null pkgsrc/misc/bbdb2/patches/patch-aa:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/patches/patch-aa  Sun Jun  5 02:27:31 2022
@@ -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
Index: pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-com.el
diff -u /dev/null pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-com.el:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-com.el    Sun Jun  5 02:27:31 2022
@@ -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
Index: pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-mhe.el
diff -u /dev/null pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-mhe.el:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-mhe.el    Sun Jun  5 02:27:31 2022
@@ -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)
Index: pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-whois.el
diff -u /dev/null pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-whois.el:1.1
--- /dev/null   Sun Jun  5 02:27:32 2022
+++ pkgsrc/misc/bbdb2/patches/patch-lisp_bbdb-whois.el  Sun Jun  5 02:27:31 2022
@@ -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