1 |
robbat2 10/02/19 21:41:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libodbc++-0.2.5.ebuild |
5 |
Log: |
6 |
Bug #282982: version bump. Upstream build system has lots of bugs however, so there is no longer any isql++ CLI tool, nor non-mt Qt build, as neither of them build. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.19 dev-db/libodbc++/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libodbc++/ChangeLog?rev=1.19&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libodbc++/ChangeLog?rev=1.19&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libodbc++/ChangeLog?r1=1.18&r2=1.19 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v |
19 |
retrieving revision 1.18 |
20 |
retrieving revision 1.19 |
21 |
diff -p -w -b -B -u -u -r1.18 -r1.19 |
22 |
--- ChangeLog 16 Dec 2009 11:06:40 -0000 1.18 |
23 |
+++ ChangeLog 19 Feb 2010 21:41:22 -0000 1.19 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-db/libodbc++ |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.18 2009/12/16 11:06:40 ssuominen Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/ChangeLog,v 1.19 2010/02/19 21:41:22 robbat2 Exp $ |
30 |
+ |
31 |
+*libodbc++-0.2.5 (19 Feb 2010) |
32 |
+ |
33 |
+ 19 Feb 2010; Robin H. Johnson <robbat2@g.o> |
34 |
+ +libodbc++-0.2.5.ebuild: |
35 |
+ Bug #282982: version bump. Upstream build system has lots of bugs however, |
36 |
+ so there is no longer any isql++ CLI tool, nor non-mt Qt build, as neither |
37 |
+ of them build. |
38 |
|
39 |
16 Dec 2009; Samuli Suominen <ssuominen@g.o> |
40 |
libodbc++-0.2.3-r2.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-db/libodbc++/libodbc++-0.2.5.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.5.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.5.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: libodbc++-0.2.5.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.5.ebuild,v 1.1 2010/02/19 21:41:22 robbat2 Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit eutils flag-o-matic |
57 |
|
58 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86" |
59 |
|
60 |
DESCRIPTION="Libodbc++ is a c++ class library that provides a subset of the well-known JDBC 2.0(tm) and runs on top of ODBC." |
61 |
SRC_URI="mirror://sourceforge/libodbcxx/${P}.tar.bz2" |
62 |
HOMEPAGE="http://libodbcxx.sourceforge.net/" |
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT=0 |
65 |
IUSE="qt3" |
66 |
|
67 |
DEPEND="dev-db/unixODBC |
68 |
sys-libs/ncurses" |
69 |
RDEPEND="${DEPEND}" |
70 |
|
71 |
SB="${S}-build" |
72 |
SB_MT="${S}-build-mt" |
73 |
# non-mt QT does not build presently. |
74 |
#SB_QT="${S}-build_qt" |
75 |
SB_QT_MT="${S}-build_qt-mt" |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
cd "${S}" |
80 |
#epatch "${FILESDIR}"/${PN}-0.2.3-std-streamsize.patch |
81 |
epatch "${FILESDIR}"/${PN}-0.2.3-doxygen.patch |
82 |
epatch "${FILESDIR}"/${PN}-0.2.3-gcc41.patch |
83 |
#epatch "${FILESDIR}"/${PN}-0.2.3-gcc43.patch |
84 |
#epatch "${FILESDIR}"/${PN}-0.2.3-typecast.patch |
85 |
epatch "${FILESDIR}"/${PN}-0.2.3-gcc44.patch |
86 |
|
87 |
# Fix configure to use ncurses instead of termcap (bug #103105) |
88 |
sed -i -e 's~termcap~ncurses~g' configure |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
local commonconf buildlist |
93 |
commonconf="--with-odbc=/usr --without-tests" |
94 |
commonconf="${commonconf} --enable-static --enable-shared" |
95 |
# " --enable-threads" |
96 |
|
97 |
export ECONF_SOURCE="${S}" |
98 |
append-flags -DODBCXX_DISABLE_READLINE_HACK |
99 |
|
100 |
buildlist="${SB} ${SB_MT}" |
101 |
use qt3 && buildlist="${buildlist} $SB_QT $SB_QT_MT" |
102 |
|
103 |
for sd in ${buildlist}; do |
104 |
einfo "Doing configure pass for $sd" |
105 |
mkdir -p "${sd}" |
106 |
cd "${sd}" |
107 |
commonconf2='' |
108 |
LIBS='' |
109 |
[ "${sd}" == "${SB_MT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --enable-threads" |
110 |
[ "${sd}" == "${SB_QT}" -o "${sd}" == "${SB_QT_MT}" ] && commonconf2="${commonconf2} --with-qt" |
111 |
# isql++ tool fails to compile: |
112 |
#libodbc++-0.2.5/isql++/isql++.cpp: In constructor 'Isql::Isql(odbc::Connection*)': |
113 |
#libodbc++-0.2.5/isql++/isql++.cpp:275: error: invalid cast to function type 'char** ()()' |
114 |
#[ "${sd}" == "${SB}" ] && commonconf2="${commonconf2} --with-isqlxx" |
115 |
# Upstream configure is broken as well, passing --without or |
116 |
# --with-isqlxx=no will turn it ON instead of forcing it off. |
117 |
#commonconf2="${commonconf2} _-without-isqlxx" |
118 |
[ "${sd}" == "${SB_QT}" ] && commonconf2="${commonconf2} --with-qtsqlxx" |
119 |
export LIBS |
120 |
# using without-qt breaks the build |
121 |
#--without-qt \ |
122 |
econf \ |
123 |
${commonconf} \ |
124 |
${commonconf2} \ |
125 |
|| die "econf failed" |
126 |
done |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
local buildlist failures |
131 |
buildlist="${SB} ${SB_MT}" |
132 |
use qt3 && buildlist="${buildlist} $SB_QT $SB_QT_MT" |
133 |
for sd in ${buildlist}; do |
134 |
einfo "Doing compile pass for $sd" |
135 |
cd "${sd}" |
136 |
emake LIBS='' || failures="${failures} ${sd//${S}-}" |
137 |
done |
138 |
[ -n "${failures}" ] && die "Failures: ${failures}" |
139 |
} |
140 |
|
141 |
src_install () { |
142 |
cd "${S}" |
143 |
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO |
144 |
|
145 |
buildlist="${SB} ${SB_MT}" |
146 |
use qt3 && buildlist="${buildlist} $SB_QT $SB_QT_MT" |
147 |
for sd in ${buildlist}; do |
148 |
einfo "Doing install pass for $sd" |
149 |
cd ${sd} |
150 |
emake DESTDIR="${D}" install || die "make install failed" |
151 |
done |
152 |
} |