1 |
grozin 10/10/30 10:48:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gle-4.2.3b.ebuild |
5 |
Removed: gle-4.2.2.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.2.0_alpha2/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.12 sci-visualization/gle/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/ChangeLog?rev=1.12&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/ChangeLog?rev=1.12&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/ChangeLog?r1=1.11&r2=1.12 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v |
21 |
retrieving revision 1.11 |
22 |
retrieving revision 1.12 |
23 |
diff -u -r1.11 -r1.12 |
24 |
--- ChangeLog 27 Sep 2010 10:00:15 -0000 1.11 |
25 |
+++ ChangeLog 30 Oct 2010 10:48:16 -0000 1.12 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sci-visualization/gle |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v 1.11 2010/09/27 10:00:15 grozin Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v 1.12 2010/10/30 10:48:16 grozin Exp $ |
31 |
+ |
32 |
+*gle-4.2.3b (30 Oct 2010) |
33 |
+ |
34 |
+ 30 Oct 2010; Andrey Grozin <grozin@g.o> -gle-4.2.2.ebuild, |
35 |
+ -files/gle-4.2.2-parallel.patch, +gle-4.2.3b.ebuild, |
36 |
+ +files/gle-4.2.3b-parallel.patch: |
37 |
+ Version bump |
38 |
|
39 |
*gle-4.2.3 (27 Sep 2010) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-visualization/gle/gle-4.2.3b.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/gle-4.2.3b.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gle/gle-4.2.3b.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gle-4.2.3b.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/gle-4.2.3b.ebuild,v 1.1 2010/10/30 10:48:16 grozin Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit eutils elisp-common qt4 flag-o-matic autotools |
57 |
|
58 |
DESCRIPTION="Graphics Layout Engine" |
59 |
HOMEPAGE="http://glx.sourceforge.net/" |
60 |
MY_P=${PN}-graphics-${PV} |
61 |
MAN_V=4.2.2 |
62 |
SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz |
63 |
doc? ( mirror://sourceforge/glx/${PN}-manual-${MAN_V}.pdf |
64 |
mirror://sourceforge/glx/GLEusersguide.pdf )" |
65 |
SLOT="0" |
66 |
LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )" |
67 |
IUSE="X qt4 jpeg png tiff doc emacs vim-syntax" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
|
70 |
DEPEND="sys-libs/ncurses |
71 |
X? ( x11-libs/libX11 ) |
72 |
qt4? ( x11-libs/qt-gui:4 ) |
73 |
jpeg? ( media-libs/jpeg ) |
74 |
png? ( media-libs/libpng ) |
75 |
tiff? ( media-libs/tiff ) |
76 |
emacs? ( virtual/emacs )" |
77 |
|
78 |
RDEPEND="${DEPEND} |
79 |
app-text/ghostscript-gpl |
80 |
virtual/latex-base |
81 |
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" |
82 |
|
83 |
S="${WORKDIR}"/${MY_P} |
84 |
|
85 |
src_prepare() { |
86 |
epatch "${FILESDIR}"/${P}-parallel.patch |
87 |
eaclocal |
88 |
eautoconf |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
# CPPFLAGS are understood as C++ flags |
93 |
append-cppflags ${CXXFLAGS} |
94 |
econf \ |
95 |
--without-rpath \ |
96 |
--with-manip \ |
97 |
$(use_with qt4 qt /usr) \ |
98 |
$(use_with X x) \ |
99 |
$(use_with jpeg) \ |
100 |
$(use_with png) \ |
101 |
$(use_with tiff) |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
emake || die "emake failed" |
106 |
if use emacs; then |
107 |
cd contrib/editors/highlighting |
108 |
mv ${PN}-emacs.el ${PN}-mode.el |
109 |
elisp-compile ${PN}-mode.el || die |
110 |
fi |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
# -jN failed to install some data files |
115 |
emake -j1 DESTDIR="${D}" install || die "emake install failed" |
116 |
#emake DESTDIR="${D}" install || die "emake install failed" |
117 |
rmdir "${D}"/usr/share/doc/gle-graphics || die "rmdir gle-graphics failed" |
118 |
dodoc README.txt |
119 |
|
120 |
if use qt4; then |
121 |
newicon src/gui/images/gle_icon.png gle.png |
122 |
make_desktop_entry qgle GLE gle |
123 |
newdoc src/gui/readme.txt gui_readme.txt |
124 |
fi |
125 |
|
126 |
if use doc; then |
127 |
insinto /usr/share/doc/${PF} |
128 |
doins "${DISTDIR}"/${PN}-manual-${MAN_V}.pdf \ |
129 |
"${DISTDIR}"/GLEusersguide.pdf |
130 |
fi |
131 |
|
132 |
if use emacs; then |
133 |
elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc} || die |
134 |
elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die |
135 |
fi |
136 |
|
137 |
if use vim-syntax ; then |
138 |
dodir /usr/share/vim/vimfiles/ftplugins \ |
139 |
/usr/share/vim/vimfiles/indent \ |
140 |
/usr/share/vim/vimfiles/syntax |
141 |
cd contrib/editors/highlighting/vim |
142 |
chmod 644 ftplugin/* indent/* syntax/* |
143 |
insinto /usr/share/vim/vimfiles/ftplugins |
144 |
doins ftplugin/* || die |
145 |
insinto /usr/share/vim/vimfiles/indent |
146 |
doins indent/* || die |
147 |
insinto /usr/share/vim/vimfiles/syntax |
148 |
doins syntax/* || die |
149 |
fi |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
use emacs && elisp-site-regen |
154 |
} |
155 |
|
156 |
pkg_postrm() { |
157 |
use emacs && elisp-site-regen |
158 |
} |