pkgsrc-WIP-changes archive

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

(flim) Add patch to convert string-to-int to string-to-number for emacs26, verifed with emacs 20,21,24,25,26



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Wed Dec 28 22:44:26 2016 +0900
Changeset:	5ca4a170356dee71c23bf655dcc25e1fdffd8fc8

Modified Files:
	Makefile
Added Files:
	flim/DESCR
	flim/Makefile
	flim/PLIST
	flim/buildlink3.mk
	flim/distinfo
	flim/patches/patch-ab
	flim/patches/patch-ac
	flim/patches/patch-mime-parse.el

Log Message:
(flim) Add patch to convert string-to-int to string-to-number for emacs26, verifed with emacs 20,21,24,25,26

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5ca4a170356dee71c23bf655dcc25e1fdffd8fc8

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

diffstat:
 Makefile                         |  2 +
 flim/DESCR                       | 20 ++++++++
 flim/Makefile                    | 68 +++++++++++++++++++++++++++
 flim/PLIST                       | 99 ++++++++++++++++++++++++++++++++++++++++
 flim/buildlink3.mk               | 17 +++++++
 flim/distinfo                    |  9 ++++
 flim/patches/patch-ab            | 16 +++++++
 flim/patches/patch-ac            | 16 +++++++
 flim/patches/patch-mime-parse.el | 24 ++++++++++
 9 files changed, 271 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 68e6731..5559fd4 100644
--- a/Makefile
+++ b/Makefile
@@ -749,6 +749,8 @@ SUBDIR+=	flexdock
 SUBDIR+=	flexdump
 SUBDIR+=	flightgear
 SUBDIR+=	flightgear-data
+SUBDIR+=	flim
+SUBDIR+=	flimp
 SUBDIR+=	flimp
 SUBDIR+=	flimsel
 SUBDIR+=	flite2
