1 |
aballier 08/02/26 12:57:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lablgtk-2.10.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.57 dev-ml/lablgtk/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.57&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.57&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?r1=1.56&r2=1.57 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v |
19 |
retrieving revision 1.56 |
20 |
retrieving revision 1.57 |
21 |
diff -u -r1.56 -r1.57 |
22 |
--- ChangeLog 2 Jan 2008 20:58:55 -0000 1.56 |
23 |
+++ ChangeLog 26 Feb 2008 12:57:53 -0000 1.57 |
24 |
@@ -1,6 +1,11 @@ |
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.56 2008/01/02 20:58:55 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.57 2008/02/26 12:57:53 aballier Exp $ |
29 |
+ |
30 |
+*lablgtk-2.10.1 (26 Feb 2008) |
31 |
+ |
32 |
+ 26 Feb 2008; Alexis Ballier <aballier@g.o> +lablgtk-2.10.1.ebuild: |
33 |
+ version bump |
34 |
|
35 |
02 Jan 2008; Alexis Ballier <aballier@g.o> lablgtk-2.10.0.ebuild: |
36 |
Install all examples, controlled by examples useflag, thanks to |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-ml/lablgtk/lablgtk-2.10.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: lablgtk-2.10.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild,v 1.1 2008/02/26 12:57:53 aballier Exp $ |
50 |
|
51 |
inherit eutils multilib |
52 |
|
53 |
EAPI="1" |
54 |
|
55 |
IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
56 |
|
57 |
DESCRIPTION="Objective CAML interface for Gtk+2" |
58 |
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html" |
59 |
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz" |
60 |
LICENSE="LGPL-2.1 as-is" |
61 |
|
62 |
DEPEND=">=x11-libs/gtk+-2.10 |
63 |
>=dev-lang/ocaml-3.07 |
64 |
dev-util/pkgconfig |
65 |
svg? ( >=gnome-base/librsvg-2.2 ) |
66 |
glade? ( >=gnome-base/libglade-2.0.1 ) |
67 |
gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 ) |
68 |
gnome? ( >=gnome-base/gnome-panel-2.4.0 |
69 |
>=gnome-base/libgnomeui-2.4.0 ) |
70 |
opengl? ( >=dev-ml/lablgl-0.98 |
71 |
>=x11-libs/gtkglarea-1.9 ) |
72 |
spell? ( app-text/gtkspell ) |
73 |
sourceview? ( =x11-libs/gtksourceview-1* ) |
74 |
" |
75 |
|
76 |
SLOT="2" |
77 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
78 |
|
79 |
pkg_setup() { |
80 |
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
81 |
eerror "In order to build ${PN} with native code support from ocaml" |
82 |
eerror "You first need to have a native code ocaml compiler." |
83 |
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." |
84 |
die "Please install ocaml with ocamlopt useflag" |
85 |
fi |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
econf $(use_enable debug) \ |
90 |
$(use_with svg rsvg) \ |
91 |
$(use_with glade) \ |
92 |
$(use_with gnome gnomeui) \ |
93 |
$(use_with gnome panel) \ |
94 |
$(use_with opengl gl) \ |
95 |
$(use_with spell gtkspell) \ |
96 |
$(use_with sourceview gtksourceview) \ |
97 |
$(use_with gnomecanvas) \ |
98 |
|| die "configure failed" |
99 |
|
100 |
emake -j1 all || die "make failed" |
101 |
if use ocamlopt; then |
102 |
emake -j1 opt || die "Compiling native code failed" |
103 |
fi |
104 |
} |
105 |
|
106 |
install_examples() { |
107 |
insinto /usr/share/doc/${P}/examples |
108 |
doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm |
109 |
|
110 |
# Install examples for optional components |
111 |
use gnomecanvas && insinto /usr/share/doc/${P}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png |
112 |
use svg && insinto /usr/share/doc/${P}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg |
113 |
use glade && insinto /usr/share/doc/${P}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade* |
114 |
use sourceview && insinto /usr/share/doc/${P}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang |
115 |
use opengl && insinto /usr/share/doc/${P}/examples/GL && doins examples/GL/*.ml |
116 |
use gnome && insinto /usr/share/doc/${P}/examples/panel && doins examples/panel/* |
117 |
} |
118 |
|
119 |
src_install () { |
120 |
emake install DESTDIR="${D}" || die |
121 |
|
122 |
# ocamlfind support |
123 |
dosym /usr/$(get_libdir)/ocaml/lablgtk2 /usr/$(get_libdir)/ocaml/site-packages/lablgtk2 |
124 |
insinto /usr/$(get_libdir)/ocaml/lablgtk2 |
125 |
doins META |
126 |
|
127 |
dodoc CHANGES README CHANGES.API |
128 |
use examples && install_examples |
129 |
} |
130 |
|
131 |
pkg_postinst () { |
132 |
use examples && elog "To run the examples you can use the lablgtk2 toplevel." |
133 |
use examples && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml" |
134 |
} |
135 |
|
136 |
|
137 |
|
138 |
-- |
139 |
gentoo-commits@l.g.o mailing list |