Bug 1087604

Summary: grass bundles shapelib
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: grassAssignee: Devrim GÜNDÜZ <devrim>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: cristian.balint, devrim, neteler, pertusus, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 504493    

Description Ville Skyttä 2014-04-14 15:04:50 EDT
https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
https://fedoraproject.org/wiki/Packaging:Treatment_Of_Bundled_Libraries

grass is using a bundled copy of shapelib.

$ repoquery --repoid=rawhide-debuginfo -l grass-debuginfo | grep shapelib
/usr/src/debug/grass-6.4.3/lib/external/shapelib
/usr/src/debug/grass-6.4.3/lib/external/shapelib/dbfopen.c
/usr/src/debug/grass-6.4.3/lib/external/shapelib/safileio.c
/usr/src/debug/grass-6.4.3/lib/external/shapelib/shapefil.h
/usr/src/debug/grass-6.4.3/lib/external/shapelib/shpopen.c
Comment 1 markusN 2014-04-14 15:15:35 EDT
This copy is a modified copy (see comments in
grass64/lib/external/shapelib/README)

To get the more recent original:

svn co http://svn.osgeo.org/gdal/branches/1.10/gdal/ogr/ogrsf_frmts/shape

It should be checked if a newer version of the library 
would still work in GRASS GIS.

Perhaps worth an upstream ticket at http://trac.osgeo.org/grass/
Comment 2 Ville Skyttä 2014-04-14 15:45:08 EDT
(In reply to markusN from comment #1)
> This copy is a modified copy (see comments in
> grass64/lib/external/shapelib/README)

Yes, I've read that. There's a process for cases where the system lib cannot be used (if this is indeed such a one), see the first link I posted, in particular:

https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Exceptions
https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Requirement_if_you_bundle
Comment 3 markusN 2014-04-17 03:16:09 EDT
(In reply to markusN from comment #1)
> It should be checked if a newer version of the library 
> would still work in GRASS GIS.
> 
> Perhaps worth an upstream ticket at http://trac.osgeo.org/grass/

Found a related comment:

https://trac.osgeo.org/grass/ticket/1318#comment:2
Comment 4 Jaroslav Reznik 2015-03-03 10:42:13 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22