1 |
aballier 08/01/02 20:58:56 |
2 |
|
3 |
Modified: lablgtk-2.10.0.ebuild ChangeLog |
4 |
Log: |
5 |
Install all examples, controlled by examples useflag, thanks to gmalecha@×××××.com, bug #203990 |
6 |
(Portage version: 2.1.4_rc14) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 dev-ml/lablgtk/lablgtk-2.10.0.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: lablgtk-2.10.0.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- lablgtk-2.10.0.ebuild 2 Jan 2008 20:50:47 -0000 1.2 |
22 |
+++ lablgtk-2.10.0.ebuild 2 Jan 2008 20:58:55 -0000 1.3 |
23 |
@@ -1,12 +1,12 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild,v 1.2 2008/01/02 20:50:47 aballier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.0.ebuild,v 1.3 2008/01/02 20:58:55 aballier Exp $ |
28 |
|
29 |
inherit eutils multilib |
30 |
|
31 |
EAPI="1" |
32 |
|
33 |
-IUSE="debug doc glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
34 |
+IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg" |
35 |
|
36 |
DESCRIPTION="Objective CAML interface for Gtk+2" |
37 |
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html" |
38 |
@@ -59,7 +59,15 @@ |
39 |
|
40 |
install_examples() { |
41 |
insinto /usr/share/doc/${P}/examples |
42 |
- doins examples/*.ml examples/*.rgb |
43 |
+ doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm |
44 |
+ |
45 |
+ # Install examples for optional components |
46 |
+ use gnomecanvas && insinto /usr/share/doc/${P}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png |
47 |
+ use svg && insinto /usr/share/doc/${P}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg |
48 |
+ use glade && insinto /usr/share/doc/${P}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade* |
49 |
+ use sourceview && insinto /usr/share/doc/${P}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang |
50 |
+ use opengl && insinto /usr/share/doc/${P}/examples/GL && doins examples/GL/*.ml |
51 |
+ use gnome && insinto /usr/share/doc/${P}/examples/panel && doins examples/panel/* |
52 |
} |
53 |
|
54 |
src_install () { |
55 |
@@ -71,10 +79,10 @@ |
56 |
doins META |
57 |
|
58 |
dodoc CHANGES README CHANGES.API |
59 |
- use doc && install_examples |
60 |
+ use examples && install_examples |
61 |
} |
62 |
|
63 |
pkg_postinst () { |
64 |
- use doc && elog "To run the examples you can use the lablgtk2 toplevel." |
65 |
- use doc && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml" |
66 |
+ use examples && elog "To run the examples you can use the lablgtk2 toplevel." |
67 |
+ use examples && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml" |
68 |
} |
69 |
|
70 |
|
71 |
|
72 |
1.56 dev-ml/lablgtk/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.56&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?rev=1.56&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/lablgtk/ChangeLog?r1=1.55&r2=1.56 |
77 |
|
78 |
Index: ChangeLog |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v |
81 |
retrieving revision 1.55 |
82 |
retrieving revision 1.56 |
83 |
diff -u -r1.55 -r1.56 |
84 |
--- ChangeLog 2 Jan 2008 20:50:47 -0000 1.55 |
85 |
+++ ChangeLog 2 Jan 2008 20:58:55 -0000 1.56 |
86 |
@@ -1,6 +1,10 @@ |
87 |
# ChangeLog for dev-ml/lablgtk |
88 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.55 2008/01/02 20:50:47 aballier Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.56 2008/01/02 20:58:55 aballier Exp $ |
91 |
+ |
92 |
+ 02 Jan 2008; Alexis Ballier <aballier@g.o> lablgtk-2.10.0.ebuild: |
93 |
+ Install all examples, controlled by examples useflag, thanks to |
94 |
+ gmalecha@×××××.com, bug #203990 |
95 |
|
96 |
02 Jan 2008; Alexis Ballier <aballier@g.o> lablgtk-2.10.0.ebuild: |
97 |
Add support to not build with ocamlopt |
98 |
|
99 |
|
100 |
|
101 |
-- |
102 |
gentoo-commits@g.o mailing list |