Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 16:43:05 +0100
From:      =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= <pawel@FreeBSD.org>
To:        Wen Heping <wen@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r435509 - in head/graphics/proj: . files
Message-ID:  <20170306164305.0f8c2799@FreeBSD.org>
In-Reply-To: <201703060112.v261CHKA066168@repo.freebsd.org>
References:  <201703060112.v261CHKA066168@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Wen,

On 2017-03-06 01:12 +0000, Wen Heping <wen@FreeBSD.org> wrote:
>Author: wen
>Date: Mon Mar  6 01:12:16 2017
>New Revision: 435509
>URL: https://svnweb.freebsd.org/changeset/ports/435509
>
>Log:
>  - Update to 4.9.3
> =20
>  PR:		215880
>  Submitted by:	rhurlin@gwdg.de
>  Approved by:	maintainer(timeout, > 50 days)
>
>Modified:
>  head/graphics/proj/Makefile
>  head/graphics/proj/distinfo
>  head/graphics/proj/files/patch-src-pj_mutex.c
>  head/graphics/proj/pkg-plist
>
>Modified: head/graphics/proj/Makefile
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>--- head/graphics/proj/Makefile	Sun Mar  5 21:46:42 2017
>(r435508) +++ head/graphics/proj/Makefile	Mon Mar  6 01:12:16
>2017	(r435509) @@ -2,10 +2,9 @@
> # $FreeBSD$
>=20
> PORTNAME=3D	proj
>-PORTVERSION=3D	4.9.2
>+PORTVERSION=3D	4.9.3
> CATEGORIES=3D	graphics geography
>-MASTER_SITES=3D	ftp://ftp.remotesensing.org/proj/ \
>-		http://download.osgeo.org/proj/
>+MASTER_SITES=3D	http://download.osgeo.org/proj/
> DISTFILES=3D	${DISTNAME}${EXTRACT_SUFX} ${DATUM_GRID_FILES}
> EXTRACT_ONLY=3D	${DISTNAME}${EXTRACT_SUFX}
>=20
>@@ -17,13 +16,27 @@ LICENSE_FILE=3D	${WRKSRC}/COPYING
>=20
> EXTRACT_DEPENDS=3D	${UNZIP_CMD}:archivers/unzip
>=20
>-DATUM_GRID_FILES=3D	proj-datumgrid-1.6RC1.zip
>+DATUM_GRID_FILES=3D	proj-datumgrid-1.6.zip
>=20
> GNU_CONFIGURE=3D	yes
>-USES=3D		gmake libtool pathfix
>+USES=3D		compiler gmake libtool pathfix
> USE_LDCONFIG=3D	yes
>=20
>+FMAN1=3D	cs2cs.1 geod.1 proj.1
>+FMAN3=3D	geodesic.3 pj_init.3
>+
>+INSTALL_TARGET=3D	install-strip
>+
> post-extract:
> 	@${UNZIP_CMD} -q ${DISTDIR}/${DATUM_GRID_FILES} -d
> ${WRKSRC}/nad
>=20
>+pre-configure:
>+	@${REINPLACE_CMD} -e 's|gcc|${COMPILER_TYPE}|' \
>+		${WRKSRC}/cmake/Proj4SystemInfo.cmake
>+
>+post-install:
>+.for m in 1 3
>+	(cd ${STAGEDIR}${MANPREFIX}/man/man${m} && ${GZIP_CMD}
>${FMAN${m}}) +.endfor
>+
> .include <bsd.port.mk>
>
>Modified: head/graphics/proj/distinfo
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>--- head/graphics/proj/distinfo	Sun Mar  5 21:46:42 2017
>(r435508) +++ head/graphics/proj/distinfo	Mon Mar  6 01:12:16
>2017	(r435509) @@ -1,4 +1,5 @@
>-SHA256 (proj-4.9.2.tar.gz) =3D
>60bf9ad1ed1c18158e652dfff97865ba6fb2b67f1511bc8dceae4b3c7e657796 -SIZE
>(proj-4.9.2.tar.gz) =3D 874816 -SHA256 (proj-datumgrid-1.6RC1.zip) =3D
>054e7b63b474926c79f25fbe5cd8760351e8d93e5a167b5473e993c01bb08866 -SIZE
>(proj-datumgrid-1.6RC1.zip) =3D 2766762 +TIMESTAMP =3D 1483895414
>+SHA256 (proj-4.9.3.tar.gz) =3D
>6984542fea333488de5c82eea58d699e4aff4b359200a9971537cd7e047185f7 +SIZE
>(proj-4.9.3.tar.gz) =3D 921448 +SHA256 (proj-datumgrid-1.6.zip) =3D
>054e7b63b474926c79f25fbe5cd8760351e8d93e5a167b5473e993c01bb08866 +SIZE
>(proj-datumgrid-1.6.zip) =3D 2766762
>
>Modified: head/graphics/proj/files/patch-src-pj_mutex.c
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>--- head/graphics/proj/files/patch-src-pj_mutex.c	Sun Mar  5
>21:46:42 2017	(r435508) +++
>head/graphics/proj/files/patch-src-pj_mutex.c	Mon Mar  6
>01:12:16 2017	(r435509) @@ -1,14 +1,11 @@ ----
>src/pj_mutex.c.orig	2015-09-10 13:41:24 UTC +---
>src/pj_mutex.c.orig	2016-08-29 18:47:58 UTC
> +++ src/pj_mutex.c
>-@@ -122,11 +122,7 @@ void pj_acquire_lock()
>+@@ -124,7 +124,7 @@ void pj_acquire_lock()
>          pthread_mutex_lock( &pj_precreated_lock);
> =20
>          pthread_mutexattr_init(&mutex_attr);
> -#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE
>++#if defined(HAVE_PTHREAD_MUTEX_RECURSIVE) || defined(__FreeBSD__)
>          pthread_mutexattr_settype(&mutex_attr,
> PTHREAD_MUTEX_RECURSIVE);
>--#else
>--        pthread_mutexattr_settype(&mutex_attr,
>PTHREAD_MUTEX_RECURSIVE_NP); --#endif
>-         pthread_mutex_init(&pj_core_lock, &mutex_attr);
>-         pj_core_lock_created =3D 1;
>-=20
>+ #else
>+         pthread_mutexattr_settype(&mutex_attr,
>PTHREAD_MUTEX_RECURSIVE_NP);
>
>Modified: head/graphics/proj/pkg-plist
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
>--- head/graphics/proj/pkg-plist	Sun Mar  5 21:46:42
>2017	(r435508) +++ head/graphics/proj/pkg-plist	Mon Mar
>6 01:12:16 2017	(r435509) @@ -11,8 +11,8 @@ include/proj_api.h
> include/projects.h
> lib/libproj.a
> lib/libproj.so
>-lib/libproj.so.9
>-lib/libproj.so.9.1.0
>+lib/libproj.so.12
>+lib/libproj.so.12.0.0

There are some consumers of this library in the tree, some ports need
bumping. On my system:

# pkg check -dan
Checking all packages: 100%
libgeotiff is missing a required shared library: libproj.so.9
spatialite is missing a required shared library: libproj.so.9

--=20
pozdrawiam / with regards
Pawe=C5=82 P=C4=99kala



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170306164305.0f8c2799>