From owner-svn-ports-head@freebsd.org Mon May 27 18:12:26 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB5D915A7824; Mon, 27 May 2019 18:12:26 +0000 (UTC) (envelope-from yuri@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) server-signature RSA-PSS (4096 bits) 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 55DD977DA9; Mon, 27 May 2019 18:12:26 +0000 (UTC) (envelope-from yuri@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 260796AF4; Mon, 27 May 2019 18:12:26 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4RICQQU027250; Mon, 27 May 2019 18:12:26 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4RICPX5027247; Mon, 27 May 2019 18:12:25 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201905271812.x4RICPX5027247@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 27 May 2019 18:12:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502811 - in head/graphics: . bitmap X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/graphics: . bitmap X-SVN-Commit-Revision: 502811 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 55DD977DA9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 27 May 2019 18:12:27 -0000 Author: yuri Date: Mon May 27 18:12:25 2019 New Revision: 502811 URL: https://svnweb.freebsd.org/changeset/ports/502811 Log: New port: graphics/bitmap: Minimalistic library manipulating 24-bit per pixel bitmap images Added: head/graphics/bitmap/ head/graphics/bitmap/Makefile (contents, props changed) head/graphics/bitmap/distinfo (contents, props changed) head/graphics/bitmap/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Mon May 27 17:40:27 2019 (r502810) +++ head/graphics/Makefile Mon May 27 18:12:25 2019 (r502811) @@ -65,6 +65,7 @@ SUBDIR += barbecue SUBDIR += barcode SUBDIR += batik + SUBDIR += bitmap SUBDIR += blender SUBDIR += blender-doc SUBDIR += bmeps Added: head/graphics/bitmap/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/bitmap/Makefile Mon May 27 18:12:25 2019 (r502811) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= bitmap +DISTVERSION= g20181222 +CATEGORIES= graphics +PKGNAMESUFFIX= -graphics-library + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Minimalistic library manipulating 24-bit per pixel bitmap images + +LICENSE= MIT + +USE_GITHUB= yes +GH_ACCOUNT= ArashPartow +GH_TAGNAME= b02297f + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/bitmap_image.hpp + +do-install: + ${INSTALL_DATA} ${WRKSRC}/bitmap_image.hpp ${STAGEDIR}${PREFIX}/include + +do-test: # tests failure reported to the author: Error - Failed to open 'image.bmp' + @cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bitmap_test && \ + ./bitmap_test + +.include Added: head/graphics/bitmap/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/bitmap/distinfo Mon May 27 18:12:25 2019 (r502811) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558979256 +SHA256 (ArashPartow-bitmap-g20181222-b02297f_GH0.tar.gz) = 9d6dd560d0bd01e78ebd08f7828249b96ad7b43e4a3589b54d62831d97c801f0 +SIZE (ArashPartow-bitmap-g20181222-b02297f_GH0.tar.gz) = 52230 Added: head/graphics/bitmap/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/bitmap/pkg-descr Mon May 27 18:12:25 2019 (r502811) @@ -0,0 +1,21 @@ +The C++ Bitmap Library consists of simple, robust, optimized and portable +processing routines for the 24-bit per pixel bitmap image format. + +The library has the following capabilities: +* Read/Write 24-bit Bitmap Images +* Pixel, row or column level batch editing +* Colour conversions (RGB,YCbCr) in byte and floating values +* Highly optimized subsample and upsample (resizing) +* Various colour maps (1000 levels - autumn, copper, gray, hot, hsv, jet, prism, + vga, yarg) +* Texture generation (checkered pattern, plasma) +* Graphics drawing interface (line, line-segment, rectangle, triangle, quadix, + horizontal and vertical line-segments, ellipse, circle, plot pixel, pen width, + pen colour) +* Cartesian canvas and associated drawing interface +* PSNR and Image comparisons +* Simple nearest colour match from set of colours +* Wavelength to RGB approximations +* Single header file solution requires no installation or building + +WWW: http://www.partow.net/programming/bitmap/index.html