From nobody Sat Apr 06 14:52:36 2024 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 4VBdch54Kgz5Gmq6; Sat, 6 Apr 2024 14:52:36 +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 4VBdch33Y3z4mcZ; Sat, 6 Apr 2024 14:52:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712415156; 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=Y6wopjCZgWVPs3IKsTQ8cpRdkaVCjHX0BoTV4GrBpso=; b=FuEtRlJMny+eD/na3MhaOhdMg3GlNfPFKuw66lc9iSrcqOnArKs6zT7lZbRL5IWUjwewgt ct0v+stNhYEh8frdDPP2qh++S0qnbM6WH0j6ZGhiU+NRSQGZbMdWmtsjBCyJ1azSmqma1v syn9SAILq+bhTYq7NflB8uyrpIuk4NXi3M01x9iea9Ii//gBj7tn6sg2OCKm5aT/EQOQOk vei7Y1/qgqK18SqEZi7rsZsLTbacTWe+yHYT7b1UbL1Zjm7As4qJpEcB6MgPfvDqSmaMOv gHsPDft1o2ce7ezBLv3lAGA5imOlYGPpuELXgvVjkPV6WM37tPkW38ZUhtPdIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712415156; a=rsa-sha256; cv=none; b=OfagfSK2KN52f2nl+Kjh9ArUmgjdsR37dOMx2E+ofae0w0TYyE9LCjurT84ptNzCwnzCvF PtmaVYFnaUu+KBQ8DAyH4gMfOsKGkfoWl8Imatvk80MIgFnAOJJcAMzwZgcZCQJ9AGm6HT s2xcyYnsYfNls+zR2sv0hpQowRMP6CEDr+H8LPZ5bYtNkkFVWj+iBC0gG/r3T7kTyzYs4n yiSXOaFQacXmaH8b7/76zWwIXWuONIStf+N1L+xyX+FXWmZ0hWkH023//iz8LNoQjRcvnH Ec+wQafX34ypAnFvx1/+mH8w3ig/cAuXTmg923Qs95NhhGK5SRBUQ81eKw/DLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712415156; 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=Y6wopjCZgWVPs3IKsTQ8cpRdkaVCjHX0BoTV4GrBpso=; b=o/MWUDmHq9DPPWVT+V6wSQyqfERbpV5LnRetxfswBTcVePFNrB23dvOvg8Ibb8d4URKT4K VLb2++Cz5YpQhsQ+4Uc0+zgkYWmVvyULdQNZ9vKrqDbabqZ3BQdVpHE7XZjB36Pm93GQkp 5jLxW04+oDJWWWcnk+KUMBwlPzyUvIFsNER2WIrqVwO1xsbz1KE6MZbIgSFbt1MmPyRXbU zABwACqwskYZQ7lJ+hWol3SwL5+a1/OQgTEJuMKZsKWVf6RFtTIxtZSfYKhdoAJU4R18/J ZOEW+GEZum0Ag1HAQdDRA//ELToWeogF8LG0ZzdLgvcAShXrgsie5Vyp3NHC0Q== 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 4VBdch2gtYznlG; Sat, 6 Apr 2024 14:52:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 436EqarT086370; Sat, 6 Apr 2024 14:52:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 436EqasU086367; Sat, 6 Apr 2024 14:52:36 GMT (envelope-from git) Date: Sat, 6 Apr 2024 14:52:36 GMT Message-Id: <202404061452.436EqasU086367@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 3edb56adc8ef - main - devel/R-cran-systemfonts: New port: System Native Font Finding 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3edb56adc8efecfc838e42ec8ebf704b662adc03 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=3edb56adc8efecfc838e42ec8ebf704b662adc03 commit 3edb56adc8efecfc838e42ec8ebf704b662adc03 Author: Einar Bjarni Halldórsson AuthorDate: 2024-04-05 12:09:23 +0000 Commit: Nuno Teixeira CommitDate: 2024-04-06 14:42:38 +0000 devel/R-cran-systemfonts: New port: System Native Font Finding - Submitter becomes maintainer Provides system native access to the font catalogue. As font handling varies between systems it is difficult to correctly locate installed fonts across different operating systems. The 'systemfonts' package provides bindings to the native libraries on Windows, macOS and Linux for finding font files that can then be used further by e.g. graphic devices. The main use is intended to be from compiled code but 'systemfonts' also provides access from R. WWW: https://systemfonts.r-lib.org/ Differential Revision: https://reviews.freebsd.org/D43735 --- devel/Makefile | 1 + devel/R-cran-systemfonts/Makefile | 21 +++++++++++++++++++++ devel/R-cran-systemfonts/distinfo | 3 +++ devel/R-cran-systemfonts/pkg-descr | 11 +++++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9ae086e1bb6a..3bb99262aef7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -131,6 +131,7 @@ SUBDIR += R-cran-sessioninfo SUBDIR += R-cran-sfsmisc SUBDIR += R-cran-sourcetools + SUBDIR += R-cran-systemfonts SUBDIR += R-cran-sys SUBDIR += R-cran-testit SUBDIR += R-cran-testthat diff --git a/devel/R-cran-systemfonts/Makefile b/devel/R-cran-systemfonts/Makefile new file mode 100644 index 000000000000..cca0e548480f --- /dev/null +++ b/devel/R-cran-systemfonts/Makefile @@ -0,0 +1,21 @@ +PORTNAME= systemfonts +DISTVERSION= 1.0.6 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= einar@isnic.is +COMMENT= System Native Font Finding +WWW= https://systemfonts.r-lib.org/ + +LICENSE= MIT + +CRAN_DEPENDS= R-cran-cpp11>=0.2.1:devel/R-cran-cpp11 +BUILD_DEPENDS= ${CRAN_DEPENDS} +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 +RUN_DEPENDS= ${CRAN_DEPENDS} +TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat + +USES= cran:auto-plist,compiles pkgconfig + +.include diff --git a/devel/R-cran-systemfonts/distinfo b/devel/R-cran-systemfonts/distinfo new file mode 100644 index 000000000000..02db4b229fb1 --- /dev/null +++ b/devel/R-cran-systemfonts/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1709821553 +SHA256 (systemfonts_1.0.6.tar.gz) = d1586e7b6ecdcb5af6559a30f58b806d347e570724313cb9cb655a27ad581dd7 +SIZE (systemfonts_1.0.6.tar.gz) = 80844 diff --git a/devel/R-cran-systemfonts/pkg-descr b/devel/R-cran-systemfonts/pkg-descr new file mode 100644 index 000000000000..822d174726ec --- /dev/null +++ b/devel/R-cran-systemfonts/pkg-descr @@ -0,0 +1,11 @@ +Provides system native access to the font catalogue. + +As font handling varies between systems it is difficult to correctly locate +installed fonts across different operating systems. + +The 'systemfonts' package provides bindings to the native libraries on Windows, +macOS and Linux for finding font files that can then be used further by e.g. +graphic devices. + +The main use is intended to be from compiled code but 'systemfonts' also +provides access from R.