qgis 1.8.0 is available. Reproducible: Always
Created attachment 315283 [details] ebuild for qgis-1.8.0 Patch proposal. Note : This new ebuild needs sci-libs/libspatialindex , which is available in the Science overlay.
Created attachment 315975 [details] ebuild for qgis-1.8 almost the same ebuild, but with additional test against all dependencies version number (according to http://www.qgis.org/api/INSTALL.html#toc2), and some extra work to adapt the use flag to the new functionalities. As mentioned in the previous comment, the new release depends on sci-libs/libspatialindex ... Sylvain
I tested Jean-Claudes version here and it worked right away. Still have some Postgis problems in QGIS, but that is unrelated to the ebuild.
Since yarma's ebuild has -DWITH_INTERNAL_QWTPOLAR=OFF (and I don't intend to mess with this), x11-libs/qwtpolar is also a dependency. However I couldn't get qgis to build with qwtpolar-1.0.0 but it is fine with qwtpolar-0.1.0-r1. A modified ebuild is attached which includes this extra dependency.
Created attachment 318472 [details] Includes qwtpolar dependency
This dependancy was included in the ebuild I proposed. I don't understand why yarma removed it.
Created attachment 318808 [details] qgis-1.8.0.ebuild I'm sorry, it seems that a made a mistake during the transfer from my main computer to my laptop, and didn't get an error because I still had the external qwtpolar installed ... > "-DWITH_INTERNAL_QWTPOLAR=ON" As there are still some trouble with the use of external qwtpolar (to find header files), the idea was to use only the internal bundled version to get rid of the external dependency, so we are sure that it will work for everyone ;)
qgis-1.8.0.ebuild as of 2012-07-21 11:16 UTC failed with the following error messages: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: SPATIALINDEX_INCLUDE_DIR used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/core SPATIALINDEX_LIBRARY linked by target "qgis_core" in directory /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/core
Created attachment 322038 [details] emerge info as normally requested
Created attachment 322040 [details] full build log
Can you check if sci-libs/libspatialindex is installed ?
Only little expirience: qgis-1.0.8. does not compile against qwt-6.0.0 for me.. It needs emerge -avt =qwt-5.2.1 (into new slot), then compile ok. * Package: sci-geosciences/qgis-1.8.0 * Repository: x-portage * USE: elibc_glibc gps kernel_linux postgres python userland_GNU x86 * FEATURES: ccache distcc sandbox >>> Unpacking source... >>> Unpacking qgis-1.8.0.tar.bz2 to /var/tmp/portage/sci-geosciences/qgis-1.8.0/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-1.8.0/work >>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0 ... QA Notice: USE Flag 'spatialite' not in IUSE for sci-geosciences/qgis-1.8.0 /var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/environment: řádek 5356: local: „mycmakeargs+“: není platným identifikátorem >>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build" cmake --no-warn-unused-cli -C /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DQGIS_LIB_SUBDIR=lib -DQGIS_PLUGIN_SUBDIR=lib/qgis -DWITH_INTERNAL_SPATIALITE=OFF -DWITH_INTERNAL_QWTPOLAR=ON -DPEDANTIC=OFF -DWITH_APIDOC=OFF -DWITH_POSTGRESQL=ON -DWITH_GRASS=OFF -DWITH_MAPSERVER=OFF -DWITH_BINDINGS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DWITH_SPATIALITE=OFF -DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/gentoo_rules.cmake /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 4.5.3 -- The CXX compiler identification is GNU 4.5.3 -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/lib/ccache/bin/i686-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Quantum GIS version: 1.8.0 Lisboa (10800) -- Touch support disabled -- Looking for openpty -- Looking for openpty - not found -- Looking for openpty -- Looking for openpty - found -- Found Proj: /usr/lib/libproj.so -- Found GEOS: /usr/lib/libgeos_c.so -- Found GDAL: /usr/lib/libgdal.so (1.9.1) -- Found Expat: /usr/lib/libexpat.so -- Found Spatialindex: /usr/lib/libspatialindex.so -- Found Sqlite3: /usr/lib/libsqlite3.so -- Found PostgreSQL: /usr/lib/postgresql-9.1/lib/libpq.so -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.2", required is "4.4.0") -- Found PythonInterp: /usr/bin/python (found version "2.6.8") -- Found Python executable: /usr/bin/python -- Found Python version: 2.6.8 -- Found Python library: /usr/lib/libpython2.6.so -- Found SIP version: 4.13.3 -- Found PyQt4 version: 4.9.4 -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm -- txt2tags not found - disabled -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -march=i686 -pipe C++ -O2 -march=i686 -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QWT_INCLUDE_DIR used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/app used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/plugins/georeferencer QWT_LIBRARY linked by target "qgis" in directory /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/app -- Configuring incomplete, errors occurred! ERROR: sci-geosciences/qgis-1.8.0 failed (configure phase): cmake failed Call stack: ebuild.sh, line 85: Called src_configure environment, line 5358: Called cmake-utils_src_configure environment, line 1334: Called _execute_optionaly 'src_configure' environment, line 383: Called enable_cmake-utils_src_configure environment, line 1635: Called die The specific snippet of code: "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; If you need support, post the output of `emerge --info '=sci-geosciences/qgis-1.8.0'`, the complete build log and the output of `emerge -pqv '=sci-geosciences/qgis-1.8.0'`. This ebuild is from an overlay named 'x-portage': '/usr/local/portage/' The complete build log is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/environment'. Working directory: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build' S: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0'
Created attachment 324234 [details] qgis-1.8.0.ebuild This one takes care of the =x11-libs/qwt-5* dependency.
Daniel Marmander's version works for me
Created attachment 332284 [details] qgis-1.8.0.ebuild - spatialite added to IUSE It is needed to add spatialite flag into IUSE variable to successful compile spatialite support..
i suggest to push qgis to version 1.8.0 soonish: qgis-1.7.4 has broken dependencies, as reported here: https://bugs.gentoo.org/show_bug.cgi?id=449348
My version of QGIS using this ebuild has become sluggish to the point of being unusable. I suspect the culprit is a recent emerge -auvD world which possibly upgraded some X11 or QT libraries -- but I can't be sure which. Previously QGIS was working fine -- I have been using 1.8.0 for 2-3 months. Any help with the error messages below would be useful (I can't think where else to post as the 1.8.0 ebuild is not official yet...) Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_GB] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_GB] Debug: hijackWindow() context created for QSplashScreen(0x9531ef8) 1 Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: QGLFramebufferObject: Unable to resolve framebuffer object extensions - make sure there is a current context when creating the framebuffer object. Debug: QGLWindowSurface: Failed to create valid FBO, falling back Debug: Created Window Surface Pixelbuffer, Sample buffers: true Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: Object::connect: No such slot QgisApp::newSpatialiteLayer() in /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/src/app/qgisapp.cpp:888 Warning: Object::connect: (sender name: 'mActionNewSpatialiteLayer') Warning: Object::connect: (receiver name: 'MainWindow') Debug: hijackWindow() context created for QTipLabel(0x9aeac68, name = "qtooltip_label") 1 Debug: Created Window Surface FBO QSize(147, 22) with samples 8 Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Debug: Created Window Surface FBO QSize(155, 22) with samples 8 Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Warning: X Error: BadMatch (invalid parameter attributes) 8 Extension: 135 (Uknown extension) Minor opcode: 5 (Unknown request) Resource id: 0x4800013 Warning: QGLContext::makeCurrent(): Failed. Debug: hijackWindow() context created for QgisApp(0x96a8f60, name = "MainWindow") 1 Debug: Created Window Surface FBO QSize(1840, 1003) with samples 8 Debug: hijackWindow() context created for QMenuBar(0x96a6588, name = "menubar") 2 Debug: hijackWindow() context created for QStatusBar(0x95e9828, name = "statusbar") 3 Debug: hijackWindow() context created for QToolBar(0x96854d8, name = "mFileToolBar") 4 Debug: hijackWindow() context created for QToolBar(0x96848b8, name = "mLayerToolBar") 5 Debug: hijackWindow() context created for QToolBar(0x9684ca8, name = "mDigitizeToolBar") 6 Debug: hijackWindow() context created for QToolBar(0x9684810, name = "mAdvancedDigitizeToolBar") 7 Debug: hijackWindow() context created for QToolBar(0x96855f0, name = "mMapNavToolBar") 8 Debug: hijackWindow() context created for QToolBar(0x968c8e0, name = "mAttributesToolBar") 9 Debug: hijackWindow() context created for QToolBar(0x969ac10, name = "mHelpToolBar") 10 Debug: hijackWindow() context created for QToolBar(0x95f7568, name = "mRasterToolBar") 11 Debug: hijackWindow() context created for QToolBar(0x9689dc8, name = "mVectorToolBar") 12 Debug: hijackWindow() context created for QToolBar(0x95fa888, name = "mWebToolBar") 13 Debug: hijackWindow() context created for QgsMapCanvas(0x98e3ec8) 14 Debug: hijackWindow() context created for QDockWidget(0x9a2f718, name = "Legend") 15 Debug: hijackWindow() context created for QDockWidget(0x9a8b6e8, name = "Overview") 16 Debug: hijackWindow() context created for QToolBar(0xa45f6a8, name = "CAD-Tools") 17 Debug: hijackWindow() context created for QToolBar(0xa51b338, name = "Dimensioning") 18 Debug: hijackWindow() context created for QToolBar(0xa6f8450, name = "IntersectIt") 19
+*qgis-1.8.0 (11 Feb 2013) + + 11 Feb 2013; Julian Ospald <hasufell@gentoo.org> +qgis-1.8.0.ebuild, + +files/qgis-1.8.0-no-python-pyc.patch: + version bump wrt #421093, remove broken wrt #449348