From owner-svn-ports-head@freebsd.org Tue May 17 17:11:42 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 6A536B3F571 for ; Tue, 17 May 2016 17:11:42 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32AAE19B4 for ; Tue, 17 May 2016 17:11:42 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-vk0-x22c.google.com with SMTP id c189so28539764vkb.1 for ; Tue, 17 May 2016 10:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunpoet-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=18AS3gY7XDqXlV5ZMwQyXyRHhH+HawUifM4f4yMYewk=; b=lIw9mFPQsCoI3Mv2/F/IHAfhzZIzk0R9sgFk9jivptiy7HYT8rHOCBOidFuZ8McDjP xEP5uaOJBIA8vjJnbyyQn2aflq5XsAggnozziusF4lYzfXJnxU2p79uJMAH9KXsy/RJq ItDUA4+K6f14nkKVnEAvObRo5SJQPuazvyAzuB95CKCOjwMfIR9MFRj20ld9NjTtghSa aB8u/EEcL0L+znlkpATTGhTgr0oRhAyAGwTuZdnO83LhjRMN53vcfsNf0U2lDjgn68ro h+dxV58xEVFZ60uxnL0j2r85HvC1p38kEvZA0LD6+VThNR68Yr+u59dKwGhUNFkJx2+K PvLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=18AS3gY7XDqXlV5ZMwQyXyRHhH+HawUifM4f4yMYewk=; b=mbmYkPPzetVtgQ1tU0NYoKIyQGjFMuP85c0ZMMG91FSwraWrJH5eckjA1u1Xa5rzjO KpC+3IAIn5fuF0epSjqVdYzyga8tQz0WIkyyHcLg824t0nrTU7kT7IzovEmxTVmcX1If 1Jrj+I9USRnBnDG5qZf3UV/Vrs0nJ1G3DNRebReTmYrFdtxNiQxuIIGvLGYFKfEOzTz6 IthDAsKA+cDncpJthLUs8U4eo0jUb5bHEpKywrOigaYYMdOi7SaWUHbSeAi04V1YV6sE 02MQhv1f33vDV/EmBM1LiUHJPXepKkGNhQ8u9MDyTxZERE8ADCdwi/RmgKLxy+kkA5ye +UyQ== X-Gm-Message-State: AOPr4FVT2hmRZQDTFfmwkEYkP+r1U8p8FQkAyUZwpt8GMmig2XkMOHrdjFn00xUO39S5AWNi8TwqCN9tc3FSBg== X-Received: by 10.176.1.246 with SMTP id 109mr1286095ual.76.1463505093765; Tue, 17 May 2016 10:11:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.6.196 with HTTP; Tue, 17 May 2016 10:10:54 -0700 (PDT) In-Reply-To: <201605171700.u4HH0Fhh009764@repo.freebsd.org> References: <201605171700.u4HH0Fhh009764@repo.freebsd.org> From: Sunpoet Hsieh Date: Wed, 18 May 2016 01:10:54 +0800 Message-ID: Subject: Re: svn commit: r415395 - in head/devel/jsoncpp: . files To: Kurt Jaeger Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 17 May 2016 17:11:42 -0000 On Wed, May 18, 2016 at 1:00 AM, Kurt Jaeger wrote: > Author: pi > Date: Tue May 17 17:00:15 2016 > New Revision: 415395 > URL: https://svnweb.freebsd.org/changeset/ports/415395 > > Log: > devel/jsoncpp: 0.6.0 -> 1.7.2 > > Changes: https://github.com/open-source-parsers/jsoncpp/releases > - Changed distsite to github > - This is a major upgrade, please report any issues > > PR: 209407 > Submitted by: yuri@rawbw.com > Approved by: johan@stromnet.se (maintainer) > Reviewed by: brd, swills > > Added: > head/devel/jsoncpp/files/patch-include_json_config.h (contents, props > changed) > Modified: > head/devel/jsoncpp/Makefile > head/devel/jsoncpp/distinfo > head/devel/jsoncpp/files/patch-SConstruct > head/devel/jsoncpp/files/patch-src_lib__json_sconscript > head/devel/jsoncpp/pkg-descr > head/devel/jsoncpp/pkg-plist > > Modified: head/devel/jsoncpp/Makefile > > ============================================================================== > --- head/devel/jsoncpp/Makefile Tue May 17 16:58:55 2016 (r415394) > +++ head/devel/jsoncpp/Makefile Tue May 17 17:00:15 2016 (r415395) > @@ -2,11 +2,8 @@ > # $FreeBSD$ > > PORTNAME= jsoncpp > -DISTVERSION= 0.6.0-rc2 > -PORTREVISION= 2 > +DISTVERSION= 1.7.2 > CATEGORIES= devel > -MASTER_SITES= SF/${PORTNAME}/jsoncpp/${DISTVERSION} > -DISTNAME= jsoncpp-src-${DISTVERSION} > > MAINTAINER= johan@stromnet.se > COMMENT= JSON reader and writer library for C++ > @@ -14,19 +11,38 @@ COMMENT= JSON reader and writer library > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > > +USE_GITHUB= yes > +GH_ACCOUNT= open-source-parsers > + > USES= dos2unix scons > USE_LDCONFIG= yes > > MAKE_ARGS= platform=linux-gcc > > +.include > + > +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 > +# NOTE Certain newest compiler features unlock some parts of jsoncpp API > (ex. see JSON_HAS_RVALUE_REFERENCES). > +# Use c++11 above to be most inclusive. > +USES+= compiler:c++11-lang > +CXXFLAGS+= --std=c++11 > +.endif > + > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/include/jsoncpp > (cd ${WRKSRC}/include/ && ${COPYTREE_SHARE} json/ > ${STAGEDIR}${PREFIX}/include/jsoncpp/) > ${INSTALL_DATA} ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.a \ > ${STAGEDIR}${PREFIX}/lib > - ${INSTALL_LIB} > ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.so.0.6.0 \ > + ${INSTALL_LIB} > ${WRKSRC}/libs/linux-gcc-FreeBSD/libjsoncpp.so.${DISTVERSION} \ > ${STAGEDIR}${PREFIX}/lib > - ${LN} -s libjsoncpp.so.0.6.0 > ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.0 > - ${LN} -s libjsoncpp.so.0.6.0 ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so > + ${LN} -s libjsoncpp.so.${DISTVERSION} > ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so.1 > + ${LN} -s libjsoncpp.so.${DISTVERSION} > ${STAGEDIR}${PREFIX}/lib/libjsoncpp.so > + ${CP} ${WRKSRC}/pkg-config/jsoncpp.pc.in > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc > + @${REINPLACE_CMD} -i '' \ > + -e 's|@CMAKE_INSTALL_PREFIX@|${PREFIX}|g' \ > + -e 's|@LIBRARY_INSTALL_DIR@|${PREFIX}/lib|g' \ > + -e 's|@INCLUDE_INSTALL_DIR@|${PREFIX}/jsoncpp|g' \ > + -e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \ > + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc > > -.include > +.include > > Modified: head/devel/jsoncpp/distinfo > > ============================================================================== > --- head/devel/jsoncpp/distinfo Tue May 17 16:58:55 2016 (r415394) > +++ head/devel/jsoncpp/distinfo Tue May 17 17:00:15 2016 (r415395) > @@ -1,2 +1,2 @@ > -SHA256 (jsoncpp-src-0.6.0-rc2.tar.gz) = > d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283 > -SIZE (jsoncpp-src-0.6.0-rc2.tar.gz) = 117661 > +SHA256 (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = > 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 > +SIZE (open-source-parsers-jsoncpp-1.7.2_GH0.tar.gz) = 205391 > > Modified: head/devel/jsoncpp/files/patch-SConstruct > > ============================================================================== > --- head/devel/jsoncpp/files/patch-SConstruct Tue May 17 16:58:55 2016 > (r415394) > +++ head/devel/jsoncpp/files/patch-SConstruct Tue May 17 17:00:15 2016 > (r415395) > @@ -1,6 +1,6 @@ > ---- SConstruct > +--- SConstruct.orig 2016-05-09 23:15:49 UTC > +++ SConstruct > -@@ -26,7 +26,7 @@ > +@@ -26,7 +26,7 @@ try: > if platform == 'linux-gcc': > CXX = 'g++' # not quite right, but env is not yet available. > import commands > @@ -9,7 +9,7 @@ > platform = 'linux-gcc-%s' %version > print "Using platform '%s'" %platform > LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '') > -@@ -65,7 +65,7 @@ > +@@ -65,7 +65,7 @@ def make_environ_vars(): > return vars > > > @@ -18,15 +18,15 @@ > toolpath = ['scons-tools'], > tools=[] ) #, tools=['default'] ) > > -@@ -121,6 +121,7 @@ > +@@ -121,6 +121,7 @@ elif platform.startswith('linux-gcc'): > env.Tool( 'default' ) > - env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" ) > + env.Append( LIBS = ['pthread'], CCFLAGS = os.environ.get("CXXFLAGS", > "-Wall"), LINKFLAGS=os.environ.get("LDFLAGS", "") ) > env['SHARED_LIB_ENABLED'] = True > + env['CXX'] = os.environ['CXX'] > else: > print "UNSUPPORTED PLATFORM." > env.Exit(1) > -@@ -147,6 +148,11 @@ > +@@ -147,6 +148,11 @@ env['JSONCPP_VERSION'] = JSONCPP_VERSION > env['BUILD_DIR'] = env.Dir(build_dir) > env['ROOTBUILD_DIR'] = env.Dir(rootbuild_dir) > env['DIST_DIR'] = DIST_DIR > @@ -38,7 +38,7 @@ > if 'TarGz' in env['BUILDERS']: > class SrcDistAdder: > def __init__( self, env ): > -@@ -164,7 +170,7 @@ > +@@ -164,7 +170,7 @@ env['SRCDIST_ADD'] = SrcDistAdder( env ) > env['SRCDIST_TARGET'] = os.path.join( DIST_DIR, 'jsoncpp-src-%s.tar.gz' > % env['JSONCPP_VERSION'] ) > > env_testing = env.Clone( ) > @@ -47,7 +47,7 @@ > > def buildJSONExample( env, target_sources, target_name ): > env = env.Clone() > -@@ -187,14 +193,14 @@ > +@@ -187,14 +193,14 @@ def buildUnitTests( env, target_sources, > env.AlwaysBuild( check_alias_target ) > > def buildLibrary( env, target_sources, target_name ): > > Added: head/devel/jsoncpp/files/patch-include_json_config.h > > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/devel/jsoncpp/files/patch-include_json_config.h Tue May 17 > 17:00:15 2016 (r415395) > @@ -0,0 +1,11 @@ > +--- include/json/config.h.orig 2016-05-09 23:16:22 UTC > ++++ include/json/config.h > +@@ -77,7 +77,7 @@ > + > + #endif // defined(_MSC_VER) > + > +-#if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010 > ++#if defined(__FreeBSD__) || (defined(_MSC_VER) && _MSC_VER <= 1600) // > MSVC <= 2010 > + # define JSONCPP_OVERRIDE > + #else > + # define JSONCPP_OVERRIDE override > > Modified: head/devel/jsoncpp/files/patch-src_lib__json_sconscript > > ============================================================================== > --- head/devel/jsoncpp/files/patch-src_lib__json_sconscript Tue May 17 > 16:58:55 2016 (r415394) > +++ head/devel/jsoncpp/files/patch-src_lib__json_sconscript Tue May 17 > 17:00:15 2016 (r415395) > @@ -1,4 +1,4 @@ > ---- src/lib_json/sconscript.orig 2015-06-22 20:34:03 UTC > +--- src/lib_json/sconscript.orig 2016-05-09 23:15:49 UTC > +++ src/lib_json/sconscript > @@ -5,4 +5,4 @@ buildLibrary( env, Split( """ > json_value.cpp > > Modified: head/devel/jsoncpp/pkg-descr > > ============================================================================== > --- head/devel/jsoncpp/pkg-descr Tue May 17 16:58:55 2016 > (r415394) > +++ head/devel/jsoncpp/pkg-descr Tue May 17 17:00:15 2016 > (r415395) > @@ -3,4 +3,4 @@ JSON (JavaScript Object Notation) is a l > It is easy for humans to read and write. > It is easy for machines to parse and generate. > > -WWW: http://jsoncpp.sourceforge.net/ > +WWW: https://github.com/open-source-parsers/jsoncpp > > Modified: head/devel/jsoncpp/pkg-plist > > ============================================================================== > --- head/devel/jsoncpp/pkg-plist Tue May 17 16:58:55 2016 > (r415394) > +++ head/devel/jsoncpp/pkg-plist Tue May 17 17:00:15 2016 > (r415395) > @@ -1,12 +1,16 @@ > -lib/libjsoncpp.so.0.6.0 > -lib/libjsoncpp.so.0 > -lib/libjsoncpp.so > -lib/libjsoncpp.a > -include/jsoncpp/json/writer.h > -include/jsoncpp/json/json.h > -include/jsoncpp/json/forwards.h > +include/jsoncpp/json/allocator.h > +include/jsoncpp/json/assertions.h > +include/jsoncpp/json/autolink.h > include/jsoncpp/json/config.h > -include/jsoncpp/json/value.h > -include/jsoncpp/json/reader.h > include/jsoncpp/json/features.h > -include/jsoncpp/json/autolink.h > +include/jsoncpp/json/forwards.h > +include/jsoncpp/json/json.h > +include/jsoncpp/json/reader.h > +include/jsoncpp/json/value.h > +include/jsoncpp/json/version.h > +include/jsoncpp/json/writer.h > +lib/libjsoncpp.a > +lib/libjsoncpp.so > +lib/libjsoncpp.so.1 > +lib/libjsoncpp.so.1.7.2 > +libdata/pkgconfig/jsoncpp.pc > _______________________________________________ > svn-ports-all@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-all > To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" > Please bump dependent ports for shlib change (.0 -> .1). Thanks. Regards, sunpoet