From owner-svn-ports-all@freebsd.org Sat Oct 24 12:26:47 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4AD16447F85; Sat, 24 Oct 2020 12:26:47 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CJL1z1Fxkz4V8M; Sat, 24 Oct 2020 12:26:47 +0000 (UTC) (envelope-from fernape@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E6D91888C; Sat, 24 Oct 2020 12:26:47 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09OCQkle051144; Sat, 24 Oct 2020 12:26:46 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09OCQk4F051140; Sat, 24 Oct 2020 12:26:46 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202010241226.09OCQk4F051140@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Sat, 24 Oct 2020 12:26:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553192 - in head/devel: . easyexif easyexif/files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/devel: . easyexif easyexif/files X-SVN-Commit-Revision: 553192 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2020 12:26:47 -0000 Author: fernape Date: Sat Oct 24 12:26:45 2020 New Revision: 553192 URL: https://svnweb.freebsd.org/changeset/ports/553192 Log: new port: devel/easyexif EasyEXIF is a tiny, lightweight C++ library that parses basic information out of EXIF files. It uses only the std::string library and is otherwise pure C++. It is made of one .h file and one .cpp file. This is a new dependency for the upcoming update of devel/vcglib[1] [1] https://github.com/cnr-isti-vclab/vcglib/commit/dd8c26474dfa3ee2cde2e4c39366fe9df41e667d Added: head/devel/easyexif/ head/devel/easyexif/Makefile (contents, props changed) head/devel/easyexif/distinfo (contents, props changed) head/devel/easyexif/files/ head/devel/easyexif/files/patch-Makefile (contents, props changed) head/devel/easyexif/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Oct 24 12:14:02 2020 (r553191) +++ head/devel/Makefile Sat Oct 24 12:26:45 2020 (r553192) @@ -504,6 +504,7 @@ SUBDIR += e00compr SUBDIR += e2fsprogs-libss SUBDIR += eastl + SUBDIR += easyefix SUBDIR += easygit SUBDIR += easyloggingpp SUBDIR += ebnf2yacc Added: head/devel/easyexif/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/easyexif/Makefile Sat Oct 24 12:26:45 2020 (r553192) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= easyexif +DISTVERSIONPREFIX= v +DISTVERSION= 1.0 +CATEGORIES= devel + +MAINTAINER= fernape@FreeBSD.org +COMMENT= Tiny ISO-compliant C++ EXIF parsing library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= compiler:c++11-lib shebangfix +USE_GITHUB= yes +GH_ACCOUNT= mayanklahiri + +SHEBANG_FILES= test.sh + +PLIST_FILES= easyexif/bin/demo \ + easyexif/src/demo.cpp \ + easyexif/src/exif.cpp \ + include/exif.h + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include + ${CP} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include + @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/src + ${CP} ${WRKSRC}/*.cpp ${STAGEDIR}${PREFIX}/${PORTNAME}/src + @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin + ${STRIP_CMD} ${WRKSRC}/demo + ${CP} ${WRKSRC}/demo ${STAGEDIR}${PREFIX}/${PORTNAME}/bin + +do-test: + cd ${WRKSRC} && ./test.sh + +.include Added: head/devel/easyexif/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/easyexif/distinfo Sat Oct 24 12:26:45 2020 (r553192) @@ -0,0 +1,3 @@ +TIMESTAMP = 1603453365 +SHA256 (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = e4251ae76a172bfd676e9e24a5a27b970a81d1731296822ef1afaeb4857f045a +SIZE (mayanklahiri-easyexif-v1.0_GH0.tar.gz) = 7549061 Added: head/devel/easyexif/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/easyexif/files/patch-Makefile Sat Oct 24 12:26:45 2020 (r553192) @@ -0,0 +1,15 @@ +--- Makefile.orig 2015-11-14 20:31:28 UTC ++++ Makefile +@@ -1,5 +1,4 @@ +-CXX=g++ +-CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++11 ++#CXXFLAGS+=-O2 -pedantic -Wall -Wextra -ansi -std=c++11 + + all: demo + +@@ -10,4 +9,4 @@ demo: exif.o demo.cpp + $(CXX) $(CXXFLAGS) -o demo exif.o demo.cpp + + clean: +- rm -f *.o demo demo.exe ++ rm -f *.o demo Added: head/devel/easyexif/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/easyexif/pkg-descr Sat Oct 24 12:26:45 2020 (r553192) @@ -0,0 +1,8 @@ +EasyEXIF is a tiny, lightweight C++ library that parses basic information out of +JPEG files. It uses only the std::string library and is otherwise pure C++. You +pass it the binary contents of a JPEG file, and it parses several of the most +important EXIF fields for you. + +Why use this library? Include one .h file, compile one .cc file, and that's it. + +WWW: https://github.com/mayanklahiri/easyexif