1 |
scarabeus 12/05/24 12:43:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qgis-1.7.4.ebuild |
5 |
Removed: qgis-1.4.0.ebuild qgis-1.7.3.ebuild |
6 |
Log: |
7 |
Version bump to latest version. Try to restrain python sip versions to actually work. Add patch to build with gcc-4.7. Fixes bug#405997. Remove older. |
8 |
|
9 |
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.25 sci-geosciences/qgis/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/qgis/ChangeLog?rev=1.25&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/qgis/ChangeLog?rev=1.25&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/qgis/ChangeLog?r1=1.24&r2=1.25 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v |
21 |
retrieving revision 1.24 |
22 |
retrieving revision 1.25 |
23 |
diff -u -r1.24 -r1.25 |
24 |
--- ChangeLog 5 Feb 2012 01:56:14 -0000 1.24 |
25 |
+++ ChangeLog 24 May 2012 12:43:45 -0000 1.25 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for sci-geosciences/qgis |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.24 2012/02/05 01:56:14 floppym Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.25 2012/05/24 12:43:45 scarabeus Exp $ |
31 |
+ |
32 |
+*qgis-1.7.4 (24 May 2012) |
33 |
+ |
34 |
+ 24 May 2012; Tomáš Chvátal <scarabeus@g.o> |
35 |
+ +files/qgis-1.7.4-gcc4.7.patch, +qgis-1.7.4.ebuild, |
36 |
+ -files/qgis-1.4.0-gcc45.patch, -qgis-1.4.0.ebuild, -qgis-1.7.3.ebuild: |
37 |
+ Version bump to latest version. Try to restrain python sip versions to |
38 |
+ actually work. Add patch to build with gcc-4.7. Fixes bug#405997. Remove |
39 |
+ older. |
40 |
|
41 |
05 Feb 2012; Mike Gilbert <floppym@g.o> qgis-1.4.0.ebuild, |
42 |
qgis-1.7.0.ebuild, qgis-1.7.3.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 sci-geosciences/qgis/qgis-1.7.4.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/qgis/qgis-1.7.4.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/qgis/qgis-1.7.4.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: qgis-1.7.4.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/qgis-1.7.4.ebuild,v 1.1 2012/05/24 12:43:45 scarabeus Exp $ |
56 |
|
57 |
EAPI=4 |
58 |
|
59 |
PYTHON_USE_WITH="sqlite" |
60 |
PYTHON_DEPEND="python? 2" |
61 |
inherit python base cmake-utils eutils multilib |
62 |
|
63 |
DESCRIPTION="User friendly Geographic Information System" |
64 |
HOMEPAGE="http://www.qgis.org/" |
65 |
SRC_URI="http://qgis.org/downloads/${P}.tar.bz2 |
66 |
examples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz )" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="examples gps grass gsl postgres python spatialite test" |
72 |
|
73 |
RDEPEND=" |
74 |
dev-libs/expat |
75 |
sci-geosciences/gpsbabel |
76 |
>=sci-libs/gdal-1.6.1[geos,python?] |
77 |
sci-libs/geos |
78 |
sci-libs/gsl |
79 |
x11-libs/qt-core:4 |
80 |
x11-libs/qt-gui:4 |
81 |
x11-libs/qt-svg:4 |
82 |
x11-libs/qt-sql:4 |
83 |
x11-libs/qt-webkit:4 |
84 |
x11-libs/qwt:5[svg] |
85 |
<x11-libs/qwtpolar-1 |
86 |
grass? ( >=sci-geosciences/grass-6.4.0_rc6[python?] ) |
87 |
postgres? ( >=dev-db/postgresql-base-8.4 ) |
88 |
python? ( |
89 |
<dev-python/PyQt4-4.9[X,sql,svg] |
90 |
<dev-python/sip-4.13 |
91 |
) |
92 |
spatialite? ( |
93 |
dev-db/sqlite:3 |
94 |
dev-db/spatialite |
95 |
)" |
96 |
|
97 |
DEPEND="${RDEPEND} |
98 |
sys-devel/bison |
99 |
sys-devel/flex" |
100 |
|
101 |
DOCS=( BUGS CHANGELOG CODING.pdf README ) |
102 |
|
103 |
PATCHES=( |
104 |
"${FILESDIR}/${P}-gcc4.7.patch" |
105 |
) |
106 |
|
107 |
# Does not find the test binaries at all |
108 |
RESTRICT="test" |
109 |
|
110 |
pkg_setup() { |
111 |
if use python ; then |
112 |
python_set_active_version 2 |
113 |
python_pkg_setup |
114 |
fi |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
local mycmakeargs+=( |
119 |
"-DQGIS_MANUAL_SUBDIR=/share/man/" |
120 |
"-DBUILD_SHARED_LIBS=ON" |
121 |
"-DBINDINGS_GLOBAL_INSTALL=ON" |
122 |
"-DQGIS_LIB_SUBDIR=$(get_libdir)" |
123 |
"-DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis" |
124 |
"-DWITH_INTERNAL_SPATIALITE=OFF" |
125 |
"-DWITH_INTERNAL_QWTPOLAR=OFF" |
126 |
"-DPEDANTIC=OFF" |
127 |
"-DWITH_APIDOC=OFF" |
128 |
$(cmake-utils_use_with postgres POSTGRESQL) |
129 |
$(cmake-utils_use_with grass GRASS) |
130 |
$(cmake-utils_use_with python BINDINGS) |
131 |
$(cmake-utils_use python BINDINGS_GLOBAL_INSTALL) |
132 |
$(cmake-utils_use_with spatialite SPATIALITE) |
133 |
$(cmake-utils_use_enable test TESTS) |
134 |
) |
135 |
use grass && mycmakeargs+=( "-DGRASS_PREFIX=/usr/" ) |
136 |
|
137 |
cmake-utils_src_configure |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
cmake-utils_src_install |
142 |
|
143 |
newicon images/icons/qgis-icon.png qgis.png |
144 |
make_desktop_entry qgis "Quantum GIS" qgis |
145 |
|
146 |
if use examples; then |
147 |
insinto /usr/share/doc/${PF}/examples |
148 |
doins -r "${WORKDIR}"/qgis_sample_data/* |
149 |
fi |
150 |
} |
151 |
|
152 |
pkg_postinst() { |
153 |
if use postgres; then |
154 |
elog "If you don't intend to use an external PostGIS server" |
155 |
elog "you should install:" |
156 |
elog " dev-db/postgis" |
157 |
fi |
158 |
} |