1 |
darkside 08/06/26 23:32:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gambas-2.7.0.ebuild |
5 |
Log: |
6 |
Version bump, bug #146871 |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.22-gentoo-r2 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.46 dev-util/gambas/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gambas/ChangeLog?rev=1.46&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gambas/ChangeLog?rev=1.46&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gambas/ChangeLog?r1=1.45&r2=1.46 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v |
19 |
retrieving revision 1.45 |
20 |
retrieving revision 1.46 |
21 |
diff -u -r1.45 -r1.46 |
22 |
--- ChangeLog 18 Jun 2008 02:24:59 -0000 1.45 |
23 |
+++ ChangeLog 26 Jun 2008 23:32:09 -0000 1.46 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for dev-util/gambas |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.45 2008/06/18 02:24:59 darkside Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/ChangeLog,v 1.46 2008/06/26 23:32:09 darkside Exp $ |
29 |
+ |
30 |
+*gambas-2.7.0 (26 Jun 2008) |
31 |
+ |
32 |
+ 26 Jun 2008; Jeremy Olexa <darkside@g.o> |
33 |
+ +files/gambas-2.5.0-gcc-libffi-path.patch, |
34 |
+ +files/gambas-2.5.0-mimetype-registration.patch, |
35 |
+ +files/gambas-2.5.0-sdl.patch, +files/gambas-2.7.0-help-path.patch, |
36 |
+ +gambas-2.7.0.ebuild: |
37 |
+ Version bump, bug #146871 |
38 |
|
39 |
18 Jun 2008; Jeremy Olexa <darkside@g.o> gambas-1.0.14.ebuild, |
40 |
gambas-1.0.16.ebuild, gambas-1.0.17.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-util/gambas/gambas-2.7.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gambas/gambas-2.7.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/gambas/gambas-2.7.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gambas-2.7.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.7.0.ebuild,v 1.1 2008/06/26 23:32:09 darkside Exp $ |
54 |
|
55 |
inherit autotools eutils qt3 |
56 |
|
57 |
MY_P="${PN}2-${PV}" |
58 |
|
59 |
DESCRIPTION="Gambas is a free development environment based on a Basic interpreter with object extensions" |
60 |
HOMEPAGE="http://gambas.sourceforge.net" |
61 |
|
62 |
SRC_URI="mirror://sourceforge/gambas/${MY_P}.tar.bz2" |
63 |
LICENSE="GPL-2" |
64 |
|
65 |
SLOT="2" |
66 |
|
67 |
KEYWORDS="~x86" |
68 |
IUSE="bzip2 corba curl firebird gtk kde mysql odbc opengl pcre pdf postgres qt3 sdl smtp sqlite sqlite3 svg v4l xml zlib" |
69 |
|
70 |
DEPEND="" |
71 |
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) |
72 |
corba? ( >=net-misc/omniORB-4.1.0 ) |
73 |
curl? ( >=net-misc/curl-7.15.5-r1 ) |
74 |
firebird? ( >=dev-db/firebird-2.1.0.17755_rc2-r1 ) |
75 |
gtk? ( >=x11-libs/gtk+-2.10.14 ) |
76 |
kde? ( >=kde-base/kdelibs-3.5.9-r1 ) |
77 |
mysql? ( >=virtual/mysql-5.0 ) |
78 |
odbc? ( >=dev-db/unixODBC-2.2.12 ) |
79 |
opengl? ( >=media-libs/mesa-7.0.2 ) |
80 |
pcre? ( >=dev-libs/libpcre-7.6-r1 ) |
81 |
pdf? ( >=app-text/poppler-0.5.3 ) |
82 |
postgres? ( >=virtual/postgresql-base-8.2 ) |
83 |
qt3? ( $(qt_min_version 3.2) ) |
84 |
sdl? ( >=media-libs/sdl-image-1.2.6-r1 >=media-libs/sdl-mixer-1.2.7 ) |
85 |
smtp? ( >=dev-libs/glib-2.16.2 ) |
86 |
sqlite? ( =dev-db/sqlite-2* ) |
87 |
sqlite3? ( >=dev-db/sqlite-3.5.6 ) |
88 |
svg? ( >=gnome-base/librsvg-2.16.1-r2 ) |
89 |
v4l? ( >=media-libs/libpng-1.2.26 >=media-libs/jpeg-6b-r8 ) |
90 |
xml? ( >=dev-libs/libxml2-2.6.31 >=dev-libs/libxslt-1.1.22 ) |
91 |
zlib? ( >=sys-libs/zlib-1.2.3-r1 )" |
92 |
|
93 |
S="${WORKDIR}/${MY_P}" |
94 |
|
95 |
pkg_setup() { |
96 |
if ( !(built_with_use sys-devel/gcc libffi) ); then |
97 |
die "gcc needs to be build with the USE flag libffi" |
98 |
fi |
99 |
|
100 |
if ( !( use gtk ) ); then |
101 |
use svg && die "SVG support depends on GTK being enabled" |
102 |
fi |
103 |
|
104 |
ewarn |
105 |
ewarn "Your CFLAGS and LDFLAGS from make.conf are not handled correctly" |
106 |
ewarn "They are currently ignored and replaced with internal values" |
107 |
ewarn |
108 |
|
109 |
### v4l linux kernel support check needed? |
110 |
} |
111 |
|
112 |
src_unpack() { |
113 |
unpack ${A} |
114 |
cd "${S}" |
115 |
|
116 |
sed -i -e 's/gb_enable_\$1=yes/gb_enable_\$1=no/' \ |
117 |
acinclude.m4 \ |
118 |
|| die "sed no-automagic-patch failed" |
119 |
|
120 |
sed -i -e 's/@QT_LDFLAGS@/\${QT_LDFLAGS}/' \ |
121 |
gb.qt/src/Makefile.am \ |
122 |
gb.qt/src/ext/Makefile.am \ |
123 |
gb.qt/src/opengl/Makefile.am \ |
124 |
|| die "sed qt_ldflags-patch failed" |
125 |
|
126 |
epatch "${FILESDIR}/${PN}-2.5.0-gcc-libffi-path.patch" |
127 |
epatch "${FILESDIR}/${PN}-2.5.0-sdl.patch" |
128 |
epatch "${FILESDIR}/${PN}-2.7.0-help-path.patch" |
129 |
epatch "${FILESDIR}/${PN}-2.5.0-mimetype-registration.patch" |
130 |
|
131 |
eautoreconf || die "eautoreconf failed" |
132 |
} |
133 |
|
134 |
src_compile() { |
135 |
local myconf |
136 |
local myconf_main |
137 |
local myconf_qt |
138 |
local myconf_xml |
139 |
|
140 |
myconf="$(use_enable bzip2 bzlib2) |
141 |
$(use_enable zlib) |
142 |
$(use_enable mysql) |
143 |
$(use_enable odbc) |
144 |
$(use_enable postgres postgresql) |
145 |
$(use_enable sqlite sqlite2) |
146 |
$(use_enable sqlite3) |
147 |
$(use_enable firebird) |
148 |
$(use_enable gtk) |
149 |
$(use_enable svg gtksvg) |
150 |
$(use_enable pdf) |
151 |
--enable-net |
152 |
$(use_enable curl) |
153 |
$(use_enable smtp) |
154 |
$(use_enable pcre) |
155 |
$(use_enable qt3 qt) |
156 |
--disable-qte |
157 |
$(use_enable kde) |
158 |
$(use_enable sdl) |
159 |
$(use_enable sdl sdlsound) |
160 |
$(use_enable xml) |
161 |
$(use_enable v4l) |
162 |
--enable-crypt |
163 |
$(use_enable opengl) |
164 |
$(use_enable corba) |
165 |
--enable-image |
166 |
--enable-desktop" |
167 |
|
168 |
myconf_main="--enable-intl |
169 |
--enable-conv |
170 |
--enable-ffi |
171 |
--enable-preloading" |
172 |
|
173 |
if (use qt); then |
174 |
myconf_qt="$(use_enable opengl qtopengl) |
175 |
--enable-qt-translation " |
176 |
fi |
177 |
|
178 |
myconf_xml="$(use_enable xml xslt)" |
179 |
|
180 |
econf ${myconf} ${myconf_main} ${myconf_qt} ${myconf_xml} \ |
181 |
--enable-optimization --disable-debug --disable-profiling \ |
182 |
--docdir=/usr/share/doc/${PF} --htmldir=/usr/share/doc/${PF}/html \ |
183 |
|| die "econf failed" |
184 |
|
185 |
emake || die "emake failed" |
186 |
} |
187 |
|
188 |
src_install() { |
189 |
emake DESTDIR="${D}" install -j1 || die "emake install failed" |
190 |
|
191 |
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
ewarn |
196 |
ewarn "This ebuild currently does not create menu items and does not handle Gambas" |
197 |
ewarn "mime installation correctly" |
198 |
ewarn |
199 |
} |
200 |
|
201 |
|
202 |
|
203 |
-- |
204 |
gentoo-commits@l.g.o mailing list |