From owner-svn-ports-head@freebsd.org Thu Apr 7 13:28:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58AB9B06BC2; Thu, 7 Apr 2016 13:28:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34CD11CFF; Thu, 7 Apr 2016 13:28:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u37DSlGO085234; Thu, 7 Apr 2016 13:28:47 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u37DSkdo085228; Thu, 7 Apr 2016 13:28:46 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201604071328.u37DSkdo085228@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 7 Apr 2016 13:28:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412662 - in head: graphics/gdal science/libkml science/libkml/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 13:28:48 -0000 Author: sunpoet Date: Thu Apr 7 13:28:46 2016 New Revision: 412662 URL: https://svnweb.freebsd.org/changeset/ports/412662 Log: - Resolve conflict with archivers/minizip: rename libminizip to libkmlminizip - Bump PORTREVISION for science/libkml shlib change PR: 206560 (based on) Submitted by: Martin Birgmeier Added: head/science/libkml/files/patch-examples-helloworld-Makefile.am (contents, props changed) Modified: head/graphics/gdal/Makefile head/science/libkml/Makefile head/science/libkml/files/patch-src-kml-base-Makefile.am head/science/libkml/files/patch-third_party-Makefile.am head/science/libkml/pkg-plist Modified: head/graphics/gdal/Makefile ============================================================================== --- head/graphics/gdal/Makefile Thu Apr 7 12:13:44 2016 (r412661) +++ head/graphics/gdal/Makefile Thu Apr 7 13:28:46 2016 (r412662) @@ -3,7 +3,7 @@ PORTNAME= gdal PORTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \ ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \ @@ -113,6 +113,7 @@ XERCES_LIB_DEPENDS= libxerces-c.so:textp post-patch: @${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile + @${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure # Cleanup bundled libraries @${RM} -fr ${WRKSRC}/frmts/gif/giflib/ @${RM} -fr ${WRKSRC}/frmts/gtiff/libgeotiff/ Modified: head/science/libkml/Makefile ============================================================================== --- head/science/libkml/Makefile Thu Apr 7 12:13:44 2016 (r412661) +++ head/science/libkml/Makefile Thu Apr 7 13:28:46 2016 (r412662) @@ -4,7 +4,7 @@ PORTNAME= libkml PORTVERSION= 1.2 DISTVERSIONPREFIX= release- -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science MAINTAINER= sunpoet@FreeBSD.org Added: head/science/libkml/files/patch-examples-helloworld-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libkml/files/patch-examples-helloworld-Makefile.am Thu Apr 7 13:28:46 2016 (r412662) @@ -0,0 +1,11 @@ +--- examples/helloworld/Makefile.am.orig 2010-02-19 15:52:05 UTC ++++ examples/helloworld/Makefile.am +@@ -10,7 +10,7 @@ endif + noinst_LTLIBRARIES = libhelloutil.la + + libhelloutil_la_SOURCES = print.cc +-libhelloutil_la_LIBADD = $(top_builddir)/third_party/libminizip.la ++libhelloutil_la_LIBADD = $(top_builddir)/third_party/libkmlminizip.la + + noinst_PROGRAMS = countkml createkml checklinks circlegen helloattrs helloenum \ + hellofeatures hellofolder hellogeometry hellohref hellokmz \ Modified: head/science/libkml/files/patch-src-kml-base-Makefile.am ============================================================================== --- head/science/libkml/files/patch-src-kml-base-Makefile.am Thu Apr 7 12:13:44 2016 (r412661) +++ head/science/libkml/files/patch-src-kml-base-Makefile.am Thu Apr 7 13:28:46 2016 (r412662) @@ -8,11 +8,13 @@ -I$(top_srcdir)/third_party/zlib-1.2.3/contrib if GCC -@@ -32,7 +31,7 @@ libkmlbase_la_SOURCES = \ +@@ -31,8 +30,8 @@ libkmlbase_la_SOURCES = \ + zip_file.cc libkmlbase_la_LIBADD = \ - $(top_builddir)/third_party/libminizip.la \ +- $(top_builddir)/third_party/libminizip.la \ - $(top_builddir)/third_party/liburiparser.la ++ $(top_builddir)/third_party/libkmlminizip.la \ + -luriparser # These header files will be installed in $(includedir)/kml/base @@ -35,3 +37,12 @@ $(top_builddir)/third_party/libgtest.la util_test_SOURCES = util_test.cc +@@ -205,7 +204,7 @@ xmlns_test_LDADD= libkmlbase.la \ + zip_file_test_SOURCES = zip_file_test.cc + zip_file_test_CXXFLAGS = -DDATADIR=\"$(DATA_DIR)\" $(AM_TEST_CXXFLAGS) + zip_file_test_LDADD= libkmlbase.la \ +- $(top_builddir)/third_party/libminizip.la \ ++ $(top_builddir)/third_party/libkmlminizip.la \ + $(top_builddir)/third_party/libgtest.la + + CLEANFILES = check_PROGRAMS Modified: head/science/libkml/files/patch-third_party-Makefile.am ============================================================================== --- head/science/libkml/files/patch-third_party-Makefile.am Thu Apr 7 12:13:44 2016 (r412661) +++ head/science/libkml/files/patch-third_party-Makefile.am Thu Apr 7 13:28:46 2016 (r412662) @@ -1,6 +1,6 @@ --- third_party/Makefile.am.orig 2010-02-19 15:52:05 UTC +++ third_party/Makefile.am -@@ -1,11 +1,8 @@ +@@ -1,40 +1,16 @@ -uriparser = uriparser-0.7.5 - AM_CPPFLAGS = -I$(top_srcdir)/third_party/zlib-1.2.3/contrib \ @@ -9,14 +9,17 @@ -I$(top_srcdir)/third_party/googletest-r108/include -lib_LTLIBRARIES = libminizip.la liburiparser.la -+lib_LTLIBRARIES = libminizip.la ++lib_LTLIBRARIES = libkmlminizip.la noinst_LTLIBRARIES = libgtest.la - libminizip_la_SOURCES = \ -@@ -15,27 +12,6 @@ libminizip_la_SOURCES = \ +-libminizip_la_SOURCES = \ ++libkmlminizip_la_SOURCES = \ + zlib-1.2.3/contrib/minizip/unzip.c \ + zlib-1.2.3/contrib/minizip/ioapi.c \ + zlib-1.2.3/contrib/minizip/iomem_simple.c \ zlib-1.2.3/contrib/minizip/zip.c - libminizip_la_LDFLAGS = -lz - +-libminizip_la_LDFLAGS = -lz +- -liburiparser_la_SOURCES = \ - $(uriparser)/lib/UriCommon.c \ - $(uriparser)/lib/UriCommon.h \ @@ -37,10 +40,10 @@ - $(uriparser)/lib/UriResolve.c \ - $(uriparser)/lib/UriShorten.c -liburiparser_la_LDFLAGS = -version-info 1:5:0 -- ++libkmlminizip_la_LDFLAGS = -lz + boost_root = boost_1_34_1 boost = $(boost_root)/boost - boostinc = $(includedir)/kml/third_party/$(boost) @@ -79,13 +55,13 @@ libboostconfigplatforminclude_HEADERS = googletest = googletest-r108 Modified: head/science/libkml/pkg-plist ============================================================================== --- head/science/libkml/pkg-plist Thu Apr 7 12:13:44 2016 (r412661) +++ head/science/libkml/pkg-plist Thu Apr 7 13:28:46 2016 (r412662) @@ -166,6 +166,10 @@ lib/libkmlengine.a lib/libkmlengine.so lib/libkmlengine.so.0 lib/libkmlengine.so.0.0.0 +lib/libkmlminizip.a +lib/libkmlminizip.so +lib/libkmlminizip.so.0 +lib/libkmlminizip.so.0.0.0 lib/libkmlregionator.a lib/libkmlregionator.so lib/libkmlregionator.so.0 @@ -174,7 +178,3 @@ lib/libkmlxsd.a lib/libkmlxsd.so lib/libkmlxsd.so.0 lib/libkmlxsd.so.0.0.0 -lib/libminizip.a -lib/libminizip.so -lib/libminizip.so.0 -lib/libminizip.so.0.0.0