FreeBSD Bugzilla – Attachment 148086 Details for
Bug 194235
[MAINTAINER UPDATE] [PATCH] astro/geographiclib: update to 1.38
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for astro/geographiclib
patch-GeographicLib.diff (text/plain), 9.78 KB, created by
Tatsuki Makino
on 2014-10-08 04:36:30 UTC
(
hide
)
Description:
patch for astro/geographiclib
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2014-10-08 04:36:30 UTC
Size:
9.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 370411) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= geographiclib >-PORTVERSION= 1.37 >-PORTREVISION= 1 >+PORTVERSION= 1.38 > CATEGORIES= astro > MASTER_SITES= SF/geographiclib/distrib \ > SF/geographiclib:geoids,gravity,magnetic >@@ -16,7 +15,7 @@ > > LICENSE= MIT > >-USES= gmake libtool python >+USES= gmake libtool > USE_GCC= any > USE_AUTOTOOLS= autoconf > WRKSRC= ${WRKDIR}/${DISTNAME} >@@ -23,37 +22,44 @@ > NO_WRKSUBDIR= yes > PORTDOCS= * > GNU_CONFIGURE= yes >+MAKE_ARGS+= SUBDIRS=${MAKE_ARG_SUBDIRS:Q} > MAKE_ARGS+= geographiclib_data=${DATADIR:Q} >-MAKE_ARGS+= pythondir=${PYTHON_SITELIBDIR}/geographiclib > INSTALL_TARGET= install-strip > USE_LDCONFIG= yes > >+OPTIONS_DEFINE= DOCS EXAMPLES MANPAGES PYTHON >+OPTIONS_DEFAULT= PYTHON \ >+ GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84 \ >+ MAGNETIC_WMM2010 MAGNETIC_IGRF11 >+OPTIONS_GROUP= DATASETS > OPTIONS_SUB= yes >-OPTIONS_DEFAULT= GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84 \ >- MAGNETIC_WMM2010 MAGNETIC_IGRF11 >+PYTHON_USES= python >+PYTHON_MAKE_ARGS= pythondir=${PYTHON_SITELIBDIR}/geographiclib > >+MAKE_ARG_SUBDIRS:= src tools include >+MAKE_ARG_SUBDIRS+= matlab cmake > GEOID_NAMES:= egm84-30 egm84-15 egm96-15 egm96-5 \ > egm2008-5 egm2008-2_5 egm2008-1 >-GRAVITY_NAMES:= egm84 egm96 egm2008 wgs84 >+GRAVITY_NAMES:= egm84 egm96 egm2008 wgs84 grs80 > MAGNETIC_NAMES:= wmm2010 igrf11 emm2010 > > .for n in ${GEOID_NAMES} >-OPTIONS_DEFINE+= GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu} > GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC= Install ${n} geoid dataset >+OPTIONS_GROUP_DATASETS+= GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu} > GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES= geoids-distrib/${n}.tar.bz2:geoids > MAKESUM_DISTFILES+= geoids-distrib/${n}.tar.bz2:geoids > MAKESUM_OPTIONS_DEFAULT+= GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu} > .endfor > .for n in ${GRAVITY_NAMES} >-OPTIONS_DEFINE+= GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu} > GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC= Install ${n} gravity model >+OPTIONS_GROUP_DATASETS+= GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu} > GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES= gravity-distrib/${n}.tar.bz2:gravity > MAKESUM_DISTFILES+= gravity-distrib/${n}.tar.bz2:gravity > MAKESUM_OPTIONS_DEFAULT+= GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu} > .endfor > .for n in ${MAGNETIC_NAMES} >-OPTIONS_DEFINE+= MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu} > MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC= Install ${n} magnetic model >+OPTIONS_GROUP_DATASETS+= MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu} > MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES= magnetic-distrib/${n}.tar.bz2:magnetic > MAKESUM_DISTFILES+= magnetic-distrib/${n}.tar.bz2:magnetic > MAKESUM_OPTIONS_DEFAULT+= MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu} >@@ -66,25 +72,34 @@ > > .include <bsd.port.options.mk> > >+.if ${PORT_OPTIONS:MDOCS} >+MAKE_ARG_SUBDIRS+= doc >+.endif >+ >+.if ${PORT_OPTIONS:MEXAMPLES} >+MAKE_ARG_SUBDIRS+= examples >+.endif >+ >+.if ${PORT_OPTIONS:MMANPAGES} >+MAKE_ARG_SUBDIRS+= man >+.endif >+ >+.if ${PORT_OPTIONS:MPYTHON} >+MAKE_ARG_SUBDIRS+= python >+.endif >+ > post-patch: > ${REINPLACE_CMD} -e '/wget/s/wget -O/fetch -o /' \ > ${WRKSRC}/tools/geographiclib-get-*.sh > >-install-datasets-mkdir: .NOTMAIN >- for d in geoids gravity magnetic ;\ >- do ${MKDIR} ${STAGEDIR}${DATADIR}/$${d} &&\ >- ${TOUCH} ${STAGEDIR}${DATADIR}/$${d}/.keep ;\ >- done >-.PHONY: install-datasets-mkdir >- > .for n in geoids gravity magnetic >-install-datasets-${n}: install-datasets-mkdir .NOTMAIN >+install-datasets-${n}: .NOTMAIN >+ ${MKDIR} ${STAGEDIR}${DATADIR}/${n} > (cd ${WRKDIR}/${n} && \ > ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${n}) > .PHONY: install-datasets-${n} > .endfor > >-post-install: install-datasets-mkdir > .if ${PORT_OPTIONS:MGEOID_*} > post-install: install-datasets-geoids > .endif >@@ -98,7 +113,7 @@ > .PHONY: x-tool-plist > x-tool-plist: ${PLIST} .NOTMAIN > ${REINPLACE_CMD}\ >- -e '/^%%PORTDOCS%%/d'\ >+ -e '/^%%PORTDOCS%%/d' -e '/@dir /d'\ > -e '/^%%DATADIR%%\/geoids\/[^.]/{\ > h;s|^%%DATADIR%%/geoids/\([^.]\{1,\}\).*|GEOID_\1|;\ > s/[^0-9A-Za-z]/_/g;\ >Index: distinfo >=================================================================== >--- distinfo (revision 370411) >+++ distinfo (working copy) >@@ -1,5 +1,5 @@ >-SHA256 (GeographicLib/GeographicLib-1.37.tar.gz) = ebf2dec42d8b738024eb29ad36976ff8ea550eb4c005a07cb1b2abbc2e4d3de5 >-SIZE (GeographicLib/GeographicLib-1.37.tar.gz) = 1963202 >+SHA256 (GeographicLib/GeographicLib-1.38.tar.gz) = 13904610395efb0b2a94729a912688aca87b02cf7518633178c6a4a829aeff8c >+SIZE (GeographicLib/GeographicLib-1.38.tar.gz) = 1976874 > SHA256 (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = bdb382d0be7ece9142450eacc24b7b7f0889ee3e0ba4f535b04ec383f94c0fb5 > SIZE (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = 162388303 > SHA256 (GeographicLib/geoids-distrib/egm2008-2_5.tar.bz2) = d602e13446a4a4a23f39aecfe6a2a0760a1bc6c1b497482c2ebc9f7d513be699 >@@ -20,6 +20,8 @@ > SIZE (GeographicLib/gravity-distrib/egm84.tar.bz2) = 258023 > SHA256 (GeographicLib/gravity-distrib/egm96.tar.bz2) = 6fea4c6bd56ff8ac53dbdad8d5dd505c855471d0354c4abc5c5fe048bf8350c1 > SIZE (GeographicLib/gravity-distrib/egm96.tar.bz2) = 2055724 >+SHA256 (GeographicLib/gravity-distrib/grs80.tar.bz2) = 636c438460c9ccb90332bd6fd7d57dbfa62782ac6b64bd84989d559736579230 >+SIZE (GeographicLib/gravity-distrib/grs80.tar.bz2) = 784 > SHA256 (GeographicLib/gravity-distrib/wgs84.tar.bz2) = 4cf4f7e533261986b25f9e3c929d846044e0fb2b9c35f301df545c335491f2e7 > SIZE (GeographicLib/gravity-distrib/wgs84.tar.bz2) = 807 > SHA256 (GeographicLib/magnetic-distrib/emm2010.tar.bz2) = aa8782fddb505d8dc24e3dd26784712c1b1848227e23cdcb4e4f2d3ed49d9e14 >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 370411) >+++ pkg-plist (working copy) >@@ -52,15 +52,15 @@ > lib/libGeographic.a > lib/libGeographic.so > lib/libGeographic.so.13 >-lib/libGeographic.so.13.0.0 >-%%PYTHON_SITELIBDIR%%/geographiclib/__init__.py >-%%PYTHON_SITELIBDIR%%/geographiclib/accumulator.py >-%%PYTHON_SITELIBDIR%%/geographiclib/constants.py >-%%PYTHON_SITELIBDIR%%/geographiclib/geodesic.py >-%%PYTHON_SITELIBDIR%%/geographiclib/geodesiccapability.py >-%%PYTHON_SITELIBDIR%%/geographiclib/geodesicline.py >-%%PYTHON_SITELIBDIR%%/geographiclib/geomath.py >-%%PYTHON_SITELIBDIR%%/geographiclib/polygonarea.py >+lib/libGeographic.so.13.0.1 >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/__init__.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/accumulator.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/constants.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/geodesic.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/geodesiccapability.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/geodesicline.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/geomath.py >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/geographiclib/polygonarea.py > libexec/GeographicLib/matlab/cassini_fwd.m > libexec/GeographicLib/matlab/cassini_inv.m > libexec/GeographicLib/matlab/defaultellipsoid.m >@@ -68,6 +68,8 @@ > libexec/GeographicLib/matlab/eqdazim_fwd.m > libexec/GeographicLib/matlab/eqdazim_inv.m > libexec/GeographicLib/matlab/flat2ecc.m >+libexec/GeographicLib/matlab/gedistance.m >+libexec/GeographicLib/matlab/gedoc.m > libexec/GeographicLib/matlab/geocentricforward.cpp > libexec/GeographicLib/matlab/geocentricforward.m > libexec/GeographicLib/matlab/geocentricreverse.cpp >@@ -86,6 +88,7 @@ > libexec/GeographicLib/matlab/geographiclibinterface.m > libexec/GeographicLib/matlab/geoidheight.cpp > libexec/GeographicLib/matlab/geoidheight.m >+libexec/GeographicLib/matlab/gereckon.m > libexec/GeographicLib/matlab/gnomonic_fwd.m > libexec/GeographicLib/matlab/gnomonic_inv.m > libexec/GeographicLib/matlab/localcartesianforward.cpp >@@ -128,22 +131,24 @@ > libexec/GeographicLib/matlab/utmupsforward.m > libexec/GeographicLib/matlab/utmupsreverse.cpp > libexec/GeographicLib/matlab/utmupsreverse.m >-man/man1/CartConvert.1.gz >-man/man1/ConicProj.1.gz >-man/man1/GeoConvert.1.gz >-man/man1/GeodSolve.1.gz >-man/man1/GeodesicProj.1.gz >-man/man1/GeoidEval.1.gz >-man/man1/Gravity.1.gz >-man/man1/MagneticField.1.gz >-man/man1/Planimeter.1.gz >-man/man1/RhumbSolve.1.gz >-man/man1/TransverseMercatorProj.1.gz >+%%MANPAGES%%man/man1/CartConvert.1.gz >+%%MANPAGES%%man/man1/ConicProj.1.gz >+%%MANPAGES%%man/man1/GeoConvert.1.gz >+%%MANPAGES%%man/man1/GeodSolve.1.gz >+%%MANPAGES%%man/man1/GeodesicProj.1.gz >+%%MANPAGES%%man/man1/GeoidEval.1.gz >+%%MANPAGES%%man/man1/Gravity.1.gz >+%%MANPAGES%%man/man1/MagneticField.1.gz >+%%MANPAGES%%man/man1/Planimeter.1.gz >+%%MANPAGES%%man/man1/RhumbSolve.1.gz >+%%MANPAGES%%man/man1/TransverseMercatorProj.1.gz >+%%MANPAGES%%man/man8/geographiclib-get-geoids.8.gz >+%%MANPAGES%%man/man8/geographiclib-get-gravity.8.gz >+%%MANPAGES%%man/man8/geographiclib-get-magnetic.8.gz > sbin/geographiclib-get-geoids > sbin/geographiclib-get-gravity > sbin/geographiclib-get-magnetic > share/cmake/GeographicLib/FindGeographicLib.cmake >-%%DATADIR%%/geoids/.keep > %%GEOID_EGM2008_1%%%%DATADIR%%/geoids/egm2008-1.pgm > %%GEOID_EGM2008_1%%%%DATADIR%%/geoids/egm2008-1.pgm.aux.xml > %%GEOID_EGM2008_1%%%%DATADIR%%/geoids/egm2008-1.wld >@@ -165,7 +170,6 @@ > %%GEOID_EGM96_5%%%%DATADIR%%/geoids/egm96-5.pgm > %%GEOID_EGM96_5%%%%DATADIR%%/geoids/egm96-5.pgm.aux.xml > %%GEOID_EGM96_5%%%%DATADIR%%/geoids/egm96-5.wld >-%%DATADIR%%/gravity/.keep > %%GRAVITY_EGM2008%%%%DATADIR%%/gravity/egm2008.egm > %%GRAVITY_EGM2008%%%%DATADIR%%/gravity/egm2008.egm.cof > %%GRAVITY_EGM84%%%%DATADIR%%/gravity/egm84.egm >@@ -172,9 +176,10 @@ > %%GRAVITY_EGM84%%%%DATADIR%%/gravity/egm84.egm.cof > %%GRAVITY_EGM96%%%%DATADIR%%/gravity/egm96.egm > %%GRAVITY_EGM96%%%%DATADIR%%/gravity/egm96.egm.cof >+%%GRAVITY_GRS80%%%%DATADIR%%/gravity/grs80.egm >+%%GRAVITY_GRS80%%%%DATADIR%%/gravity/grs80.egm.cof > %%GRAVITY_WGS84%%%%DATADIR%%/gravity/wgs84.egm > %%GRAVITY_WGS84%%%%DATADIR%%/gravity/wgs84.egm.cof >-%%DATADIR%%/magnetic/.keep > %%MAGNETIC_EMM2010%%%%DATADIR%%/magnetic/emm2010.wmm > %%MAGNETIC_EMM2010%%%%DATADIR%%/magnetic/emm2010.wmm.cof > %%MAGNETIC_IGRF11%%%%DATADIR%%/magnetic/igrf11.wmm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194235
:
148086
|
148087
|
148239
|
148240
|
148241
|
148243