Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 13:28:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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
Message-ID:  <201604071328.u37DSkdo085228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <la5lbtyi@aon.at>

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



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