Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515832 - sci-geosciences/qgis-2.4 version bump
Summary: sci-geosciences/qgis-2.4 version bump
Status: RESOLVED DUPLICATE of bug 485868
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Sci-geo Project
URL: http://www.qgis.org/en/site/forusers/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-30 08:57 UTC by Jean-Claude Repetto
Modified: 2014-11-05 11:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff between 1.8.0 and 2.4.0 ebuild (qgis-2.4.0.ebuild.diff,1.09 KB, patch)
2014-10-20 23:15 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2014-06-30 08:57:48 UTC
QGIS 2.4 has been released.

Please don't mark this ticket as duplicate of bug #511998 or bug #485868, as the versions are not the same.

Reproducible: Always
Comment 1 UlvHare 2014-08-29 10:51:17 UTC
Normally works at configuration below:
emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.16.1-gentoo-Shu-r2 x86_64)
=================================================================
System uname: Linux-3.16.1-gentoo-Shu-r2-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    15868744 total,  12896708 free
KiB Swap:   20249928 total,  20249928 free
Timestamp of tree: Fri, 29 Aug 2014 07:45:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs=8 --load-average=5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.kiev.ua/ftp/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cvs cxx dbus declarative dga djvu dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gles gles2 gpm gsl gtk iconv icu ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors lzma mad matroska mmx mmxext mng modemmanager modules mp3 mp4 mpeg multilib musicbrainz ncurses networkmanager nls nptl ocamlopt ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds qt3support qt4 readline sdl semantic-desktop session smp spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wifi wxwidgets x264 xcb xcomposite xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 pentax" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Martin von Gagern 2014-10-20 23:15:19 UTC
Created attachment 387096 [details, diff]
Diff between 1.8.0 and 2.4.0 ebuild

With these changes I just successfully compiled qgis. Not tested yet beyond that compilation.

It seems that spatialite was changed from an optional to a mandatory dependency. So we should drop the IUSE and instead add some hard dependencies.

Bug #525700 prevents building against recent versions of PyQt4. I'm applying the patch from bug #525700 comment #7.

The invocation of compile_python_files seems to be gone from python/CMakeLists.txt. And the PYTHON_INSTALL macro gets defined but never called, so I guess patching that should have no effect either. Therefore I dropped the qgis-1.8.0-no-python-pyc.patch. I see no mention of *.pyc or *.pyo files being installed, but they end up in the image directory nevertheless. I just hope that's some eclass doing its intended job here. I see no hint of that byte-code compilation in the build log.
Comment 3 Jean-Claude Repetto 2014-10-21 12:23:08 UTC
Hi,
I have not tested your patch yet, but I have a question : Why didn't you start from the qgis-2.2.0 ebuild (https://code.google.com/p/rion-overlay/source/browse/sci-geosciences/qgis/qgis-2.2.0.ebuild) ?
Comment 4 Martin von Gagern 2014-10-21 17:24:34 UTC
(In reply to Jean-Claude Repetto from comment #3)
> Why didn't you start from the qgis-2.2.0 ebuild
> (https://code.google.com/p/rion-overlay/source/browse/sci-geosciences/qgis/
> qgis-2.2.0.ebuild) ?

Because I didn't know about it, and even if I did, I'd not consider an overlay hosted outside Gentoo infrastructure something which Gentoo devs will be likely to adopt.

That said, I don't see any serious problems in merging both sets of modifications. If Gentoo devs want to incorporate those changes, they can do so, and if not, then my changes can be applied by themselves.
Comment 5 karpi 2014-11-04 12:09:23 UTC
https://bugs.gentoo.org/show_bug.cgi?id=528220
qgis-2.6 version has been relased.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-05 11:49:54 UTC

*** This bug has been marked as a duplicate of bug 485868 ***