1 |
centic 07/10/27 20:15:59 |
2 |
|
3 |
Modified: ChangeLog asymptote-1.29.ebuild |
4 |
Added: asymptote-1.36.ebuild |
5 |
Log: |
6 |
Add 1.36, fixes Bug 196913, Fix repoman reports in 1.29. |
7 |
(Portage version: 2.1.3.15) |
8 |
|
9 |
Revision Changes Path |
10 |
1.13 media-gfx/asymptote/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/ChangeLog?rev=1.13&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/ChangeLog?rev=1.13&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/ChangeLog?r1=1.12&r2=1.13 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v |
19 |
retrieving revision 1.12 |
20 |
retrieving revision 1.13 |
21 |
diff -u -r1.12 -r1.13 |
22 |
--- ChangeLog 7 Oct 2007 09:14:00 -0000 1.12 |
23 |
+++ ChangeLog 27 Oct 2007 20:15:58 -0000 1.13 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for media-gfx/asymptote |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.12 2007/10/07 09:14:00 opfer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.13 2007/10/27 20:15:58 centic Exp $ |
29 |
+ |
30 |
+*asymptote-1.36 (27 Oct 2007) |
31 |
+ |
32 |
+ 27 Oct 2007; Dominik Stadler <centic@g.o> |
33 |
+ +files/asymptote-1.36-configure-ac.patch, |
34 |
+ +files/asymptote-1.36-makefile.patch, asymptote-1.29.ebuild, |
35 |
+ +asymptote-1.36.ebuild: |
36 |
+ Add 1.36, fixes Bug 196913 |
37 |
+ Fix repoman reports in 1.29 |
38 |
|
39 |
*asymptote-1.33-r1 (07 Oct 2007) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.4 media-gfx/asymptote/asymptote-1.29.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild?rev=1.4&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild?rev=1.4&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild?r1=1.3&r2=1.4 |
49 |
|
50 |
Index: asymptote-1.29.ebuild |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild,v |
53 |
retrieving revision 1.3 |
54 |
retrieving revision 1.4 |
55 |
diff -u -r1.3 -r1.4 |
56 |
--- asymptote-1.29.ebuild 28 Aug 2007 21:13:22 -0000 1.3 |
57 |
+++ asymptote-1.29.ebuild 27 Oct 2007 20:15:58 -0000 1.4 |
58 |
@@ -1,6 +1,6 @@ |
59 |
# Copyright 1999-2007 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild,v 1.3 2007/08/28 21:13:22 centic Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild,v 1.4 2007/10/27 20:15:58 centic Exp $ |
63 |
|
64 |
inherit eutils elisp-common |
65 |
|
66 |
@@ -55,10 +55,10 @@ |
67 |
src_unpack() { |
68 |
unpack ${A} |
69 |
|
70 |
- cd ${S} |
71 |
+ cd "${S}" |
72 |
|
73 |
# Fixing fftw and gsl enabling |
74 |
- epatch ${FILESDIR}/${P}-configure-ac.patch |
75 |
+ epatch "${FILESDIR}/${P}-configure-ac.patch" |
76 |
einfo "Patching configure.ac" |
77 |
sed -i \ |
78 |
-e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ |
79 |
@@ -67,7 +67,7 @@ |
80 |
einfo "Building configure" |
81 |
WANT_AUTOCONF=2.5 autoconf |
82 |
|
83 |
- epatch ${FILESDIR}/${P}-makefile.patch |
84 |
+ epatch "${FILESDIR}/${P}-makefile.patch" |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
@@ -94,7 +94,7 @@ |
89 |
target="install" |
90 |
fi |
91 |
|
92 |
- make DESTDIR=${D} ${target} || die "make install failed" |
93 |
+ make DESTDIR="${D}" ${target} || die "make install failed" |
94 |
|
95 |
dodoc BUGS ChangeLog README ReleaseNotes TODO |
96 |
|
97 |
|
98 |
|
99 |
|
100 |
1.1 media-gfx/asymptote/asymptote-1.36.ebuild |
101 |
|
102 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/asymptote-1.36.ebuild?rev=1.1&view=markup |
103 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/asymptote/asymptote-1.36.ebuild?rev=1.1&content-type=text/plain |
104 |
|
105 |
Index: asymptote-1.36.ebuild |
106 |
=================================================================== |
107 |
# Copyright 1999-2007 Gentoo Foundation |
108 |
# Distributed under the terms of the GNU General Public License v2 |
109 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.36.ebuild,v 1.1 2007/10/27 20:15:58 centic Exp $ |
110 |
|
111 |
inherit eutils elisp-common latex-package |
112 |
|
113 |
DESCRIPTION="A vector graphics language that provides a framework for technical drawing" |
114 |
HOMEPAGE="http://asymptote.sourceforge.net/" |
115 |
SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" |
116 |
LICENSE="GPL-2" |
117 |
|
118 |
SLOT="0" |
119 |
KEYWORDS="~amd64 ~x86" |
120 |
|
121 |
IUSE="boehm-gc doc fftw emacs gsl vim-syntax" |
122 |
|
123 |
RDEPEND=">=sys-libs/readline-4.3-r5 |
124 |
>=sys-libs/ncurses-5.4-r5 |
125 |
dev-libs/libsigsegv |
126 |
boehm-gc? ( >=dev-libs/boehm-gc-7.0 ) |
127 |
virtual/tetex |
128 |
fftw? ( >=sci-libs/fftw-3.0.1 ) |
129 |
emacs? ( virtual/emacs ) |
130 |
gsl? ( sci-libs/gsl ) |
131 |
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" |
132 |
DEPEND="${RDEPEND} |
133 |
>=sys-devel/autoconf-2.5 |
134 |
>=sys-devel/bison-1.875 |
135 |
>=sys-devel/flex-2.5.4a-r5 |
136 |
doc? ( >=media-gfx/imagemagick-6.1.3.2 |
137 |
virtual/ghostscript |
138 |
>=sys-apps/texinfo-4.7-r1 )" |
139 |
|
140 |
SITEFILE=64${PN}-gentoo.el |
141 |
|
142 |
pkg_setup() { |
143 |
# checking if Boehm garbage collector was compiled with c++ support |
144 |
if use boehm-gc ; then |
145 |
if ! built_with_use dev-libs/boehm-gc nocxx ; then |
146 |
einfo "dev-libs/boehm-gc has been compiled with nocxx use flag disabled" |
147 |
else |
148 |
echo |
149 |
eerror "You have to rebuild dev-libs/boehm-gc enabling c++ support" |
150 |
die |
151 |
fi |
152 |
fi |
153 |
|
154 |
if ! built_with_use dev-lang/python tk; then |
155 |
eerror "Please reemerge dev-lang/python with 'tk' support or xasy will" |
156 |
eerror "not work. In order to fix this, execute the following:" |
157 |
eerror "echo \"dev-lang/python tk\" >> /etc/portage/package.use" |
158 |
eerror "and reemerge dev-lang/python before emerging asymptote." |
159 |
die "requires dev-lang/python with use-flag 'tk'!!" |
160 |
fi |
161 |
} |
162 |
|
163 |
src_unpack() { |
164 |
unpack ${A} |
165 |
|
166 |
cd "${S}" |
167 |
|
168 |
# Fixing fftw and gsl enabling |
169 |
epatch "${FILESDIR}/${P}-configure-ac.patch" |
170 |
einfo "Patching configure.ac" |
171 |
sed -i \ |
172 |
-e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ |
173 |
configure.ac || die "sed configure.ac failed" |
174 |
|
175 |
einfo "Building configure" |
176 |
WANT_AUTOCONF=2.5 autoconf |
177 |
|
178 |
epatch "${FILESDIR}/${P}-makefile.patch" |
179 |
} |
180 |
|
181 |
src_compile() { |
182 |
for dir in `find /var/cache/fonts -type d`; do addwrite ${dir}; done |
183 |
|
184 |
# for the CPPFLAGS see http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 |
185 |
myconf="--with-latex=/usr/share/texmf/tex/latex --disable-gc-debug CPPFLAGS=-DHAVE_SYS_TYPES_H" |
186 |
if use boehm-gc; then |
187 |
myconf="${myconf} --enable-gc=system" |
188 |
else |
189 |
myconf="${myconf} --disable-gc" |
190 |
fi |
191 |
|
192 |
econf ${myconf} $(use_with fftw) $(use_with gsl) || die "econf failed" |
193 |
emake || die "emake failed" |
194 |
|
195 |
if use emacs ; then |
196 |
elisp-compile base/*.el || die "elisp-compile failed" |
197 |
fi |
198 |
} |
199 |
|
200 |
src_install() { |
201 |
for dir in `find /var/cache/fonts -type d`; do addwrite ${dir}; done |
202 |
|
203 |
if use doc; then |
204 |
target="install-all" |
205 |
else |
206 |
target="install" |
207 |
fi |
208 |
|
209 |
emake DESTDIR="${D}" ${target} || die "emake install failed" |
210 |
|
211 |
dodoc BUGS ChangeLog README ReleaseNotes TODO |
212 |
|
213 |
if use emacs ; then |
214 |
elisp-install ${PN} base/*.el base/*.elc |
215 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
216 |
fi |
217 |
|
218 |
if use vim-syntax ; then |
219 |
insinto /usr/share/vim/vimfiles/syntax |
220 |
doins base/asy.vim |
221 |
insinto /usr/share/vim/vimfiles/ftdetect |
222 |
doins "${FILESDIR}/asy-ftd.vim" |
223 |
fi |
224 |
} |
225 |
|
226 |
pkg_postinst() { |
227 |
latex-package_rehash |
228 |
|
229 |
elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' |
230 |
elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' |
231 |
|
232 |
use emacs && elisp-site-regen |
233 |
} |
234 |
|
235 |
pkg_postrm() { |
236 |
latex-package_rehash |
237 |
use emacs && elisp-site-regen |
238 |
} |
239 |
|
240 |
|
241 |
|
242 |
-- |
243 |
gentoo-commits@g.o mailing list |