1 |
ulm 08/01/22 11:20:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: a2ps-4.13c-r6.ebuild |
5 |
Log: |
6 |
Fix Emacs support, bug 202331. |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.65 app-text/a2ps/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/a2ps/ChangeLog?rev=1.65&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/a2ps/ChangeLog?rev=1.65&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/a2ps/ChangeLog?r1=1.64&r2=1.65 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v |
19 |
retrieving revision 1.64 |
20 |
retrieving revision 1.65 |
21 |
diff -u -r1.64 -r1.65 |
22 |
--- ChangeLog 24 May 2007 17:52:25 -0000 1.64 |
23 |
+++ ChangeLog 22 Jan 2008 11:20:54 -0000 1.65 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-text/a2ps |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.64 2007/05/24 17:52:25 beandog Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.65 2008/01/22 11:20:54 ulm Exp $ |
30 |
+ |
31 |
+*a2ps-4.13c-r6 (22 Jan 2008) |
32 |
+ |
33 |
+ 22 Jan 2008; Ulrich Mueller <ulm@g.o> +files/50a2ps-gentoo.el, |
34 |
+ +a2ps-4.13c-r6.ebuild: |
35 |
+ Fix Emacs support, bug 202331. |
36 |
|
37 |
24 May 2007; Steve Dibb <beandog@g.o> a2ps-4.13c-r5.ebuild: |
38 |
Fix mktemp deps for x86-fbsd |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/a2ps/a2ps-4.13c-r6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/a2ps/a2ps-4.13c-r6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/a2ps/a2ps-4.13c-r6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: a2ps-4.13c-r6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r6.ebuild,v 1.1 2008/01/22 11:20:54 ulm Exp $ |
52 |
|
53 |
WANT_AUTOCONF="latest" |
54 |
WANT_AUTOMAKE="latest" |
55 |
|
56 |
inherit eutils autotools elisp-common |
57 |
|
58 |
S=${WORKDIR}/${PN}-${PV:0:4} |
59 |
DESCRIPTION="Any to PostScript filter" |
60 |
HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/" |
61 |
SRC_URI="mirror://gentoo/${P}.tar.gz |
62 |
cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="cjk emacs nls tetex vanilla" |
68 |
|
69 |
DEPEND=">=dev-util/gperf-2.7.2 |
70 |
|| ( >=dev-util/yacc-1.9.1 sys-devel/bison ) |
71 |
virtual/ghostscript |
72 |
>=app-text/psutils-1.17 |
73 |
emacs? ( virtual/emacs ) |
74 |
tetex? ( virtual/tetex ) |
75 |
nls? ( sys-devel/gettext )" |
76 |
RDEPEND="virtual/ghostscript |
77 |
|| ( sys-apps/mktemp sys-freebsd/freebsd-ubin ) |
78 |
>=app-text/psutils-1.17 |
79 |
emacs? ( virtual/emacs ) |
80 |
tetex? ( virtual/tetex ) |
81 |
nls? ( virtual/libintl )" |
82 |
|
83 |
SITEFILE=50${PN}-gentoo.el |
84 |
|
85 |
src_unpack() { |
86 |
unpack ${P}.tar.gz |
87 |
cd "${S}" |
88 |
|
89 |
epatch "${FILESDIR}/${PN}-4.13-select-freebsd.patch" |
90 |
epatch "${FILESDIR}/${P}-locale-gentoo.diff" |
91 |
epatch "${FILESDIR}/${PN}-4.13c-stdarg.patch" |
92 |
use vanilla || epatch "${FILESDIR}/${PN}-4.13-stdout.diff" |
93 |
epatch "${FILESDIR}/${PV}-gcc34.patch" |
94 |
use cjk && epatch "${DISTDIR}/${P}-ja_nls.patch.gz" |
95 |
|
96 |
# improve tempfile handling |
97 |
epatch "${FILESDIR}/${P}-fixps.patch" |
98 |
epatch "${FILESDIR}/${P}-psmandup.diff" |
99 |
|
100 |
# fix fnmatch replacement, bug #134546 |
101 |
epatch "${FILESDIR}/${P}-fnmatch-replacement.patch" |
102 |
|
103 |
# fix sandbox violation, bug #79012 |
104 |
sed -i -e 's:$acroread -helpall:acroread4 -helpall:' configure configure.in |
105 |
|
106 |
# fix emacs printing, bug #114627 |
107 |
epatch "${FILESDIR}/a2ps-4.13c-emacs.patch" |
108 |
|
109 |
# fix psset with sed-4.1, bug #126403 |
110 |
epatch "${FILESDIR}/a2ps-4.13c-psset.patch" |
111 |
|
112 |
# fix >=autoconf-2.60, bug 138161 |
113 |
epatch "${FILESDIR}/a2ps-4.13-fixcachecheck.patch" |
114 |
|
115 |
# fix chmod error, #167670 |
116 |
epatch "${FILESDIR}/a2ps-4.13-manpage-chmod.patch" |
117 |
|
118 |
AT_M4DIR="m4" eautoreconf || die "eautoreconf failed" |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat |
123 |
addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat.tmp |
124 |
addpredict /usr/$(get_libdir)/mozilla-firefox/components/compreg.dat.tmp |
125 |
|
126 |
addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat |
127 |
addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat.tmp |
128 |
|
129 |
#export YACC=yacc |
130 |
econf --sysconfdir=/etc/a2ps \ |
131 |
--includedir=/usr/include \ |
132 |
$(useq emacs || echo EMACS=no) \ |
133 |
$(use_enable nls) || die "econf failed" |
134 |
|
135 |
export LANG=C |
136 |
|
137 |
# sometimes emake doesn't work |
138 |
make || die "make failed" |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
einstall \ |
143 |
sysconfdir=${D}/etc/a2ps \ |
144 |
includedir=${D}/usr/include \ |
145 |
lispdir="${D}${SITELISP}/${PN}" \ |
146 |
|| die "einstall failed" |
147 |
|
148 |
dosed /etc/a2ps/a2ps.cfg |
149 |
|
150 |
# bug #122026 |
151 |
sed -i "s:^countdictstack: \0:" "${D}"/usr/bin/psset || die "sed failed" |
152 |
|
153 |
if use emacs; then |
154 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
155 |
|| die "elisp-site-file-install failed" |
156 |
fi |
157 |
|
158 |
dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
use emacs && elisp-site-regen |
163 |
} |
164 |
|
165 |
pkg_postrm() { |
166 |
use emacs && elisp-site-regen |
167 |
} |
168 |
|
169 |
|
170 |
|
171 |
-- |
172 |
gentoo-commits@l.g.o mailing list |