Summary: | [ebuild proposal] sci-geosciences/monav-0.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Niels Ole Salscheider <niels_ole> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | dschridde+gentoobugs, pchrist, sci-geosciences, simon |
Priority: | Normal | Keywords: | EBUILD, InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://code.google.com/p/monav/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild
small patch to allow client to build new version of the ebuild metadata.xml monav-0.3-r1.ebuild.patch (mapnik2 and eapi4 dies) monav-0.3-mapnik2.patch |
Description
Niels Ole Salscheider
2011-07-28 19:29:42 UTC
Created attachment 281333 [details]
ebuild
Created attachment 281335 [details]
small patch to allow client to build
Thank you for reporting this and for the ebuild. I have cc'd sci-geosciences herd, in case they 're interested. If you want your ebuild to reach an overlay, you may see here [1] in case you don't know about the Sunrise project. [1] http://www.gentoo.org/proj/en/sunrise/ Are there any news on this? Created attachment 301073 [details]
new version of the ebuild
- sci-geosciences/monav-0.3::local (masked by: invalid: REQUIRED_USE set, but EAPI='3' doesn't allow it)
Additionally src_unpack() was patching. I changed the ebuild to use src_prepare.
Also added several ||dies.
Created attachment 301075 [details]
metadata.xml
Requires <sci-geosciences/mapnik-2, as sci-geosciences/mapnik-2.0.1 results in a compilation error: mapnikrenderer.cpp: In member function ‘virtual bool MapnikRenderer::Preprocess(IImporter*, QString)’: mapnikrenderer.cpp:267:4: error: ‘Image32’ is not a member of ‘mapnik’ mapnikrenderer.cpp:267:20: error: expected ‘;’ before ‘image’ mapnikrenderer.cpp:291:5: error: ‘Envelope’ is not a member of ‘mapnik’ mapnikrenderer.cpp:291:22: error: expected primary-expression before ‘double’ mapnikrenderer.cpp:291:22: error: expected ‘;’ before ‘double’ mapnikrenderer.cpp:292:9: error: ‘class mapnik::Map’ has no member named ‘zoomToBox’ mapnikrenderer.cpp:292:20: error: ‘boundingBox’ was not declared in this scope mapnikrenderer.cpp:293:26: error: ‘Image32’ is not a member of ‘mapnik’ mapnikrenderer.cpp:293:26: error: ‘Image32’ is not a member of ‘mapnik’ mapnikrenderer.cpp:293:41: error: template argument 1 is invalid mapnikrenderer.cpp:293:51: error: invalid type in declaration before ‘(’ token mapnikrenderer.cpp:293:58: error: ‘image’ was not declared in this scope mapnikrenderer.cpp:293:64: error: expression list treated as compound expression in initializer [-fpermissive] mapnikrenderer.cpp:294:14: error: request for member ‘apply’ in ‘renderer’, which is of non-class type ‘int’ mapnikrenderer.cpp:302:26: error: ‘ImageData32’ is not a member of ‘mapnik’ mapnikrenderer.cpp:302:26: error: ‘ImageData32’ is not a member of ‘mapnik’ mapnikrenderer.cpp:302:45: error: template argument 1 is invalid mapnikrenderer.cpp:302:52: error: invalid type in declaration before ‘=’ token mapnikrenderer.cpp:264:14: warning: unused variable ‘metaTileSize’ [-Wunused-variable] (In reply to comment #7) > Requires <sci-geosciences/mapnik-2 ... which is gone from the tree. Someone should fix upstream's code, as they seem to be dead - no commits since December last year. Mapnik2 patch: http://code.google.com/p/monav/issues/detail?id=78 Created attachment 314399 [details, diff] monav-0.3-r1.ebuild.patch (mapnik2 and eapi4 dies) Attached patch creates r1 of the ebuild which includes a mapnik2 patch (next attachment) and removes all dies, because eapi4 makes utilities die on their own [1]. Committed to kde overlay as 53afd4d8f27aac9d434102d73171afc64adbd5cc [1] http://devmanual.gentoo.org/ebuild-writing/eapi/index.html Created attachment 314401 [details, diff]
monav-0.3-mapnik2.patch
Another (simple) patch is needed to support mapnik-2.1.0. I committed it as 415a73ac0c4997a8c62dee10597b7484bda7866c to the kde-overlay. Yet another patch is needed to support mapnik-2.2.0. I committed it as 022d067dc5433ae9e9350a3feac79843ff66b016 to the kde-overlay. |