From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57570158095 for ; Fri, 9 Sep 2022 02:27:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 219F0E09CD; Fri, 9 Sep 2022 02:27:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07B53E0993 for ; Fri, 9 Sep 2022 02:27:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E18AC340D82 for ; Fri, 9 Sep 2022 02:27:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 161025A2 for ; Fri, 9 Sep 2022 02:27:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1662690413.b9cb78c30266842046109d43bb008ecdad05afb1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libpaper/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libpaper/Manifest app-text/libpaper/libpaper-1.2.3.ebuild app-text/libpaper/metadata.xml X-VCS-Directories: app-text/libpaper/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b9cb78c30266842046109d43bb008ecdad05afb1 X-VCS-Branch: master Date: Fri, 9 Sep 2022 02:27:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5f411d0-39a0-4625-b501-e433cdc497de X-Archives-Hash: f3c56a74000aa8378a1ca6c98a4c8fa1 commit: b9cb78c30266842046109d43bb008ecdad05afb1 Author: Sam James gentoo org> AuthorDate: Fri Sep 9 02:15:17 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 9 02:26:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9cb78c3 app-text/libpaper: add 1.2.3 (fork) Needed for newer app-text/psutils. Bug: https://bugs.gentoo.org/869242 Signed-off-by: Sam James gentoo.org> app-text/libpaper/Manifest | 1 + app-text/libpaper/libpaper-1.2.3.ebuild | 36 +++++++++++++++++++++++++++++++++ app-text/libpaper/metadata.xml | 11 ++++++---- 3 files changed, 44 insertions(+), 4 deletions(-) diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest index 282dc63f7330..8fd05463a034 100644 --- a/app-text/libpaper/Manifest +++ b/app-text/libpaper/Manifest @@ -1 +1,2 @@ +DIST libpaper-1.2.3.tar.gz 1221218 BLAKE2B 55b209896e50f177b9dbd04a53a1663846a2d43c91487d62b1161a09416cbeaf3057ec5c79248a3d54eb35a61081d8e1d8fe0fb80304b03bf3a1b5151f21f2c3 SHA512 768e15f57e6c2ab6805c175ba0eebf1d130b8ff16b1c929e6557c5d8ceb7c94ead4e38cfc48021a5059e55cf43595729e8c04c9eee7949bdd516c8267fb7a6af DIST libpaper_1.1.28.tar.gz 42356 BLAKE2B 48c4a28c6ff01bd91e257b6b306e787e5c6112052cff09bdb501d1cc4ddd10964c3588942098a6092d5a44391dfb22e10d5147d4c5012497f473473129ff7422 SHA512 3bf6ebb0af89931d2f72ea4a09a7fa958b2facda5f238983ec7bac39652e08614b33f0de3af74a03457b2a4203eee4950bf18a4b726e79aa64093ace6a1fb0bc diff --git a/app-text/libpaper/libpaper-1.2.3.ebuild b/app-text/libpaper/libpaper-1.2.3.ebuild new file mode 100644 index 000000000000..65b78bfd5bed --- /dev/null +++ b/app-text/libpaper/libpaper-1.2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Library for handling paper characteristics" +HOMEPAGE="https://github.com/rrthomas/libpaper" +SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.gz" + +# paperspecs is public-domain +LICENSE="LGPL-3+ public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# False positive (runs within a conditional) +QA_AM_MAINTAINER_MODE=".*/usr/sbin/help2man.*" + +src_configure() { + econf --enable-relocatable +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die + + dodir /etc + (paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \ + || die "papersize config failed" +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Run e.g. \"paperconfig -p letter\" as root to use letter-pagesizes" + fi +} diff --git a/app-text/libpaper/metadata.xml b/app-text/libpaper/metadata.xml index e2fedda90ee1..51e48c3b98f8 100644 --- a/app-text/libpaper/metadata.xml +++ b/app-text/libpaper/metadata.xml @@ -1,8 +1,11 @@ - - printing@gentoo.org - Gentoo Printing Project - + + printing@gentoo.org + Gentoo Printing Project + + + rrthomas/libpaper +