1 |
markusle 07/12/18 16:43:21 |
2 |
|
3 |
Modified: ChangeLog geomview-1.9.4.ebuild |
4 |
geomview-1.9.2.ebuild |
5 |
Removed: geomview-1.8.2_rc9.ebuild geomview-1.8.1-r3.ebuild |
6 |
Log: |
7 |
Updated emacs support and removed old versions (fixes bug #194543). |
8 |
(Portage version: 2.1.4_rc10) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 sci-mathematics/geomview/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 25 Sep 2007 13:39:19 -0000 1.8 |
24 |
+++ ChangeLog 18 Dec 2007 16:43:20 -0000 1.9 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-mathematics/geomview |
27 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/ChangeLog,v 1.8 2007/09/25 13:39:19 markusle Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/ChangeLog,v 1.9 2007/12/18 16:43:20 markusle Exp $ |
30 |
+ |
31 |
+ 18 Dec 2007; Markus Dittrich <markusle@g.o> |
32 |
+ +files/50geomview-gentoo.el, geomview-1.9.2.ebuild, geomview-1.9.4.ebuild, -geomview-1.8.1-r3.ebuild, -geomview-1.8.2_rc9.ebuild, |
33 |
+ -files/geomview-1.8.1-configure.diff, files/geomview-1.8.1-stdiostream.diff: |
34 |
+ Updated emacs support and removed old versions (fixes bug #194543). |
35 |
|
36 |
*geomview-1.9.4 (25 Sep 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.2 sci-mathematics/geomview/geomview-1.9.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild?rev=1.2&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild?rev=1.2&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild?r1=1.1&r2=1.2 |
46 |
|
47 |
Index: geomview-1.9.4.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild,v |
50 |
retrieving revision 1.1 |
51 |
retrieving revision 1.2 |
52 |
diff -u -r1.1 -r1.2 |
53 |
--- geomview-1.9.4.ebuild 25 Sep 2007 13:39:19 -0000 1.1 |
54 |
+++ geomview-1.9.4.ebuild 18 Dec 2007 16:43:20 -0000 1.2 |
55 |
@@ -1,8 +1,8 @@ |
56 |
# Copyright 1999-2007 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild,v 1.1 2007/09/25 13:39:19 markusle Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.4.ebuild,v 1.2 2007/12/18 16:43:20 markusle Exp $ |
60 |
|
61 |
-inherit eutils flag-o-matic fdo-mime |
62 |
+inherit elisp-common eutils flag-o-matic fdo-mime |
63 |
|
64 |
DESCRIPTION="Interactive Geometry Viewer" |
65 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
66 |
@@ -14,6 +14,7 @@ |
67 |
IUSE="avg bzip2 debug emacs netpbm pdf zlib" |
68 |
|
69 |
DEPEND="zlib? ( sys-libs/zlib ) |
70 |
+ emacs? ( virtual/emacs ) |
71 |
virtual/motif |
72 |
virtual/opengl" |
73 |
|
74 |
@@ -32,21 +33,28 @@ |
75 |
virtual/w3m" |
76 |
|
77 |
S="${WORKDIR}/${P/_/-}" |
78 |
+SITEFILE=50${PN}-gentoo.el |
79 |
|
80 |
src_compile() { |
81 |
# GNU standard is /usr/share/doc/${PN}, so override this; also note |
82 |
# that motion averaging is still experimental. |
83 |
if use pdf; then |
84 |
- local myconf="--docdir=/usr/share/doc/${PF}" |
85 |
+ local myconf="--docdir=/usr/share/doc/${PF}" |
86 |
else |
87 |
- local myconf="--docdir=/usr/share/doc/${PF} --without-pdfviewer" |
88 |
+ local myconf="--docdir=/usr/share/doc/${PF} --without-pdfviewer" |
89 |
fi |
90 |
|
91 |
econf ${myconf} $(use_enable debug d1debug) $(use_with zlib) \ |
92 |
- $(use_enable avg motion-averaging) \ |
93 |
- || die "could not configure" |
94 |
+ $(use_enable avg motion-averaging) \ |
95 |
+ || die "could not configure" |
96 |
|
97 |
emake || die "make failed" |
98 |
+ |
99 |
+ if use emacs; then |
100 |
+ cp "${FILESDIR}/gvcl-mode.el" "${S}" |
101 |
+ elisp-compile *.el || die "elisp-compile failed" |
102 |
+ fi |
103 |
+ |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
@@ -54,18 +62,19 @@ |
108 |
|
109 |
doicon "${FILESDIR}"/geomview.png |
110 |
make_desktop_entry geomview "GeomView ${PV}" \ |
111 |
- "/usr/share/pixmaps/geomview.png" \ |
112 |
- "Science;Math;Education" |
113 |
+ "/usr/share/pixmaps/geomview.png" \ |
114 |
+ "Science;Math;Education" |
115 |
|
116 |
dodoc AUTHORS ChangeLog NEWS INSTALL.Geomview |
117 |
|
118 |
if ! use pdf; then |
119 |
- rm "${D}"/usr/share/doc/${PF}/${PN}.pdf |
120 |
+ rm "${D}"/usr/share/doc/${PF}/${PN}.pdf |
121 |
fi |
122 |
|
123 |
if use emacs; then |
124 |
- insinto /usr/share/geomview |
125 |
- doins "${FILESDIR}"/gvcl-mode.el || die |
126 |
+ elisp-install ${PN} *.el *.elc|| die "elisp-install failed" |
127 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || \ |
128 |
+ die "elisp-site-file-install failed" |
129 |
fi |
130 |
} |
131 |
|
132 |
@@ -79,14 +88,11 @@ |
133 |
elog "you wish to use an alternate PDF viewer, feel free to remove" |
134 |
elog "xpdf and use the viewer of your choice (see the docs for how" |
135 |
elog "to setup the \'(ui-pdf-viewer VIEWER)\' GCL-command)." |
136 |
- elog "" |
137 |
- elog "If you use emacs, enable the corresponding use flag and check" |
138 |
- elog "out the provided mode file for editing the GeomView command" |
139 |
- elog "language (courtesy of Claus-Justus Heine). Incorporating it" |
140 |
- elog "into your emacs configuration is left as an exercise..." |
141 |
- elog "" |
142 |
+ |
143 |
+ use emacs && elisp-site-regen |
144 |
} |
145 |
|
146 |
pkg_postrm() { |
147 |
fdo-mime_desktop_database_update |
148 |
+ use emacs && elisp-site-regen |
149 |
} |
150 |
|
151 |
|
152 |
|
153 |
1.5 sci-mathematics/geomview/geomview-1.9.2.ebuild |
154 |
|
155 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild?rev=1.5&view=markup |
156 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild?rev=1.5&content-type=text/plain |
157 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild?r1=1.4&r2=1.5 |
158 |
|
159 |
Index: geomview-1.9.2.ebuild |
160 |
=================================================================== |
161 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild,v |
162 |
retrieving revision 1.4 |
163 |
retrieving revision 1.5 |
164 |
diff -u -r1.4 -r1.5 |
165 |
--- geomview-1.9.2.ebuild 13 Jul 2007 05:28:09 -0000 1.4 |
166 |
+++ geomview-1.9.2.ebuild 18 Dec 2007 16:43:20 -0000 1.5 |
167 |
@@ -1,6 +1,6 @@ |
168 |
# Copyright 1999-2007 Gentoo Foundation |
169 |
# Distributed under the terms of the GNU General Public License v2 |
170 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild,v 1.4 2007/07/13 05:28:09 mr_bones_ Exp $ |
171 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild,v 1.5 2007/12/18 16:43:20 markusle Exp $ |
172 |
|
173 |
inherit eutils flag-o-matic fdo-mime |
174 |
|
175 |
@@ -50,9 +50,9 @@ |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
- emake DESTDIR=${D} install || die "emake install failed" |
180 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
181 |
|
182 |
- doicon ${FILESDIR}/geomview.png |
183 |
+ doicon "${FILESDIR}"/geomview.png |
184 |
make_desktop_entry geomview "GeomView ${PV}" \ |
185 |
"/usr/share/pixmaps/geomview.png" \ |
186 |
"Science;Math;Education" |
187 |
@@ -60,12 +60,12 @@ |
188 |
dodoc AUTHORS ChangeLog NEWS INSTALL.Geomview |
189 |
|
190 |
if ! use pdf; then |
191 |
- rm ${D}usr/share/doc/${PF}/${PN}.pdf |
192 |
+ rm "${D}"usr/share/doc/${PF}/${PN}.pdf |
193 |
fi |
194 |
|
195 |
if use emacs; then |
196 |
insinto /usr/share/geomview |
197 |
- doins ${FILESDIR}/gvcl-mode.el || die |
198 |
+ doins "${FILESDIR}"/gvcl-mode.el || die |
199 |
fi |
200 |
} |
201 |
|
202 |
|
203 |
|
204 |
|
205 |
-- |
206 |
gentoo-commits@g.o mailing list |