1 |
aballier 09/06/17 07:42:20 |
2 |
|
3 |
Modified: ChangeLog lablgtk-2.10.1.ebuild |
4 |
Added: lablgtk-2.12.0.ebuild |
5 |
Log: |
6 |
bump to 2.12.0, bug #271971 and eapi2ify, define eapi before inherit |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.67 dev-ml/lablgtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.67&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.67&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?r1=1.66&r2=1.67 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v |
19 |
retrieving revision 1.66 |
20 |
retrieving revision 1.67 |
21 |
diff -u -r1.66 -r1.67 |
22 |
--- ChangeLog 31 Jul 2008 13:28:02 -0000 1.66 |
23 |
+++ ChangeLog 17 Jun 2009 07:42:20 -0000 1.67 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-ml/lablgtk |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.66 2008/07/31 13:28:02 pchrist Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.67 2009/06/17 07:42:20 aballier Exp $ |
30 |
+ |
31 |
+*lablgtk-2.12.0 (17 Jun 2009) |
32 |
+ |
33 |
+ 17 Jun 2009; Alexis Ballier <aballier@g.o> lablgtk-2.10.1.ebuild, |
34 |
+ +lablgtk-2.12.0.ebuild: |
35 |
+ bump to 2.12.0, bug #271971 and eapi2ify, define eapi before inherit |
36 |
|
37 |
31 Jul 2008; Panagiotis Christopoulos <pchrist@g.o> metadata.xml: |
38 |
Update metadata.xml to include USE flag descriptions. Entries taken from |
39 |
|
40 |
|
41 |
|
42 |
1.8 dev-ml/lablgtk/lablgtk-2.10.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild?rev=1.8&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild?rev=1.8&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild?r1=1.7&r2=1.8 |
47 |
|
48 |
Index: lablgtk-2.10.1.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild,v |
51 |
retrieving revision 1.7 |
52 |
retrieving revision 1.8 |
53 |
diff -u -r1.7 -r1.8 |
54 |
--- lablgtk-2.10.1.ebuild 13 Apr 2008 21:18:32 -0000 1.7 |
55 |
+++ lablgtk-2.10.1.ebuild 17 Jun 2009 07:42:20 -0000 1.8 |
56 |
@@ -1,11 +1,11 @@ |
57 |
-# Copyright 1999-2008 Gentoo Foundation |
58 |
+# Copyright 1999-2009 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild,v 1.7 2008/04/13 21:18:32 aballier Exp $ |
61 |
- |
62 |
-inherit eutils multilib |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild,v 1.8 2009/06/17 07:42:20 aballier Exp $ |
64 |
|
65 |
EAPI="1" |
66 |
|
67 |
+inherit eutils multilib |
68 |
+ |
69 |
IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
70 |
|
71 |
DESCRIPTION="Objective CAML interface for Gtk+2" |
72 |
|
73 |
|
74 |
|
75 |
1.1 dev-ml/lablgtk/lablgtk-2.12.0.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.12.0.ebuild?rev=1.1&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.12.0.ebuild?rev=1.1&content-type=text/plain |
79 |
|
80 |
Index: lablgtk-2.12.0.ebuild |
81 |
=================================================================== |
82 |
# Copyright 1999-2009 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.12.0.ebuild,v 1.1 2009/06/17 07:42:20 aballier Exp $ |
85 |
|
86 |
EAPI="2" |
87 |
|
88 |
inherit eutils multilib |
89 |
|
90 |
IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
91 |
|
92 |
DESCRIPTION="Objective CAML interface for Gtk+2" |
93 |
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html" |
94 |
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz" |
95 |
LICENSE="LGPL-2.1 as-is" |
96 |
|
97 |
RDEPEND=">=x11-libs/gtk+-2.10 |
98 |
>=dev-lang/ocaml-3.10[ocamlopt?] |
99 |
svg? ( >=gnome-base/librsvg-2.2 ) |
100 |
glade? ( >=gnome-base/libglade-2.0.1 ) |
101 |
gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 ) |
102 |
gnome? ( >=gnome-base/gnome-panel-2.4.0 |
103 |
>=gnome-base/libgnomeui-2.4.0 ) |
104 |
opengl? ( >=dev-ml/lablgl-0.98 |
105 |
>=x11-libs/gtkglarea-1.9 ) |
106 |
spell? ( app-text/gtkspell ) |
107 |
sourceview? ( =x11-libs/gtksourceview-1* ) |
108 |
" |
109 |
DEPEND="${RDEPEND} |
110 |
dev-util/pkgconfig" |
111 |
|
112 |
SLOT="2" |
113 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
114 |
|
115 |
src_configure() { |
116 |
econf $(use_enable debug) \ |
117 |
$(use_with svg rsvg) \ |
118 |
$(use_with glade) \ |
119 |
$(use_with gnome gnomeui) \ |
120 |
$(use_with gnome panel) \ |
121 |
$(use_with opengl gl) \ |
122 |
$(use_with spell gtkspell) \ |
123 |
$(use_with sourceview gtksourceview) \ |
124 |
$(use_with gnomecanvas) |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
emake -j1 all || die "make failed" |
129 |
if use ocamlopt; then |
130 |
emake -j1 opt || die "Compiling native code failed" |
131 |
fi |
132 |
} |
133 |
|
134 |
install_examples() { |
135 |
insinto /usr/share/doc/${P}/examples |
136 |
doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm |
137 |
|
138 |
# Install examples for optional components |
139 |
use gnomecanvas && insinto /usr/share/doc/${P}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png |
140 |
use svg && insinto /usr/share/doc/${P}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg |
141 |
use glade && insinto /usr/share/doc/${P}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade* |
142 |
use sourceview && insinto /usr/share/doc/${P}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang |
143 |
use opengl && insinto /usr/share/doc/${P}/examples/GL && doins examples/GL/*.ml |
144 |
use gnome && insinto /usr/share/doc/${P}/examples/panel && doins examples/panel/* |
145 |
} |
146 |
|
147 |
src_install () { |
148 |
emake install DESTDIR="${D}" || die |
149 |
|
150 |
# ocamlfind support |
151 |
dosym /usr/$(get_libdir)/ocaml/lablgtk2 /usr/$(get_libdir)/ocaml/site-packages/lablgtk2 |
152 |
insinto /usr/$(get_libdir)/ocaml/lablgtk2 |
153 |
doins META |
154 |
|
155 |
dodoc CHANGES README CHANGES.API |
156 |
use examples && install_examples |
157 |
} |
158 |
|
159 |
pkg_postinst () { |
160 |
use examples && elog "To run the examples you can use the lablgtk2 toplevel." |
161 |
use examples && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml" |
162 |
} |