diff --git a/flim/DESCR b/flim/DESCR
new file mode 100644
index 0000000..88da846
--- /dev/null
+++ b/flim/DESCR
@@ -0,0 +1,20 @@
+FLIM is a library to provide basic features about message
+representation or encoding.
+
+std11.el	--- STD 11 (RFC 822) parser and utility
+mime.el	--- to provide various services about MIME-entities
+  mime-def.el --- Definitions about MIME format
+  mime-parse.el --- MIME parser
+  mel.el --- MIME encoder/decoder
+	mel-b-dl.el --- base64 (B-encoding) encoder/decoder
+	mel-b-ccl.el --- base64 (B-encoding) encoder/decoder
+	mel-b-en.el --- base64 (B-encoding) encoder/decoder
+	mel-q-ccl.el --- quoted-printable and Q-encoding
+			 encoder/decoder (using CCL)
+	mel-q.el--- quoted-printable and Q-encoding
+			encoder/decoder
+	mel-u.el--- unofficial backend for uuencode
+	mel-g.el--- unofficial backend for gzip64
+  eword-decode.el --- encoded-word decoder
+  eword-encode.el --- encoded-word encoder
+mailcap.el	--- mailcap parser and utility
diff --git a/flim/Makefile b/flim/Makefile
new file mode 100644
index 0000000..301e9ae
--- /dev/null
+++ b/flim/Makefile
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.38 2016/12/12 11:42:49 hauke Exp $
+
+DISTNAME=	flim-1.14.9
+PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
+PKGREVISION=	4
+CATEGORIES=	devel
+MASTER_SITES=	http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-1.14/
+
+MAINTAINER=	tech-pkg-ja%jp.NetBSD.org@localhost
+HOMEPAGE=	http://git.chise.org/elisp/flim/
+COMMENT=	Emacs lisp library for message representation/encoding
+LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3
+
+BUILD_DEPENDS+=	qkc-[0-9]*:../../converters/qkc
+
+INSTALLATION_DIRS+=	${EMACS_LISPPREFIX:C|^${PREFIX}/||}/flim \
+			${EMACS_INFOPREFIX:C|^${PREFIX}/||}
+
+BUILD_TARGET=	${BUILD_TARGET.${EMACS_FLAVOR}}
+INSTALL_TARGET=	${INSTALL_TARGET.${EMACS_FLAVOR}}
+MAKEFLAGS=	${MAKEFLAGS.${EMACS_FLAVOR}}
+
+USE_TOOLS+=	makeinfo
+INFO_FILES=	yes
+TEXINFO_REQD=	4.5
+
+BUILD_TARGET.emacs=	elc
+BUILD_TARGET.xemacs=	package
+INSTALL_TARGET.emacs=	install
+INSTALL_TARGET.xemacs=	install-package
+MAKEFLAGS.emacs+=	EMACS=${EMACS_BIN}
+MAKEFLAGS.xemacs+=	XEMACS=${EMACS_BIN} \
+			PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
+
+EMACS_MODULES=	base
+EMACS_BUILDLINK=	# empty
+
+post-build:
+	cd ${WRKSRC}; for i in mime-en mime-ja; do			\
+		${RM} -f $${i}.info*;					\
+		${CP} $${i}.texi $${i}.texi.orig;			\
+		${LOCALBASE}/bin/qkc -Oeu $${i}.texi.orig >$${i}.texi;	\
+		makeinfo --force --no-validate $${i}.texi;		\
+	done
+
+do-install: plist
+	cd ${WRKSRC};							\
+	grep -v '^@' ${PLIST} | grep -E '/site-(|packages/)lisp/flim/' | \
+	while read file; do						\
+		file=$$( basename $$file );				\
+		${INSTALL_DATA} $$file					\
+		    ${DESTDIR}${EMACS_LISPPREFIX}/flim/$$file;		\
+	done
+
+post-install:
+	cd ${WRKSRC}; for f in mime-*.info mime-*.info-[0-9]*; do	\
+		${TEST} ! -f "$$f" ||					\
+		${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX};	\
+	done
+
+.include "../../wip/emacs-git/modules.mk"
+
+.if (${EMACS_FLAVOR} != "xemacs")
+BUILDLINK_API_DEPENDS.apel+=	apel>=10.7
+.include "../../wip/apel-git/buildlink3.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/flim/PLIST b/flim/PLIST
new file mode 100644
index 0000000..bc42fa2
--- /dev/null
+++ b/flim/PLIST
@@ -0,0 +1,99 @@
+@comment $NetBSD: PLIST,v 1.10 2010/07/24 06:57:42 wiz Exp $
+${EMACS_INFOPREFIX}/mime-en.info
+${EMACS_INFOPREFIX}/mime-ja.info
+${FOR_xemacs214}${EMACS_LISPPREFIX}/flim/auto-autoloads.el
+${FOR_xemacs214}${EMACS_LISPPREFIX}/flim/auto-autoloads.elc
+${FOR_xemacs214}${EMACS_LISPPREFIX}/flim/custom-load.el
+${FOR_xemacs214}${EMACS_LISPPREFIX}/flim/custom-load.elc
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/auto-autoloads.el
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/auto-autoloads.elc
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/custom-load.el
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/custom-load.elc
+${EMACS_LISPPREFIX}/flim/eword-decode.el
+${EMACS_LISPPREFIX}/flim/eword-decode.elc
+${EMACS_LISPPREFIX}/flim/eword-encode.el
+${EMACS_LISPPREFIX}/flim/eword-encode.elc
+${EMACS_LISPPREFIX}/flim/hex-util.el
+${EMACS_LISPPREFIX}/flim/hex-util.elc
+${EMACS_LISPPREFIX}/flim/hmac-def.el
+${EMACS_LISPPREFIX}/flim/hmac-def.elc
+${EMACS_LISPPREFIX}/flim/hmac-md5.el
+${EMACS_LISPPREFIX}/flim/hmac-md5.elc
+${EMACS_LISPPREFIX}/flim/hmac-sha1.el
+${EMACS_LISPPREFIX}/flim/hmac-sha1.elc
+${EMACS_LISPPREFIX}/flim/luna.el
+${EMACS_LISPPREFIX}/flim/luna.elc
+${EMACS_LISPPREFIX}/flim/lunit.el
+${EMACS_LISPPREFIX}/flim/lunit.elc
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/mailcap.el
+${FOR_xemacs215}${EMACS_LISPPREFIX}/flim/mailcap.elc
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/md4.el
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/md4.elc
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/md4.el
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/md4.elc
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/md4.el
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/md4.elc
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/md5-el.el
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/md5-el.elc
+${EMACS_LISPPREFIX}/flim/md5.el
+${EMACS_LISPPREFIX}/flim/md5.elc
+${EMACS_LISPPREFIX}/flim/mel-b-ccl.el
+${EMACS_LISPPREFIX}/flim/mel-b-ccl.elc
+${EMACS_LISPPREFIX}/flim/mel-b-el.el
+${EMACS_LISPPREFIX}/flim/mel-b-el.elc
+${EMACS_LISPPREFIX}/flim/mel-g.el
+${EMACS_LISPPREFIX}/flim/mel-g.elc
+${EMACS_LISPPREFIX}/flim/mel-q-ccl.el
+${EMACS_LISPPREFIX}/flim/mel-q-ccl.elc
+${EMACS_LISPPREFIX}/flim/mel-q.el
+${EMACS_LISPPREFIX}/flim/mel-q.elc
+${EMACS_LISPPREFIX}/flim/mel-u.el
+${EMACS_LISPPREFIX}/flim/mel-u.elc
+${EMACS_LISPPREFIX}/flim/mel.el
+${EMACS_LISPPREFIX}/flim/mel.elc
+${EMACS_LISPPREFIX}/flim/mime-conf.el
+${EMACS_LISPPREFIX}/flim/mime-conf.elc
+${EMACS_LISPPREFIX}/flim/mime-def.el
+${EMACS_LISPPREFIX}/flim/mime-def.elc
+${EMACS_LISPPREFIX}/flim/mime-parse.el
+${EMACS_LISPPREFIX}/flim/mime-parse.elc
+${EMACS_LISPPREFIX}/flim/mime.el
+${EMACS_LISPPREFIX}/flim/mime.elc
+${EMACS_LISPPREFIX}/flim/mmbuffer.el
+${EMACS_LISPPREFIX}/flim/mmbuffer.elc
+${EMACS_LISPPREFIX}/flim/mmcooked.el
+${EMACS_LISPPREFIX}/flim/mmcooked.elc
+${EMACS_LISPPREFIX}/flim/mmexternal.el
+${EMACS_LISPPREFIX}/flim/mmexternal.elc
+${EMACS_LISPPREFIX}/flim/mmgeneric.el
+${EMACS_LISPPREFIX}/flim/mmgeneric.elc
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/ntlm.el
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/ntlm.elc
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/ntlm.el
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/ntlm.elc
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/ntlm.el
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/ntlm.elc
+${EMACS_LISPPREFIX}/flim/qmtp.el
+${EMACS_LISPPREFIX}/flim/qmtp.elc
+${EMACS_LISPPREFIX}/flim/sasl-cram.el
+${EMACS_LISPPREFIX}/flim/sasl-cram.elc
+${EMACS_LISPPREFIX}/flim/sasl-digest.el
+${EMACS_LISPPREFIX}/flim/sasl-digest.elc
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/sasl-ntlm.el
+${FOR_emacs20}${EMACS_LISPPREFIX}/flim/sasl-ntlm.elc
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/sasl-ntlm.el
+${FOR_emacs21}${EMACS_LISPPREFIX}/flim/sasl-ntlm.elc
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/sasl-ntlm.el
+${FOR_emacs22}${EMACS_LISPPREFIX}/flim/sasl-ntlm.elc
+${EMACS_LISPPREFIX}/flim/sasl-scram.el
+${EMACS_LISPPREFIX}/flim/sasl-scram.elc
+${EMACS_LISPPREFIX}/flim/sasl.el
+${EMACS_LISPPREFIX}/flim/sasl.elc
+${EMACS_LISPPREFIX}/flim/sha1-el.el
+${EMACS_LISPPREFIX}/flim/sha1-el.elc
+${EMACS_LISPPREFIX}/flim/sha1.el
+${EMACS_LISPPREFIX}/flim/sha1.elc
+${EMACS_LISPPREFIX}/flim/smtp.el
+${EMACS_LISPPREFIX}/flim/smtp.elc
+${EMACS_LISPPREFIX}/flim/std11.el
+${EMACS_LISPPREFIX}/flim/std11.elc
diff --git a/flim/buildlink3.mk b/flim/buildlink3.mk
new file mode 100644
index 0000000..7d349b3
--- /dev/null
+++ b/flim/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:13 joerg Exp $
+#
+
+BUILDLINK_TREE+=	flim
+
+.if !defined(FLIM_BUILDLINK3_MK)
+FLIM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.flim+=	${EMACS_PKGNAME_PREFIX}flim>=1.14
+BUILDLINK_PKGSRCDIR.flim?=	../../devel/flim
+
+BUILDLINK_CONTENTS_FILTER.flim=	${EGREP} '.*\.el$$|.*\.elc$$'
+
+.include "../../wip/apel-git/buildlink3.mk"
+.endif # FLIM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-flim
diff --git a/flim/distinfo b/flim/distinfo
new file mode 100644
index 0000000..2cbac71
--- /dev/null
+++ b/flim/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.11 2015/11/03 03:27:26 agc Exp $
+
+SHA1 (flim-1.14.9.tar.gz) = fc3f1ecfa757d83b10693dc74d890a1ad7db7abd
+RMD160 (flim-1.14.9.tar.gz) = d7fb99ffabe477afd958589e8e386b7d4e628822
+SHA512 (flim-1.14.9.tar.gz) = a272a30f27cea24f537b9bf3a6dbb25113deff0ab8e1c03bd802e4d32d673d567d282297ed9e4d35217f069699a1fc25bfdde09778171a188dfa46f49e9bb7dd
+Size (flim-1.14.9.tar.gz) = 182065 bytes
+SHA1 (patch-ab) = 3351e64e3e54c379cf4fd2bf3e5c29b2c247d02d
+SHA1 (patch-ac) = c2e17d653d0e8d8182c070d82b7cf1458968c049
+SHA1 (patch-mime-parse.el) = 3b0b833498bf44759985402981d678594a2ffaba
diff --git a/flim/patches/patch-ab b/flim/patches/patch-ab
new file mode 100644
index 0000000..5e73a34
--- /dev/null
+++ b/flim/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2003/04/13 04:16:18 uebayasi Exp $
+
+Add missing directory entry
+
+--- mime-en.texi.orig	Wed Oct  9 00:50:05 2002
++++ mime-en.texi
+@@ -11,6 +11,9 @@
+ @top FLIM 1.14 Reference Manual about MIME Features
+ 
+ @ifinfo
++@direntry
++* FLIM: (mime-en).     FLIM, a fundamental library to process Internet Messages for GNU Emacsen.
++@end direntry
+ 
+ This file documents MIME features of FLIM, a fundamental library to
+ process Internet Messages for GNU Emacsen.
diff --git a/flim/patches/patch-ac b/flim/patches/patch-ac
new file mode 100644
index 0000000..ed815d5
--- /dev/null
+++ b/flim/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.2 2003/04/17 04:56:34 uebayasi Exp $
+
+Add missing directory entry
+
+--- mime-ja.texi.orig	Wed Oct  9 00:50:05 2002
++++ mime-ja.texi
+@@ -11,6 +11,9 @@
+ @top FLIM 1.14 MIME 機能説明書
+ 
+ @ifinfo
++@direntry
++* FLIM-ja: (mime-ja).     FLIM, a fundamental library to process Internet Messages for GNU Emacsen.
++@end direntry
+ 
+ This file documents MIME features of FLIM, a fundamental library to
+ process Internet Messages for GNU Emacsen.@refill
diff --git a/flim/patches/patch-mime-parse.el b/flim/patches/patch-mime-parse.el
new file mode 100644
index 0000000..a2230c0
--- /dev/null
+++ b/flim/patches/patch-mime-parse.el
@@ -0,0 +1,24 @@
+$NetBSD$
+
+string-to-int -> string-to-number
+
+--- mime-parse.el~	2005-07-06 11:09:04.000000000 +0900
++++ mime-parse.el	2016-12-28 10:41:55.000000000 +0900
+@@ -97,7 +97,7 @@ be the result."
+     (insert text)
+     (goto-char (point-min))
+     (while (re-search-forward "%[0-9A-Fa-f][0-9A-Fa-f]" nil t)
+-      (insert (prog1 (string-to-int
++      (insert (prog1 (string-to-number
+ 		      (buffer-substring (point)(- (point) 2))
+ 		      16)
+                 (delete-region (point)(- (point) 3)))))
+@@ -147,7 +147,7 @@ property of the decoded-value."
+           (let* ((attribute (downcase
+ 			     (substring (car params) 0 (match-end 1))))
+                  (section (if (match-beginning 2)
+-			      (string-to-int
++			      (string-to-number
+ 			       (substring (car params)
+ 					  (1+ (match-beginning 2))
+ 					  (match-end 2)))


Home | Main Index | Thread Index | Old Index