Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679768 - sci-libs/proj-6.0.0 version bump
Summary: sci-libs/proj-6.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: EBUILD
: 682580 (view as bug list)
Depends on:
Blocks: 672952
  Show dependency tree
 
Reported: 2019-03-08 13:48 UTC by Thomas Bettler
Modified: 2019-05-25 10:14 UTC (History)
4 users (show)

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


Attachments
proj-5.2.0.ebuild (proj-5.2.0.ebuild,1.25 KB, text/plain)
2019-03-08 13:48 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2019-03-08 13:48:39 UTC
Created attachment 568182 [details]
proj-5.2.0.ebuild

sci-libs/proj-5.2.0 is needed for >=sci-geosciences/qgis-3.6
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-08 13:52:34 UTC
Comment on attachment 568182 [details]
proj-5.2.0.ebuild

--- proj-4.9.2.ebuild   2018-11-18 11:31:08.888120164 +0100
+++ -   2019-03-08 14:51:31.485234888 +0100
@@ -9,9 +9,9 @@
 HOMEPAGE="http://trac.osgeo.org/proj/"
 SRC_URI="
        http://download.osgeo.org/proj/${P}.tar.gz
-       http://download.osgeo.org/proj/${PN}-datumgrid-1.5.zip
-       http://trac.osgeo.org/proj/export/2647/trunk/proj/src/org_proj4_PJ.h -> ${P}-org_proj4_PJ.h
+       http://download.osgeo.org/proj/${PN}-datumgrid-1.8.zip
 "
+       #http://trac.osgeo.org/proj/export/2647/trunk/proj/src/org_proj4_PJ.h -> ${P}-org_proj4_PJ.h

 LICENSE="MIT"
 SLOT="0"
@@ -27,8 +27,8 @@
        unpack ${P}.tar.gz
        cd "${S}"/nad || die
        mv README README.NAD || die
-       cp "${DISTDIR}/${P}-org_proj4_PJ.h" "${S}/src/org_proj4_PJ.h" || die
-       unpack ${PN}-datumgrid-1.5.zip
+#      cp "${DISTDIR}/${P}-org_proj4_PJ.h" "${S}/src/org_proj4_PJ.h" || die
+       unpack ${PN}-datumgrid-1.8.zip
 }

 src_configure() {
@@ -44,7 +44,7 @@
 src_install() {
        default
        cd nad || die
-       dodoc README.{NAD,NADUS}
+       dodoc README.{DATUMGRID,NAD}
        insinto /usr/share/proj
        insopts -m 755
        doins test27 test83
Comment 2 luzpaz 2019-03-29 11:13:33 UTC
Will there be a separate ebuild provided for just released proj-6.0.0?
https://proj4.org/news.html#release-notes
Comment 3 luzpaz 2019-03-29 11:15:27 UTC
BTW, the PR for 5.2.0 is at https://github.com/gentoo/gentoo/pull/11147
Comment 4 luzpaz 2019-04-05 11:43:27 UTC
Opened a separate ticket for proj 6.0.0
https://bugs.gentoo.org/682580
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-04-05 19:49:05 UTC
*** Bug 682580 has been marked as a duplicate of this bug. ***
Comment 6 Chris Mayo 2019-04-07 18:52:23 UTC
PROJ 6 is an API change; there is a tracker for various projects here:
https://github.com/OSGeo/proj.4/wiki/proj.h-adoption-status

Plenty of updated ebuilds will be needed.

Here's a PR for sci-libs/shapelib-1.5.0:
https://github.com/gentoo/gentoo/pull/11506
Comment 7 Andreas Sturmlechner gentoo-dev 2019-05-25 10:14:29 UTC
Version bumped in commit 34c2a0c0cb316bf3f57a32e0da182b5ebc812e33.

Andrey, please check existing bugs when you touch packages.