1 |
ssuominen 10/05/03 16:12:07 |
2 |
|
3 |
Modified: metadata.xml ChangeLog unixODBC-2.3.0.ebuild |
4 |
Log: |
5 |
New USE flag odbcmanual to control documentation installation (we don't want to pollute USE doc). Link to unixODBC Qt4 GUI project. Install PREFIX related docs only when required. Make ebuild readable and leave it to maintainer-needed. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.6 dev-db/unixODBC/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/metadata.xml?rev=1.6&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/metadata.xml?rev=1.6&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/metadata.xml?r1=1.5&r2=1.6 |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/unixODBC/metadata.xml,v |
18 |
retrieving revision 1.5 |
19 |
retrieving revision 1.6 |
20 |
diff -u -r1.5 -r1.6 |
21 |
--- metadata.xml 2 May 2010 22:33:27 -0000 1.5 |
22 |
+++ metadata.xml 3 May 2010 16:12:07 -0000 1.6 |
23 |
@@ -1,12 +1,12 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
- <herd>php</herd> |
28 |
+ <herd>no-herd</herd> |
29 |
<maintainer> |
30 |
- <email>ssuominen@g.o</email> |
31 |
- <name>Samuli Suominen</name> |
32 |
+ <email>maintainer-needed@g.o</email> |
33 |
</maintainer> |
34 |
<use> |
35 |
- <flag name="minimal">Don't build and install bundled drivers and extra libraries</flag> |
36 |
+ <flag name="minimal">Disable bundled drivers and extra libraries (most users don't need these)</flag> |
37 |
+ <flag name="odbcmanual">Administrator, Internal Structure, Programmer and User documentation</flag> |
38 |
</use> |
39 |
</pkgmetadata> |
40 |
|
41 |
|
42 |
|
43 |
1.81 dev-db/unixODBC/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/ChangeLog?rev=1.81&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/ChangeLog?rev=1.81&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/ChangeLog?r1=1.80&r2=1.81 |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v |
52 |
retrieving revision 1.80 |
53 |
retrieving revision 1.81 |
54 |
diff -u -r1.80 -r1.81 |
55 |
--- ChangeLog 2 May 2010 19:33:21 -0000 1.80 |
56 |
+++ ChangeLog 3 May 2010 16:12:07 -0000 1.81 |
57 |
@@ -1,6 +1,13 @@ |
58 |
# ChangeLog for dev-db/unixODBC |
59 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.80 2010/05/02 19:33:21 ssuominen Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/ChangeLog,v 1.81 2010/05/03 16:12:07 ssuominen Exp $ |
62 |
+ |
63 |
+ 03 May 2010; Samuli Suominen <ssuominen@g.o> unixODBC-2.3.0.ebuild, |
64 |
+ metadata.xml: |
65 |
+ New USE flag odbcmanual to control documentation installation (we don't |
66 |
+ want to pollute USE doc). Link to unixODBC Qt4 GUI project. Install PREFIX |
67 |
+ related docs only when required. Make ebuild readable and leave it to |
68 |
+ maintainer-needed. |
69 |
|
70 |
02 May 2010; Samuli Suominen <ssuominen@g.o> unixODBC-2.3.0.ebuild: |
71 |
Pass --disable-drivers and --disable-driver-conf per upstream default in |
72 |
|
73 |
|
74 |
|
75 |
1.3 dev-db/unixODBC/unixODBC-2.3.0.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild?rev=1.3&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild?rev=1.3&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild?r1=1.2&r2=1.3 |
80 |
|
81 |
Index: unixODBC-2.3.0.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild,v |
84 |
retrieving revision 1.2 |
85 |
retrieving revision 1.3 |
86 |
diff -u -r1.2 -r1.3 |
87 |
--- unixODBC-2.3.0.ebuild 2 May 2010 19:33:21 -0000 1.2 |
88 |
+++ unixODBC-2.3.0.ebuild 3 May 2010 16:12:07 -0000 1.3 |
89 |
@@ -1,6 +1,6 @@ |
90 |
# Copyright 1999-2010 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild,v 1.2 2010/05/02 19:33:21 ssuominen Exp $ |
93 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.0.ebuild,v 1.3 2010/05/03 16:12:07 ssuominen Exp $ |
94 |
|
95 |
EAPI=3 |
96 |
inherit libtool |
97 |
@@ -12,19 +12,23 @@ |
98 |
LICENSE="GPL-2 LGPL-2.1" |
99 |
SLOT="0" |
100 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" |
101 |
-IUSE="+minimal static-libs" |
102 |
+IUSE="+minimal odbcmanual static-libs" |
103 |
|
104 |
-RDEPEND=">=sys-libs/readline-6.0 |
105 |
- >=sys-libs/ncurses-5.6 |
106 |
- >=sys-devel/libtool-2.2.6b" |
107 |
+# needed by libltdl |
108 |
+RDEPEND=">=sys-devel/libtool-2.2.6b |
109 |
+ >=sys-libs/readline-6.0_p4 |
110 |
+ >=sys-libs/ncurses-5.6-r2" |
111 |
+# need to set explicitely, flex will be out of system set in future |
112 |
DEPEND="${RDEPEND} |
113 |
sys-devel/flex" |
114 |
|
115 |
src_prepare() { |
116 |
+ # needed by gfbsd |
117 |
elibtoolize |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
+ # fixme: drivers are full of missing string.h includes |
122 |
econf \ |
123 |
--sysconfdir="${EPREFIX}/etc/${PN}" \ |
124 |
--disable-dependency-tracking \ |
125 |
@@ -35,7 +39,32 @@ |
126 |
|
127 |
src_install() { |
128 |
emake DESTDIR="${D}" install || die |
129 |
+ dodoc AUTHORS ChangeLog NEWS README || die |
130 |
|
131 |
- dodoc AUTHORS ChangeLog NEWS README* |
132 |
- dohtml -a css,gif,html,sql,vsd -r doc/* |
133 |
+ if use prefix; then |
134 |
+ dodoc README* || die |
135 |
+ fi |
136 |
+ |
137 |
+ # avoid abusing too generic USE doc |
138 |
+ if use odbcmanual; then |
139 |
+ dohtml -a css,gif,html,sql,vsd -r doc/* || die |
140 |
+ fi |
141 |
+} |
142 |
+ |
143 |
+pkg_postinst() { |
144 |
+ if ! use minimal; then |
145 |
+ einfo |
146 |
+ einfo "Qt4 frontend moved to:" |
147 |
+ einfo "http://sourceforge.net/projects/unixodbc-gui-qt/" |
148 |
+ einfo |
149 |
+ einfo "Please don't open bugs about it before they do a file release." |
150 |
+ einfo |
151 |
+ fi |
152 |
+ |
153 |
+ # feel free to punt this warning after some time |
154 |
+ ewarn "If you are upgrading from unixODBC 2.2.12 or 2.2.14 to 2.3.0," |
155 |
+ ewarn "it's good idea to re-emerge all unixODBC reverse dependencies now." |
156 |
+ ewarn "See," |
157 |
+ ewarn "http://tinderbox.x86.dev.gentoo.org/misc/rindex/dev-db/unixODBC" |
158 |
+ ewarn "http://tinderbox.x86.dev.gentoo.org/misc/dindex/dev-db/unixODBC" |
159 |
} |