1 |
ulm 14/07/28 16:33:41 |
2 |
|
3 |
Added: bbdb-3.1.2-no-init.patch 50bbdb-gentoo-3.1.2.el |
4 |
Log: |
5 |
Version bump, bug 511572. |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: bbdb-3.1.2-no-init.patch |
16 |
=================================================================== |
17 |
Patch from upstream, backported to bbdb-3.1.2. |
18 |
|
19 |
From e028f4d8f04c3db663db023cf5a630461cfda2bd Mon Sep 17 00:00:00 2001 |
20 |
From: Roland Winkler <winkler@×××.org> |
21 |
Date: Wed, 23 Jul 2014 03:27:09 +0000 |
22 |
Subject: Do not load init file or site file for byte compilation |
23 |
|
24 |
--- bbdb-3.1.2-orig/lisp/Makefile.am |
25 |
+++ bbdb-3.1.2/lisp/Makefile.am |
26 |
@@ -20,6 +20,9 @@ |
27 |
# You should have received a copy of the GNU General Public License |
28 |
# along with BBDB. If not, see <http://www.gnu.org/licenses/>. |
29 |
|
30 |
+# --batch implies --no-init-file, yet let's be explicit about what we want |
31 |
+AM_ELCFLAGS += --no-init-file --no-site-file |
32 |
+ |
33 |
dist_lisp_LISP = \ |
34 |
bbdb.el \ |
35 |
bbdb-anniv.el \ |
36 |
@@ -70,10 +73,11 @@ |
37 |
@echo "" >> $@; |
38 |
# Generated autoload-file must have an absolute path, |
39 |
# $srcdir can be relative. |
40 |
- $(EMACS) -batch -l autoload \ |
41 |
+ $(EMACS) --batch $(AM_ELCFLAGS) $(ELCFLAGS) \ |
42 |
+ --load autoload \ |
43 |
--eval '(setq generated-autoload-file "'$(abs_builddir)/$@'")' \ |
44 |
--eval '(setq make-backup-files nil)' \ |
45 |
- -f batch-update-autoloads $(srcdir) |
46 |
+ --funcall batch-update-autoloads $(srcdir) |
47 |
|
48 |
# Generate bbdb-site.el here as pkgdatadir is only known at "make" time. |
49 |
# We protect the autoconf variables in the sed regular expressions |
50 |
--- bbdb-3.1.2-orig/lisp/makefile-temp |
51 |
+++ bbdb-3.1.2/lisp/makefile-temp |
52 |
@@ -43,13 +43,16 @@ |
53 |
EMACSOPT = |
54 |
|
55 |
# The actual Emacs command run in the targets below. |
56 |
-emacs = LC_ALL=C $(EMACS) --batch --directory=./ $(EMACSOPT) |
57 |
+# --batch implies --no-init-file, yet let's be explicit about what we want |
58 |
+emacs = LC_ALL=C $(EMACS) --batch --no-init-file --no-site-file \ |
59 |
+ --directory=./ $(EMACSOPT) |
60 |
+emacs_compile = $(emacs) --funcall batch-byte-compile |
61 |
|
62 |
-# If you want to use BBDB with VM this should point to your vm/lisp directory. |
63 |
-# See also the target all below. |
64 |
+# VM is not part of GNU Emacs. If you want to use BBDB with VM |
65 |
+# then the variable VMDIR should point to your vm/lisp directory. |
66 |
VMDIR = |
67 |
|
68 |
-VM = -eval '(unless (string-match "$(VMDIR)" "") (push "$(VMDIR)" load-path))' |
69 |
+VM = -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path))' |
70 |
|
71 |
.SUFFIXES: .elc .el .tar .Z .gz .uu |
72 |
|
73 |
@@ -89,51 +92,50 @@ |
74 |
@echo "" >> $@; |
75 |
# Generated autoload-file must have an absolute path, |
76 |
# $(srcdir) can be relative. |
77 |
- $(emacs) -l autoload \ |
78 |
+ $(emacs) --load autoload \ |
79 |
--eval '(setq generated-autoload-file "'`pwd`/$@'")' \ |
80 |
--eval '(setq make-backup-files nil)' \ |
81 |
- -f batch-update-autoloads `pwd` |
82 |
+ --funcall batch-update-autoloads `pwd` |
83 |
|
84 |
.el.elc: |
85 |
- $(emacs) -f batch-byte-compile $< |
86 |
+ $(emacs_compile) $< |
87 |
|
88 |
# Not perfect, but better than nothing: If we do not have / do not use |
89 |
# autotools, we simply copy bbdb-site.el.in to bbdb-site.el. |
90 |
bbdb-site.el: bbdb-site.el.in |
91 |
$(CP) $< $@ |
92 |
bbdb-site.elc: bbdb-site.el |
93 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
94 |
+ $(emacs_compile) $(@:.elc=.el) |
95 |
|
96 |
bbdb.elc: bbdb.el bbdb-site.elc |
97 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
98 |
+ $(emacs_compile) $(@:.elc=.el) |
99 |
|
100 |
bbdb-com.elc: bbdb-com.el bbdb.elc |
101 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
102 |
+ $(emacs_compile) $(@:.elc=.el) |
103 |
bbdb-mua.elc: bbdb-mua.el bbdb-com.elc |
104 |
- $(emacs) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \ |
105 |
- -f batch-byte-compile $(@:.elc=.el) |
106 |
+ $(emacs_compile) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \ |
107 |
+ $(@:.elc=.el) |
108 |
bbdb-rmail.elc: bbdb-rmail.el bbdb-mua.elc |
109 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
110 |
+ $(emacs_compile) $(@:.elc=.el) |
111 |
bbdb-gnus.elc: bbdb-gnus.el bbdb-mua.elc |
112 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
113 |
+ $(emacs_compile) $(@:.elc=.el) |
114 |
bbdb-mhe.elc: bbdb-mhe.el bbdb-mua.elc |
115 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
116 |
-# VM is not part of GNU Emacs |
117 |
+ $(emacs_compile) $(@:.elc=.el) |
118 |
bbdb-vm.elc: bbdb-vm.el bbdb-mua.elc |
119 |
- $(emacs) $(VM) -f batch-byte-compile $(@:.elc=.el) |
120 |
+ $(emacs_compile) $(VM) $(@:.elc=.el) |
121 |
bbdb-sc.elc: bbdb-sc.el bbdb-mua.elc |
122 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
123 |
+ $(emacs_compile) $(@:.elc=.el) |
124 |
|
125 |
bbdb-print.elc: bbdb-print.el bbdb-com.elc |
126 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
127 |
+ $(emacs_compile) $(@:.elc=.el) |
128 |
bbdb-migrate.elc: bbdb-migrate.el bbdb.elc |
129 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
130 |
+ $(emacs_compile) $(@:.elc=.el) |
131 |
bbdb-anniv.elc: bbdb-anniv.el bbdb-com.elc |
132 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
133 |
+ $(emacs_compile) $(@:.elc=.el) |
134 |
bbdb-ispell.elc: bbdb-ispell.el bbdb.elc |
135 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
136 |
+ $(emacs_compile) $(@:.elc=.el) |
137 |
bbdb-snarf.elc: bbdb-snarf.el bbdb-com.elc |
138 |
- $(emacs) -f batch-byte-compile $(@:.elc=.el) |
139 |
+ $(emacs_compile) $(@:.elc=.el) |
140 |
|
141 |
install-el: all |
142 |
$(INSTALL) -d -m 0755 "$(lispdir)/" |
143 |
|
144 |
|
145 |
|
146 |
1.1 app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el |
147 |
|
148 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el?rev=1.1&view=markup |
149 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el?rev=1.1&content-type=text/plain |
150 |
|
151 |
Index: 50bbdb-gentoo-3.1.2.el |
152 |
=================================================================== |
153 |
(add-to-list 'load-path "@SITELISP@") |
154 |
(require 'bbdb-loaddefs) |