From: Arun Isaac <arunisaac@systemreboot.net>
To: "Wiktor Żelazny" <wz@freeshell.de>, 38149@debbugs.gnu.org
Subject: [bug#38149] [WIP] gnu: Add qgis.
Date: Tue, 03 Dec 2019 23:15:51 +0530 [thread overview]
Message-ID: <cu7k17dfgkw.fsf@systemreboot.net> (raw)
In-Reply-To: <20191109112702.14723-1-wz@freeshell.de>
[-- Attachment #1: Type: text/plain, Size: 8799 bytes --]
> * gnu/packages/geo.scm (qgis): new variable.
> Does not build due to QtXml/QtXmlmod.sip not found.
> ---
> This is my attempt to define some minimal QGIS package. Unfortunately,
> the build crashes with
> sip: Unable to find file "QtXml/QtXmlmod.sip"
I fixed this problem with the following custom phase.
#:phases
(modify-phases %standard-phases
;; Configure correct path to PyQt5 SIP directory
(add-after 'unpack 'configure-pyqt5-sip-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "cmake/FindPyQt5.cmake"
(("\"\\\\\\\\1\" PYQT5_SIP_DIR")
(string-append "\"" (assoc-ref inputs "python-pyqt+qscintilla")
"/share/sip\" PYQT5_SIP_DIR")))
#t))
I'm slowly but steadily making progress and will soon post a complete
patch. Progress is slow since each build attempt takes around 6 hours on
my rather slow machine.
> + (license license:gpl2+)))
Also, the license of qgis is extremely complicated. Looking at other
guix packages, I'm assuming we have to exhaustively document every
license. Very tedious! :-( I got this far, but I still need to double
check all the licenses again.
(license
(list license:gpl2+
;; qgis.dtd
;; src/core/pal/rtree.hpp
;; src/plugins/grass/qtermwidget/konsole_wcwidth.*
;; cmake/PythonCompile.py
;; resources/cpt-city-qgis-min/dg/*
;; resources/cpt-city-qgis-min/gery/*
;; resources/cpt-city-qgis-min/jjg/dem/*
;; resources/cpt-city-qgis-min/jjg/misc/*
;; resources/cpt-city-qgis-min/jjg/physics/*
;; tests/testdata/cpt-city/jjg/misc/*
;; resources/cpt-city-qgis-min/km/*
;; resources/cpt-city-qgis-min/pd/*
;; resources/cpt-city-qgis-min/wkp/encyclopedia/*
;; resources/cpt-city-qgis-min/wkp/template/*
;; resources/cpt-city-qgis-min/ocal/*
;; resources/cpt-city-qgis-min/rf/*
;; resources/cpt-city-qgis-min/tp/*
license:public-domain
;; python/plugins/processing/modeler/ModelerArrowItem.py
;; src/app/qgssettingstree.cpp
;; src/app/qgssettingstree.h
;; src/app/qgsvariantdelegate.cpp
;; src/app/qgsvariantdelegate.h
;; src/app/qtmain_android.cpp
;; cmake/Bison.cmake
;; cmake/FindExpat.cmake
;; cmake/FindGRASS.cmake
;; cmake/FindPostgres.cmake
;; cmake/FindProj.cmake
;; cmake/FindSqlite3.cmake
;; cmake/Flex.cmake
;; cmake/FindFcgi.cmake
;; cmake/FindGDAL.cmake
;; cmake/FindGEOS.cmake
;; cmake/FindGSL.cmake
;; cmake/FindIconv.cmake
;; cmake/FindOSGEARTH.cmake
;; cmake/FindLibPython.py
;; cmake/FindPyQt4.cmake
;; cmake/FindPyQt4.py
;; cmake/FindPyQt5.cmake
;; cmake/FindPyQt5.py
;; cmake/FindPythonLibrary.cmake
;; cmake/FindSIP.cmake
;; cmake/FindSIP.py
;; cmake/PythonMacros.cmake
;; cmake/SIPMacros.cmake
;; cmake/FindQCA.cmake
;; cmake/FindQextserialport.cmake
;; cmake/FindQGIS.cmake
;; cmake/FindQsci.cmake
;; cmake/FindQsci.py
;; cmake/FindQScintilla.cmake
;; cmake/FindQwt.cmake
;; cmake/FindSpatiaLite.cmake
;; cmake/MacBundleMacros.cmake
;; cmake/MacPlistMacros.cmake
;; cmake/PyQtMacros.cmake
;; cmake/QCAMacros.cmake
;; cmake/UsePythonTest.cmake
license:bsd-3
;; external//qwtpolar-1.1.1/*
;; src/gui/raster/qwt5_histogram_item.h
license:qwt1.0
;; external/astyle/*
license:lgpl2.1+
;; external/nmea/config.h
;; external/nmea/context.c
;; external/nmea/context.h
;; external/nmea/gmath.c
;; external/nmea/gmath.h
;; external/nmea/info.c
;; external/nmea/info.h
;; external/nmea/nmeatime.h
;; external/nmea/parse.c
;; external/nmea/parse.h
;; external/nmea/parser.h
;; external/nmea/sentence.c
;; external/nmea/sentence.h
;; external/nmea/time.c
;; external/nmea/tok.c
;; external/nmea/tok.h
;; external/nmea/units.h
;; src/plugins/evis/*
;; src/plugins/grass/qtermwidget/kprocess.cpp
;; src/plugins/grass/qtermwidget/kprocess.h
;; src/plugins/grass/qtermwidget/kptydevice.cpp
;; src/plugins/grass/qtermwidget/kptydevice.h
;; src/plugins/grass/qtermwidget/kptyprocess.cpp
;; src/plugins/grass/qtermwidget/kptyprocess.h
;; src/plugins/grass/qtermwidget/kpty.cpp
;; src/plugins/grass/qtermwidget/kpty.h
;; src/plugins/grass/qtermwidget/kpty_p.h
;; src/plugins/grass/qtermwidget/qtermwidget.cpp
;; src/plugins/grass/qtermwidget/qtermwidget.h
;; src/plugins/grass/qtermwidget/TerminalCharacterDecoder.cpp
;; src/plugins/grass/qtermwidget/TerminalCharacterDecoder.h
license:lgpl2.0+
;; src/core/pal/*
;; resources/cpt-city-qgis-min/ds9/*
;; resources/cpt-city-qgis-min/grass/*
license:gpl3+
;; src/core/symbology/qgscolorbrewerpalette.cpp
license:asl2.0
;; images/themes/default/*
;; resources/cpt-city-qgis-min/gps/*
;; resources/cpt-city-qgis-min/nd/*
;; resources/cpt-city-qgis-min/wkp/country/*
;; resources/cpt-city-qgis-min/wkp/jarke/*
;; resources/cpt-city-qgis-min/wkp/jarke/*
;; resources/cpt-city-qgis-min/wkp/knutux/*
;; resources/cpt-city-qgis-min/wkp/lilleskut/*
;; resources/cpt-city-qgis-min/wkp/plumbago/*
;; resources/cpt-city-qgis-min/wkp/precip/*
;; resources/cpt-city-qgis-min/wkp/schwarzwald/*
;; resources/cpt-city-qgis-min/wkp/shadowxfox/*
;; resources/cpt-city-qgis-min/wkp/tubs/*
license:cc-by-sa3.0
;; resources/cpt-city-qgis-min/cb/*
;; resources/cpt-city-qgis-min/jjg/cbac/*
;; resources/cpt-city-qgis-min/jjg/cbcont/*
;; resources/cpt-city-qgis-min/jjg/polarity/*
license:asl1.1
;; resources/cpt-city-qgis-min/ds/*
(license:fsf-free
"https://www.deviantart.com/webgoddess/art/Reddish-Inspired-Gradients-42208824")
;; resources/cpt-city-qgis-min/es/*
(license:fsdg-compatible
"https://www.deviantart.com/elvensword")
;; resources/cpt-city-qgis-min/gist/*
(license:non-copyleft "file://debian/copyright"
"BSD-like-gist")
;; resources/cpt-city-qgis-min/go2/webtwo/*
(license:fsf-free "file://debian/copyright"
"Go Squared")
;; resources/cpt-city-qgis-min/h5/*
license:expat
;; resources/cpt-city-qgis-min/jm/*
(license:non-copyleft "file://debian/copyright"
"Jim Mossman Attribution")
;; resources/cpt-city-qgis-min/ncl/*
(license:non-copyleft
"https://www.ncl.ucar.edu/Download/NCL_source_license.shtml"
"NCL Source Code License")
;; resources/cpt-city-qgis-min/os/*
;; resources/cpt-city-qgis-min/ukmo/*
license:ogl-psi1.0
;; resources/cpt-city-qgis-min/wkp/ice/*
license:gfdl1.2+-without-invariant-sections
;; src/gui/symbology/characterwidget.cpp
;; src/gui/symbology/characterwidget.h
;; src/providers/oracle/ocispatial/main.cpp
;; src/providers/oracle/ocispatial/qsql_ocispatial.cpp
;; src/providers/oracle/ocispatial/qsql_ocispatial.h
;; src/providers/oracle/ocispatial/qsqlcachedresult_p.h
;; src/providers/spatialite/qspatialite/qsql_spatialite.cpp
;; src/providers/spatialite/qspatialite/qsql_spatialite.h
;; src/providers/spatialite/qspatialite/qsqlcachedresult_p.h
;; src/providers/spatialite/qspatialite/smain.cpp
;; tests/qt_modeltest/modeltest.cpp
;; tests/qt_modeltest/modeltest.h
;; tests/qt_modeltest/tst_modeltest.cpp
;; tests/qt_modeltest/dynamictreemodel.cpp
;; tests/qt_modeltest/dynamictreemodel.h
(license:fsf-free
"file://debian/copyright"
"QT-Commercial or LGPL-2.1 with Digia Qt LGPL Exception 1.1 or GPL-3")))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-12-03 17:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-09 11:27 [bug#38149] [WIP] gnu: Add qgis Wiktor Żelazny
[not found] ` <cu7eey1kl1x.fsf@systemreboot.net>
[not found] ` <20191123104752.gp6gafhjrs47dath@wz.localdomain>
2019-12-01 18:13 ` Arun Isaac
2019-12-02 14:31 ` Wiktor Żelazny
2019-12-03 17:45 ` Arun Isaac [this message]
2019-12-05 11:19 ` Arun Isaac
2019-12-07 10:51 ` Wiktor Żelazny
2019-12-10 17:08 ` Arun Isaac
2019-12-30 15:40 ` Wiktor Żelazny
2019-12-18 6:21 ` Björn Höfling
2019-12-18 8:59 ` Björn Höfling
2019-12-18 9:07 ` Björn Höfling
2019-12-20 16:52 ` Arun Isaac
2019-12-23 6:55 ` Danny Milosavljevic
2019-12-26 13:39 ` Arun Isaac
2019-12-26 14:53 ` Marius Bakke
2019-12-27 2:06 ` Arun Isaac
2020-01-27 22:48 ` Marius Bakke
2020-01-28 5:05 ` Arun Isaac
2020-03-22 15:45 ` Guillaume Le Vaillant
2020-03-23 21:00 ` Arun Isaac
2020-03-24 10:52 ` Guillaume Le Vaillant
2020-03-24 11:46 ` bug#38149: " Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cu7k17dfgkw.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=38149@debbugs.gnu.org \
--cc=wz@freeshell.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).