From nobody Wed Jul 13 12:22:06 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 416DB1D24E40; Wed, 13 Jul 2022 12:22:07 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjcFC1Q1Tz3xB8; Wed, 13 Jul 2022 12:22:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657714927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bHeDyqKBOamDt42vcYm+8d/jOjqlZXI1C6O8rQpwp+A=; b=FUYUZ5QLvZAJE7NQHCkiYDWXQO9EshYWiTaW1siIvLs2fLpXS+71RAnITHa1EzAEdnQQP+ 18Size40ksXZ8+Au1BCoZ5Ri8pz/n1c/PlAR3imlSN0JBMwPDGkpreMU7U1/mNFoqWaa6a alRjx3HR+RqJiMdqCFcldh1K6fMQQBGsdJcfqxBX0MmdjgMsXsV1peo5z3SjcSNErmO/KO i2qeX4FM9jMNUHDzqfxkyUJViZVLM3wFD+umEi4EkAk6Z9Jtgg2nnSJHRrdFNu2lO8Q1MJ yWa8GpDQbjDTD94abCf1bhxE+y9qVZNhwHjI9McmZee/2RU18EoWzdnZvrwiHQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LjcFB6nFYzNdL; Wed, 13 Jul 2022 12:22:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26DCM6BA099197; Wed, 13 Jul 2022 12:22:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26DCM65f099196; Wed, 13 Jul 2022 12:22:06 GMT (envelope-from git) Date: Wed, 13 Jul 2022 12:22:06 GMT Message-Id: <202207131222.26DCM65f099196@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: ed35c5b02866 - main - graphics/libsvgtiny: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed35c5b028660dbc33a5bd3bb4c41b789cf042d2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657714927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bHeDyqKBOamDt42vcYm+8d/jOjqlZXI1C6O8rQpwp+A=; b=YZ7QcyMGhm6jU7bNZBoX6h27KcJj0e6zx1XAIvcTjeX0bkuZeEiYD/OS5avHiVCRSatN/R u0t5luvQSkPWB59aK01pKyNHcZ1xdegQa84nrgiM+yLwtNl1W0s2hoFhkfL+N9/vwdZHlj ezI/f+lrVSwkExJFlT7f0niY9WFL9EGt9L0L7hjEMu+ZOcYvhFsHRE/KMNTeu/xNTC3ywo F03KiHMK8ebgoBqEIDh90KuZMstqmWNLO+z96B79IDd0SRzUirEvxILDs5sJGeHergzNqz jT/dUZMW0SrAzuFLZaNxTUbjC97ap/UE69CBmyxnx6M2YDduUuGHR9eRZ7qGXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657714927; a=rsa-sha256; cv=none; b=ifoK91FUIKT3VHrrrU26fP06TSOyAqwJsayHAsD4rhkH+4aIRoMNGhydZi2txrggdFKlyZ HwVDvsYUT911PEj2jCSzFiZM778VG8JdrdKNyBZL6XnKjW/7FjsbLeWyWwlRtVZroHqwh8 syCdVGDdrz4FVOAmNtcXpuAWJpwr21df9IdUuu8ViqX2t0pZS9m4pviQTidlhrmNKsko34 t5BAr/teUWt983Al68SRIEFXngaeYPPOIaHczzuOgpV6ubyX19yK04ut+xty9dhZF47L01 Ce0ucUSZKIEL5JqSxEYRefL69cpKjjru+y4xEuaOKsBW7SRowzfpZE95goGosQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed35c5b028660dbc33a5bd3bb4c41b789cf042d2 commit ed35c5b028660dbc33a5bd3bb4c41b789cf042d2 Author: Emanuel Haupt AuthorDate: 2022-07-13 12:20:09 +0000 Commit: Emanuel Haupt CommitDate: 2022-07-13 12:22:01 +0000 graphics/libsvgtiny: Add new port Tiny SVG fremebuffer abstraction library, written in C. --- graphics/Makefile | 1 + graphics/libsvgtiny/Makefile | 29 +++++++++++++++++++++++++++++ graphics/libsvgtiny/distinfo | 3 +++ graphics/libsvgtiny/files/patch-Makefile | 11 +++++++++++ graphics/libsvgtiny/pkg-descr | 11 +++++++++++ 5 files changed, 55 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index be7c0819418e..6315022ee3fe 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -503,6 +503,7 @@ SUBDIR += libspng SUBDIR += libsvg SUBDIR += libsvg-cairo + SUBDIR += libsvgtiny SUBDIR += libvisual SUBDIR += libvisual04 SUBDIR += libvisual04-plugins diff --git a/graphics/libsvgtiny/Makefile b/graphics/libsvgtiny/Makefile new file mode 100644 index 000000000000..859f5553a904 --- /dev/null +++ b/graphics/libsvgtiny/Makefile @@ -0,0 +1,29 @@ +# Created by: Emanuel Haupt + +PORTNAME= libsvgtiny +PORTVERSION= 0.1.7 +DISTVERSIONSUFFIX= -src +CATEGORIES= graphics +MASTER_SITES= https://download.netsurf-browser.org/libs/releases/ + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= SVG tiny library +COMMENT= Tiny SVG fremebuffer abstraction library, written in C + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:devel/gperf \ + netsurf-buildsystem>=1.5:devel/netsurf-buildsystem +LIB_DEPENDS= libdom.so:www/libdom \ + libwapcaplet.so:textproc/libwapcaplet + +USES= compiler:c11 gmake pkgconfig + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +PLIST_FILES= include/svgtiny.h \ + lib/libsvgtiny.a \ + libdata/pkgconfig/libsvgtiny.pc + +.include diff --git a/graphics/libsvgtiny/distinfo b/graphics/libsvgtiny/distinfo new file mode 100644 index 000000000000..c299cee1bc3d --- /dev/null +++ b/graphics/libsvgtiny/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657713120 +SHA256 (libsvgtiny-0.1.7-src.tar.gz) = 2c0dcf952f1cd882c3e95401ef9459f16dbb53c5d3e4512339b2f9eb769d7781 +SIZE (libsvgtiny-0.1.7-src.tar.gz) = 760963 diff --git a/graphics/libsvgtiny/files/patch-Makefile b/graphics/libsvgtiny/files/patch-Makefile new file mode 100644 index 000000000000..672433a99e71 --- /dev/null +++ b/graphics/libsvgtiny/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2022-07-13 11:37:39 UTC ++++ Makefile +@@ -25,7 +25,7 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-a + # BeOS/Haiku/AmigaOS standard library headers create warnings + ifneq ($(BUILD),i586-pc-haiku) + ifneq ($(findstring amigaos,$(BUILD)),amigaos) +- WARNFLAGS := $(WARNFLAGS) -Werror ++ WARNFLAGS := $(WARNFLAGS) + endif + endif + diff --git a/graphics/libsvgtiny/pkg-descr b/graphics/libsvgtiny/pkg-descr new file mode 100644 index 000000000000..5374dd8ffc2d --- /dev/null +++ b/graphics/libsvgtiny/pkg-descr @@ -0,0 +1,11 @@ +Tiny SVG fremebuffer abstraction library, written in C. + +The overall idea of the library is to take some SVG as input, and return +a list of paths and texts which can be rendered easily. The library does +not do the actual rendering. + +All supported SVG objects, for example circles, lines, and gradient +filled shapes, are converted to flat-filled paths or a fragment of text, +and all coordinates are converted, transformed etc. to pixels. + +WWW: https://www.netsurf-browser.org/projects/libsvgtiny/