Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527058 - dev-db/pgrouting-2.0.0 - pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality
Summary: dev-db/pgrouting-2.0.0 - pgRouting extends the PostGIS / PostgreSQL geospatia...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Aaron W. Swenson
URL: http://pgrouting.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-10-27 11:39 UTC by Benjamin Börngen-Schmidt
Modified: 2014-11-16 14:56 UTC (History)
0 users

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


Attachments
pgrouting-2.0.0.ebuild (pgrouting-2.0.0.ebuild,2.30 KB, text/plain)
2014-10-27 11:40 UTC, Benjamin Börngen-Schmidt
Details
pgrouting-2.0.0.ebuild (pgrouting-2.0.0.ebuild,2.30 KB, text/plain)
2014-10-27 11:53 UTC, Benjamin Börngen-Schmidt
Details
changed use flag to pdf (pgrouting-2.0.0.ebuild,2.30 KB, text/plain)
2014-10-31 00:44 UTC, Benjamin Börngen-Schmidt
Details
pgrouting-2.0.0.ebuild (pgrouting-2.0.0.ebuild,2.29 KB, text/plain)
2014-10-31 00:54 UTC, Benjamin Börngen-Schmidt
Details
pgrouting-2.0.0.ebuild (pgrouting-2.0.0.ebuild,2.34 KB, text/plain)
2014-10-31 11:58 UTC, Benjamin Börngen-Schmidt
Details
no-contrib-when-use-extension.patch (no-contrib-when-use-extension.patch,3.00 KB, patch)
2014-11-07 12:44 UTC, Aaron W. Swenson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Börngen-Schmidt 2014-10-27 11:39:03 UTC
Created a new ebuild for pgrouting, which is a PostGIS / PostgreSQL extension to solve routing problems

Reproducible: Always
Comment 1 Benjamin Börngen-Schmidt 2014-10-27 11:40:03 UTC
Created attachment 387526 [details]
pgrouting-2.0.0.ebuild
Comment 2 Benjamin Börngen-Schmidt 2014-10-27 11:43:06 UTC
Build process according to http://docs.pgrouting.org/2.0/en/doc/src/installation/build.html
Comment 3 Benjamin Börngen-Schmidt 2014-10-27 11:53:32 UTC
Created attachment 387530 [details]
pgrouting-2.0.0.ebuild

fixed type-o
Comment 4 Aaron W. Swenson gentoo-dev 2014-10-27 19:57:22 UTC
Ebuild looks good.

Please change the PgSQL dependencies to depend on virtual/postgresql and I'll see about getting this committed to the tree.
Comment 5 Aaron W. Swenson gentoo-dev 2014-10-28 13:12:47 UTC
And the latex use flag should be replaced with pdf.
Comment 6 Benjamin Börngen-Schmidt 2014-10-31 00:44:35 UTC
Created attachment 387830 [details]
changed use flag to pdf

As for virtual/postgresql there seems to be no such package in portage

> emerge -av virtual/postgresql
> 
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "virtual/postgresql".
Comment 7 Benjamin Börngen-Schmidt 2014-10-31 00:54:00 UTC
Created attachment 387832 [details]
pgrouting-2.0.0.ebuild
Comment 8 Benjamin Börngen-Schmidt 2014-10-31 11:58:42 UTC
Created attachment 387880 [details]
pgrouting-2.0.0.ebuild

Added REQUIRED_USE to the ebuild to make sure doc is enabled with either html or pdf.
Comment 9 Benjamin Börngen-Schmidt 2014-10-31 12:07:19 UTC
@Aaron: Could you also have a look at bug 520694 and maybe add postgis-2.1.4 to the tree as well?
Comment 10 Aaron W. Swenson gentoo-dev 2014-11-02 14:29:29 UTC
(In reply to Benjamin Börngen-Schmidt from comment #6)
> Created attachment 387830 [details]
> changed use flag to pdf
> 
> As for virtual/postgresql there seems to be no such package in portage
> 
> > emerge -av virtual/postgresql
> > 
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > 
> > emerge: there are no ebuilds to satisfy "virtual/postgresql".

Looks like I forgot to commit it when I did dev-db/postgresql. Must have been distracted by someone or something.

They're there now.

I'll take a look at PostGIS when I get the dependencies updated in the rest of the tree.
Comment 11 Aaron W. Swenson gentoo-dev 2014-11-06 15:57:43 UTC
I'm currently waiting on other things to finish compiling. Until then, this has been committed to my overlay.

https://github.com/titanofold/titanofold-gentoo-x86
Comment 12 Aaron W. Swenson gentoo-dev 2014-11-07 12:44:41 UTC
Created attachment 388774 [details, diff]
no-contrib-when-use-extension.patch

I've clean up the ebuild a bit. (Committed to my overlay.) repoman complained about a couple minor things, and I addressed those. dodoc() takes multiple arguments as a list of files to install, so we don't need to loop.

I'm not particularly fond of pgrouting installing to contrib/ on 9.1+. I've attached a patch, that hasn't been tested, that should remove that, but I'm unsure as to what the consequences would be.

Please look into that as I'm not that familiar with how pgrouting should behave just yet.
Comment 13 Benjamin Börngen-Schmidt 2014-11-16 13:07:04 UTC
I've had a look at your proposed patch as well as pgrouting and to my understanding there shoudn't be a problem with the patch.

I also would recommend to get this patch into upstream @ https://github.com/pgRouting/pgrouting/tree/develop
Comment 14 Aaron W. Swenson gentoo-dev 2014-11-16 14:56:10 UTC
*pgrouting-2.0.0 (16 Nov 2014)

  16 Nov 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +pgrouting-2.0.0.ebuild, +files/no-contrib-when-use-extension.patch,
  +metadata.xml:
  New ebuild written by Benjamin Börngen-Schmidt with some tweaks by me. Fixes
  bug 527058.