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