summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-06-12 17:09:56 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-06-12 17:09:56 +0000
commitc719dd7f6c68c8cd830a8447231dab9d6c732b0f (patch)
tree64245a747969b98000f6bfa8bd4c25fb175d9919 /sci-geosciences/qgis
parentMove to eapi4. Punt .la files. Run eselect only if really required for preten... (diff)
downloadhistorical-c719dd7f6c68c8cd830a8447231dab9d6c732b0f.tar.gz
historical-c719dd7f6c68c8cd830a8447231dab9d6c732b0f.tar.bz2
historical-c719dd7f6c68c8cd830a8447231dab9d6c732b0f.zip
Version bump to the latest. Drop 1.5.0.
Package-Manager: portage-2.2.0_alpha40/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences/qgis')
-rw-r--r--sci-geosciences/qgis/ChangeLog9
-rw-r--r--sci-geosciences/qgis/Manifest16
-rw-r--r--sci-geosciences/qgis/files/qgis-1.5.0-qset.patch44
-rw-r--r--sci-geosciences/qgis/files/qgis-1.5.0-sip.patch76
-rw-r--r--sci-geosciences/qgis/metadata.xml3
-rw-r--r--sci-geosciences/qgis/qgis-1.7.0.ebuild (renamed from sci-geosciences/qgis/qgis-1.5.0.ebuild)66
6 files changed, 49 insertions, 165 deletions
diff --git a/sci-geosciences/qgis/ChangeLog b/sci-geosciences/qgis/ChangeLog
index 6cb2d85b7f12..6737986b182b 100644
--- a/sci-geosciences/qgis/ChangeLog
+++ b/sci-geosciences/qgis/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-geosciences/qgis
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.18 2011/03/06 09:17:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.19 2011/06/12 17:09:56 scarabeus Exp $
+
+*qgis-1.7.0 (12 Jun 2011)
+
+ 12 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> -qgis-1.5.0.ebuild,
+ -files/qgis-1.5.0-qset.patch, -files/qgis-1.5.0-sip.patch,
+ +qgis-1.7.0.ebuild, metadata.xml:
+ Version bump to the latest. Drop 1.5.0.
06 Mar 2011; Justin Lecher <jlec@gentoo.org> qgis-1.5.0.ebuild:
Moved to slotted qwt
diff --git a/sci-geosciences/qgis/Manifest b/sci-geosciences/qgis/Manifest
index 502147580dfc..d5f463b0f37a 100644
--- a/sci-geosciences/qgis/Manifest
+++ b/sci-geosciences/qgis/Manifest
@@ -2,19 +2,17 @@
Hash: SHA1
AUX qgis-1.4.0-gcc45.patch 536 RMD160 78966492091d7b9a249fce13d892881d82d25d5a SHA1 6ea4ea20d346a4f4df7bb043f779afebd831a606 SHA256 909d0699d8c203ff3198261d46de770ed3b6da3b9d77be7315c895539564b922
-AUX qgis-1.5.0-qset.patch 1278 RMD160 c52429cbbee4737731dbbe3bc68a5e39e194d050 SHA1 2cf1e98b8c14d62d097aee18a8bdeb12efa7028a SHA256 2e6736744ab05f453a05d03bfbbe06d8115e77ed1d3664a9357e83a433adeaf2
-AUX qgis-1.5.0-sip.patch 2754 RMD160 c17e7ef79894e94406a9bf26f928026e5df2a3d9 SHA1 41d123b2415d863d8358ca88cc933f6788aea984 SHA256 2be600d2f303f442f6d42eeaa5149ada49aad5d279b5f50bdd6262620ead82ee
+DIST qgis-1.7.0.tar.bz2 23420823 RMD160 49303eab754f1e7febce388e657253563f65abed SHA1 e60f40e72c92f187d3725e6b93c13691d63a7fa7 SHA256 4b871e841832c9a4f3cee1981198c30850983d73c848684832fa913167671a34
DIST qgis_1.4.0.tar.gz 17285943 RMD160 47486732c8fe37aa6864d09c7420be22de5ea802 SHA1 105f353f36e9625d1eb15f1a315882f214dbe026 SHA256 bbe07eedec4bda95cca994002941b91fd0e50d5cdee2bf79be0c4f7b930cc7da
-DIST qgis_1.5.0.tar.gz 17360308 RMD160 bd371640740c4f6d589d5bb9f2677a0de46d4895 SHA1 f17b1a1175bdfad6f8a005470bfbb70eaeaf806a SHA256 f99748e3948b97894703dc81c2a3eba1f2796651e581957cc2c61c9b9dbab470
DIST qgis_sample_data.tar.gz 13601736 RMD160 048f6f984a8f2a03b0700896acfd6d345d53f1d0 SHA1 024aac8ac32c41ee9fe507599d197644c78f87a1 SHA256 a31c54056776e8476e1f959870830f850423645cfb80d88811f3b365c29f2b4a
EBUILD qgis-1.4.0.ebuild 2576 RMD160 50e73148c4888d745d395c7b048c42d31cfcc48d SHA1 e8b40ed3c76c1d7544dff465af8c301e5f02a156 SHA256 35ed320ec0ca0cccbd5841dee6f4cac66d0790bc819b41f75c43e3db0e110065
-EBUILD qgis-1.5.0.ebuild 2507 RMD160 46180632c9dd1fc8fa3f70df590518c887bf3740 SHA1 c7c2bb80d0124dabb8f65ec1ee478273afe79b3c SHA256 0a1e6fc2b2303ba27b4d603aee39b6c4e229b7092413bdc55d35ffae26e5a7ca
-MISC ChangeLog 2900 RMD160 3cbf7eadaea08d02a4fe9fb16ae0daac947a6347 SHA1 0761ae52cdcc9cc9dd244583d08bbaf520c08d1e SHA256 451100982101eb767f05be7f2cd5dad7439437cead0c6676ff5c940a34c7f364
-MISC metadata.xml 664 RMD160 586f9cc0e1fcdf0f7610a749dfd766b468487196 SHA1 45e80ed6b803f6e8cec7b25cd32443a17efe519d SHA256 85807d824103a40c5e236cdf9fc287c0bf70b511274818a2242ac6efc203ff21
+EBUILD qgis-1.7.0.ebuild 2485 RMD160 4260ab3ab043c1356a645b3017c89b5263f4f1e5 SHA1 5611a59cf0e636d6d9ec7aea077978349bd41bc7 SHA256 113496dfaa5a180221cbe1ffaa0d21a3a669a80797c94ae496c0465c28b92421
+MISC ChangeLog 3147 RMD160 7fe49b272a3beaa8cacff17d492e4fa220c47240 SHA1 42f269183aa5252c715c0a5da16bfbbc3b9a375b SHA256 fc2fee2a55a127fbaa158375b271b84cb8b54f9313f8ae13501095f4e82faea0
+MISC metadata.xml 756 RMD160 fa4da10d6300d7a322dd7f40b2016ca0790c609a SHA1 c98b73d6232bfd3d526df8e30fc54a6f56d62a2b SHA256 b20be72d3d99471308e33c75057edc97661b8224f2fd3fefe4eba7c732976b2b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk1zUUcACgkQgAnW8HDreRafHwCguPdwipCkiybDWdgoU3Lkk5HS
-BW0AoNBsum48vMciUOahAD58aoxTPpvR
-=qQBX
+iEYEARECAAYFAk308rIACgkQHB6c3gNBRYcGegCgvKAYzHO5LO7ZxgXAfBTaTD2j
+DeIAmgOcYd/yAaFewDpQOgnpTCiXU/YO
+=yO27
-----END PGP SIGNATURE-----
diff --git a/sci-geosciences/qgis/files/qgis-1.5.0-qset.patch b/sci-geosciences/qgis/files/qgis-1.5.0-qset.patch
deleted file mode 100644
index 418b90092659..000000000000
--- a/sci-geosciences/qgis/files/qgis-1.5.0-qset.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -ur qgis-1.5.0/python/CMakeLists.txt qgis-1.5.0-patched/python/CMakeLists.txt
---- qgis-1.5.0/python/CMakeLists.txt 2011-01-23 14:24:20.655999989 +0200
-+++ qgis-1.5.0-patched/python/CMakeLists.txt 2011-01-23 14:29:03.930999748 +0200
-@@ -43,6 +43,10 @@
- SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} QSETINT_CONVERSION)
- ENDIF(NOT PYQT4_VERSION_NUM LESS 263941)
-
-+IF(NOT PYQT4_VERSION_NUM LESS 264194) # 0x040802
-+ SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} QSETTYPE_CONVERSION)
-+ENDIF(NOT PYQT4_VERSION_NUM LESS 264194)
-+
- # core module
- FILE(GLOB sip_files_core core/*.sip)
- set(SIP_EXTRA_FILES_DEPEND ${sip_files_core})
-diff -ur qgis-1.5.0/python/core/conversions.sip qgis-1.5.0-patched/python/core/conversions.sip
---- qgis-1.5.0/python/core/conversions.sip 2011-01-23 14:24:20.656999987 +0200
-+++ qgis-1.5.0-patched/python/core/conversions.sip 2011-01-23 14:30:08.901999769 +0200
-@@ -15,6 +15,7 @@
- */
-
- %Feature QSETINT_CONVERSION
-+%Feature QSETTYPE_CONVERSION
-
- %ModuleHeaderCode
- // From Python 2.5, some functions use Py_ssize_t instead of int
-@@ -321,7 +322,7 @@
- };
- %End
-
--
-+%If (QSETTYPE_CONVERSION)
- template <TYPE>
- %MappedType QSet<TYPE>
- {
-@@ -395,8 +396,7 @@
- %End
-
- };
--
--
-+%End
-
- template<TYPE>
- %MappedType QMap<int, QMap<int, TYPE> >
diff --git a/sci-geosciences/qgis/files/qgis-1.5.0-sip.patch b/sci-geosciences/qgis/files/qgis-1.5.0-sip.patch
deleted file mode 100644
index 61fc44e67aac..000000000000
--- a/sci-geosciences/qgis/files/qgis-1.5.0-sip.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-diff -rc qgis-1.5.0/cmake/FindSIP.cmake qgis-1.5.0-patched/cmake/FindSIP.cmake
-*** qgis-1.5.0/cmake/FindSIP.cmake Sat Jan 16 12:08:04 2010
---- qgis-1.5.0-patched/cmake/FindSIP.cmake Wed Nov 17 16:46:34 2010
-***************
-*** 36,41 ****
---- 36,42 ----
- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${_find_sip_py} OUTPUT_VARIABLE sip_config)
- IF(sip_config)
- STRING(REGEX REPLACE "^sip_version:([^\n]+).*$" "\\1" SIP_VERSION ${sip_config})
-+ STRING(REGEX REPLACE ".*\nsip_version_num:([^\n]+).*$" "\\1" SIP_VERSION_NUM ${sip_config})
- STRING(REGEX REPLACE ".*\nsip_version_str:([^\n]+).*$" "\\1" SIP_VERSION_STR ${sip_config})
- STRING(REGEX REPLACE ".*\nsip_bin:([^\n]+).*$" "\\1" SIP_BINARY_PATH ${sip_config})
- STRING(REGEX REPLACE ".*\ndefault_sip_dir:([^\n]+).*$" "\\1" SIP_DEFAULT_SIP_DIR ${sip_config})
-diff -rc qgis-1.5.0/cmake/FindSIP.py qgis-1.5.0-patched/cmake/FindSIP.py
-*** qgis-1.5.0/cmake/FindSIP.py Sat Jan 16 12:04:41 2010
---- qgis-1.5.0-patched/cmake/FindSIP.py Wed Nov 17 16:46:57 2010
-***************
-*** 9,14 ****
---- 9,15 ----
-
- sipcfg = sipconfig.Configuration()
- print("sip_version:%06.0x" % sipcfg.sip_version)
-+ print("sip_version_num:%d" % sipcfg.sip_version)
- print("sip_version_str:%s" % sipcfg.sip_version_str)
- print("sip_bin:%s" % sipcfg.sip_bin)
- print("default_sip_dir:%s" % sipcfg.default_sip_dir)
-diff -rc qgis-1.5.0/python/CMakeLists.txt qgis-1.5.0-patched/python/CMakeLists.txt
-*** qgis-1.5.0/python/CMakeLists.txt Sat May 15 10:21:42 2010
---- qgis-1.5.0-patched/python/CMakeLists.txt Wed Nov 17 16:47:57 2010
-***************
-*** 39,44 ****
---- 39,48 ----
- SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} PROXY_FACTORY)
- ENDIF(PYQT4_VERSION_NUM LESS 263680)
-
-+ IF(NOT PYQT4_VERSION_NUM LESS 263941) # 0x040705
-+ SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} QSETINT_CONVERSION)
-+ ENDIF(NOT PYQT4_VERSION_NUM LESS 263941)
-+
- # core module
- FILE(GLOB sip_files_core core/*.sip)
- set(SIP_EXTRA_FILES_DEPEND ${sip_files_core})
-diff -rc qgis-1.5.0/python/core/conversions.sip qgis-1.5.0-patched/python/core/conversions.sip
-*** qgis-1.5.0/python/core/conversions.sip Tue Apr 20 14:25:42 2010
---- qgis-1.5.0-patched/python/core/conversions.sip Wed Nov 17 16:45:03 2010
-***************
-*** 14,19 ****
---- 14,21 ----
- - QMap<int, QgsOverlayObject*>*
- */
-
-+ %Feature QSETINT_CONVERSION
-+
- %ModuleHeaderCode
- // From Python 2.5, some functions use Py_ssize_t instead of int
- // thus this typedef is for maintaining backward compatibility
-***************
-*** 265,270 ****
---- 267,273 ----
-
-
-
-+ %If (QSETINT_CONVERSION)
- %MappedType QSet<int>
- {
- %TypeHeaderCode
-***************
-*** 316,321 ****
---- 319,325 ----
- %End
-
- };
-+ %End
-
-
- template <TYPE>
diff --git a/sci-geosciences/qgis/metadata.xml b/sci-geosciences/qgis/metadata.xml
index 21f7628c88ff..c7a4ff725300 100644
--- a/sci-geosciences/qgis/metadata.xml
+++ b/sci-geosciences/qgis/metadata.xml
@@ -11,7 +11,8 @@
tracks from your GPS.
</longdescription>
<use>
- <flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag>
+ <flag name="grass">Add support for <pkg>sci-geosciences/grass</pkg></flag>
+ <flag name="spatialite">Enable Spatial DBMS over sqlite <pkg>dev-db/spatialite</pkg></flag>
</use>
</pkgmetadata>
diff --git a/sci-geosciences/qgis/qgis-1.5.0.ebuild b/sci-geosciences/qgis/qgis-1.7.0.ebuild
index f3c31e364e3e..f17a4a13b337 100644
--- a/sci-geosciences/qgis/qgis-1.5.0.ebuild
+++ b/sci-geosciences/qgis/qgis-1.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/qgis-1.5.0.ebuild,v 1.4 2011/03/06 09:17:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/qgis-1.7.0.ebuild,v 1.1 2011/06/12 17:09:56 scarabeus Exp $
EAPI=3
@@ -10,45 +10,43 @@ inherit python base cmake-utils eutils
DESCRIPTION="User friendly Geographic Information System"
HOMEPAGE="http://www.qgis.org/"
-SRC_URI="http://download.osgeo.org/${PN}/src/${PN}_${PV}.tar.gz
+SRC_URI="http://qgis.org/downloads/${P}.tar.bz2
examples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples gps grass gsl postgres python sqlite"
+IUSE="examples gps grass gsl postgres python spatialite test"
-RDEPEND=">=sci-libs/gdal-1.6.1[geos,postgres?,python?,sqlite?]
- x11-libs/qt-core:4[qt3support]
+RDEPEND="
+ dev-libs/expat
+ sci-geosciences/gpsbabel
+ >=sci-libs/gdal-1.6.1[geos,python?]
+ sci-libs/geos
+ sci-libs/gsl
+ x11-libs/qt-core:4
x11-libs/qt-gui:4
x11-libs/qt-svg:4
x11-libs/qt-sql:4
x11-libs/qt-webkit:4
- sci-libs/geos
- gps? (
- dev-libs/expat
- sci-geosciences/gpsbabel
- x11-libs/qwt:5
- )
- grass? ( >=sci-geosciences/grass-6.4.0_rc6[postgres?,python?,sqlite?] )
- gsl? ( sci-libs/gsl )
- postgres? (
- || (
- >=dev-db/postgresql-base-8.4
- >=dev-db/postgresql-server-8.4
- )
- )
+ x11-libs/qwt:5[svg]
+ x11-libs/qwtpolar
+ grass? ( >=sci-geosciences/grass-6.4.0_rc6[python?] )
+ postgres? ( >=dev-db/postgresql-base-8.4 )
python? ( dev-python/PyQt4[X,sql,svg] )
- sqlite? ( dev-db/sqlite:3 )"
+ spatialite? (
+ dev-db/sqlite:3
+ dev-db/spatialite
+ )"
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex"
-PATCHES=(
- "${FILESDIR}/${P}-sip.patch"
- "${FILESDIR}/${P}-qset.patch"
-)
+DOCS=( AUTHORS BUGS ChangeLog CODING.pdf README SPONSORS CONTRIBUTORS )
+
+# Does not find the test binaries at all
+RESTRICT="test"
pkg_setup() {
python_set_active_version 2
@@ -56,21 +54,22 @@ pkg_setup() {
}
src_configure() {
- local mycmakeargs
- mycmakeargs+=(
+ local mycmakeargs+=(
"-DQGIS_MANUAL_SUBDIR=/share/man/"
"-DBUILD_SHARED_LIBS=ON"
"-DBINDINGS_GLOBAL_INSTALL=ON"
"-DQGIS_LIB_SUBDIR=$(get_libdir)"
"-DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis"
- "-DWITH_INTERNAL_SPATIALITE:BOOL=OFF"
+ "-DWITH_INTERNAL_SPATIALITE=OFF"
+ "-DWITH_INTERNAL_QWTPOLAR=OFF"
+ "-DPEDANTIC=OFF"
+ "-DWITH_APIDOC=OFF"
$(cmake-utils_use_with postgres POSTGRESQL)
- $(cmake-utils_use_with grass)
- $(cmake-utils_use_with gps EXPAT)
- $(cmake-utils_use_with gps QWT)
- $(cmake-utils_use_with gsl)
+ $(cmake-utils_use_with grass GRASS)
$(cmake-utils_use_with python BINDINGS)
- $(cmake-utils_use_with sqlite SPATIALITE)
+ $(cmake-utils_use python BINDINGS_GLOBAL_INSTALL)
+ $(cmake-utils_use_with spatialite SPATIALITE)
+ $(cmake-utils_use_enable test TESTS)
)
use grass && mycmakeargs+=( "-DGRASS_PREFIX=/usr/" )
@@ -79,10 +78,9 @@ src_configure() {
src_install() {
cmake-utils_src_install
- dodoc AUTHORS BUGS ChangeLog README SPONSORS CONTRIBUTORS || die
newicon images/icons/qgis-icon.png qgis.png || die
- make_desktop_entry qgis "Quantum GIS " qgis
+ make_desktop_entry qgis "Quantum GIS" qgis
if use examples; then
insinto /usr/share/doc/${PF}/examples